// Changes information about an ApiKey resource.
Changes information about an ApiKey resource.
// Changes information about an ApiKey resource .
func (c *Client) UpdateApiKey(ctx context.Context, params *UpdateApiKeyInput, optFns ...func(*Options)) (*UpdateApiKeyOutput, error) {
	if params == nil {
		params = &UpdateApiKeyInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateApiKey", params, optFns, addOperationUpdateApiKeyMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateApiKeyOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateApiKey ( ctx context . Context , params * UpdateApiKeyInput , optFns ... func ( * Options ) ) ( * UpdateApiKeyOutput , error ) { if params == nil { params = & UpdateApiKeyInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateApiKeyMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateApiKeyOutput ) out . ResultMetadata = metadata return out , nil }
Changes information about an ApiKey resource.
Changes information about an ApiKey resource .