code: func (c *ApiGatewayV2) UpdateApi(input *UpdateApiInput) (*UpdateApiOutput, error) {
  	req, out := c.UpdateApiRequest(input)
  	return out, req.Send()
  }
docs: // UpdateApi API operation for AmazonApiGatewayV2.
  //
  // Updates an Api resource.
  //
  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  // with awserr.Error's Code and Message methods to get detailed information about
  // the error.
  //
  // See the AWS API reference guide for AmazonApiGatewayV2's
  // API operation UpdateApi for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeNotFoundException "NotFoundException"
  //   The resource specified in the request was not found. See the message field
  //   for more information.
  //
  //   * ErrCodeTooManyRequestsException "TooManyRequestsException"
  //   A limit has been exceeded. See the accompanying error message for details.
  //
  //   * ErrCodeBadRequestException "BadRequestException"
  //   The request is not valid, for example, the input is incomplete or incorrect.
  //   See the accompanying error message for details.
  //
  //   * ErrCodeConflictException "ConflictException"
  //   The requested operation would cause a conflict with the current state of
  //   a service resource associated with the request. Resolve the conflict before
  //   retrying this request. See the accompanying error message for details.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi