// Changes information about the specified API.
Changes information about the specified API.
// Changes information about the specified API .
func (c *Client) UpdateRestApi(ctx context.Context, params *UpdateRestApiInput, optFns ...func(*Options)) (*UpdateRestApiOutput, error) {
	if params == nil {
		params = &UpdateRestApiInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateRestApi", params, optFns, addOperationUpdateRestApiMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateRestApiOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateRestApi ( ctx context . Context , params * UpdateRestApiInput , optFns ... func ( * Options ) ) ( * UpdateRestApiOutput , error ) { if params == nil { params = & UpdateRestApiInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateRestApiMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateRestApiOutput ) out . ResultMetadata = metadata return out , nil }
Changes information about the specified API.
Changes information about the specified API .