...
AWS SDK for Go API Reference
We announced the upcoming end-of-support for AWS SDK for Go (v1). We recommend that you migrate to AWS SDK for Go v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
import "github.com/aws/aws-sdk-go/service/apigateway"
Overview
Constants

Overview ▾

Package apigateway provides the client and types for making API requests to Amazon API Gateway.

Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.

See apigateway package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/apigateway/

Using the Client

To contact Amazon API Gateway with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon API Gateway client APIGateway for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/apigateway/#New

The stub package, apigatewayiface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Operations ▾

CreateApiKey
CreateAuthorizer
CreateBasePathMapping
CreateDeployment
CreateDocumentationPart
CreateDocumentationVersion
CreateDomainName
CreateModel
CreateRequestValidator
CreateResource
CreateRestApi
CreateStage
CreateUsagePlan
CreateUsagePlanKey
CreateVpcLink
DeleteApiKey
DeleteAuthorizer
DeleteBasePathMapping
DeleteClientCertificate
DeleteDeployment
DeleteDocumentationPart
DeleteDocumentationVersion
DeleteDomainName
DeleteGatewayResponse
DeleteIntegration
DeleteIntegrationResponse
DeleteMethod
DeleteMethodResponse
DeleteModel
DeleteRequestValidator
DeleteResource
DeleteRestApi
DeleteStage
DeleteUsagePlan
DeleteUsagePlanKey
DeleteVpcLink
FlushStageAuthorizersCache
FlushStageCache
GenerateClientCertificate
GetAccount
GetApiKey
GetApiKeys ( Paginator )
GetAuthorizer
GetAuthorizers
GetBasePathMapping
GetBasePathMappings ( Paginator )
GetClientCertificate
GetClientCertificates ( Paginator )
GetDeployment
GetDeployments ( Paginator )
GetDocumentationPart
GetDocumentationParts
GetDocumentationVersion
GetDocumentationVersions
GetDomainName
GetDomainNames ( Paginator )
GetExport
GetGatewayResponse
GetGatewayResponses
GetIntegration
GetIntegrationResponse
GetMethod
GetMethodResponse
GetModel
GetModelTemplate
GetModels ( Paginator )
GetRequestValidator
GetRequestValidators
GetResource
GetResources ( Paginator )
GetRestApi
GetRestApis ( Paginator )
GetSdk
GetSdkType
GetSdkTypes
GetStage
GetStages
GetTags
GetUsage ( Paginator )
GetUsagePlan
GetUsagePlanKey
GetUsagePlanKeys ( Paginator )
GetUsagePlans ( Paginator )
GetVpcLink
GetVpcLinks ( Paginator )
ImportApiKeys
ImportDocumentationParts
ImportRestApi
PutGatewayResponse
PutIntegration
PutIntegrationResponse
PutMethod
PutMethodResponse
PutRestApi
TagResource
TestInvokeAuthorizer
TestInvokeMethod
UntagResource
UpdateAccount
UpdateApiKey
UpdateAuthorizer
UpdateBasePathMapping
UpdateClientCertificate
UpdateDeployment
UpdateDocumentationPart
UpdateDocumentationVersion
UpdateDomainName
UpdateGatewayResponse
UpdateIntegration
UpdateIntegrationResponse
UpdateMethod
UpdateMethodResponse
UpdateModel
UpdateRequestValidator
UpdateResource
UpdateRestApi
UpdateStage
UpdateUsage
UpdateUsagePlan
UpdateVpcLink

Types ▾

type APIGateway
func New(p client.ConfigProvider, cfgs ...*aws.Config) *APIGateway
func (c *APIGateway) CreateApiKey(input *CreateApiKeyInput) (*ApiKey, error)
func (c *APIGateway) CreateApiKeyRequest(input *CreateApiKeyInput) (req *request.Request, output *ApiKey)
func (c *APIGateway) CreateApiKeyWithContext(ctx aws.Context, input *CreateApiKeyInput, opts ...request.Option) (*ApiKey, error)
func (c *APIGateway) CreateAuthorizer(input *CreateAuthorizerInput) (*Authorizer, error)
func (c *APIGateway) CreateAuthorizerRequest(input *CreateAuthorizerInput) (req *request.Request, output *Authorizer)
func (c *APIGateway) CreateAuthorizerWithContext(ctx aws.Context, input *CreateAuthorizerInput, opts ...request.Option) (*Authorizer, error)
func (c *APIGateway) CreateBasePathMapping(input *CreateBasePathMappingInput) (*BasePathMapping, error)
func (c *APIGateway) CreateBasePathMappingRequest(input *CreateBasePathMappingInput) (req *request.Request, output *BasePathMapping)
func (c *APIGateway) CreateBasePathMappingWithContext(ctx aws.Context, input *CreateBasePathMappingInput, opts ...request.Option) (*BasePathMapping, error)
func (c *APIGateway) CreateDeployment(input *CreateDeploymentInput) (*Deployment, error)
func (c *APIGateway) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *Deployment)
func (c *APIGateway) CreateDeploymentWithContext(ctx aws.Context, input *CreateDeploymentInput, opts ...request.Option) (*Deployment, error)
func (c *APIGateway) CreateDocumentationPart(input *CreateDocumentationPartInput) (*DocumentationPart, error)
func (c *APIGateway) CreateDocumentationPartRequest(input *CreateDocumentationPartInput) (req *request.Request, output *DocumentationPart)
func (c *APIGateway) CreateDocumentationPartWithContext(ctx aws.Context, input *CreateDocumentationPartInput, opts ...request.Option) (*DocumentationPart, error)
func (c *APIGateway) CreateDocumentationVersion(input *CreateDocumentationVersionInput) (*DocumentationVersion, error)
func (c *APIGateway) CreateDocumentationVersionRequest(input *CreateDocumentationVersionInput) (req *request.Request, output *DocumentationVersion)
func (c *APIGateway) CreateDocumentationVersionWithContext(ctx aws.Context, input *CreateDocumentationVersionInput, opts ...request.Option) (*DocumentationVersion, error)
func (c *APIGateway) CreateDomainName(input *CreateDomainNameInput) (*DomainName, error)
func (c *APIGateway) CreateDomainNameRequest(input *CreateDomainNameInput) (req *request.Request, output *DomainName)
func (c *APIGateway) CreateDomainNameWithContext(ctx aws.Context, input *CreateDomainNameInput, opts ...request.Option) (*DomainName, error)
func (c *APIGateway) CreateModel(input *CreateModelInput) (*Model, error)
func (c *APIGateway) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *Model)
func (c *APIGateway) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*Model, error)
func (c *APIGateway) CreateRequestValidator(input *CreateRequestValidatorInput) (*UpdateRequestValidatorOutput, error)
func (c *APIGateway) CreateRequestValidatorRequest(input *CreateRequestValidatorInput) (req *request.Request, output *UpdateRequestValidatorOutput)
func (c *APIGateway) CreateRequestValidatorWithContext(ctx aws.Context, input *CreateRequestValidatorInput, opts ...request.Option) (*UpdateRequestValidatorOutput, error)
func (c *APIGateway) CreateResource(input *CreateResourceInput) (*Resource, error)
func (c *APIGateway) CreateResourceRequest(input *CreateResourceInput) (req *request.Request, output *Resource)
func (c *APIGateway) CreateResourceWithContext(ctx aws.Context, input *CreateResourceInput, opts ...request.Option) (*Resource, error)
func (c *APIGateway) CreateRestApi(input *CreateRestApiInput) (*RestApi, error)
func (c *APIGateway) CreateRestApiRequest(input *CreateRestApiInput) (req *request.Request, output *RestApi)
func (c *APIGateway) CreateRestApiWithContext(ctx aws.Context, input *CreateRestApiInput, opts ...request.Option) (*RestApi, error)
func (c *APIGateway) CreateStage(input *CreateStageInput) (*Stage, error)
func (c *APIGateway) CreateStageRequest(input *CreateStageInput) (req *request.Request, output *Stage)
func (c *APIGateway) CreateStageWithContext(ctx aws.Context, input *CreateStageInput, opts ...request.Option) (*Stage, error)
func (c *APIGateway) CreateUsagePlan(input *CreateUsagePlanInput) (*UsagePlan, error)
func (c *APIGateway) CreateUsagePlanKey(input *CreateUsagePlanKeyInput) (*UsagePlanKey, error)
func (c *APIGateway) CreateUsagePlanKeyRequest(input *CreateUsagePlanKeyInput) (req *request.Request, output *UsagePlanKey)
func (c *APIGateway) CreateUsagePlanKeyWithContext(ctx aws.Context, input *CreateUsagePlanKeyInput, opts ...request.Option) (*UsagePlanKey, error)
func (c *APIGateway) CreateUsagePlanRequest(input *CreateUsagePlanInput) (req *request.Request, output *UsagePlan)
func (c *APIGateway) CreateUsagePlanWithContext(ctx aws.Context, input *CreateUsagePlanInput, opts ...request.Option) (*UsagePlan, error)
func (c *APIGateway) CreateVpcLink(input *CreateVpcLinkInput) (*UpdateVpcLinkOutput, error)
func (c *APIGateway) CreateVpcLinkRequest(input *CreateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput)
func (c *APIGateway) CreateVpcLinkWithContext(ctx aws.Context, input *CreateVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error)
func (c *APIGateway) DeleteApiKey(input *DeleteApiKeyInput) (*DeleteApiKeyOutput, error)
func (c *APIGateway) DeleteApiKeyRequest(input *DeleteApiKeyInput) (req *request.Request, output *DeleteApiKeyOutput)
func (c *APIGateway) DeleteApiKeyWithContext(ctx aws.Context, input *DeleteApiKeyInput, opts ...request.Option) (*DeleteApiKeyOutput, error)
func (c *APIGateway) DeleteAuthorizer(input *DeleteAuthorizerInput) (*DeleteAuthorizerOutput, error)
func (c *APIGateway) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) (req *request.Request, output *DeleteAuthorizerOutput)
func (c *APIGateway) DeleteAuthorizerWithContext(ctx aws.Context, input *DeleteAuthorizerInput, opts ...request.Option) (*DeleteAuthorizerOutput, error)
func (c *APIGateway) DeleteBasePathMapping(input *DeleteBasePathMappingInput) (*DeleteBasePathMappingOutput, error)
func (c *APIGateway) DeleteBasePathMappingRequest(input *DeleteBasePathMappingInput) (req *request.Request, output *DeleteBasePathMappingOutput)
func (c *APIGateway) DeleteBasePathMappingWithContext(ctx aws.Context, input *DeleteBasePathMappingInput, opts ...request.Option) (*DeleteBasePathMappingOutput, error)
func (c *APIGateway) DeleteClientCertificate(input *DeleteClientCertificateInput) (*DeleteClientCertificateOutput, error)
func (c *APIGateway) DeleteClientCertificateRequest(input *DeleteClientCertificateInput) (req *request.Request, output *DeleteClientCertificateOutput)
func (c *APIGateway) DeleteClientCertificateWithContext(ctx aws.Context, input *DeleteClientCertificateInput, opts ...request.Option) (*DeleteClientCertificateOutput, error)
func (c *APIGateway) DeleteDeployment(input *DeleteDeploymentInput) (*DeleteDeploymentOutput, error)
func (c *APIGateway) DeleteDeploymentRequest(input *DeleteDeploymentInput) (req *request.Request, output *DeleteDeploymentOutput)
func (c *APIGateway) DeleteDeploymentWithContext(ctx aws.Context, input *DeleteDeploymentInput, opts ...request.Option) (*DeleteDeploymentOutput, error)
func (c *APIGateway) DeleteDocumentationPart(input *DeleteDocumentationPartInput) (*DeleteDocumentationPartOutput, error)
func (c *APIGateway) DeleteDocumentationPartRequest(input *DeleteDocumentationPartInput) (req *request.Request, output *DeleteDocumentationPartOutput)
func (c *APIGateway) DeleteDocumentationPartWithContext(ctx aws.Context, input *DeleteDocumentationPartInput, opts ...request.Option) (*DeleteDocumentationPartOutput, error)
func (c *APIGateway) DeleteDocumentationVersion(input *DeleteDocumentationVersionInput) (*DeleteDocumentationVersionOutput, error)
func (c *APIGateway) DeleteDocumentationVersionRequest(input *DeleteDocumentationVersionInput) (req *request.Request, output *DeleteDocumentationVersionOutput)
func (c *APIGateway) DeleteDocumentationVersionWithContext(ctx aws.Context, input *DeleteDocumentationVersionInput, opts ...request.Option) (*DeleteDocumentationVersionOutput, error)
func (c *APIGateway) DeleteDomainName(input *DeleteDomainNameInput) (*DeleteDomainNameOutput, error)
func (c *APIGateway) DeleteDomainNameRequest(input *DeleteDomainNameInput) (req *request.Request, output *DeleteDomainNameOutput)
func (c *APIGateway) DeleteDomainNameWithContext(ctx aws.Context, input *DeleteDomainNameInput, opts ...request.Option) (*DeleteDomainNameOutput, error)
func (c *APIGateway) DeleteGatewayResponse(input *DeleteGatewayResponseInput) (*DeleteGatewayResponseOutput, error)
func (c *APIGateway) DeleteGatewayResponseRequest(input *DeleteGatewayResponseInput) (req *request.Request, output *DeleteGatewayResponseOutput)
func (c *APIGateway) DeleteGatewayResponseWithContext(ctx aws.Context, input *DeleteGatewayResponseInput, opts ...request.Option) (*DeleteGatewayResponseOutput, error)
func (c *APIGateway) DeleteIntegration(input *DeleteIntegrationInput) (*DeleteIntegrationOutput, error)
func (c *APIGateway) DeleteIntegrationRequest(input *DeleteIntegrationInput) (req *request.Request, output *DeleteIntegrationOutput)
func (c *APIGateway) DeleteIntegrationResponse(input *DeleteIntegrationResponseInput) (*DeleteIntegrationResponseOutput, error)
func (c *APIGateway) DeleteIntegrationResponseRequest(input *DeleteIntegrationResponseInput) (req *request.Request, output *DeleteIntegrationResponseOutput)
func (c *APIGateway) DeleteIntegrationResponseWithContext(ctx aws.Context, input *DeleteIntegrationResponseInput, opts ...request.Option) (*DeleteIntegrationResponseOutput, error)
func (c *APIGateway) DeleteIntegrationWithContext(ctx aws.Context, input *DeleteIntegrationInput, opts ...request.Option) (*DeleteIntegrationOutput, error)
func (c *APIGateway) DeleteMethod(input *DeleteMethodInput) (*DeleteMethodOutput, error)
func (c *APIGateway) DeleteMethodRequest(input *DeleteMethodInput) (req *request.Request, output *DeleteMethodOutput)
func (c *APIGateway) DeleteMethodResponse(input *DeleteMethodResponseInput) (*DeleteMethodResponseOutput, error)
func (c *APIGateway) DeleteMethodResponseRequest(input *DeleteMethodResponseInput) (req *request.Request, output *DeleteMethodResponseOutput)
func (c *APIGateway) DeleteMethodResponseWithContext(ctx aws.Context, input *DeleteMethodResponseInput, opts ...request.Option) (*DeleteMethodResponseOutput, error)
func (c *APIGateway) DeleteMethodWithContext(ctx aws.Context, input *DeleteMethodInput, opts ...request.Option) (*DeleteMethodOutput, error)
func (c *APIGateway) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error)
func (c *APIGateway) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput)
func (c *APIGateway) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error)
func (c *APIGateway) DeleteRequestValidator(input *DeleteRequestValidatorInput) (*DeleteRequestValidatorOutput, error)
func (c *APIGateway) DeleteRequestValidatorRequest(input *DeleteRequestValidatorInput) (req *request.Request, output *DeleteRequestValidatorOutput)
func (c *APIGateway) DeleteRequestValidatorWithContext(ctx aws.Context, input *DeleteRequestValidatorInput, opts ...request.Option) (*DeleteRequestValidatorOutput, error)
func (c *APIGateway) DeleteResource(input *DeleteResourceInput) (*DeleteResourceOutput, error)
func (c *APIGateway) DeleteResourceRequest(input *DeleteResourceInput) (req *request.Request, output *DeleteResourceOutput)
func (c *APIGateway) DeleteResourceWithContext(ctx aws.Context, input *DeleteResourceInput, opts ...request.Option) (*DeleteResourceOutput, error)
func (c *APIGateway) DeleteRestApi(input *DeleteRestApiInput) (*DeleteRestApiOutput, error)
func (c *APIGateway) DeleteRestApiRequest(input *DeleteRestApiInput) (req *request.Request, output *DeleteRestApiOutput)
func (c *APIGateway) DeleteRestApiWithContext(ctx aws.Context, input *DeleteRestApiInput, opts ...request.Option) (*DeleteRestApiOutput, error)
func (c *APIGateway) DeleteStage(input *DeleteStageInput) (*DeleteStageOutput, error)
func (c *APIGateway) DeleteStageRequest(input *DeleteStageInput) (req *request.Request, output *DeleteStageOutput)
func (c *APIGateway) DeleteStageWithContext(ctx aws.Context, input *DeleteStageInput, opts ...request.Option) (*DeleteStageOutput, error)
func (c *APIGateway) DeleteUsagePlan(input *DeleteUsagePlanInput) (*DeleteUsagePlanOutput, error)
func (c *APIGateway) DeleteUsagePlanKey(input *DeleteUsagePlanKeyInput) (*DeleteUsagePlanKeyOutput, error)
func (c *APIGateway) DeleteUsagePlanKeyRequest(input *DeleteUsagePlanKeyInput) (req *request.Request, output *DeleteUsagePlanKeyOutput)
func (c *APIGateway) DeleteUsagePlanKeyWithContext(ctx aws.Context, input *DeleteUsagePlanKeyInput, opts ...request.Option) (*DeleteUsagePlanKeyOutput, error)
func (c *APIGateway) DeleteUsagePlanRequest(input *DeleteUsagePlanInput) (req *request.Request, output *DeleteUsagePlanOutput)
func (c *APIGateway) DeleteUsagePlanWithContext(ctx aws.Context, input *DeleteUsagePlanInput, opts ...request.Option) (*DeleteUsagePlanOutput, error)
func (c *APIGateway) DeleteVpcLink(input *DeleteVpcLinkInput) (*DeleteVpcLinkOutput, error)
func (c *APIGateway) DeleteVpcLinkRequest(input *DeleteVpcLinkInput) (req *request.Request, output *DeleteVpcLinkOutput)
func (c *APIGateway) DeleteVpcLinkWithContext(ctx aws.Context, input *DeleteVpcLinkInput, opts ...request.Option) (*DeleteVpcLinkOutput, error)
func (c *APIGateway) FlushStageAuthorizersCache(input *FlushStageAuthorizersCacheInput) (*FlushStageAuthorizersCacheOutput, error)
func (c *APIGateway) FlushStageAuthorizersCacheRequest(input *FlushStageAuthorizersCacheInput) (req *request.Request, output *FlushStageAuthorizersCacheOutput)
func (c *APIGateway) FlushStageAuthorizersCacheWithContext(ctx aws.Context, input *FlushStageAuthorizersCacheInput, opts ...request.Option) (*FlushStageAuthorizersCacheOutput, error)
func (c *APIGateway) FlushStageCache(input *FlushStageCacheInput) (*FlushStageCacheOutput, error)
func (c *APIGateway) FlushStageCacheRequest(input *FlushStageCacheInput) (req *request.Request, output *FlushStageCacheOutput)
func (c *APIGateway) FlushStageCacheWithContext(ctx aws.Context, input *FlushStageCacheInput, opts ...request.Option) (*FlushStageCacheOutput, error)
func (c *APIGateway) GenerateClientCertificate(input *GenerateClientCertificateInput) (*ClientCertificate, error)
func (c *APIGateway) GenerateClientCertificateRequest(input *GenerateClientCertificateInput) (req *request.Request, output *ClientCertificate)
func (c *APIGateway) GenerateClientCertificateWithContext(ctx aws.Context, input *GenerateClientCertificateInput, opts ...request.Option) (*ClientCertificate, error)
func (c *APIGateway) GetAccount(input *GetAccountInput) (*Account, error)
func (c *APIGateway) GetAccountRequest(input *GetAccountInput) (req *request.Request, output *Account)
func (c *APIGateway) GetAccountWithContext(ctx aws.Context, input *GetAccountInput, opts ...request.Option) (*Account, error)
func (c *APIGateway) GetApiKey(input *GetApiKeyInput) (*ApiKey, error)
func (c *APIGateway) GetApiKeyRequest(input *GetApiKeyInput) (req *request.Request, output *ApiKey)
func (c *APIGateway) GetApiKeyWithContext(ctx aws.Context, input *GetApiKeyInput, opts ...request.Option) (*ApiKey, error)
func (c *APIGateway) GetApiKeys(input *GetApiKeysInput) (*GetApiKeysOutput, error)
func (c *APIGateway) GetApiKeysPages(input *GetApiKeysInput, fn func(*GetApiKeysOutput, bool) bool) error
func (c *APIGateway) GetApiKeysPagesWithContext(ctx aws.Context, input *GetApiKeysInput, fn func(*GetApiKeysOutput, bool) bool, opts ...request.Option) error
func (c *APIGateway) GetApiKeysRequest(input *GetApiKeysInput) (req *request.Request, output *GetApiKeysOutput)
func (c *APIGateway) GetApiKeysWithContext(ctx aws.Context, input *GetApiKeysInput, opts ...request.Option) (*GetApiKeysOutput, error)
func (c *APIGateway) GetAuthorizer(input *GetAuthorizerInput) (*Authorizer, error)
func (c *APIGateway) GetAuthorizerRequest(input *GetAuthorizerInput) (req *request.Request, output *Authorizer)
func (c *APIGateway) GetAuthorizerWithContext(ctx aws.Context, input *GetAuthorizerInput, opts ...request.Option) (*Authorizer, error)
func (c *APIGateway) GetAuthorizers(input *GetAuthorizersInput) (*GetAuthorizersOutput, error)
func (c *APIGateway) GetAuthorizersRequest(input *GetAuthorizersInput) (req *request.Request, output *GetAuthorizersOutput)
func (c *APIGateway) GetAuthorizersWithContext(ctx aws.Context, input *GetAuthorizersInput, opts ...request.Option) (*GetAuthorizersOutput, error)
func (c *APIGateway) GetBasePathMapping(input *GetBasePathMappingInput) (*BasePathMapping, error)
func (c *APIGateway) GetBasePathMappingRequest(input *GetBasePathMappingInput) (req *request.Request, output *BasePathMapping)
func (c *APIGateway) GetBasePathMappingWithContext(ctx aws.Context, input *GetBasePathMappingInput, opts ...request.Option) (*BasePathMapping, error)
func (c *APIGateway) GetBasePathMappings(input *GetBasePathMappingsInput) (*GetBasePathMappingsOutput, error)
func (c *APIGateway) GetBasePathMappingsPages(input *GetBasePathMappingsInput, fn func(*GetBasePathMappingsOutput, bool) bool) error
func (c *APIGateway) GetBasePathMappingsPagesWithContext(ctx aws.Context, input *GetBasePathMappingsInput, fn func(*GetBasePathMappingsOutput, bool) bool, opts ...request.Option) error
func (c *APIGateway) GetBasePathMappingsRequest(input *GetBasePathMappingsInput) (req *request.Request, output *GetBasePathMappingsOutput)
func (c *APIGateway) GetBasePathMappingsWithContext(ctx aws.Context, input *GetBasePathMappingsInput, opts ...request.Option) (*GetBasePathMappingsOutput, error)
func (c *APIGateway) GetClientCertificate(input *GetClientCertificateInput) (*ClientCertificate, error)
func (c *APIGateway) GetClientCertificateRequest(input *GetClientCertificateInput) (req *request.Request, output *ClientCertificate)
func (c *APIGateway) GetClientCertificateWithContext(ctx aws.Context, input *GetClientCertificateInput, opts ...request.Option) (*ClientCertificate, error)
func (c *APIGateway) GetClientCertificates(input *GetClientCertificatesInput) (*GetClientCertificatesOutput, error)
func (c *APIGateway) GetClientCertificatesPages(input *GetClientCertificatesInput, fn func(*GetClientCertificatesOutput, bool) bool) error
func (c *APIGateway) GetClientCertificatesPagesWithContext(ctx aws.Context, input *GetClientCertificatesInput, fn func(*GetClientCertificatesOutput, bool) bool, opts ...request.Option) error
func (c *APIGateway) GetClientCertificatesRequest(input *GetClientCertificatesInput) (req *request.Request, output *GetClientCertificatesOutput)
func (c *APIGateway) GetClientCertificatesWithContext(ctx aws.Context, input *GetClientCertificatesInput, opts ...request.Option) (*GetClientCertificatesOutput, error)
func (c *APIGateway) GetDeployment(input *GetDeploymentInput) (*Deployment, error)
func (c *APIGateway) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *Deployment)
func (c *APIGateway) GetDeploymentWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...request.Option) (*Deployment, error)
func (c *APIGateway) GetDeployments(input *GetDeploymentsInput) (*GetDeploymentsOutput, error)
func (c *APIGateway) GetDeploymentsPages(input *GetDeploymentsInput, fn func(*GetDeploymentsOutput, bool) bool) error
func (c *APIGateway) GetDeploymentsPagesWithContext(ctx aws.Context, input *GetDeploymentsInput, fn func(*GetDeploymentsOutput, bool) bool, opts ...request.Option) error
func (c *APIGateway) GetDeploymentsRequest(input *GetDeploymentsInput) (req *request.Request, output *GetDeploymentsOutput)
func (c *APIGateway) GetDeploymentsWithContext(ctx aws.Context, input *GetDeploymentsInput, opts ...request.Option) (*GetDeploymentsOutput, error)
func (c *APIGateway) GetDocumentationPart(input *GetDocumentationPartInput) (*DocumentationPart, error)
func (c *APIGateway) GetDocumentationPartRequest(input *GetDocumentationPartInput) (req *request.Request, output *DocumentationPart)
func (c *APIGateway) GetDocumentationPartWithContext(ctx aws.Context, input *GetDocumentationPartInput, opts ...request.Option) (*DocumentationPart, error)
func (c *APIGateway) GetDocumentationParts(input *GetDocumentationPartsInput) (*GetDocumentationPartsOutput, error)
func (c *APIGateway) GetDocumentationPartsRequest(input *GetDocumentationPartsInput) (req *request.Request, output *GetDocumentationPartsOutput)
func (c *APIGateway) GetDocumentationPartsWithContext(ctx aws.Context, input *GetDocumentationPartsInput, opts ...request.Option) (*GetDocumentationPartsOutput, error)
func (c *APIGateway) GetDocumentationVersion(input *GetDocumentationVersionInput) (*DocumentationVersion, error)
func (c *APIGateway) GetDocumentationVersionRequest(input *GetDocumentationVersionInput) (req *request.Request, output *DocumentationVersion)
func (c *APIGateway) GetDocumentationVersionWithContext(ctx aws.Context, input *GetDocumentationVersionInput, opts ...request.Option) (*DocumentationVersion, error)
func (c *APIGateway) GetDocumentationVersions(input *GetDocumentationVersionsInput) (*GetDocumentationVersionsOutput, error)
func (c *APIGateway) GetDocumentationVersionsRequest(input *GetDocumentationVersionsInput) (req *request.Request, output *GetDocumentationVersionsOutput)
func (c *APIGateway) GetDocumentationVersionsWithContext(ctx aws.Context, input *GetDocumentationVersionsInput, opts ...request.Option) (*GetDocumentationVersionsOutput, error)
func (c *APIGateway) GetDomainName(input *GetDomainNameInput) (*DomainName, error)
func (c *APIGateway) GetDomainNameRequest(input *GetDomainNameInput) (req *request.Request, output *DomainName)
func (c *APIGateway) GetDomainNameWithContext(ctx aws.Context, input *GetDomainNameInput, opts ...request.Option) (*DomainName, error)
func (c *APIGateway) GetDomainNames(input *GetDomainNamesInput) (*GetDomainNamesOutput, error)
func (c *APIGateway) GetDomainNamesPages(input *GetDomainNamesInput, fn func(*GetDomainNamesOutput, bool) bool) error
func (c *APIGateway) GetDomainNamesPagesWithContext(ctx aws.Context, input *GetDomainNamesInput, fn func(*GetDomainNamesOutput, bool) bool, opts ...request.Option) error
func (c *APIGateway) GetDomainNamesRequest(input *GetDomainNamesInput) (req *request.Request, output *GetDomainNamesOutput)
func (c *APIGateway) GetDomainNamesWithContext(ctx aws.Context, input *GetDomainNamesInput, opts ...request.Option) (*GetDomainNamesOutput, error)
func (c *APIGateway) GetExport(input *GetExportInput) (*GetExportOutput, error)
func (c *APIGateway) GetExportRequest(input *GetExportInput) (req *request.Request, output *GetExportOutput)
func (c *APIGateway) GetExportWithContext(ctx aws.Context, input *GetExportInput, opts ...request.Option) (*GetExportOutput, error)
func (c *APIGateway) GetGatewayResponse(input *GetGatewayResponseInput) (*UpdateGatewayResponseOutput, error)
func (c *APIGateway) GetGatewayResponseRequest(input *GetGatewayResponseInput) (req *request.Request, output *UpdateGatewayResponseOutput)
func (c *APIGateway) GetGatewayResponseWithContext(ctx aws.Context, input *GetGatewayResponseInput, opts ...request.Option) (*UpdateGatewayResponseOutput, error)
func (c *APIGateway) GetGatewayResponses(input *GetGatewayResponsesInput) (*GetGatewayResponsesOutput, error)
func (c *APIGateway) GetGatewayResponsesRequest(input *GetGatewayResponsesInput) (req *request.Request, output *GetGatewayResponsesOutput)
func (c *APIGateway) GetGatewayResponsesWithContext(ctx aws.Context, input *GetGatewayResponsesInput, opts ...request.Option) (*GetGatewayResponsesOutput, error)
func (c *APIGateway) GetIntegration(input *GetIntegrationInput) (*Integration, error)
func (c *APIGateway) GetIntegrationRequest(input *GetIntegrationInput) (req *request.Request, output *Integration)
func (c *APIGateway) GetIntegrationResponse(input *GetIntegrationResponseInput) (*IntegrationResponse, error)
func (c *APIGateway) GetIntegrationResponseRequest(input *GetIntegrationResponseInput) (req *request.Request, output *IntegrationResponse)
func (c *APIGateway) GetIntegrationResponseWithContext(ctx aws.Context, input *GetIntegrationResponseInput, opts ...request.Option) (*IntegrationResponse, error)
func (c *APIGateway) GetIntegrationWithContext(ctx aws.Context, input *GetIntegrationInput, opts ...request.Option) (*Integration, error)
func (c *APIGateway) GetMethod(input *GetMethodInput) (*Method, error)
func (c *APIGateway) GetMethodRequest(input *GetMethodInput) (req *request.Request, output *Method)
func (c *APIGateway) GetMethodResponse(input *GetMethodResponseInput) (*MethodResponse, error)
func (c *APIGateway) GetMethodResponseRequest(input *GetMethodResponseInput) (req *request.Request, output *MethodResponse)
func (c *APIGateway) GetMethodResponseWithContext(ctx aws.Context, input *GetMethodResponseInput, opts ...request.Option) (*MethodResponse, error)
func (c *APIGateway) GetMethodWithContext(ctx aws.Context, input *GetMethodInput, opts ...request.Option) (*Method, error)
func (c *APIGateway) GetModel(input *GetModelInput) (*Model, error)
func (c *APIGateway) GetModelRequest(input *GetModelInput) (req *request.Request, output *Model)
func (c *APIGateway) GetModelTemplate(input *GetModelTemplateInput) (*GetModelTemplateOutput, error)
func (c *APIGateway) GetModelTemplateRequest(input *GetModelTemplateInput) (req *request.Request, output *GetModelTemplateOutput)
func (c *APIGateway) GetModelTemplateWithContext(ctx aws.Context, input *GetModelTemplateInput, opts ...request.Option) (*GetModelTemplateOutput, error)
func (c *APIGateway) GetModelWithContext(ctx aws.Context, input *GetModelInput, opts ...request.Option) (*Model, error)
func (c *APIGateway) GetModels(input *GetModelsInput) (*GetModelsOutput, error)
func (c *APIGateway) GetModelsPages(input *GetModelsInput, fn func(*GetModelsOutput, bool) bool) error
func (c *APIGateway) GetModelsPagesWithContext(ctx aws.Context, input *GetModelsInput, fn func(*GetModelsOutput, bool) bool, opts ...request.Option) error
func (c *APIGateway) GetModelsRequest(input *GetModelsInput) (req *request.Request, output *GetModelsOutput)
func (c *APIGateway) GetModelsWithContext(ctx aws.Context, input *GetModelsInput, opts ...request.Option) (*GetModelsOutput, error)
func (c *APIGateway) GetRequestValidator(input *GetRequestValidatorInput) (*UpdateRequestValidatorOutput, error)
func (c *APIGateway) GetRequestValidatorRequest(input *GetRequestValidatorInput) (req *request.Request, output *UpdateRequestValidatorOutput)
func (c *APIGateway) GetRequestValidatorWithContext(ctx aws.Context, input *GetRequestValidatorInput, opts ...request.Option) (*UpdateRequestValidatorOutput, error)
func (c *APIGateway) GetRequestValidators(input *GetRequestValidatorsInput) (*GetRequestValidatorsOutput, error)
func (c *APIGateway) GetRequestValidatorsRequest(input *GetRequestValidatorsInput) (req *request.Request, output *GetRequestValidatorsOutput)
func (c *APIGateway) GetRequestValidatorsWithContext(ctx aws.Context, input *GetRequestValidatorsInput, opts ...request.Option) (*GetRequestValidatorsOutput, error)
func (c *APIGateway) GetResource(input *GetResourceInput) (*Resource, error)
func (c *APIGateway) GetResourceRequest(input *GetResourceInput) (req *request.Request, output *Resource)
func (c *APIGateway) GetResourceWithContext(ctx aws.Context, input *GetResourceInput, opts ...request.Option) (*Resource, error)
func (c *APIGateway) GetResources(input *GetResourcesInput) (*GetResourcesOutput, error)
func (c *APIGateway) GetResourcesPages(input *GetResourcesInput, fn func(*GetResourcesOutput, bool) bool) error
func (c *APIGateway) GetResourcesPagesWithContext(ctx aws.Context, input *GetResourcesInput, fn func(*GetResourcesOutput, bool) bool, opts ...request.Option) error
func (c *APIGateway) GetResourcesRequest(input *GetResourcesInput) (req *request.Request, output *GetResourcesOutput)
func (c *APIGateway) GetResourcesWithContext(ctx aws.Context, input *GetResourcesInput, opts ...request.Option) (*GetResourcesOutput, error)
func (c *APIGateway) GetRestApi(input *GetRestApiInput) (*RestApi, error)
func (c *APIGateway) GetRestApiRequest(input *GetRestApiInput) (req *request.Request, output *RestApi)
func (c *APIGateway) GetRestApiWithContext(ctx aws.Context, input *GetRestApiInput, opts ...request.Option) (*RestApi, error)
func (c *APIGateway) GetRestApis(input *GetRestApisInput) (*GetRestApisOutput, error)
func (c *APIGateway) GetRestApisPages(input *GetRestApisInput, fn func(*GetRestApisOutput, bool) bool) error
func (c *APIGateway) GetRestApisPagesWithContext(ctx aws.Context, input *GetRestApisInput, fn func(*GetRestApisOutput, bool) bool, opts ...request.Option) error
func (c *APIGateway) GetRestApisRequest(input *GetRestApisInput) (req *request.Request, output *GetRestApisOutput)
func (c *APIGateway) GetRestApisWithContext(ctx aws.Context, input *GetRestApisInput, opts ...request.Option) (*GetRestApisOutput, error)
func (c *APIGateway) GetSdk(input *GetSdkInput) (*GetSdkOutput, error)
func (c *APIGateway) GetSdkRequest(input *GetSdkInput) (req *request.Request, output *GetSdkOutput)
func (c *APIGateway) GetSdkType(input *GetSdkTypeInput) (*SdkType, error)
func (c *APIGateway) GetSdkTypeRequest(input *GetSdkTypeInput) (req *request.Request, output *SdkType)
func (c *APIGateway) GetSdkTypeWithContext(ctx aws.Context, input *GetSdkTypeInput, opts ...request.Option) (*SdkType, error)
func (c *APIGateway) GetSdkTypes(input *GetSdkTypesInput) (*GetSdkTypesOutput, error)
func (c *APIGateway) GetSdkTypesRequest(input *GetSdkTypesInput) (req *request.Request, output *GetSdkTypesOutput)
func (c *APIGateway) GetSdkTypesWithContext(ctx aws.Context, input *GetSdkTypesInput, opts ...request.Option) (*GetSdkTypesOutput, error)
func (c *APIGateway) GetSdkWithContext(ctx aws.Context, input *GetSdkInput, opts ...request.Option) (*GetSdkOutput, error)
func (c *APIGateway) GetStage(input *GetStageInput) (*Stage, error)
func (c *APIGateway) GetStageRequest(input *GetStageInput) (req *request.Request, output *Stage)
func (c *APIGateway) GetStageWithContext(ctx aws.Context, input *GetStageInput, opts ...request.Option) (*Stage, error)
func (c *APIGateway) GetStages(input *GetStagesInput) (*GetStagesOutput, error)
func (c *APIGateway) GetStagesRequest(input *GetStagesInput) (req *request.Request, output *GetStagesOutput)
func (c *APIGateway) GetStagesWithContext(ctx aws.Context, input *GetStagesInput, opts ...request.Option) (*GetStagesOutput, error)
func (c *APIGateway) GetTags(input *GetTagsInput) (*GetTagsOutput, error)
func (c *APIGateway) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput)
func (c *APIGateway) GetTagsWithContext(ctx aws.Context, input *GetTagsInput, opts ...request.Option) (*GetTagsOutput, error)
func (c *APIGateway) GetUsage(input *GetUsageInput) (*Usage, error)
func (c *APIGateway) GetUsagePages(input *GetUsageInput, fn func(*Usage, bool) bool) error
func (c *APIGateway) GetUsagePagesWithContext(ctx aws.Context, input *GetUsageInput, fn func(*Usage, bool) bool, opts ...request.Option) error
func (c *APIGateway) GetUsagePlan(input *GetUsagePlanInput) (*UsagePlan, error)
func (c *APIGateway) GetUsagePlanKey(input *GetUsagePlanKeyInput) (*UsagePlanKey, error)
func (c *APIGateway) GetUsagePlanKeyRequest(input *GetUsagePlanKeyInput) (req *request.Request, output *UsagePlanKey)
func (c *APIGateway) GetUsagePlanKeyWithContext(ctx aws.Context, input *GetUsagePlanKeyInput, opts ...request.Option) (*UsagePlanKey, error)
func (c *APIGateway) GetUsagePlanKeys(input *GetUsagePlanKeysInput) (*GetUsagePlanKeysOutput, error)
func (c *APIGateway) GetUsagePlanKeysPages(input *GetUsagePlanKeysInput, fn func(*GetUsagePlanKeysOutput, bool) bool) error
func (c *APIGateway) GetUsagePlanKeysPagesWithContext(ctx aws.Context, input *GetUsagePlanKeysInput, fn func(*GetUsagePlanKeysOutput, bool) bool, opts ...request.Option) error
func (c *APIGateway) GetUsagePlanKeysRequest(input *GetUsagePlanKeysInput) (req *request.Request, output *GetUsagePlanKeysOutput)
func (c *APIGateway) GetUsagePlanKeysWithContext(ctx aws.Context, input *GetUsagePlanKeysInput, opts ...request.Option) (*GetUsagePlanKeysOutput, error)
func (c *APIGateway) GetUsagePlanRequest(input *GetUsagePlanInput) (req *request.Request, output *UsagePlan)
func (c *APIGateway) GetUsagePlanWithContext(ctx aws.Context, input *GetUsagePlanInput, opts ...request.Option) (*UsagePlan, error)
func (c *APIGateway) GetUsagePlans(input *GetUsagePlansInput) (*GetUsagePlansOutput, error)
func (c *APIGateway) GetUsagePlansPages(input *GetUsagePlansInput, fn func(*GetUsagePlansOutput, bool) bool) error
func (c *APIGateway) GetUsagePlansPagesWithContext(ctx aws.Context, input *GetUsagePlansInput, fn func(*GetUsagePlansOutput, bool) bool, opts ...request.Option) error
func (c *APIGateway) GetUsagePlansRequest(input *GetUsagePlansInput) (req *request.Request, output *GetUsagePlansOutput)
func (c *APIGateway) GetUsagePlansWithContext(ctx aws.Context, input *GetUsagePlansInput, opts ...request.Option) (*GetUsagePlansOutput, error)
func (c *APIGateway) GetUsageRequest(input *GetUsageInput) (req *request.Request, output *Usage)
func (c *APIGateway) GetUsageWithContext(ctx aws.Context, input *GetUsageInput, opts ...request.Option) (*Usage, error)
func (c *APIGateway) GetVpcLink(input *GetVpcLinkInput) (*UpdateVpcLinkOutput, error)
func (c *APIGateway) GetVpcLinkRequest(input *GetVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput)
func (c *APIGateway) GetVpcLinkWithContext(ctx aws.Context, input *GetVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error)
func (c *APIGateway) GetVpcLinks(input *GetVpcLinksInput) (*GetVpcLinksOutput, error)
func (c *APIGateway) GetVpcLinksPages(input *GetVpcLinksInput, fn func(*GetVpcLinksOutput, bool) bool) error
func (c *APIGateway) GetVpcLinksPagesWithContext(ctx aws.Context, input *GetVpcLinksInput, fn func(*GetVpcLinksOutput, bool) bool, opts ...request.Option) error
func (c *APIGateway) GetVpcLinksRequest(input *GetVpcLinksInput) (req *request.Request, output *GetVpcLinksOutput)
func (c *APIGateway) GetVpcLinksWithContext(ctx aws.Context, input *GetVpcLinksInput, opts ...request.Option) (*GetVpcLinksOutput, error)
func (c *APIGateway) ImportApiKeys(input *ImportApiKeysInput) (*ImportApiKeysOutput, error)
func (c *APIGateway) ImportApiKeysRequest(input *ImportApiKeysInput) (req *request.Request, output *ImportApiKeysOutput)
func (c *APIGateway) ImportApiKeysWithContext(ctx aws.Context, input *ImportApiKeysInput, opts ...request.Option) (*ImportApiKeysOutput, error)
func (c *APIGateway) ImportDocumentationParts(input *ImportDocumentationPartsInput) (*ImportDocumentationPartsOutput, error)
func (c *APIGateway) ImportDocumentationPartsRequest(input *ImportDocumentationPartsInput) (req *request.Request, output *ImportDocumentationPartsOutput)
func (c *APIGateway) ImportDocumentationPartsWithContext(ctx aws.Context, input *ImportDocumentationPartsInput, opts ...request.Option) (*ImportDocumentationPartsOutput, error)
func (c *APIGateway) ImportRestApi(input *ImportRestApiInput) (*RestApi, error)
func (c *APIGateway) ImportRestApiRequest(input *ImportRestApiInput) (req *request.Request, output *RestApi)
func (c *APIGateway) ImportRestApiWithContext(ctx aws.Context, input *ImportRestApiInput, opts ...request.Option) (*RestApi, error)
func (c *APIGateway) PutGatewayResponse(input *PutGatewayResponseInput) (*UpdateGatewayResponseOutput, error)
func (c *APIGateway) PutGatewayResponseRequest(input *PutGatewayResponseInput) (req *request.Request, output *UpdateGatewayResponseOutput)
func (c *APIGateway) PutGatewayResponseWithContext(ctx aws.Context, input *PutGatewayResponseInput, opts ...request.Option) (*UpdateGatewayResponseOutput, error)
func (c *APIGateway) PutIntegration(input *PutIntegrationInput) (*Integration, error)
func (c *APIGateway) PutIntegrationRequest(input *PutIntegrationInput) (req *request.Request, output *Integration)
func (c *APIGateway) PutIntegrationResponse(input *PutIntegrationResponseInput) (*IntegrationResponse, error)
func (c *APIGateway) PutIntegrationResponseRequest(input *PutIntegrationResponseInput) (req *request.Request, output *IntegrationResponse)
func (c *APIGateway) PutIntegrationResponseWithContext(ctx aws.Context, input *PutIntegrationResponseInput, opts ...request.Option) (*IntegrationResponse, error)
func (c *APIGateway) PutIntegrationWithContext(ctx aws.Context, input *PutIntegrationInput, opts ...request.Option) (*Integration, error)
func (c *APIGateway) PutMethod(input *PutMethodInput) (*Method, error)
func (c *APIGateway) PutMethodRequest(input *PutMethodInput) (req *request.Request, output *Method)
func (c *APIGateway) PutMethodResponse(input *PutMethodResponseInput) (*MethodResponse, error)
func (c *APIGateway) PutMethodResponseRequest(input *PutMethodResponseInput) (req *request.Request, output *MethodResponse)
func (c *APIGateway) PutMethodResponseWithContext(ctx aws.Context, input *PutMethodResponseInput, opts ...request.Option) (*MethodResponse, error)
func (c *APIGateway) PutMethodWithContext(ctx aws.Context, input *PutMethodInput, opts ...request.Option) (*Method, error)
func (c *APIGateway) PutRestApi(input *PutRestApiInput) (*RestApi, error)
func (c *APIGateway) PutRestApiRequest(input *PutRestApiInput) (req *request.Request, output *RestApi)
func (c *APIGateway) PutRestApiWithContext(ctx aws.Context, input *PutRestApiInput, opts ...request.Option) (*RestApi, error)
func (c *APIGateway) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
func (c *APIGateway) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
func (c *APIGateway) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
func (c *APIGateway) TestInvokeAuthorizer(input *TestInvokeAuthorizerInput) (*TestInvokeAuthorizerOutput, error)
func (c *APIGateway) TestInvokeAuthorizerRequest(input *TestInvokeAuthorizerInput) (req *request.Request, output *TestInvokeAuthorizerOutput)
func (c *APIGateway) TestInvokeAuthorizerWithContext(ctx aws.Context, input *TestInvokeAuthorizerInput, opts ...request.Option) (*TestInvokeAuthorizerOutput, error)
func (c *APIGateway) TestInvokeMethod(input *TestInvokeMethodInput) (*TestInvokeMethodOutput, error)
func (c *APIGateway) TestInvokeMethodRequest(input *TestInvokeMethodInput) (req *request.Request, output *TestInvokeMethodOutput)
func (c *APIGateway) TestInvokeMethodWithContext(ctx aws.Context, input *TestInvokeMethodInput, opts ...request.Option) (*TestInvokeMethodOutput, error)
func (c *APIGateway) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
func (c *APIGateway) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
func (c *APIGateway) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
func (c *APIGateway) UpdateAccount(input *UpdateAccountInput) (*Account, error)
func (c *APIGateway) UpdateAccountRequest(input *UpdateAccountInput) (req *request.Request, output *Account)
func (c *APIGateway) UpdateAccountWithContext(ctx aws.Context, input *UpdateAccountInput, opts ...request.Option) (*Account, error)
func (c *APIGateway) UpdateApiKey(input *UpdateApiKeyInput) (*ApiKey, error)
func (c *APIGateway) UpdateApiKeyRequest(input *UpdateApiKeyInput) (req *request.Request, output *ApiKey)
func (c *APIGateway) UpdateApiKeyWithContext(ctx aws.Context, input *UpdateApiKeyInput, opts ...request.Option) (*ApiKey, error)
func (c *APIGateway) UpdateAuthorizer(input *UpdateAuthorizerInput) (*Authorizer, error)
func (c *APIGateway) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (req *request.Request, output *Authorizer)
func (c *APIGateway) UpdateAuthorizerWithContext(ctx aws.Context, input *UpdateAuthorizerInput, opts ...request.Option) (*Authorizer, error)
func (c *APIGateway) UpdateBasePathMapping(input *UpdateBasePathMappingInput) (*BasePathMapping, error)
func (c *APIGateway) UpdateBasePathMappingRequest(input *UpdateBasePathMappingInput) (req *request.Request, output *BasePathMapping)
func (c *APIGateway) UpdateBasePathMappingWithContext(ctx aws.Context, input *UpdateBasePathMappingInput, opts ...request.Option) (*BasePathMapping, error)
func (c *APIGateway) UpdateClientCertificate(input *UpdateClientCertificateInput) (*ClientCertificate, error)
func (c *APIGateway) UpdateClientCertificateRequest(input *UpdateClientCertificateInput) (req *request.Request, output *ClientCertificate)
func (c *APIGateway) UpdateClientCertificateWithContext(ctx aws.Context, input *UpdateClientCertificateInput, opts ...request.Option) (*ClientCertificate, error)
func (c *APIGateway) UpdateDeployment(input *UpdateDeploymentInput) (*Deployment, error)
func (c *APIGateway) UpdateDeploymentRequest(input *UpdateDeploymentInput) (req *request.Request, output *Deployment)
func (c *APIGateway) UpdateDeploymentWithContext(ctx aws.Context, input *UpdateDeploymentInput, opts ...request.Option) (*Deployment, error)
func (c *APIGateway) UpdateDocumentationPart(input *UpdateDocumentationPartInput) (*DocumentationPart, error)
func (c *APIGateway) UpdateDocumentationPartRequest(input *UpdateDocumentationPartInput) (req *request.Request, output *DocumentationPart)
func (c *APIGateway) UpdateDocumentationPartWithContext(ctx aws.Context, input *UpdateDocumentationPartInput, opts ...request.Option) (*DocumentationPart, error)
func (c *APIGateway) UpdateDocumentationVersion(input *UpdateDocumentationVersionInput) (*DocumentationVersion, error)
func (c *APIGateway) UpdateDocumentationVersionRequest(input *UpdateDocumentationVersionInput) (req *request.Request, output *DocumentationVersion)
func (c *APIGateway) UpdateDocumentationVersionWithContext(ctx aws.Context, input *UpdateDocumentationVersionInput, opts ...request.Option) (*DocumentationVersion, error)
func (c *APIGateway) UpdateDomainName(input *UpdateDomainNameInput) (*DomainName, error)
func (c *APIGateway) UpdateDomainNameRequest(input *UpdateDomainNameInput) (req *request.Request, output *DomainName)
func (c *APIGateway) UpdateDomainNameWithContext(ctx aws.Context, input *UpdateDomainNameInput, opts ...request.Option) (*DomainName, error)
func (c *APIGateway) UpdateGatewayResponse(input *UpdateGatewayResponseInput) (*UpdateGatewayResponseOutput, error)
func (c *APIGateway) UpdateGatewayResponseRequest(input *UpdateGatewayResponseInput) (req *request.Request, output *UpdateGatewayResponseOutput)
func (c *APIGateway) UpdateGatewayResponseWithContext(ctx aws.Context, input *UpdateGatewayResponseInput, opts ...request.Option) (*UpdateGatewayResponseOutput, error)
func (c *APIGateway) UpdateIntegration(input *UpdateIntegrationInput) (*Integration, error)
func (c *APIGateway) UpdateIntegrationRequest(input *UpdateIntegrationInput) (req *request.Request, output *Integration)
func (c *APIGateway) UpdateIntegrationResponse(input *UpdateIntegrationResponseInput) (*IntegrationResponse, error)
func (c *APIGateway) UpdateIntegrationResponseRequest(input *UpdateIntegrationResponseInput) (req *request.Request, output *IntegrationResponse)
func (c *APIGateway) UpdateIntegrationResponseWithContext(ctx aws.Context, input *UpdateIntegrationResponseInput, opts ...request.Option) (*IntegrationResponse, error)
func (c *APIGateway) UpdateIntegrationWithContext(ctx aws.Context, input *UpdateIntegrationInput, opts ...request.Option) (*Integration, error)
func (c *APIGateway) UpdateMethod(input *UpdateMethodInput) (*Method, error)
func (c *APIGateway) UpdateMethodRequest(input *UpdateMethodInput) (req *request.Request, output *Method)
func (c *APIGateway) UpdateMethodResponse(input *UpdateMethodResponseInput) (*MethodResponse, error)
func (c *APIGateway) UpdateMethodResponseRequest(input *UpdateMethodResponseInput) (req *request.Request, output *MethodResponse)
func (c *APIGateway) UpdateMethodResponseWithContext(ctx aws.Context, input *UpdateMethodResponseInput, opts ...request.Option) (*MethodResponse, error)
func (c *APIGateway) UpdateMethodWithContext(ctx aws.Context, input *UpdateMethodInput, opts ...request.Option) (*Method, error)
func (c *APIGateway) UpdateModel(input *UpdateModelInput) (*Model, error)
func (c *APIGateway) UpdateModelRequest(input *UpdateModelInput) (req *request.Request, output *Model)
func (c *APIGateway) UpdateModelWithContext(ctx aws.Context, input *UpdateModelInput, opts ...request.Option) (*Model, error)
func (c *APIGateway) UpdateRequestValidator(input *UpdateRequestValidatorInput) (*UpdateRequestValidatorOutput, error)
func (c *APIGateway) UpdateRequestValidatorRequest(input *UpdateRequestValidatorInput) (req *request.Request, output *UpdateRequestValidatorOutput)
func (c *APIGateway) UpdateRequestValidatorWithContext(ctx aws.Context, input *UpdateRequestValidatorInput, opts ...request.Option) (*UpdateRequestValidatorOutput, error)
func (c *APIGateway) UpdateResource(input *UpdateResourceInput) (*Resource, error)
func (c *APIGateway) UpdateResourceRequest(input *UpdateResourceInput) (req *request.Request, output *Resource)
func (c *APIGateway) UpdateResourceWithContext(ctx aws.Context, input *UpdateResourceInput, opts ...request.Option) (*Resource, error)
func (c *APIGateway) UpdateRestApi(input *UpdateRestApiInput) (*RestApi, error)
func (c *APIGateway) UpdateRestApiRequest(input *UpdateRestApiInput) (req *request.Request, output *RestApi)
func (c *APIGateway) UpdateRestApiWithContext(ctx aws.Context, input *UpdateRestApiInput, opts ...request.Option) (*RestApi, error)
func (c *APIGateway) UpdateStage(input *UpdateStageInput) (*Stage, error)
func (c *APIGateway) UpdateStageRequest(input *UpdateStageInput) (req *request.Request, output *Stage)
func (c *APIGateway) UpdateStageWithContext(ctx aws.Context, input *UpdateStageInput, opts ...request.Option) (*Stage, error)
func (c *APIGateway) UpdateUsage(input *UpdateUsageInput) (*Usage, error)
func (c *APIGateway) UpdateUsagePlan(input *UpdateUsagePlanInput) (*UsagePlan, error)
func (c *APIGateway) UpdateUsagePlanRequest(input *UpdateUsagePlanInput) (req *request.Request, output *UsagePlan)
func (c *APIGateway) UpdateUsagePlanWithContext(ctx aws.Context, input *UpdateUsagePlanInput, opts ...request.Option) (*UsagePlan, error)
func (c *APIGateway) UpdateUsageRequest(input *UpdateUsageInput) (req *request.Request, output *Usage)
func (c *APIGateway) UpdateUsageWithContext(ctx aws.Context, input *UpdateUsageInput, opts ...request.Option) (*Usage, error)
func (c *APIGateway) UpdateVpcLink(input *UpdateVpcLinkInput) (*UpdateVpcLinkOutput, error)
func (c *APIGateway) UpdateVpcLinkRequest(input *UpdateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput)
func (c *APIGateway) UpdateVpcLinkWithContext(ctx aws.Context, input *UpdateVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error)
func ApiKeySourceType_Values() []string
func ApiKeysFormat_Values() []string
func AuthorizerType_Values() []string
func CacheClusterSize_Values() []string
func CacheClusterStatus_Values() []string
func ConnectionType_Values() []string
func ContentHandlingStrategy_Values() []string
func DocumentationPartType_Values() []string
func DomainNameStatus_Values() []string
func EndpointType_Values() []string
func GatewayResponseType_Values() []string
func IntegrationType_Values() []string
func LocationStatusType_Values() []string
func Op_Values() []string
func PutMode_Values() []string
func QuotaPeriodType_Values() []string
func SecurityPolicy_Values() []string
func UnauthorizedCacheControlHeaderStrategy_Values() []string
func VpcLinkStatus_Values() []string
type AccessLogSettings
type Account
type ApiKey
type ApiStage
type Authorizer
type BadRequestException
type BasePathMapping
type CanarySettings
type ClientCertificate
type ConflictException
type CreateApiKeyInput
type CreateAuthorizerInput
type CreateBasePathMappingInput
type CreateDeploymentInput
type CreateDocumentationPartInput
type CreateDocumentationVersionInput
type CreateDomainNameInput
type CreateModelInput
type CreateRequestValidatorInput
type CreateResourceInput
type CreateRestApiInput
type CreateStageInput
type CreateUsagePlanInput
type CreateUsagePlanKeyInput
type CreateVpcLinkInput
type DeleteApiKeyInput
type DeleteApiKeyOutput
type DeleteAuthorizerInput
type DeleteAuthorizerOutput
type DeleteBasePathMappingInput
type DeleteBasePathMappingOutput
type DeleteClientCertificateInput
type DeleteClientCertificateOutput
type DeleteDeploymentInput
type DeleteDeploymentOutput
type DeleteDocumentationPartInput
type DeleteDocumentationPartOutput
type DeleteDocumentationVersionInput
type DeleteDocumentationVersionOutput
type DeleteDomainNameInput
type DeleteDomainNameOutput
type DeleteGatewayResponseInput
type DeleteGatewayResponseOutput
type DeleteIntegrationInput
type DeleteIntegrationOutput
type DeleteIntegrationResponseInput
type DeleteIntegrationResponseOutput
type DeleteMethodInput
type DeleteMethodOutput
type DeleteMethodResponseInput
type DeleteMethodResponseOutput
type DeleteModelInput
type DeleteModelOutput
type DeleteRequestValidatorInput
type DeleteRequestValidatorOutput
type DeleteResourceInput
type DeleteResourceOutput
type DeleteRestApiInput
type DeleteRestApiOutput
type DeleteStageInput
type DeleteStageOutput
type DeleteUsagePlanInput
type DeleteUsagePlanKeyInput
type DeleteUsagePlanKeyOutput
type DeleteUsagePlanOutput
type DeleteVpcLinkInput
type DeleteVpcLinkOutput
type Deployment
type DeploymentCanarySettings
type DocumentationPart
type DocumentationPartLocation
type DocumentationVersion
type DomainName
type EndpointConfiguration
type FlushStageAuthorizersCacheInput
type FlushStageAuthorizersCacheOutput
type FlushStageCacheInput
type FlushStageCacheOutput
type GenerateClientCertificateInput
type GetAccountInput
type GetApiKeyInput
type GetApiKeysInput
type GetApiKeysOutput
type GetAuthorizerInput
type GetAuthorizersInput
type GetAuthorizersOutput
type GetBasePathMappingInput
type GetBasePathMappingsInput
type GetBasePathMappingsOutput
type GetClientCertificateInput
type GetClientCertificatesInput
type GetClientCertificatesOutput
type GetDeploymentInput
type GetDeploymentsInput
type GetDeploymentsOutput
type GetDocumentationPartInput
type GetDocumentationPartsInput
type GetDocumentationPartsOutput
type GetDocumentationVersionInput
type GetDocumentationVersionsInput
type GetDocumentationVersionsOutput
type GetDomainNameInput
type GetDomainNamesInput
type GetDomainNamesOutput
type GetExportInput
type GetExportOutput
type GetGatewayResponseInput
type GetGatewayResponsesInput
type GetGatewayResponsesOutput
type GetIntegrationInput
type GetIntegrationResponseInput
type GetMethodInput
type GetMethodResponseInput
type GetModelInput
type GetModelTemplateInput
type GetModelTemplateOutput
type GetModelsInput
type GetModelsOutput
type GetRequestValidatorInput
type GetRequestValidatorsInput
type GetRequestValidatorsOutput
type GetResourceInput
type GetResourcesInput
type GetResourcesOutput
type GetRestApiInput
type GetRestApisInput
type GetRestApisOutput
type GetSdkInput
type GetSdkOutput
type GetSdkTypeInput
type GetSdkTypesInput
type GetSdkTypesOutput
type GetStageInput
type GetStagesInput
type GetStagesOutput
type GetTagsInput
type GetTagsOutput
type GetUsageInput
type GetUsagePlanInput
type GetUsagePlanKeyInput
type GetUsagePlanKeysInput
type GetUsagePlanKeysOutput
type GetUsagePlansInput
type GetUsagePlansOutput
type GetVpcLinkInput
type GetVpcLinksInput
type GetVpcLinksOutput
type ImportApiKeysInput
type ImportApiKeysOutput
type ImportDocumentationPartsInput
type ImportDocumentationPartsOutput
type ImportRestApiInput
type Integration
type IntegrationResponse
type LimitExceededException
type Method
type MethodResponse
type MethodSetting
type MethodSnapshot
type Model
type MutualTlsAuthentication
type MutualTlsAuthenticationInput
type NotFoundException
type PatchOperation
type PutGatewayResponseInput
type PutIntegrationInput
type PutIntegrationResponseInput
type PutMethodInput
type PutMethodResponseInput
type PutRestApiInput
type QuotaSettings
type Resource
type RestApi
type SdkConfigurationProperty
type SdkType
type ServiceUnavailableException
type Stage
type StageKey
type TagResourceInput
type TagResourceOutput
type TestInvokeAuthorizerInput
type TestInvokeAuthorizerOutput
type TestInvokeMethodInput
type TestInvokeMethodOutput
type ThrottleSettings
type TlsConfig
type TooManyRequestsException
type UnauthorizedException
type UntagResourceInput
type UntagResourceOutput
type UpdateAccountInput
type UpdateApiKeyInput
type UpdateAuthorizerInput
type UpdateBasePathMappingInput
type UpdateClientCertificateInput
type UpdateDeploymentInput
type UpdateDocumentationPartInput
type UpdateDocumentationVersionInput
type UpdateDomainNameInput
type UpdateGatewayResponseInput
type UpdateGatewayResponseOutput
type UpdateIntegrationInput
type UpdateIntegrationResponseInput
type UpdateMethodInput
type UpdateMethodResponseInput
type UpdateModelInput
type UpdateRequestValidatorInput
type UpdateRequestValidatorOutput
type UpdateResourceInput
type UpdateRestApiInput
type UpdateStageInput
type UpdateUsageInput
type UpdateUsagePlanInput
type UpdateVpcLinkInput
type UpdateVpcLinkOutput
type Usage
type UsagePlan
type UsagePlanKey

Constants ▾

const (
    // ApiKeySourceTypeHeader is a ApiKeySourceType enum value
    ApiKeySourceTypeHeader = "HEADER"

    // ApiKeySourceTypeAuthorizer is a ApiKeySourceType enum value
    ApiKeySourceTypeAuthorizer = "AUTHORIZER"
)
const (
    // AuthorizerTypeToken is a AuthorizerType enum value
    AuthorizerTypeToken = "TOKEN"

    // AuthorizerTypeRequest is a AuthorizerType enum value
    AuthorizerTypeRequest = "REQUEST"

    // AuthorizerTypeCognitoUserPools is a AuthorizerType enum value
    AuthorizerTypeCognitoUserPools = "COGNITO_USER_POOLS"
)

The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

const (
    // CacheClusterSize05 is a CacheClusterSize enum value
    CacheClusterSize05 = "0.5"

    // CacheClusterSize16 is a CacheClusterSize enum value
    CacheClusterSize16 = "1.6"

    // CacheClusterSize61 is a CacheClusterSize enum value
    CacheClusterSize61 = "6.1"

    // CacheClusterSize135 is a CacheClusterSize enum value
    CacheClusterSize135 = "13.5"

    // CacheClusterSize284 is a CacheClusterSize enum value
    CacheClusterSize284 = "28.4"

    // CacheClusterSize582 is a CacheClusterSize enum value
    CacheClusterSize582 = "58.2"

    // CacheClusterSize118 is a CacheClusterSize enum value
    CacheClusterSize118 = "118"

    // CacheClusterSize237 is a CacheClusterSize enum value
    CacheClusterSize237 = "237"
)

Returns the size of the CacheCluster.

const (
    // CacheClusterStatusCreateInProgress is a CacheClusterStatus enum value
    CacheClusterStatusCreateInProgress = "CREATE_IN_PROGRESS"

    // CacheClusterStatusAvailable is a CacheClusterStatus enum value
    CacheClusterStatusAvailable = "AVAILABLE"

    // CacheClusterStatusDeleteInProgress is a CacheClusterStatus enum value
    CacheClusterStatusDeleteInProgress = "DELETE_IN_PROGRESS"

    // CacheClusterStatusNotAvailable is a CacheClusterStatus enum value
    CacheClusterStatusNotAvailable = "NOT_AVAILABLE"

    // CacheClusterStatusFlushInProgress is a CacheClusterStatus enum value
    CacheClusterStatusFlushInProgress = "FLUSH_IN_PROGRESS"
)

Returns the status of the CacheCluster.

const (
    // ConnectionTypeInternet is a ConnectionType enum value
    ConnectionTypeInternet = "INTERNET"

    // ConnectionTypeVpcLink is a ConnectionType enum value
    ConnectionTypeVpcLink = "VPC_LINK"
)
const (
    // ContentHandlingStrategyConvertToBinary is a ContentHandlingStrategy enum value
    ContentHandlingStrategyConvertToBinary = "CONVERT_TO_BINARY"

    // ContentHandlingStrategyConvertToText is a ContentHandlingStrategy enum value
    ContentHandlingStrategyConvertToText = "CONVERT_TO_TEXT"
)
const (
    // DocumentationPartTypeApi is a DocumentationPartType enum value
    DocumentationPartTypeApi = "API"

    // DocumentationPartTypeAuthorizer is a DocumentationPartType enum value
    DocumentationPartTypeAuthorizer = "AUTHORIZER"

    // DocumentationPartTypeModel is a DocumentationPartType enum value
    DocumentationPartTypeModel = "MODEL"

    // DocumentationPartTypeResource is a DocumentationPartType enum value
    DocumentationPartTypeResource = "RESOURCE"

    // DocumentationPartTypeMethod is a DocumentationPartType enum value
    DocumentationPartTypeMethod = "METHOD"

    // DocumentationPartTypePathParameter is a DocumentationPartType enum value
    DocumentationPartTypePathParameter = "PATH_PARAMETER"

    // DocumentationPartTypeQueryParameter is a DocumentationPartType enum value
    DocumentationPartTypeQueryParameter = "QUERY_PARAMETER"

    // DocumentationPartTypeRequestHeader is a DocumentationPartType enum value
    DocumentationPartTypeRequestHeader = "REQUEST_HEADER"

    // DocumentationPartTypeRequestBody is a DocumentationPartType enum value
    DocumentationPartTypeRequestBody = "REQUEST_BODY"

    // DocumentationPartTypeResponse is a DocumentationPartType enum value
    DocumentationPartTypeResponse = "RESPONSE"

    // DocumentationPartTypeResponseHeader is a DocumentationPartType enum value
    DocumentationPartTypeResponseHeader = "RESPONSE_HEADER"

    // DocumentationPartTypeResponseBody is a DocumentationPartType enum value
    DocumentationPartTypeResponseBody = "RESPONSE_BODY"
)
const (
    // DomainNameStatusAvailable is a DomainNameStatus enum value
    DomainNameStatusAvailable = "AVAILABLE"

    // DomainNameStatusUpdating is a DomainNameStatus enum value
    DomainNameStatusUpdating = "UPDATING"

    // DomainNameStatusPending is a DomainNameStatus enum value
    DomainNameStatusPending = "PENDING"

    // DomainNameStatusPendingCertificateReimport is a DomainNameStatus enum value
    DomainNameStatusPendingCertificateReimport = "PENDING_CERTIFICATE_REIMPORT"

    // DomainNameStatusPendingOwnershipVerification is a DomainNameStatus enum value
    DomainNameStatusPendingOwnershipVerification = "PENDING_OWNERSHIP_VERIFICATION"
)
const (
    // EndpointTypeRegional is a EndpointType enum value
    EndpointTypeRegional = "REGIONAL"

    // EndpointTypeEdge is a EndpointType enum value
    EndpointTypeEdge = "EDGE"

    // EndpointTypePrivate is a EndpointType enum value
    EndpointTypePrivate = "PRIVATE"
)

The endpoint type. The valid values are EDGE for edge-optimized API setup, most suitable for mobile applications; REGIONAL for regional API endpoint setup, most suitable for calling from AWS Region; and PRIVATE for private APIs.

const (
    // GatewayResponseTypeDefault4xx is a GatewayResponseType enum value
    GatewayResponseTypeDefault4xx = "DEFAULT_4XX"

    // GatewayResponseTypeDefault5xx is a GatewayResponseType enum value
    GatewayResponseTypeDefault5xx = "DEFAULT_5XX"

    // GatewayResponseTypeResourceNotFound is a GatewayResponseType enum value
    GatewayResponseTypeResourceNotFound = "RESOURCE_NOT_FOUND"

    // GatewayResponseTypeUnauthorized is a GatewayResponseType enum value
    GatewayResponseTypeUnauthorized = "UNAUTHORIZED"

    // GatewayResponseTypeInvalidApiKey is a GatewayResponseType enum value
    GatewayResponseTypeInvalidApiKey = "INVALID_API_KEY"

    // GatewayResponseTypeAccessDenied is a GatewayResponseType enum value
    GatewayResponseTypeAccessDenied = "ACCESS_DENIED"

    // GatewayResponseTypeAuthorizerFailure is a GatewayResponseType enum value
    GatewayResponseTypeAuthorizerFailure = "AUTHORIZER_FAILURE"

    // GatewayResponseTypeAuthorizerConfigurationError is a GatewayResponseType enum value
    GatewayResponseTypeAuthorizerConfigurationError = "AUTHORIZER_CONFIGURATION_ERROR"

    // GatewayResponseTypeInvalidSignature is a GatewayResponseType enum value
    GatewayResponseTypeInvalidSignature = "INVALID_SIGNATURE"

    // GatewayResponseTypeExpiredToken is a GatewayResponseType enum value
    GatewayResponseTypeExpiredToken = "EXPIRED_TOKEN"

    // GatewayResponseTypeMissingAuthenticationToken is a GatewayResponseType enum value
    GatewayResponseTypeMissingAuthenticationToken = "MISSING_AUTHENTICATION_TOKEN"

    // GatewayResponseTypeIntegrationFailure is a GatewayResponseType enum value
    GatewayResponseTypeIntegrationFailure = "INTEGRATION_FAILURE"

    // GatewayResponseTypeIntegrationTimeout is a GatewayResponseType enum value
    GatewayResponseTypeIntegrationTimeout = "INTEGRATION_TIMEOUT"

    // GatewayResponseTypeApiConfigurationError is a GatewayResponseType enum value
    GatewayResponseTypeApiConfigurationError = "API_CONFIGURATION_ERROR"

    // GatewayResponseTypeUnsupportedMediaType is a GatewayResponseType enum value
    GatewayResponseTypeUnsupportedMediaType = "UNSUPPORTED_MEDIA_TYPE"

    // GatewayResponseTypeBadRequestParameters is a GatewayResponseType enum value
    GatewayResponseTypeBadRequestParameters = "BAD_REQUEST_PARAMETERS"

    // GatewayResponseTypeBadRequestBody is a GatewayResponseType enum value
    GatewayResponseTypeBadRequestBody = "BAD_REQUEST_BODY"

    // GatewayResponseTypeRequestTooLarge is a GatewayResponseType enum value
    GatewayResponseTypeRequestTooLarge = "REQUEST_TOO_LARGE"

    // GatewayResponseTypeThrottled is a GatewayResponseType enum value
    GatewayResponseTypeThrottled = "THROTTLED"

    // GatewayResponseTypeQuotaExceeded is a GatewayResponseType enum value
    GatewayResponseTypeQuotaExceeded = "QUOTA_EXCEEDED"

    // GatewayResponseTypeWafFiltered is a GatewayResponseType enum value
    GatewayResponseTypeWafFiltered = "WAF_FILTERED"
)
const (
    // IntegrationTypeHttp is a IntegrationType enum value
    IntegrationTypeHttp = "HTTP"

    // IntegrationTypeAws is a IntegrationType enum value
    IntegrationTypeAws = "AWS"

    // IntegrationTypeMock is a IntegrationType enum value
    IntegrationTypeMock = "MOCK"

    // IntegrationTypeHttpProxy is a IntegrationType enum value
    IntegrationTypeHttpProxy = "HTTP_PROXY"

    // IntegrationTypeAwsProxy is a IntegrationType enum value
    IntegrationTypeAwsProxy = "AWS_PROXY"
)

The integration type. The valid value is HTTP for integrating an API method with an HTTP backend; AWS with any Amazon Web Services service endpoints; MOCK for testing without actually invoking the backend; HTTP_PROXY for integrating with the HTTP proxy integration; AWS_PROXY for integrating with the Lambda proxy integration.

const (
    // LocationStatusTypeDocumented is a LocationStatusType enum value
    LocationStatusTypeDocumented = "DOCUMENTED"

    // LocationStatusTypeUndocumented is a LocationStatusType enum value
    LocationStatusTypeUndocumented = "UNDOCUMENTED"
)
const (
    // OpAdd is a Op enum value
    OpAdd = "add"

    // OpRemove is a Op enum value
    OpRemove = "remove"

    // OpReplace is a Op enum value
    OpReplace = "replace"

    // OpMove is a Op enum value
    OpMove = "move"

    // OpCopy is a Op enum value
    OpCopy = "copy"

    // OpTest is a Op enum value
    OpTest = "test"
)
const (
    // PutModeMerge is a PutMode enum value
    PutModeMerge = "merge"

    // PutModeOverwrite is a PutMode enum value
    PutModeOverwrite = "overwrite"
)
const (
    // QuotaPeriodTypeDay is a QuotaPeriodType enum value
    QuotaPeriodTypeDay = "DAY"

    // QuotaPeriodTypeWeek is a QuotaPeriodType enum value
    QuotaPeriodTypeWeek = "WEEK"

    // QuotaPeriodTypeMonth is a QuotaPeriodType enum value
    QuotaPeriodTypeMonth = "MONTH"
)
const (
    // SecurityPolicyTls10 is a SecurityPolicy enum value
    SecurityPolicyTls10 = "TLS_1_0"

    // SecurityPolicyTls12 is a SecurityPolicy enum value
    SecurityPolicyTls12 = "TLS_1_2"
)
const (
    // UnauthorizedCacheControlHeaderStrategyFailWith403 is a UnauthorizedCacheControlHeaderStrategy enum value
    UnauthorizedCacheControlHeaderStrategyFailWith403 = "FAIL_WITH_403"

    // UnauthorizedCacheControlHeaderStrategySucceedWithResponseHeader is a UnauthorizedCacheControlHeaderStrategy enum value
    UnauthorizedCacheControlHeaderStrategySucceedWithResponseHeader = "SUCCEED_WITH_RESPONSE_HEADER"

    // UnauthorizedCacheControlHeaderStrategySucceedWithoutResponseHeader is a UnauthorizedCacheControlHeaderStrategy enum value
    UnauthorizedCacheControlHeaderStrategySucceedWithoutResponseHeader = "SUCCEED_WITHOUT_RESPONSE_HEADER"
)
const (
    // VpcLinkStatusAvailable is a VpcLinkStatus enum value
    VpcLinkStatusAvailable = "AVAILABLE"

    // VpcLinkStatusPending is a VpcLinkStatus enum value
    VpcLinkStatusPending = "PENDING"

    // VpcLinkStatusDeleting is a VpcLinkStatus enum value
    VpcLinkStatusDeleting = "DELETING"

    // VpcLinkStatusFailed is a VpcLinkStatus enum value
    VpcLinkStatusFailed = "FAILED"
)
const (

    // ErrCodeBadRequestException for service response error code
    // "BadRequestException".
    //
    // The submitted request is not valid, for example, the input is incomplete
    // or incorrect. See the accompanying error message for details.
    ErrCodeBadRequestException = "BadRequestException"

    // ErrCodeConflictException for service response error code
    // "ConflictException".
    //
    // The request configuration has conflicts. For details, see the accompanying
    // error message.
    ErrCodeConflictException = "ConflictException"

    // ErrCodeLimitExceededException for service response error code
    // "LimitExceededException".
    //
    // The request exceeded the rate limit. Retry after the specified time period.
    ErrCodeLimitExceededException = "LimitExceededException"

    // ErrCodeNotFoundException for service response error code
    // "NotFoundException".
    //
    // The requested resource is not found. Make sure that the request URI is correct.
    ErrCodeNotFoundException = "NotFoundException"

    // ErrCodeServiceUnavailableException for service response error code
    // "ServiceUnavailableException".
    //
    // The requested service is not available. For details see the accompanying
    // error message. Retry after the specified time period.
    ErrCodeServiceUnavailableException = "ServiceUnavailableException"

    // ErrCodeTooManyRequestsException for service response error code
    // "TooManyRequestsException".
    //
    // The request has reached its throttling limit. Retry after the specified time
    // period.
    ErrCodeTooManyRequestsException = "TooManyRequestsException"

    // ErrCodeUnauthorizedException for service response error code
    // "UnauthorizedException".
    //
    // The request is denied because the caller has insufficient permissions.
    ErrCodeUnauthorizedException = "UnauthorizedException"
)
const (
    ServiceName = "apigateway"  // Name of service.
    EndpointsID = ServiceName   // ID to lookup a service endpoint with.
    ServiceID   = "API Gateway" // ServiceID is a unique identifier of a specific service.
)

Service information constants

const (
    // ApiKeysFormatCsv is a ApiKeysFormat enum value
    ApiKeysFormatCsv = "csv"
)

func ApiKeySourceType_Values

func ApiKeySourceType_Values() []string

ApiKeySourceType_Values returns all elements of the ApiKeySourceType enum

func ApiKeysFormat_Values

func ApiKeysFormat_Values() []string

ApiKeysFormat_Values returns all elements of the ApiKeysFormat enum

func AuthorizerType_Values

func AuthorizerType_Values() []string

AuthorizerType_Values returns all elements of the AuthorizerType enum

func CacheClusterSize_Values

func CacheClusterSize_Values() []string

CacheClusterSize_Values returns all elements of the CacheClusterSize enum

func CacheClusterStatus_Values

func CacheClusterStatus_Values() []string

CacheClusterStatus_Values returns all elements of the CacheClusterStatus enum

func ConnectionType_Values

func ConnectionType_Values() []string

ConnectionType_Values returns all elements of the ConnectionType enum

func ContentHandlingStrategy_Values

func ContentHandlingStrategy_Values() []string

ContentHandlingStrategy_Values returns all elements of the ContentHandlingStrategy enum

func DocumentationPartType_Values

func DocumentationPartType_Values() []string

DocumentationPartType_Values returns all elements of the DocumentationPartType enum

func DomainNameStatus_Values

func DomainNameStatus_Values() []string

DomainNameStatus_Values returns all elements of the DomainNameStatus enum

func EndpointType_Values

func EndpointType_Values() []string

EndpointType_Values returns all elements of the EndpointType enum

func GatewayResponseType_Values

func GatewayResponseType_Values() []string

GatewayResponseType_Values returns all elements of the GatewayResponseType enum

func IntegrationType_Values

func IntegrationType_Values() []string

IntegrationType_Values returns all elements of the IntegrationType enum

func LocationStatusType_Values

func LocationStatusType_Values() []string

LocationStatusType_Values returns all elements of the LocationStatusType enum

func Op_Values

func Op_Values() []string

Op_Values returns all elements of the Op enum

func PutMode_Values

func PutMode_Values() []string

PutMode_Values returns all elements of the PutMode enum

func QuotaPeriodType_Values

func QuotaPeriodType_Values() []string

QuotaPeriodType_Values returns all elements of the QuotaPeriodType enum

func SecurityPolicy_Values

func SecurityPolicy_Values() []string

SecurityPolicy_Values returns all elements of the SecurityPolicy enum

func UnauthorizedCacheControlHeaderStrategy_Values

func UnauthorizedCacheControlHeaderStrategy_Values() []string

UnauthorizedCacheControlHeaderStrategy_Values returns all elements of the UnauthorizedCacheControlHeaderStrategy enum

func VpcLinkStatus_Values

func VpcLinkStatus_Values() []string

VpcLinkStatus_Values returns all elements of the VpcLinkStatus enum

type 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.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *APIGateway

New creates a new instance of the APIGateway client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a APIGateway client from just a session.
svc := apigateway.New(mySession)

// Create a APIGateway client with additional configuration
svc := apigateway.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*APIGateway) CreateApiKey

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

CreateApiKey API operation for Amazon API Gateway.

Create 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 CreateApiKey for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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.

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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) CreateDocumentationPart

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

CreateDocumentationPart API operation for Amazon API Gateway.

Creates a documentation part.

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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) CreateDocumentationVersion

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

CreateDocumentationVersion API operation for Amazon API Gateway.

Creates a documentation version

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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) CreateRequestValidator

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

CreateRequestValidator API operation for Amazon API Gateway.

Creates 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 CreateRequestValidator for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) DeleteAuthorizer

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

DeleteAuthorizer API operation for Amazon API Gateway.

Deletes an existing Authorizer 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 DeleteAuthorizer for usage and error information.

Returned Error Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) DeleteDocumentationPart

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

DeleteDocumentationPart API operation for Amazon API Gateway.

Deletes a documentation part

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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) DeleteDocumentationVersion

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

DeleteDocumentationVersion API operation for Amazon API Gateway.

Deletes a documentation version.

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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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 *apigateway.GetApiKeysOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) GetAuthorizer

func (c *APIGateway) GetAuthorizer(input *GetAuthorizerInput) (*Authorizer, error)

GetAuthorizer API operation for Amazon API Gateway.

Describe an existing Authorizer 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 GetAuthorizer for usage and error information.

Returned Error Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) GetAuthorizers

func (c *APIGateway) GetAuthorizers(input *GetAuthorizersInput) (*GetAuthorizersOutput, error)

GetAuthorizers API operation for Amazon API Gateway.

Describe an existing Authorizers 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 GetAuthorizers for usage and error information.

Returned Error Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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 *apigateway.GetBasePathMappingsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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 *apigateway.GetClientCertificatesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

func (*APIGateway) 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 *apigateway.GetDeploymentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) GetDocumentationPart

func (c *APIGateway) GetDocumentationPart(input *GetDocumentationPartInput) (*DocumentationPart, error)

GetDocumentationPart API operation for Amazon API Gateway.

Gets a documentation part.

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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) GetDocumentationParts

func (c *APIGateway) GetDocumentationParts(input *GetDocumentationPartsInput) (*GetDocumentationPartsOutput, error)

GetDocumentationParts API operation for Amazon API Gateway.

Gets documentation parts.

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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) GetDocumentationVersion

func (c *APIGateway) GetDocumentationVersion(input *GetDocumentationVersionInput) (*DocumentationVersion, error)

GetDocumentationVersion API operation for Amazon API Gateway.

Gets a documentation version.

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 Types:

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) GetDocumentationVersions

func (c *APIGateway) GetDocumentationVersions(input *GetDocumentationVersionsInput) (*GetDocumentationVersionsOutput, error)

GetDocumentationVersions API operation for Amazon API Gateway.

Gets documentation versions.

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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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 *apigateway.GetDomainNamesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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 Types:

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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 *apigateway.GetModelsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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 *apigateway.GetResourcesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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 *apigateway.GetRestApisOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) GetSdkType

func (c *APIGateway) GetSdkType(input *GetSdkTypeInput) (*SdkType, error)

GetSdkType API operation for Amazon API Gateway.

Gets an SDK type.

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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) GetSdkTypes

func (c *APIGateway) GetSdkTypes(input *GetSdkTypesInput) (*GetSdkTypesOutput, error)

GetSdkTypes API operation for Amazon API Gateway.

Gets SDK 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 GetSdkTypes for usage and error information.

Returned Error Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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 *apigateway.Usage, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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 *apigateway.GetUsagePlanKeysOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

func (*APIGateway) 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 *apigateway.GetUsagePlansOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

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 Types:

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

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

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

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

func (*APIGateway) 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 *apigateway.GetVpcLinksOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*APIGateway) 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.

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) ImportDocumentationParts

func (c *APIGateway) ImportDocumentationParts(input *ImportDocumentationPartsInput) (*ImportDocumentationPartsOutput, error)

ImportDocumentationParts API operation for Amazon API Gateway.

Imports documentation parts

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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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.

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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) TestInvokeMethod

func (c *APIGateway) TestInvokeMethod(input *TestInvokeMethodInput) (*TestInvokeMethodOutput, error)

TestInvokeMethod API operation for Amazon API Gateway.

Simulate the invocation 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 Types:

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) UpdateAuthorizer

func (c *APIGateway) UpdateAuthorizer(input *UpdateAuthorizerInput) (*Authorizer, error)

UpdateAuthorizer API operation for Amazon API Gateway.

Updates an existing Authorizer 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 UpdateAuthorizer for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 Types:

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

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) UpdateDocumentationPart

func (c *APIGateway) UpdateDocumentationPart(input *UpdateDocumentationPartInput) (*DocumentationPart, error)

UpdateDocumentationPart API operation for Amazon API Gateway.

Updates a documentation part.

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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) UpdateDocumentationVersion

func (c *APIGateway) UpdateDocumentationVersion(input *UpdateDocumentationVersionInput) (*DocumentationVersion, error)

UpdateDocumentationVersion API operation for Amazon API Gateway.

Updates a documentation version.

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 Types:

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

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

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

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

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

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

func (*APIGateway) 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)
}

func (*APIGateway) 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.

func (*APIGateway) 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 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 UpdateDomainName for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) UpdateDomainNameRequest

func (c *APIGateway) UpdateDomainNameRequest(input *UpdateDomainNameInput) (req *request.Request, output *DomainName)

UpdateDomainNameRequest generates a "aws/request.Request" representing the client's request for the UpdateDomainName 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 UpdateDomainName for more information on using the UpdateDomainName 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 UpdateDomainNameRequest method.
req, resp := client.UpdateDomainNameRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateDomainNameWithContext

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

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

See UpdateDomainName 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.

func (*APIGateway) UpdateGatewayResponse

func (c *APIGateway) UpdateGatewayResponse(input *UpdateGatewayResponseInput) (*UpdateGatewayResponseOutput, error)

UpdateGatewayResponse API operation for Amazon API Gateway.

Updates 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 UpdateGatewayResponse for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) UpdateGatewayResponseRequest

func (c *APIGateway) UpdateGatewayResponseRequest(input *UpdateGatewayResponseInput) (req *request.Request, output *UpdateGatewayResponseOutput)

UpdateGatewayResponseRequest generates a "aws/request.Request" representing the client's request for the UpdateGatewayResponse 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 UpdateGatewayResponse for more information on using the UpdateGatewayResponse 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 UpdateGatewayResponseRequest method.
req, resp := client.UpdateGatewayResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateGatewayResponseWithContext

func (c *APIGateway) UpdateGatewayResponseWithContext(ctx aws.Context, input *UpdateGatewayResponseInput, opts ...request.Option) (*UpdateGatewayResponseOutput, error)

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

See UpdateGatewayResponse 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.

func (*APIGateway) UpdateIntegration

func (c *APIGateway) UpdateIntegration(input *UpdateIntegrationInput) (*Integration, error)

UpdateIntegration API operation for Amazon API Gateway.

Represents an update 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 UpdateIntegration for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) UpdateIntegrationRequest

func (c *APIGateway) UpdateIntegrationRequest(input *UpdateIntegrationInput) (req *request.Request, output *Integration)

UpdateIntegrationRequest generates a "aws/request.Request" representing the client's request for the UpdateIntegration 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 UpdateIntegration for more information on using the UpdateIntegration 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 UpdateIntegrationRequest method.
req, resp := client.UpdateIntegrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateIntegrationResponse

func (c *APIGateway) UpdateIntegrationResponse(input *UpdateIntegrationResponseInput) (*IntegrationResponse, error)

UpdateIntegrationResponse API operation for Amazon API Gateway.

Represents an update 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 UpdateIntegrationResponse for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) UpdateIntegrationResponseRequest

func (c *APIGateway) UpdateIntegrationResponseRequest(input *UpdateIntegrationResponseInput) (req *request.Request, output *IntegrationResponse)

UpdateIntegrationResponseRequest generates a "aws/request.Request" representing the client's request for the UpdateIntegrationResponse 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 UpdateIntegrationResponse for more information on using the UpdateIntegrationResponse 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 UpdateIntegrationResponseRequest method.
req, resp := client.UpdateIntegrationResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateIntegrationResponseWithContext

func (c *APIGateway) UpdateIntegrationResponseWithContext(ctx aws.Context, input *UpdateIntegrationResponseInput, opts ...request.Option) (*IntegrationResponse, error)

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

See UpdateIntegrationResponse 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.

func (*APIGateway) UpdateIntegrationWithContext

func (c *APIGateway) UpdateIntegrationWithContext(ctx aws.Context, input *UpdateIntegrationInput, opts ...request.Option) (*Integration, error)

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

See UpdateIntegration 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.

func (*APIGateway) UpdateMethod

func (c *APIGateway) UpdateMethod(input *UpdateMethodInput) (*Method, error)

UpdateMethod API operation for Amazon API Gateway.

Updates 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 UpdateMethod for usage and error information.

Returned Error Types:

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

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

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

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

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

func (*APIGateway) UpdateMethodRequest

func (c *APIGateway) UpdateMethodRequest(input *UpdateMethodInput) (req *request.Request, output *Method)

UpdateMethodRequest generates a "aws/request.Request" representing the client's request for the UpdateMethod 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 UpdateMethod for more information on using the UpdateMethod 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 UpdateMethodRequest method.
req, resp := client.UpdateMethodRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateMethodResponse

func (c *APIGateway) UpdateMethodResponse(input *UpdateMethodResponseInput) (*MethodResponse, error)

UpdateMethodResponse API operation for Amazon API Gateway.

Updates 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 UpdateMethodResponse for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) UpdateMethodResponseRequest

func (c *APIGateway) UpdateMethodResponseRequest(input *UpdateMethodResponseInput) (req *request.Request, output *MethodResponse)

UpdateMethodResponseRequest generates a "aws/request.Request" representing the client's request for the UpdateMethodResponse 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 UpdateMethodResponse for more information on using the UpdateMethodResponse 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 UpdateMethodResponseRequest method.
req, resp := client.UpdateMethodResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateMethodResponseWithContext

func (c *APIGateway) UpdateMethodResponseWithContext(ctx aws.Context, input *UpdateMethodResponseInput, opts ...request.Option) (*MethodResponse, error)

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

See UpdateMethodResponse 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.

func (*APIGateway) UpdateMethodWithContext

func (c *APIGateway) UpdateMethodWithContext(ctx aws.Context, input *UpdateMethodInput, opts ...request.Option) (*Method, error)

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

See UpdateMethod 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.

func (*APIGateway) UpdateModel

func (c *APIGateway) UpdateModel(input *UpdateModelInput) (*Model, error)

UpdateModel API operation for Amazon API Gateway.

Changes information about a model. The maximum size of the model is 400 KB.

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 UpdateModel for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) UpdateModelRequest

func (c *APIGateway) UpdateModelRequest(input *UpdateModelInput) (req *request.Request, output *Model)

UpdateModelRequest generates a "aws/request.Request" representing the client's request for the UpdateModel 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 UpdateModel for more information on using the UpdateModel 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 UpdateModelRequest method.
req, resp := client.UpdateModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateModelWithContext

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

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

See UpdateModel 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.

func (*APIGateway) UpdateRequestValidator

func (c *APIGateway) UpdateRequestValidator(input *UpdateRequestValidatorInput) (*UpdateRequestValidatorOutput, error)

UpdateRequestValidator API operation for Amazon API Gateway.

Updates 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 UpdateRequestValidator for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) UpdateRequestValidatorRequest

func (c *APIGateway) UpdateRequestValidatorRequest(input *UpdateRequestValidatorInput) (req *request.Request, output *UpdateRequestValidatorOutput)

UpdateRequestValidatorRequest generates a "aws/request.Request" representing the client's request for the UpdateRequestValidator 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 UpdateRequestValidator for more information on using the UpdateRequestValidator 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 UpdateRequestValidatorRequest method.
req, resp := client.UpdateRequestValidatorRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateRequestValidatorWithContext

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

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

See UpdateRequestValidator 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.

func (*APIGateway) UpdateResource

func (c *APIGateway) UpdateResource(input *UpdateResourceInput) (*Resource, error)

UpdateResource API operation for Amazon API Gateway.

Changes information about 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 UpdateResource for usage and error information.

Returned Error Types:

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

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

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

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

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

func (*APIGateway) UpdateResourceRequest

func (c *APIGateway) UpdateResourceRequest(input *UpdateResourceInput) (req *request.Request, output *Resource)

UpdateResourceRequest generates a "aws/request.Request" representing the client's request for the UpdateResource 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 UpdateResource for more information on using the UpdateResource 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 UpdateResourceRequest method.
req, resp := client.UpdateResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateResourceWithContext

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

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

See UpdateResource 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.

func (*APIGateway) UpdateRestApi

func (c *APIGateway) UpdateRestApi(input *UpdateRestApiInput) (*RestApi, error)

UpdateRestApi API operation for Amazon API Gateway.

Changes information about 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 UpdateRestApi for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) UpdateRestApiRequest

func (c *APIGateway) UpdateRestApiRequest(input *UpdateRestApiInput) (req *request.Request, output *RestApi)

UpdateRestApiRequest generates a "aws/request.Request" representing the client's request for the UpdateRestApi 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 UpdateRestApi for more information on using the UpdateRestApi 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 UpdateRestApiRequest method.
req, resp := client.UpdateRestApiRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateRestApiWithContext

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

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

See UpdateRestApi 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.

func (*APIGateway) UpdateStage

func (c *APIGateway) UpdateStage(input *UpdateStageInput) (*Stage, error)

UpdateStage API operation for Amazon API Gateway.

Changes 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 UpdateStage for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) UpdateStageRequest

func (c *APIGateway) UpdateStageRequest(input *UpdateStageInput) (req *request.Request, output *Stage)

UpdateStageRequest generates a "aws/request.Request" representing the client's request for the UpdateStage 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 UpdateStage for more information on using the UpdateStage 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 UpdateStageRequest method.
req, resp := client.UpdateStageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateStageWithContext

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

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

See UpdateStage 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.

func (*APIGateway) UpdateUsage

func (c *APIGateway) UpdateUsage(input *UpdateUsageInput) (*Usage, error)

UpdateUsage API operation for Amazon API Gateway.

Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.

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 UpdateUsage for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) UpdateUsagePlan

func (c *APIGateway) UpdateUsagePlan(input *UpdateUsagePlanInput) (*UsagePlan, error)

UpdateUsagePlan API operation for Amazon API Gateway.

Updates 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 UpdateUsagePlan for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) UpdateUsagePlanRequest

func (c *APIGateway) UpdateUsagePlanRequest(input *UpdateUsagePlanInput) (req *request.Request, output *UsagePlan)

UpdateUsagePlanRequest generates a "aws/request.Request" representing the client's request for the UpdateUsagePlan 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 UpdateUsagePlan for more information on using the UpdateUsagePlan 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 UpdateUsagePlanRequest method.
req, resp := client.UpdateUsagePlanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateUsagePlanWithContext

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

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

See UpdateUsagePlan 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.

func (*APIGateway) UpdateUsageRequest

func (c *APIGateway) UpdateUsageRequest(input *UpdateUsageInput) (req *request.Request, output *Usage)

UpdateUsageRequest generates a "aws/request.Request" representing the client's request for the UpdateUsage 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 UpdateUsage for more information on using the UpdateUsage 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 UpdateUsageRequest method.
req, resp := client.UpdateUsageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateUsageWithContext

func (c *APIGateway) UpdateUsageWithContext(ctx aws.Context, input *UpdateUsageInput, opts ...request.Option) (*Usage, error)

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

See UpdateUsage 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.

func (c *APIGateway) UpdateVpcLink(input *UpdateVpcLinkInput) (*UpdateVpcLinkOutput, error)

UpdateVpcLink API operation for Amazon API Gateway.

Updates 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 UpdateVpcLink for usage and error information.

Returned Error Types:

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

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

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

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

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

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

func (*APIGateway) UpdateVpcLinkRequest

func (c *APIGateway) UpdateVpcLinkRequest(input *UpdateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput)

UpdateVpcLinkRequest generates a "aws/request.Request" representing the client's request for the UpdateVpcLink 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 UpdateVpcLink for more information on using the UpdateVpcLink 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 UpdateVpcLinkRequest method.
req, resp := client.UpdateVpcLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*APIGateway) UpdateVpcLinkWithContext

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

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

See UpdateVpcLink 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.

type AccessLogSettings

type AccessLogSettings struct {

    // The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis
    // Data Firehose delivery stream to receive access logs. If you specify a Kinesis
    // Data Firehose delivery stream, the stream name must begin with amazon-apigateway-.
    DestinationArn *string `locationName:"destinationArn" type:"string"`

    // A single line format of the access logs of data, as specified by selected
    // $context variables. The format must include at least $context.requestId.
    Format *string `locationName:"format" type:"string"`
    // contains filtered or unexported fields
}

Access log settings, including the access log format and access log destination ARN.

func (AccessLogSettings) GoString

func (s AccessLogSettings) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessLogSettings) SetDestinationArn

func (s *AccessLogSettings) SetDestinationArn(v string) *AccessLogSettings

SetDestinationArn sets the DestinationArn field's value.

func (*AccessLogSettings) SetFormat

func (s *AccessLogSettings) SetFormat(v string) *AccessLogSettings

SetFormat sets the Format field's value.

func (AccessLogSettings) String

func (s AccessLogSettings) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Account

type Account struct {

    // The version of the API keys used for the account.
    ApiKeyVersion *string `locationName:"apiKeyVersion" type:"string"`

    // The ARN of an Amazon CloudWatch role for the current Account.
    CloudwatchRoleArn *string `locationName:"cloudwatchRoleArn" type:"string"`

    // A list of features supported for the account. When usage plans are enabled,
    // the features list will include an entry of "UsagePlans".
    Features []*string `locationName:"features" type:"list"`

    // Specifies the API request limits configured for the current Account.
    ThrottleSettings *ThrottleSettings `locationName:"throttleSettings" type:"structure"`
    // contains filtered or unexported fields
}

Represents an AWS account that is associated with API Gateway.

func (Account) GoString

func (s Account) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Account) SetApiKeyVersion

func (s *Account) SetApiKeyVersion(v string) *Account

SetApiKeyVersion sets the ApiKeyVersion field's value.

func (*Account) SetCloudwatchRoleArn

func (s *Account) SetCloudwatchRoleArn(v string) *Account

SetCloudwatchRoleArn sets the CloudwatchRoleArn field's value.

func (*Account) SetFeatures

func (s *Account) SetFeatures(v []*string) *Account

SetFeatures sets the Features field's value.

func (*Account) SetThrottleSettings

func (s *Account) SetThrottleSettings(v *ThrottleSettings) *Account

SetThrottleSettings sets the ThrottleSettings field's value.

func (Account) String

func (s Account) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApiKey

type ApiKey struct {

    // The timestamp when the API Key was created.
    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

    // An Amazon Web Services Marketplace customer identifier, when integrating
    // with the Amazon Web Services SaaS Marketplace.
    CustomerId *string `locationName:"customerId" type:"string"`

    // The description of the API Key.
    Description *string `locationName:"description" type:"string"`

    // Specifies whether the API Key can be used by callers.
    Enabled *bool `locationName:"enabled" type:"boolean"`

    // The identifier of the API Key.
    Id *string `locationName:"id" type:"string"`

    // The timestamp when the API Key was last updated.
    LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"`

    // The name of the API Key.
    Name *string `locationName:"name" type:"string"`

    // A list of Stage resources that are associated with the ApiKey resource.
    StageKeys []*string `locationName:"stageKeys" type:"list"`

    // The collection of tags. Each tag element is associated with a given resource.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // The value of the API Key.
    Value *string `locationName:"value" type:"string"`
    // contains filtered or unexported fields
}

A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.

func (ApiKey) GoString

func (s ApiKey) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApiKey) SetCreatedDate

func (s *ApiKey) SetCreatedDate(v time.Time) *ApiKey

SetCreatedDate sets the CreatedDate field's value.

func (*ApiKey) SetCustomerId

func (s *ApiKey) SetCustomerId(v string) *ApiKey

SetCustomerId sets the CustomerId field's value.

func (*ApiKey) SetDescription

func (s *ApiKey) SetDescription(v string) *ApiKey

SetDescription sets the Description field's value.

func (*ApiKey) SetEnabled

func (s *ApiKey) SetEnabled(v bool) *ApiKey

SetEnabled sets the Enabled field's value.

func (*ApiKey) SetId

func (s *ApiKey) SetId(v string) *ApiKey

SetId sets the Id field's value.

func (*ApiKey) SetLastUpdatedDate

func (s *ApiKey) SetLastUpdatedDate(v time.Time) *ApiKey

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*ApiKey) SetName

func (s *ApiKey) SetName(v string) *ApiKey

SetName sets the Name field's value.

func (*ApiKey) SetStageKeys

func (s *ApiKey) SetStageKeys(v []*string) *ApiKey

SetStageKeys sets the StageKeys field's value.

func (*ApiKey) SetTags

func (s *ApiKey) SetTags(v map[string]*string) *ApiKey

SetTags sets the Tags field's value.

func (*ApiKey) SetValue

func (s *ApiKey) SetValue(v string) *ApiKey

SetValue sets the Value field's value.

func (ApiKey) String

func (s ApiKey) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApiStage

type ApiStage struct {

    // API Id of the associated API stage in a usage plan.
    ApiId *string `locationName:"apiId" type:"string"`

    // API stage name of the associated API stage in a usage plan.
    Stage *string `locationName:"stage" type:"string"`

    // Map containing method level throttling information for API stage in a usage
    // plan.
    Throttle map[string]*ThrottleSettings `locationName:"throttle" type:"map"`
    // contains filtered or unexported fields
}

API stage name of the associated API stage in a usage plan.

func (ApiStage) GoString

func (s ApiStage) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApiStage) SetApiId

func (s *ApiStage) SetApiId(v string) *ApiStage

SetApiId sets the ApiId field's value.

func (*ApiStage) SetStage

func (s *ApiStage) SetStage(v string) *ApiStage

SetStage sets the Stage field's value.

func (*ApiStage) SetThrottle

func (s *ApiStage) SetThrottle(v map[string]*ThrottleSettings) *ApiStage

SetThrottle sets the Throttle field's value.

func (ApiStage) String

func (s ApiStage) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Authorizer

type Authorizer struct {

    // Optional customer-defined field, used in OpenAPI imports and exports without
    // functional impact.
    AuthType *string `locationName:"authType" type:"string"`

    // Specifies the required credentials as an IAM role for API Gateway to invoke
    // the authorizer. To specify an IAM role for API Gateway to assume, use the
    // role's Amazon Resource Name (ARN). To use resource-based permissions on the
    // Lambda function, specify null.
    AuthorizerCredentials *string `locationName:"authorizerCredentials" type:"string"`

    // The TTL in seconds of cached authorizer results. If it equals 0, authorization
    // caching is disabled. If it is greater than 0, API Gateway will cache authorizer
    // responses. If this field is not set, the default value is 300. The maximum
    // value is 3600, or 1 hour.
    AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

    // Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or
    // REQUEST authorizers, this must be a well-formed Lambda function URI, for
    // example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations.
    // In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api},
    // where {region} is the same as the region hosting the Lambda function, path
    // indicates that the remaining substring in the URI should be treated as the
    // path to the resource, including the initial /. For Lambda functions, this
    // is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.
    AuthorizerUri *string `locationName:"authorizerUri" type:"string"`

    // The identifier for the authorizer resource.
    Id *string `locationName:"id" type:"string"`

    // The identity source for which authorization is requested. For a TOKEN or
    // COGNITO_USER_POOLS authorizer, this is required and specifies the request
    // header mapping expression for the custom header holding the authorization
    // token submitted by the client. For example, if the token header name is Auth,
    // the header mapping expression is method.request.header.Auth. For the REQUEST
    // authorizer, this is required when authorization caching is enabled. The value
    // is a comma-separated string of one or more mapping expressions of the specified
    // request parameters. For example, if an Auth header, a Name query string parameter
    // are defined as identity sources, this value is method.request.header.Auth,
    // method.request.querystring.Name. These parameters will be used to derive
    // the authorization caching key and to perform runtime validation of the REQUEST
    // authorizer by verifying all of the identity-related request parameters are
    // present, not null and non-empty. Only when this is true does the authorizer
    // invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized
    // response without calling the Lambda function. The valid value is a string
    // of comma-separated mapping expressions of the specified request parameters.
    // When the authorization caching is not enabled, this property is optional.
    IdentitySource *string `locationName:"identitySource" type:"string"`

    // A validation expression for the incoming identity token. For TOKEN authorizers,
    // this value is a regular expression. For COGNITO_USER_POOLS authorizers, API
    // Gateway will match the aud field of the incoming token from the client against
    // the specified regular expression. It will invoke the authorizer's Lambda
    // function when there is a match. Otherwise, it will return a 401 Unauthorized
    // response without calling the Lambda function. The validation expression does
    // not apply to the REQUEST authorizer.
    IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

    // The name of the authorizer.
    Name *string `locationName:"name" type:"string"`

    // A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer.
    // Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}.
    // For a TOKEN or REQUEST authorizer, this is not defined.
    ProviderARNs []*string `locationName:"providerARNs" type:"list"`

    // The authorizer type. Valid values are TOKEN for a Lambda function using a
    // single authorization token submitted in a custom header, REQUEST for a Lambda
    // function using incoming request parameters, and COGNITO_USER_POOLS for using
    // an Amazon Cognito user pool.
    Type *string `locationName:"type" type:"string" enum:"AuthorizerType"`
    // contains filtered or unexported fields
}

Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.

func (Authorizer) GoString

func (s Authorizer) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Authorizer) SetAuthType

func (s *Authorizer) SetAuthType(v string) *Authorizer

SetAuthType sets the AuthType field's value.

func (*Authorizer) SetAuthorizerCredentials

func (s *Authorizer) SetAuthorizerCredentials(v string) *Authorizer

SetAuthorizerCredentials sets the AuthorizerCredentials field's value.

func (*Authorizer) SetAuthorizerResultTtlInSeconds

func (s *Authorizer) SetAuthorizerResultTtlInSeconds(v int64) *Authorizer

SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.

func (*Authorizer) SetAuthorizerUri

func (s *Authorizer) SetAuthorizerUri(v string) *Authorizer

SetAuthorizerUri sets the AuthorizerUri field's value.

func (*Authorizer) SetId

func (s *Authorizer) SetId(v string) *Authorizer

SetId sets the Id field's value.

func (*Authorizer) SetIdentitySource

func (s *Authorizer) SetIdentitySource(v string) *Authorizer

SetIdentitySource sets the IdentitySource field's value.

func (*Authorizer) SetIdentityValidationExpression

func (s *Authorizer) SetIdentityValidationExpression(v string) *Authorizer

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*Authorizer) SetName

func (s *Authorizer) SetName(v string) *Authorizer

SetName sets the Name field's value.

func (*Authorizer) SetProviderARNs

func (s *Authorizer) SetProviderARNs(v []*string) *Authorizer

SetProviderARNs sets the ProviderARNs field's value.

func (*Authorizer) SetType

func (s *Authorizer) SetType(v string) *Authorizer

SetType sets the Type field's value.

func (Authorizer) String

func (s Authorizer) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BadRequestException

type BadRequestException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

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

func (*BadRequestException) Code

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error

func (s *BadRequestException) Error() string

func (BadRequestException) GoString

func (s BadRequestException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BadRequestException) Message

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode

func (s *BadRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BadRequestException) String

func (s BadRequestException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BasePathMapping

type BasePathMapping struct {

    // The base path name that callers of the API must provide as part of the URL
    // after the domain name.
    BasePath *string `locationName:"basePath" type:"string"`

    // The string identifier of the associated RestApi.
    RestApiId *string `locationName:"restApiId" type:"string"`

    // The name of the associated stage.
    Stage *string `locationName:"stage" type:"string"`
    // contains filtered or unexported fields
}

Represents the base path that callers of the API must provide as part of the URL after the domain name.

func (BasePathMapping) GoString

func (s BasePathMapping) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BasePathMapping) SetBasePath

func (s *BasePathMapping) SetBasePath(v string) *BasePathMapping

SetBasePath sets the BasePath field's value.

func (*BasePathMapping) SetRestApiId

func (s *BasePathMapping) SetRestApiId(v string) *BasePathMapping

SetRestApiId sets the RestApiId field's value.

func (*BasePathMapping) SetStage

func (s *BasePathMapping) SetStage(v string) *BasePathMapping

SetStage sets the Stage field's value.

func (BasePathMapping) String

func (s BasePathMapping) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CanarySettings

type CanarySettings struct {

    // The ID of the canary deployment.
    DeploymentId *string `locationName:"deploymentId" type:"string"`

    // The percent (0-100) of traffic diverted to a canary deployment.
    PercentTraffic *float64 `locationName:"percentTraffic" type:"double"`

    // Stage variables overridden for a canary release deployment, including new
    // stage variables introduced in the canary. These stage variables are represented
    // as a string-to-string map between stage variable names and their values.
    StageVariableOverrides map[string]*string `locationName:"stageVariableOverrides" type:"map"`

    // A Boolean flag to indicate whether the canary deployment uses the stage cache
    // or not.
    UseStageCache *bool `locationName:"useStageCache" type:"boolean"`
    // contains filtered or unexported fields
}

Configuration settings of a canary deployment.

func (CanarySettings) GoString

func (s CanarySettings) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CanarySettings) SetDeploymentId

func (s *CanarySettings) SetDeploymentId(v string) *CanarySettings

SetDeploymentId sets the DeploymentId field's value.

func (*CanarySettings) SetPercentTraffic

func (s *CanarySettings) SetPercentTraffic(v float64) *CanarySettings

SetPercentTraffic sets the PercentTraffic field's value.

func (*CanarySettings) SetStageVariableOverrides

func (s *CanarySettings) SetStageVariableOverrides(v map[string]*string) *CanarySettings

SetStageVariableOverrides sets the StageVariableOverrides field's value.

func (*CanarySettings) SetUseStageCache

func (s *CanarySettings) SetUseStageCache(v bool) *CanarySettings

SetUseStageCache sets the UseStageCache field's value.

func (CanarySettings) String

func (s CanarySettings) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ClientCertificate

type ClientCertificate struct {

    // The identifier of the client certificate.
    ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

    // The timestamp when the client certificate was created.
    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

    // The description of the client certificate.
    Description *string `locationName:"description" type:"string"`

    // The timestamp when the client certificate will expire.
    ExpirationDate *time.Time `locationName:"expirationDate" type:"timestamp"`

    // The PEM-encoded public key of the client certificate, which can be used to
    // configure certificate authentication in the integration endpoint .
    PemEncodedCertificate *string `locationName:"pemEncodedCertificate" type:"string"`

    // The collection of tags. Each tag element is associated with a given resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.

func (ClientCertificate) GoString

func (s ClientCertificate) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ClientCertificate) SetClientCertificateId

func (s *ClientCertificate) SetClientCertificateId(v string) *ClientCertificate

SetClientCertificateId sets the ClientCertificateId field's value.

func (*ClientCertificate) SetCreatedDate

func (s *ClientCertificate) SetCreatedDate(v time.Time) *ClientCertificate

SetCreatedDate sets the CreatedDate field's value.

func (*ClientCertificate) SetDescription

func (s *ClientCertificate) SetDescription(v string) *ClientCertificate

SetDescription sets the Description field's value.

func (*ClientCertificate) SetExpirationDate

func (s *ClientCertificate) SetExpirationDate(v time.Time) *ClientCertificate

SetExpirationDate sets the ExpirationDate field's value.

func (*ClientCertificate) SetPemEncodedCertificate

func (s *ClientCertificate) SetPemEncodedCertificate(v string) *ClientCertificate

SetPemEncodedCertificate sets the PemEncodedCertificate field's value.

func (*ClientCertificate) SetTags

func (s *ClientCertificate) SetTags(v map[string]*string) *ClientCertificate

SetTags sets the Tags field's value.

func (ClientCertificate) String

func (s ClientCertificate) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictException

type ConflictException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The request configuration has conflicts. For details, see the accompanying error message.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateApiKeyInput

type CreateApiKeyInput struct {

    // An Amazon Web Services Marketplace customer identifier, when integrating
    // with the Amazon Web Services SaaS Marketplace.
    CustomerId *string `locationName:"customerId" type:"string"`

    // The description of the ApiKey.
    Description *string `locationName:"description" type:"string"`

    // Specifies whether the ApiKey can be used by callers.
    Enabled *bool `locationName:"enabled" type:"boolean"`

    // Specifies whether (true) or not (false) the key identifier is distinct from
    // the created API key value. This parameter is deprecated and should not be
    // used.
    GenerateDistinctId *bool `locationName:"generateDistinctId" type:"boolean"`

    // The name of the ApiKey.
    Name *string `locationName:"name" type:"string"`

    // DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
    StageKeys []*StageKey `locationName:"stageKeys" type:"list"`

    // The key-value map of strings. The valid character set is [a-zA-Z+-=._:/].
    // The tag key can be up to 128 characters and must not start with aws:. The
    // tag value can be up to 256 characters.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // Specifies a value of the API key.
    Value *string `locationName:"value" type:"string"`
    // contains filtered or unexported fields
}

Request to create an ApiKey resource.

func (CreateApiKeyInput) GoString

func (s CreateApiKeyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateApiKeyInput) SetCustomerId

func (s *CreateApiKeyInput) SetCustomerId(v string) *CreateApiKeyInput

SetCustomerId sets the CustomerId field's value.

func (*CreateApiKeyInput) SetDescription

func (s *CreateApiKeyInput) SetDescription(v string) *CreateApiKeyInput

SetDescription sets the Description field's value.

func (*CreateApiKeyInput) SetEnabled

func (s *CreateApiKeyInput) SetEnabled(v bool) *CreateApiKeyInput

SetEnabled sets the Enabled field's value.

func (*CreateApiKeyInput) SetGenerateDistinctId

func (s *CreateApiKeyInput) SetGenerateDistinctId(v bool) *CreateApiKeyInput

SetGenerateDistinctId sets the GenerateDistinctId field's value.

func (*CreateApiKeyInput) SetName

func (s *CreateApiKeyInput) SetName(v string) *CreateApiKeyInput

SetName sets the Name field's value.

func (*CreateApiKeyInput) SetStageKeys

func (s *CreateApiKeyInput) SetStageKeys(v []*StageKey) *CreateApiKeyInput

SetStageKeys sets the StageKeys field's value.

func (*CreateApiKeyInput) SetTags

func (s *CreateApiKeyInput) SetTags(v map[string]*string) *CreateApiKeyInput

SetTags sets the Tags field's value.

func (*CreateApiKeyInput) SetValue

func (s *CreateApiKeyInput) SetValue(v string) *CreateApiKeyInput

SetValue sets the Value field's value.

func (CreateApiKeyInput) String

func (s CreateApiKeyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateAuthorizerInput

type CreateAuthorizerInput struct {

    // Optional customer-defined field, used in OpenAPI imports and exports without
    // functional impact.
    AuthType *string `locationName:"authType" type:"string"`

    // Specifies the required credentials as an IAM role for API Gateway to invoke
    // the authorizer. To specify an IAM role for API Gateway to assume, use the
    // role's Amazon Resource Name (ARN). To use resource-based permissions on the
    // Lambda function, specify null.
    AuthorizerCredentials *string `locationName:"authorizerCredentials" type:"string"`

    // The TTL in seconds of cached authorizer results. If it equals 0, authorization
    // caching is disabled. If it is greater than 0, API Gateway will cache authorizer
    // responses. If this field is not set, the default value is 300. The maximum
    // value is 3600, or 1 hour.
    AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

    // Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or
    // REQUEST authorizers, this must be a well-formed Lambda function URI, for
    // example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations.
    // In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api},
    // where {region} is the same as the region hosting the Lambda function, path
    // indicates that the remaining substring in the URI should be treated as the
    // path to the resource, including the initial /. For Lambda functions, this
    // is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.
    AuthorizerUri *string `locationName:"authorizerUri" type:"string"`

    // The identity source for which authorization is requested. For a TOKEN or
    // COGNITO_USER_POOLS authorizer, this is required and specifies the request
    // header mapping expression for the custom header holding the authorization
    // token submitted by the client. For example, if the token header name is Auth,
    // the header mapping expression is method.request.header.Auth. For the REQUEST
    // authorizer, this is required when authorization caching is enabled. The value
    // is a comma-separated string of one or more mapping expressions of the specified
    // request parameters. For example, if an Auth header, a Name query string parameter
    // are defined as identity sources, this value is method.request.header.Auth,
    // method.request.querystring.Name. These parameters will be used to derive
    // the authorization caching key and to perform runtime validation of the REQUEST
    // authorizer by verifying all of the identity-related request parameters are
    // present, not null and non-empty. Only when this is true does the authorizer
    // invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized
    // response without calling the Lambda function. The valid value is a string
    // of comma-separated mapping expressions of the specified request parameters.
    // When the authorization caching is not enabled, this property is optional.
    IdentitySource *string `locationName:"identitySource" type:"string"`

    // A validation expression for the incoming identity token. For TOKEN authorizers,
    // this value is a regular expression. For COGNITO_USER_POOLS authorizers, API
    // Gateway will match the aud field of the incoming token from the client against
    // the specified regular expression. It will invoke the authorizer's Lambda
    // function when there is a match. Otherwise, it will return a 401 Unauthorized
    // response without calling the Lambda function. The validation expression does
    // not apply to the REQUEST authorizer.
    IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

    // The name of the authorizer.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`

    // A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer.
    // Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}.
    // For a TOKEN or REQUEST authorizer, this is not defined.
    ProviderARNs []*string `locationName:"providerARNs" type:"list"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`

    // The authorizer type. Valid values are TOKEN for a Lambda function using a
    // single authorization token submitted in a custom header, REQUEST for a Lambda
    // function using incoming request parameters, and COGNITO_USER_POOLS for using
    // an Amazon Cognito user pool.
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"AuthorizerType"`
    // contains filtered or unexported fields
}

Request to add a new Authorizer to an existing RestApi resource.

func (CreateAuthorizerInput) GoString

func (s CreateAuthorizerInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAuthorizerInput) SetAuthType

func (s *CreateAuthorizerInput) SetAuthType(v string) *CreateAuthorizerInput

SetAuthType sets the AuthType field's value.

func (*CreateAuthorizerInput) SetAuthorizerCredentials

func (s *CreateAuthorizerInput) SetAuthorizerCredentials(v string) *CreateAuthorizerInput

SetAuthorizerCredentials sets the AuthorizerCredentials field's value.

func (*CreateAuthorizerInput) SetAuthorizerResultTtlInSeconds

func (s *CreateAuthorizerInput) SetAuthorizerResultTtlInSeconds(v int64) *CreateAuthorizerInput

SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.

func (*CreateAuthorizerInput) SetAuthorizerUri

func (s *CreateAuthorizerInput) SetAuthorizerUri(v string) *CreateAuthorizerInput

SetAuthorizerUri sets the AuthorizerUri field's value.

func (*CreateAuthorizerInput) SetIdentitySource

func (s *CreateAuthorizerInput) SetIdentitySource(v string) *CreateAuthorizerInput

SetIdentitySource sets the IdentitySource field's value.

func (*CreateAuthorizerInput) SetIdentityValidationExpression

func (s *CreateAuthorizerInput) SetIdentityValidationExpression(v string) *CreateAuthorizerInput

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*CreateAuthorizerInput) SetName

func (s *CreateAuthorizerInput) SetName(v string) *CreateAuthorizerInput

SetName sets the Name field's value.

func (*CreateAuthorizerInput) SetProviderARNs

func (s *CreateAuthorizerInput) SetProviderARNs(v []*string) *CreateAuthorizerInput

SetProviderARNs sets the ProviderARNs field's value.

func (*CreateAuthorizerInput) SetRestApiId

func (s *CreateAuthorizerInput) SetRestApiId(v string) *CreateAuthorizerInput

SetRestApiId sets the RestApiId field's value.

func (*CreateAuthorizerInput) SetType

func (s *CreateAuthorizerInput) SetType(v string) *CreateAuthorizerInput

SetType sets the Type field's value.

func (CreateAuthorizerInput) String

func (s CreateAuthorizerInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAuthorizerInput) Validate

func (s *CreateAuthorizerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateBasePathMappingInput

type CreateBasePathMappingInput struct {

    // The base path name that callers of the API must provide as part of the URL
    // after the domain name. This value must be unique for all of the mappings
    // across a single API. Specify '(none)' if you do not want callers to specify
    // a base path name after the domain name.
    BasePath *string `locationName:"basePath" type:"string"`

    // The domain name of the BasePathMapping resource to create.
    //
    // DomainName is a required field
    DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `locationName:"restApiId" type:"string" required:"true"`

    // The name of the API's stage that you want to use for this mapping. Specify
    // '(none)' if you want callers to explicitly specify the stage name after any
    // base path name.
    Stage *string `locationName:"stage" type:"string"`
    // contains filtered or unexported fields
}

Requests API Gateway to create a new BasePathMapping resource.

func (CreateBasePathMappingInput) GoString

func (s CreateBasePathMappingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBasePathMappingInput) SetBasePath

func (s *CreateBasePathMappingInput) SetBasePath(v string) *CreateBasePathMappingInput

SetBasePath sets the BasePath field's value.

func (*CreateBasePathMappingInput) SetDomainName

func (s *CreateBasePathMappingInput) SetDomainName(v string) *CreateBasePathMappingInput

SetDomainName sets the DomainName field's value.

func (*CreateBasePathMappingInput) SetRestApiId

func (s *CreateBasePathMappingInput) SetRestApiId(v string) *CreateBasePathMappingInput

SetRestApiId sets the RestApiId field's value.

func (*CreateBasePathMappingInput) SetStage

func (s *CreateBasePathMappingInput) SetStage(v string) *CreateBasePathMappingInput

SetStage sets the Stage field's value.

func (CreateBasePathMappingInput) String

func (s CreateBasePathMappingInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBasePathMappingInput) Validate

func (s *CreateBasePathMappingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDeploymentInput

type CreateDeploymentInput struct {

    // Enables a cache cluster for the Stage resource specified in the input.
    CacheClusterEnabled *bool `locationName:"cacheClusterEnabled" type:"boolean"`

    // The stage's cache capacity in GB. For more information about choosing a cache
    // size, see Enabling API caching to enhance responsiveness (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html).
    CacheClusterSize *string `locationName:"cacheClusterSize" type:"string" enum:"CacheClusterSize"`

    // The input configuration for the canary deployment when the deployment is
    // a canary release deployment.
    CanarySettings *DeploymentCanarySettings `locationName:"canarySettings" type:"structure"`

    // The description for the Deployment resource to create.
    Description *string `locationName:"description" type:"string"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`

    // The description of the Stage resource for the Deployment resource to create.
    StageDescription *string `locationName:"stageDescription" type:"string"`

    // The name of the Stage resource for the Deployment resource to create.
    StageName *string `locationName:"stageName" type:"string"`

    // Specifies whether active tracing with X-ray is enabled for the Stage.
    TracingEnabled *bool `locationName:"tracingEnabled" type:"boolean"`

    // A map that defines the stage variables for the Stage resource that is associated
    // with the new deployment. Variable names can have alphanumeric and underscore
    // characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
    Variables map[string]*string `locationName:"variables" type:"map"`
    // contains filtered or unexported fields
}

Requests API Gateway to create a Deployment resource.

func (CreateDeploymentInput) GoString

func (s CreateDeploymentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDeploymentInput) SetCacheClusterEnabled

func (s *CreateDeploymentInput) SetCacheClusterEnabled(v bool) *CreateDeploymentInput

SetCacheClusterEnabled sets the CacheClusterEnabled field's value.

func (*CreateDeploymentInput) SetCacheClusterSize

func (s *CreateDeploymentInput) SetCacheClusterSize(v string) *CreateDeploymentInput

SetCacheClusterSize sets the CacheClusterSize field's value.

func (*CreateDeploymentInput) SetCanarySettings

func (s *CreateDeploymentInput) SetCanarySettings(v *DeploymentCanarySettings) *CreateDeploymentInput

SetCanarySettings sets the CanarySettings field's value.

func (*CreateDeploymentInput) SetDescription

func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput

SetDescription sets the Description field's value.

func (*CreateDeploymentInput) SetRestApiId

func (s *CreateDeploymentInput) SetRestApiId(v string) *CreateDeploymentInput

SetRestApiId sets the RestApiId field's value.

func (*CreateDeploymentInput) SetStageDescription

func (s *CreateDeploymentInput) SetStageDescription(v string) *CreateDeploymentInput

SetStageDescription sets the StageDescription field's value.

func (*CreateDeploymentInput) SetStageName

func (s *CreateDeploymentInput) SetStageName(v string) *CreateDeploymentInput

SetStageName sets the StageName field's value.

func (*CreateDeploymentInput) SetTracingEnabled

func (s *CreateDeploymentInput) SetTracingEnabled(v bool) *CreateDeploymentInput

SetTracingEnabled sets the TracingEnabled field's value.

func (*CreateDeploymentInput) SetVariables

func (s *CreateDeploymentInput) SetVariables(v map[string]*string) *CreateDeploymentInput

SetVariables sets the Variables field's value.

func (CreateDeploymentInput) String

func (s CreateDeploymentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDeploymentInput) Validate

func (s *CreateDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDocumentationPartInput

type CreateDocumentationPartInput struct {

    // The location of the targeted API entity of the to-be-created documentation
    // part.
    //
    // Location is a required field
    Location *DocumentationPartLocation `locationName:"location" type:"structure" required:"true"`

    // The new documentation content map of the targeted API entity. Enclosed key-value
    // pairs are API-specific, but only OpenAPI-compliant key-value pairs can be
    // exported and, hence, published.
    //
    // Properties is a required field
    Properties *string `locationName:"properties" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Creates a new documentation part of a given API.

func (CreateDocumentationPartInput) GoString

func (s CreateDocumentationPartInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDocumentationPartInput) SetLocation

func (s *CreateDocumentationPartInput) SetLocation(v *DocumentationPartLocation) *CreateDocumentationPartInput

SetLocation sets the Location field's value.

func (*CreateDocumentationPartInput) SetProperties

func (s *CreateDocumentationPartInput) SetProperties(v string) *CreateDocumentationPartInput

SetProperties sets the Properties field's value.

func (*CreateDocumentationPartInput) SetRestApiId

func (s *CreateDocumentationPartInput) SetRestApiId(v string) *CreateDocumentationPartInput

SetRestApiId sets the RestApiId field's value.

func (CreateDocumentationPartInput) String

func (s CreateDocumentationPartInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDocumentationPartInput) Validate

func (s *CreateDocumentationPartInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDocumentationVersionInput

type CreateDocumentationVersionInput struct {

    // A description about the new documentation snapshot.
    Description *string `locationName:"description" type:"string"`

    // The version identifier of the new snapshot.
    //
    // DocumentationVersion is a required field
    DocumentationVersion *string `locationName:"documentationVersion" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`

    // The stage name to be associated with the new documentation snapshot.
    StageName *string `locationName:"stageName" type:"string"`
    // contains filtered or unexported fields
}

Creates a new documentation version of a given API.

func (CreateDocumentationVersionInput) GoString

func (s CreateDocumentationVersionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDocumentationVersionInput) SetDescription

func (s *CreateDocumentationVersionInput) SetDescription(v string) *CreateDocumentationVersionInput

SetDescription sets the Description field's value.

func (*CreateDocumentationVersionInput) SetDocumentationVersion

func (s *CreateDocumentationVersionInput) SetDocumentationVersion(v string) *CreateDocumentationVersionInput

SetDocumentationVersion sets the DocumentationVersion field's value.

func (*CreateDocumentationVersionInput) SetRestApiId

func (s *CreateDocumentationVersionInput) SetRestApiId(v string) *CreateDocumentationVersionInput

SetRestApiId sets the RestApiId field's value.

func (*CreateDocumentationVersionInput) SetStageName

func (s *CreateDocumentationVersionInput) SetStageName(v string) *CreateDocumentationVersionInput

SetStageName sets the StageName field's value.

func (CreateDocumentationVersionInput) String

func (s CreateDocumentationVersionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDocumentationVersionInput) Validate

func (s *CreateDocumentationVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDomainNameInput

type CreateDomainNameInput struct {

    // The reference to an Amazon Web Services-managed certificate that will be
    // used by edge-optimized endpoint for this domain name. Certificate Manager
    // is the only supported source.
    CertificateArn *string `locationName:"certificateArn" type:"string"`

    // [Deprecated] The body of the server certificate that will be used by edge-optimized
    // endpoint for this domain name provided by your certificate authority.
    CertificateBody *string `locationName:"certificateBody" type:"string"`

    // [Deprecated] The intermediate certificates and optionally the root certificate,
    // one after the other without any blank lines, used by an edge-optimized endpoint
    // for this domain name. If you include the root certificate, your certificate
    // chain must start with intermediate certificates and end with the root certificate.
    // Use the intermediate certificates that were provided by your certificate
    // authority. Do not include any intermediaries that are not in the chain of
    // trust path.
    CertificateChain *string `locationName:"certificateChain" type:"string"`

    // The user-friendly name of the certificate that will be used by edge-optimized
    // endpoint for this domain name.
    CertificateName *string `locationName:"certificateName" type:"string"`

    // [Deprecated] Your edge-optimized endpoint's domain name certificate's private
    // key.
    CertificatePrivateKey *string `locationName:"certificatePrivateKey" type:"string"`

    // The name of the DomainName resource.
    //
    // DomainName is a required field
    DomainName *string `locationName:"domainName" type:"string" required:"true"`

    // The endpoint configuration of this DomainName showing the endpoint types
    // of the domain name.
    EndpointConfiguration *EndpointConfiguration `locationName:"endpointConfiguration" type:"structure"`

    // The mutual TLS authentication configuration for a custom domain name. If
    // specified, API Gateway performs two-way authentication between the client
    // and the server. Clients must present a trusted certificate to access your
    // API.
    MutualTlsAuthentication *MutualTlsAuthenticationInput `locationName:"mutualTlsAuthentication" type:"structure"`

    // The ARN of the public certificate issued by ACM to validate ownership of
    // your custom domain. Only required when configuring mutual TLS and using an
    // ACM imported or private CA certificate ARN as the regionalCertificateArn.
    OwnershipVerificationCertificateArn *string `locationName:"ownershipVerificationCertificateArn" type:"string"`

    // The reference to an Amazon Web Services-managed certificate that will be
    // used by regional endpoint for this domain name. Certificate Manager is the
    // only supported source.
    RegionalCertificateArn *string `locationName:"regionalCertificateArn" type:"string"`

    // The user-friendly name of the certificate that will be used by regional endpoint
    // for this domain name.
    RegionalCertificateName *string `locationName:"regionalCertificateName" type:"string"`

    // The Transport Layer Security (TLS) version + cipher suite for this DomainName.
    // The valid values are TLS_1_0 and TLS_1_2.
    SecurityPolicy *string `locationName:"securityPolicy" type:"string" enum:"SecurityPolicy"`

    // The key-value map of strings. The valid character set is [a-zA-Z+-=._:/].
    // The tag key can be up to 128 characters and must not start with aws:. The
    // tag value can be up to 256 characters.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

A request to create a new domain name.

func (CreateDomainNameInput) GoString

func (s CreateDomainNameInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDomainNameInput) SetCertificateArn

func (s *CreateDomainNameInput) SetCertificateArn(v string) *CreateDomainNameInput

SetCertificateArn sets the CertificateArn field's value.

func (*CreateDomainNameInput) SetCertificateBody

func (s *CreateDomainNameInput) SetCertificateBody(v string) *CreateDomainNameInput

SetCertificateBody sets the CertificateBody field's value.

func (*CreateDomainNameInput) SetCertificateChain

func (s *CreateDomainNameInput) SetCertificateChain(v string) *CreateDomainNameInput

SetCertificateChain sets the CertificateChain field's value.

func (*CreateDomainNameInput) SetCertificateName

func (s *CreateDomainNameInput) SetCertificateName(v string) *CreateDomainNameInput

SetCertificateName sets the CertificateName field's value.

func (*CreateDomainNameInput) SetCertificatePrivateKey

func (s *CreateDomainNameInput) SetCertificatePrivateKey(v string) *CreateDomainNameInput

SetCertificatePrivateKey sets the CertificatePrivateKey field's value.

func (*CreateDomainNameInput) SetDomainName

func (s *CreateDomainNameInput) SetDomainName(v string) *CreateDomainNameInput

SetDomainName sets the DomainName field's value.

func (*CreateDomainNameInput) SetEndpointConfiguration

func (s *CreateDomainNameInput) SetEndpointConfiguration(v *EndpointConfiguration) *CreateDomainNameInput

SetEndpointConfiguration sets the EndpointConfiguration field's value.

func (*CreateDomainNameInput) SetMutualTlsAuthentication

func (s *CreateDomainNameInput) SetMutualTlsAuthentication(v *MutualTlsAuthenticationInput) *CreateDomainNameInput

SetMutualTlsAuthentication sets the MutualTlsAuthentication field's value.

func (*CreateDomainNameInput) SetOwnershipVerificationCertificateArn

func (s *CreateDomainNameInput) SetOwnershipVerificationCertificateArn(v string) *CreateDomainNameInput

SetOwnershipVerificationCertificateArn sets the OwnershipVerificationCertificateArn field's value.

func (*CreateDomainNameInput) SetRegionalCertificateArn

func (s *CreateDomainNameInput) SetRegionalCertificateArn(v string) *CreateDomainNameInput

SetRegionalCertificateArn sets the RegionalCertificateArn field's value.

func (*CreateDomainNameInput) SetRegionalCertificateName

func (s *CreateDomainNameInput) SetRegionalCertificateName(v string) *CreateDomainNameInput

SetRegionalCertificateName sets the RegionalCertificateName field's value.

func (*CreateDomainNameInput) SetSecurityPolicy

func (s *CreateDomainNameInput) SetSecurityPolicy(v string) *CreateDomainNameInput

SetSecurityPolicy sets the SecurityPolicy field's value.

func (*CreateDomainNameInput) SetTags

func (s *CreateDomainNameInput) SetTags(v map[string]*string) *CreateDomainNameInput

SetTags sets the Tags field's value.

func (CreateDomainNameInput) String

func (s CreateDomainNameInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDomainNameInput) Validate

func (s *CreateDomainNameInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateModelInput

type CreateModelInput struct {

    // The content-type for the model.
    //
    // ContentType is a required field
    ContentType *string `locationName:"contentType" type:"string" required:"true"`

    // The description of the model.
    Description *string `locationName:"description" type:"string"`

    // The name of the model. Must be alphanumeric.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`

    // The RestApi identifier under which the Model will be created.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`

    // The schema for the model. For application/json models, this should be JSON
    // schema draft 4 model. The maximum size of the model is 400 KB.
    Schema *string `locationName:"schema" type:"string"`
    // contains filtered or unexported fields
}

Request to add a new Model to an existing RestApi resource.

func (CreateModelInput) GoString

func (s CreateModelInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateModelInput) SetContentType

func (s *CreateModelInput) SetContentType(v string) *CreateModelInput

SetContentType sets the ContentType field's value.

func (*CreateModelInput) SetDescription

func (s *CreateModelInput) SetDescription(v string) *CreateModelInput

SetDescription sets the Description field's value.

func (*CreateModelInput) SetName

func (s *CreateModelInput) SetName(v string) *CreateModelInput

SetName sets the Name field's value.

func (*CreateModelInput) SetRestApiId

func (s *CreateModelInput) SetRestApiId(v string) *CreateModelInput

SetRestApiId sets the RestApiId field's value.

func (*CreateModelInput) SetSchema

func (s *CreateModelInput) SetSchema(v string) *CreateModelInput

SetSchema sets the Schema field's value.

func (CreateModelInput) String

func (s CreateModelInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateModelInput) Validate

func (s *CreateModelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRequestValidatorInput

type CreateRequestValidatorInput struct {

    // The name of the to-be-created RequestValidator.
    Name *string `locationName:"name" type:"string"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`

    // A Boolean flag to indicate whether to validate request body according to
    // the configured model schema for the method (true) or not (false).
    ValidateRequestBody *bool `locationName:"validateRequestBody" type:"boolean"`

    // A Boolean flag to indicate whether to validate request parameters, true,
    // or not false.
    ValidateRequestParameters *bool `locationName:"validateRequestParameters" type:"boolean"`
    // contains filtered or unexported fields
}

Creates a RequestValidator of a given RestApi.

func (CreateRequestValidatorInput) GoString

func (s CreateRequestValidatorInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRequestValidatorInput) SetName

func (s *CreateRequestValidatorInput) SetName(v string) *CreateRequestValidatorInput

SetName sets the Name field's value.

func (*CreateRequestValidatorInput) SetRestApiId

func (s *CreateRequestValidatorInput) SetRestApiId(v string) *CreateRequestValidatorInput

SetRestApiId sets the RestApiId field's value.

func (*CreateRequestValidatorInput) SetValidateRequestBody

func (s *CreateRequestValidatorInput) SetValidateRequestBody(v bool) *CreateRequestValidatorInput

SetValidateRequestBody sets the ValidateRequestBody field's value.

func (*CreateRequestValidatorInput) SetValidateRequestParameters

func (s *CreateRequestValidatorInput) SetValidateRequestParameters(v bool) *CreateRequestValidatorInput

SetValidateRequestParameters sets the ValidateRequestParameters field's value.

func (CreateRequestValidatorInput) String

func (s CreateRequestValidatorInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRequestValidatorInput) Validate

func (s *CreateRequestValidatorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateResourceInput

type CreateResourceInput struct {

    // The parent resource's identifier.
    //
    // ParentId is a required field
    ParentId *string `location:"uri" locationName:"parent_id" type:"string" required:"true"`

    // The last path segment for this resource.
    //
    // PathPart is a required field
    PathPart *string `locationName:"pathPart" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Requests API Gateway to create a Resource resource.

func (CreateResourceInput) GoString

func (s CreateResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateResourceInput) SetParentId

func (s *CreateResourceInput) SetParentId(v string) *CreateResourceInput

SetParentId sets the ParentId field's value.

func (*CreateResourceInput) SetPathPart

func (s *CreateResourceInput) SetPathPart(v string) *CreateResourceInput

SetPathPart sets the PathPart field's value.

func (*CreateResourceInput) SetRestApiId

func (s *CreateResourceInput) SetRestApiId(v string) *CreateResourceInput

SetRestApiId sets the RestApiId field's value.

func (CreateResourceInput) String

func (s CreateResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateResourceInput) Validate

func (s *CreateResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRestApiInput

type CreateRestApiInput struct {

    // The source of the API key for metering requests according to a usage plan.
    // Valid values are: HEADER to read the API key from the X-API-Key header of
    // a request. AUTHORIZER to read the API key from the UsageIdentifierKey from
    // a custom authorizer.
    ApiKeySource *string `locationName:"apiKeySource" type:"string" enum:"ApiKeySourceType"`

    // The list of binary media types supported by the RestApi. By default, the
    // RestApi supports only UTF-8-encoded text payloads.
    BinaryMediaTypes []*string `locationName:"binaryMediaTypes" type:"list"`

    // The ID of the RestApi that you want to clone from.
    CloneFrom *string `locationName:"cloneFrom" type:"string"`

    // The description of the RestApi.
    Description *string `locationName:"description" type:"string"`

    // Specifies whether clients can invoke your API by using the default execute-api
    // endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com
    // endpoint. To require that clients use a custom domain name to invoke your
    // API, disable the default endpoint
    DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"`

    // The endpoint configuration of this RestApi showing the endpoint types of
    // the API.
    EndpointConfiguration *EndpointConfiguration `locationName:"endpointConfiguration" type:"structure"`

    // A nullable integer that is used to enable compression (with non-negative
    // between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with
    // a null value) on an API. When compression is enabled, compression or decompression
    // is not applied on the payload if the payload size is smaller than this value.
    // Setting it to zero allows compression for any payload size.
    MinimumCompressionSize *int64 `locationName:"minimumCompressionSize" type:"integer"`

    // The name of the RestApi.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`

    // A stringified JSON policy document that applies to this RestApi regardless
    // of the caller and Method configuration.
    Policy *string `locationName:"policy" type:"string"`

    // The key-value map of strings. The valid character set is [a-zA-Z+-=._:/].
    // The tag key can be up to 128 characters and must not start with aws:. The
    // tag value can be up to 256 characters.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // A version identifier for the API.
    Version *string `locationName:"version" type:"string"`
    // contains filtered or unexported fields
}

The POST Request to add a new RestApi resource to your collection.

func (CreateRestApiInput) GoString

func (s CreateRestApiInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRestApiInput) SetApiKeySource

func (s *CreateRestApiInput) SetApiKeySource(v string) *CreateRestApiInput

SetApiKeySource sets the ApiKeySource field's value.

func (*CreateRestApiInput) SetBinaryMediaTypes

func (s *CreateRestApiInput) SetBinaryMediaTypes(v []*string) *CreateRestApiInput

SetBinaryMediaTypes sets the BinaryMediaTypes field's value.

func (*CreateRestApiInput) SetCloneFrom

func (s *CreateRestApiInput) SetCloneFrom(v string) *CreateRestApiInput

SetCloneFrom sets the CloneFrom field's value.

func (*CreateRestApiInput) SetDescription

func (s *CreateRestApiInput) SetDescription(v string) *CreateRestApiInput

SetDescription sets the Description field's value.

func (*CreateRestApiInput) SetDisableExecuteApiEndpoint

func (s *CreateRestApiInput) SetDisableExecuteApiEndpoint(v bool) *CreateRestApiInput

SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.

func (*CreateRestApiInput) SetEndpointConfiguration

func (s *CreateRestApiInput) SetEndpointConfiguration(v *EndpointConfiguration) *CreateRestApiInput

SetEndpointConfiguration sets the EndpointConfiguration field's value.

func (*CreateRestApiInput) SetMinimumCompressionSize

func (s *CreateRestApiInput) SetMinimumCompressionSize(v int64) *CreateRestApiInput

SetMinimumCompressionSize sets the MinimumCompressionSize field's value.

func (*CreateRestApiInput) SetName

func (s *CreateRestApiInput) SetName(v string) *CreateRestApiInput

SetName sets the Name field's value.

func (*CreateRestApiInput) SetPolicy

func (s *CreateRestApiInput) SetPolicy(v string) *CreateRestApiInput

SetPolicy sets the Policy field's value.

func (*CreateRestApiInput) SetTags

func (s *CreateRestApiInput) SetTags(v map[string]*string) *CreateRestApiInput

SetTags sets the Tags field's value.

func (*CreateRestApiInput) SetVersion

func (s *CreateRestApiInput) SetVersion(v string) *CreateRestApiInput

SetVersion sets the Version field's value.

func (CreateRestApiInput) String

func (s CreateRestApiInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRestApiInput) Validate

func (s *CreateRestApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateStageInput

type CreateStageInput struct {

    // Whether cache clustering is enabled for the stage.
    CacheClusterEnabled *bool `locationName:"cacheClusterEnabled" type:"boolean"`

    // The stage's cache capacity in GB. For more information about choosing a cache
    // size, see Enabling API caching to enhance responsiveness (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html).
    CacheClusterSize *string `locationName:"cacheClusterSize" type:"string" enum:"CacheClusterSize"`

    // The canary deployment settings of this stage.
    CanarySettings *CanarySettings `locationName:"canarySettings" type:"structure"`

    // The identifier of the Deployment resource for the Stage resource.
    //
    // DeploymentId is a required field
    DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`

    // The description of the Stage resource.
    Description *string `locationName:"description" type:"string"`

    // The version of the associated API documentation.
    DocumentationVersion *string `locationName:"documentationVersion" type:"string"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`

    // The name for the Stage resource. Stage names can only contain alphanumeric
    // characters, hyphens, and underscores. Maximum length is 128 characters.
    //
    // StageName is a required field
    StageName *string `locationName:"stageName" type:"string" required:"true"`

    // The key-value map of strings. The valid character set is [a-zA-Z+-=._:/].
    // The tag key can be up to 128 characters and must not start with aws:. The
    // tag value can be up to 256 characters.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // Specifies whether active tracing with X-ray is enabled for the Stage.
    TracingEnabled *bool `locationName:"tracingEnabled" type:"boolean"`

    // A map that defines the stage variables for the new Stage resource. Variable
    // names can have alphanumeric and underscore characters, and the values must
    // match [A-Za-z0-9-._~:/?#&=,]+.
    Variables map[string]*string `locationName:"variables" type:"map"`
    // contains filtered or unexported fields
}

Requests API Gateway to create a Stage resource.

func (CreateStageInput) GoString

func (s CreateStageInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateStageInput) SetCacheClusterEnabled

func (s *CreateStageInput) SetCacheClusterEnabled(v bool) *CreateStageInput

SetCacheClusterEnabled sets the CacheClusterEnabled field's value.

func (*CreateStageInput) SetCacheClusterSize

func (s *CreateStageInput) SetCacheClusterSize(v string) *CreateStageInput

SetCacheClusterSize sets the CacheClusterSize field's value.

func (*CreateStageInput) SetCanarySettings

func (s *CreateStageInput) SetCanarySettings(v *CanarySettings) *CreateStageInput

SetCanarySettings sets the CanarySettings field's value.

func (*CreateStageInput) SetDeploymentId

func (s *CreateStageInput) SetDeploymentId(v string) *CreateStageInput

SetDeploymentId sets the DeploymentId field's value.

func (*CreateStageInput) SetDescription

func (s *CreateStageInput) SetDescription(v string) *CreateStageInput

SetDescription sets the Description field's value.

func (*CreateStageInput) SetDocumentationVersion

func (s *CreateStageInput) SetDocumentationVersion(v string) *CreateStageInput

SetDocumentationVersion sets the DocumentationVersion field's value.

func (*CreateStageInput) SetRestApiId

func (s *CreateStageInput) SetRestApiId(v string) *CreateStageInput

SetRestApiId sets the RestApiId field's value.

func (*CreateStageInput) SetStageName

func (s *CreateStageInput) SetStageName(v string) *CreateStageInput

SetStageName sets the StageName field's value.

func (*CreateStageInput) SetTags

func (s *CreateStageInput) SetTags(v map[string]*string) *CreateStageInput

SetTags sets the Tags field's value.

func (*CreateStageInput) SetTracingEnabled

func (s *CreateStageInput) SetTracingEnabled(v bool) *CreateStageInput

SetTracingEnabled sets the TracingEnabled field's value.

func (*CreateStageInput) SetVariables

func (s *CreateStageInput) SetVariables(v map[string]*string) *CreateStageInput

SetVariables sets the Variables field's value.

func (CreateStageInput) String

func (s CreateStageInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateStageInput) Validate

func (s *CreateStageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateUsagePlanInput

type CreateUsagePlanInput struct {

    // The associated API stages of the usage plan.
    ApiStages []*ApiStage `locationName:"apiStages" type:"list"`

    // The description of the usage plan.
    Description *string `locationName:"description" type:"string"`

    // The name of the usage plan.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`

    // The quota of the usage plan.
    Quota *QuotaSettings `locationName:"quota" type:"structure"`

    // The key-value map of strings. The valid character set is [a-zA-Z+-=._:/].
    // The tag key can be up to 128 characters and must not start with aws:. The
    // tag value can be up to 256 characters.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // The throttling limits of the usage plan.
    Throttle *ThrottleSettings `locationName:"throttle" type:"structure"`
    // contains filtered or unexported fields
}

The POST request to create a usage plan with the name, description, throttle limits and quota limits, as well as the associated API stages, specified in the payload.

func (CreateUsagePlanInput) GoString

func (s CreateUsagePlanInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateUsagePlanInput) SetApiStages

func (s *CreateUsagePlanInput) SetApiStages(v []*ApiStage) *CreateUsagePlanInput

SetApiStages sets the ApiStages field's value.

func (*CreateUsagePlanInput) SetDescription

func (s *CreateUsagePlanInput) SetDescription(v string) *CreateUsagePlanInput

SetDescription sets the Description field's value.

func (*CreateUsagePlanInput) SetName

func (s *CreateUsagePlanInput) SetName(v string) *CreateUsagePlanInput

SetName sets the Name field's value.

func (*CreateUsagePlanInput) SetQuota

func (s *CreateUsagePlanInput) SetQuota(v *QuotaSettings) *CreateUsagePlanInput

SetQuota sets the Quota field's value.

func (*CreateUsagePlanInput) SetTags

func (s *CreateUsagePlanInput) SetTags(v map[string]*string) *CreateUsagePlanInput

SetTags sets the Tags field's value.

func (*CreateUsagePlanInput) SetThrottle

func (s *CreateUsagePlanInput) SetThrottle(v *ThrottleSettings) *CreateUsagePlanInput

SetThrottle sets the Throttle field's value.

func (CreateUsagePlanInput) String

func (s CreateUsagePlanInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateUsagePlanInput) Validate

func (s *CreateUsagePlanInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateUsagePlanKeyInput

type CreateUsagePlanKeyInput struct {

    // The identifier of a UsagePlanKey resource for a plan customer.
    //
    // KeyId is a required field
    KeyId *string `locationName:"keyId" type:"string" required:"true"`

    // The type of a UsagePlanKey resource for a plan customer.
    //
    // KeyType is a required field
    KeyType *string `locationName:"keyType" type:"string" required:"true"`

    // The Id of the UsagePlan resource representing the usage plan containing the
    // to-be-created UsagePlanKey resource representing a plan customer.
    //
    // UsagePlanId is a required field
    UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The POST request to create a usage plan key for adding an existing API key to a usage plan.

func (CreateUsagePlanKeyInput) GoString

func (s CreateUsagePlanKeyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateUsagePlanKeyInput) SetKeyId

func (s *CreateUsagePlanKeyInput) SetKeyId(v string) *CreateUsagePlanKeyInput

SetKeyId sets the KeyId field's value.

func (*CreateUsagePlanKeyInput) SetKeyType

func (s *CreateUsagePlanKeyInput) SetKeyType(v string) *CreateUsagePlanKeyInput

SetKeyType sets the KeyType field's value.

func (*CreateUsagePlanKeyInput) SetUsagePlanId

func (s *CreateUsagePlanKeyInput) SetUsagePlanId(v string) *CreateUsagePlanKeyInput

SetUsagePlanId sets the UsagePlanId field's value.

func (CreateUsagePlanKeyInput) String

func (s CreateUsagePlanKeyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateUsagePlanKeyInput) Validate

func (s *CreateUsagePlanKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateVpcLinkInput

type CreateVpcLinkInput struct {

    // The description of the VPC link.
    Description *string `locationName:"description" type:"string"`

    // The name used to label and identify the VPC link.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`

    // The key-value map of strings. The valid character set is [a-zA-Z+-=._:/].
    // The tag key can be up to 128 characters and must not start with aws:. The
    // tag value can be up to 256 characters.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // The ARN of the network load balancer of the VPC targeted by the VPC link.
    // The network load balancer must be owned by the same Amazon Web Services account
    // of the API owner.
    //
    // TargetArns is a required field
    TargetArns []*string `locationName:"targetArns" type:"list" required:"true"`
    // contains filtered or unexported fields
}

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.

func (CreateVpcLinkInput) GoString

func (s CreateVpcLinkInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateVpcLinkInput) SetDescription

func (s *CreateVpcLinkInput) SetDescription(v string) *CreateVpcLinkInput

SetDescription sets the Description field's value.

func (*CreateVpcLinkInput) SetName

func (s *CreateVpcLinkInput) SetName(v string) *CreateVpcLinkInput

SetName sets the Name field's value.

func (*CreateVpcLinkInput) SetTags

func (s *CreateVpcLinkInput) SetTags(v map[string]*string) *CreateVpcLinkInput

SetTags sets the Tags field's value.

func (*CreateVpcLinkInput) SetTargetArns

func (s *CreateVpcLinkInput) SetTargetArns(v []*string) *CreateVpcLinkInput

SetTargetArns sets the TargetArns field's value.

func (CreateVpcLinkInput) String

func (s CreateVpcLinkInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateVpcLinkInput) Validate

func (s *CreateVpcLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteApiKeyInput

type DeleteApiKeyInput struct {

    // The identifier of the ApiKey resource to be deleted.
    //
    // ApiKey is a required field
    ApiKey *string `location:"uri" locationName:"api_Key" type:"string" required:"true"`
    // contains filtered or unexported fields
}

A request to delete the ApiKey resource.

func (DeleteApiKeyInput) GoString

func (s DeleteApiKeyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteApiKeyInput) SetApiKey

func (s *DeleteApiKeyInput) SetApiKey(v string) *DeleteApiKeyInput

SetApiKey sets the ApiKey field's value.

func (DeleteApiKeyInput) String

func (s DeleteApiKeyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteApiKeyInput) Validate

func (s *DeleteApiKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteApiKeyOutput

type DeleteApiKeyOutput struct {
    // contains filtered or unexported fields
}

func (DeleteApiKeyOutput) GoString

func (s DeleteApiKeyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteApiKeyOutput) String

func (s DeleteApiKeyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAuthorizerInput

type DeleteAuthorizerInput struct {

    // The identifier of the Authorizer resource.
    //
    // AuthorizerId is a required field
    AuthorizerId *string `location:"uri" locationName:"authorizer_id" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Request to delete an existing Authorizer resource.

func (DeleteAuthorizerInput) GoString

func (s DeleteAuthorizerInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAuthorizerInput) SetAuthorizerId

func (s *DeleteAuthorizerInput) SetAuthorizerId(v string) *DeleteAuthorizerInput

SetAuthorizerId sets the AuthorizerId field's value.

func (*DeleteAuthorizerInput) SetRestApiId

func (s *DeleteAuthorizerInput) SetRestApiId(v string) *DeleteAuthorizerInput

SetRestApiId sets the RestApiId field's value.

func (DeleteAuthorizerInput) String

func (s DeleteAuthorizerInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAuthorizerInput) Validate

func (s *DeleteAuthorizerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAuthorizerOutput

type DeleteAuthorizerOutput struct {
    // contains filtered or unexported fields
}

func (DeleteAuthorizerOutput) GoString

func (s DeleteAuthorizerOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAuthorizerOutput) String

func (s DeleteAuthorizerOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBasePathMappingInput

type DeleteBasePathMappingInput struct {

    // The base path name of the BasePathMapping resource to delete.
    //
    // To specify an empty base path, set this parameter to '(none)'.
    //
    // BasePath is a required field
    BasePath *string `location:"uri" locationName:"base_path" type:"string" required:"true"`

    // The domain name of the BasePathMapping resource to delete.
    //
    // DomainName is a required field
    DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"`
    // contains filtered or unexported fields
}

A request to delete the BasePathMapping resource.

func (DeleteBasePathMappingInput) GoString

func (s DeleteBasePathMappingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBasePathMappingInput) SetBasePath

func (s *DeleteBasePathMappingInput) SetBasePath(v string) *DeleteBasePathMappingInput

SetBasePath sets the BasePath field's value.

func (*DeleteBasePathMappingInput) SetDomainName

func (s *DeleteBasePathMappingInput) SetDomainName(v string) *DeleteBasePathMappingInput

SetDomainName sets the DomainName field's value.

func (DeleteBasePathMappingInput) String

func (s DeleteBasePathMappingInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBasePathMappingInput) Validate

func (s *DeleteBasePathMappingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBasePathMappingOutput

type DeleteBasePathMappingOutput struct {
    // contains filtered or unexported fields
}

func (DeleteBasePathMappingOutput) GoString

func (s DeleteBasePathMappingOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBasePathMappingOutput) String

func (s DeleteBasePathMappingOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteClientCertificateInput

type DeleteClientCertificateInput struct {

    // The identifier of the ClientCertificate resource to be deleted.
    //
    // ClientCertificateId is a required field
    ClientCertificateId *string `location:"uri" locationName:"clientcertificate_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

A request to delete the ClientCertificate resource.

func (DeleteClientCertificateInput) GoString

func (s DeleteClientCertificateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteClientCertificateInput) SetClientCertificateId

func (s *DeleteClientCertificateInput) SetClientCertificateId(v string) *DeleteClientCertificateInput

SetClientCertificateId sets the ClientCertificateId field's value.

func (DeleteClientCertificateInput) String

func (s DeleteClientCertificateInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteClientCertificateInput) Validate

func (s *DeleteClientCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteClientCertificateOutput

type DeleteClientCertificateOutput struct {
    // contains filtered or unexported fields
}

func (DeleteClientCertificateOutput) GoString

func (s DeleteClientCertificateOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteClientCertificateOutput) String

func (s DeleteClientCertificateOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteDeploymentInput

type DeleteDeploymentInput struct {

    // The identifier of the Deployment resource to delete.
    //
    // DeploymentId is a required field
    DeploymentId *string `location:"uri" locationName:"deployment_id" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Requests API Gateway to delete a Deployment resource.

func (DeleteDeploymentInput) GoString

func (s DeleteDeploymentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDeploymentInput) SetDeploymentId

func (s *DeleteDeploymentInput) SetDeploymentId(v string) *DeleteDeploymentInput

SetDeploymentId sets the DeploymentId field's value.

func (*DeleteDeploymentInput) SetRestApiId

func (s *DeleteDeploymentInput) SetRestApiId(v string) *DeleteDeploymentInput

SetRestApiId sets the RestApiId field's value.

func (DeleteDeploymentInput) String

func (s DeleteDeploymentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDeploymentInput) Validate

func (s *DeleteDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDeploymentOutput

type DeleteDeploymentOutput struct {
    // contains filtered or unexported fields
}

func (DeleteDeploymentOutput) GoString

func (s DeleteDeploymentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteDeploymentOutput) String

func (s DeleteDeploymentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteDocumentationPartInput

type DeleteDocumentationPartInput struct {

    // The identifier of the to-be-deleted documentation part.
    //
    // DocumentationPartId is a required field
    DocumentationPartId *string `location:"uri" locationName:"part_id" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Deletes an existing documentation part of an API.

func (DeleteDocumentationPartInput) GoString

func (s DeleteDocumentationPartInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDocumentationPartInput) SetDocumentationPartId

func (s *DeleteDocumentationPartInput) SetDocumentationPartId(v string) *DeleteDocumentationPartInput

SetDocumentationPartId sets the DocumentationPartId field's value.

func (*DeleteDocumentationPartInput) SetRestApiId

func (s *DeleteDocumentationPartInput) SetRestApiId(v string) *DeleteDocumentationPartInput

SetRestApiId sets the RestApiId field's value.

func (DeleteDocumentationPartInput) String

func (s DeleteDocumentationPartInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDocumentationPartInput) Validate

func (s *DeleteDocumentationPartInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDocumentationPartOutput

type DeleteDocumentationPartOutput struct {
    // contains filtered or unexported fields
}

func (DeleteDocumentationPartOutput) GoString

func (s DeleteDocumentationPartOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteDocumentationPartOutput) String

func (s DeleteDocumentationPartOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteDocumentationVersionInput

type DeleteDocumentationVersionInput struct {

    // The version identifier of a to-be-deleted documentation snapshot.
    //
    // DocumentationVersion is a required field
    DocumentationVersion *string `location:"uri" locationName:"doc_version" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Deletes an existing documentation version of an API.

func (DeleteDocumentationVersionInput) GoString

func (s DeleteDocumentationVersionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDocumentationVersionInput) SetDocumentationVersion

func (s *DeleteDocumentationVersionInput) SetDocumentationVersion(v string) *DeleteDocumentationVersionInput

SetDocumentationVersion sets the DocumentationVersion field's value.

func (*DeleteDocumentationVersionInput) SetRestApiId

func (s *DeleteDocumentationVersionInput) SetRestApiId(v string) *DeleteDocumentationVersionInput

SetRestApiId sets the RestApiId field's value.

func (DeleteDocumentationVersionInput) String

func (s DeleteDocumentationVersionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDocumentationVersionInput) Validate

func (s *DeleteDocumentationVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDocumentationVersionOutput

type DeleteDocumentationVersionOutput struct {
    // contains filtered or unexported fields
}

func (DeleteDocumentationVersionOutput) GoString

func (s DeleteDocumentationVersionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteDocumentationVersionOutput) String

func (s DeleteDocumentationVersionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteDomainNameInput

type DeleteDomainNameInput struct {

    // The name of the DomainName resource to be deleted.
    //
    // DomainName is a required field
    DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"`
    // contains filtered or unexported fields
}

A request to delete the DomainName resource.

func (DeleteDomainNameInput) GoString

func (s DeleteDomainNameInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDomainNameInput) SetDomainName

func (s *DeleteDomainNameInput) SetDomainName(v string) *DeleteDomainNameInput

SetDomainName sets the DomainName field's value.

func (DeleteDomainNameInput) String

func (s DeleteDomainNameInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDomainNameInput) Validate

func (s *DeleteDomainNameInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDomainNameOutput

type DeleteDomainNameOutput struct {
    // contains filtered or unexported fields
}

func (DeleteDomainNameOutput) GoString

func (s DeleteDomainNameOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteDomainNameOutput) String

func (s DeleteDomainNameOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteGatewayResponseInput

type DeleteGatewayResponseInput struct {

    // The response type of the associated GatewayResponse.
    //
    // ResponseType is a required field
    ResponseType *string `location:"uri" locationName:"response_type" type:"string" required:"true" enum:"GatewayResponseType"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

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

func (DeleteGatewayResponseInput) GoString

func (s DeleteGatewayResponseInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteGatewayResponseInput) SetResponseType

func (s *DeleteGatewayResponseInput) SetResponseType(v string) *DeleteGatewayResponseInput

SetResponseType sets the ResponseType field's value.

func (*DeleteGatewayResponseInput) SetRestApiId

func (s *DeleteGatewayResponseInput) SetRestApiId(v string) *DeleteGatewayResponseInput

SetRestApiId sets the RestApiId field's value.

func (DeleteGatewayResponseInput) String

func (s DeleteGatewayResponseInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteGatewayResponseInput) Validate

func (s *DeleteGatewayResponseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteGatewayResponseOutput

type DeleteGatewayResponseOutput struct {
    // contains filtered or unexported fields
}

func (DeleteGatewayResponseOutput) GoString

func (s DeleteGatewayResponseOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteGatewayResponseOutput) String

func (s DeleteGatewayResponseOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteIntegrationInput

type DeleteIntegrationInput struct {

    // Specifies a delete integration request's HTTP method.
    //
    // HttpMethod is a required field
    HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"`

    // Specifies a delete integration request's resource identifier.
    //
    // ResourceId is a required field
    ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a delete integration request.

func (DeleteIntegrationInput) GoString

func (s DeleteIntegrationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteIntegrationInput) SetHttpMethod

func (s *DeleteIntegrationInput) SetHttpMethod(v string) *DeleteIntegrationInput

SetHttpMethod sets the HttpMethod field's value.

func (*DeleteIntegrationInput) SetResourceId

func (s *DeleteIntegrationInput) SetResourceId(v string) *DeleteIntegrationInput

SetResourceId sets the ResourceId field's value.

func (*DeleteIntegrationInput) SetRestApiId

func (s *DeleteIntegrationInput) SetRestApiId(v string) *DeleteIntegrationInput

SetRestApiId sets the RestApiId field's value.

func (DeleteIntegrationInput) String

func (s DeleteIntegrationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteIntegrationInput) Validate

func (s *DeleteIntegrationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteIntegrationOutput

type DeleteIntegrationOutput struct {
    // contains filtered or unexported fields
}

func (DeleteIntegrationOutput) GoString

func (s DeleteIntegrationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteIntegrationOutput) String

func (s DeleteIntegrationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteIntegrationResponseInput

type DeleteIntegrationResponseInput struct {

    // Specifies a delete integration response request's HTTP method.
    //
    // HttpMethod is a required field
    HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"`

    // Specifies a delete integration response request's resource identifier.
    //
    // ResourceId is a required field
    ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`

    // Specifies a delete integration response request's status code.
    //
    // StatusCode is a required field
    StatusCode *string `location:"uri" locationName:"status_code" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a delete integration response request.

func (DeleteIntegrationResponseInput) GoString

func (s DeleteIntegrationResponseInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteIntegrationResponseInput) SetHttpMethod

func (s *DeleteIntegrationResponseInput) SetHttpMethod(v string) *DeleteIntegrationResponseInput

SetHttpMethod sets the HttpMethod field's value.

func (*DeleteIntegrationResponseInput) SetResourceId

func (s *DeleteIntegrationResponseInput) SetResourceId(v string) *DeleteIntegrationResponseInput

SetResourceId sets the ResourceId field's value.

func (*DeleteIntegrationResponseInput) SetRestApiId

func (s *DeleteIntegrationResponseInput) SetRestApiId(v string) *DeleteIntegrationResponseInput

SetRestApiId sets the RestApiId field's value.

func (*DeleteIntegrationResponseInput) SetStatusCode

func (s *DeleteIntegrationResponseInput) SetStatusCode(v string) *DeleteIntegrationResponseInput

SetStatusCode sets the StatusCode field's value.

func (DeleteIntegrationResponseInput) String

func (s DeleteIntegrationResponseInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteIntegrationResponseInput) Validate

func (s *DeleteIntegrationResponseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteIntegrationResponseOutput

type DeleteIntegrationResponseOutput struct {
    // contains filtered or unexported fields
}

func (DeleteIntegrationResponseOutput) GoString

func (s DeleteIntegrationResponseOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteIntegrationResponseOutput) String

func (s DeleteIntegrationResponseOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteMethodInput

type DeleteMethodInput struct {

    // The HTTP verb of the Method resource.
    //
    // HttpMethod is a required field
    HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"`

    // The Resource identifier for the Method resource.
    //
    // ResourceId is a required field
    ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Request to delete an existing Method resource.

func (DeleteMethodInput) GoString

func (s DeleteMethodInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMethodInput) SetHttpMethod

func (s *DeleteMethodInput) SetHttpMethod(v string) *DeleteMethodInput

SetHttpMethod sets the HttpMethod field's value.

func (*DeleteMethodInput) SetResourceId

func (s *DeleteMethodInput) SetResourceId(v string) *DeleteMethodInput

SetResourceId sets the ResourceId field's value.

func (*DeleteMethodInput) SetRestApiId

func (s *DeleteMethodInput) SetRestApiId(v string) *DeleteMethodInput

SetRestApiId sets the RestApiId field's value.

func (DeleteMethodInput) String

func (s DeleteMethodInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMethodInput) Validate

func (s *DeleteMethodInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteMethodOutput

type DeleteMethodOutput struct {
    // contains filtered or unexported fields
}

func (DeleteMethodOutput) GoString

func (s DeleteMethodOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteMethodOutput) String

func (s DeleteMethodOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteMethodResponseInput

type DeleteMethodResponseInput struct {

    // The HTTP verb of the Method resource.
    //
    // HttpMethod is a required field
    HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"`

    // The Resource identifier for the MethodResponse resource.
    //
    // ResourceId is a required field
    ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`

    // The status code identifier for the MethodResponse resource.
    //
    // StatusCode is a required field
    StatusCode *string `location:"uri" locationName:"status_code" type:"string" required:"true"`
    // contains filtered or unexported fields
}

A request to delete an existing MethodResponse resource.

func (DeleteMethodResponseInput) GoString

func (s DeleteMethodResponseInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMethodResponseInput) SetHttpMethod

func (s *DeleteMethodResponseInput) SetHttpMethod(v string) *DeleteMethodResponseInput

SetHttpMethod sets the HttpMethod field's value.

func (*DeleteMethodResponseInput) SetResourceId

func (s *DeleteMethodResponseInput) SetResourceId(v string) *DeleteMethodResponseInput

SetResourceId sets the ResourceId field's value.

func (*DeleteMethodResponseInput) SetRestApiId

func (s *DeleteMethodResponseInput) SetRestApiId(v string) *DeleteMethodResponseInput

SetRestApiId sets the RestApiId field's value.

func (*DeleteMethodResponseInput) SetStatusCode

func (s *DeleteMethodResponseInput) SetStatusCode(v string) *DeleteMethodResponseInput

SetStatusCode sets the StatusCode field's value.

func (DeleteMethodResponseInput) String

func (s DeleteMethodResponseInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMethodResponseInput) Validate

func (s *DeleteMethodResponseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteMethodResponseOutput

type DeleteMethodResponseOutput struct {
    // contains filtered or unexported fields
}

func (DeleteMethodResponseOutput) GoString

func (s DeleteMethodResponseOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteMethodResponseOutput) String

func (s DeleteMethodResponseOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteModelInput

type DeleteModelInput struct {

    // The name of the model to delete.
    //
    // ModelName is a required field
    ModelName *string `location:"uri" locationName:"model_name" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Request to delete an existing model in an existing RestApi resource.

func (DeleteModelInput) GoString

func (s DeleteModelInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteModelInput) SetModelName

func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput

SetModelName sets the ModelName field's value.

func (*DeleteModelInput) SetRestApiId

func (s *DeleteModelInput) SetRestApiId(v string) *DeleteModelInput

SetRestApiId sets the RestApiId field's value.

func (DeleteModelInput) String

func (s DeleteModelInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteModelInput) Validate

func (s *DeleteModelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteModelOutput

type DeleteModelOutput struct {
    // contains filtered or unexported fields
}

func (DeleteModelOutput) GoString

func (s DeleteModelOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteModelOutput) String

func (s DeleteModelOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRequestValidatorInput

type DeleteRequestValidatorInput struct {

    // The identifier of the RequestValidator to be deleted.
    //
    // RequestValidatorId is a required field
    RequestValidatorId *string `location:"uri" locationName:"requestvalidator_id" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Deletes a specified RequestValidator of a given RestApi.

func (DeleteRequestValidatorInput) GoString

func (s DeleteRequestValidatorInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRequestValidatorInput) SetRequestValidatorId

func (s *DeleteRequestValidatorInput) SetRequestValidatorId(v string) *DeleteRequestValidatorInput

SetRequestValidatorId sets the RequestValidatorId field's value.

func (*DeleteRequestValidatorInput) SetRestApiId

func (s *DeleteRequestValidatorInput) SetRestApiId(v string) *DeleteRequestValidatorInput

SetRestApiId sets the RestApiId field's value.

func (DeleteRequestValidatorInput) String

func (s DeleteRequestValidatorInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRequestValidatorInput) Validate

func (s *DeleteRequestValidatorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRequestValidatorOutput

type DeleteRequestValidatorOutput struct {
    // contains filtered or unexported fields
}

func (DeleteRequestValidatorOutput) GoString

func (s DeleteRequestValidatorOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteRequestValidatorOutput) String

func (s DeleteRequestValidatorOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteResourceInput

type DeleteResourceInput struct {

    // The identifier of the Resource resource.
    //
    // ResourceId is a required field
    ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"`

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Request to delete a Resource.

func (DeleteResourceInput) GoString

func (s DeleteResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteResourceInput) SetResourceId

func (s *DeleteResourceInput) SetResourceId(v string) *DeleteResourceInput

SetResourceId sets the ResourceId field's value.

func (*DeleteResourceInput) SetRestApiId

func (s *DeleteResourceInput) SetRestApiId(v string) *DeleteResourceInput

SetRestApiId sets the RestApiId field's value.

func (DeleteResourceInput) String

func (s DeleteResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteResourceInput) Validate

func (s *DeleteResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteResourceOutput

type DeleteResourceOutput struct {
    // contains filtered or unexported fields
}

func (DeleteResourceOutput) GoString

func (s DeleteResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteResourceOutput) String

func (s DeleteResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRestApiInput

type DeleteRestApiInput struct {

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Request to delete the specified API from your collection.

func (DeleteRestApiInput) GoString

func (s DeleteRestApiInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRestApiInput) SetRestApiId

func (s *DeleteRestApiInput) SetRestApiId(v string) *DeleteRestApiInput

SetRestApiId sets the RestApiId field's value.

func (DeleteRestApiInput) String

func (s DeleteRestApiInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRestApiInput) Validate

func (s *DeleteRestApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRestApiOutput

type DeleteRestApiOutput struct {
    // contains filtered or unexported fields
}

func (DeleteRestApiOutput) GoString

func (s DeleteRestApiOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteRestApiOutput) String

func (s DeleteRestApiOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteStageInput

type DeleteStageInput struct {

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`

    // The name of the Stage resource to delete.
    //
    // StageName is a required field
    StageName *string `location:"uri" locationName:"stage_name" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Requests API Gateway to delete a Stage resource.

func (DeleteStageInput) GoString

func (s DeleteStageInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteStageInput) SetRestApiId

func (s *DeleteStageInput) SetRestApiId(v string) *DeleteStageInput

SetRestApiId sets the RestApiId field's value.

func (*DeleteStageInput) SetStageName

func (s *DeleteStageInput) SetStageName(v string) *DeleteStageInput

SetStageName sets the StageName field's value.

func (DeleteStageInput) String

func (s DeleteStageInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteStageInput) Validate

func (s *DeleteStageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteStageOutput

type DeleteStageOutput struct {
    // contains filtered or unexported fields
}

func (DeleteStageOutput) GoString

func (s DeleteStageOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteStageOutput) String

func (s DeleteStageOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteUsagePlanInput

type DeleteUsagePlanInput struct {

    // The Id of the to-be-deleted usage plan.
    //
    // UsagePlanId is a required field
    UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The DELETE request to delete a usage plan of a given plan Id.

func (DeleteUsagePlanInput) GoString

func (s DeleteUsagePlanInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteUsagePlanInput) SetUsagePlanId

func (s *DeleteUsagePlanInput) SetUsagePlanId(v string) *DeleteUsagePlanInput

SetUsagePlanId sets the UsagePlanId field's value.

func (DeleteUsagePlanInput) String

func (s DeleteUsagePlanInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteUsagePlanInput) Validate

func (s *DeleteUsagePlanInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUsagePlanKeyInput

type DeleteUsagePlanKeyInput struct {

    // The Id of the UsagePlanKey resource to be deleted.
    //
    // KeyId is a required field
    KeyId *string `location:"uri" locationName:"keyId" type:"string" required:"true"`

    // The Id of the UsagePlan resource representing the usage plan containing the
    // to-be-deleted UsagePlanKey resource representing a plan customer.
    //
    // UsagePlanId is a required field
    UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan.

func (DeleteUsagePlanKeyInput) GoString

func (s DeleteUsagePlanKeyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteUsagePlanKeyInput) SetKeyId

func (s *DeleteUsagePlanKeyInput) SetKeyId(v string) *DeleteUsagePlanKeyInput

SetKeyId sets the KeyId field's value.

func (*DeleteUsagePlanKeyInput) SetUsagePlanId

func (s *DeleteUsagePlanKeyInput) SetUsagePlanId(v string) *DeleteUsagePlanKeyInput

SetUsagePlanId sets the UsagePlanId field's value.

func (DeleteUsagePlanKeyInput) String

func (s DeleteUsagePlanKeyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteUsagePlanKeyInput) Validate

func (s *DeleteUsagePlanKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUsagePlanKeyOutput

type DeleteUsagePlanKeyOutput struct {
    // contains filtered or unexported fields
}

func (DeleteUsagePlanKeyOutput) GoString

func (s DeleteUsagePlanKeyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteUsagePlanKeyOutput) String

func (s DeleteUsagePlanKeyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteUsagePlanOutput

type DeleteUsagePlanOutput struct {
    // contains filtered or unexported fields
}

func (DeleteUsagePlanOutput) GoString

func (s DeleteUsagePlanOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteUsagePlanOutput) String

func (s DeleteUsagePlanOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteVpcLinkInput

type DeleteVpcLinkInput struct {

    // The identifier of the VpcLink. It is used in an Integration to reference
    // this VpcLink.
    //
    // VpcLinkId is a required field
    VpcLinkId *string `location:"uri" locationName:"vpclink_id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Deletes an existing VpcLink of a specified identifier.

func (DeleteVpcLinkInput) GoString

func (s DeleteVpcLinkInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteVpcLinkInput) SetVpcLinkId

func (s *DeleteVpcLinkInput) SetVpcLinkId(v string) *DeleteVpcLinkInput

SetVpcLinkId sets the VpcLinkId field's value.

func (DeleteVpcLinkInput) String

func (s DeleteVpcLinkInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteVpcLinkInput) Validate

func (s *DeleteVpcLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteVpcLinkOutput

type DeleteVpcLinkOutput struct {
    // contains filtered or unexported fields
}

func (DeleteVpcLinkOutput) GoString

func (s DeleteVpcLinkOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteVpcLinkOutput) String

func (s DeleteVpcLinkOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Deployment

type Deployment struct {

    // A summary of the RestApi at the date and time that the deployment resource
    // was created.
    ApiSummary map[string]map[string]*MethodSnapshot `locationName:"apiSummary" type:"map"`

    // The date and time that the deployment resource was created.
    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

    // The description for the deployment resource.
    Description *string `locationName:"description" type:"string"`

    // The identifier for the deployment resource.
    Id *string `locationName:"id" type:"string"`
    // contains filtered or unexported fields
}

An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.

func (Deployment) GoString

func (s Deployment) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Deployment) SetApiSummary

func (s *Deployment) SetApiSummary(v map[string]map[string]*MethodSnapshot) *Deployment

SetApiSummary sets the ApiSummary field's value.

func (*Deployment) SetCreatedDate

func (s *Deployment) SetCreatedDate(v time.Time) *Deployment

SetCreatedDate sets the CreatedDate field's value.

func (*Deployment) SetDescription

func (s *Deployment) SetDescription(v string) *Deployment

SetDescription sets the Description field's value.

func (*Deployment) SetId

func (s *Deployment) SetId(v string) *Deployment

SetId sets the Id field's value.

func (Deployment) String

func (s Deployment) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeploymentCanarySettings

type DeploymentCanarySettings struct {

    // The percentage (0.0-100.0) of traffic routed to the canary deployment.
    PercentTraffic *float64 `locationName:"percentTraffic" type:"double"`

    // A stage variable overrides used for the canary release deployment. They can
    // override existing stage variables or add new stage variables for the canary
    // release deployment. These stage variables are represented as a string-to-string
    // map between stage variable names and their values.
    StageVariableOverrides map[string]*string `locationName:"stageVariableOverrides" type:"map"`

    // A Boolean flag to indicate whether the canary release deployment uses the
    // stage cache or not.
    UseStageCache *bool `locationName:"useStageCache" type:"boolean"`
    // contains filtered or unexported fields
}

The input configuration for a canary deployment.

func (DeploymentCanarySettings) GoString

func (s DeploymentCanarySettings) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeploymentCanarySettings) SetPercentTraffic

func (s *DeploymentCanarySettings) SetPercentTraffic(v float64) *DeploymentCanarySettings

SetPercentTraffic sets the PercentTraffic field's value.

func (*DeploymentCanarySettings) SetStageVariableOverrides

func (s *DeploymentCanarySettings) SetStageVariableOverrides(v map[string]*string) *DeploymentCanarySettings

SetStageVariableOverrides sets the StageVariableOverrides field's value.

func (*DeploymentCanarySettings) SetUseStageCache

func (s *DeploymentCanarySettings) SetUseStageCache(v bool) *DeploymentCanarySettings

SetUseStageCache sets the UseStageCache field's value.

func (DeploymentCanarySettings) String

func (s DeploymentCanarySettings) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DocumentationPart

type DocumentationPart struct {

    // The DocumentationPart identifier, generated by API Gateway when the DocumentationPart
    // is created.
    Id *string `locationName:"id" type:"string"`

    // The location of the API entity to which the documentation applies. Valid
    // fields depend on the targeted API entity type. All the valid location fields
    // are not required. If not explicitly specified, a valid location field is
    // treated as a wildcard and associated documentation content may be inherited
    // by matching entities, unless overridden.
    Location *DocumentationPartLocation `locationName:"location" type:"structure"`

    // A content map of API-specific key-value pairs describing the targeted API
    // entity. The map must be encoded as a JSON string, e.g., "{ \"description\":
    // \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields
    // from the properties map are exported and, hence, published as part of the
    // API entity definitions, while the original documentation parts are exported
    // in a OpenAPI extension of x-amazon-apigateway-documentation.
    Properties *string `locationName:"properties" type:"string"`
    // contains filtered or unexported fields
}

A documentation part for a targeted API entity.

func (DocumentationPart) GoString

func (s DocumentationPart) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DocumentationPart) SetId

func (s *DocumentationPart) SetId(v string) *DocumentationPart

SetId sets the Id field's value.

func (*DocumentationPart) SetLocation

func (s *DocumentationPart) SetLocation(v *DocumentationPartLocation) *DocumentationPart

SetLocation sets the Location field's value.

func (*DocumentationPart) SetProperties

func (s *DocumentationPart) SetProperties(v string) *DocumentationPart

SetProperties sets the Properties field's value.

func (DocumentationPart) String

func (s DocumentationPart) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DocumentationPartLocation

type DocumentationPartLocation struct {

    // The HTTP verb of a method. It is a valid field for the API entity types of
    // METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE,
    // RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any method.
    // When an applicable child entity inherits the content of an entity of the
    // same type with more general specifications of the other location attributes,
    // the child entity's method attribute must match that of the parent entity
    // exactly.
    Method *string `locationName:"method" type:"string"`

    // The name of the targeted API entity. It is a valid and required field for
    // the API entity types of AUTHORIZER, MODEL, PATH_PARAMETER, QUERY_PARAMETER,
    // REQUEST_HEADER, REQUEST_BODY and RESPONSE_HEADER. It is an invalid field
    // for any other entity type.
    Name *string `locationName:"name" type:"string"`

    // The URL path of the target. It is a valid field for the API entity types
    // of RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY,
    // RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is / for
    // the root resource. When an applicable child entity inherits the content of
    // another entity of the same type with more general specifications of the other
    // location attributes, the child entity's path attribute must match that of
    // the parent entity as a prefix.
    Path *string `locationName:"path" type:"string"`

    // The HTTP status code of a response. It is a valid field for the API entity
    // types of RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value
    // is * for any status code. When an applicable child entity inherits the content
    // of an entity of the same type with more general specifications of the other
    // location attributes, the child entity's statusCode attribute must match that
    // of the parent entity exactly.
    StatusCode *string `locationName:"statusCode" type:"string"`

    // The type of API entity to which the documentation content applies. Valid
    // values are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER,
    // REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY.
    // Content inheritance does not apply to any entity of the API, AUTHORIZER,
    // METHOD, MODEL, REQUEST_BODY, or RESOURCE type.
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"DocumentationPartType"`
    // contains filtered or unexported fields
}

Specifies the target API entity to which the documentation applies.

func (DocumentationPartLocation) GoString

func (s DocumentationPartLocation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DocumentationPartLocation) SetMethod

func (s *DocumentationPartLocation) SetMethod(v string) *DocumentationPartLocation

SetMethod sets the Method field's value.

func (*DocumentationPartLocation) SetName

func (s *DocumentationPartLocation) SetName(v string) *DocumentationPartLocation

SetName sets the Name field's value.

func (*DocumentationPartLocation) SetPath

func (s *DocumentationPartLocation) SetPath(v string) *DocumentationPartLocation

SetPath sets the Path field's value.

func (*DocumentationPartLocation) SetStatusCode

func (s *DocumentationPartLocation) SetStatusCode(v string) *DocumentationPartLocation

SetStatusCode sets the StatusCode field's value.

func (*DocumentationPartLocation) SetType

func (s *DocumentationPartLocation) SetType(v string) *DocumentationPartLocation

SetType sets the Type field's value.

func (DocumentationPartLocation) String

func (s DocumentationPartLocation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DocumentationPartLocation) Validate

func (s *DocumentationPartLocation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DocumentationVersion

type DocumentationVersion struct {

    // The date when the API documentation snapshot is created.
    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`

    // The description of the API documentation snapshot.
    Description *string `locationName:"description" type:"string"`

    // The version identifier of the API documentation snapshot.
    Version *string `locationName:"version" type:"string"`
    // contains filtered or unexported fields
}

A snapshot of the documentation of an API.

func (DocumentationVersion) GoString

func (s DocumentationVersion) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DocumentationVersion) SetCreatedDate

func (s *DocumentationVersion) SetCreatedDate(v time.Time) *DocumentationVersion

SetCreatedDate sets the CreatedDate field's value.

func (*DocumentationVersion) SetDescription

func (s *DocumentationVersion) SetDescription(v string) *DocumentationVersion

SetDescription sets the Description field's value.

func (*DocumentationVersion) SetVersion

func (s *DocumentationVersion) SetVersion(v string) *DocumentationVersion

SetVersion sets the Version field's value.

func (DocumentationVersion) String

func (s DocumentationVersion) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DomainName

type DomainName struct {

    // The reference to an Amazon Web Services-managed certificate that will be
    // used by edge-optimized endpoint for this domain name. Certificate Manager
    // is the only supported source.
    CertificateArn *string `locationName:"certificateArn" type:"string"`

    // The name of the certificate that will be used by edge-optimized endpoint
    // for this domain name.
    CertificateName *string `locationName:"certificateName" type:"string"`

    // The timestamp when the certificate that was used by edge-optimized endpoint
    // for this domain name was uploaded.
    CertificateUploadDate *time.Time `locationName:"certificateUploadDate" type:"timestamp"`

    // The domain name of the Amazon CloudFront distribution associated with this
    // custom domain name for an edge-optimized endpoint. You set up this association
    // when adding a DNS record pointing the custom domain name to this distribution
    // name. For more information about CloudFront distributions, see the Amazon
    // CloudFront documentation.
    DistributionDomainName *string `locationName:"distributionDomainName" type:"string"`

    // The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized
    // endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more
    // information, see Set up a Regional Custom Domain Name and AWS Regions and
    // Endpoints for API Gateway.
    DistributionHostedZoneId *string `locationName:"distributionHostedZoneId" type:"string"`

    // The custom domain name as an API host name, for example, my-api.example.com.
    DomainName *string `locationName:"domainName" type:"string"`

    // The status of the DomainName migration. The valid values are AVAILABLE and
    // UPDATING. If the status is UPDATING, the domain cannot be modified further
    // until the existing operation is complete. If it is AVAILABLE, the domain
    // can be updated.
    DomainNameStatus *string `locationName:"domainNameStatus" type:"string" enum:"DomainNameStatus"`

    // An optional text message containing detailed information about status of
    // the DomainName migration.
    DomainNameStatusMessage *string `locationName:"domainNameStatusMessage" type:"string"`

    // The endpoint configuration of this DomainName showing the endpoint types
    // of the domain name.
    EndpointConfiguration *EndpointConfiguration `locationName:"endpointConfiguration" type:"structure"`

    // The mutual TLS authentication configuration for a custom domain name. If
    // specified, API Gateway performs two-way authentication between the client
    // and the server. Clients must present a trusted certificate to access your
    // API.
    MutualTlsAuthentication *MutualTlsAuthentication `locationName:"mutualTlsAuthentication" type:"structure"`

    // The ARN of the public certificate issued by ACM to validate ownership of
    // your custom domain. Only required when configuring mutual TLS and using an
    // ACM imported or private CA certificate ARN as the regionalCertificateArn.
    OwnershipVerificationCertificateArn *string `locationName:"ownershipVerificationCertificateArn" type:"string"`

    // The reference to an Amazon Web Services-managed certificate that will be
    // used for validating the regional domain name. Certificate Manager is the
    // only supported source.
    RegionalCertificateArn *string `locationName:"regionalCertificateArn" type:"string"`

    // The name of the certificate that will be used for validating the regional
    // domain name.
    RegionalCertificateName *string `locationName:"regionalCertificateName" type:"string"`

    // The domain name associated with the regional endpoint for this custom domain
    // name. You set up this association by adding a DNS record that points the
    // custom domain name to this regional domain name. The regional domain name
    // is returned by API Gateway when you create a regional endpoint.
    RegionalDomainName *string `locationName:"regionalDomainName" type:"string"`

    // The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
    // For more information, see Set up a Regional Custom Domain Name and AWS Regions
    // and Endpoints for API Gateway.
    RegionalHostedZoneId *string `locationName:"regionalHostedZoneId" type:"string"`

    // The Transport Layer Security (TLS) version + cipher suite for this DomainName.
    // The valid values are TLS_1_0 and TLS_1_2.
    SecurityPolicy *string `locationName:"securityPolicy" type:"string" enum:"SecurityPolicy"`

    // The collection of tags. Each tag element is associated with a given resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

Represents a custom domain name as a user-friendly host name of an API (RestApi).

func (DomainName) GoString

func (s DomainName) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DomainName) SetCertificateArn

func (s *DomainName) SetCertificateArn(v string) *DomainName

SetCertificateArn sets the CertificateArn field's value.

func (*DomainName) SetCertificateName

func (s *DomainName) SetCertificateName(v string) *DomainName

SetCertificateName sets the CertificateName field's value.

func (*DomainName) SetCertificateUploadDate

func (s *DomainName) SetCertificateUploadDate(v time.Time) *DomainName

SetCertificateUploadDate sets the CertificateUploadDate field's value.

func (*DomainName) SetDistributionDomainName

func (s *DomainName) SetDistributionDomainName(v string) *DomainName

SetDistributionDomainName sets the DistributionDomainName field's value.

func (*DomainName) SetDistributionHostedZoneId

func (s *DomainName) SetDistributionHostedZoneId(v string) *DomainName

SetDistributionHostedZoneId sets the DistributionHostedZoneId field's value.

func (*DomainName) SetDomainName

func (s *DomainName) SetDomainName(v string) *DomainName

SetDomainName sets the DomainName field's value.

func (*DomainName) SetDomainNameStatus

func (s *DomainName) SetDomainNameStatus(v string) *DomainName

SetDomainNameStatus sets the DomainNameStatus field's value.

func (*DomainName) SetDomainNameStatusMessage

func (s *DomainName) SetDomainNameStatusMessage(v string) *DomainName

SetDomainNameStatusMessage sets the DomainNameStatusMessage field's value.

func (*DomainName) SetEndpointConfiguration

func (s *DomainName) SetEndpointConfiguration(v *EndpointConfiguration) *DomainName

SetEndpointConfiguration sets the EndpointConfiguration field's value.

func (*DomainName) SetMutualTlsAuthentication

func (s *DomainName) SetMutualTlsAuthentication(v *MutualTlsAuthentication) *DomainName

SetMutualTlsAuthentication sets the MutualTlsAuthentication field's value.

func (*DomainName) SetOwnershipVerificationCertificateArn

func (s *DomainName) SetOwnershipVerificationCertificateArn(v string) *DomainName

SetOwnershipVerificationCertificateArn sets the OwnershipVerificationCertificateArn field's value.

func (*DomainName) SetRegionalCertificateArn

func (s *DomainName) SetRegionalCertificateArn(v string) *DomainName

SetRegionalCertificateArn sets the RegionalCertificateArn field's value.

func (*DomainName) SetRegionalCertificateName

func (s *DomainName) SetRegionalCertificateName(v string) *DomainName

SetRegionalCertificateName sets the RegionalCertificateName field's value.

func (*DomainName) SetRegionalDomainName

func (s *DomainName) SetRegionalDomainName(v string) *DomainName

SetRegionalDomainName sets the RegionalDomainName field's value.

func (*DomainName) SetRegionalHostedZoneId

func (s *DomainName) SetRegionalHostedZoneId(v string) *DomainName

SetRegionalHostedZoneId sets the RegionalHostedZoneId field's value.

func (*DomainName) SetSecurityPolicy

func (s *DomainName) SetSecurityPolicy(v string) *DomainName

SetSecurityPolicy sets the SecurityPolicy field's value.

func (*DomainName) SetTags

func (s *DomainName) SetTags(v map[string]*string) *DomainName

SetTags sets the Tags field's value.

func (DomainName) String

func (s DomainName) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EndpointConfiguration

type EndpointConfiguration struct {

    // A list of endpoint types of an API (RestApi) or its custom domain name (DomainName).
    // For an edge-optimized API and its custom domain name, the endpoint type is
    // "EDGE". For a regional API and its custom domain name, the endpoint type
    // is REGIONAL. For a private API, the endpoint type is PRIVATE.
    Types []*string `locationName:"types" type:"list" enum:"EndpointType"`

    // A list of VpcEndpointIds of an API (RestApi) against which to create Route53
    // ALIASes. It is only supported for PRIVATE endpoint type.
    VpcEndpointIds []*string `locationName:"vpcEndpointIds" type:"list"`
    // contains filtered or unexported fields
}

The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.

func (EndpointConfiguration) GoString

func (s EndpointConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EndpointConfiguration) SetTypes

func (s *EndpointConfiguration) SetTypes(v []*string) *EndpointConfiguration

SetTypes sets the Types field's value.

func (*EndpointConfiguration) SetVpcEndpointIds

func (s *EndpointConfiguration) SetVpcEndpointIds(v []*string) *EndpointConfiguration

SetVpcEndpointIds sets the VpcEndpointIds field's value.

func (EndpointConfiguration) String

func (s EndpointConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FlushStageAuthorizersCacheInput

type FlushStageAuthorizersCacheInput struct {

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`

    // The name of the stage to flush.
    //
    // StageName is a required field
    StageName *string `location:"uri" locationName:"stage_name" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Request to flush authorizer cache entries on a specified stage.

func (FlushStageAuthorizersCacheInput) GoString

func (s FlushStageAuthorizersCacheInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FlushStageAuthorizersCacheInput) SetRestApiId

func (s *FlushStageAuthorizersCacheInput) SetRestApiId(v string) *FlushStageAuthorizersCacheInput

SetRestApiId sets the RestApiId field's value.

func (*FlushStageAuthorizersCacheInput) SetStageName

func (s *FlushStageAuthorizersCacheInput) SetStageName(v string) *FlushStageAuthorizersCacheInput

SetStageName sets the StageName field's value.

func (FlushStageAuthorizersCacheInput) String

func (s FlushStageAuthorizersCacheInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FlushStageAuthorizersCacheInput) Validate

func (s *FlushStageAuthorizersCacheInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type FlushStageAuthorizersCacheOutput

type FlushStageAuthorizersCacheOutput struct {
    // contains filtered or unexported fields
}

func (FlushStageAuthorizersCacheOutput) GoString

func (s FlushStageAuthorizersCacheOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (FlushStageAuthorizersCacheOutput) String

func (s FlushStageAuthorizersCacheOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FlushStageCacheInput

type FlushStageCacheInput struct {

    // The string identifier of the associated RestApi.
    //
    // RestApiId is a required field
    RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"`

    // The name of the stage to flush its cache.
    //
    // StageName is a required field
    StageName *string `location:"uri" locationName:"stage_name" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Requests API Gateway to flush a stage's cache.

func (FlushStageCacheInput) GoString

func (s FlushStageCacheInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FlushStageCacheInput) SetRestApiId

func (s *FlushStageCacheInput) SetRestApiId(v string) *FlushStageCacheInput

SetRestApiId sets the RestApiId field's value.

func (*FlushStageCacheInput) SetStageName

func (s *FlushStageCacheInput) SetStageName(v string) *FlushStageCacheInput

SetStageName sets the StageName field's value.

func (FlushStageCacheInput) String

func (s FlushStageCacheInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FlushStageCacheInput) Validate

func (s *FlushStageCacheInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type FlushStageCacheOutput

type FlushStageCacheOutput struct {
    // contains filtered or unexported fields
}

func (FlushStageCacheOutput) GoString

func (s FlushStageCacheOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (FlushStageCacheOutput) String

func (s FlushStageCacheOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GenerateClientCertificateInput

type GenerateClientCertificateInput struct {

    // The description of the ClientCertificate.
    Description *string `locationName:"description" type:"string"`

    // The key-value map of strings. The valid character set is [a-zA-Z+-=._:/].
    // The tag key can be up to 128 characters and must not start with aws:. The
    // tag value can be up to 256 characters.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

A request to generate a ClientCertificate resource.

func (GenerateClientCertificateInput) GoString

func (s GenerateClientCertificateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GenerateClientCertificateInput) SetDescription

func (s *GenerateClientCertificateInput) SetDescription(v string) *GenerateClientCertificateInput

SetDescription sets the Description field's value.

func (*GenerateClientCertificateInput) SetTags

func (s *GenerateClientCertificateInput) SetTags(v map[string]*string) *GenerateClientCertificateInput

SetTags sets the Tags field's value.

func (GenerateClientCertificateInput) String

func (s GenerateClientCertificateInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccountInput

type GetAccountInput struct {
    // contains filtered or unexported fields
}

Requests API Gateway to get information about the current Account resource.

func (GetAccountInput) GoString

func (s GetAccountInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (GetAccountInput) String

func (s GetAccountInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetApiKeyInput

type GetApiKeyInput struct {

    // The identifier of the ApiKey resource.
    //
    // ApiKey is a required field
    ApiKey *string `location:"uri" locationName:"api_Key" type:"string" required:"true"`

    // A boolean flag to specify whether (true) or not (false) the result contains
    // the key value.
    IncludeValue *bool `location:"querystring" locationName:"includeValue" type:"boolean"`
    // contains filtered or unexported fields
}

A request to get information about the current ApiKey resource.

func (GetApiKeyInput) GoString

func (s GetApiKeyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetApiKeyInput) SetApiKey

func (s *GetApiKeyInput) SetApiKey(v string) *GetApiKeyInput

SetApiKey sets the ApiKey field's value.

func (*GetApiKeyInput) SetIncludeValue

func (s *GetApiKeyInput) SetIncludeValue(v bool) *GetApiKeyInput

SetIncludeValue sets the IncludeValue field's value.

func (GetApiKeyInput) String

func (s GetApiKeyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetApiKeyInput) Validate

func (s *GetApiKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApiKeysInput

type GetApiKeysInput struct {

    // The identifier of a customer in Amazon Web Services Marketplace or an external
    // system, such as a developer portal.
    CustomerId *string `location:"querystring" locationName:"customerId" type:"string"`

    // A boolean flag to specify whether (true) or not (false) the result contains
    // key values.
    IncludeValues *bool `location:"querystring" locationName:"includeValues" type:"boolean"`

    // The maximum number of returned results per page. The default value is 25
    // and the maximum value is 500.
    Limit *int64 `location:"querystring" locationName:"limit" type:"integer"`

    // The name of queried API keys.
    NameQuery *string `location:"querystring" locationName:"name" type:"string"`

    // The current pagination position in the paged result set.
    Position *string `location:"querystring" locationName:"position" type:"string"`
    // contains filtered or unexported fields
}

A request to get information about the current ApiKeys resource.

func (GetApiKeysInput) GoString

func (s GetApiKeysInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetApiKeysInput) SetCustomerId

func (s *GetApiKeysInput) SetCustomerId(v string) *GetApiKeysInput

SetCustomerId sets the CustomerId field's value.

func (*GetApiKeysInput) SetIncludeValues

func (s *GetApiKeysInput) SetIncludeValues(v bool) *GetApiKeysInput

SetIncludeValues sets the IncludeValues field's value.

func (*GetApiKeysInput) SetLimit

func (s *GetApiKeysInput) SetLimit(v int64) *GetApiKeysInput

SetLimit sets the Limit field's value.

func (*GetApiKeysInput) SetNameQuery

func (s *GetApiKeysInput) SetNameQuery(v string) *GetApiKeysInput

SetNameQuery sets the NameQuery field's value.

func (*GetApiKeysInput) SetPosition

func (s *GetApiKeysInput) SetPosition(v string) *GetApiKeysInput

SetPosition sets the Position field's value.

func (GetApiKeysInput) String

func (s GetApiKeysInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetApiKeysOutput

type GetApiKeysOutput struct {

    // The current page of elements from this collection.
    Items []*ApiKey `locationName:"item" type:"list"`

    Position *string `locationName:"position" type:"string"`

    // A list of warning messages logged during the import of API keys when the
    // failOnWarnings o