AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

APIGateway

import "github.com/aws/aws-sdk-go/service/apigateway"

type APIGateway struct { *client.Client }

APIGateway provides the API operation methods for making requests to Amazon API Gateway. See this package's package overview docs for details on the service.

APIGateway methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

Client

Type: *client.Client

Method

CreateApiKey

func (c *APIGateway) CreateApiKey(input *CreateApiKeyInput) (*ApiKey, error)

CreateApiKey API operation for Amazon API Gateway.

Create an ApiKey resource.

AWS CLI (https://docs.aws.amazon.com/cli/latest/reference/apigateway/create-api-key.html)

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 Amazon API Gateway's API operation CreateApiKey for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

CreateApiKeyRequest

func (c *APIGateway) CreateApiKeyRequest(input *CreateApiKeyInput) (req *request.Request, output *ApiKey)

CreateApiKeyRequest generates a "aws/request.Request" representing the client's request for the CreateApiKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateApiKey for more information on using the CreateApiKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateApiKeyRequest method. req, resp := client.CreateApiKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateApiKeyWithContext

func (c *APIGateway) CreateApiKeyWithContext(ctx aws.Context, input *CreateApiKeyInput, opts ...request.Option) (*ApiKey, error)

CreateApiKeyWithContext is the same as CreateApiKey with the addition of the ability to pass a context and additional request options.

See CreateApiKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateAuthorizer

func (c *APIGateway) CreateAuthorizer(input *CreateAuthorizerInput) (*Authorizer, error)

CreateAuthorizer API operation for Amazon API Gateway.

Adds a new Authorizer resource to an existing RestApi resource.

AWS CLI (https://docs.aws.amazon.com/cli/latest/reference/apigateway/create-authorizer.html)

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 Amazon API Gateway's API operation CreateAuthorizer for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateAuthorizerRequest

func (c *APIGateway) CreateAuthorizerRequest(input *CreateAuthorizerInput) (req *request.Request, output *Authorizer)

CreateAuthorizerRequest generates a "aws/request.Request" representing the client's request for the CreateAuthorizer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateAuthorizer for more information on using the CreateAuthorizer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateAuthorizerRequest method. req, resp := client.CreateAuthorizerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateAuthorizerWithContext

func (c *APIGateway) CreateAuthorizerWithContext(ctx aws.Context, input *CreateAuthorizerInput, opts ...request.Option) (*Authorizer, error)

CreateAuthorizerWithContext is the same as CreateAuthorizer with the addition of the ability to pass a context and additional request options.

See CreateAuthorizer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateBasePathMapping

func (c *APIGateway) CreateBasePathMapping(input *CreateBasePathMappingInput) (*BasePathMapping, error)

CreateBasePathMapping API operation for Amazon API Gateway.

Creates a new BasePathMapping 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 Amazon API Gateway's API operation CreateBasePathMapping for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateBasePathMappingRequest

func (c *APIGateway) CreateBasePathMappingRequest(input *CreateBasePathMappingInput) (req *request.Request, output *BasePathMapping)

CreateBasePathMappingRequest generates a "aws/request.Request" representing the client's request for the CreateBasePathMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateBasePathMapping for more information on using the CreateBasePathMapping API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateBasePathMappingRequest method. req, resp := client.CreateBasePathMappingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateBasePathMappingWithContext

func (c *APIGateway) CreateBasePathMappingWithContext(ctx aws.Context, input *CreateBasePathMappingInput, opts ...request.Option) (*BasePathMapping, error)

CreateBasePathMappingWithContext is the same as CreateBasePathMapping with the addition of the ability to pass a context and additional request options.

See CreateBasePathMapping for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDeployment

func (c *APIGateway) CreateDeployment(input *CreateDeploymentInput) (*Deployment, error)

CreateDeployment API operation for Amazon API Gateway.

Creates a Deployment resource, which makes a specified RestApi callable over the internet.

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 Amazon API Gateway's API operation CreateDeployment for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The requested service is not available. For details see the accompanying error message. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateDeploymentRequest

func (c *APIGateway) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *Deployment)

CreateDeploymentRequest generates a "aws/request.Request" representing the client's request for the CreateDeployment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDeployment for more information on using the CreateDeployment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDeploymentRequest method. req, resp := client.CreateDeploymentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateDeploymentWithContext

func (c *APIGateway) CreateDeploymentWithContext(ctx aws.Context, input *CreateDeploymentInput, opts ...request.Option) (*Deployment, error)

CreateDeploymentWithContext is the same as CreateDeployment with the addition of the ability to pass a context and additional request options.

See CreateDeployment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDocumentationPart

func (c *APIGateway) CreateDocumentationPart(input *CreateDocumentationPartInput) (*DocumentationPart, error)

CreateDocumentationPart API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation CreateDocumentationPart for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateDocumentationPartRequest

func (c *APIGateway) CreateDocumentationPartRequest(input *CreateDocumentationPartInput) (req *request.Request, output *DocumentationPart)

CreateDocumentationPartRequest generates a "aws/request.Request" representing the client's request for the CreateDocumentationPart operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDocumentationPart for more information on using the CreateDocumentationPart API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDocumentationPartRequest method. req, resp := client.CreateDocumentationPartRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateDocumentationPartWithContext

func (c *APIGateway) CreateDocumentationPartWithContext(ctx aws.Context, input *CreateDocumentationPartInput, opts ...request.Option) (*DocumentationPart, error)

CreateDocumentationPartWithContext is the same as CreateDocumentationPart with the addition of the ability to pass a context and additional request options.

See CreateDocumentationPart for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDocumentationVersion

func (c *APIGateway) CreateDocumentationVersion(input *CreateDocumentationVersionInput) (*DocumentationVersion, error)

CreateDocumentationVersion API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation CreateDocumentationVersion for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateDocumentationVersionRequest

func (c *APIGateway) CreateDocumentationVersionRequest(input *CreateDocumentationVersionInput) (req *request.Request, output *DocumentationVersion)

CreateDocumentationVersionRequest generates a "aws/request.Request" representing the client's request for the CreateDocumentationVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDocumentationVersion for more information on using the CreateDocumentationVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDocumentationVersionRequest method. req, resp := client.CreateDocumentationVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateDocumentationVersionWithContext

func (c *APIGateway) CreateDocumentationVersionWithContext(ctx aws.Context, input *CreateDocumentationVersionInput, opts ...request.Option) (*DocumentationVersion, error)

CreateDocumentationVersionWithContext is the same as CreateDocumentationVersion with the addition of the ability to pass a context and additional request options.

See CreateDocumentationVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDomainName

func (c *APIGateway) CreateDomainName(input *CreateDomainNameInput) (*DomainName, error)

CreateDomainName API operation for Amazon API Gateway.

Creates a new domain name.

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 Amazon API Gateway's API operation CreateDomainName for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateDomainNameRequest

func (c *APIGateway) CreateDomainNameRequest(input *CreateDomainNameInput) (req *request.Request, output *DomainName)

CreateDomainNameRequest generates a "aws/request.Request" representing the client's request for the CreateDomainName operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDomainName for more information on using the CreateDomainName API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDomainNameRequest method. req, resp := client.CreateDomainNameRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateDomainNameWithContext

func (c *APIGateway) CreateDomainNameWithContext(ctx aws.Context, input *CreateDomainNameInput, opts ...request.Option) (*DomainName, error)

CreateDomainNameWithContext is the same as CreateDomainName with the addition of the ability to pass a context and additional request options.

See CreateDomainName for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateModel

func (c *APIGateway) CreateModel(input *CreateModelInput) (*Model, error)

CreateModel API operation for Amazon API Gateway.

Adds a new Model resource to an existing RestApi 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 Amazon API Gateway's API operation CreateModel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateModelRequest

func (c *APIGateway) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *Model)

CreateModelRequest generates a "aws/request.Request" representing the client's request for the CreateModel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateModel for more information on using the CreateModel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateModelRequest method. req, resp := client.CreateModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateModelWithContext

func (c *APIGateway) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*Model, error)

CreateModelWithContext is the same as CreateModel with the addition of the ability to pass a context and additional request options.

See CreateModel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateRequestValidator

func (c *APIGateway) CreateRequestValidator(input *CreateRequestValidatorInput) (*UpdateRequestValidatorOutput, error)

CreateRequestValidator API operation for Amazon API Gateway.

Creates a ReqeustValidator of a given RestApi.

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 Amazon API Gateway's API operation CreateRequestValidator for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateRequestValidatorRequest

func (c *APIGateway) CreateRequestValidatorRequest(input *CreateRequestValidatorInput) (req *request.Request, output *UpdateRequestValidatorOutput)

CreateRequestValidatorRequest generates a "aws/request.Request" representing the client's request for the CreateRequestValidator operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateRequestValidator for more information on using the CreateRequestValidator API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateRequestValidatorRequest method. req, resp := client.CreateRequestValidatorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateRequestValidatorWithContext

func (c *APIGateway) CreateRequestValidatorWithContext(ctx aws.Context, input *CreateRequestValidatorInput, opts ...request.Option) (*UpdateRequestValidatorOutput, error)

CreateRequestValidatorWithContext is the same as CreateRequestValidator with the addition of the ability to pass a context and additional request options.

See CreateRequestValidator for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateResource

func (c *APIGateway) CreateResource(input *CreateResourceInput) (*Resource, error)

CreateResource API operation for Amazon API Gateway.

Creates a Resource 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 Amazon API Gateway's API operation CreateResource for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateResourceRequest

func (c *APIGateway) CreateResourceRequest(input *CreateResourceInput) (req *request.Request, output *Resource)

CreateResourceRequest generates a "aws/request.Request" representing the client's request for the CreateResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateResource for more information on using the CreateResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateResourceRequest method. req, resp := client.CreateResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateResourceWithContext

func (c *APIGateway) CreateResourceWithContext(ctx aws.Context, input *CreateResourceInput, opts ...request.Option) (*Resource, error)

CreateResourceWithContext is the same as CreateResource with the addition of the ability to pass a context and additional request options.

See CreateResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateRestApi

func (c *APIGateway) CreateRestApi(input *CreateRestApiInput) (*RestApi, error)

CreateRestApi API operation for Amazon API Gateway.

Creates a new RestApi 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 Amazon API Gateway's API operation CreateRestApi for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateRestApiRequest

func (c *APIGateway) CreateRestApiRequest(input *CreateRestApiInput) (req *request.Request, output *RestApi)

CreateRestApiRequest generates a "aws/request.Request" representing the client's request for the CreateRestApi operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateRestApi for more information on using the CreateRestApi API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateRestApiRequest method. req, resp := client.CreateRestApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateRestApiWithContext

func (c *APIGateway) CreateRestApiWithContext(ctx aws.Context, input *CreateRestApiInput, opts ...request.Option) (*RestApi, error)

CreateRestApiWithContext is the same as CreateRestApi with the addition of the ability to pass a context and additional request options.

See CreateRestApi for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateStage

func (c *APIGateway) CreateStage(input *CreateStageInput) (*Stage, error)

CreateStage API operation for Amazon API Gateway.

Creates a new Stage resource that references a pre-existing Deployment for the API.

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 Amazon API Gateway's API operation CreateStage for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateStageRequest

func (c *APIGateway) CreateStageRequest(input *CreateStageInput) (req *request.Request, output *Stage)

CreateStageRequest generates a "aws/request.Request" representing the client's request for the CreateStage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateStage for more information on using the CreateStage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateStageRequest method. req, resp := client.CreateStageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateStageWithContext

func (c *APIGateway) CreateStageWithContext(ctx aws.Context, input *CreateStageInput, opts ...request.Option) (*Stage, error)

CreateStageWithContext is the same as CreateStage with the addition of the ability to pass a context and additional request options.

See CreateStage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateUsagePlan

func (c *APIGateway) CreateUsagePlan(input *CreateUsagePlanInput) (*UsagePlan, error)

CreateUsagePlan API operation for Amazon API Gateway.

Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload.

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 Amazon API Gateway's API operation CreateUsagePlan for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

See Also

For more information about using this API, see AWS API Documentation.

CreateUsagePlanKey

func (c *APIGateway) CreateUsagePlanKey(input *CreateUsagePlanKeyInput) (*UsagePlanKey, error)

CreateUsagePlanKey API operation for Amazon API Gateway.

Creates a usage plan key for adding an existing API key to a usage plan.

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 Amazon API Gateway's API operation CreateUsagePlanKey for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateUsagePlanKeyRequest

func (c *APIGateway) CreateUsagePlanKeyRequest(input *CreateUsagePlanKeyInput) (req *request.Request, output *UsagePlanKey)

CreateUsagePlanKeyRequest generates a "aws/request.Request" representing the client's request for the CreateUsagePlanKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateUsagePlanKey for more information on using the CreateUsagePlanKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateUsagePlanKeyRequest method. req, resp := client.CreateUsagePlanKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateUsagePlanKeyWithContext

func (c *APIGateway) CreateUsagePlanKeyWithContext(ctx aws.Context, input *CreateUsagePlanKeyInput, opts ...request.Option) (*UsagePlanKey, error)

CreateUsagePlanKeyWithContext is the same as CreateUsagePlanKey with the addition of the ability to pass a context and additional request options.

See CreateUsagePlanKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateUsagePlanRequest

func (c *APIGateway) CreateUsagePlanRequest(input *CreateUsagePlanInput) (req *request.Request, output *UsagePlan)

CreateUsagePlanRequest generates a "aws/request.Request" representing the client's request for the CreateUsagePlan operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateUsagePlan for more information on using the CreateUsagePlan API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateUsagePlanRequest method. req, resp := client.CreateUsagePlanRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateUsagePlanWithContext

func (c *APIGateway) CreateUsagePlanWithContext(ctx aws.Context, input *CreateUsagePlanInput, opts ...request.Option) (*UsagePlan, error)

CreateUsagePlanWithContext is the same as CreateUsagePlan with the addition of the ability to pass a context and additional request options.

See CreateUsagePlan for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

func (c *APIGateway) CreateVpcLink(input *CreateVpcLinkInput) (*UpdateVpcLinkOutput, error)

CreateVpcLink API operation for Amazon API Gateway.

Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.

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 Amazon API Gateway's API operation CreateVpcLink for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

CreateVpcLinkRequest

func (c *APIGateway) CreateVpcLinkRequest(input *CreateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput)

CreateVpcLinkRequest generates a "aws/request.Request" representing the client's request for the CreateVpcLink operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateVpcLink for more information on using the CreateVpcLink API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateVpcLinkRequest method. req, resp := client.CreateVpcLinkRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

CreateVpcLinkWithContext

func (c *APIGateway) CreateVpcLinkWithContext(ctx aws.Context, input *CreateVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error)

CreateVpcLinkWithContext is the same as CreateVpcLink with the addition of the ability to pass a context and additional request options.

See CreateVpcLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteApiKey

func (c *APIGateway) DeleteApiKey(input *DeleteApiKeyInput) (*DeleteApiKeyOutput, error)

DeleteApiKey API operation for Amazon API Gateway.

Deletes the ApiKey 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 Amazon API Gateway's API operation DeleteApiKey for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

DeleteApiKeyRequest

func (c *APIGateway) DeleteApiKeyRequest(input *DeleteApiKeyInput) (req *request.Request, output *DeleteApiKeyOutput)

DeleteApiKeyRequest generates a "aws/request.Request" representing the client's request for the DeleteApiKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteApiKey for more information on using the DeleteApiKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteApiKeyRequest method. req, resp := client.DeleteApiKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteApiKeyWithContext

func (c *APIGateway) DeleteApiKeyWithContext(ctx aws.Context, input *DeleteApiKeyInput, opts ...request.Option) (*DeleteApiKeyOutput, error)

DeleteApiKeyWithContext is the same as DeleteApiKey with the addition of the ability to pass a context and additional request options.

See DeleteApiKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteAuthorizer

func (c *APIGateway) DeleteAuthorizer(input *DeleteAuthorizerInput) (*DeleteAuthorizerOutput, error)

DeleteAuthorizer API operation for Amazon API Gateway.

Deletes an existing Authorizer resource.

AWS CLI (https://docs.aws.amazon.com/cli/latest/reference/apigateway/delete-authorizer.html)

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 Amazon API Gateway's API operation DeleteAuthorizer for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

DeleteAuthorizerRequest

func (c *APIGateway) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) (req *request.Request, output *DeleteAuthorizerOutput)

DeleteAuthorizerRequest generates a "aws/request.Request" representing the client's request for the DeleteAuthorizer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAuthorizer for more information on using the DeleteAuthorizer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAuthorizerRequest method. req, resp := client.DeleteAuthorizerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteAuthorizerWithContext

func (c *APIGateway) DeleteAuthorizerWithContext(ctx aws.Context, input *DeleteAuthorizerInput, opts ...request.Option) (*DeleteAuthorizerOutput, error)

DeleteAuthorizerWithContext is the same as DeleteAuthorizer with the addition of the ability to pass a context and additional request options.

See DeleteAuthorizer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteBasePathMapping

func (c *APIGateway) DeleteBasePathMapping(input *DeleteBasePathMappingInput) (*DeleteBasePathMappingOutput, error)

DeleteBasePathMapping API operation for Amazon API Gateway.

Deletes the BasePathMapping 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 Amazon API Gateway's API operation DeleteBasePathMapping for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

DeleteBasePathMappingRequest

func (c *APIGateway) DeleteBasePathMappingRequest(input *DeleteBasePathMappingInput) (req *request.Request, output *DeleteBasePathMappingOutput)

DeleteBasePathMappingRequest generates a "aws/request.Request" representing the client's request for the DeleteBasePathMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBasePathMapping for more information on using the DeleteBasePathMapping API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBasePathMappingRequest method. req, resp := client.DeleteBasePathMappingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteBasePathMappingWithContext

func (c *APIGateway) DeleteBasePathMappingWithContext(ctx aws.Context, input *DeleteBasePathMappingInput, opts ...request.Option) (*DeleteBasePathMappingOutput, error)

DeleteBasePathMappingWithContext is the same as DeleteBasePathMapping with the addition of the ability to pass a context and additional request options.

See DeleteBasePathMapping for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteClientCertificate

func (c *APIGateway) DeleteClientCertificate(input *DeleteClientCertificateInput) (*DeleteClientCertificateOutput, error)

DeleteClientCertificate API operation for Amazon API Gateway.

Deletes the ClientCertificate 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 Amazon API Gateway's API operation DeleteClientCertificate for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

See Also

For more information about using this API, see AWS API Documentation.

DeleteClientCertificateRequest

func (c *APIGateway) DeleteClientCertificateRequest(input *DeleteClientCertificateInput) (req *request.Request, output *DeleteClientCertificateOutput)

DeleteClientCertificateRequest generates a "aws/request.Request" representing the client's request for the DeleteClientCertificate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteClientCertificate for more information on using the DeleteClientCertificate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteClientCertificateRequest method. req, resp := client.DeleteClientCertificateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteClientCertificateWithContext

func (c *APIGateway) DeleteClientCertificateWithContext(ctx aws.Context, input *DeleteClientCertificateInput, opts ...request.Option) (*DeleteClientCertificateOutput, error)

DeleteClientCertificateWithContext is the same as DeleteClientCertificate with the addition of the ability to pass a context and additional request options.

See DeleteClientCertificate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDeployment

func (c *APIGateway) DeleteDeployment(input *DeleteDeploymentInput) (*DeleteDeploymentOutput, error)

DeleteDeployment API operation for Amazon API Gateway.

Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.

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 Amazon API Gateway's API operation DeleteDeployment for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDeploymentRequest

func (c *APIGateway) DeleteDeploymentRequest(input *DeleteDeploymentInput) (req *request.Request, output *DeleteDeploymentOutput)

DeleteDeploymentRequest generates a "aws/request.Request" representing the client's request for the DeleteDeployment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDeployment for more information on using the DeleteDeployment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDeploymentRequest method. req, resp := client.DeleteDeploymentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteDeploymentWithContext

func (c *APIGateway) DeleteDeploymentWithContext(ctx aws.Context, input *DeleteDeploymentInput, opts ...request.Option) (*DeleteDeploymentOutput, error)

DeleteDeploymentWithContext is the same as DeleteDeployment with the addition of the ability to pass a context and additional request options.

See DeleteDeployment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDocumentationPart

func (c *APIGateway) DeleteDocumentationPart(input *DeleteDocumentationPartInput) (*DeleteDocumentationPartOutput, error)

DeleteDocumentationPart API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation DeleteDocumentationPart for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDocumentationPartRequest

func (c *APIGateway) DeleteDocumentationPartRequest(input *DeleteDocumentationPartInput) (req *request.Request, output *DeleteDocumentationPartOutput)

DeleteDocumentationPartRequest generates a "aws/request.Request" representing the client's request for the DeleteDocumentationPart operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDocumentationPart for more information on using the DeleteDocumentationPart API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDocumentationPartRequest method. req, resp := client.DeleteDocumentationPartRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteDocumentationPartWithContext

func (c *APIGateway) DeleteDocumentationPartWithContext(ctx aws.Context, input *DeleteDocumentationPartInput, opts ...request.Option) (*DeleteDocumentationPartOutput, error)

DeleteDocumentationPartWithContext is the same as DeleteDocumentationPart with the addition of the ability to pass a context and additional request options.

See DeleteDocumentationPart for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDocumentationVersion

func (c *APIGateway) DeleteDocumentationVersion(input *DeleteDocumentationVersionInput) (*DeleteDocumentationVersionOutput, error)

DeleteDocumentationVersion API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation DeleteDocumentationVersion for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDocumentationVersionRequest

func (c *APIGateway) DeleteDocumentationVersionRequest(input *DeleteDocumentationVersionInput) (req *request.Request, output *DeleteDocumentationVersionOutput)

DeleteDocumentationVersionRequest generates a "aws/request.Request" representing the client's request for the DeleteDocumentationVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDocumentationVersion for more information on using the DeleteDocumentationVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDocumentationVersionRequest method. req, resp := client.DeleteDocumentationVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteDocumentationVersionWithContext

func (c *APIGateway) DeleteDocumentationVersionWithContext(ctx aws.Context, input *DeleteDocumentationVersionInput, opts ...request.Option) (*DeleteDocumentationVersionOutput, error)

DeleteDocumentationVersionWithContext is the same as DeleteDocumentationVersion with the addition of the ability to pass a context and additional request options.

See DeleteDocumentationVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDomainName

func (c *APIGateway) DeleteDomainName(input *DeleteDomainNameInput) (*DeleteDomainNameOutput, error)

DeleteDomainName API operation for Amazon API Gateway.

Deletes the DomainName 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 Amazon API Gateway's API operation DeleteDomainName for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDomainNameRequest

func (c *APIGateway) DeleteDomainNameRequest(input *DeleteDomainNameInput) (req *request.Request, output *DeleteDomainNameOutput)

DeleteDomainNameRequest generates a "aws/request.Request" representing the client's request for the DeleteDomainName operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDomainName for more information on using the DeleteDomainName API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDomainNameRequest method. req, resp := client.DeleteDomainNameRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteDomainNameWithContext

func (c *APIGateway) DeleteDomainNameWithContext(ctx aws.Context, input *DeleteDomainNameInput, opts ...request.Option) (*DeleteDomainNameOutput, error)

DeleteDomainNameWithContext is the same as DeleteDomainName with the addition of the ability to pass a context and additional request options.

See DeleteDomainName for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteGatewayResponse

func (c *APIGateway) DeleteGatewayResponse(input *DeleteGatewayResponseInput) (*DeleteGatewayResponseOutput, error)

DeleteGatewayResponse API operation for Amazon API Gateway.

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

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 Amazon API Gateway's API operation DeleteGatewayResponse for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

DeleteGatewayResponseRequest

func (c *APIGateway) DeleteGatewayResponseRequest(input *DeleteGatewayResponseInput) (req *request.Request, output *DeleteGatewayResponseOutput)

DeleteGatewayResponseRequest generates a "aws/request.Request" representing the client's request for the DeleteGatewayResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteGatewayResponse for more information on using the DeleteGatewayResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteGatewayResponseRequest method. req, resp := client.DeleteGatewayResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteGatewayResponseWithContext

func (c *APIGateway) DeleteGatewayResponseWithContext(ctx aws.Context, input *DeleteGatewayResponseInput, opts ...request.Option) (*DeleteGatewayResponseOutput, error)

DeleteGatewayResponseWithContext is the same as DeleteGatewayResponse with the addition of the ability to pass a context and additional request options.

See DeleteGatewayResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteIntegration

func (c *APIGateway) DeleteIntegration(input *DeleteIntegrationInput) (*DeleteIntegrationOutput, error)

DeleteIntegration API operation for Amazon API Gateway.

Represents a delete integration.

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 Amazon API Gateway's API operation DeleteIntegration for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

DeleteIntegrationRequest

func (c *APIGateway) DeleteIntegrationRequest(input *DeleteIntegrationInput) (req *request.Request, output *DeleteIntegrationOutput)

DeleteIntegrationRequest generates a "aws/request.Request" representing the client's request for the DeleteIntegration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteIntegration for more information on using the DeleteIntegration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteIntegrationRequest method. req, resp := client.DeleteIntegrationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteIntegrationResponse

func (c *APIGateway) DeleteIntegrationResponse(input *DeleteIntegrationResponseInput) (*DeleteIntegrationResponseOutput, error)

DeleteIntegrationResponse API operation for Amazon API Gateway.

Represents a delete integration response.

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 Amazon API Gateway's API operation DeleteIntegrationResponse for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

DeleteIntegrationResponseRequest

func (c *APIGateway) DeleteIntegrationResponseRequest(input *DeleteIntegrationResponseInput) (req *request.Request, output *DeleteIntegrationResponseOutput)

DeleteIntegrationResponseRequest generates a "aws/request.Request" representing the client's request for the DeleteIntegrationResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteIntegrationResponse for more information on using the DeleteIntegrationResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteIntegrationResponseRequest method. req, resp := client.DeleteIntegrationResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteIntegrationResponseWithContext

func (c *APIGateway) DeleteIntegrationResponseWithContext(ctx aws.Context, input *DeleteIntegrationResponseInput, opts ...request.Option) (*DeleteIntegrationResponseOutput, error)

DeleteIntegrationResponseWithContext is the same as DeleteIntegrationResponse with the addition of the ability to pass a context and additional request options.

See DeleteIntegrationResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteIntegrationWithContext

func (c *APIGateway) DeleteIntegrationWithContext(ctx aws.Context, input *DeleteIntegrationInput, opts ...request.Option) (*DeleteIntegrationOutput, error)

DeleteIntegrationWithContext is the same as DeleteIntegration with the addition of the ability to pass a context and additional request options.

See DeleteIntegration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteMethod

func (c *APIGateway) DeleteMethod(input *DeleteMethodInput) (*DeleteMethodOutput, error)

DeleteMethod API operation for Amazon API Gateway.

Deletes an existing Method 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 Amazon API Gateway's API operation DeleteMethod for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

DeleteMethodRequest

func (c *APIGateway) DeleteMethodRequest(input *DeleteMethodInput) (req *request.Request, output *DeleteMethodOutput)

DeleteMethodRequest generates a "aws/request.Request" representing the client's request for the DeleteMethod operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteMethod for more information on using the DeleteMethod API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteMethodRequest method. req, resp := client.DeleteMethodRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteMethodResponse

func (c *APIGateway) DeleteMethodResponse(input *DeleteMethodResponseInput) (*DeleteMethodResponseOutput, error)

DeleteMethodResponse API operation for Amazon API Gateway.

Deletes an existing MethodResponse 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 Amazon API Gateway's API operation DeleteMethodResponse for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

DeleteMethodResponseRequest

func (c *APIGateway) DeleteMethodResponseRequest(input *DeleteMethodResponseInput) (req *request.Request, output *DeleteMethodResponseOutput)

DeleteMethodResponseRequest generates a "aws/request.Request" representing the client's request for the DeleteMethodResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteMethodResponse for more information on using the DeleteMethodResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteMethodResponseRequest method. req, resp := client.DeleteMethodResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteMethodResponseWithContext

func (c *APIGateway) DeleteMethodResponseWithContext(ctx aws.Context, input *DeleteMethodResponseInput, opts ...request.Option) (*DeleteMethodResponseOutput, error)

DeleteMethodResponseWithContext is the same as DeleteMethodResponse with the addition of the ability to pass a context and additional request options.

See DeleteMethodResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteMethodWithContext

func (c *APIGateway) DeleteMethodWithContext(ctx aws.Context, input *DeleteMethodInput, opts ...request.Option) (*DeleteMethodOutput, error)

DeleteMethodWithContext is the same as DeleteMethod with the addition of the ability to pass a context and additional request options.

See DeleteMethod for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteModel

func (c *APIGateway) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error)

DeleteModel API operation for Amazon API Gateway.

Deletes a model.

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 Amazon API Gateway's API operation DeleteModel for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

DeleteModelRequest

func (c *APIGateway) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput)

DeleteModelRequest generates a "aws/request.Request" representing the client's request for the DeleteModel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteModel for more information on using the DeleteModel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteModelRequest method. req, resp := client.DeleteModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteModelWithContext

func (c *APIGateway) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error)

DeleteModelWithContext is the same as DeleteModel with the addition of the ability to pass a context and additional request options.

See DeleteModel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteRequestValidator

func (c *APIGateway) DeleteRequestValidator(input *DeleteRequestValidatorInput) (*DeleteRequestValidatorOutput, error)

DeleteRequestValidator API operation for Amazon API Gateway.

Deletes a RequestValidator of a given RestApi.

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 Amazon API Gateway's API operation DeleteRequestValidator for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

DeleteRequestValidatorRequest

func (c *APIGateway) DeleteRequestValidatorRequest(input *DeleteRequestValidatorInput) (req *request.Request, output *DeleteRequestValidatorOutput)

DeleteRequestValidatorRequest generates a "aws/request.Request" representing the client's request for the DeleteRequestValidator operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRequestValidator for more information on using the DeleteRequestValidator API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRequestValidatorRequest method. req, resp := client.DeleteRequestValidatorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteRequestValidatorWithContext

func (c *APIGateway) DeleteRequestValidatorWithContext(ctx aws.Context, input *DeleteRequestValidatorInput, opts ...request.Option) (*DeleteRequestValidatorOutput, error)

DeleteRequestValidatorWithContext is the same as DeleteRequestValidator with the addition of the ability to pass a context and additional request options.

See DeleteRequestValidator for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteResource

func (c *APIGateway) DeleteResource(input *DeleteResourceInput) (*DeleteResourceOutput, error)

DeleteResource API operation for Amazon API Gateway.

Deletes a Resource 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 Amazon API Gateway's API operation DeleteResource for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

DeleteResourceRequest

func (c *APIGateway) DeleteResourceRequest(input *DeleteResourceInput) (req *request.Request, output *DeleteResourceOutput)

DeleteResourceRequest generates a "aws/request.Request" representing the client's request for the DeleteResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteResource for more information on using the DeleteResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteResourceRequest method. req, resp := client.DeleteResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteResourceWithContext

func (c *APIGateway) DeleteResourceWithContext(ctx aws.Context, input *DeleteResourceInput, opts ...request.Option) (*DeleteResourceOutput, error)

DeleteResourceWithContext is the same as DeleteResource with the addition of the ability to pass a context and additional request options.

See DeleteResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteRestApi

func (c *APIGateway) DeleteRestApi(input *DeleteRestApiInput) (*DeleteRestApiOutput, error)

DeleteRestApi API operation for Amazon API Gateway.

Deletes the specified API.

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 Amazon API Gateway's API operation DeleteRestApi for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

See Also

For more information about using this API, see AWS API Documentation.

DeleteRestApiRequest

func (c *APIGateway) DeleteRestApiRequest(input *DeleteRestApiInput) (req *request.Request, output *DeleteRestApiOutput)

DeleteRestApiRequest generates a "aws/request.Request" representing the client's request for the DeleteRestApi operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRestApi for more information on using the DeleteRestApi API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRestApiRequest method. req, resp := client.DeleteRestApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteRestApiWithContext

func (c *APIGateway) DeleteRestApiWithContext(ctx aws.Context, input *DeleteRestApiInput, opts ...request.Option) (*DeleteRestApiOutput, error)

DeleteRestApiWithContext is the same as DeleteRestApi with the addition of the ability to pass a context and additional request options.

See DeleteRestApi for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteStage

func (c *APIGateway) DeleteStage(input *DeleteStageInput) (*DeleteStageOutput, error)

DeleteStage API operation for Amazon API Gateway.

Deletes a Stage 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 Amazon API Gateway's API operation DeleteStage for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

See Also

For more information about using this API, see AWS API Documentation.

DeleteStageRequest

func (c *APIGateway) DeleteStageRequest(input *DeleteStageInput) (req *request.Request, output *DeleteStageOutput)

DeleteStageRequest generates a "aws/request.Request" representing the client's request for the DeleteStage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteStage for more information on using the DeleteStage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteStageRequest method. req, resp := client.DeleteStageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteStageWithContext

func (c *APIGateway) DeleteStageWithContext(ctx aws.Context, input *DeleteStageInput, opts ...request.Option) (*DeleteStageOutput, error)

DeleteStageWithContext is the same as DeleteStage with the addition of the ability to pass a context and additional request options.

See DeleteStage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteUsagePlan

func (c *APIGateway) DeleteUsagePlan(input *DeleteUsagePlanInput) (*DeleteUsagePlanOutput, error)

DeleteUsagePlan API operation for Amazon API Gateway.

Deletes a usage plan of a given plan Id.

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 Amazon API Gateway's API operation DeleteUsagePlan for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

See Also

For more information about using this API, see AWS API Documentation.

DeleteUsagePlanKey

func (c *APIGateway) DeleteUsagePlanKey(input *DeleteUsagePlanKeyInput) (*DeleteUsagePlanKeyOutput, error)

DeleteUsagePlanKey API operation for Amazon API Gateway.

Deletes a usage plan key and remove the underlying API key from the associated usage plan.

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 Amazon API Gateway's API operation DeleteUsagePlanKey for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

DeleteUsagePlanKeyRequest

func (c *APIGateway) DeleteUsagePlanKeyRequest(input *DeleteUsagePlanKeyInput) (req *request.Request, output *DeleteUsagePlanKeyOutput)

DeleteUsagePlanKeyRequest generates a "aws/request.Request" representing the client's request for the DeleteUsagePlanKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteUsagePlanKey for more information on using the DeleteUsagePlanKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteUsagePlanKeyRequest method. req, resp := client.DeleteUsagePlanKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteUsagePlanKeyWithContext

func (c *APIGateway) DeleteUsagePlanKeyWithContext(ctx aws.Context, input *DeleteUsagePlanKeyInput, opts ...request.Option) (*DeleteUsagePlanKeyOutput, error)

DeleteUsagePlanKeyWithContext is the same as DeleteUsagePlanKey with the addition of the ability to pass a context and additional request options.

See DeleteUsagePlanKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteUsagePlanRequest

func (c *APIGateway) DeleteUsagePlanRequest(input *DeleteUsagePlanInput) (req *request.Request, output *DeleteUsagePlanOutput)

DeleteUsagePlanRequest generates a "aws/request.Request" representing the client's request for the DeleteUsagePlan operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteUsagePlan for more information on using the DeleteUsagePlan API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteUsagePlanRequest method. req, resp := client.DeleteUsagePlanRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteUsagePlanWithContext

func (c *APIGateway) DeleteUsagePlanWithContext(ctx aws.Context, input *DeleteUsagePlanInput, opts ...request.Option) (*DeleteUsagePlanOutput, error)

DeleteUsagePlanWithContext is the same as DeleteUsagePlan with the addition of the ability to pass a context and additional request options.

See DeleteUsagePlan for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

func (c *APIGateway) DeleteVpcLink(input *DeleteVpcLinkInput) (*DeleteVpcLinkOutput, error)

DeleteVpcLink API operation for Amazon API Gateway.

Deletes an existing VpcLink of a specified identifier.

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 Amazon API Gateway's API operation DeleteVpcLink for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

See Also

For more information about using this API, see AWS API Documentation.

DeleteVpcLinkRequest

func (c *APIGateway) DeleteVpcLinkRequest(input *DeleteVpcLinkInput) (req *request.Request, output *DeleteVpcLinkOutput)

DeleteVpcLinkRequest generates a "aws/request.Request" representing the client's request for the DeleteVpcLink operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteVpcLink for more information on using the DeleteVpcLink API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteVpcLinkRequest method. req, resp := client.DeleteVpcLinkRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

DeleteVpcLinkWithContext

func (c *APIGateway) DeleteVpcLinkWithContext(ctx aws.Context, input *DeleteVpcLinkInput, opts ...request.Option) (*DeleteVpcLinkOutput, error)

DeleteVpcLinkWithContext is the same as DeleteVpcLink with the addition of the ability to pass a context and additional request options.

See DeleteVpcLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

FlushStageAuthorizersCache

func (c *APIGateway) FlushStageAuthorizersCache(input *FlushStageAuthorizersCacheInput) (*FlushStageAuthorizersCacheOutput, error)

FlushStageAuthorizersCache API operation for Amazon API Gateway.

Flushes all authorizer cache entries on a stage.

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 Amazon API Gateway's API operation FlushStageAuthorizersCache for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

FlushStageAuthorizersCacheRequest

func (c *APIGateway) FlushStageAuthorizersCacheRequest(input *FlushStageAuthorizersCacheInput) (req *request.Request, output *FlushStageAuthorizersCacheOutput)

FlushStageAuthorizersCacheRequest generates a "aws/request.Request" representing the client's request for the FlushStageAuthorizersCache operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See FlushStageAuthorizersCache for more information on using the FlushStageAuthorizersCache API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the FlushStageAuthorizersCacheRequest method. req, resp := client.FlushStageAuthorizersCacheRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

FlushStageAuthorizersCacheWithContext

func (c *APIGateway) FlushStageAuthorizersCacheWithContext(ctx aws.Context, input *FlushStageAuthorizersCacheInput, opts ...request.Option) (*FlushStageAuthorizersCacheOutput, error)

FlushStageAuthorizersCacheWithContext is the same as FlushStageAuthorizersCache with the addition of the ability to pass a context and additional request options.

See FlushStageAuthorizersCache for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

FlushStageCache

func (c *APIGateway) FlushStageCache(input *FlushStageCacheInput) (*FlushStageCacheOutput, error)

FlushStageCache API operation for Amazon API Gateway.

Flushes a stage's cache.

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 Amazon API Gateway's API operation FlushStageCache for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

FlushStageCacheRequest

func (c *APIGateway) FlushStageCacheRequest(input *FlushStageCacheInput) (req *request.Request, output *FlushStageCacheOutput)

FlushStageCacheRequest generates a "aws/request.Request" representing the client's request for the FlushStageCache operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See FlushStageCache for more information on using the FlushStageCache API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the FlushStageCacheRequest method. req, resp := client.FlushStageCacheRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

FlushStageCacheWithContext

func (c *APIGateway) FlushStageCacheWithContext(ctx aws.Context, input *FlushStageCacheInput, opts ...request.Option) (*FlushStageCacheOutput, error)

FlushStageCacheWithContext is the same as FlushStageCache with the addition of the ability to pass a context and additional request options.

See FlushStageCache for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GenerateClientCertificate

func (c *APIGateway) GenerateClientCertificate(input *GenerateClientCertificateInput) (*ClientCertificate, error)

GenerateClientCertificate API operation for Amazon API Gateway.

Generates a ClientCertificate 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 Amazon API Gateway's API operation GenerateClientCertificate for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GenerateClientCertificateRequest

func (c *APIGateway) GenerateClientCertificateRequest(input *GenerateClientCertificateInput) (req *request.Request, output *ClientCertificate)

GenerateClientCertificateRequest generates a "aws/request.Request" representing the client's request for the GenerateClientCertificate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GenerateClientCertificate for more information on using the GenerateClientCertificate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GenerateClientCertificateRequest method. req, resp := client.GenerateClientCertificateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GenerateClientCertificateWithContext

func (c *APIGateway) GenerateClientCertificateWithContext(ctx aws.Context, input *GenerateClientCertificateInput, opts ...request.Option) (*ClientCertificate, error)

GenerateClientCertificateWithContext is the same as GenerateClientCertificate with the addition of the ability to pass a context and additional request options.

See GenerateClientCertificate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetAccount

func (c *APIGateway) GetAccount(input *GetAccountInput) (*Account, error)

GetAccount API operation for Amazon API Gateway.

Gets information about the current Account 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 Amazon API Gateway's API operation GetAccount for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetAccountRequest

func (c *APIGateway) GetAccountRequest(input *GetAccountInput) (req *request.Request, output *Account)

GetAccountRequest generates a "aws/request.Request" representing the client's request for the GetAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAccount for more information on using the GetAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAccountRequest method. req, resp := client.GetAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetAccountWithContext

func (c *APIGateway) GetAccountWithContext(ctx aws.Context, input *GetAccountInput, opts ...request.Option) (*Account, error)

GetAccountWithContext is the same as GetAccount with the addition of the ability to pass a context and additional request options.

See GetAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetApiKey

func (c *APIGateway) GetApiKey(input *GetApiKeyInput) (*ApiKey, error)

GetApiKey API operation for Amazon API Gateway.

Gets information about the current ApiKey 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 Amazon API Gateway's API operation GetApiKey for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetApiKeyRequest

func (c *APIGateway) GetApiKeyRequest(input *GetApiKeyInput) (req *request.Request, output *ApiKey)

GetApiKeyRequest generates a "aws/request.Request" representing the client's request for the GetApiKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetApiKey for more information on using the GetApiKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetApiKeyRequest method. req, resp := client.GetApiKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetApiKeyWithContext

func (c *APIGateway) GetApiKeyWithContext(ctx aws.Context, input *GetApiKeyInput, opts ...request.Option) (*ApiKey, error)

GetApiKeyWithContext is the same as GetApiKey with the addition of the ability to pass a context and additional request options.

See GetApiKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetApiKeys

func (c *APIGateway) GetApiKeys(input *GetApiKeysInput) (*GetApiKeysOutput, error)

GetApiKeys API operation for Amazon API Gateway.

Gets information about the current ApiKeys 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 Amazon API Gateway's API operation GetApiKeys for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetApiKeysPages

func (c *APIGateway) GetApiKeysPages(input *GetApiKeysInput, fn func(*GetApiKeysOutput, bool) bool) error

GetApiKeysPages iterates over the pages of a GetApiKeys operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetApiKeys method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetApiKeys operation. pageNum := 0 err := client.GetApiKeysPages(params, func(page *GetApiKeysOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetApiKeysPagesWithContext

func (c *APIGateway) GetApiKeysPagesWithContext(ctx aws.Context, input *GetApiKeysInput, fn func(*GetApiKeysOutput, bool) bool, opts ...request.Option) error

GetApiKeysPagesWithContext same as GetApiKeysPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetApiKeysRequest

func (c *APIGateway) GetApiKeysRequest(input *GetApiKeysInput) (req *request.Request, output *GetApiKeysOutput)

GetApiKeysRequest generates a "aws/request.Request" representing the client's request for the GetApiKeys operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetApiKeys for more information on using the GetApiKeys API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetApiKeysRequest method. req, resp := client.GetApiKeysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetApiKeysWithContext

func (c *APIGateway) GetApiKeysWithContext(ctx aws.Context, input *GetApiKeysInput, opts ...request.Option) (*GetApiKeysOutput, error)

GetApiKeysWithContext is the same as GetApiKeys with the addition of the ability to pass a context and additional request options.

See GetApiKeys for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetAuthorizer

func (c *APIGateway) GetAuthorizer(input *GetAuthorizerInput) (*Authorizer, error)

GetAuthorizer API operation for Amazon API Gateway.

Describe an existing Authorizer resource.

AWS CLI (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-authorizer.html)

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 Amazon API Gateway's API operation GetAuthorizer for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetAuthorizerRequest

func (c *APIGateway) GetAuthorizerRequest(input *GetAuthorizerInput) (req *request.Request, output *Authorizer)

GetAuthorizerRequest generates a "aws/request.Request" representing the client's request for the GetAuthorizer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAuthorizer for more information on using the GetAuthorizer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAuthorizerRequest method. req, resp := client.GetAuthorizerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetAuthorizerWithContext

func (c *APIGateway) GetAuthorizerWithContext(ctx aws.Context, input *GetAuthorizerInput, opts ...request.Option) (*Authorizer, error)

GetAuthorizerWithContext is the same as GetAuthorizer with the addition of the ability to pass a context and additional request options.

See GetAuthorizer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetAuthorizers

func (c *APIGateway) GetAuthorizers(input *GetAuthorizersInput) (*GetAuthorizersOutput, error)

GetAuthorizers API operation for Amazon API Gateway.

Describe an existing Authorizers resource.

AWS CLI (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-authorizers.html)

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 Amazon API Gateway's API operation GetAuthorizers for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetAuthorizersRequest

func (c *APIGateway) GetAuthorizersRequest(input *GetAuthorizersInput) (req *request.Request, output *GetAuthorizersOutput)

GetAuthorizersRequest generates a "aws/request.Request" representing the client's request for the GetAuthorizers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAuthorizers for more information on using the GetAuthorizers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAuthorizersRequest method. req, resp := client.GetAuthorizersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetAuthorizersWithContext

func (c *APIGateway) GetAuthorizersWithContext(ctx aws.Context, input *GetAuthorizersInput, opts ...request.Option) (*GetAuthorizersOutput, error)

GetAuthorizersWithContext is the same as GetAuthorizers with the addition of the ability to pass a context and additional request options.

See GetAuthorizers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetBasePathMapping

func (c *APIGateway) GetBasePathMapping(input *GetBasePathMappingInput) (*BasePathMapping, error)

GetBasePathMapping API operation for Amazon API Gateway.

Describe a BasePathMapping 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 Amazon API Gateway's API operation GetBasePathMapping for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetBasePathMappingRequest

func (c *APIGateway) GetBasePathMappingRequest(input *GetBasePathMappingInput) (req *request.Request, output *BasePathMapping)

GetBasePathMappingRequest generates a "aws/request.Request" representing the client's request for the GetBasePathMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBasePathMapping for more information on using the GetBasePathMapping API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBasePathMappingRequest method. req, resp := client.GetBasePathMappingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetBasePathMappingWithContext

func (c *APIGateway) GetBasePathMappingWithContext(ctx aws.Context, input *GetBasePathMappingInput, opts ...request.Option) (*BasePathMapping, error)

GetBasePathMappingWithContext is the same as GetBasePathMapping with the addition of the ability to pass a context and additional request options.

See GetBasePathMapping for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetBasePathMappings

func (c *APIGateway) GetBasePathMappings(input *GetBasePathMappingsInput) (*GetBasePathMappingsOutput, error)

GetBasePathMappings API operation for Amazon API Gateway.

Represents a collection of BasePathMapping resources.

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 Amazon API Gateway's API operation GetBasePathMappings for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetBasePathMappingsPages

func (c *APIGateway) GetBasePathMappingsPages(input *GetBasePathMappingsInput, fn func(*GetBasePathMappingsOutput, bool) bool) error

GetBasePathMappingsPages iterates over the pages of a GetBasePathMappings operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetBasePathMappings method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetBasePathMappings operation. pageNum := 0 err := client.GetBasePathMappingsPages(params, func(page *GetBasePathMappingsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetBasePathMappingsPagesWithContext

func (c *APIGateway) GetBasePathMappingsPagesWithContext(ctx aws.Context, input *GetBasePathMappingsInput, fn func(*GetBasePathMappingsOutput, bool) bool, opts ...request.Option) error

GetBasePathMappingsPagesWithContext same as GetBasePathMappingsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetBasePathMappingsRequest

func (c *APIGateway) GetBasePathMappingsRequest(input *GetBasePathMappingsInput) (req *request.Request, output *GetBasePathMappingsOutput)

GetBasePathMappingsRequest generates a "aws/request.Request" representing the client's request for the GetBasePathMappings operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBasePathMappings for more information on using the GetBasePathMappings API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBasePathMappingsRequest method. req, resp := client.GetBasePathMappingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetBasePathMappingsWithContext

func (c *APIGateway) GetBasePathMappingsWithContext(ctx aws.Context, input *GetBasePathMappingsInput, opts ...request.Option) (*GetBasePathMappingsOutput, error)

GetBasePathMappingsWithContext is the same as GetBasePathMappings with the addition of the ability to pass a context and additional request options.

See GetBasePathMappings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetClientCertificate

func (c *APIGateway) GetClientCertificate(input *GetClientCertificateInput) (*ClientCertificate, error)

GetClientCertificate API operation for Amazon API Gateway.

Gets information about the current ClientCertificate 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 Amazon API Gateway's API operation GetClientCertificate for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetClientCertificateRequest

func (c *APIGateway) GetClientCertificateRequest(input *GetClientCertificateInput) (req *request.Request, output *ClientCertificate)

GetClientCertificateRequest generates a "aws/request.Request" representing the client's request for the GetClientCertificate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetClientCertificate for more information on using the GetClientCertificate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetClientCertificateRequest method. req, resp := client.GetClientCertificateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetClientCertificateWithContext

func (c *APIGateway) GetClientCertificateWithContext(ctx aws.Context, input *GetClientCertificateInput, opts ...request.Option) (*ClientCertificate, error)

GetClientCertificateWithContext is the same as GetClientCertificate with the addition of the ability to pass a context and additional request options.

See GetClientCertificate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetClientCertificates

func (c *APIGateway) GetClientCertificates(input *GetClientCertificatesInput) (*GetClientCertificatesOutput, error)

GetClientCertificates API operation for Amazon API Gateway.

Gets a collection of ClientCertificate resources.

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 Amazon API Gateway's API operation GetClientCertificates for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetClientCertificatesPages

func (c *APIGateway) GetClientCertificatesPages(input *GetClientCertificatesInput, fn func(*GetClientCertificatesOutput, bool) bool) error

GetClientCertificatesPages iterates over the pages of a GetClientCertificates operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetClientCertificates method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetClientCertificates operation. pageNum := 0 err := client.GetClientCertificatesPages(params, func(page *GetClientCertificatesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetClientCertificatesPagesWithContext

func (c *APIGateway) GetClientCertificatesPagesWithContext(ctx aws.Context, input *GetClientCertificatesInput, fn func(*GetClientCertificatesOutput, bool) bool, opts ...request.Option) error

GetClientCertificatesPagesWithContext same as GetClientCertificatesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetClientCertificatesRequest

func (c *APIGateway) GetClientCertificatesRequest(input *GetClientCertificatesInput) (req *request.Request, output *GetClientCertificatesOutput)

GetClientCertificatesRequest generates a "aws/request.Request" representing the client's request for the GetClientCertificates operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetClientCertificates for more information on using the GetClientCertificates API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetClientCertificatesRequest method. req, resp := client.GetClientCertificatesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetClientCertificatesWithContext

func (c *APIGateway) GetClientCertificatesWithContext(ctx aws.Context, input *GetClientCertificatesInput, opts ...request.Option) (*GetClientCertificatesOutput, error)

GetClientCertificatesWithContext is the same as GetClientCertificates with the addition of the ability to pass a context and additional request options.

See GetClientCertificates for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDeployment

func (c *APIGateway) GetDeployment(input *GetDeploymentInput) (*Deployment, error)

GetDeployment API operation for Amazon API Gateway.

Gets information about a Deployment 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 Amazon API Gateway's API operation GetDeployment for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The requested service is not available. For details see the accompanying error message. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetDeploymentRequest

func (c *APIGateway) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *Deployment)

GetDeploymentRequest generates a "aws/request.Request" representing the client's request for the GetDeployment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDeployment for more information on using the GetDeployment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDeploymentRequest method. req, resp := client.GetDeploymentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetDeploymentWithContext

func (c *APIGateway) GetDeploymentWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...request.Option) (*Deployment, error)

GetDeploymentWithContext is the same as GetDeployment with the addition of the ability to pass a context and additional request options.

See GetDeployment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDeployments

func (c *APIGateway) GetDeployments(input *GetDeploymentsInput) (*GetDeploymentsOutput, error)

GetDeployments API operation for Amazon API Gateway.

Gets information about a Deployments collection.

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 Amazon API Gateway's API operation GetDeployments for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The requested service is not available. For details see the accompanying error message. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetDeploymentsPages

func (c *APIGateway) GetDeploymentsPages(input *GetDeploymentsInput, fn func(*GetDeploymentsOutput, bool) bool) error

GetDeploymentsPages iterates over the pages of a GetDeployments operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetDeployments method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetDeployments operation. pageNum := 0 err := client.GetDeploymentsPages(params, func(page *GetDeploymentsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetDeploymentsPagesWithContext

func (c *APIGateway) GetDeploymentsPagesWithContext(ctx aws.Context, input *GetDeploymentsInput, fn func(*GetDeploymentsOutput, bool) bool, opts ...request.Option) error

GetDeploymentsPagesWithContext same as GetDeploymentsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDeploymentsRequest

func (c *APIGateway) GetDeploymentsRequest(input *GetDeploymentsInput) (req *request.Request, output *GetDeploymentsOutput)

GetDeploymentsRequest generates a "aws/request.Request" representing the client's request for the GetDeployments operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDeployments for more information on using the GetDeployments API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDeploymentsRequest method. req, resp := client.GetDeploymentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetDeploymentsWithContext

func (c *APIGateway) GetDeploymentsWithContext(ctx aws.Context, input *GetDeploymentsInput, opts ...request.Option) (*GetDeploymentsOutput, error)

GetDeploymentsWithContext is the same as GetDeployments with the addition of the ability to pass a context and additional request options.

See GetDeployments for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDocumentationPart

func (c *APIGateway) GetDocumentationPart(input *GetDocumentationPartInput) (*DocumentationPart, error)

GetDocumentationPart API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation GetDocumentationPart for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetDocumentationPartRequest

func (c *APIGateway) GetDocumentationPartRequest(input *GetDocumentationPartInput) (req *request.Request, output *DocumentationPart)

GetDocumentationPartRequest generates a "aws/request.Request" representing the client's request for the GetDocumentationPart operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDocumentationPart for more information on using the GetDocumentationPart API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDocumentationPartRequest method. req, resp := client.GetDocumentationPartRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetDocumentationPartWithContext

func (c *APIGateway) GetDocumentationPartWithContext(ctx aws.Context, input *GetDocumentationPartInput, opts ...request.Option) (*DocumentationPart, error)

GetDocumentationPartWithContext is the same as GetDocumentationPart with the addition of the ability to pass a context and additional request options.

See GetDocumentationPart for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDocumentationParts

func (c *APIGateway) GetDocumentationParts(input *GetDocumentationPartsInput) (*GetDocumentationPartsOutput, error)

GetDocumentationParts API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation GetDocumentationParts for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetDocumentationPartsRequest

func (c *APIGateway) GetDocumentationPartsRequest(input *GetDocumentationPartsInput) (req *request.Request, output *GetDocumentationPartsOutput)

GetDocumentationPartsRequest generates a "aws/request.Request" representing the client's request for the GetDocumentationParts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDocumentationParts for more information on using the GetDocumentationParts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDocumentationPartsRequest method. req, resp := client.GetDocumentationPartsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetDocumentationPartsWithContext

func (c *APIGateway) GetDocumentationPartsWithContext(ctx aws.Context, input *GetDocumentationPartsInput, opts ...request.Option) (*GetDocumentationPartsOutput, error)

GetDocumentationPartsWithContext is the same as GetDocumentationParts with the addition of the ability to pass a context and additional request options.

See GetDocumentationParts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDocumentationVersion

func (c *APIGateway) GetDocumentationVersion(input *GetDocumentationVersionInput) (*DocumentationVersion, error)

GetDocumentationVersion API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation GetDocumentationVersion for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetDocumentationVersionRequest

func (c *APIGateway) GetDocumentationVersionRequest(input *GetDocumentationVersionInput) (req *request.Request, output *DocumentationVersion)

GetDocumentationVersionRequest generates a "aws/request.Request" representing the client's request for the GetDocumentationVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDocumentationVersion for more information on using the GetDocumentationVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDocumentationVersionRequest method. req, resp := client.GetDocumentationVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetDocumentationVersionWithContext

func (c *APIGateway) GetDocumentationVersionWithContext(ctx aws.Context, input *GetDocumentationVersionInput, opts ...request.Option) (*DocumentationVersion, error)

GetDocumentationVersionWithContext is the same as GetDocumentationVersion with the addition of the ability to pass a context and additional request options.

See GetDocumentationVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDocumentationVersions

func (c *APIGateway) GetDocumentationVersions(input *GetDocumentationVersionsInput) (*GetDocumentationVersionsOutput, error)

GetDocumentationVersions API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation GetDocumentationVersions for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetDocumentationVersionsRequest

func (c *APIGateway) GetDocumentationVersionsRequest(input *GetDocumentationVersionsInput) (req *request.Request, output *GetDocumentationVersionsOutput)

GetDocumentationVersionsRequest generates a "aws/request.Request" representing the client's request for the GetDocumentationVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDocumentationVersions for more information on using the GetDocumentationVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDocumentationVersionsRequest method. req, resp := client.GetDocumentationVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetDocumentationVersionsWithContext

func (c *APIGateway) GetDocumentationVersionsWithContext(ctx aws.Context, input *GetDocumentationVersionsInput, opts ...request.Option) (*GetDocumentationVersionsOutput, error)

GetDocumentationVersionsWithContext is the same as GetDocumentationVersions with the addition of the ability to pass a context and additional request options.

See GetDocumentationVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDomainName

func (c *APIGateway) GetDomainName(input *GetDomainNameInput) (*DomainName, error)

GetDomainName API operation for Amazon API Gateway.

Represents a domain name that is contained in a simpler, more intuitive URL that can be called.

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 Amazon API Gateway's API operation GetDomainName for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The requested service is not available. For details see the accompanying error message. Retry after the specified time period.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetDomainNameRequest

func (c *APIGateway) GetDomainNameRequest(input *GetDomainNameInput) (req *request.Request, output *DomainName)

GetDomainNameRequest generates a "aws/request.Request" representing the client's request for the GetDomainName operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDomainName for more information on using the GetDomainName API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDomainNameRequest method. req, resp := client.GetDomainNameRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetDomainNameWithContext

func (c *APIGateway) GetDomainNameWithContext(ctx aws.Context, input *GetDomainNameInput, opts ...request.Option) (*DomainName, error)

GetDomainNameWithContext is the same as GetDomainName with the addition of the ability to pass a context and additional request options.

See GetDomainName for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDomainNames

func (c *APIGateway) GetDomainNames(input *GetDomainNamesInput) (*GetDomainNamesOutput, error)

GetDomainNames API operation for Amazon API Gateway.

Represents a collection of DomainName resources.

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 Amazon API Gateway's API operation GetDomainNames for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetDomainNamesPages

func (c *APIGateway) GetDomainNamesPages(input *GetDomainNamesInput, fn func(*GetDomainNamesOutput, bool) bool) error

GetDomainNamesPages iterates over the pages of a GetDomainNames operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetDomainNames method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetDomainNames operation. pageNum := 0 err := client.GetDomainNamesPages(params, func(page *GetDomainNamesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetDomainNamesPagesWithContext

func (c *APIGateway) GetDomainNamesPagesWithContext(ctx aws.Context, input *GetDomainNamesInput, fn func(*GetDomainNamesOutput, bool) bool, opts ...request.Option) error

GetDomainNamesPagesWithContext same as GetDomainNamesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDomainNamesRequest

func (c *APIGateway) GetDomainNamesRequest(input *GetDomainNamesInput) (req *request.Request, output *GetDomainNamesOutput)

GetDomainNamesRequest generates a "aws/request.Request" representing the client's request for the GetDomainNames operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDomainNames for more information on using the GetDomainNames API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDomainNamesRequest method. req, resp := client.GetDomainNamesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetDomainNamesWithContext

func (c *APIGateway) GetDomainNamesWithContext(ctx aws.Context, input *GetDomainNamesInput, opts ...request.Option) (*GetDomainNamesOutput, error)

GetDomainNamesWithContext is the same as GetDomainNames with the addition of the ability to pass a context and additional request options.

See GetDomainNames for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetExport

func (c *APIGateway) GetExport(input *GetExportInput) (*GetExportOutput, error)

GetExport API operation for Amazon API Gateway.

Exports a deployed version of a RestApi in a specified format.

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 Amazon API Gateway's API operation GetExport for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetExportRequest

func (c *APIGateway) GetExportRequest(input *GetExportInput) (req *request.Request, output *GetExportOutput)

GetExportRequest generates a "aws/request.Request" representing the client's request for the GetExport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetExport for more information on using the GetExport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetExportRequest method. req, resp := client.GetExportRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetExportWithContext

func (c *APIGateway) GetExportWithContext(ctx aws.Context, input *GetExportInput, opts ...request.Option) (*GetExportOutput, error)

GetExportWithContext is the same as GetExport with the addition of the ability to pass a context and additional request options.

See GetExport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetGatewayResponse

func (c *APIGateway) GetGatewayResponse(input *GetGatewayResponseInput) (*UpdateGatewayResponseOutput, error)

GetGatewayResponse API operation for Amazon API Gateway.

Gets a GatewayResponse of a specified response type on the given RestApi.

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 Amazon API Gateway's API operation GetGatewayResponse for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetGatewayResponseRequest

func (c *APIGateway) GetGatewayResponseRequest(input *GetGatewayResponseInput) (req *request.Request, output *UpdateGatewayResponseOutput)

GetGatewayResponseRequest generates a "aws/request.Request" representing the client's request for the GetGatewayResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetGatewayResponse for more information on using the GetGatewayResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetGatewayResponseRequest method. req, resp := client.GetGatewayResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetGatewayResponseWithContext

func (c *APIGateway) GetGatewayResponseWithContext(ctx aws.Context, input *GetGatewayResponseInput, opts ...request.Option) (*UpdateGatewayResponseOutput, error)

GetGatewayResponseWithContext is the same as GetGatewayResponse with the addition of the ability to pass a context and additional request options.

See GetGatewayResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetGatewayResponses

func (c *APIGateway) GetGatewayResponses(input *GetGatewayResponsesInput) (*GetGatewayResponsesOutput, error)

GetGatewayResponses API operation for Amazon API Gateway.

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.

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 Amazon API Gateway's API operation GetGatewayResponses for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetGatewayResponsesRequest

func (c *APIGateway) GetGatewayResponsesRequest(input *GetGatewayResponsesInput) (req *request.Request, output *GetGatewayResponsesOutput)

GetGatewayResponsesRequest generates a "aws/request.Request" representing the client's request for the GetGatewayResponses operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetGatewayResponses for more information on using the GetGatewayResponses API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetGatewayResponsesRequest method. req, resp := client.GetGatewayResponsesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetGatewayResponsesWithContext

func (c *APIGateway) GetGatewayResponsesWithContext(ctx aws.Context, input *GetGatewayResponsesInput, opts ...request.Option) (*GetGatewayResponsesOutput, error)

GetGatewayResponsesWithContext is the same as GetGatewayResponses with the addition of the ability to pass a context and additional request options.

See GetGatewayResponses for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetIntegration

func (c *APIGateway) GetIntegration(input *GetIntegrationInput) (*Integration, error)

GetIntegration API operation for Amazon API Gateway.

Get the integration settings.

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 Amazon API Gateway's API operation GetIntegration for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetIntegrationRequest

func (c *APIGateway) GetIntegrationRequest(input *GetIntegrationInput) (req *request.Request, output *Integration)

GetIntegrationRequest generates a "aws/request.Request" representing the client's request for the GetIntegration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetIntegration for more information on using the GetIntegration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetIntegrationRequest method. req, resp := client.GetIntegrationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetIntegrationResponse

func (c *APIGateway) GetIntegrationResponse(input *GetIntegrationResponseInput) (*IntegrationResponse, error)

GetIntegrationResponse API operation for Amazon API Gateway.

Represents a get integration response.

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 Amazon API Gateway's API operation GetIntegrationResponse for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetIntegrationResponseRequest

func (c *APIGateway) GetIntegrationResponseRequest(input *GetIntegrationResponseInput) (req *request.Request, output *IntegrationResponse)

GetIntegrationResponseRequest generates a "aws/request.Request" representing the client's request for the GetIntegrationResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetIntegrationResponse for more information on using the GetIntegrationResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetIntegrationResponseRequest method. req, resp := client.GetIntegrationResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetIntegrationResponseWithContext

func (c *APIGateway) GetIntegrationResponseWithContext(ctx aws.Context, input *GetIntegrationResponseInput, opts ...request.Option) (*IntegrationResponse, error)

GetIntegrationResponseWithContext is the same as GetIntegrationResponse with the addition of the ability to pass a context and additional request options.

See GetIntegrationResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetIntegrationWithContext

func (c *APIGateway) GetIntegrationWithContext(ctx aws.Context, input *GetIntegrationInput, opts ...request.Option) (*Integration, error)

GetIntegrationWithContext is the same as GetIntegration with the addition of the ability to pass a context and additional request options.

See GetIntegration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetMethod

func (c *APIGateway) GetMethod(input *GetMethodInput) (*Method, error)

GetMethod API operation for Amazon API Gateway.

Describe an existing Method 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 Amazon API Gateway's API operation GetMethod for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetMethodRequest

func (c *APIGateway) GetMethodRequest(input *GetMethodInput) (req *request.Request, output *Method)

GetMethodRequest generates a "aws/request.Request" representing the client's request for the GetMethod operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMethod for more information on using the GetMethod API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMethodRequest method. req, resp := client.GetMethodRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetMethodResponse

func (c *APIGateway) GetMethodResponse(input *GetMethodResponseInput) (*MethodResponse, error)

GetMethodResponse API operation for Amazon API Gateway.

Describes a MethodResponse 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 Amazon API Gateway's API operation GetMethodResponse for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetMethodResponseRequest

func (c *APIGateway) GetMethodResponseRequest(input *GetMethodResponseInput) (req *request.Request, output *MethodResponse)

GetMethodResponseRequest generates a "aws/request.Request" representing the client's request for the GetMethodResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMethodResponse for more information on using the GetMethodResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMethodResponseRequest method. req, resp := client.GetMethodResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetMethodResponseWithContext

func (c *APIGateway) GetMethodResponseWithContext(ctx aws.Context, input *GetMethodResponseInput, opts ...request.Option) (*MethodResponse, error)

GetMethodResponseWithContext is the same as GetMethodResponse with the addition of the ability to pass a context and additional request options.

See GetMethodResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetMethodWithContext

func (c *APIGateway) GetMethodWithContext(ctx aws.Context, input *GetMethodInput, opts ...request.Option) (*Method, error)

GetMethodWithContext is the same as GetMethod with the addition of the ability to pass a context and additional request options.

See GetMethod for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetModel

func (c *APIGateway) GetModel(input *GetModelInput) (*Model, error)

GetModel API operation for Amazon API Gateway.

Describes an existing model defined for a RestApi 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 Amazon API Gateway's API operation GetModel for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetModelRequest

func (c *APIGateway) GetModelRequest(input *GetModelInput) (req *request.Request, output *Model)

GetModelRequest generates a "aws/request.Request" representing the client's request for the GetModel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetModel for more information on using the GetModel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetModelRequest method. req, resp := client.GetModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetModelTemplate

func (c *APIGateway) GetModelTemplate(input *GetModelTemplateInput) (*GetModelTemplateOutput, error)

GetModelTemplate API operation for Amazon API Gateway.

Generates a sample mapping template that can be used to transform a payload into the structure of a model.

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 Amazon API Gateway's API operation GetModelTemplate for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetModelTemplateRequest

func (c *APIGateway) GetModelTemplateRequest(input *GetModelTemplateInput) (req *request.Request, output *GetModelTemplateOutput)

GetModelTemplateRequest generates a "aws/request.Request" representing the client's request for the GetModelTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetModelTemplate for more information on using the GetModelTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetModelTemplateRequest method. req, resp := client.GetModelTemplateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetModelTemplateWithContext

func (c *APIGateway) GetModelTemplateWithContext(ctx aws.Context, input *GetModelTemplateInput, opts ...request.Option) (*GetModelTemplateOutput, error)

GetModelTemplateWithContext is the same as GetModelTemplate with the addition of the ability to pass a context and additional request options.

See GetModelTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetModelWithContext

func (c *APIGateway) GetModelWithContext(ctx aws.Context, input *GetModelInput, opts ...request.Option) (*Model, error)

GetModelWithContext is the same as GetModel with the addition of the ability to pass a context and additional request options.

See GetModel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetModels

func (c *APIGateway) GetModels(input *GetModelsInput) (*GetModelsOutput, error)

GetModels API operation for Amazon API Gateway.

Describes existing Models defined for a RestApi 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 Amazon API Gateway's API operation GetModels for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetModelsPages

func (c *APIGateway) GetModelsPages(input *GetModelsInput, fn func(*GetModelsOutput, bool) bool) error

GetModelsPages iterates over the pages of a GetModels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetModels method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetModels operation. pageNum := 0 err := client.GetModelsPages(params, func(page *GetModelsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetModelsPagesWithContext

func (c *APIGateway) GetModelsPagesWithContext(ctx aws.Context, input *GetModelsInput, fn func(*GetModelsOutput, bool) bool, opts ...request.Option) error

GetModelsPagesWithContext same as GetModelsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetModelsRequest

func (c *APIGateway) GetModelsRequest(input *GetModelsInput) (req *request.Request, output *GetModelsOutput)

GetModelsRequest generates a "aws/request.Request" representing the client's request for the GetModels operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetModels for more information on using the GetModels API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetModelsRequest method. req, resp := client.GetModelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetModelsWithContext

func (c *APIGateway) GetModelsWithContext(ctx aws.Context, input *GetModelsInput, opts ...request.Option) (*GetModelsOutput, error)

GetModelsWithContext is the same as GetModels with the addition of the ability to pass a context and additional request options.

See GetModels for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetRequestValidator

func (c *APIGateway) GetRequestValidator(input *GetRequestValidatorInput) (*UpdateRequestValidatorOutput, error)

GetRequestValidator API operation for Amazon API Gateway.

Gets a RequestValidator of a given RestApi.

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 Amazon API Gateway's API operation GetRequestValidator for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetRequestValidatorRequest

func (c *APIGateway) GetRequestValidatorRequest(input *GetRequestValidatorInput) (req *request.Request, output *UpdateRequestValidatorOutput)

GetRequestValidatorRequest generates a "aws/request.Request" representing the client's request for the GetRequestValidator operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRequestValidator for more information on using the GetRequestValidator API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRequestValidatorRequest method. req, resp := client.GetRequestValidatorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetRequestValidatorWithContext

func (c *APIGateway) GetRequestValidatorWithContext(ctx aws.Context, input *GetRequestValidatorInput, opts ...request.Option) (*UpdateRequestValidatorOutput, error)

GetRequestValidatorWithContext is the same as GetRequestValidator with the addition of the ability to pass a context and additional request options.

See GetRequestValidator for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetRequestValidators

func (c *APIGateway) GetRequestValidators(input *GetRequestValidatorsInput) (*GetRequestValidatorsOutput, error)

GetRequestValidators API operation for Amazon API Gateway.

Gets the RequestValidators collection of a given RestApi.

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 Amazon API Gateway's API operation GetRequestValidators for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetRequestValidatorsRequest

func (c *APIGateway) GetRequestValidatorsRequest(input *GetRequestValidatorsInput) (req *request.Request, output *GetRequestValidatorsOutput)

GetRequestValidatorsRequest generates a "aws/request.Request" representing the client's request for the GetRequestValidators operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRequestValidators for more information on using the GetRequestValidators API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRequestValidatorsRequest method. req, resp := client.GetRequestValidatorsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetRequestValidatorsWithContext

func (c *APIGateway) GetRequestValidatorsWithContext(ctx aws.Context, input *GetRequestValidatorsInput, opts ...request.Option) (*GetRequestValidatorsOutput, error)

GetRequestValidatorsWithContext is the same as GetRequestValidators with the addition of the ability to pass a context and additional request options.

See GetRequestValidators for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetResource

func (c *APIGateway) GetResource(input *GetResourceInput) (*Resource, error)

GetResource API operation for Amazon API Gateway.

Lists information about a 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 Amazon API Gateway's API operation GetResource for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetResourceRequest

func (c *APIGateway) GetResourceRequest(input *GetResourceInput) (req *request.Request, output *Resource)

GetResourceRequest generates a "aws/request.Request" representing the client's request for the GetResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResource for more information on using the GetResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResourceRequest method. req, resp := client.GetResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetResourceWithContext

func (c *APIGateway) GetResourceWithContext(ctx aws.Context, input *GetResourceInput, opts ...request.Option) (*Resource, error)

GetResourceWithContext is the same as GetResource with the addition of the ability to pass a context and additional request options.

See GetResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetResources

func (c *APIGateway) GetResources(input *GetResourcesInput) (*GetResourcesOutput, error)

GetResources API operation for Amazon API Gateway.

Lists information about a collection of Resource resources.

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 Amazon API Gateway's API operation GetResources for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetResourcesPages

func (c *APIGateway) GetResourcesPages(input *GetResourcesInput, fn func(*GetResourcesOutput, bool) bool) error

GetResourcesPages iterates over the pages of a GetResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetResources method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetResources operation. pageNum := 0 err := client.GetResourcesPages(params, func(page *GetResourcesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetResourcesPagesWithContext

func (c *APIGateway) GetResourcesPagesWithContext(ctx aws.Context, input *GetResourcesInput, fn func(*GetResourcesOutput, bool) bool, opts ...request.Option) error

GetResourcesPagesWithContext same as GetResourcesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetResourcesRequest

func (c *APIGateway) GetResourcesRequest(input *GetResourcesInput) (req *request.Request, output *GetResourcesOutput)

GetResourcesRequest generates a "aws/request.Request" representing the client's request for the GetResources operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResources for more information on using the GetResources API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResourcesRequest method. req, resp := client.GetResourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetResourcesWithContext

func (c *APIGateway) GetResourcesWithContext(ctx aws.Context, input *GetResourcesInput, opts ...request.Option) (*GetResourcesOutput, error)

GetResourcesWithContext is the same as GetResources with the addition of the ability to pass a context and additional request options.

See GetResources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetRestApi

func (c *APIGateway) GetRestApi(input *GetRestApiInput) (*RestApi, error)

GetRestApi API operation for Amazon API Gateway.

Lists the RestApi resource in the collection.

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 Amazon API Gateway's API operation GetRestApi for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetRestApiRequest

func (c *APIGateway) GetRestApiRequest(input *GetRestApiInput) (req *request.Request, output *RestApi)

GetRestApiRequest generates a "aws/request.Request" representing the client's request for the GetRestApi operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRestApi for more information on using the GetRestApi API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRestApiRequest method. req, resp := client.GetRestApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetRestApiWithContext

func (c *APIGateway) GetRestApiWithContext(ctx aws.Context, input *GetRestApiInput, opts ...request.Option) (*RestApi, error)

GetRestApiWithContext is the same as GetRestApi with the addition of the ability to pass a context and additional request options.

See GetRestApi for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetRestApis

func (c *APIGateway) GetRestApis(input *GetRestApisInput) (*GetRestApisOutput, error)

GetRestApis API operation for Amazon API Gateway.

Lists the RestApis resources for your collection.

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 Amazon API Gateway's API operation GetRestApis for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetRestApisPages

func (c *APIGateway) GetRestApisPages(input *GetRestApisInput, fn func(*GetRestApisOutput, bool) bool) error

GetRestApisPages iterates over the pages of a GetRestApis operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetRestApis method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetRestApis operation. pageNum := 0 err := client.GetRestApisPages(params, func(page *GetRestApisOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetRestApisPagesWithContext

func (c *APIGateway) GetRestApisPagesWithContext(ctx aws.Context, input *GetRestApisInput, fn func(*GetRestApisOutput, bool) bool, opts ...request.Option) error

GetRestApisPagesWithContext same as GetRestApisPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetRestApisRequest

func (c *APIGateway) GetRestApisRequest(input *GetRestApisInput) (req *request.Request, output *GetRestApisOutput)

GetRestApisRequest generates a "aws/request.Request" representing the client's request for the GetRestApis operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRestApis for more information on using the GetRestApis API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRestApisRequest method. req, resp := client.GetRestApisRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetRestApisWithContext

func (c *APIGateway) GetRestApisWithContext(ctx aws.Context, input *GetRestApisInput, opts ...request.Option) (*GetRestApisOutput, error)

GetRestApisWithContext is the same as GetRestApis with the addition of the ability to pass a context and additional request options.

See GetRestApis for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetSdk

func (c *APIGateway) GetSdk(input *GetSdkInput) (*GetSdkOutput, error)

GetSdk API operation for Amazon API Gateway.

Generates a client SDK for a RestApi and Stage.

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 Amazon API Gateway's API operation GetSdk for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetSdkRequest

func (c *APIGateway) GetSdkRequest(input *GetSdkInput) (req *request.Request, output *GetSdkOutput)

GetSdkRequest generates a "aws/request.Request" representing the client's request for the GetSdk operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSdk for more information on using the GetSdk API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSdkRequest method. req, resp := client.GetSdkRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetSdkType

func (c *APIGateway) GetSdkType(input *GetSdkTypeInput) (*SdkType, error)

GetSdkType API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation GetSdkType for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetSdkTypeRequest

func (c *APIGateway) GetSdkTypeRequest(input *GetSdkTypeInput) (req *request.Request, output *SdkType)

GetSdkTypeRequest generates a "aws/request.Request" representing the client's request for the GetSdkType operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSdkType for more information on using the GetSdkType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSdkTypeRequest method. req, resp := client.GetSdkTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetSdkTypeWithContext

func (c *APIGateway) GetSdkTypeWithContext(ctx aws.Context, input *GetSdkTypeInput, opts ...request.Option) (*SdkType, error)

GetSdkTypeWithContext is the same as GetSdkType with the addition of the ability to pass a context and additional request options.

See GetSdkType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetSdkTypes

func (c *APIGateway) GetSdkTypes(input *GetSdkTypesInput) (*GetSdkTypesOutput, error)

GetSdkTypes API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation GetSdkTypes for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetSdkTypesRequest

func (c *APIGateway) GetSdkTypesRequest(input *GetSdkTypesInput) (req *request.Request, output *GetSdkTypesOutput)

GetSdkTypesRequest generates a "aws/request.Request" representing the client's request for the GetSdkTypes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSdkTypes for more information on using the GetSdkTypes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSdkTypesRequest method. req, resp := client.GetSdkTypesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetSdkTypesWithContext

func (c *APIGateway) GetSdkTypesWithContext(ctx aws.Context, input *GetSdkTypesInput, opts ...request.Option) (*GetSdkTypesOutput, error)

GetSdkTypesWithContext is the same as GetSdkTypes with the addition of the ability to pass a context and additional request options.

See GetSdkTypes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetSdkWithContext

func (c *APIGateway) GetSdkWithContext(ctx aws.Context, input *GetSdkInput, opts ...request.Option) (*GetSdkOutput, error)

GetSdkWithContext is the same as GetSdk with the addition of the ability to pass a context and additional request options.

See GetSdk for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetStage

func (c *APIGateway) GetStage(input *GetStageInput) (*Stage, error)

GetStage API operation for Amazon API Gateway.

Gets information about a Stage 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 Amazon API Gateway's API operation GetStage for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetStageRequest

func (c *APIGateway) GetStageRequest(input *GetStageInput) (req *request.Request, output *Stage)

GetStageRequest generates a "aws/request.Request" representing the client's request for the GetStage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetStage for more information on using the GetStage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetStageRequest method. req, resp := client.GetStageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetStageWithContext

func (c *APIGateway) GetStageWithContext(ctx aws.Context, input *GetStageInput, opts ...request.Option) (*Stage, error)

GetStageWithContext is the same as GetStage with the addition of the ability to pass a context and additional request options.

See GetStage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetStages

func (c *APIGateway) GetStages(input *GetStagesInput) (*GetStagesOutput, error)

GetStages API operation for Amazon API Gateway.

Gets information about one or more Stage resources.

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 Amazon API Gateway's API operation GetStages for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetStagesRequest

func (c *APIGateway) GetStagesRequest(input *GetStagesInput) (req *request.Request, output *GetStagesOutput)

GetStagesRequest generates a "aws/request.Request" representing the client's request for the GetStages operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetStages for more information on using the GetStages API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetStagesRequest method. req, resp := client.GetStagesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetStagesWithContext

func (c *APIGateway) GetStagesWithContext(ctx aws.Context, input *GetStagesInput, opts ...request.Option) (*GetStagesOutput, error)

GetStagesWithContext is the same as GetStages with the addition of the ability to pass a context and additional request options.

See GetStages for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetTags

func (c *APIGateway) GetTags(input *GetTagsInput) (*GetTagsOutput, error)

GetTags API operation for Amazon API Gateway.

Gets the Tags collection for a given 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 Amazon API Gateway's API operation GetTags for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetTagsRequest

func (c *APIGateway) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput)

GetTagsRequest generates a "aws/request.Request" representing the client's request for the GetTags operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTags for more information on using the GetTags API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTagsRequest method. req, resp := client.GetTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetTagsWithContext

func (c *APIGateway) GetTagsWithContext(ctx aws.Context, input *GetTagsInput, opts ...request.Option) (*GetTagsOutput, error)

GetTagsWithContext is the same as GetTags with the addition of the ability to pass a context and additional request options.

See GetTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetUsage

func (c *APIGateway) GetUsage(input *GetUsageInput) (*Usage, error)

GetUsage API operation for Amazon API Gateway.

Gets the usage data of a usage plan in a specified time interval.

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 Amazon API Gateway's API operation GetUsage for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePages

func (c *APIGateway) GetUsagePages(input *GetUsageInput, fn func(*Usage, bool) bool) error

GetUsagePages iterates over the pages of a GetUsage operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetUsage method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetUsage operation. pageNum := 0 err := client.GetUsagePages(params, func(page *Usage, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePagesWithContext

func (c *APIGateway) GetUsagePagesWithContext(ctx aws.Context, input *GetUsageInput, fn func(*Usage, bool) bool, opts ...request.Option) error

GetUsagePagesWithContext same as GetUsagePages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlan

func (c *APIGateway) GetUsagePlan(input *GetUsagePlanInput) (*UsagePlan, error)

GetUsagePlan API operation for Amazon API Gateway.

Gets a usage plan of a given plan identifier.

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 Amazon API Gateway's API operation GetUsagePlan for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlanKey

func (c *APIGateway) GetUsagePlanKey(input *GetUsagePlanKeyInput) (*UsagePlanKey, error)

GetUsagePlanKey API operation for Amazon API Gateway.

Gets a usage plan key of a given key identifier.

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 Amazon API Gateway's API operation GetUsagePlanKey for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlanKeyRequest

func (c *APIGateway) GetUsagePlanKeyRequest(input *GetUsagePlanKeyInput) (req *request.Request, output *UsagePlanKey)

GetUsagePlanKeyRequest generates a "aws/request.Request" representing the client's request for the GetUsagePlanKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetUsagePlanKey for more information on using the GetUsagePlanKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetUsagePlanKeyRequest method. req, resp := client.GetUsagePlanKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlanKeyWithContext

func (c *APIGateway) GetUsagePlanKeyWithContext(ctx aws.Context, input *GetUsagePlanKeyInput, opts ...request.Option) (*UsagePlanKey, error)

GetUsagePlanKeyWithContext is the same as GetUsagePlanKey with the addition of the ability to pass a context and additional request options.

See GetUsagePlanKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlanKeys

func (c *APIGateway) GetUsagePlanKeys(input *GetUsagePlanKeysInput) (*GetUsagePlanKeysOutput, error)

GetUsagePlanKeys API operation for Amazon API Gateway.

Gets all the usage plan keys representing the API keys added to a specified usage plan.

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 Amazon API Gateway's API operation GetUsagePlanKeys for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlanKeysPages

func (c *APIGateway) GetUsagePlanKeysPages(input *GetUsagePlanKeysInput, fn func(*GetUsagePlanKeysOutput, bool) bool) error

GetUsagePlanKeysPages iterates over the pages of a GetUsagePlanKeys operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetUsagePlanKeys method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetUsagePlanKeys operation. pageNum := 0 err := client.GetUsagePlanKeysPages(params, func(page *GetUsagePlanKeysOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlanKeysPagesWithContext

func (c *APIGateway) GetUsagePlanKeysPagesWithContext(ctx aws.Context, input *GetUsagePlanKeysInput, fn func(*GetUsagePlanKeysOutput, bool) bool, opts ...request.Option) error

GetUsagePlanKeysPagesWithContext same as GetUsagePlanKeysPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlanKeysRequest

func (c *APIGateway) GetUsagePlanKeysRequest(input *GetUsagePlanKeysInput) (req *request.Request, output *GetUsagePlanKeysOutput)

GetUsagePlanKeysRequest generates a "aws/request.Request" representing the client's request for the GetUsagePlanKeys operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetUsagePlanKeys for more information on using the GetUsagePlanKeys API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetUsagePlanKeysRequest method. req, resp := client.GetUsagePlanKeysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlanKeysWithContext

func (c *APIGateway) GetUsagePlanKeysWithContext(ctx aws.Context, input *GetUsagePlanKeysInput, opts ...request.Option) (*GetUsagePlanKeysOutput, error)

GetUsagePlanKeysWithContext is the same as GetUsagePlanKeys with the addition of the ability to pass a context and additional request options.

See GetUsagePlanKeys for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlanRequest

func (c *APIGateway) GetUsagePlanRequest(input *GetUsagePlanInput) (req *request.Request, output *UsagePlan)

GetUsagePlanRequest generates a "aws/request.Request" representing the client's request for the GetUsagePlan operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetUsagePlan for more information on using the GetUsagePlan API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetUsagePlanRequest method. req, resp := client.GetUsagePlanRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlanWithContext

func (c *APIGateway) GetUsagePlanWithContext(ctx aws.Context, input *GetUsagePlanInput, opts ...request.Option) (*UsagePlan, error)

GetUsagePlanWithContext is the same as GetUsagePlan with the addition of the ability to pass a context and additional request options.

See GetUsagePlan for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlans

func (c *APIGateway) GetUsagePlans(input *GetUsagePlansInput) (*GetUsagePlansOutput, error)

GetUsagePlans API operation for Amazon API Gateway.

Gets all the usage plans of the caller's account.

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 Amazon API Gateway's API operation GetUsagePlans for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlansPages

func (c *APIGateway) GetUsagePlansPages(input *GetUsagePlansInput, fn func(*GetUsagePlansOutput, bool) bool) error

GetUsagePlansPages iterates over the pages of a GetUsagePlans operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetUsagePlans method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetUsagePlans operation. pageNum := 0 err := client.GetUsagePlansPages(params, func(page *GetUsagePlansOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlansPagesWithContext

func (c *APIGateway) GetUsagePlansPagesWithContext(ctx aws.Context, input *GetUsagePlansInput, fn func(*GetUsagePlansOutput, bool) bool, opts ...request.Option) error

GetUsagePlansPagesWithContext same as GetUsagePlansPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlansRequest

func (c *APIGateway) GetUsagePlansRequest(input *GetUsagePlansInput) (req *request.Request, output *GetUsagePlansOutput)

GetUsagePlansRequest generates a "aws/request.Request" representing the client's request for the GetUsagePlans operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetUsagePlans for more information on using the GetUsagePlans API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetUsagePlansRequest method. req, resp := client.GetUsagePlansRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetUsagePlansWithContext

func (c *APIGateway) GetUsagePlansWithContext(ctx aws.Context, input *GetUsagePlansInput, opts ...request.Option) (*GetUsagePlansOutput, error)

GetUsagePlansWithContext is the same as GetUsagePlans with the addition of the ability to pass a context and additional request options.

See GetUsagePlans for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetUsageRequest

func (c *APIGateway) GetUsageRequest(input *GetUsageInput) (req *request.Request, output *Usage)

GetUsageRequest generates a "aws/request.Request" representing the client's request for the GetUsage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetUsage for more information on using the GetUsage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetUsageRequest method. req, resp := client.GetUsageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetUsageWithContext

func (c *APIGateway) GetUsageWithContext(ctx aws.Context, input *GetUsageInput, opts ...request.Option) (*Usage, error)

GetUsageWithContext is the same as GetUsage with the addition of the ability to pass a context and additional request options.

See GetUsage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

func (c *APIGateway) GetVpcLink(input *GetVpcLinkInput) (*UpdateVpcLinkOutput, error)

GetVpcLink API operation for Amazon API Gateway.

Gets a specified VPC link under the caller's account in a region.

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 Amazon API Gateway's API operation GetVpcLink for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetVpcLinkRequest

func (c *APIGateway) GetVpcLinkRequest(input *GetVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput)

GetVpcLinkRequest generates a "aws/request.Request" representing the client's request for the GetVpcLink operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetVpcLink for more information on using the GetVpcLink API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetVpcLinkRequest method. req, resp := client.GetVpcLinkRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetVpcLinkWithContext

func (c *APIGateway) GetVpcLinkWithContext(ctx aws.Context, input *GetVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error)

GetVpcLinkWithContext is the same as GetVpcLink with the addition of the ability to pass a context and additional request options.

See GetVpcLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

func (c *APIGateway) GetVpcLinks(input *GetVpcLinksInput) (*GetVpcLinksOutput, error)

GetVpcLinks API operation for Amazon API Gateway.

Gets the VpcLinks collection under the caller's account in a selected region.

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 Amazon API Gateway's API operation GetVpcLinks for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

GetVpcLinksPages

func (c *APIGateway) GetVpcLinksPages(input *GetVpcLinksInput, fn func(*GetVpcLinksOutput, bool) bool) error

GetVpcLinksPages iterates over the pages of a GetVpcLinks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetVpcLinks method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetVpcLinks operation. pageNum := 0 err := client.GetVpcLinksPages(params, func(page *GetVpcLinksOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetVpcLinksPagesWithContext

func (c *APIGateway) GetVpcLinksPagesWithContext(ctx aws.Context, input *GetVpcLinksInput, fn func(*GetVpcLinksOutput, bool) bool, opts ...request.Option) error

GetVpcLinksPagesWithContext same as GetVpcLinksPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetVpcLinksRequest

func (c *APIGateway) GetVpcLinksRequest(input *GetVpcLinksInput) (req *request.Request, output *GetVpcLinksOutput)

GetVpcLinksRequest generates a "aws/request.Request" representing the client's request for the GetVpcLinks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetVpcLinks for more information on using the GetVpcLinks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetVpcLinksRequest method. req, resp := client.GetVpcLinksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

GetVpcLinksWithContext

func (c *APIGateway) GetVpcLinksWithContext(ctx aws.Context, input *GetVpcLinksInput, opts ...request.Option) (*GetVpcLinksOutput, error)

GetVpcLinksWithContext is the same as GetVpcLinks with the addition of the ability to pass a context and additional request options.

See GetVpcLinks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ImportApiKeys

func (c *APIGateway) ImportApiKeys(input *ImportApiKeysInput) (*ImportApiKeysOutput, error)

ImportApiKeys API operation for Amazon API Gateway.

Import API keys from an external source, such as a CSV-formatted file.

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 Amazon API Gateway's API operation ImportApiKeys for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

ImportApiKeysRequest

func (c *APIGateway) ImportApiKeysRequest(input *ImportApiKeysInput) (req *request.Request, output *ImportApiKeysOutput)

ImportApiKeysRequest generates a "aws/request.Request" representing the client's request for the ImportApiKeys operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ImportApiKeys for more information on using the ImportApiKeys API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ImportApiKeysRequest method. req, resp := client.ImportApiKeysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

ImportApiKeysWithContext

func (c *APIGateway) ImportApiKeysWithContext(ctx aws.Context, input *ImportApiKeysInput, opts ...request.Option) (*ImportApiKeysOutput, error)

ImportApiKeysWithContext is the same as ImportApiKeys with the addition of the ability to pass a context and additional request options.

See ImportApiKeys for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ImportDocumentationParts

func (c *APIGateway) ImportDocumentationParts(input *ImportDocumentationPartsInput) (*ImportDocumentationPartsOutput, error)

ImportDocumentationParts API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation ImportDocumentationParts for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

ImportDocumentationPartsRequest

func (c *APIGateway) ImportDocumentationPartsRequest(input *ImportDocumentationPartsInput) (req *request.Request, output *ImportDocumentationPartsOutput)

ImportDocumentationPartsRequest generates a "aws/request.Request" representing the client's request for the ImportDocumentationParts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ImportDocumentationParts for more information on using the ImportDocumentationParts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ImportDocumentationPartsRequest method. req, resp := client.ImportDocumentationPartsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

ImportDocumentationPartsWithContext

func (c *APIGateway) ImportDocumentationPartsWithContext(ctx aws.Context, input *ImportDocumentationPartsInput, opts ...request.Option) (*ImportDocumentationPartsOutput, error)

ImportDocumentationPartsWithContext is the same as ImportDocumentationParts with the addition of the ability to pass a context and additional request options.

See ImportDocumentationParts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ImportRestApi

func (c *APIGateway) ImportRestApi(input *ImportRestApiInput) (*RestApi, error)

ImportRestApi API operation for Amazon API Gateway.

A feature of the API Gateway control service for creating a new API from an external API definition file.

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 Amazon API Gateway's API operation ImportRestApi for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

ImportRestApiRequest

func (c *APIGateway) ImportRestApiRequest(input *ImportRestApiInput) (req *request.Request, output *RestApi)

ImportRestApiRequest generates a "aws/request.Request" representing the client's request for the ImportRestApi operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ImportRestApi for more information on using the ImportRestApi API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ImportRestApiRequest method. req, resp := client.ImportRestApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

ImportRestApiWithContext

func (c *APIGateway) ImportRestApiWithContext(ctx aws.Context, input *ImportRestApiInput, opts ...request.Option) (*RestApi, error)

ImportRestApiWithContext is the same as ImportRestApi with the addition of the ability to pass a context and additional request options.

See ImportRestApi for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutGatewayResponse

func (c *APIGateway) PutGatewayResponse(input *PutGatewayResponseInput) (*UpdateGatewayResponseOutput, error)

PutGatewayResponse API operation for Amazon API Gateway.

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

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 Amazon API Gateway's API operation PutGatewayResponse for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

PutGatewayResponseRequest

func (c *APIGateway) PutGatewayResponseRequest(input *PutGatewayResponseInput) (req *request.Request, output *UpdateGatewayResponseOutput)

PutGatewayResponseRequest generates a "aws/request.Request" representing the client's request for the PutGatewayResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutGatewayResponse for more information on using the PutGatewayResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutGatewayResponseRequest method. req, resp := client.PutGatewayResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

PutGatewayResponseWithContext

func (c *APIGateway) PutGatewayResponseWithContext(ctx aws.Context, input *PutGatewayResponseInput, opts ...request.Option) (*UpdateGatewayResponseOutput, error)

PutGatewayResponseWithContext is the same as PutGatewayResponse with the addition of the ability to pass a context and additional request options.

See PutGatewayResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutIntegration

func (c *APIGateway) PutIntegration(input *PutIntegrationInput) (*Integration, error)

PutIntegration API operation for Amazon API Gateway.

Sets up a method's integration.

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 Amazon API Gateway's API operation PutIntegration for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

PutIntegrationRequest

func (c *APIGateway) PutIntegrationRequest(input *PutIntegrationInput) (req *request.Request, output *Integration)

PutIntegrationRequest generates a "aws/request.Request" representing the client's request for the PutIntegration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutIntegration for more information on using the PutIntegration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutIntegrationRequest method. req, resp := client.PutIntegrationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

PutIntegrationResponse

func (c *APIGateway) PutIntegrationResponse(input *PutIntegrationResponseInput) (*IntegrationResponse, error)

PutIntegrationResponse API operation for Amazon API Gateway.

Represents a put integration.

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 Amazon API Gateway's API operation PutIntegrationResponse for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

PutIntegrationResponseRequest

func (c *APIGateway) PutIntegrationResponseRequest(input *PutIntegrationResponseInput) (req *request.Request, output *IntegrationResponse)

PutIntegrationResponseRequest generates a "aws/request.Request" representing the client's request for the PutIntegrationResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutIntegrationResponse for more information on using the PutIntegrationResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutIntegrationResponseRequest method. req, resp := client.PutIntegrationResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

PutIntegrationResponseWithContext

func (c *APIGateway) PutIntegrationResponseWithContext(ctx aws.Context, input *PutIntegrationResponseInput, opts ...request.Option) (*IntegrationResponse, error)

PutIntegrationResponseWithContext is the same as PutIntegrationResponse with the addition of the ability to pass a context and additional request options.

See PutIntegrationResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutIntegrationWithContext

func (c *APIGateway) PutIntegrationWithContext(ctx aws.Context, input *PutIntegrationInput, opts ...request.Option) (*Integration, error)

PutIntegrationWithContext is the same as PutIntegration with the addition of the ability to pass a context and additional request options.

See PutIntegration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutMethod

func (c *APIGateway) PutMethod(input *PutMethodInput) (*Method, error)

PutMethod API operation for Amazon API Gateway.

Add a method to an existing Resource 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 Amazon API Gateway's API operation PutMethod for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

PutMethodRequest

func (c *APIGateway) PutMethodRequest(input *PutMethodInput) (req *request.Request, output *Method)

PutMethodRequest generates a "aws/request.Request" representing the client's request for the PutMethod operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutMethod for more information on using the PutMethod API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutMethodRequest method. req, resp := client.PutMethodRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

PutMethodResponse

func (c *APIGateway) PutMethodResponse(input *PutMethodResponseInput) (*MethodResponse, error)

PutMethodResponse API operation for Amazon API Gateway.

Adds a MethodResponse to an existing Method 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 Amazon API Gateway's API operation PutMethodResponse for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

PutMethodResponseRequest

func (c *APIGateway) PutMethodResponseRequest(input *PutMethodResponseInput) (req *request.Request, output *MethodResponse)

PutMethodResponseRequest generates a "aws/request.Request" representing the client's request for the PutMethodResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutMethodResponse for more information on using the PutMethodResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutMethodResponseRequest method. req, resp := client.PutMethodResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

PutMethodResponseWithContext

func (c *APIGateway) PutMethodResponseWithContext(ctx aws.Context, input *PutMethodResponseInput, opts ...request.Option) (*MethodResponse, error)

PutMethodResponseWithContext is the same as PutMethodResponse with the addition of the ability to pass a context and additional request options.

See PutMethodResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutMethodWithContext

func (c *APIGateway) PutMethodWithContext(ctx aws.Context, input *PutMethodInput, opts ...request.Option) (*Method, error)

PutMethodWithContext is the same as PutMethod with the addition of the ability to pass a context and additional request options.

See PutMethod for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutRestApi

func (c *APIGateway) PutRestApi(input *PutRestApiInput) (*RestApi, error)

PutRestApi API operation for Amazon API Gateway.

A feature of the API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.

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 Amazon API Gateway's API operation PutRestApi for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

PutRestApiRequest

func (c *APIGateway) PutRestApiRequest(input *PutRestApiInput) (req *request.Request, output *RestApi)

PutRestApiRequest generates a "aws/request.Request" representing the client's request for the PutRestApi operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutRestApi for more information on using the PutRestApi API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutRestApiRequest method. req, resp := client.PutRestApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

PutRestApiWithContext

func (c *APIGateway) PutRestApiWithContext(ctx aws.Context, input *PutRestApiInput, opts ...request.Option) (*RestApi, error)

PutRestApiWithContext is the same as PutRestApi with the addition of the ability to pass a context and additional request options.

See PutRestApi for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

TagResource

func (c *APIGateway) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon API Gateway.

Adds or updates a tag on a given 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 Amazon API Gateway's API operation TagResource for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

TagResourceRequest

func (c *APIGateway) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

TagResourceWithContext

func (c *APIGateway) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

TestInvokeAuthorizer

func (c *APIGateway) TestInvokeAuthorizer(input *TestInvokeAuthorizerInput) (*TestInvokeAuthorizerOutput, error)

TestInvokeAuthorizer API operation for Amazon API Gateway.

Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.

Enable custom authorizers (https://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html)

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 Amazon API Gateway's API operation TestInvokeAuthorizer for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

TestInvokeAuthorizerRequest

func (c *APIGateway) TestInvokeAuthorizerRequest(input *TestInvokeAuthorizerInput) (req *request.Request, output *TestInvokeAuthorizerOutput)

TestInvokeAuthorizerRequest generates a "aws/request.Request" representing the client's request for the TestInvokeAuthorizer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TestInvokeAuthorizer for more information on using the TestInvokeAuthorizer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TestInvokeAuthorizerRequest method. req, resp := client.TestInvokeAuthorizerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

TestInvokeAuthorizerWithContext

func (c *APIGateway) TestInvokeAuthorizerWithContext(ctx aws.Context, input *TestInvokeAuthorizerInput, opts ...request.Option) (*TestInvokeAuthorizerOutput, error)

TestInvokeAuthorizerWithContext is the same as TestInvokeAuthorizer with the addition of the ability to pass a context and additional request options.

See TestInvokeAuthorizer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

TestInvokeMethod

func (c *APIGateway) TestInvokeMethod(input *TestInvokeMethodInput) (*TestInvokeMethodOutput, error)

TestInvokeMethod API operation for Amazon API Gateway.

Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.

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 Amazon API Gateway's API operation TestInvokeMethod for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

TestInvokeMethodRequest

func (c *APIGateway) TestInvokeMethodRequest(input *TestInvokeMethodInput) (req *request.Request, output *TestInvokeMethodOutput)

TestInvokeMethodRequest generates a "aws/request.Request" representing the client's request for the TestInvokeMethod operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TestInvokeMethod for more information on using the TestInvokeMethod API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TestInvokeMethodRequest method. req, resp := client.TestInvokeMethodRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

TestInvokeMethodWithContext

func (c *APIGateway) TestInvokeMethodWithContext(ctx aws.Context, input *TestInvokeMethodInput, opts ...request.Option) (*TestInvokeMethodOutput, error)

TestInvokeMethodWithContext is the same as TestInvokeMethod with the addition of the ability to pass a context and additional request options.

See TestInvokeMethod for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UntagResource

func (c *APIGateway) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon API Gateway.

Removes a tag from a given 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 Amazon API Gateway's API operation UntagResource for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

UntagResourceRequest

func (c *APIGateway) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

UntagResourceWithContext

func (c *APIGateway) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateAccount

func (c *APIGateway) UpdateAccount(input *UpdateAccountInput) (*Account, error)

UpdateAccount API operation for Amazon API Gateway.

Changes information about the current Account 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 Amazon API Gateway's API operation UpdateAccount for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

UpdateAccountRequest

func (c *APIGateway) UpdateAccountRequest(input *UpdateAccountInput) (req *request.Request, output *Account)

UpdateAccountRequest generates a "aws/request.Request" representing the client's request for the UpdateAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateAccount for more information on using the UpdateAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateAccountRequest method. req, resp := client.UpdateAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

UpdateAccountWithContext

func (c *APIGateway) UpdateAccountWithContext(ctx aws.Context, input *UpdateAccountInput, opts ...request.Option) (*Account, error)

UpdateAccountWithContext is the same as UpdateAccount with the addition of the ability to pass a context and additional request options.

See UpdateAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateApiKey

func (c *APIGateway) UpdateApiKey(input *UpdateApiKeyInput) (*ApiKey, error)

UpdateApiKey API operation for Amazon API Gateway.

Changes information about an ApiKey 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 Amazon API Gateway's API operation UpdateApiKey for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

See Also

For more information about using this API, see AWS API Documentation.

UpdateApiKeyRequest

func (c *APIGateway) UpdateApiKeyRequest(input *UpdateApiKeyInput) (req *request.Request, output *ApiKey)

UpdateApiKeyRequest generates a "aws/request.Request" representing the client's request for the UpdateApiKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApiKey for more information on using the UpdateApiKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateApiKeyRequest method. req, resp := client.UpdateApiKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

UpdateApiKeyWithContext

func (c *APIGateway) UpdateApiKeyWithContext(ctx aws.Context, input *UpdateApiKeyInput, opts ...request.Option) (*ApiKey, error)

UpdateApiKeyWithContext is the same as UpdateApiKey with the addition of the ability to pass a context and additional request options.

See UpdateApiKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateAuthorizer

func (c *APIGateway) UpdateAuthorizer(input *UpdateAuthorizerInput) (*Authorizer, error)

UpdateAuthorizer API operation for Amazon API Gateway.

Updates an existing Authorizer resource.

AWS CLI (https://docs.aws.amazon.com/cli/latest/reference/apigateway/update-authorizer.html)

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 Amazon API Gateway's API operation UpdateAuthorizer for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

UpdateAuthorizerRequest

func (c *APIGateway) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (req *request.Request, output *Authorizer)

UpdateAuthorizerRequest generates a "aws/request.Request" representing the client's request for the UpdateAuthorizer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateAuthorizer for more information on using the UpdateAuthorizer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateAuthorizerRequest method. req, resp := client.UpdateAuthorizerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

UpdateAuthorizerWithContext

func (c *APIGateway) UpdateAuthorizerWithContext(ctx aws.Context, input *UpdateAuthorizerInput, opts ...request.Option) (*Authorizer, error)

UpdateAuthorizerWithContext is the same as UpdateAuthorizer with the addition of the ability to pass a context and additional request options.

See UpdateAuthorizer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateBasePathMapping

func (c *APIGateway) UpdateBasePathMapping(input *UpdateBasePathMappingInput) (*BasePathMapping, error)

UpdateBasePathMapping API operation for Amazon API Gateway.

Changes information about the BasePathMapping 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 Amazon API Gateway's API operation UpdateBasePathMapping for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

UpdateBasePathMappingRequest

func (c *APIGateway) UpdateBasePathMappingRequest(input *UpdateBasePathMappingInput) (req *request.Request, output *BasePathMapping)

UpdateBasePathMappingRequest generates a "aws/request.Request" representing the client's request for the UpdateBasePathMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateBasePathMapping for more information on using the UpdateBasePathMapping API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateBasePathMappingRequest method. req, resp := client.UpdateBasePathMappingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

UpdateBasePathMappingWithContext

func (c *APIGateway) UpdateBasePathMappingWithContext(ctx aws.Context, input *UpdateBasePathMappingInput, opts ...request.Option) (*BasePathMapping, error)

UpdateBasePathMappingWithContext is the same as UpdateBasePathMapping with the addition of the ability to pass a context and additional request options.

See UpdateBasePathMapping for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateClientCertificate

func (c *APIGateway) UpdateClientCertificate(input *UpdateClientCertificateInput) (*ClientCertificate, error)

UpdateClientCertificate API operation for Amazon API Gateway.

Changes information about an ClientCertificate 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 Amazon API Gateway's API operation UpdateClientCertificate for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

See Also

For more information about using this API, see AWS API Documentation.

UpdateClientCertificateRequest

func (c *APIGateway) UpdateClientCertificateRequest(input *UpdateClientCertificateInput) (req *request.Request, output *ClientCertificate)

UpdateClientCertificateRequest generates a "aws/request.Request" representing the client's request for the UpdateClientCertificate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateClientCertificate for more information on using the UpdateClientCertificate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateClientCertificateRequest method. req, resp := client.UpdateClientCertificateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

UpdateClientCertificateWithContext

func (c *APIGateway) UpdateClientCertificateWithContext(ctx aws.Context, input *UpdateClientCertificateInput, opts ...request.Option) (*ClientCertificate, error)

UpdateClientCertificateWithContext is the same as UpdateClientCertificate with the addition of the ability to pass a context and additional request options.

See UpdateClientCertificate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateDeployment

func (c *APIGateway) UpdateDeployment(input *UpdateDeploymentInput) (*Deployment, error)

UpdateDeployment API operation for Amazon API Gateway.

Changes information about a Deployment 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 Amazon API Gateway's API operation UpdateDeployment for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The requested service is not available. For details see the accompanying error message. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

UpdateDeploymentRequest

func (c *APIGateway) UpdateDeploymentRequest(input *UpdateDeploymentInput) (req *request.Request, output *Deployment)

UpdateDeploymentRequest generates a "aws/request.Request" representing the client's request for the UpdateDeployment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDeployment for more information on using the UpdateDeployment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDeploymentRequest method. req, resp := client.UpdateDeploymentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

UpdateDeploymentWithContext

func (c *APIGateway) UpdateDeploymentWithContext(ctx aws.Context, input *UpdateDeploymentInput, opts ...request.Option) (*Deployment, error)

UpdateDeploymentWithContext is the same as UpdateDeployment with the addition of the ability to pass a context and additional request options.

See UpdateDeployment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateDocumentationPart

func (c *APIGateway) UpdateDocumentationPart(input *UpdateDocumentationPartInput) (*DocumentationPart, error)

UpdateDocumentationPart API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation UpdateDocumentationPart for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded the rate limit. Retry after the specified time period.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

UpdateDocumentationPartRequest

func (c *APIGateway) UpdateDocumentationPartRequest(input *UpdateDocumentationPartInput) (req *request.Request, output *DocumentationPart)

UpdateDocumentationPartRequest generates a "aws/request.Request" representing the client's request for the UpdateDocumentationPart operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDocumentationPart for more information on using the UpdateDocumentationPart API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDocumentationPartRequest method. req, resp := client.UpdateDocumentationPartRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

UpdateDocumentationPartWithContext

func (c *APIGateway) UpdateDocumentationPartWithContext(ctx aws.Context, input *UpdateDocumentationPartInput, opts ...request.Option) (*DocumentationPart, error)

UpdateDocumentationPartWithContext is the same as UpdateDocumentationPart with the addition of the ability to pass a context and additional request options.

See UpdateDocumentationPart for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateDocumentationVersion

func (c *APIGateway) UpdateDocumentationVersion(input *UpdateDocumentationVersionInput) (*DocumentationVersion, error)

UpdateDocumentationVersion API operation for Amazon API Gateway.

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 Amazon API Gateway's API operation UpdateDocumentationVersion for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedException "UnauthorizedException" The request is denied because the caller has insufficient permissions.

  • ErrCodeNotFoundException "NotFoundException" The requested resource is not found. Make sure that the request URI is correct.

  • ErrCodeConflictException "ConflictException" The request configuration has conflicts. For details, see the accompanying error message.

  • ErrCodeBadRequestException "BadRequestException" The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The request has reached its throttling limit. Retry after the specified time period.

See Also

For more information about using this API, see AWS API Documentation.

UpdateDocumentationVersionRequest

func (c *APIGateway) UpdateDocumentationVersionRequest(input *UpdateDocumentationVersionInput) (req *request.Request, output *DocumentationVersion)

UpdateDocumentationVersionRequest generates a "aws/request.Request" representing the client's request for the UpdateDocumentationVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDocumentationVersion for more information on using the UpdateDocumentationVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDocumentationVersionRequest method. req, resp := client.UpdateDocumentationVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See Also

For more information about using this API, see AWS API Documentation.

UpdateDocumentationVersionWithContext

func (c *APIGateway) UpdateDocumentationVersionWithContext(ctx aws.Context, input *UpdateDocumentationVersionInput, opts ...request.Option) (*DocumentationVersion, error)

UpdateDocumentationVersionWithContext is the same as UpdateDocumentationVersion with the addition of the ability to pass a context and additional request options.

See UpdateDocumentationVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateDomainName

func (c *APIGateway) UpdateDomainName(input *UpdateDomainNameInput) (*DomainName, error)

UpdateDomainName API operation for Amazon API Gateway.

Changes information about the DomainName resource.

Returns awserr.Error for service API and SDK