// Updates the status of one or more versions of a package.
Updates the status of one or more versions of a package.
// Updates the status of one or more versions of a package .
func (c *Client) UpdatePackageVersionsStatus(ctx context.Context, params *UpdatePackageVersionsStatusInput, optFns ...func(*Options)) (*UpdatePackageVersionsStatusOutput, error) {
	if params == nil {
		params = &UpdatePackageVersionsStatusInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdatePackageVersionsStatus", params, optFns, addOperationUpdatePackageVersionsStatusMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdatePackageVersionsStatusOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdatePackageVersionsStatus ( ctx context . Context , params * UpdatePackageVersionsStatusInput , optFns ... func ( * Options ) ) ( * UpdatePackageVersionsStatusOutput , error ) { if params == nil { params = & UpdatePackageVersionsStatusInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdatePackageVersionsStatusMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdatePackageVersionsStatusOutput ) out . ResultMetadata = metadata return out , nil }
Updates the status of one or more versions of a package.
Updates the status of one or more versions of a package .