...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/service/apigatewayv2"
Overview
Constants

Overview ▾

Package apigatewayv2 provides the client and types for making API requests to AmazonApiGatewayV2.

Amazon API Gateway V2

See https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29 for more information on this service.

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

Using the Client

To contact AmazonApiGatewayV2 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 AmazonApiGatewayV2 client ApiGatewayV2 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/apigatewayv2/#New

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

Types ▾

type ApiGatewayV2
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ApiGatewayV2
func (c *ApiGatewayV2) CreateApi(input *CreateApiInput) (*CreateApiOutput, error)
func (c *ApiGatewayV2) CreateApiMapping(input *CreateApiMappingInput) (*CreateApiMappingOutput, error)
func (c *ApiGatewayV2) CreateApiMappingRequest(input *CreateApiMappingInput) (req *request.Request, output *CreateApiMappingOutput)
func (c *ApiGatewayV2) CreateApiMappingWithContext(ctx aws.Context, input *CreateApiMappingInput, opts ...request.Option) (*CreateApiMappingOutput, error)
func (c *ApiGatewayV2) CreateApiRequest(input *CreateApiInput) (req *request.Request, output *CreateApiOutput)
func (c *ApiGatewayV2) CreateApiWithContext(ctx aws.Context, input *CreateApiInput, opts ...request.Option) (*CreateApiOutput, error)
func (c *ApiGatewayV2) CreateAuthorizer(input *CreateAuthorizerInput) (*CreateAuthorizerOutput, error)
func (c *ApiGatewayV2) CreateAuthorizerRequest(input *CreateAuthorizerInput) (req *request.Request, output *CreateAuthorizerOutput)
func (c *ApiGatewayV2) CreateAuthorizerWithContext(ctx aws.Context, input *CreateAuthorizerInput, opts ...request.Option) (*CreateAuthorizerOutput, error)
func (c *ApiGatewayV2) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error)
func (c *ApiGatewayV2) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput)
func (c *ApiGatewayV2) CreateDeploymentWithContext(ctx aws.Context, input *CreateDeploymentInput, opts ...request.Option) (*CreateDeploymentOutput, error)
func (c *ApiGatewayV2) CreateDomainName(input *CreateDomainNameInput) (*CreateDomainNameOutput, error)
func (c *ApiGatewayV2) CreateDomainNameRequest(input *CreateDomainNameInput) (req *request.Request, output *CreateDomainNameOutput)
func (c *ApiGatewayV2) CreateDomainNameWithContext(ctx aws.Context, input *CreateDomainNameInput, opts ...request.Option) (*CreateDomainNameOutput, error)
func (c *ApiGatewayV2) CreateIntegration(input *CreateIntegrationInput) (*CreateIntegrationOutput, error)
func (c *ApiGatewayV2) CreateIntegrationRequest(input *CreateIntegrationInput) (req *request.Request, output *CreateIntegrationOutput)
func (c *ApiGatewayV2) CreateIntegrationResponse(input *CreateIntegrationResponseInput) (*CreateIntegrationResponseOutput, error)
func (c *ApiGatewayV2) CreateIntegrationResponseRequest(input *CreateIntegrationResponseInput) (req *request.Request, output *CreateIntegrationResponseOutput)
func (c *ApiGatewayV2) CreateIntegrationResponseWithContext(ctx aws.Context, input *CreateIntegrationResponseInput, opts ...request.Option) (*CreateIntegrationResponseOutput, error)
func (c *ApiGatewayV2) CreateIntegrationWithContext(ctx aws.Context, input *CreateIntegrationInput, opts ...request.Option) (*CreateIntegrationOutput, error)
func (c *ApiGatewayV2) CreateModel(input *CreateModelInput) (*CreateModelOutput, error)
func (c *ApiGatewayV2) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput)
func (c *ApiGatewayV2) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error)
func (c *ApiGatewayV2) CreateRoute(input *CreateRouteInput) (*CreateRouteOutput, error)
func (c *ApiGatewayV2) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, output *CreateRouteOutput)
func (c *ApiGatewayV2) CreateRouteResponse(input *CreateRouteResponseInput) (*CreateRouteResponseOutput, error)
func (c *ApiGatewayV2) CreateRouteResponseRequest(input *CreateRouteResponseInput) (req *request.Request, output *CreateRouteResponseOutput)
func (c *ApiGatewayV2) CreateRouteResponseWithContext(ctx aws.Context, input *CreateRouteResponseInput, opts ...request.Option) (*CreateRouteResponseOutput, error)
func (c *ApiGatewayV2) CreateRouteWithContext(ctx aws.Context, input *CreateRouteInput, opts ...request.Option) (*CreateRouteOutput, error)
func (c *ApiGatewayV2) CreateStage(input *CreateStageInput) (*CreateStageOutput, error)
func (c *ApiGatewayV2) CreateStageRequest(input *CreateStageInput) (req *request.Request, output *CreateStageOutput)
func (c *ApiGatewayV2) CreateStageWithContext(ctx aws.Context, input *CreateStageInput, opts ...request.Option) (*CreateStageOutput, error)
func (c *ApiGatewayV2) CreateVpcLink(input *CreateVpcLinkInput) (*CreateVpcLinkOutput, error)
func (c *ApiGatewayV2) CreateVpcLinkRequest(input *CreateVpcLinkInput) (req *request.Request, output *CreateVpcLinkOutput)
func (c *ApiGatewayV2) CreateVpcLinkWithContext(ctx aws.Context, input *CreateVpcLinkInput, opts ...request.Option) (*CreateVpcLinkOutput, error)
func (c *ApiGatewayV2) DeleteAccessLogSettings(input *DeleteAccessLogSettingsInput) (*DeleteAccessLogSettingsOutput, error)
func (c *ApiGatewayV2) DeleteAccessLogSettingsRequest(input *DeleteAccessLogSettingsInput) (req *request.Request, output *DeleteAccessLogSettingsOutput)
func (c *ApiGatewayV2) DeleteAccessLogSettingsWithContext(ctx aws.Context, input *DeleteAccessLogSettingsInput, opts ...request.Option) (*DeleteAccessLogSettingsOutput, error)
func (c *ApiGatewayV2) DeleteApi(input *DeleteApiInput) (*DeleteApiOutput, error)
func (c *ApiGatewayV2) DeleteApiMapping(input *DeleteApiMappingInput) (*DeleteApiMappingOutput, error)
func (c *ApiGatewayV2) DeleteApiMappingRequest(input *DeleteApiMappingInput) (req *request.Request, output *DeleteApiMappingOutput)
func (c *ApiGatewayV2) DeleteApiMappingWithContext(ctx aws.Context, input *DeleteApiMappingInput, opts ...request.Option) (*DeleteApiMappingOutput, error)
func (c *ApiGatewayV2) DeleteApiRequest(input *DeleteApiInput) (req *request.Request, output *DeleteApiOutput)
func (c *ApiGatewayV2) DeleteApiWithContext(ctx aws.Context, input *DeleteApiInput, opts ...request.Option) (*DeleteApiOutput, error)
func (c *ApiGatewayV2) DeleteAuthorizer(input *DeleteAuthorizerInput) (*DeleteAuthorizerOutput, error)
func (c *ApiGatewayV2) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) (req *request.Request, output *DeleteAuthorizerOutput)
func (c *ApiGatewayV2) DeleteAuthorizerWithContext(ctx aws.Context, input *DeleteAuthorizerInput, opts ...request.Option) (*DeleteAuthorizerOutput, error)
func (c *ApiGatewayV2) DeleteCorsConfiguration(input *DeleteCorsConfigurationInput) (*DeleteCorsConfigurationOutput, error)
func (c *ApiGatewayV2) DeleteCorsConfigurationRequest(input *DeleteCorsConfigurationInput) (req *request.Request, output *DeleteCorsConfigurationOutput)
func (c *ApiGatewayV2) DeleteCorsConfigurationWithContext(ctx aws.Context, input *DeleteCorsConfigurationInput, opts ...request.Option) (*DeleteCorsConfigurationOutput, error)
func (c *ApiGatewayV2) DeleteDeployment(input *DeleteDeploymentInput) (*DeleteDeploymentOutput, error)
func (c *ApiGatewayV2) DeleteDeploymentRequest(input *DeleteDeploymentInput) (req *request.Request, output *DeleteDeploymentOutput)
func (c *ApiGatewayV2) DeleteDeploymentWithContext(ctx aws.Context, input *DeleteDeploymentInput, opts ...request.Option) (*DeleteDeploymentOutput, error)
func (c *ApiGatewayV2) DeleteDomainName(input *DeleteDomainNameInput) (*DeleteDomainNameOutput, error)
func (c *ApiGatewayV2) DeleteDomainNameRequest(input *DeleteDomainNameInput) (req *request.Request, output *DeleteDomainNameOutput)
func (c *ApiGatewayV2) DeleteDomainNameWithContext(ctx aws.Context, input *DeleteDomainNameInput, opts ...request.Option) (*DeleteDomainNameOutput, error)
func (c *ApiGatewayV2) DeleteIntegration(input *DeleteIntegrationInput) (*DeleteIntegrationOutput, error)
func (c *ApiGatewayV2) DeleteIntegrationRequest(input *DeleteIntegrationInput) (req *request.Request, output *DeleteIntegrationOutput)
func (c *ApiGatewayV2) DeleteIntegrationResponse(input *DeleteIntegrationResponseInput) (*DeleteIntegrationResponseOutput, error)
func (c *ApiGatewayV2) DeleteIntegrationResponseRequest(input *DeleteIntegrationResponseInput) (req *request.Request, output *DeleteIntegrationResponseOutput)
func (c *ApiGatewayV2) DeleteIntegrationResponseWithContext(ctx aws.Context, input *DeleteIntegrationResponseInput, opts ...request.Option) (*DeleteIntegrationResponseOutput, error)
func (c *ApiGatewayV2) DeleteIntegrationWithContext(ctx aws.Context, input *DeleteIntegrationInput, opts ...request.Option) (*DeleteIntegrationOutput, error)
func (c *ApiGatewayV2) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error)
func (c *ApiGatewayV2) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput)
func (c *ApiGatewayV2) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error)
func (c *ApiGatewayV2) DeleteRoute(input *DeleteRouteInput) (*DeleteRouteOutput, error)
func (c *ApiGatewayV2) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, output *DeleteRouteOutput)
func (c *ApiGatewayV2) DeleteRouteRequestParameter(input *DeleteRouteRequestParameterInput) (*DeleteRouteRequestParameterOutput, error)
func (c *ApiGatewayV2) DeleteRouteRequestParameterRequest(input *DeleteRouteRequestParameterInput) (req *request.Request, output *DeleteRouteRequestParameterOutput)
func (c *ApiGatewayV2) DeleteRouteRequestParameterWithContext(ctx aws.Context, input *DeleteRouteRequestParameterInput, opts ...request.Option) (*DeleteRouteRequestParameterOutput, error)
func (c *ApiGatewayV2) DeleteRouteResponse(input *DeleteRouteResponseInput) (*DeleteRouteResponseOutput, error)
func (c *ApiGatewayV2) DeleteRouteResponseRequest(input *DeleteRouteResponseInput) (req *request.Request, output *DeleteRouteResponseOutput)
func (c *ApiGatewayV2) DeleteRouteResponseWithContext(ctx aws.Context, input *DeleteRouteResponseInput, opts ...request.Option) (*DeleteRouteResponseOutput, error)
func (c *ApiGatewayV2) DeleteRouteSettings(input *DeleteRouteSettingsInput) (*DeleteRouteSettingsOutput, error)
func (c *ApiGatewayV2) DeleteRouteSettingsRequest(input *DeleteRouteSettingsInput) (req *request.Request, output *DeleteRouteSettingsOutput)
func (c *ApiGatewayV2) DeleteRouteSettingsWithContext(ctx aws.Context, input *DeleteRouteSettingsInput, opts ...request.Option) (*DeleteRouteSettingsOutput, error)
func (c *ApiGatewayV2) DeleteRouteWithContext(ctx aws.Context, input *DeleteRouteInput, opts ...request.Option) (*DeleteRouteOutput, error)
func (c *ApiGatewayV2) DeleteStage(input *DeleteStageInput) (*DeleteStageOutput, error)
func (c *ApiGatewayV2) DeleteStageRequest(input *DeleteStageInput) (req *request.Request, output *DeleteStageOutput)
func (c *ApiGatewayV2) DeleteStageWithContext(ctx aws.Context, input *DeleteStageInput, opts ...request.Option) (*DeleteStageOutput, error)
func (c *ApiGatewayV2) DeleteVpcLink(input *DeleteVpcLinkInput) (*DeleteVpcLinkOutput, error)
func (c *ApiGatewayV2) DeleteVpcLinkRequest(input *DeleteVpcLinkInput) (req *request.Request, output *DeleteVpcLinkOutput)
func (c *ApiGatewayV2) DeleteVpcLinkWithContext(ctx aws.Context, input *DeleteVpcLinkInput, opts ...request.Option) (*DeleteVpcLinkOutput, error)
func (c *ApiGatewayV2) ExportApi(input *ExportApiInput) (*ExportApiOutput, error)
func (c *ApiGatewayV2) ExportApiRequest(input *ExportApiInput) (req *request.Request, output *ExportApiOutput)
func (c *ApiGatewayV2) ExportApiWithContext(ctx aws.Context, input *ExportApiInput, opts ...request.Option) (*ExportApiOutput, error)
func (c *ApiGatewayV2) GetApi(input *GetApiInput) (*GetApiOutput, error)
func (c *ApiGatewayV2) GetApiMapping(input *GetApiMappingInput) (*GetApiMappingOutput, error)
func (c *ApiGatewayV2) GetApiMappingRequest(input *GetApiMappingInput) (req *request.Request, output *GetApiMappingOutput)
func (c *ApiGatewayV2) GetApiMappingWithContext(ctx aws.Context, input *GetApiMappingInput, opts ...request.Option) (*GetApiMappingOutput, error)
func (c *ApiGatewayV2) GetApiMappings(input *GetApiMappingsInput) (*GetApiMappingsOutput, error)
func (c *ApiGatewayV2) GetApiMappingsRequest(input *GetApiMappingsInput) (req *request.Request, output *GetApiMappingsOutput)
func (c *ApiGatewayV2) GetApiMappingsWithContext(ctx aws.Context, input *GetApiMappingsInput, opts ...request.Option) (*GetApiMappingsOutput, error)
func (c *ApiGatewayV2) GetApiRequest(input *GetApiInput) (req *request.Request, output *GetApiOutput)
func (c *ApiGatewayV2) GetApiWithContext(ctx aws.Context, input *GetApiInput, opts ...request.Option) (*GetApiOutput, error)
func (c *ApiGatewayV2) GetApis(input *GetApisInput) (*GetApisOutput, error)
func (c *ApiGatewayV2) GetApisRequest(input *GetApisInput) (req *request.Request, output *GetApisOutput)
func (c *ApiGatewayV2) GetApisWithContext(ctx aws.Context, input *GetApisInput, opts ...request.Option) (*GetApisOutput, error)
func (c *ApiGatewayV2) GetAuthorizer(input *GetAuthorizerInput) (*GetAuthorizerOutput, error)
func (c *ApiGatewayV2) GetAuthorizerRequest(input *GetAuthorizerInput) (req *request.Request, output *GetAuthorizerOutput)
func (c *ApiGatewayV2) GetAuthorizerWithContext(ctx aws.Context, input *GetAuthorizerInput, opts ...request.Option) (*GetAuthorizerOutput, error)
func (c *ApiGatewayV2) GetAuthorizers(input *GetAuthorizersInput) (*GetAuthorizersOutput, error)
func (c *ApiGatewayV2) GetAuthorizersRequest(input *GetAuthorizersInput) (req *request.Request, output *GetAuthorizersOutput)
func (c *ApiGatewayV2) GetAuthorizersWithContext(ctx aws.Context, input *GetAuthorizersInput, opts ...request.Option) (*GetAuthorizersOutput, error)
func (c *ApiGatewayV2) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error)
func (c *ApiGatewayV2) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *GetDeploymentOutput)
func (c *ApiGatewayV2) GetDeploymentWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...request.Option) (*GetDeploymentOutput, error)
func (c *ApiGatewayV2) GetDeployments(input *GetDeploymentsInput) (*GetDeploymentsOutput, error)
func (c *ApiGatewayV2) GetDeploymentsRequest(input *GetDeploymentsInput) (req *request.Request, output *GetDeploymentsOutput)
func (c *ApiGatewayV2) GetDeploymentsWithContext(ctx aws.Context, input *GetDeploymentsInput, opts ...request.Option) (*GetDeploymentsOutput, error)
func (c *ApiGatewayV2) GetDomainName(input *GetDomainNameInput) (*GetDomainNameOutput, error)
func (c *ApiGatewayV2) GetDomainNameRequest(input *GetDomainNameInput) (req *request.Request, output *GetDomainNameOutput)
func (c *ApiGatewayV2) GetDomainNameWithContext(ctx aws.Context, input *GetDomainNameInput, opts ...request.Option) (*GetDomainNameOutput, error)
func (c *ApiGatewayV2) GetDomainNames(input *GetDomainNamesInput) (*GetDomainNamesOutput, error)
func (c *ApiGatewayV2) GetDomainNamesRequest(input *GetDomainNamesInput) (req *request.Request, output *GetDomainNamesOutput)
func (c *ApiGatewayV2) GetDomainNamesWithContext(ctx aws.Context, input *GetDomainNamesInput, opts ...request.Option) (*GetDomainNamesOutput, error)
func (c *ApiGatewayV2) GetIntegration(input *GetIntegrationInput) (*GetIntegrationOutput, error)
func (c *ApiGatewayV2) GetIntegrationRequest(input *GetIntegrationInput) (req *request.Request, output *GetIntegrationOutput)
func (c *ApiGatewayV2) GetIntegrationResponse(input *GetIntegrationResponseInput) (*GetIntegrationResponseOutput, error)
func (c *ApiGatewayV2) GetIntegrationResponseRequest(input *GetIntegrationResponseInput) (req *request.Request, output *GetIntegrationResponseOutput)
func (c *ApiGatewayV2) GetIntegrationResponseWithContext(ctx aws.Context, input *GetIntegrationResponseInput, opts ...request.Option) (*GetIntegrationResponseOutput, error)
func (c *ApiGatewayV2) GetIntegrationResponses(input *GetIntegrationResponsesInput) (*GetIntegrationResponsesOutput, error)
func (c *ApiGatewayV2) GetIntegrationResponsesRequest(input *GetIntegrationResponsesInput) (req *request.Request, output *GetIntegrationResponsesOutput)
func (c *ApiGatewayV2) GetIntegrationResponsesWithContext(ctx aws.Context, input *GetIntegrationResponsesInput, opts ...request.Option) (*GetIntegrationResponsesOutput, error)
func (c *ApiGatewayV2) GetIntegrationWithContext(ctx aws.Context, input *GetIntegrationInput, opts ...request.Option) (*GetIntegrationOutput, error)
func (c *ApiGatewayV2) GetIntegrations(input *GetIntegrationsInput) (*GetIntegrationsOutput, error)
func (c *ApiGatewayV2) GetIntegrationsRequest(input *GetIntegrationsInput) (req *request.Request, output *GetIntegrationsOutput)
func (c *ApiGatewayV2) GetIntegrationsWithContext(ctx aws.Context, input *GetIntegrationsInput, opts ...request.Option) (*GetIntegrationsOutput, error)
func (c *ApiGatewayV2) GetModel(input *GetModelInput) (*GetModelOutput, error)
func (c *ApiGatewayV2) GetModelRequest(input *GetModelInput) (req *request.Request, output *GetModelOutput)
func (c *ApiGatewayV2) GetModelTemplate(input *GetModelTemplateInput) (*GetModelTemplateOutput, error)
func (c *ApiGatewayV2) GetModelTemplateRequest(input *GetModelTemplateInput) (req *request.Request, output *GetModelTemplateOutput)
func (c *ApiGatewayV2) GetModelTemplateWithContext(ctx aws.Context, input *GetModelTemplateInput, opts ...request.Option) (*GetModelTemplateOutput, error)
func (c *ApiGatewayV2) GetModelWithContext(ctx aws.Context, input *GetModelInput, opts ...request.Option) (*GetModelOutput, error)
func (c *ApiGatewayV2) GetModels(input *GetModelsInput) (*GetModelsOutput, error)
func (c *ApiGatewayV2) GetModelsRequest(input *GetModelsInput) (req *request.Request, output *GetModelsOutput)
func (c *ApiGatewayV2) GetModelsWithContext(ctx aws.Context, input *GetModelsInput, opts ...request.Option) (*GetModelsOutput, error)
func (c *ApiGatewayV2) GetRoute(input *GetRouteInput) (*GetRouteOutput, error)
func (c *ApiGatewayV2) GetRouteRequest(input *GetRouteInput) (req *request.Request, output *GetRouteOutput)
func (c *ApiGatewayV2) GetRouteResponse(input *GetRouteResponseInput) (*GetRouteResponseOutput, error)
func (c *ApiGatewayV2) GetRouteResponseRequest(input *GetRouteResponseInput) (req *request.Request, output *GetRouteResponseOutput)
func (c *ApiGatewayV2) GetRouteResponseWithContext(ctx aws.Context, input *GetRouteResponseInput, opts ...request.Option) (*GetRouteResponseOutput, error)
func (c *ApiGatewayV2) GetRouteResponses(input *GetRouteResponsesInput) (*GetRouteResponsesOutput, error)
func (c *ApiGatewayV2) GetRouteResponsesRequest(input *GetRouteResponsesInput) (req *request.Request, output *GetRouteResponsesOutput)
func (c *ApiGatewayV2) GetRouteResponsesWithContext(ctx aws.Context, input *GetRouteResponsesInput, opts ...request.Option) (*GetRouteResponsesOutput, error)
func (c *ApiGatewayV2) GetRouteWithContext(ctx aws.Context, input *GetRouteInput, opts ...request.Option) (*GetRouteOutput, error)
func (c *ApiGatewayV2) GetRoutes(input *GetRoutesInput) (*GetRoutesOutput, error)
func (c *ApiGatewayV2) GetRoutesRequest(input *GetRoutesInput) (req *request.Request, output *GetRoutesOutput)
func (c *ApiGatewayV2) GetRoutesWithContext(ctx aws.Context, input *GetRoutesInput, opts ...request.Option) (*GetRoutesOutput, error)
func (c *ApiGatewayV2) GetStage(input *GetStageInput) (*GetStageOutput, error)
func (c *ApiGatewayV2) GetStageRequest(input *GetStageInput) (req *request.Request, output *GetStageOutput)
func (c *ApiGatewayV2) GetStageWithContext(ctx aws.Context, input *GetStageInput, opts ...request.Option) (*GetStageOutput, error)
func (c *ApiGatewayV2) GetStages(input *GetStagesInput) (*GetStagesOutput, error)
func (c *ApiGatewayV2) GetStagesRequest(input *GetStagesInput) (req *request.Request, output *GetStagesOutput)
func (c *ApiGatewayV2) GetStagesWithContext(ctx aws.Context, input *GetStagesInput, opts ...request.Option) (*GetStagesOutput, error)
func (c *ApiGatewayV2) GetTags(input *GetTagsInput) (*GetTagsOutput, error)
func (c *ApiGatewayV2) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput)
func (c *ApiGatewayV2) GetTagsWithContext(ctx aws.Context, input *GetTagsInput, opts ...request.Option) (*GetTagsOutput, error)
func (c *ApiGatewayV2) GetVpcLink(input *GetVpcLinkInput) (*GetVpcLinkOutput, error)
func (c *ApiGatewayV2) GetVpcLinkRequest(input *GetVpcLinkInput) (req *request.Request, output *GetVpcLinkOutput)
func (c *ApiGatewayV2) GetVpcLinkWithContext(ctx aws.Context, input *GetVpcLinkInput, opts ...request.Option) (*GetVpcLinkOutput, error)
func (c *ApiGatewayV2) GetVpcLinks(input *GetVpcLinksInput) (*GetVpcLinksOutput, error)
func (c *ApiGatewayV2) GetVpcLinksRequest(input *GetVpcLinksInput) (req *request.Request, output *GetVpcLinksOutput)
func (c *ApiGatewayV2) GetVpcLinksWithContext(ctx aws.Context, input *GetVpcLinksInput, opts ...request.Option) (*GetVpcLinksOutput, error)
func (c *ApiGatewayV2) ImportApi(input *ImportApiInput) (*ImportApiOutput, error)
func (c *ApiGatewayV2) ImportApiRequest(input *ImportApiInput) (req *request.Request, output *ImportApiOutput)
func (c *ApiGatewayV2) ImportApiWithContext(ctx aws.Context, input *ImportApiInput, opts ...request.Option) (*ImportApiOutput, error)
func (c *ApiGatewayV2) ReimportApi(input *ReimportApiInput) (*ReimportApiOutput, error)
func (c *ApiGatewayV2) ReimportApiRequest(input *ReimportApiInput) (req *request.Request, output *ReimportApiOutput)
func (c *ApiGatewayV2) ReimportApiWithContext(ctx aws.Context, input *ReimportApiInput, opts ...request.Option) (*ReimportApiOutput, error)
func (c *ApiGatewayV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
func (c *ApiGatewayV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
func (c *ApiGatewayV2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
func (c *ApiGatewayV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
func (c *ApiGatewayV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
func (c *ApiGatewayV2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
func (c *ApiGatewayV2) UpdateApi(input *UpdateApiInput) (*UpdateApiOutput, error)
func (c *ApiGatewayV2) UpdateApiMapping(input *UpdateApiMappingInput) (*UpdateApiMappingOutput, error)
func (c *ApiGatewayV2) UpdateApiMappingRequest(input *UpdateApiMappingInput) (req *request.Request, output *UpdateApiMappingOutput)
func (c *ApiGatewayV2) UpdateApiMappingWithContext(ctx aws.Context, input *UpdateApiMappingInput, opts ...request.Option) (*UpdateApiMappingOutput, error)
func (c *ApiGatewayV2) UpdateApiRequest(input *UpdateApiInput) (req *request.Request, output *UpdateApiOutput)
func (c *ApiGatewayV2) UpdateApiWithContext(ctx aws.Context, input *UpdateApiInput, opts ...request.Option) (*UpdateApiOutput, error)
func (c *ApiGatewayV2) UpdateAuthorizer(input *UpdateAuthorizerInput) (*UpdateAuthorizerOutput, error)
func (c *ApiGatewayV2) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (req *request.Request, output *UpdateAuthorizerOutput)
func (c *ApiGatewayV2) UpdateAuthorizerWithContext(ctx aws.Context, input *UpdateAuthorizerInput, opts ...request.Option) (*UpdateAuthorizerOutput, error)
func (c *ApiGatewayV2) UpdateDeployment(input *UpdateDeploymentInput) (*UpdateDeploymentOutput, error)
func (c *ApiGatewayV2) UpdateDeploymentRequest(input *UpdateDeploymentInput) (req *request.Request, output *UpdateDeploymentOutput)
func (c *ApiGatewayV2) UpdateDeploymentWithContext(ctx aws.Context, input *UpdateDeploymentInput, opts ...request.Option) (*UpdateDeploymentOutput, error)
func (c *ApiGatewayV2) UpdateDomainName(input *UpdateDomainNameInput) (*UpdateDomainNameOutput, error)
func (c *ApiGatewayV2) UpdateDomainNameRequest(input *UpdateDomainNameInput) (req *request.Request, output *UpdateDomainNameOutput)
func (c *ApiGatewayV2) UpdateDomainNameWithContext(ctx aws.Context, input *UpdateDomainNameInput, opts ...request.Option) (*UpdateDomainNameOutput, error)
func (c *ApiGatewayV2) UpdateIntegration(input *UpdateIntegrationInput) (*UpdateIntegrationOutput, error)
func (c *ApiGatewayV2) UpdateIntegrationRequest(input *UpdateIntegrationInput) (req *request.Request, output *UpdateIntegrationOutput)
func (c *ApiGatewayV2) UpdateIntegrationResponse(input *UpdateIntegrationResponseInput) (*UpdateIntegrationResponseOutput, error)
func (c *ApiGatewayV2) UpdateIntegrationResponseRequest(input *UpdateIntegrationResponseInput) (req *request.Request, output *UpdateIntegrationResponseOutput)
func (c *ApiGatewayV2) UpdateIntegrationResponseWithContext(ctx aws.Context, input *UpdateIntegrationResponseInput, opts ...request.Option) (*UpdateIntegrationResponseOutput, error)
func (c *ApiGatewayV2) UpdateIntegrationWithContext(ctx aws.Context, input *UpdateIntegrationInput, opts ...request.Option) (*UpdateIntegrationOutput, error)
func (c *ApiGatewayV2) UpdateModel(input *UpdateModelInput) (*UpdateModelOutput, error)
func (c *ApiGatewayV2) UpdateModelRequest(input *UpdateModelInput) (req *request.Request, output *UpdateModelOutput)
func (c *ApiGatewayV2) UpdateModelWithContext(ctx aws.Context, input *UpdateModelInput, opts ...request.Option) (*UpdateModelOutput, error)
func (c *ApiGatewayV2) UpdateRoute(input *UpdateRouteInput) (*UpdateRouteOutput, error)
func (c *ApiGatewayV2) UpdateRouteRequest(input *UpdateRouteInput) (req *request.Request, output *UpdateRouteOutput)
func (c *ApiGatewayV2) UpdateRouteResponse(input *UpdateRouteResponseInput) (*UpdateRouteResponseOutput, error)
func (c *ApiGatewayV2) UpdateRouteResponseRequest(input *UpdateRouteResponseInput) (req *request.Request, output *UpdateRouteResponseOutput)
func (c *ApiGatewayV2) UpdateRouteResponseWithContext(ctx aws.Context, input *UpdateRouteResponseInput, opts ...request.Option) (*UpdateRouteResponseOutput, error)
func (c *ApiGatewayV2) UpdateRouteWithContext(ctx aws.Context, input *UpdateRouteInput, opts ...request.Option) (*UpdateRouteOutput, error)
func (c *ApiGatewayV2) UpdateStage(input *UpdateStageInput) (*UpdateStageOutput, error)
func (c *ApiGatewayV2) UpdateStageRequest(input *UpdateStageInput) (req *request.Request, output *UpdateStageOutput)
func (c *ApiGatewayV2) UpdateStageWithContext(ctx aws.Context, input *UpdateStageInput, opts ...request.Option) (*UpdateStageOutput, error)
func (c *ApiGatewayV2) UpdateVpcLink(input *UpdateVpcLinkInput) (*UpdateVpcLinkOutput, error)
func (c *ApiGatewayV2) UpdateVpcLinkRequest(input *UpdateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput)
func (c *ApiGatewayV2) UpdateVpcLinkWithContext(ctx aws.Context, input *UpdateVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error)
type AccessDeniedException
type AccessLogSettings
type Api
type ApiMapping
type Authorizer
type BadRequestException
type ConflictException
type Cors
type CreateApiInput
type CreateApiMappingInput
type CreateApiMappingOutput
type CreateApiOutput
type CreateAuthorizerInput
type CreateAuthorizerOutput
type CreateDeploymentInput
type CreateDeploymentOutput
type CreateDomainNameInput
type CreateDomainNameOutput
type CreateIntegrationInput
type CreateIntegrationOutput
type CreateIntegrationResponseInput
type CreateIntegrationResponseOutput
type CreateModelInput
type CreateModelOutput
type CreateRouteInput
type CreateRouteOutput
type CreateRouteResponseInput
type CreateRouteResponseOutput
type CreateStageInput
type CreateStageOutput
type CreateVpcLinkInput
type CreateVpcLinkOutput
type DeleteAccessLogSettingsInput
type DeleteAccessLogSettingsOutput
type DeleteApiInput
type DeleteApiMappingInput
type DeleteApiMappingOutput
type DeleteApiOutput
type DeleteAuthorizerInput
type DeleteAuthorizerOutput
type DeleteCorsConfigurationInput
type DeleteCorsConfigurationOutput
type DeleteDeploymentInput
type DeleteDeploymentOutput
type DeleteDomainNameInput
type DeleteDomainNameOutput
type DeleteIntegrationInput
type DeleteIntegrationOutput
type DeleteIntegrationResponseInput
type DeleteIntegrationResponseOutput
type DeleteModelInput
type DeleteModelOutput
type DeleteRouteInput
type DeleteRouteOutput
type DeleteRouteRequestParameterInput
type DeleteRouteRequestParameterOutput
type DeleteRouteResponseInput
type DeleteRouteResponseOutput
type DeleteRouteSettingsInput
type DeleteRouteSettingsOutput
type DeleteStageInput
type DeleteStageOutput
type DeleteVpcLinkInput
type DeleteVpcLinkOutput
type Deployment
type DomainName
type DomainNameConfiguration
type ExportApiInput
type ExportApiOutput
type GetApiInput
type GetApiMappingInput
type GetApiMappingOutput
type GetApiMappingsInput
type GetApiMappingsOutput
type GetApiOutput
type GetApisInput
type GetApisOutput
type GetAuthorizerInput
type GetAuthorizerOutput
type GetAuthorizersInput
type GetAuthorizersOutput
type GetDeploymentInput
type GetDeploymentOutput
type GetDeploymentsInput
type GetDeploymentsOutput
type GetDomainNameInput
type GetDomainNameOutput
type GetDomainNamesInput
type GetDomainNamesOutput
type GetIntegrationInput
type GetIntegrationOutput
type GetIntegrationResponseInput
type GetIntegrationResponseOutput
type GetIntegrationResponsesInput
type GetIntegrationResponsesOutput
type GetIntegrationsInput
type GetIntegrationsOutput
type GetModelInput
type GetModelOutput
type GetModelTemplateInput
type GetModelTemplateOutput
type GetModelsInput
type GetModelsOutput
type GetRouteInput
type GetRouteOutput
type GetRouteResponseInput
type GetRouteResponseOutput
type GetRouteResponsesInput
type GetRouteResponsesOutput
type GetRoutesInput
type GetRoutesOutput
type GetStageInput
type GetStageOutput
type GetStagesInput
type GetStagesOutput
type GetTagsInput
type GetTagsOutput
type GetVpcLinkInput
type GetVpcLinkOutput
type GetVpcLinksInput
type GetVpcLinksOutput
type ImportApiInput
type ImportApiOutput
type Integration
type IntegrationResponse
type JWTConfiguration
type Model
type NotFoundException
type ParameterConstraints
type ReimportApiInput
type ReimportApiOutput
type Route
type RouteResponse
type RouteSettings
type Stage
type TagResourceInput
type TagResourceOutput
type TlsConfig
type TlsConfigInput
type TooManyRequestsException
type UntagResourceInput
type UntagResourceOutput
type UpdateApiInput
type UpdateApiMappingInput
type UpdateApiMappingOutput
type UpdateApiOutput
type UpdateAuthorizerInput
type UpdateAuthorizerOutput
type UpdateDeploymentInput
type UpdateDeploymentOutput
type UpdateDomainNameInput
type UpdateDomainNameOutput
type UpdateIntegrationInput
type UpdateIntegrationOutput
type UpdateIntegrationResponseInput
type UpdateIntegrationResponseOutput
type UpdateModelInput
type UpdateModelOutput
type UpdateRouteInput
type UpdateRouteOutput
type UpdateRouteResponseInput
type UpdateRouteResponseOutput
type UpdateStageInput
type UpdateStageOutput
type UpdateVpcLinkInput
type UpdateVpcLinkOutput
type VpcLink

Constants ▾

const (
    // AuthorizationTypeNone is a AuthorizationType enum value
    AuthorizationTypeNone = "NONE"

    // AuthorizationTypeAwsIam is a AuthorizationType enum value
    AuthorizationTypeAwsIam = "AWS_IAM"

    // AuthorizationTypeCustom is a AuthorizationType enum value
    AuthorizationTypeCustom = "CUSTOM"

    // AuthorizationTypeJwt is a AuthorizationType enum value
    AuthorizationTypeJwt = "JWT"
)

The authorization type. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer. For HTTP APIs, valid values are NONE for open access, or JWT for using JSON Web Tokens.

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

    // AuthorizerTypeJwt is a AuthorizerType enum value
    AuthorizerTypeJwt = "JWT"
)

The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda function using incoming request parameters. For HTTP APIs, specify JWT to use JSON Web Tokens.

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

    // ConnectionTypeVpcLink is a ConnectionType enum value
    ConnectionTypeVpcLink = "VPC_LINK"
)

Represents a connection type.

const (
    // ContentHandlingStrategyConvertToBinary is a ContentHandlingStrategy enum value
    ContentHandlingStrategyConvertToBinary = "CONVERT_TO_BINARY"

    // ContentHandlingStrategyConvertToText is a ContentHandlingStrategy enum value
    ContentHandlingStrategyConvertToText = "CONVERT_TO_TEXT"
)

Specifies how to handle response payload content type conversions. Supported only for WebSocket APIs.

const (
    // DeploymentStatusPending is a DeploymentStatus enum value
    DeploymentStatusPending = "PENDING"

    // DeploymentStatusFailed is a DeploymentStatus enum value
    DeploymentStatusFailed = "FAILED"

    // DeploymentStatusDeployed is a DeploymentStatus enum value
    DeploymentStatusDeployed = "DEPLOYED"
)

Represents a deployment status.

const (
    // DomainNameStatusAvailable is a DomainNameStatus enum value
    DomainNameStatusAvailable = "AVAILABLE"

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

The status of the domain name 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.

const (
    // EndpointTypeRegional is a EndpointType enum value
    EndpointTypeRegional = "REGIONAL"

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

Represents an endpoint type.

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

    // IntegrationTypeHttp is a IntegrationType enum value
    IntegrationTypeHttp = "HTTP"

    // 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"
)

Represents an API method integration type.

const (
    // LoggingLevelError is a LoggingLevel enum value
    LoggingLevelError = "ERROR"

    // LoggingLevelInfo is a LoggingLevel enum value
    LoggingLevelInfo = "INFO"

    // LoggingLevelOff is a LoggingLevel enum value
    LoggingLevelOff = "OFF"
)

The logging level.

const (
    // PassthroughBehaviorWhenNoMatch is a PassthroughBehavior enum value
    PassthroughBehaviorWhenNoMatch = "WHEN_NO_MATCH"

    // PassthroughBehaviorNever is a PassthroughBehavior enum value
    PassthroughBehaviorNever = "NEVER"

    // PassthroughBehaviorWhenNoTemplates is a PassthroughBehavior enum value
    PassthroughBehaviorWhenNoTemplates = "WHEN_NO_TEMPLATES"
)

Represents passthrough behavior for an integration response. Supported only for WebSocket APIs.

const (
    // ProtocolTypeWebsocket is a ProtocolType enum value
    ProtocolTypeWebsocket = "WEBSOCKET"

    // ProtocolTypeHttp is a ProtocolType enum value
    ProtocolTypeHttp = "HTTP"
)

Represents a protocol type.

const (
    // SecurityPolicyTls10 is a SecurityPolicy enum value
    SecurityPolicyTls10 = "TLS_1_0"

    // SecurityPolicyTls12 is a SecurityPolicy enum value
    SecurityPolicyTls12 = "TLS_1_2"
)

The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.

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

    // VpcLinkStatusAvailable is a VpcLinkStatus enum value
    VpcLinkStatusAvailable = "AVAILABLE"

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

    // VpcLinkStatusFailed is a VpcLinkStatus enum value
    VpcLinkStatusFailed = "FAILED"

    // VpcLinkStatusInactive is a VpcLinkStatus enum value
    VpcLinkStatusInactive = "INACTIVE"
)

The status of the VPC link.

const (

    // ErrCodeAccessDeniedException for service response error code
    // "AccessDeniedException".
    ErrCodeAccessDeniedException = "AccessDeniedException"

    // ErrCodeBadRequestException for service response error code
    // "BadRequestException".
    //
    // The 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 requested operation would cause a conflict with the current state of
    // a service resource associated with the request. Resolve the conflict before
    // retrying this request. See the accompanying error message for details.
    ErrCodeConflictException = "ConflictException"

    // ErrCodeNotFoundException for service response error code
    // "NotFoundException".
    //
    // The resource specified in the request was not found. See the message field
    // for more information.
    ErrCodeNotFoundException = "NotFoundException"

    // ErrCodeTooManyRequestsException for service response error code
    // "TooManyRequestsException".
    //
    // A limit has been exceeded. See the accompanying error message for details.
    ErrCodeTooManyRequestsException = "TooManyRequestsException"
)
const (
    ServiceName = "ApiGatewayV2" // Name of service.
    EndpointsID = "apigateway"   // ID to lookup a service endpoint with.
    ServiceID   = "ApiGatewayV2" // ServiceID is a unique identifier of a specific service.
)

Service information constants

const (
    // VpcLinkVersionV2 is a VpcLinkVersion enum value
    VpcLinkVersionV2 = "V2"
)

The version of the VPC link.

type AccessDeniedException

type AccessDeniedException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation

type AccessLogSettings

type AccessLogSettings struct {

    // The ARN of the CloudWatch Logs log group to receive access logs.
    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
}

Settings for logging access in a stage.

func (AccessLogSettings) GoString

func (s AccessLogSettings) GoString() string

GoString returns the string representation

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

type Api

type Api struct {

    // The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com.
    // The stage name is typically appended to this URI to form a complete path
    // to a deployed API stage.
    ApiEndpoint *string `locationName:"apiEndpoint" type:"string"`

    // The API ID.
    ApiId *string `locationName:"apiId" type:"string"`

    // An API key selection expression. Supported only for WebSocket APIs. See API
    // Key Selection Expressions (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions).
    ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

    // A CORS configuration. Supported only for HTTP APIs.
    CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

    // The timestamp when the API was created.
    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // The description of the API.
    Description *string `locationName:"description" type:"string"`

    // Avoid validating models when creating a deployment. Supported only for WebSocket
    // APIs.
    DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

    // The validation information during API import. This may include particular
    // properties of your OpenAPI definition which are ignored during import. Supported
    // only for HTTP APIs.
    ImportInfo []*string `locationName:"importInfo" type:"list"`

    // The name of the API.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`

    // The API protocol.
    //
    // ProtocolType is a required field
    ProtocolType *string `locationName:"protocolType" type:"string" required:"true" enum:"ProtocolType"`

    // The route selection expression for the API. For HTTP APIs, the routeSelectionExpression
    // must be ${request.method} ${request.path}. If not provided, this will be
    // the default for HTTP APIs. This property is required for WebSocket APIs.
    //
    // RouteSelectionExpression is a required field
    RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string" required:"true"`

    // A collection of tags associated with the API.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // A version identifier for the API.
    Version *string `locationName:"version" type:"string"`

    // The warning messages reported when failonwarnings is turned on during API
    // import.
    Warnings []*string `locationName:"warnings" type:"list"`
    // contains filtered or unexported fields
}

Represents an API.

func (Api) GoString

func (s Api) GoString() string

GoString returns the string representation

func (*Api) SetApiEndpoint

func (s *Api) SetApiEndpoint(v string) *Api

SetApiEndpoint sets the ApiEndpoint field's value.

func (*Api) SetApiId

func (s *Api) SetApiId(v string) *Api

SetApiId sets the ApiId field's value.

func (*Api) SetApiKeySelectionExpression

func (s *Api) SetApiKeySelectionExpression(v string) *Api

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*Api) SetCorsConfiguration

func (s *Api) SetCorsConfiguration(v *Cors) *Api

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*Api) SetCreatedDate

func (s *Api) SetCreatedDate(v time.Time) *Api

SetCreatedDate sets the CreatedDate field's value.

func (*Api) SetDescription

func (s *Api) SetDescription(v string) *Api

SetDescription sets the Description field's value.

func (*Api) SetDisableSchemaValidation

func (s *Api) SetDisableSchemaValidation(v bool) *Api

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*Api) SetImportInfo

func (s *Api) SetImportInfo(v []*string) *Api

SetImportInfo sets the ImportInfo field's value.

func (*Api) SetName

func (s *Api) SetName(v string) *Api

SetName sets the Name field's value.

func (*Api) SetProtocolType

func (s *Api) SetProtocolType(v string) *Api

SetProtocolType sets the ProtocolType field's value.

func (*Api) SetRouteSelectionExpression

func (s *Api) SetRouteSelectionExpression(v string) *Api

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*Api) SetTags

func (s *Api) SetTags(v map[string]*string) *Api

SetTags sets the Tags field's value.

func (*Api) SetVersion

func (s *Api) SetVersion(v string) *Api

SetVersion sets the Version field's value.

func (*Api) SetWarnings

func (s *Api) SetWarnings(v []*string) *Api

SetWarnings sets the Warnings field's value.

func (Api) String

func (s Api) String() string

String returns the string representation

type ApiGatewayV2

type ApiGatewayV2 struct {
    *client.Client
}

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

ApiGatewayV2 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) *ApiGatewayV2

New creates a new instance of the ApiGatewayV2 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 ApiGatewayV2 client from just a session.
svc := apigatewayv2.New(mySession)

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

func (*ApiGatewayV2) CreateApi

func (c *ApiGatewayV2) CreateApi(input *CreateApiInput) (*CreateApiOutput, error)

CreateApi API operation for AmazonApiGatewayV2.

Creates an Api resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateApi for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi

func (*ApiGatewayV2) CreateApiMapping

func (c *ApiGatewayV2) CreateApiMapping(input *CreateApiMappingInput) (*CreateApiMappingOutput, error)

CreateApiMapping API operation for AmazonApiGatewayV2.

Creates an API mapping.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateApiMapping for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping

func (*ApiGatewayV2) CreateApiMappingRequest

func (c *ApiGatewayV2) CreateApiMappingRequest(input *CreateApiMappingInput) (req *request.Request, output *CreateApiMappingOutput)

CreateApiMappingRequest generates a "aws/request.Request" representing the client's request for the CreateApiMapping 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 CreateApiMapping for more information on using the CreateApiMapping 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 CreateApiMappingRequest method.
req, resp := client.CreateApiMappingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping

func (*ApiGatewayV2) CreateApiMappingWithContext

func (c *ApiGatewayV2) CreateApiMappingWithContext(ctx aws.Context, input *CreateApiMappingInput, opts ...request.Option) (*CreateApiMappingOutput, error)

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

See CreateApiMapping 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 (*ApiGatewayV2) CreateApiRequest

func (c *ApiGatewayV2) CreateApiRequest(input *CreateApiInput) (req *request.Request, output *CreateApiOutput)

CreateApiRequest generates a "aws/request.Request" representing the client's request for the CreateApi 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 CreateApi for more information on using the CreateApi 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 CreateApiRequest method.
req, resp := client.CreateApiRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi

func (*ApiGatewayV2) CreateApiWithContext

func (c *ApiGatewayV2) CreateApiWithContext(ctx aws.Context, input *CreateApiInput, opts ...request.Option) (*CreateApiOutput, error)

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

See CreateApi 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 (*ApiGatewayV2) CreateAuthorizer

func (c *ApiGatewayV2) CreateAuthorizer(input *CreateAuthorizerInput) (*CreateAuthorizerOutput, error)

CreateAuthorizer API operation for AmazonApiGatewayV2.

Creates an Authorizer for an 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 AmazonApiGatewayV2's API operation CreateAuthorizer for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer

func (*ApiGatewayV2) CreateAuthorizerRequest

func (c *ApiGatewayV2) CreateAuthorizerRequest(input *CreateAuthorizerInput) (req *request.Request, output *CreateAuthorizerOutput)

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

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

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

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

// Example sending a request using the CreateAuthorizerRequest method.
req, resp := client.CreateAuthorizerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer

func (*ApiGatewayV2) CreateAuthorizerWithContext

func (c *ApiGatewayV2) CreateAuthorizerWithContext(ctx aws.Context, input *CreateAuthorizerInput, opts ...request.Option) (*CreateAuthorizerOutput, 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 (*ApiGatewayV2) CreateDeployment

func (c *ApiGatewayV2) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error)

CreateDeployment API operation for AmazonApiGatewayV2.

Creates a Deployment for an 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 AmazonApiGatewayV2's API operation CreateDeployment for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment

func (*ApiGatewayV2) CreateDeploymentRequest

func (c *ApiGatewayV2) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput)

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

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

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

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

// Example sending a request using the CreateDeploymentRequest method.
req, resp := client.CreateDeploymentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment

func (*ApiGatewayV2) CreateDeploymentWithContext

func (c *ApiGatewayV2) CreateDeploymentWithContext(ctx aws.Context, input *CreateDeploymentInput, opts ...request.Option) (*CreateDeploymentOutput, 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 (*ApiGatewayV2) CreateDomainName

func (c *ApiGatewayV2) CreateDomainName(input *CreateDomainNameInput) (*CreateDomainNameOutput, error)

CreateDomainName API operation for AmazonApiGatewayV2.

Creates a 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 AmazonApiGatewayV2's API operation CreateDomainName for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

* AccessDeniedException

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName

func (*ApiGatewayV2) CreateDomainNameRequest

func (c *ApiGatewayV2) CreateDomainNameRequest(input *CreateDomainNameInput) (req *request.Request, output *CreateDomainNameOutput)

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

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

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

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

// Example sending a request using the CreateDomainNameRequest method.
req, resp := client.CreateDomainNameRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName

func (*ApiGatewayV2) CreateDomainNameWithContext

func (c *ApiGatewayV2) CreateDomainNameWithContext(ctx aws.Context, input *CreateDomainNameInput, opts ...request.Option) (*CreateDomainNameOutput, 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 (*ApiGatewayV2) CreateIntegration

func (c *ApiGatewayV2) CreateIntegration(input *CreateIntegrationInput) (*CreateIntegrationOutput, error)

CreateIntegration API operation for AmazonApiGatewayV2.

Creates an 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 AmazonApiGatewayV2's API operation CreateIntegration for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration

func (*ApiGatewayV2) CreateIntegrationRequest

func (c *ApiGatewayV2) CreateIntegrationRequest(input *CreateIntegrationInput) (req *request.Request, output *CreateIntegrationOutput)

CreateIntegrationRequest generates a "aws/request.Request" representing the client's request for the CreateIntegration 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 CreateIntegration for more information on using the CreateIntegration 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 CreateIntegrationRequest method.
req, resp := client.CreateIntegrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration

func (*ApiGatewayV2) CreateIntegrationResponse

func (c *ApiGatewayV2) CreateIntegrationResponse(input *CreateIntegrationResponseInput) (*CreateIntegrationResponseOutput, error)

CreateIntegrationResponse API operation for AmazonApiGatewayV2.

Creates an IntegrationResponses.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateIntegrationResponse for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse

func (*ApiGatewayV2) CreateIntegrationResponseRequest

func (c *ApiGatewayV2) CreateIntegrationResponseRequest(input *CreateIntegrationResponseInput) (req *request.Request, output *CreateIntegrationResponseOutput)

CreateIntegrationResponseRequest generates a "aws/request.Request" representing the client's request for the CreateIntegrationResponse 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 CreateIntegrationResponse for more information on using the CreateIntegrationResponse 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 CreateIntegrationResponseRequest method.
req, resp := client.CreateIntegrationResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse

func (*ApiGatewayV2) CreateIntegrationResponseWithContext

func (c *ApiGatewayV2) CreateIntegrationResponseWithContext(ctx aws.Context, input *CreateIntegrationResponseInput, opts ...request.Option) (*CreateIntegrationResponseOutput, error)

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

See CreateIntegrationResponse 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 (*ApiGatewayV2) CreateIntegrationWithContext

func (c *ApiGatewayV2) CreateIntegrationWithContext(ctx aws.Context, input *CreateIntegrationInput, opts ...request.Option) (*CreateIntegrationOutput, error)

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

See CreateIntegration 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 (*ApiGatewayV2) CreateModel

func (c *ApiGatewayV2) CreateModel(input *CreateModelInput) (*CreateModelOutput, error)

CreateModel API operation for AmazonApiGatewayV2.

Creates a Model for an 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 AmazonApiGatewayV2's API operation CreateModel for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel

func (*ApiGatewayV2) CreateModelRequest

func (c *ApiGatewayV2) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput)

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

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

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

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

// Example sending a request using the CreateModelRequest method.
req, resp := client.CreateModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel

func (*ApiGatewayV2) CreateModelWithContext

func (c *ApiGatewayV2) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, 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 (*ApiGatewayV2) CreateRoute

func (c *ApiGatewayV2) CreateRoute(input *CreateRouteInput) (*CreateRouteOutput, error)

CreateRoute API operation for AmazonApiGatewayV2.

Creates a Route for an 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 AmazonApiGatewayV2's API operation CreateRoute for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute

func (*ApiGatewayV2) CreateRouteRequest

func (c *ApiGatewayV2) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, output *CreateRouteOutput)

CreateRouteRequest generates a "aws/request.Request" representing the client's request for the CreateRoute 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 CreateRoute for more information on using the CreateRoute 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 CreateRouteRequest method.
req, resp := client.CreateRouteRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute

func (*ApiGatewayV2) CreateRouteResponse

func (c *ApiGatewayV2) CreateRouteResponse(input *CreateRouteResponseInput) (*CreateRouteResponseOutput, error)

CreateRouteResponse API operation for AmazonApiGatewayV2.

Creates a RouteResponse for a Route.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateRouteResponse for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse

func (*ApiGatewayV2) CreateRouteResponseRequest

func (c *ApiGatewayV2) CreateRouteResponseRequest(input *CreateRouteResponseInput) (req *request.Request, output *CreateRouteResponseOutput)

CreateRouteResponseRequest generates a "aws/request.Request" representing the client's request for the CreateRouteResponse 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 CreateRouteResponse for more information on using the CreateRouteResponse 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 CreateRouteResponseRequest method.
req, resp := client.CreateRouteResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse

func (*ApiGatewayV2) CreateRouteResponseWithContext

func (c *ApiGatewayV2) CreateRouteResponseWithContext(ctx aws.Context, input *CreateRouteResponseInput, opts ...request.Option) (*CreateRouteResponseOutput, error)

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

See CreateRouteResponse 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 (*ApiGatewayV2) CreateRouteWithContext

func (c *ApiGatewayV2) CreateRouteWithContext(ctx aws.Context, input *CreateRouteInput, opts ...request.Option) (*CreateRouteOutput, error)

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

See CreateRoute 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 (*ApiGatewayV2) CreateStage

func (c *ApiGatewayV2) CreateStage(input *CreateStageInput) (*CreateStageOutput, error)

CreateStage API operation for AmazonApiGatewayV2.

Creates a Stage for an 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 AmazonApiGatewayV2's API operation CreateStage for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage

func (*ApiGatewayV2) CreateStageRequest

func (c *ApiGatewayV2) CreateStageRequest(input *CreateStageInput) (req *request.Request, output *CreateStageOutput)

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

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

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

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

// Example sending a request using the CreateStageRequest method.
req, resp := client.CreateStageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage

func (*ApiGatewayV2) CreateStageWithContext

func (c *ApiGatewayV2) CreateStageWithContext(ctx aws.Context, input *CreateStageInput, opts ...request.Option) (*CreateStageOutput, 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 (c *ApiGatewayV2) CreateVpcLink(input *CreateVpcLinkInput) (*CreateVpcLinkOutput, error)

CreateVpcLink API operation for AmazonApiGatewayV2.

Creates a VPC link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateVpcLink for usage and error information.

Returned Error Types:

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

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink

func (*ApiGatewayV2) CreateVpcLinkRequest

func (c *ApiGatewayV2) CreateVpcLinkRequest(input *CreateVpcLinkInput) (req *request.Request, output *CreateVpcLinkOutput)

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

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

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

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

// Example sending a request using the CreateVpcLinkRequest method.
req, resp := client.CreateVpcLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink

func (*ApiGatewayV2) CreateVpcLinkWithContext

func (c *ApiGatewayV2) CreateVpcLinkWithContext(ctx aws.Context, input *CreateVpcLinkInput, opts ...request.Option) (*CreateVpcLinkOutput, 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 (*ApiGatewayV2) DeleteAccessLogSettings

func (c *ApiGatewayV2) DeleteAccessLogSettings(input *DeleteAccessLogSettingsInput) (*DeleteAccessLogSettingsOutput, error)

DeleteAccessLogSettings API operation for AmazonApiGatewayV2.

Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteAccessLogSettings for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings

func (*ApiGatewayV2) DeleteAccessLogSettingsRequest

func (c *ApiGatewayV2) DeleteAccessLogSettingsRequest(input *DeleteAccessLogSettingsInput) (req *request.Request, output *DeleteAccessLogSettingsOutput)

DeleteAccessLogSettingsRequest generates a "aws/request.Request" representing the client's request for the DeleteAccessLogSettings 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 DeleteAccessLogSettings for more information on using the DeleteAccessLogSettings 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 DeleteAccessLogSettingsRequest method.
req, resp := client.DeleteAccessLogSettingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings

func (*ApiGatewayV2) DeleteAccessLogSettingsWithContext

func (c *ApiGatewayV2) DeleteAccessLogSettingsWithContext(ctx aws.Context, input *DeleteAccessLogSettingsInput, opts ...request.Option) (*DeleteAccessLogSettingsOutput, error)

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

See DeleteAccessLogSettings 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 (*ApiGatewayV2) DeleteApi

func (c *ApiGatewayV2) DeleteApi(input *DeleteApiInput) (*DeleteApiOutput, error)

DeleteApi API operation for AmazonApiGatewayV2.

Deletes an Api resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteApi for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi

func (*ApiGatewayV2) DeleteApiMapping

func (c *ApiGatewayV2) DeleteApiMapping(input *DeleteApiMappingInput) (*DeleteApiMappingOutput, error)

DeleteApiMapping API operation for AmazonApiGatewayV2.

Deletes an API mapping.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteApiMapping for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping

func (*ApiGatewayV2) DeleteApiMappingRequest

func (c *ApiGatewayV2) DeleteApiMappingRequest(input *DeleteApiMappingInput) (req *request.Request, output *DeleteApiMappingOutput)

DeleteApiMappingRequest generates a "aws/request.Request" representing the client's request for the DeleteApiMapping 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 DeleteApiMapping for more information on using the DeleteApiMapping 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 DeleteApiMappingRequest method.
req, resp := client.DeleteApiMappingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping

func (*ApiGatewayV2) DeleteApiMappingWithContext

func (c *ApiGatewayV2) DeleteApiMappingWithContext(ctx aws.Context, input *DeleteApiMappingInput, opts ...request.Option) (*DeleteApiMappingOutput, error)

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

See DeleteApiMapping 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 (*ApiGatewayV2) DeleteApiRequest

func (c *ApiGatewayV2) DeleteApiRequest(input *DeleteApiInput) (req *request.Request, output *DeleteApiOutput)

DeleteApiRequest generates a "aws/request.Request" representing the client's request for the DeleteApi 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 DeleteApi for more information on using the DeleteApi 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 DeleteApiRequest method.
req, resp := client.DeleteApiRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi

func (*ApiGatewayV2) DeleteApiWithContext

func (c *ApiGatewayV2) DeleteApiWithContext(ctx aws.Context, input *DeleteApiInput, opts ...request.Option) (*DeleteApiOutput, error)

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

See DeleteApi 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 (*ApiGatewayV2) DeleteAuthorizer

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

DeleteAuthorizer API operation for AmazonApiGatewayV2.

Deletes an Authorizer.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteAuthorizer for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer

func (*ApiGatewayV2) DeleteAuthorizerRequest

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

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

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

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

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

// Example sending a request using the DeleteAuthorizerRequest method.
req, resp := client.DeleteAuthorizerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer

func (*ApiGatewayV2) DeleteAuthorizerWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) DeleteCorsConfiguration

func (c *ApiGatewayV2) DeleteCorsConfiguration(input *DeleteCorsConfigurationInput) (*DeleteCorsConfigurationOutput, error)

DeleteCorsConfiguration API operation for AmazonApiGatewayV2.

Deletes a CORS configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteCorsConfiguration for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration

func (*ApiGatewayV2) DeleteCorsConfigurationRequest

func (c *ApiGatewayV2) DeleteCorsConfigurationRequest(input *DeleteCorsConfigurationInput) (req *request.Request, output *DeleteCorsConfigurationOutput)

DeleteCorsConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteCorsConfiguration 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 DeleteCorsConfiguration for more information on using the DeleteCorsConfiguration 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 DeleteCorsConfigurationRequest method.
req, resp := client.DeleteCorsConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration

func (*ApiGatewayV2) DeleteCorsConfigurationWithContext

func (c *ApiGatewayV2) DeleteCorsConfigurationWithContext(ctx aws.Context, input *DeleteCorsConfigurationInput, opts ...request.Option) (*DeleteCorsConfigurationOutput, error)

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

See DeleteCorsConfiguration 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 (*ApiGatewayV2) DeleteDeployment

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

DeleteDeployment API operation for AmazonApiGatewayV2.

Deletes a Deployment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteDeployment for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment

func (*ApiGatewayV2) DeleteDeploymentRequest

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

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

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

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

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

// Example sending a request using the DeleteDeploymentRequest method.
req, resp := client.DeleteDeploymentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment

func (*ApiGatewayV2) DeleteDeploymentWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) DeleteDomainName

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

DeleteDomainName API operation for AmazonApiGatewayV2.

Deletes a 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 AmazonApiGatewayV2's API operation DeleteDomainName for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName

func (*ApiGatewayV2) DeleteDomainNameRequest

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

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

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

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

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

// Example sending a request using the DeleteDomainNameRequest method.
req, resp := client.DeleteDomainNameRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName

func (*ApiGatewayV2) DeleteDomainNameWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) DeleteIntegration

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

DeleteIntegration API operation for AmazonApiGatewayV2.

Deletes an 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 AmazonApiGatewayV2's API operation DeleteIntegration for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration

func (*ApiGatewayV2) DeleteIntegrationRequest

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

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

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

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

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

// Example sending a request using the DeleteIntegrationRequest method.
req, resp := client.DeleteIntegrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration

func (*ApiGatewayV2) DeleteIntegrationResponse

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

DeleteIntegrationResponse API operation for AmazonApiGatewayV2.

Deletes an IntegrationResponses.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteIntegrationResponse for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse

func (*ApiGatewayV2) DeleteIntegrationResponseRequest

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

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

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

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

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

// Example sending a request using the DeleteIntegrationResponseRequest method.
req, resp := client.DeleteIntegrationResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse

func (*ApiGatewayV2) DeleteIntegrationResponseWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) DeleteIntegrationWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) DeleteModel

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

DeleteModel API operation for AmazonApiGatewayV2.

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

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModel

func (*ApiGatewayV2) DeleteModelRequest

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

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

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

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

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

// Example sending a request using the DeleteModelRequest method.
req, resp := client.DeleteModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModel

func (*ApiGatewayV2) DeleteModelWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) DeleteRoute

func (c *ApiGatewayV2) DeleteRoute(input *DeleteRouteInput) (*DeleteRouteOutput, error)

DeleteRoute API operation for AmazonApiGatewayV2.

Deletes a Route.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteRoute for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute

func (*ApiGatewayV2) DeleteRouteRequest

func (c *ApiGatewayV2) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, output *DeleteRouteOutput)

DeleteRouteRequest generates a "aws/request.Request" representing the client's request for the DeleteRoute 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 DeleteRoute for more information on using the DeleteRoute 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 DeleteRouteRequest method.
req, resp := client.DeleteRouteRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute

func (*ApiGatewayV2) DeleteRouteRequestParameter

func (c *ApiGatewayV2) DeleteRouteRequestParameter(input *DeleteRouteRequestParameterInput) (*DeleteRouteRequestParameterOutput, error)

DeleteRouteRequestParameter API operation for AmazonApiGatewayV2.

Deletes a route request parameter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteRouteRequestParameter for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter

func (*ApiGatewayV2) DeleteRouteRequestParameterRequest

func (c *ApiGatewayV2) DeleteRouteRequestParameterRequest(input *DeleteRouteRequestParameterInput) (req *request.Request, output *DeleteRouteRequestParameterOutput)

DeleteRouteRequestParameterRequest generates a "aws/request.Request" representing the client's request for the DeleteRouteRequestParameter 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 DeleteRouteRequestParameter for more information on using the DeleteRouteRequestParameter 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 DeleteRouteRequestParameterRequest method.
req, resp := client.DeleteRouteRequestParameterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter

func (*ApiGatewayV2) DeleteRouteRequestParameterWithContext

func (c *ApiGatewayV2) DeleteRouteRequestParameterWithContext(ctx aws.Context, input *DeleteRouteRequestParameterInput, opts ...request.Option) (*DeleteRouteRequestParameterOutput, error)

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

See DeleteRouteRequestParameter 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 (*ApiGatewayV2) DeleteRouteResponse

func (c *ApiGatewayV2) DeleteRouteResponse(input *DeleteRouteResponseInput) (*DeleteRouteResponseOutput, error)

DeleteRouteResponse API operation for AmazonApiGatewayV2.

Deletes a RouteResponse.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteRouteResponse for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse

func (*ApiGatewayV2) DeleteRouteResponseRequest

func (c *ApiGatewayV2) DeleteRouteResponseRequest(input *DeleteRouteResponseInput) (req *request.Request, output *DeleteRouteResponseOutput)

DeleteRouteResponseRequest generates a "aws/request.Request" representing the client's request for the DeleteRouteResponse 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 DeleteRouteResponse for more information on using the DeleteRouteResponse 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 DeleteRouteResponseRequest method.
req, resp := client.DeleteRouteResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse

func (*ApiGatewayV2) DeleteRouteResponseWithContext

func (c *ApiGatewayV2) DeleteRouteResponseWithContext(ctx aws.Context, input *DeleteRouteResponseInput, opts ...request.Option) (*DeleteRouteResponseOutput, error)

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

See DeleteRouteResponse 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 (*ApiGatewayV2) DeleteRouteSettings

func (c *ApiGatewayV2) DeleteRouteSettings(input *DeleteRouteSettingsInput) (*DeleteRouteSettingsOutput, error)

DeleteRouteSettings API operation for AmazonApiGatewayV2.

Deletes the RouteSettings for 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 AmazonApiGatewayV2's API operation DeleteRouteSettings for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings

func (*ApiGatewayV2) DeleteRouteSettingsRequest

func (c *ApiGatewayV2) DeleteRouteSettingsRequest(input *DeleteRouteSettingsInput) (req *request.Request, output *DeleteRouteSettingsOutput)

DeleteRouteSettingsRequest generates a "aws/request.Request" representing the client's request for the DeleteRouteSettings 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 DeleteRouteSettings for more information on using the DeleteRouteSettings 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 DeleteRouteSettingsRequest method.
req, resp := client.DeleteRouteSettingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings

func (*ApiGatewayV2) DeleteRouteSettingsWithContext

func (c *ApiGatewayV2) DeleteRouteSettingsWithContext(ctx aws.Context, input *DeleteRouteSettingsInput, opts ...request.Option) (*DeleteRouteSettingsOutput, error)

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

See DeleteRouteSettings 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 (*ApiGatewayV2) DeleteRouteWithContext

func (c *ApiGatewayV2) DeleteRouteWithContext(ctx aws.Context, input *DeleteRouteInput, opts ...request.Option) (*DeleteRouteOutput, error)

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

See DeleteRoute 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 (*ApiGatewayV2) DeleteStage

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

DeleteStage API operation for AmazonApiGatewayV2.

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

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage

func (*ApiGatewayV2) DeleteStageRequest

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

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

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

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

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

// Example sending a request using the DeleteStageRequest method.
req, resp := client.DeleteStageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage

func (*ApiGatewayV2) DeleteStageWithContext

func (c *ApiGatewayV2) 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 (c *ApiGatewayV2) DeleteVpcLink(input *DeleteVpcLinkInput) (*DeleteVpcLinkOutput, error)

DeleteVpcLink API operation for AmazonApiGatewayV2.

Deletes a VPC link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteVpcLink for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink

func (*ApiGatewayV2) DeleteVpcLinkRequest

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

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

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

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

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

// Example sending a request using the DeleteVpcLinkRequest method.
req, resp := client.DeleteVpcLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink

func (*ApiGatewayV2) DeleteVpcLinkWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) ExportApi

func (c *ApiGatewayV2) ExportApi(input *ExportApiInput) (*ExportApiOutput, error)

ExportApi API operation for AmazonApiGatewayV2.

Exports a definition of an API in a particular output format and specification.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation ExportApi for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi

func (*ApiGatewayV2) ExportApiRequest

func (c *ApiGatewayV2) ExportApiRequest(input *ExportApiInput) (req *request.Request, output *ExportApiOutput)

ExportApiRequest generates a "aws/request.Request" representing the client's request for the ExportApi 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 ExportApi for more information on using the ExportApi 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 ExportApiRequest method.
req, resp := client.ExportApiRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi

func (*ApiGatewayV2) ExportApiWithContext

func (c *ApiGatewayV2) ExportApiWithContext(ctx aws.Context, input *ExportApiInput, opts ...request.Option) (*ExportApiOutput, error)

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

See ExportApi 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 (*ApiGatewayV2) GetApi

func (c *ApiGatewayV2) GetApi(input *GetApiInput) (*GetApiOutput, error)

GetApi API operation for AmazonApiGatewayV2.

Gets an Api resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetApi for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi

func (*ApiGatewayV2) GetApiMapping

func (c *ApiGatewayV2) GetApiMapping(input *GetApiMappingInput) (*GetApiMappingOutput, error)

GetApiMapping API operation for AmazonApiGatewayV2.

Gets an API mapping.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetApiMapping for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping

func (*ApiGatewayV2) GetApiMappingRequest

func (c *ApiGatewayV2) GetApiMappingRequest(input *GetApiMappingInput) (req *request.Request, output *GetApiMappingOutput)

GetApiMappingRequest generates a "aws/request.Request" representing the client's request for the GetApiMapping 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 GetApiMapping for more information on using the GetApiMapping 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 GetApiMappingRequest method.
req, resp := client.GetApiMappingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping

func (*ApiGatewayV2) GetApiMappingWithContext

func (c *ApiGatewayV2) GetApiMappingWithContext(ctx aws.Context, input *GetApiMappingInput, opts ...request.Option) (*GetApiMappingOutput, error)

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

See GetApiMapping 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 (*ApiGatewayV2) GetApiMappings

func (c *ApiGatewayV2) GetApiMappings(input *GetApiMappingsInput) (*GetApiMappingsOutput, error)

GetApiMappings API operation for AmazonApiGatewayV2.

Gets API mappings.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetApiMappings for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings

func (*ApiGatewayV2) GetApiMappingsRequest

func (c *ApiGatewayV2) GetApiMappingsRequest(input *GetApiMappingsInput) (req *request.Request, output *GetApiMappingsOutput)

GetApiMappingsRequest generates a "aws/request.Request" representing the client's request for the GetApiMappings 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 GetApiMappings for more information on using the GetApiMappings 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 GetApiMappingsRequest method.
req, resp := client.GetApiMappingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings

func (*ApiGatewayV2) GetApiMappingsWithContext

func (c *ApiGatewayV2) GetApiMappingsWithContext(ctx aws.Context, input *GetApiMappingsInput, opts ...request.Option) (*GetApiMappingsOutput, error)

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

See GetApiMappings 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 (*ApiGatewayV2) GetApiRequest

func (c *ApiGatewayV2) GetApiRequest(input *GetApiInput) (req *request.Request, output *GetApiOutput)

GetApiRequest generates a "aws/request.Request" representing the client's request for the GetApi 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 GetApi for more information on using the GetApi 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 GetApiRequest method.
req, resp := client.GetApiRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi

func (*ApiGatewayV2) GetApiWithContext

func (c *ApiGatewayV2) GetApiWithContext(ctx aws.Context, input *GetApiInput, opts ...request.Option) (*GetApiOutput, error)

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

See GetApi 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 (*ApiGatewayV2) GetApis

func (c *ApiGatewayV2) GetApis(input *GetApisInput) (*GetApisOutput, error)

GetApis API operation for AmazonApiGatewayV2.

Gets a collection of Api 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 AmazonApiGatewayV2's API operation GetApis for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis

func (*ApiGatewayV2) GetApisRequest

func (c *ApiGatewayV2) GetApisRequest(input *GetApisInput) (req *request.Request, output *GetApisOutput)

GetApisRequest generates a "aws/request.Request" representing the client's request for the GetApis 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 GetApis for more information on using the GetApis 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 GetApisRequest method.
req, resp := client.GetApisRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis

func (*ApiGatewayV2) GetApisWithContext

func (c *ApiGatewayV2) GetApisWithContext(ctx aws.Context, input *GetApisInput, opts ...request.Option) (*GetApisOutput, error)

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

See GetApis 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 (*ApiGatewayV2) GetAuthorizer

func (c *ApiGatewayV2) GetAuthorizer(input *GetAuthorizerInput) (*GetAuthorizerOutput, error)

GetAuthorizer API operation for AmazonApiGatewayV2.

Gets an Authorizer.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetAuthorizer for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer

func (*ApiGatewayV2) GetAuthorizerRequest

func (c *ApiGatewayV2) GetAuthorizerRequest(input *GetAuthorizerInput) (req *request.Request, output *GetAuthorizerOutput)

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

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

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

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

// Example sending a request using the GetAuthorizerRequest method.
req, resp := client.GetAuthorizerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer

func (*ApiGatewayV2) GetAuthorizerWithContext

func (c *ApiGatewayV2) GetAuthorizerWithContext(ctx aws.Context, input *GetAuthorizerInput, opts ...request.Option) (*GetAuthorizerOutput, 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 (*ApiGatewayV2) GetAuthorizers

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

GetAuthorizers API operation for AmazonApiGatewayV2.

Gets the Authorizers for an 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 AmazonApiGatewayV2's API operation GetAuthorizers for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers

func (*ApiGatewayV2) GetAuthorizersRequest

func (c *ApiGatewayV2) GetAuthorizersRequest(input *GetAuthorizersInput) (req *request.Request, output *GetAuthorizersOutput)

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

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

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

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

// Example sending a request using the GetAuthorizersRequest method.
req, resp := client.GetAuthorizersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers

func (*ApiGatewayV2) GetAuthorizersWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) GetDeployment

func (c *ApiGatewayV2) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error)

GetDeployment API operation for AmazonApiGatewayV2.

Gets a Deployment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetDeployment for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment

func (*ApiGatewayV2) GetDeploymentRequest

func (c *ApiGatewayV2) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *GetDeploymentOutput)

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

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

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

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

// Example sending a request using the GetDeploymentRequest method.
req, resp := client.GetDeploymentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment

func (*ApiGatewayV2) GetDeploymentWithContext

func (c *ApiGatewayV2) GetDeploymentWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...request.Option) (*GetDeploymentOutput, 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 (*ApiGatewayV2) GetDeployments

func (c *ApiGatewayV2) GetDeployments(input *GetDeploymentsInput) (*GetDeploymentsOutput, error)

GetDeployments API operation for AmazonApiGatewayV2.

Gets the Deployments for an 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 AmazonApiGatewayV2's API operation GetDeployments for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments

func (*ApiGatewayV2) GetDeploymentsRequest

func (c *ApiGatewayV2) GetDeploymentsRequest(input *GetDeploymentsInput) (req *request.Request, output *GetDeploymentsOutput)

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

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

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

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

// Example sending a request using the GetDeploymentsRequest method.
req, resp := client.GetDeploymentsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments

func (*ApiGatewayV2) GetDeploymentsWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) GetDomainName

func (c *ApiGatewayV2) GetDomainName(input *GetDomainNameInput) (*GetDomainNameOutput, error)

GetDomainName API operation for AmazonApiGatewayV2.

Gets a 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 AmazonApiGatewayV2's API operation GetDomainName for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName

func (*ApiGatewayV2) GetDomainNameRequest

func (c *ApiGatewayV2) GetDomainNameRequest(input *GetDomainNameInput) (req *request.Request, output *GetDomainNameOutput)

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

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

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

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

// Example sending a request using the GetDomainNameRequest method.
req, resp := client.GetDomainNameRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName

func (*ApiGatewayV2) GetDomainNameWithContext

func (c *ApiGatewayV2) GetDomainNameWithContext(ctx aws.Context, input *GetDomainNameInput, opts ...request.Option) (*GetDomainNameOutput, 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 (*ApiGatewayV2) GetDomainNames

func (c *ApiGatewayV2) GetDomainNames(input *GetDomainNamesInput) (*GetDomainNamesOutput, error)

GetDomainNames API operation for AmazonApiGatewayV2.

Gets the domain names for an AWS 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 AmazonApiGatewayV2's API operation GetDomainNames for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames

func (*ApiGatewayV2) GetDomainNamesRequest

func (c *ApiGatewayV2) GetDomainNamesRequest(input *GetDomainNamesInput) (req *request.Request, output *GetDomainNamesOutput)

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

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

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

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

// Example sending a request using the GetDomainNamesRequest method.
req, resp := client.GetDomainNamesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames

func (*ApiGatewayV2) GetDomainNamesWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) GetIntegration

func (c *ApiGatewayV2) GetIntegration(input *GetIntegrationInput) (*GetIntegrationOutput, error)

GetIntegration API operation for AmazonApiGatewayV2.

Gets an 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 AmazonApiGatewayV2's API operation GetIntegration for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration

func (*ApiGatewayV2) GetIntegrationRequest

func (c *ApiGatewayV2) GetIntegrationRequest(input *GetIntegrationInput) (req *request.Request, output *GetIntegrationOutput)

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

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

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

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

// Example sending a request using the GetIntegrationRequest method.
req, resp := client.GetIntegrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration

func (*ApiGatewayV2) GetIntegrationResponse

func (c *ApiGatewayV2) GetIntegrationResponse(input *GetIntegrationResponseInput) (*GetIntegrationResponseOutput, error)

GetIntegrationResponse API operation for AmazonApiGatewayV2.

Gets an IntegrationResponses.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetIntegrationResponse for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse

func (*ApiGatewayV2) GetIntegrationResponseRequest

func (c *ApiGatewayV2) GetIntegrationResponseRequest(input *GetIntegrationResponseInput) (req *request.Request, output *GetIntegrationResponseOutput)

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

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

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

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

// Example sending a request using the GetIntegrationResponseRequest method.
req, resp := client.GetIntegrationResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse

func (*ApiGatewayV2) GetIntegrationResponseWithContext

func (c *ApiGatewayV2) GetIntegrationResponseWithContext(ctx aws.Context, input *GetIntegrationResponseInput, opts ...request.Option) (*GetIntegrationResponseOutput, 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 (*ApiGatewayV2) GetIntegrationResponses

func (c *ApiGatewayV2) GetIntegrationResponses(input *GetIntegrationResponsesInput) (*GetIntegrationResponsesOutput, error)

GetIntegrationResponses API operation for AmazonApiGatewayV2.

Gets the IntegrationResponses for an 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 AmazonApiGatewayV2's API operation GetIntegrationResponses for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses

func (*ApiGatewayV2) GetIntegrationResponsesRequest

func (c *ApiGatewayV2) GetIntegrationResponsesRequest(input *GetIntegrationResponsesInput) (req *request.Request, output *GetIntegrationResponsesOutput)

GetIntegrationResponsesRequest generates a "aws/request.Request" representing the client's request for the GetIntegrationResponses 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 GetIntegrationResponses for more information on using the GetIntegrationResponses 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 GetIntegrationResponsesRequest method.
req, resp := client.GetIntegrationResponsesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses

func (*ApiGatewayV2) GetIntegrationResponsesWithContext

func (c *ApiGatewayV2) GetIntegrationResponsesWithContext(ctx aws.Context, input *GetIntegrationResponsesInput, opts ...request.Option) (*GetIntegrationResponsesOutput, error)

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

See GetIntegrationResponses 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 (*ApiGatewayV2) GetIntegrationWithContext

func (c *ApiGatewayV2) GetIntegrationWithContext(ctx aws.Context, input *GetIntegrationInput, opts ...request.Option) (*GetIntegrationOutput, 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 (*ApiGatewayV2) GetIntegrations

func (c *ApiGatewayV2) GetIntegrations(input *GetIntegrationsInput) (*GetIntegrationsOutput, error)

GetIntegrations API operation for AmazonApiGatewayV2.

Gets the Integrations for an 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 AmazonApiGatewayV2's API operation GetIntegrations for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations

func (*ApiGatewayV2) GetIntegrationsRequest

func (c *ApiGatewayV2) GetIntegrationsRequest(input *GetIntegrationsInput) (req *request.Request, output *GetIntegrationsOutput)

GetIntegrationsRequest generates a "aws/request.Request" representing the client's request for the GetIntegrations 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 GetIntegrations for more information on using the GetIntegrations 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 GetIntegrationsRequest method.
req, resp := client.GetIntegrationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations

func (*ApiGatewayV2) GetIntegrationsWithContext

func (c *ApiGatewayV2) GetIntegrationsWithContext(ctx aws.Context, input *GetIntegrationsInput, opts ...request.Option) (*GetIntegrationsOutput, error)

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

See GetIntegrations 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 (*ApiGatewayV2) GetModel

func (c *ApiGatewayV2) GetModel(input *GetModelInput) (*GetModelOutput, error)

GetModel API operation for AmazonApiGatewayV2.

Gets 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 AmazonApiGatewayV2's API operation GetModel for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel

func (*ApiGatewayV2) GetModelRequest

func (c *ApiGatewayV2) GetModelRequest(input *GetModelInput) (req *request.Request, output *GetModelOutput)

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

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

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

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

// Example sending a request using the GetModelRequest method.
req, resp := client.GetModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel

func (*ApiGatewayV2) GetModelTemplate

func (c *ApiGatewayV2) GetModelTemplate(input *GetModelTemplateInput) (*GetModelTemplateOutput, error)

GetModelTemplate API operation for AmazonApiGatewayV2.

Gets a model template.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetModelTemplate for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate

func (*ApiGatewayV2) GetModelTemplateRequest

func (c *ApiGatewayV2) GetModelTemplateRequest(input *GetModelTemplateInput) (req *request.Request, output *GetModelTemplateOutput)

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

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

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

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

// Example sending a request using the GetModelTemplateRequest method.
req, resp := client.GetModelTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate

func (*ApiGatewayV2) GetModelTemplateWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) GetModelWithContext

func (c *ApiGatewayV2) GetModelWithContext(ctx aws.Context, input *GetModelInput, opts ...request.Option) (*GetModelOutput, 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 (*ApiGatewayV2) GetModels

func (c *ApiGatewayV2) GetModels(input *GetModelsInput) (*GetModelsOutput, error)

GetModels API operation for AmazonApiGatewayV2.

Gets the Models for an 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 AmazonApiGatewayV2's API operation GetModels for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels

func (*ApiGatewayV2) GetModelsRequest

func (c *ApiGatewayV2) GetModelsRequest(input *GetModelsInput) (req *request.Request, output *GetModelsOutput)

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

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

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

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

// Example sending a request using the GetModelsRequest method.
req, resp := client.GetModelsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels

func (*ApiGatewayV2) GetModelsWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) GetRoute

func (c *ApiGatewayV2) GetRoute(input *GetRouteInput) (*GetRouteOutput, error)

GetRoute API operation for AmazonApiGatewayV2.

Gets a Route.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetRoute for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute

func (*ApiGatewayV2) GetRouteRequest

func (c *ApiGatewayV2) GetRouteRequest(input *GetRouteInput) (req *request.Request, output *GetRouteOutput)

GetRouteRequest generates a "aws/request.Request" representing the client's request for the GetRoute 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 GetRoute for more information on using the GetRoute 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 GetRouteRequest method.
req, resp := client.GetRouteRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute

func (*ApiGatewayV2) GetRouteResponse

func (c *ApiGatewayV2) GetRouteResponse(input *GetRouteResponseInput) (*GetRouteResponseOutput, error)

GetRouteResponse API operation for AmazonApiGatewayV2.

Gets a RouteResponse.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetRouteResponse for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse

func (*ApiGatewayV2) GetRouteResponseRequest

func (c *ApiGatewayV2) GetRouteResponseRequest(input *GetRouteResponseInput) (req *request.Request, output *GetRouteResponseOutput)

GetRouteResponseRequest generates a "aws/request.Request" representing the client's request for the GetRouteResponse 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 GetRouteResponse for more information on using the GetRouteResponse 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 GetRouteResponseRequest method.
req, resp := client.GetRouteResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse

func (*ApiGatewayV2) GetRouteResponseWithContext

func (c *ApiGatewayV2) GetRouteResponseWithContext(ctx aws.Context, input *GetRouteResponseInput, opts ...request.Option) (*GetRouteResponseOutput, error)

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

See GetRouteResponse 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 (*ApiGatewayV2) GetRouteResponses

func (c *ApiGatewayV2) GetRouteResponses(input *GetRouteResponsesInput) (*GetRouteResponsesOutput, error)

GetRouteResponses API operation for AmazonApiGatewayV2.

Gets the RouteResponses for a Route.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetRouteResponses for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses

func (*ApiGatewayV2) GetRouteResponsesRequest

func (c *ApiGatewayV2) GetRouteResponsesRequest(input *GetRouteResponsesInput) (req *request.Request, output *GetRouteResponsesOutput)

GetRouteResponsesRequest generates a "aws/request.Request" representing the client's request for the GetRouteResponses 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 GetRouteResponses for more information on using the GetRouteResponses 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 GetRouteResponsesRequest method.
req, resp := client.GetRouteResponsesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses

func (*ApiGatewayV2) GetRouteResponsesWithContext

func (c *ApiGatewayV2) GetRouteResponsesWithContext(ctx aws.Context, input *GetRouteResponsesInput, opts ...request.Option) (*GetRouteResponsesOutput, error)

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

See GetRouteResponses 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 (*ApiGatewayV2) GetRouteWithContext

func (c *ApiGatewayV2) GetRouteWithContext(ctx aws.Context, input *GetRouteInput, opts ...request.Option) (*GetRouteOutput, error)

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

See GetRoute 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 (*ApiGatewayV2) GetRoutes

func (c *ApiGatewayV2) GetRoutes(input *GetRoutesInput) (*GetRoutesOutput, error)

GetRoutes API operation for AmazonApiGatewayV2.

Gets the Routes for an 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 AmazonApiGatewayV2's API operation GetRoutes for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes

func (*ApiGatewayV2) GetRoutesRequest

func (c *ApiGatewayV2) GetRoutesRequest(input *GetRoutesInput) (req *request.Request, output *GetRoutesOutput)

GetRoutesRequest generates a "aws/request.Request" representing the client's request for the GetRoutes 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 GetRoutes for more information on using the GetRoutes 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 GetRoutesRequest method.
req, resp := client.GetRoutesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes

func (*ApiGatewayV2) GetRoutesWithContext

func (c *ApiGatewayV2) GetRoutesWithContext(ctx aws.Context, input *GetRoutesInput, opts ...request.Option) (*GetRoutesOutput, error)

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

See GetRoutes 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 (*ApiGatewayV2) GetStage

func (c *ApiGatewayV2) GetStage(input *GetStageInput) (*GetStageOutput, error)

GetStage API operation for AmazonApiGatewayV2.

Gets 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 AmazonApiGatewayV2's API operation GetStage for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage

func (*ApiGatewayV2) GetStageRequest

func (c *ApiGatewayV2) GetStageRequest(input *GetStageInput) (req *request.Request, output *GetStageOutput)

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

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

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

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

// Example sending a request using the GetStageRequest method.
req, resp := client.GetStageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage

func (*ApiGatewayV2) GetStageWithContext

func (c *ApiGatewayV2) GetStageWithContext(ctx aws.Context, input *GetStageInput, opts ...request.Option) (*GetStageOutput, 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 (*ApiGatewayV2) GetStages

func (c *ApiGatewayV2) GetStages(input *GetStagesInput) (*GetStagesOutput, error)

GetStages API operation for AmazonApiGatewayV2.

Gets the Stages for an 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 AmazonApiGatewayV2's API operation GetStages for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages

func (*ApiGatewayV2) GetStagesRequest

func (c *ApiGatewayV2) GetStagesRequest(input *GetStagesInput) (req *request.Request, output *GetStagesOutput)

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

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

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

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

// Example sending a request using the GetStagesRequest method.
req, resp := client.GetStagesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages

func (*ApiGatewayV2) GetStagesWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) GetTags

func (c *ApiGatewayV2) GetTags(input *GetTagsInput) (*GetTagsOutput, error)

GetTags API operation for AmazonApiGatewayV2.

Gets a collection of Tag 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 AmazonApiGatewayV2's API operation GetTags for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags

func (*ApiGatewayV2) GetTagsRequest

func (c *ApiGatewayV2) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput)

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

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

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

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

// Example sending a request using the GetTagsRequest method.
req, resp := client.GetTagsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags

func (*ApiGatewayV2) GetTagsWithContext

func (c *ApiGatewayV2) 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 (c *ApiGatewayV2) GetVpcLink(input *GetVpcLinkInput) (*GetVpcLinkOutput, error)

GetVpcLink API operation for AmazonApiGatewayV2.

Gets a VPC link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetVpcLink for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink

func (*ApiGatewayV2) GetVpcLinkRequest

func (c *ApiGatewayV2) GetVpcLinkRequest(input *GetVpcLinkInput) (req *request.Request, output *GetVpcLinkOutput)

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

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

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

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

// Example sending a request using the GetVpcLinkRequest method.
req, resp := client.GetVpcLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink

func (*ApiGatewayV2) GetVpcLinkWithContext

func (c *ApiGatewayV2) GetVpcLinkWithContext(ctx aws.Context, input *GetVpcLinkInput, opts ...request.Option) (*GetVpcLinkOutput, 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 *ApiGatewayV2) GetVpcLinks(input *GetVpcLinksInput) (*GetVpcLinksOutput, error)

GetVpcLinks API operation for AmazonApiGatewayV2.

Gets a collection of VPC links.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetVpcLinks for usage and error information.

Returned Error Types:

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

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks

func (*ApiGatewayV2) GetVpcLinksRequest

func (c *ApiGatewayV2) GetVpcLinksRequest(input *GetVpcLinksInput) (req *request.Request, output *GetVpcLinksOutput)

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

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

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

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

// Example sending a request using the GetVpcLinksRequest method.
req, resp := client.GetVpcLinksRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks

func (*ApiGatewayV2) GetVpcLinksWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) ImportApi

func (c *ApiGatewayV2) ImportApi(input *ImportApiInput) (*ImportApiOutput, error)

ImportApi API operation for AmazonApiGatewayV2.

Imports an 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 AmazonApiGatewayV2's API operation ImportApi for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi

func (*ApiGatewayV2) ImportApiRequest

func (c *ApiGatewayV2) ImportApiRequest(input *ImportApiInput) (req *request.Request, output *ImportApiOutput)

ImportApiRequest generates a "aws/request.Request" representing the client's request for the ImportApi 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 ImportApi for more information on using the ImportApi 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 ImportApiRequest method.
req, resp := client.ImportApiRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi

func (*ApiGatewayV2) ImportApiWithContext

func (c *ApiGatewayV2) ImportApiWithContext(ctx aws.Context, input *ImportApiInput, opts ...request.Option) (*ImportApiOutput, error)

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

See ImportApi 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 (*ApiGatewayV2) ReimportApi

func (c *ApiGatewayV2) ReimportApi(input *ReimportApiInput) (*ReimportApiOutput, error)

ReimportApi API operation for AmazonApiGatewayV2.

Puts an Api resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation ReimportApi for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi

func (*ApiGatewayV2) ReimportApiRequest

func (c *ApiGatewayV2) ReimportApiRequest(input *ReimportApiInput) (req *request.Request, output *ReimportApiOutput)

ReimportApiRequest generates a "aws/request.Request" representing the client's request for the ReimportApi 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 ReimportApi for more information on using the ReimportApi 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 ReimportApiRequest method.
req, resp := client.ReimportApiRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi

func (*ApiGatewayV2) ReimportApiWithContext

func (c *ApiGatewayV2) ReimportApiWithContext(ctx aws.Context, input *ReimportApiInput, opts ...request.Option) (*ReimportApiOutput, error)

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

See ReimportApi 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 (*ApiGatewayV2) TagResource

func (c *ApiGatewayV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AmazonApiGatewayV2.

Creates a new Tag resource to represent a tag.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation TagResource for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource

func (*ApiGatewayV2) TagResourceRequest

func (c *ApiGatewayV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

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

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

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

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

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource

func (*ApiGatewayV2) TagResourceWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) UntagResource

func (c *ApiGatewayV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AmazonApiGatewayV2.

Deletes a Tag.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UntagResource for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource

func (*ApiGatewayV2) UntagResourceRequest

func (c *ApiGatewayV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

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

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

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

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

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource

func (*ApiGatewayV2) UntagResourceWithContext

func (c *ApiGatewayV2) 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 (*ApiGatewayV2) UpdateApi

func (c *ApiGatewayV2) UpdateApi(input *UpdateApiInput) (*UpdateApiOutput, error)

UpdateApi API operation for AmazonApiGatewayV2.

Updates an Api resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateApi for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi

func (*ApiGatewayV2) UpdateApiMapping

func (c *ApiGatewayV2) UpdateApiMapping(input *UpdateApiMappingInput) (*UpdateApiMappingOutput, error)

UpdateApiMapping API operation for AmazonApiGatewayV2.

The API mapping.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateApiMapping for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping

func (*ApiGatewayV2) UpdateApiMappingRequest

func (c *ApiGatewayV2) UpdateApiMappingRequest(input *UpdateApiMappingInput) (req *request.Request, output *UpdateApiMappingOutput)

UpdateApiMappingRequest generates a "aws/request.Request" representing the client's request for the UpdateApiMapping 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 UpdateApiMapping for more information on using the UpdateApiMapping 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 UpdateApiMappingRequest method.
req, resp := client.UpdateApiMappingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping

func (*ApiGatewayV2) UpdateApiMappingWithContext

func (c *ApiGatewayV2) UpdateApiMappingWithContext(ctx aws.Context, input *UpdateApiMappingInput, opts ...request.Option) (*UpdateApiMappingOutput, error)

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

See UpdateApiMapping 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 (*ApiGatewayV2) UpdateApiRequest

func (c *ApiGatewayV2) UpdateApiRequest(input *UpdateApiInput) (req *request.Request, output *UpdateApiOutput)

UpdateApiRequest generates a "aws/request.Request" representing the client's request for the UpdateApi 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 UpdateApi for more information on using the UpdateApi 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 UpdateApiRequest method.
req, resp := client.UpdateApiRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi

func (*ApiGatewayV2) UpdateApiWithContext

func (c *ApiGatewayV2) UpdateApiWithContext(ctx aws.Context, input *UpdateApiInput, opts ...request.Option) (*UpdateApiOutput, error)

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

See UpdateApi 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 (*ApiGatewayV2) UpdateAuthorizer

func (c *ApiGatewayV2) UpdateAuthorizer(input *UpdateAuthorizerInput) (*UpdateAuthorizerOutput, error)

UpdateAuthorizer API operation for AmazonApiGatewayV2.

Updates an Authorizer.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateAuthorizer for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer

func (*ApiGatewayV2) UpdateAuthorizerRequest

func (c *ApiGatewayV2) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (req *request.Request, output *UpdateAuthorizerOutput)

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

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

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

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

// Example sending a request using the UpdateAuthorizerRequest method.
req, resp := client.UpdateAuthorizerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer

func (*ApiGatewayV2) UpdateAuthorizerWithContext

func (c *ApiGatewayV2) UpdateAuthorizerWithContext(ctx aws.Context, input *UpdateAuthorizerInput, opts ...request.Option) (*UpdateAuthorizerOutput, 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 (*ApiGatewayV2) UpdateDeployment

func (c *ApiGatewayV2) UpdateDeployment(input *UpdateDeploymentInput) (*UpdateDeploymentOutput, error)

UpdateDeployment API operation for AmazonApiGatewayV2.

Updates a Deployment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateDeployment for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment

func (*ApiGatewayV2) UpdateDeploymentRequest

func (c *ApiGatewayV2) UpdateDeploymentRequest(input *UpdateDeploymentInput) (req *request.Request, output *UpdateDeploymentOutput)

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

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

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

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

// Example sending a request using the UpdateDeploymentRequest method.
req, resp := client.UpdateDeploymentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment

func (*ApiGatewayV2) UpdateDeploymentWithContext

func (c *ApiGatewayV2) UpdateDeploymentWithContext(ctx aws.Context, input *UpdateDeploymentInput, opts ...request.Option) (*UpdateDeploymentOutput, 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 (*ApiGatewayV2) UpdateDomainName

func (c *ApiGatewayV2) UpdateDomainName(input *UpdateDomainNameInput) (*UpdateDomainNameOutput, error)

UpdateDomainName API operation for AmazonApiGatewayV2.

Updates a 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 AmazonApiGatewayV2's API operation UpdateDomainName for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName

func (*ApiGatewayV2) UpdateDomainNameRequest

func (c *ApiGatewayV2) UpdateDomainNameRequest(input *UpdateDomainNameInput) (req *request.Request, output *UpdateDomainNameOutput)

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)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName

func (*ApiGatewayV2) UpdateDomainNameWithContext

func (c *ApiGatewayV2) UpdateDomainNameWithContext(ctx aws.Context, input *UpdateDomainNameInput, opts ...request.Option) (*UpdateDomainNameOutput, 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 (*ApiGatewayV2) UpdateIntegration

func (c *ApiGatewayV2) UpdateIntegration(input *UpdateIntegrationInput) (*UpdateIntegrationOutput, error)

UpdateIntegration API operation for AmazonApiGatewayV2.

Updates an 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 AmazonApiGatewayV2's API operation UpdateIntegration for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration

func (*ApiGatewayV2) UpdateIntegrationRequest

func (c *ApiGatewayV2) UpdateIntegrationRequest(input *UpdateIntegrationInput) (req *request.Request, output *UpdateIntegrationOutput)

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)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration

func (*ApiGatewayV2) UpdateIntegrationResponse

func (c *ApiGatewayV2) UpdateIntegrationResponse(input *UpdateIntegrationResponseInput) (*UpdateIntegrationResponseOutput, error)

UpdateIntegrationResponse API operation for AmazonApiGatewayV2.

Updates an IntegrationResponses.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateIntegrationResponse for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse

func (*ApiGatewayV2) UpdateIntegrationResponseRequest

func (c *ApiGatewayV2) UpdateIntegrationResponseRequest(input *UpdateIntegrationResponseInput) (req *request.Request, output *UpdateIntegrationResponseOutput)

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)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse

func (*ApiGatewayV2) UpdateIntegrationResponseWithContext

func (c *ApiGatewayV2) UpdateIntegrationResponseWithContext(ctx aws.Context, input *UpdateIntegrationResponseInput, opts ...request.Option) (*UpdateIntegrationResponseOutput, 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 (*ApiGatewayV2) UpdateIntegrationWithContext

func (c *ApiGatewayV2) UpdateIntegrationWithContext(ctx aws.Context, input *UpdateIntegrationInput, opts ...request.Option) (*UpdateIntegrationOutput, 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 (*ApiGatewayV2) UpdateModel

func (c *ApiGatewayV2) UpdateModel(input *UpdateModelInput) (*UpdateModelOutput, error)

UpdateModel API operation for AmazonApiGatewayV2.

Updates 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 AmazonApiGatewayV2's API operation UpdateModel for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel

func (*ApiGatewayV2) UpdateModelRequest

func (c *ApiGatewayV2) UpdateModelRequest(input *UpdateModelInput) (req *request.Request, output *UpdateModelOutput)

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)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel

func (*ApiGatewayV2) UpdateModelWithContext

func (c *ApiGatewayV2) UpdateModelWithContext(ctx aws.Context, input *UpdateModelInput, opts ...request.Option) (*UpdateModelOutput, 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 (*ApiGatewayV2) UpdateRoute

func (c *ApiGatewayV2) UpdateRoute(input *UpdateRouteInput) (*UpdateRouteOutput, error)

UpdateRoute API operation for AmazonApiGatewayV2.

Updates a Route.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateRoute for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute

func (*ApiGatewayV2) UpdateRouteRequest

func (c *ApiGatewayV2) UpdateRouteRequest(input *UpdateRouteInput) (req *request.Request, output *UpdateRouteOutput)

UpdateRouteRequest generates a "aws/request.Request" representing the client's request for the UpdateRoute 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 UpdateRoute for more information on using the UpdateRoute 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 UpdateRouteRequest method.
req, resp := client.UpdateRouteRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute

func (*ApiGatewayV2) UpdateRouteResponse

func (c *ApiGatewayV2) UpdateRouteResponse(input *UpdateRouteResponseInput) (*UpdateRouteResponseOutput, error)

UpdateRouteResponse API operation for AmazonApiGatewayV2.

Updates a RouteResponse.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateRouteResponse for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse

func (*ApiGatewayV2) UpdateRouteResponseRequest

func (c *ApiGatewayV2) UpdateRouteResponseRequest(input *UpdateRouteResponseInput) (req *request.Request, output *UpdateRouteResponseOutput)

UpdateRouteResponseRequest generates a "aws/request.Request" representing the client's request for the UpdateRouteResponse 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 UpdateRouteResponse for more information on using the UpdateRouteResponse 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 UpdateRouteResponseRequest method.
req, resp := client.UpdateRouteResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse

func (*ApiGatewayV2) UpdateRouteResponseWithContext

func (c *ApiGatewayV2) UpdateRouteResponseWithContext(ctx aws.Context, input *UpdateRouteResponseInput, opts ...request.Option) (*UpdateRouteResponseOutput, error)

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

See UpdateRouteResponse 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 (*ApiGatewayV2) UpdateRouteWithContext

func (c *ApiGatewayV2) UpdateRouteWithContext(ctx aws.Context, input *UpdateRouteInput, opts ...request.Option) (*UpdateRouteOutput, error)

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

See UpdateRoute 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 (*ApiGatewayV2) UpdateStage

func (c *ApiGatewayV2) UpdateStage(input *UpdateStageInput) (*UpdateStageOutput, error)

UpdateStage API operation for AmazonApiGatewayV2.

Updates 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 AmazonApiGatewayV2's API operation UpdateStage for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

* ConflictException
The requested operation would cause a conflict with the current state of
a service resource associated with the request. Resolve the conflict before
retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage

func (*ApiGatewayV2) UpdateStageRequest

func (c *ApiGatewayV2) UpdateStageRequest(input *UpdateStageInput) (req *request.Request, output *UpdateStageOutput)

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)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage

func (*ApiGatewayV2) UpdateStageWithContext

func (c *ApiGatewayV2) UpdateStageWithContext(ctx aws.Context, input *UpdateStageInput, opts ...request.Option) (*UpdateStageOutput, 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 (c *ApiGatewayV2) UpdateVpcLink(input *UpdateVpcLinkInput) (*UpdateVpcLinkOutput, error)

UpdateVpcLink API operation for AmazonApiGatewayV2.

Updates a VPC link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateVpcLink for usage and error information.

Returned Error Types:

* NotFoundException
The resource specified in the request was not found. See the message field
for more information.

* TooManyRequestsException
A limit has been exceeded. See the accompanying error message for details.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink

func (*ApiGatewayV2) UpdateVpcLinkRequest

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink

func (*ApiGatewayV2) UpdateVpcLinkWithContext

func (c *ApiGatewayV2) 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 ApiMapping

type ApiMapping struct {

    // The API identifier.
    //
    // ApiId is a required field
    ApiId *string `locationName:"apiId" type:"string" required:"true"`

    // The API mapping identifier.
    ApiMappingId *string `locationName:"apiMappingId" type:"string"`

    // The API mapping key.
    ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

    // The API stage.
    //
    // Stage is a required field
    Stage *string `locationName:"stage" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents an API mapping.

func (ApiMapping) GoString

func (s ApiMapping) GoString() string

GoString returns the string representation

func (*ApiMapping) SetApiId

func (s *ApiMapping) SetApiId(v string) *ApiMapping

SetApiId sets the ApiId field's value.

func (*ApiMapping) SetApiMappingId

func (s *ApiMapping) SetApiMappingId(v string) *ApiMapping

SetApiMappingId sets the ApiMappingId field's value.

func (*ApiMapping) SetApiMappingKey

func (s *ApiMapping) SetApiMappingKey(v string) *ApiMapping

SetApiMappingKey sets the ApiMappingKey field's value.

func (*ApiMapping) SetStage

func (s *ApiMapping) SetStage(v string) *ApiMapping

SetStage sets the Stage field's value.

func (ApiMapping) String

func (s ApiMapping) String() string

String returns the string representation

type Authorizer

type Authorizer struct {

    // 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. Supported only for REQUEST authorizers.
    AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"`

    // The authorizer identifier.
    AuthorizerId *string `locationName:"authorizerId" type:"string"`

    // Authorizer caching is not currently supported. Don't specify this value for
    // authorizers.
    AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

    // The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda function
    // using incoming request parameters. For HTTP APIs, specify JWT to use JSON
    // Web Tokens.
    AuthorizerType *string `locationName:"authorizerType" type:"string" enum:"AuthorizerType"`

    // The authorizer's Uniform Resource Identifier (URI). ForREQUEST 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. Supported
    // only for REQUEST authorizers.
    AuthorizerUri *string `locationName:"authorizerUri" type:"string"`

    // The identity source for which authorization is requested.
    //
    // For a REQUEST authorizer, this is optional. The value is a set of one or
    // more mapping expressions of the specified request parameters. Currently,
    // the identity source can be headers, query string parameters, stage variables,
    // and context parameters. For example, if an Auth header and a Name query string
    // parameter are defined as identity sources, this value is route.request.header.Auth,
    // route.request.querystring.Name. These parameters will be used to perform
    // runtime validation for Lambda-based authorizers by verifying all of the identity-related
    // request parameters are present in the request, 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.
    //
    // For JWT, a single entry that specifies where to extract the JSON Web Token
    // (JWT) from inbound requests. Currently only header-based and query parameter-based
    // selections are supported, for example "$request.header.Authorization".
    IdentitySource []*string `locationName:"identitySource" type:"list"`

    // The validation expression does not apply to the REQUEST authorizer.
    IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

    // Represents the configuration of a JWT authorizer. Required for the JWT authorizer
    // type. Supported only for HTTP APIs.
    JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"`

    // The name of the authorizer.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents an authorizer.

func (Authorizer) GoString

func (s Authorizer) GoString() string

GoString returns the string representation

func (*Authorizer) SetAuthorizerCredentialsArn

func (s *Authorizer) SetAuthorizerCredentialsArn(v string) *Authorizer

SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.

func (*Authorizer) SetAuthorizerId

func (s *Authorizer) SetAuthorizerId(v string) *Authorizer

SetAuthorizerId sets the AuthorizerId field's value.

func (*Authorizer) SetAuthorizerResultTtlInSeconds

func (s *Authorizer) SetAuthorizerResultTtlInSeconds(v int64) *Authorizer

SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.

func (*Authorizer) SetAuthorizerType

func (s *Authorizer) SetAuthorizerType(v string) *Authorizer

SetAuthorizerType sets the AuthorizerType field's value.

func (*Authorizer) SetAuthorizerUri

func (s *Authorizer) SetAuthorizerUri(v string) *Authorizer

SetAuthorizerUri sets the AuthorizerUri 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) SetJwtConfiguration

func (s *Authorizer) SetJwtConfiguration(v *JWTConfiguration) *Authorizer

SetJwtConfiguration sets the JwtConfiguration field's value.

func (*Authorizer) SetName

func (s *Authorizer) SetName(v string) *Authorizer

SetName sets the Name field's value.

func (Authorizer) String

func (s Authorizer) String() string

String returns the string representation

type BadRequestException

type BadRequestException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // Describes the error encountered.
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The 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

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

type ConflictException

type ConflictException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // Describes the error encountered.
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

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

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

type Cors

type Cors struct {

    // Specifies whether credentials are included in the CORS request. Supported
    // only for HTTP APIs.
    AllowCredentials *bool `locationName:"allowCredentials" type:"boolean"`

    // Represents a collection of allowed headers. Supported only for HTTP APIs.
    AllowHeaders []*string `locationName:"allowHeaders" type:"list"`

    // Represents a collection of allowed HTTP methods. Supported only for HTTP
    // APIs.
    AllowMethods []*string `locationName:"allowMethods" type:"list"`

    // Represents a collection of allowed origins. Supported only for HTTP APIs.
    AllowOrigins []*string `locationName:"allowOrigins" type:"list"`

    // Represents a collection of exposed headers. Supported only for HTTP APIs.
    ExposeHeaders []*string `locationName:"exposeHeaders" type:"list"`

    // The number of seconds that the browser should cache preflight request results.
    // Supported only for HTTP APIs.
    MaxAge *int64 `locationName:"maxAge" type:"integer"`
    // contains filtered or unexported fields
}

Represents a CORS configuration. Supported only for HTTP APIs. See Configuring CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) for more information.

func (Cors) GoString

func (s Cors) GoString() string

GoString returns the string representation

func (*Cors) SetAllowCredentials

func (s *Cors) SetAllowCredentials(v bool) *Cors

SetAllowCredentials sets the AllowCredentials field's value.

func (*Cors) SetAllowHeaders

func (s *Cors) SetAllowHeaders(v []*string) *Cors

SetAllowHeaders sets the AllowHeaders field's value.

func (*Cors) SetAllowMethods

func (s *Cors) SetAllowMethods(v []*string) *Cors

SetAllowMethods sets the AllowMethods field's value.

func (*Cors) SetAllowOrigins

func (s *Cors) SetAllowOrigins(v []*string) *Cors

SetAllowOrigins sets the AllowOrigins field's value.

func (*Cors) SetExposeHeaders

func (s *Cors) SetExposeHeaders(v []*string) *Cors

SetExposeHeaders sets the ExposeHeaders field's value.

func (*Cors) SetMaxAge

func (s *Cors) SetMaxAge(v int64) *Cors

SetMaxAge sets the MaxAge field's value.

func (Cors) String

func (s Cors) String() string

String returns the string representation

func (*Cors) Validate

func (s *Cors) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateApiInput

type CreateApiInput struct {

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

    // Represents a CORS configuration. Supported only for HTTP APIs. See Configuring
    // CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html)
    // for more information.
    CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

    // Represents an Amazon Resource Name (ARN).
    CredentialsArn *string `locationName:"credentialsArn" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

    // A string with a length between [1-128].
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`

    // Represents a protocol type.
    //
    // ProtocolType is a required field
    ProtocolType *string `locationName:"protocolType" type:"string" required:"true" enum:"ProtocolType"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    RouteKey *string `locationName:"routeKey" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // A string representation of a URI with a length between [1-2048].
    Target *string `locationName:"target" type:"string"`

    // A string with a length between [1-64].
    Version *string `locationName:"version" type:"string"`
    // contains filtered or unexported fields
}

func (CreateApiInput) GoString

func (s CreateApiInput) GoString() string

GoString returns the string representation

func (*CreateApiInput) SetApiKeySelectionExpression

func (s *CreateApiInput) SetApiKeySelectionExpression(v string) *CreateApiInput

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*CreateApiInput) SetCorsConfiguration

func (s *CreateApiInput) SetCorsConfiguration(v *Cors) *CreateApiInput

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*CreateApiInput) SetCredentialsArn

func (s *CreateApiInput) SetCredentialsArn(v string) *CreateApiInput

SetCredentialsArn sets the CredentialsArn field's value.

func (*CreateApiInput) SetDescription

func (s *CreateApiInput) SetDescription(v string) *CreateApiInput

SetDescription sets the Description field's value.

func (*CreateApiInput) SetDisableSchemaValidation

func (s *CreateApiInput) SetDisableSchemaValidation(v bool) *CreateApiInput

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*CreateApiInput) SetName

func (s *CreateApiInput) SetName(v string) *CreateApiInput

SetName sets the Name field's value.

func (*CreateApiInput) SetProtocolType

func (s *CreateApiInput) SetProtocolType(v string) *CreateApiInput

SetProtocolType sets the ProtocolType field's value.

func (*CreateApiInput) SetRouteKey

func (s *CreateApiInput) SetRouteKey(v string) *CreateApiInput

SetRouteKey sets the RouteKey field's value.

func (*CreateApiInput) SetRouteSelectionExpression

func (s *CreateApiInput) SetRouteSelectionExpression(v string) *CreateApiInput

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*CreateApiInput) SetTags

func (s *CreateApiInput) SetTags(v map[string]*string) *CreateApiInput

SetTags sets the Tags field's value.

func (*CreateApiInput) SetTarget

func (s *CreateApiInput) SetTarget(v string) *CreateApiInput

SetTarget sets the Target field's value.

func (*CreateApiInput) SetVersion

func (s *CreateApiInput) SetVersion(v string) *CreateApiInput

SetVersion sets the Version field's value.

func (CreateApiInput) String

func (s CreateApiInput) String() string

String returns the string representation

func (*CreateApiInput) Validate

func (s *CreateApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateApiMappingInput

type CreateApiMappingInput struct {

    // The identifier.
    //
    // ApiId is a required field
    ApiId *string `locationName:"apiId" type:"string" required:"true"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

    // DomainName is a required field
    DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`

    // A string with a length between [1-128].
    //
    // Stage is a required field
    Stage *string `locationName:"stage" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateApiMappingInput) GoString

func (s CreateApiMappingInput) GoString() string

GoString returns the string representation

func (*CreateApiMappingInput) SetApiId

func (s *CreateApiMappingInput) SetApiId(v string) *CreateApiMappingInput

SetApiId sets the ApiId field's value.

func (*CreateApiMappingInput) SetApiMappingKey

func (s *CreateApiMappingInput) SetApiMappingKey(v string) *CreateApiMappingInput

SetApiMappingKey sets the ApiMappingKey field's value.

func (*CreateApiMappingInput) SetDomainName

func (s *CreateApiMappingInput) SetDomainName(v string) *CreateApiMappingInput

SetDomainName sets the DomainName field's value.

func (*CreateApiMappingInput) SetStage

func (s *CreateApiMappingInput) SetStage(v string) *CreateApiMappingInput

SetStage sets the Stage field's value.

func (CreateApiMappingInput) String

func (s CreateApiMappingInput) String() string

String returns the string representation

func (*CreateApiMappingInput) Validate

func (s *CreateApiMappingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateApiMappingOutput

type CreateApiMappingOutput struct {

    // The identifier.
    ApiId *string `locationName:"apiId" type:"string"`

    // The identifier.
    ApiMappingId *string `locationName:"apiMappingId" type:"string"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

    // A string with a length between [1-128].
    Stage *string `locationName:"stage" type:"string"`
    // contains filtered or unexported fields
}

func (CreateApiMappingOutput) GoString

func (s CreateApiMappingOutput) GoString() string

GoString returns the string representation

func (*CreateApiMappingOutput) SetApiId

func (s *CreateApiMappingOutput) SetApiId(v string) *CreateApiMappingOutput

SetApiId sets the ApiId field's value.

func (*CreateApiMappingOutput) SetApiMappingId

func (s *CreateApiMappingOutput) SetApiMappingId(v string) *CreateApiMappingOutput

SetApiMappingId sets the ApiMappingId field's value.

func (*CreateApiMappingOutput) SetApiMappingKey

func (s *CreateApiMappingOutput) SetApiMappingKey(v string) *CreateApiMappingOutput

SetApiMappingKey sets the ApiMappingKey field's value.

func (*CreateApiMappingOutput) SetStage

func (s *CreateApiMappingOutput) SetStage(v string) *CreateApiMappingOutput

SetStage sets the Stage field's value.

func (CreateApiMappingOutput) String

func (s CreateApiMappingOutput) String() string

String returns the string representation

type CreateApiOutput

type CreateApiOutput struct {
    ApiEndpoint *string `locationName:"apiEndpoint" type:"string"`

    // The identifier.
    ApiId *string `locationName:"apiId" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

    // Represents a CORS configuration. Supported only for HTTP APIs. See Configuring
    // CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html)
    // for more information.
    CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

    ImportInfo []*string `locationName:"importInfo" type:"list"`

    // A string with a length between [1-128].
    Name *string `locationName:"name" type:"string"`

    // Represents a protocol type.
    ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // A string with a length between [1-64].
    Version *string `locationName:"version" type:"string"`

    Warnings []*string `locationName:"warnings" type:"list"`
    // contains filtered or unexported fields
}

func (CreateApiOutput) GoString

func (s CreateApiOutput) GoString() string

GoString returns the string representation

func (*CreateApiOutput) SetApiEndpoint

func (s *CreateApiOutput) SetApiEndpoint(v string) *CreateApiOutput

SetApiEndpoint sets the ApiEndpoint field's value.

func (*CreateApiOutput) SetApiId

func (s *CreateApiOutput) SetApiId(v string) *CreateApiOutput

SetApiId sets the ApiId field's value.

func (*CreateApiOutput) SetApiKeySelectionExpression

func (s *CreateApiOutput) SetApiKeySelectionExpression(v string) *CreateApiOutput

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*CreateApiOutput) SetCorsConfiguration

func (s *CreateApiOutput) SetCorsConfiguration(v *Cors) *CreateApiOutput

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*CreateApiOutput) SetCreatedDate

func (s *CreateApiOutput) SetCreatedDate(v time.Time) *CreateApiOutput

SetCreatedDate sets the CreatedDate field's value.

func (*CreateApiOutput) SetDescription

func (s *CreateApiOutput) SetDescription(v string) *CreateApiOutput

SetDescription sets the Description field's value.

func (*CreateApiOutput) SetDisableSchemaValidation

func (s *CreateApiOutput) SetDisableSchemaValidation(v bool) *CreateApiOutput

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*CreateApiOutput) SetImportInfo

func (s *CreateApiOutput) SetImportInfo(v []*string) *CreateApiOutput

SetImportInfo sets the ImportInfo field's value.

func (*CreateApiOutput) SetName

func (s *CreateApiOutput) SetName(v string) *CreateApiOutput

SetName sets the Name field's value.

func (*CreateApiOutput) SetProtocolType

func (s *CreateApiOutput) SetProtocolType(v string) *CreateApiOutput

SetProtocolType sets the ProtocolType field's value.

func (*CreateApiOutput) SetRouteSelectionExpression

func (s *CreateApiOutput) SetRouteSelectionExpression(v string) *CreateApiOutput

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*CreateApiOutput) SetTags

func (s *CreateApiOutput) SetTags(v map[string]*string) *CreateApiOutput

SetTags sets the Tags field's value.

func (*CreateApiOutput) SetVersion

func (s *CreateApiOutput) SetVersion(v string) *CreateApiOutput

SetVersion sets the Version field's value.

func (*CreateApiOutput) SetWarnings

func (s *CreateApiOutput) SetWarnings(v []*string) *CreateApiOutput

SetWarnings sets the Warnings field's value.

func (CreateApiOutput) String

func (s CreateApiOutput) String() string

String returns the string representation

type CreateAuthorizerInput

type CreateAuthorizerInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // Represents an Amazon Resource Name (ARN).
    AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"`

    // An integer with a value between [0-3600].
    AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

    // The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda function
    // using incoming request parameters. For HTTP APIs, specify JWT to use JSON
    // Web Tokens.
    //
    // AuthorizerType is a required field
    AuthorizerType *string `locationName:"authorizerType" type:"string" required:"true" enum:"AuthorizerType"`

    // A string representation of a URI with a length between [1-2048].
    AuthorizerUri *string `locationName:"authorizerUri" type:"string"`

    // The identity source for which authorization is requested. 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 is a required field
    IdentitySource []*string `locationName:"identitySource" type:"list" required:"true"`

    // A string with a length between [0-1024].
    IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

    // Represents the configuration of a JWT authorizer. Required for the JWT authorizer
    // type. Supported only for HTTP APIs.
    JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"`

    // A string with a length between [1-128].
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateAuthorizerInput) GoString

func (s CreateAuthorizerInput) GoString() string

GoString returns the string representation

func (*CreateAuthorizerInput) SetApiId

func (s *CreateAuthorizerInput) SetApiId(v string) *CreateAuthorizerInput

SetApiId sets the ApiId field's value.

func (*CreateAuthorizerInput) SetAuthorizerCredentialsArn

func (s *CreateAuthorizerInput) SetAuthorizerCredentialsArn(v string) *CreateAuthorizerInput

SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.

func (*CreateAuthorizerInput) SetAuthorizerResultTtlInSeconds

func (s *CreateAuthorizerInput) SetAuthorizerResultTtlInSeconds(v int64) *CreateAuthorizerInput

SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.

func (*CreateAuthorizerInput) SetAuthorizerType

func (s *CreateAuthorizerInput) SetAuthorizerType(v string) *CreateAuthorizerInput

SetAuthorizerType sets the AuthorizerType 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) SetJwtConfiguration

func (s *CreateAuthorizerInput) SetJwtConfiguration(v *JWTConfiguration) *CreateAuthorizerInput

SetJwtConfiguration sets the JwtConfiguration field's value.

func (*CreateAuthorizerInput) SetName

func (s *CreateAuthorizerInput) SetName(v string) *CreateAuthorizerInput

SetName sets the Name field's value.

func (CreateAuthorizerInput) String

func (s CreateAuthorizerInput) String() string

String returns the string representation

func (*CreateAuthorizerInput) Validate

func (s *CreateAuthorizerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAuthorizerOutput

type CreateAuthorizerOutput struct {

    // Represents an Amazon Resource Name (ARN).
    AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"`

    // The identifier.
    AuthorizerId *string `locationName:"authorizerId" type:"string"`

    // An integer with a value between [0-3600].
    AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

    // The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda function
    // using incoming request parameters. For HTTP APIs, specify JWT to use JSON
    // Web Tokens.
    AuthorizerType *string `locationName:"authorizerType" type:"string" enum:"AuthorizerType"`

    // A string representation of a URI with a length between [1-2048].
    AuthorizerUri *string `locationName:"authorizerUri" type:"string"`

    // The identity source for which authorization is requested. 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:"list"`

    // A string with a length between [0-1024].
    IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

    // Represents the configuration of a JWT authorizer. Required for the JWT authorizer
    // type. Supported only for HTTP APIs.
    JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"`

    // A string with a length between [1-128].
    Name *string `locationName:"name" type:"string"`
    // contains filtered or unexported fields
}

func (CreateAuthorizerOutput) GoString

func (s CreateAuthorizerOutput) GoString() string

GoString returns the string representation

func (*CreateAuthorizerOutput) SetAuthorizerCredentialsArn

func (s *CreateAuthorizerOutput) SetAuthorizerCredentialsArn(v string) *CreateAuthorizerOutput

SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.

func (*CreateAuthorizerOutput) SetAuthorizerId

func (s *CreateAuthorizerOutput) SetAuthorizerId(v string) *CreateAuthorizerOutput

SetAuthorizerId sets the AuthorizerId field's value.

func (*CreateAuthorizerOutput) SetAuthorizerResultTtlInSeconds

func (s *CreateAuthorizerOutput) SetAuthorizerResultTtlInSeconds(v int64) *CreateAuthorizerOutput

SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.

func (*CreateAuthorizerOutput) SetAuthorizerType

func (s *CreateAuthorizerOutput) SetAuthorizerType(v string) *CreateAuthorizerOutput

SetAuthorizerType sets the AuthorizerType field's value.

func (*CreateAuthorizerOutput) SetAuthorizerUri

func (s *CreateAuthorizerOutput) SetAuthorizerUri(v string) *CreateAuthorizerOutput

SetAuthorizerUri sets the AuthorizerUri field's value.

func (*CreateAuthorizerOutput) SetIdentitySource

func (s *CreateAuthorizerOutput) SetIdentitySource(v []*string) *CreateAuthorizerOutput

SetIdentitySource sets the IdentitySource field's value.

func (*CreateAuthorizerOutput) SetIdentityValidationExpression

func (s *CreateAuthorizerOutput) SetIdentityValidationExpression(v string) *CreateAuthorizerOutput

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*CreateAuthorizerOutput) SetJwtConfiguration

func (s *CreateAuthorizerOutput) SetJwtConfiguration(v *JWTConfiguration) *CreateAuthorizerOutput

SetJwtConfiguration sets the JwtConfiguration field's value.

func (*CreateAuthorizerOutput) SetName

func (s *CreateAuthorizerOutput) SetName(v string) *CreateAuthorizerOutput

SetName sets the Name field's value.

func (CreateAuthorizerOutput) String

func (s CreateAuthorizerOutput) String() string

String returns the string representation

type CreateDeploymentInput

type CreateDeploymentInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    // A string with a length between [1-128].
    StageName *string `locationName:"stageName" type:"string"`
    // contains filtered or unexported fields
}

func (CreateDeploymentInput) GoString

func (s CreateDeploymentInput) GoString() string

GoString returns the string representation

func (*CreateDeploymentInput) SetApiId

func (s *CreateDeploymentInput) SetApiId(v string) *CreateDeploymentInput

SetApiId sets the ApiId field's value.

func (*CreateDeploymentInput) SetDescription

func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput

SetDescription sets the Description field's value.

func (*CreateDeploymentInput) SetStageName

func (s *CreateDeploymentInput) SetStageName(v string) *CreateDeploymentInput

SetStageName sets the StageName field's value.

func (CreateDeploymentInput) String

func (s CreateDeploymentInput) String() string

String returns the string representation

func (*CreateDeploymentInput) Validate

func (s *CreateDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDeploymentOutput

type CreateDeploymentOutput struct {
    AutoDeployed *bool `locationName:"autoDeployed" type:"boolean"`

    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // The identifier.
    DeploymentId *string `locationName:"deploymentId" type:"string"`

    // Represents a deployment status.
    DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"`

    DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`
    // contains filtered or unexported fields
}

func (CreateDeploymentOutput) GoString

func (s CreateDeploymentOutput) GoString() string

GoString returns the string representation

func (*CreateDeploymentOutput) SetAutoDeployed

func (s *CreateDeploymentOutput) SetAutoDeployed(v bool) *CreateDeploymentOutput

SetAutoDeployed sets the AutoDeployed field's value.

func (*CreateDeploymentOutput) SetCreatedDate

func (s *CreateDeploymentOutput) SetCreatedDate(v time.Time) *CreateDeploymentOutput

SetCreatedDate sets the CreatedDate field's value.

func (*CreateDeploymentOutput) SetDeploymentId

func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutput

SetDeploymentId sets the DeploymentId field's value.

func (*CreateDeploymentOutput) SetDeploymentStatus

func (s *CreateDeploymentOutput) SetDeploymentStatus(v string) *CreateDeploymentOutput

SetDeploymentStatus sets the DeploymentStatus field's value.

func (*CreateDeploymentOutput) SetDeploymentStatusMessage

func (s *CreateDeploymentOutput) SetDeploymentStatusMessage(v string) *CreateDeploymentOutput

SetDeploymentStatusMessage sets the DeploymentStatusMessage field's value.

func (*CreateDeploymentOutput) SetDescription

func (s *CreateDeploymentOutput) SetDescription(v string) *CreateDeploymentOutput

SetDescription sets the Description field's value.

func (CreateDeploymentOutput) String

func (s CreateDeploymentOutput) String() string

String returns the string representation

type CreateDomainNameInput

type CreateDomainNameInput struct {

    // A string with a length between [1-512].
    //
    // DomainName is a required field
    DomainName *string `locationName:"domainName" type:"string" required:"true"`

    // The domain name configurations.
    DomainNameConfigurations []*DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (CreateDomainNameInput) GoString

func (s CreateDomainNameInput) GoString() string

GoString returns the string representation

func (*CreateDomainNameInput) SetDomainName

func (s *CreateDomainNameInput) SetDomainName(v string) *CreateDomainNameInput

SetDomainName sets the DomainName field's value.

func (*CreateDomainNameInput) SetDomainNameConfigurations

func (s *CreateDomainNameInput) SetDomainNameConfigurations(v []*DomainNameConfiguration) *CreateDomainNameInput

SetDomainNameConfigurations sets the DomainNameConfigurations 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

func (*CreateDomainNameInput) Validate

func (s *CreateDomainNameInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDomainNameOutput

type CreateDomainNameOutput struct {

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ApiMappingSelectionExpression *string `locationName:"apiMappingSelectionExpression" type:"string"`

    // A string with a length between [1-512].
    DomainName *string `locationName:"domainName" type:"string"`

    // The domain name configurations.
    DomainNameConfigurations []*DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (CreateDomainNameOutput) GoString

func (s CreateDomainNameOutput) GoString() string

GoString returns the string representation

func (*CreateDomainNameOutput) SetApiMappingSelectionExpression

func (s *CreateDomainNameOutput) SetApiMappingSelectionExpression(v string) *CreateDomainNameOutput

SetApiMappingSelectionExpression sets the ApiMappingSelectionExpression field's value.

func (*CreateDomainNameOutput) SetDomainName

func (s *CreateDomainNameOutput) SetDomainName(v string) *CreateDomainNameOutput

SetDomainName sets the DomainName field's value.

func (*CreateDomainNameOutput) SetDomainNameConfigurations

func (s *CreateDomainNameOutput) SetDomainNameConfigurations(v []*DomainNameConfiguration) *CreateDomainNameOutput

SetDomainNameConfigurations sets the DomainNameConfigurations field's value.

func (*CreateDomainNameOutput) SetTags

func (s *CreateDomainNameOutput) SetTags(v map[string]*string) *CreateDomainNameOutput

SetTags sets the Tags field's value.

func (CreateDomainNameOutput) String

func (s CreateDomainNameOutput) String() string

String returns the string representation

type CreateIntegrationInput

type CreateIntegrationInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // A string with a length between [1-1024].
    ConnectionId *string `locationName:"connectionId" type:"string"`

    // Represents a connection type.
    ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"`

    // Specifies how to handle response payload content type conversions. Supported
    // only for WebSocket APIs.
    ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

    // Represents an Amazon Resource Name (ARN).
    CredentialsArn *string `locationName:"credentialsArn" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    // A string with a length between [1-64].
    IntegrationMethod *string `locationName:"integrationMethod" type:"string"`

    // Represents an API method integration type.
    //
    // IntegrationType is a required field
    IntegrationType *string `locationName:"integrationType" type:"string" required:"true" enum:"IntegrationType"`

    // A string representation of a URI with a length between [1-2048].
    IntegrationUri *string `locationName:"integrationUri" type:"string"`

    // Represents passthrough behavior for an integration response. Supported only
    // for WebSocket APIs.
    PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

    // A string with a length between [1-64].
    PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"`

    // A key-value map specifying response parameters that are passed to the method
    // response from the backend. The key is a method response header parameter
    // name and the mapped value is an integration response header value, a static
    // value enclosed within a pair of single quotes, or a JSON expression from
    // the integration response body. The mapping key must match the pattern of
    // method.response.header.{name}, where name is a valid and unique header name.
    // The mapped non-static value must match the pattern of integration.response.header.{name}
    // or integration.response.body.{JSON-expression}, where name is a valid and
    // unique response header name and JSON-expression is a valid JSON expression
    // without the $ prefix.
    RequestParameters map[string]*string `locationName:"requestParameters" type:"map"`

    // A mapping of identifier keys to templates. The value is an actual template
    // script. The key is typically a SelectionKey which is chosen based on evaluating
    // a selection expression.
    RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

    // An integer with a value between [50-30000].
    TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`

    // The TLS configuration for a private integration. If you specify a TLS configuration,
    // private integration traffic uses the HTTPS protocol. Supported only for HTTP
    // APIs.
    TlsConfig *TlsConfigInput `locationName:"tlsConfig" type:"structure"`
    // contains filtered or unexported fields
}

func (CreateIntegrationInput) GoString

func (s CreateIntegrationInput) GoString() string

GoString returns the string representation

func (*CreateIntegrationInput) SetApiId

func (s *CreateIntegrationInput) SetApiId(v string) *CreateIntegrationInput

SetApiId sets the ApiId field's value.

func (*CreateIntegrationInput) SetConnectionId

func (s *CreateIntegrationInput) SetConnectionId(v string) *CreateIntegrationInput

SetConnectionId sets the ConnectionId field's value.

func (*CreateIntegrationInput) SetConnectionType

func (s *CreateIntegrationInput) SetConnectionType(v string) *CreateIntegrationInput

SetConnectionType sets the ConnectionType field's value.

func (*CreateIntegrationInput) SetContentHandlingStrategy

func (s *CreateIntegrationInput) SetContentHandlingStrategy(v string) *CreateIntegrationInput

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*CreateIntegrationInput) SetCredentialsArn

func (s *CreateIntegrationInput) SetCredentialsArn(v string) *CreateIntegrationInput

SetCredentialsArn sets the CredentialsArn field's value.

func (*CreateIntegrationInput) SetDescription

func (s *CreateIntegrationInput) SetDescription(v string) *CreateIntegrationInput

SetDescription sets the Description field's value.

func (*CreateIntegrationInput) SetIntegrationMethod

func (s *CreateIntegrationInput) SetIntegrationMethod(v string) *CreateIntegrationInput

SetIntegrationMethod sets the IntegrationMethod field's value.

func (*CreateIntegrationInput) SetIntegrationType

func (s *CreateIntegrationInput) SetIntegrationType(v string) *CreateIntegrationInput

SetIntegrationType sets the IntegrationType field's value.

func (*CreateIntegrationInput) SetIntegrationUri

func (s *CreateIntegrationInput) SetIntegrationUri(v string) *CreateIntegrationInput

SetIntegrationUri sets the IntegrationUri field's value.

func (*CreateIntegrationInput) SetPassthroughBehavior

func (s *CreateIntegrationInput) SetPassthroughBehavior(v string) *CreateIntegrationInput

SetPassthroughBehavior sets the PassthroughBehavior field's value.

func (*CreateIntegrationInput) SetPayloadFormatVersion

func (s *CreateIntegrationInput) SetPayloadFormatVersion(v string) *CreateIntegrationInput

SetPayloadFormatVersion sets the PayloadFormatVersion field's value.

func (*CreateIntegrationInput) SetRequestParameters

func (s *CreateIntegrationInput) SetRequestParameters(v map[string]*string) *CreateIntegrationInput

SetRequestParameters sets the RequestParameters field's value.

func (*CreateIntegrationInput) SetRequestTemplates

func (s *CreateIntegrationInput) SetRequestTemplates(v map[string]*string) *CreateIntegrationInput

SetRequestTemplates sets the RequestTemplates field's value.

func (*CreateIntegrationInput) SetTemplateSelectionExpression

func (s *CreateIntegrationInput) SetTemplateSelectionExpression(v string) *CreateIntegrationInput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (*CreateIntegrationInput) SetTimeoutInMillis

func (s *CreateIntegrationInput) SetTimeoutInMillis(v int64) *CreateIntegrationInput

SetTimeoutInMillis sets the TimeoutInMillis field's value.

func (*CreateIntegrationInput) SetTlsConfig

func (s *CreateIntegrationInput) SetTlsConfig(v *TlsConfigInput) *CreateIntegrationInput

SetTlsConfig sets the TlsConfig field's value.

func (CreateIntegrationInput) String

func (s CreateIntegrationInput) String() string

String returns the string representation

func (*CreateIntegrationInput) Validate

func (s *CreateIntegrationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateIntegrationOutput

type CreateIntegrationOutput struct {
    ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

    // A string with a length between [1-1024].
    ConnectionId *string `locationName:"connectionId" type:"string"`

    // Represents a connection type.
    ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"`

    // Specifies how to handle response payload content type conversions. Supported
    // only for WebSocket APIs.
    ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

    // Represents an Amazon Resource Name (ARN).
    CredentialsArn *string `locationName:"credentialsArn" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    // The identifier.
    IntegrationId *string `locationName:"integrationId" type:"string"`

    // A string with a length between [1-64].
    IntegrationMethod *string `locationName:"integrationMethod" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    IntegrationResponseSelectionExpression *string `locationName:"integrationResponseSelectionExpression" type:"string"`

    // Represents an API method integration type.
    IntegrationType *string `locationName:"integrationType" type:"string" enum:"IntegrationType"`

    // A string representation of a URI with a length between [1-2048].
    IntegrationUri *string `locationName:"integrationUri" type:"string"`

    // Represents passthrough behavior for an integration response. Supported only
    // for WebSocket APIs.
    PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

    // A string with a length between [1-64].
    PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"`

    // A key-value map specifying response parameters that are passed to the method
    // response from the backend. The key is a method response header parameter
    // name and the mapped value is an integration response header value, a static
    // value enclosed within a pair of single quotes, or a JSON expression from
    // the integration response body. The mapping key must match the pattern of
    // method.response.header.{name}, where name is a valid and unique header name.
    // The mapped non-static value must match the pattern of integration.response.header.{name}
    // or integration.response.body.{JSON-expression}, where name is a valid and
    // unique response header name and JSON-expression is a valid JSON expression
    // without the $ prefix.
    RequestParameters map[string]*string `locationName:"requestParameters" type:"map"`

    // A mapping of identifier keys to templates. The value is an actual template
    // script. The key is typically a SelectionKey which is chosen based on evaluating
    // a selection expression.
    RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

    // An integer with a value between [50-30000].
    TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`

    // The TLS configuration for a private integration. If you specify a TLS configuration,
    // private integration traffic uses the HTTPS protocol. Supported only for HTTP
    // APIs.
    TlsConfig *TlsConfig `locationName:"tlsConfig" type:"structure"`
    // contains filtered or unexported fields
}

func (CreateIntegrationOutput) GoString

func (s CreateIntegrationOutput) GoString() string

GoString returns the string representation

func (*CreateIntegrationOutput) SetApiGatewayManaged

func (s *CreateIntegrationOutput) SetApiGatewayManaged(v bool) *CreateIntegrationOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*CreateIntegrationOutput) SetConnectionId

func (s *CreateIntegrationOutput) SetConnectionId(v string) *CreateIntegrationOutput

SetConnectionId sets the ConnectionId field's value.

func (*CreateIntegrationOutput) SetConnectionType

func (s *CreateIntegrationOutput) SetConnectionType(v string) *CreateIntegrationOutput

SetConnectionType sets the ConnectionType field's value.

func (*CreateIntegrationOutput) SetContentHandlingStrategy

func (s *CreateIntegrationOutput) SetContentHandlingStrategy(v string) *CreateIntegrationOutput

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*CreateIntegrationOutput) SetCredentialsArn

func (s *CreateIntegrationOutput) SetCredentialsArn(v string) *CreateIntegrationOutput

SetCredentialsArn sets the CredentialsArn field's value.

func (*CreateIntegrationOutput) SetDescription

func (s *CreateIntegrationOutput) SetDescription(v string) *CreateIntegrationOutput

SetDescription sets the Description field's value.

func (*CreateIntegrationOutput) SetIntegrationId

func (s *CreateIntegrationOutput) SetIntegrationId(v string) *CreateIntegrationOutput

SetIntegrationId sets the IntegrationId field's value.

func (*CreateIntegrationOutput) SetIntegrationMethod

func (s *CreateIntegrationOutput) SetIntegrationMethod(v string) *CreateIntegrationOutput

SetIntegrationMethod sets the IntegrationMethod field's value.

func (*CreateIntegrationOutput) SetIntegrationResponseSelectionExpression

func (s *CreateIntegrationOutput) SetIntegrationResponseSelectionExpression(v string) *CreateIntegrationOutput

SetIntegrationResponseSelectionExpression sets the IntegrationResponseSelectionExpression field's value.

func (*CreateIntegrationOutput) SetIntegrationType

func (s *CreateIntegrationOutput) SetIntegrationType(v string) *CreateIntegrationOutput

SetIntegrationType sets the IntegrationType field's value.

func (*CreateIntegrationOutput) SetIntegrationUri

func (s *CreateIntegrationOutput) SetIntegrationUri(v string) *CreateIntegrationOutput

SetIntegrationUri sets the IntegrationUri field's value.

func (*CreateIntegrationOutput) SetPassthroughBehavior

func (s *CreateIntegrationOutput) SetPassthroughBehavior(v string) *CreateIntegrationOutput

SetPassthroughBehavior sets the PassthroughBehavior field's value.

func (*CreateIntegrationOutput) SetPayloadFormatVersion

func (s *CreateIntegrationOutput) SetPayloadFormatVersion(v string) *CreateIntegrationOutput

SetPayloadFormatVersion sets the PayloadFormatVersion field's value.

func (*CreateIntegrationOutput) SetRequestParameters

func (s *CreateIntegrationOutput) SetRequestParameters(v map[string]*string) *CreateIntegrationOutput

SetRequestParameters sets the RequestParameters field's value.

func (*CreateIntegrationOutput) SetRequestTemplates

func (s *CreateIntegrationOutput) SetRequestTemplates(v map[string]*string) *CreateIntegrationOutput

SetRequestTemplates sets the RequestTemplates field's value.

func (*CreateIntegrationOutput) SetTemplateSelectionExpression

func (s *CreateIntegrationOutput) SetTemplateSelectionExpression(v string) *CreateIntegrationOutput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (*CreateIntegrationOutput) SetTimeoutInMillis

func (s *CreateIntegrationOutput) SetTimeoutInMillis(v int64) *CreateIntegrationOutput

SetTimeoutInMillis sets the TimeoutInMillis field's value.

func (*CreateIntegrationOutput) SetTlsConfig

func (s *CreateIntegrationOutput) SetTlsConfig(v *TlsConfig) *CreateIntegrationOutput

SetTlsConfig sets the TlsConfig field's value.

func (CreateIntegrationOutput) String

func (s CreateIntegrationOutput) String() string

String returns the string representation

type CreateIntegrationResponseInput

type CreateIntegrationResponseInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // Specifies how to handle response payload content type conversions. Supported
    // only for WebSocket APIs.
    ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

    // IntegrationId is a required field
    IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    //
    // IntegrationResponseKey is a required field
    IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string" required:"true"`

    // A key-value map specifying response parameters that are passed to the method
    // response from the backend. The key is a method response header parameter
    // name and the mapped value is an integration response header value, a static
    // value enclosed within a pair of single quotes, or a JSON expression from
    // the integration response body. The mapping key must match the pattern of
    // method.response.header.{name}, where name is a valid and unique header name.
    // The mapped non-static value must match the pattern of integration.response.header.{name}
    // or integration.response.body.{JSON-expression}, where name is a valid and
    // unique response header name and JSON-expression is a valid JSON expression
    // without the $ prefix.
    ResponseParameters map[string]*string `locationName:"responseParameters" type:"map"`

    // A mapping of identifier keys to templates. The value is an actual template
    // script. The key is typically a SelectionKey which is chosen based on evaluating
    // a selection expression.
    ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`
    // contains filtered or unexported fields
}

func (CreateIntegrationResponseInput) GoString

func (s CreateIntegrationResponseInput) GoString() string

GoString returns the string representation

func (*CreateIntegrationResponseInput) SetApiId

func (s *CreateIntegrationResponseInput) SetApiId(v string) *CreateIntegrationResponseInput

SetApiId sets the ApiId field's value.

func (*CreateIntegrationResponseInput) SetContentHandlingStrategy

func (s *CreateIntegrationResponseInput) SetContentHandlingStrategy(v string) *CreateIntegrationResponseInput

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*CreateIntegrationResponseInput) SetIntegrationId

func (s *CreateIntegrationResponseInput) SetIntegrationId(v string) *CreateIntegrationResponseInput

SetIntegrationId sets the IntegrationId field's value.

func (*CreateIntegrationResponseInput) SetIntegrationResponseKey

func (s *CreateIntegrationResponseInput) SetIntegrationResponseKey(v string) *CreateIntegrationResponseInput

SetIntegrationResponseKey sets the IntegrationResponseKey field's value.

func (*CreateIntegrationResponseInput) SetResponseParameters

func (s *CreateIntegrationResponseInput) SetResponseParameters(v map[string]*string) *CreateIntegrationResponseInput

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateIntegrationResponseInput) SetResponseTemplates

func (s *CreateIntegrationResponseInput) SetResponseTemplates(v map[string]*string) *CreateIntegrationResponseInput

SetResponseTemplates sets the ResponseTemplates field's value.

func (*CreateIntegrationResponseInput) SetTemplateSelectionExpression

func (s *CreateIntegrationResponseInput) SetTemplateSelectionExpression(v string) *CreateIntegrationResponseInput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (CreateIntegrationResponseInput) String

func (s CreateIntegrationResponseInput) String() string

String returns the string representation

func (*CreateIntegrationResponseInput) Validate

func (s *CreateIntegrationResponseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateIntegrationResponseOutput

type CreateIntegrationResponseOutput struct {

    // Specifies how to handle response payload content type conversions. Supported
    // only for WebSocket APIs.
    ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

    // The identifier.
    IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string"`

    // A key-value map specifying response parameters that are passed to the method
    // response from the backend. The key is a method response header parameter
    // name and the mapped value is an integration response header value, a static
    // value enclosed within a pair of single quotes, or a JSON expression from
    // the integration response body. The mapping key must match the pattern of
    // method.response.header.{name}, where name is a valid and unique header name.
    // The mapped non-static value must match the pattern of integration.response.header.{name}
    // or integration.response.body.{JSON-expression}, where name is a valid and
    // unique response header name and JSON-expression is a valid JSON expression
    // without the $ prefix.
    ResponseParameters map[string]*string `locationName:"responseParameters" type:"map"`

    // A mapping of identifier keys to templates. The value is an actual template
    // script. The key is typically a SelectionKey which is chosen based on evaluating
    // a selection expression.
    ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`
    // contains filtered or unexported fields
}

func (CreateIntegrationResponseOutput) GoString

func (s CreateIntegrationResponseOutput) GoString() string

GoString returns the string representation

func (*CreateIntegrationResponseOutput) SetContentHandlingStrategy

func (s *CreateIntegrationResponseOutput) SetContentHandlingStrategy(v string) *CreateIntegrationResponseOutput

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*CreateIntegrationResponseOutput) SetIntegrationResponseId

func (s *CreateIntegrationResponseOutput) SetIntegrationResponseId(v string) *CreateIntegrationResponseOutput

SetIntegrationResponseId sets the IntegrationResponseId field's value.

func (*CreateIntegrationResponseOutput) SetIntegrationResponseKey

func (s *CreateIntegrationResponseOutput) SetIntegrationResponseKey(v string) *CreateIntegrationResponseOutput

SetIntegrationResponseKey sets the IntegrationResponseKey field's value.

func (*CreateIntegrationResponseOutput) SetResponseParameters

func (s *CreateIntegrationResponseOutput) SetResponseParameters(v map[string]*string) *CreateIntegrationResponseOutput

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateIntegrationResponseOutput) SetResponseTemplates

func (s *CreateIntegrationResponseOutput) SetResponseTemplates(v map[string]*string) *CreateIntegrationResponseOutput

SetResponseTemplates sets the ResponseTemplates field's value.

func (*CreateIntegrationResponseOutput) SetTemplateSelectionExpression

func (s *CreateIntegrationResponseOutput) SetTemplateSelectionExpression(v string) *CreateIntegrationResponseOutput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (CreateIntegrationResponseOutput) String

func (s CreateIntegrationResponseOutput) String() string

String returns the string representation

type CreateModelInput

type CreateModelInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // A string with a length between [1-256].
    ContentType *string `locationName:"contentType" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    // A string with a length between [1-128].
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`

    // A string with a length between [0-32768].
    //
    // Schema is a required field
    Schema *string `locationName:"schema" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateModelInput) GoString

func (s CreateModelInput) GoString() string

GoString returns the string representation

func (*CreateModelInput) SetApiId

func (s *CreateModelInput) SetApiId(v string) *CreateModelInput

SetApiId sets the ApiId field's value.

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) 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

func (*CreateModelInput) Validate

func (s *CreateModelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateModelOutput

type CreateModelOutput struct {

    // A string with a length between [1-256].
    ContentType *string `locationName:"contentType" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    // The identifier.
    ModelId *string `locationName:"modelId" type:"string"`

    // A string with a length between [1-128].
    Name *string `locationName:"name" type:"string"`

    // A string with a length between [0-32768].
    Schema *string `locationName:"schema" type:"string"`
    // contains filtered or unexported fields
}

func (CreateModelOutput) GoString

func (s CreateModelOutput) GoString() string

GoString returns the string representation

func (*CreateModelOutput) SetContentType

func (s *CreateModelOutput) SetContentType(v string) *CreateModelOutput

SetContentType sets the ContentType field's value.

func (*CreateModelOutput) SetDescription

func (s *CreateModelOutput) SetDescription(v string) *CreateModelOutput

SetDescription sets the Description field's value.

func (*CreateModelOutput) SetModelId

func (s *CreateModelOutput) SetModelId(v string) *CreateModelOutput

SetModelId sets the ModelId field's value.

func (*CreateModelOutput) SetName

func (s *CreateModelOutput) SetName(v string) *CreateModelOutput

SetName sets the Name field's value.

func (*CreateModelOutput) SetSchema

func (s *CreateModelOutput) SetSchema(v string) *CreateModelOutput

SetSchema sets the Schema field's value.

func (CreateModelOutput) String

func (s CreateModelOutput) String() string

String returns the string representation

type CreateRouteInput

type CreateRouteInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

    // A list of authorization scopes configured on a route. The scopes are used
    // with a JWT authorizer to authorize the method invocation. The authorization
    // works by matching the route scopes against the scopes parsed from the access
    // token in the incoming request. The method invocation is authorized if any
    // route scope matches a claimed scope in the access token. Otherwise, the invocation
    // is not authorized. When the route scope is configured, the client must provide
    // an access token instead of an identity token for authorization purposes.
    AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"`

    // The authorization type. For WebSocket APIs, valid values are NONE for open
    // access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda
    // authorizer. For HTTP APIs, valid values are NONE for open access, or JWT
    // for using JSON Web Tokens.
    AuthorizationType *string `locationName:"authorizationType" type:"string" enum:"AuthorizationType"`

    // The identifier.
    AuthorizerId *string `locationName:"authorizerId" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

    // A string with a length between [1-64].
    OperationName *string `locationName:"operationName" type:"string"`

    // The route models.
    RequestModels map[string]*string `locationName:"requestModels" type:"map"`

    // The route parameters.
    RequestParameters map[string]*ParameterConstraints `locationName:"requestParameters" type:"map"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    //
    // RouteKey is a required field
    RouteKey *string `locationName:"routeKey" type:"string" required:"true"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

    // A string with a length between [1-128].
    Target *string `locationName:"target" type:"string"`
    // contains filtered or unexported fields
}

func (CreateRouteInput) GoString

func (s CreateRouteInput) GoString() string

GoString returns the string representation

func (*CreateRouteInput) SetApiId

func (s *CreateRouteInput) SetApiId(v string) *CreateRouteInput

SetApiId sets the ApiId field's value.

func (*CreateRouteInput) SetApiKeyRequired

func (s *CreateRouteInput) SetApiKeyRequired(v bool) *CreateRouteInput

SetApiKeyRequired sets the ApiKeyRequired field's value.

func (*CreateRouteInput) SetAuthorizationScopes

func (s *CreateRouteInput) SetAuthorizationScopes(v []*string) *CreateRouteInput

SetAuthorizationScopes sets the AuthorizationScopes field's value.

func (*CreateRouteInput) SetAuthorizationType

func (s *CreateRouteInput) SetAuthorizationType(v string) *CreateRouteInput

SetAuthorizationType sets the AuthorizationType field's value.

func (*CreateRouteInput) SetAuthorizerId

func (s *CreateRouteInput) SetAuthorizerId(v string) *CreateRouteInput

SetAuthorizerId sets the AuthorizerId field's value.

func (*CreateRouteInput) SetModelSelectionExpression

func (s *CreateRouteInput) SetModelSelectionExpression(v string) *CreateRouteInput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*CreateRouteInput) SetOperationName

func (s *CreateRouteInput) SetOperationName(v string) *CreateRouteInput

SetOperationName sets the OperationName field's value.

func (*CreateRouteInput) SetRequestModels

func (s *CreateRouteInput) SetRequestModels(v map[string]*string) *CreateRouteInput

SetRequestModels sets the RequestModels field's value.

func (*CreateRouteInput) SetRequestParameters

func (s *CreateRouteInput) SetRequestParameters(v map[string]*ParameterConstraints) *CreateRouteInput

SetRequestParameters sets the RequestParameters field's value.

func (*CreateRouteInput) SetRouteKey

func (s *CreateRouteInput) SetRouteKey(v string) *CreateRouteInput

SetRouteKey sets the RouteKey field's value.

func (*CreateRouteInput) SetRouteResponseSelectionExpression

func (s *CreateRouteInput) SetRouteResponseSelectionExpression(v string) *CreateRouteInput

SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.

func (*CreateRouteInput) SetTarget

func (s *CreateRouteInput) SetTarget(v string) *CreateRouteInput

SetTarget sets the Target field's value.

func (CreateRouteInput) String

func (s CreateRouteInput) String() string

String returns the string representation

func (*CreateRouteInput) Validate

func (s *CreateRouteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRouteOutput

type CreateRouteOutput struct {
    ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

    ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

    // A list of authorization scopes configured on a route. The scopes are used
    // with a JWT authorizer to authorize the method invocation. The authorization
    // works by matching the route scopes against the scopes parsed from the access
    // token in the incoming request. The method invocation is authorized if any
    // route scope matches a claimed scope in the access token. Otherwise, the invocation
    // is not authorized. When the route scope is configured, the client must provide
    // an access token instead of an identity token for authorization purposes.
    AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"`

    // The authorization type. For WebSocket APIs, valid values are NONE for open
    // access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda
    // authorizer. For HTTP APIs, valid values are NONE for open access, or JWT
    // for using JSON Web Tokens.
    AuthorizationType *string `locationName:"authorizationType" type:"string" enum:"AuthorizationType"`

    // The identifier.
    AuthorizerId *string `locationName:"authorizerId" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

    // A string with a length between [1-64].
    OperationName *string `locationName:"operationName" type:"string"`

    // The route models.
    RequestModels map[string]*string `locationName:"requestModels" type:"map"`

    // The route parameters.
    RequestParameters map[string]*ParameterConstraints `locationName:"requestParameters" type:"map"`

    // The identifier.
    RouteId *string `locationName:"routeId" type:"string"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    RouteKey *string `locationName:"routeKey" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

    // A string with a length between [1-128].
    Target *string `locationName:"target" type:"string"`
    // contains filtered or unexported fields
}

func (CreateRouteOutput) GoString

func (s CreateRouteOutput) GoString() string

GoString returns the string representation

func (*CreateRouteOutput) SetApiGatewayManaged

func (s *CreateRouteOutput) SetApiGatewayManaged(v bool) *CreateRouteOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*CreateRouteOutput) SetApiKeyRequired

func (s *CreateRouteOutput) SetApiKeyRequired(v bool) *CreateRouteOutput

SetApiKeyRequired sets the ApiKeyRequired field's value.

func (*CreateRouteOutput) SetAuthorizationScopes

func (s *CreateRouteOutput) SetAuthorizationScopes(v []*string) *CreateRouteOutput

SetAuthorizationScopes sets the AuthorizationScopes field's value.

func (*CreateRouteOutput) SetAuthorizationType

func (s *CreateRouteOutput) SetAuthorizationType(v string) *CreateRouteOutput

SetAuthorizationType sets the AuthorizationType field's value.

func (*CreateRouteOutput) SetAuthorizerId

func (s *CreateRouteOutput) SetAuthorizerId(v string) *CreateRouteOutput

SetAuthorizerId sets the AuthorizerId field's value.

func (*CreateRouteOutput) SetModelSelectionExpression

func (s *CreateRouteOutput) SetModelSelectionExpression(v string) *CreateRouteOutput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*CreateRouteOutput) SetOperationName

func (s *CreateRouteOutput) SetOperationName(v string) *CreateRouteOutput

SetOperationName sets the OperationName field's value.

func (*CreateRouteOutput) SetRequestModels

func (s *CreateRouteOutput) SetRequestModels(v map[string]*string) *CreateRouteOutput

SetRequestModels sets the RequestModels field's value.

func (*CreateRouteOutput) SetRequestParameters

func (s *CreateRouteOutput) SetRequestParameters(v map[string]*ParameterConstraints) *CreateRouteOutput

SetRequestParameters sets the RequestParameters field's value.

func (*CreateRouteOutput) SetRouteId

func (s *CreateRouteOutput) SetRouteId(v string) *CreateRouteOutput

SetRouteId sets the RouteId field's value.

func (*CreateRouteOutput) SetRouteKey

func (s *CreateRouteOutput) SetRouteKey(v string) *CreateRouteOutput

SetRouteKey sets the RouteKey field's value.

func (*CreateRouteOutput) SetRouteResponseSelectionExpression

func (s *CreateRouteOutput) SetRouteResponseSelectionExpression(v string) *CreateRouteOutput

SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.

func (*CreateRouteOutput) SetTarget

func (s *CreateRouteOutput) SetTarget(v string) *CreateRouteOutput

SetTarget sets the Target field's value.

func (CreateRouteOutput) String

func (s CreateRouteOutput) String() string

String returns the string representation

type CreateRouteResponseInput

type CreateRouteResponseInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

    // The route models.
    ResponseModels map[string]*string `locationName:"responseModels" type:"map"`

    // The route parameters.
    ResponseParameters map[string]*ParameterConstraints `locationName:"responseParameters" type:"map"`

    // RouteId is a required field
    RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    //
    // RouteResponseKey is a required field
    RouteResponseKey *string `locationName:"routeResponseKey" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateRouteResponseInput) GoString

func (s CreateRouteResponseInput) GoString() string

GoString returns the string representation

func (*CreateRouteResponseInput) SetApiId

func (s *CreateRouteResponseInput) SetApiId(v string) *CreateRouteResponseInput

SetApiId sets the ApiId field's value.

func (*CreateRouteResponseInput) SetModelSelectionExpression

func (s *CreateRouteResponseInput) SetModelSelectionExpression(v string) *CreateRouteResponseInput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*CreateRouteResponseInput) SetResponseModels

func (s *CreateRouteResponseInput) SetResponseModels(v map[string]*string) *CreateRouteResponseInput

SetResponseModels sets the ResponseModels field's value.

func (*CreateRouteResponseInput) SetResponseParameters

func (s *CreateRouteResponseInput) SetResponseParameters(v map[string]*ParameterConstraints) *CreateRouteResponseInput

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateRouteResponseInput) SetRouteId

func (s *CreateRouteResponseInput) SetRouteId(v string) *CreateRouteResponseInput

SetRouteId sets the RouteId field's value.

func (*CreateRouteResponseInput) SetRouteResponseKey

func (s *CreateRouteResponseInput) SetRouteResponseKey(v string) *CreateRouteResponseInput

SetRouteResponseKey sets the RouteResponseKey field's value.

func (CreateRouteResponseInput) String

func (s CreateRouteResponseInput) String() string

String returns the string representation

func (*CreateRouteResponseInput) Validate

func (s *CreateRouteResponseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRouteResponseOutput

type CreateRouteResponseOutput struct {

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

    // The route models.
    ResponseModels map[string]*string `locationName:"responseModels" type:"map"`

    // The route parameters.
    ResponseParameters map[string]*ParameterConstraints `locationName:"responseParameters" type:"map"`

    // The identifier.
    RouteResponseId *string `locationName:"routeResponseId" type:"string"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    RouteResponseKey *string `locationName:"routeResponseKey" type:"string"`
    // contains filtered or unexported fields
}

func (CreateRouteResponseOutput) GoString

func (s CreateRouteResponseOutput) GoString() string

GoString returns the string representation

func (*CreateRouteResponseOutput) SetModelSelectionExpression

func (s *CreateRouteResponseOutput) SetModelSelectionExpression(v string) *CreateRouteResponseOutput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*CreateRouteResponseOutput) SetResponseModels

func (s *CreateRouteResponseOutput) SetResponseModels(v map[string]*string) *CreateRouteResponseOutput

SetResponseModels sets the ResponseModels field's value.

func (*CreateRouteResponseOutput) SetResponseParameters

func (s *CreateRouteResponseOutput) SetResponseParameters(v map[string]*ParameterConstraints) *CreateRouteResponseOutput

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateRouteResponseOutput) SetRouteResponseId

func (s *CreateRouteResponseOutput) SetRouteResponseId(v string) *CreateRouteResponseOutput

SetRouteResponseId sets the RouteResponseId field's value.

func (*CreateRouteResponseOutput) SetRouteResponseKey

func (s *CreateRouteResponseOutput) SetRouteResponseKey(v string) *CreateRouteResponseOutput

SetRouteResponseKey sets the RouteResponseKey field's value.

func (CreateRouteResponseOutput) String

func (s CreateRouteResponseOutput) String() string

String returns the string representation

type CreateStageInput

type CreateStageInput struct {

    // Settings for logging access in a stage.
    AccessLogSettings *AccessLogSettings `locationName:"accessLogSettings" type:"structure"`

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"`

    // The identifier.
    ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

    // Represents a collection of route settings.
    DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

    // The identifier.
    DeploymentId *string `locationName:"deploymentId" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    // The route settings map.
    RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"`

    // A string with a length between [1-128].
    //
    // StageName is a required field
    StageName *string `locationName:"stageName" type:"string" required:"true"`

    // The stage variable map.
    StageVariables map[string]*string `locationName:"stageVariables" type:"map"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (CreateStageInput) GoString

func (s CreateStageInput) GoString() string

GoString returns the string representation

func (*CreateStageInput) SetAccessLogSettings

func (s *CreateStageInput) SetAccessLogSettings(v *AccessLogSettings) *CreateStageInput

SetAccessLogSettings sets the AccessLogSettings field's value.

func (*CreateStageInput) SetApiId

func (s *CreateStageInput) SetApiId(v string) *CreateStageInput

SetApiId sets the ApiId field's value.

func (*CreateStageInput) SetAutoDeploy

func (s *CreateStageInput) SetAutoDeploy(v bool) *CreateStageInput

SetAutoDeploy sets the AutoDeploy field's value.

func (*CreateStageInput) SetClientCertificateId

func (s *CreateStageInput) SetClientCertificateId(v string) *CreateStageInput

SetClientCertificateId sets the ClientCertificateId field's value.

func (*CreateStageInput) SetDefaultRouteSettings

func (s *CreateStageInput) SetDefaultRouteSettings(v *RouteSettings) *CreateStageInput

SetDefaultRouteSettings sets the DefaultRouteSettings 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) SetRouteSettings

func (s *CreateStageInput) SetRouteSettings(v map[string]*RouteSettings) *CreateStageInput

SetRouteSettings sets the RouteSettings field's value.

func (*CreateStageInput) SetStageName

func (s *CreateStageInput) SetStageName(v string) *CreateStageInput

SetStageName sets the StageName field's value.

func (*CreateStageInput) SetStageVariables

func (s *CreateStageInput) SetStageVariables(v map[string]*string) *CreateStageInput

SetStageVariables sets the StageVariables field's value.

func (*CreateStageInput) SetTags

func (s *CreateStageInput) SetTags(v map[string]*string) *CreateStageInput

SetTags sets the Tags field's value.

func (CreateStageInput) String

func (s CreateStageInput) String() string

String returns the string representation

func (*CreateStageInput) Validate

func (s *CreateStageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateStageOutput

type CreateStageOutput struct {

    // Settings for logging access in a stage.
    AccessLogSettings *AccessLogSettings `locationName:"accessLogSettings" type:"structure"`

    ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

    AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"`

    // The identifier.
    ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // Represents a collection of route settings.
    DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

    // The identifier.
    DeploymentId *string `locationName:"deploymentId" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    LastDeploymentStatusMessage *string `locationName:"lastDeploymentStatusMessage" type:"string"`

    LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"`

    // The route settings map.
    RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"`

    // A string with a length between [1-128].
    StageName *string `locationName:"stageName" type:"string"`

    // The stage variable map.
    StageVariables map[string]*string `locationName:"stageVariables" type:"map"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (CreateStageOutput) GoString

func (s CreateStageOutput) GoString() string

GoString returns the string representation

func (*CreateStageOutput) SetAccessLogSettings

func (s *CreateStageOutput) SetAccessLogSettings(v *AccessLogSettings) *CreateStageOutput

SetAccessLogSettings sets the AccessLogSettings field's value.

func (*CreateStageOutput) SetApiGatewayManaged

func (s *CreateStageOutput) SetApiGatewayManaged(v bool) *CreateStageOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*CreateStageOutput) SetAutoDeploy

func (s *CreateStageOutput) SetAutoDeploy(v bool) *CreateStageOutput

SetAutoDeploy sets the AutoDeploy field's value.

func (*CreateStageOutput) SetClientCertificateId

func (s *CreateStageOutput) SetClientCertificateId(v string) *CreateStageOutput

SetClientCertificateId sets the ClientCertificateId field's value.

func (*CreateStageOutput) SetCreatedDate

func (s *CreateStageOutput) SetCreatedDate(v time.Time) *CreateStageOutput

SetCreatedDate sets the CreatedDate field's value.

func (*CreateStageOutput) SetDefaultRouteSettings

func (s *CreateStageOutput) SetDefaultRouteSettings(v *RouteSettings) *CreateStageOutput

SetDefaultRouteSettings sets the DefaultRouteSettings field's value.

func (*CreateStageOutput) SetDeploymentId

func (s *CreateStageOutput) SetDeploymentId(v string) *CreateStageOutput

SetDeploymentId sets the DeploymentId field's value.

func (*CreateStageOutput) SetDescription

func (s *CreateStageOutput) SetDescription(v string) *CreateStageOutput

SetDescription sets the Description field's value.

func (*CreateStageOutput) SetLastDeploymentStatusMessage

func (s *CreateStageOutput) SetLastDeploymentStatusMessage(v string) *CreateStageOutput

SetLastDeploymentStatusMessage sets the LastDeploymentStatusMessage field's value.

func (*CreateStageOutput) SetLastUpdatedDate

func (s *CreateStageOutput) SetLastUpdatedDate(v time.Time) *CreateStageOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*CreateStageOutput) SetRouteSettings

func (s *CreateStageOutput) SetRouteSettings(v map[string]*RouteSettings) *CreateStageOutput

SetRouteSettings sets the RouteSettings field's value.

func (*CreateStageOutput) SetStageName

func (s *CreateStageOutput) SetStageName(v string) *CreateStageOutput

SetStageName sets the StageName field's value.

func (*CreateStageOutput) SetStageVariables

func (s *CreateStageOutput) SetStageVariables(v map[string]*string) *CreateStageOutput

SetStageVariables sets the StageVariables field's value.

func (*CreateStageOutput) SetTags

func (s *CreateStageOutput) SetTags(v map[string]*string) *CreateStageOutput

SetTags sets the Tags field's value.

func (CreateStageOutput) String

func (s CreateStageOutput) String() string

String returns the string representation

type CreateVpcLinkInput

type CreateVpcLinkInput struct {

    // A string with a length between [1-128].
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`

    // A list of security group IDs for the VPC link.
    SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"`

    // A list of subnet IDs to include in the VPC link.
    //
    // SubnetIds is a required field
    SubnetIds []*string `locationName:"subnetIds" type:"list" required:"true"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (CreateVpcLinkInput) GoString

func (s CreateVpcLinkInput) GoString() string

GoString returns the string representation

func (*CreateVpcLinkInput) SetName

func (s *CreateVpcLinkInput) SetName(v string) *CreateVpcLinkInput

SetName sets the Name field's value.

func (*CreateVpcLinkInput) SetSecurityGroupIds

func (s *CreateVpcLinkInput) SetSecurityGroupIds(v []*string) *CreateVpcLinkInput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*CreateVpcLinkInput) SetSubnetIds

func (s *CreateVpcLinkInput) SetSubnetIds(v []*string) *CreateVpcLinkInput

SetSubnetIds sets the SubnetIds field's value.

func (*CreateVpcLinkInput) SetTags

func (s *CreateVpcLinkInput) SetTags(v map[string]*string) *CreateVpcLinkInput

SetTags sets the Tags field's value.

func (CreateVpcLinkInput) String

func (s CreateVpcLinkInput) String() string

String returns the string representation

func (*CreateVpcLinkInput) Validate

func (s *CreateVpcLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateVpcLinkOutput

type CreateVpcLinkOutput struct {
    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // A string with a length between [1-128].
    Name *string `locationName:"name" type:"string"`

    // A list of security group IDs for the VPC link.
    SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"`

    // A list of subnet IDs to include in the VPC link.
    SubnetIds []*string `locationName:"subnetIds" type:"list"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // The identifier.
    VpcLinkId *string `locationName:"vpcLinkId" type:"string"`

    // The status of the VPC link.
    VpcLinkStatus *string `locationName:"vpcLinkStatus" type:"string" enum:"VpcLinkStatus"`

    // A string with a length between [0-1024].
    VpcLinkStatusMessage *string `locationName:"vpcLinkStatusMessage" type:"string"`

    // The version of the VPC link.
    VpcLinkVersion *string `locationName:"vpcLinkVersion" type:"string" enum:"VpcLinkVersion"`
    // contains filtered or unexported fields
}

func (CreateVpcLinkOutput) GoString

func (s CreateVpcLinkOutput) GoString() string

GoString returns the string representation

func (*CreateVpcLinkOutput) SetCreatedDate

func (s *CreateVpcLinkOutput) SetCreatedDate(v time.Time) *CreateVpcLinkOutput

SetCreatedDate sets the CreatedDate field's value.

func (*CreateVpcLinkOutput) SetName

func (s *CreateVpcLinkOutput) SetName(v string) *CreateVpcLinkOutput

SetName sets the Name field's value.

func (*CreateVpcLinkOutput) SetSecurityGroupIds

func (s *CreateVpcLinkOutput) SetSecurityGroupIds(v []*string) *CreateVpcLinkOutput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*CreateVpcLinkOutput) SetSubnetIds

func (s *CreateVpcLinkOutput) SetSubnetIds(v []*string) *CreateVpcLinkOutput

SetSubnetIds sets the SubnetIds field's value.

func (*CreateVpcLinkOutput) SetTags

func (s *CreateVpcLinkOutput) SetTags(v map[string]*string) *CreateVpcLinkOutput

SetTags sets the Tags field's value.

func (*CreateVpcLinkOutput) SetVpcLinkId

func (s *CreateVpcLinkOutput) SetVpcLinkId(v string) *CreateVpcLinkOutput

SetVpcLinkId sets the VpcLinkId field's value.

func (*CreateVpcLinkOutput) SetVpcLinkStatus

func (s *CreateVpcLinkOutput) SetVpcLinkStatus(v string) *CreateVpcLinkOutput

SetVpcLinkStatus sets the VpcLinkStatus field's value.

func (*CreateVpcLinkOutput) SetVpcLinkStatusMessage

func (s *CreateVpcLinkOutput) SetVpcLinkStatusMessage(v string) *CreateVpcLinkOutput

SetVpcLinkStatusMessage sets the VpcLinkStatusMessage field's value.

func (*CreateVpcLinkOutput) SetVpcLinkVersion

func (s *CreateVpcLinkOutput) SetVpcLinkVersion(v string) *CreateVpcLinkOutput

SetVpcLinkVersion sets the VpcLinkVersion field's value.

func (CreateVpcLinkOutput) String

func (s CreateVpcLinkOutput) String() string

String returns the string representation

type DeleteAccessLogSettingsInput

type DeleteAccessLogSettingsInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // StageName is a required field
    StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteAccessLogSettingsInput) GoString

func (s DeleteAccessLogSettingsInput) GoString() string

GoString returns the string representation

func (*DeleteAccessLogSettingsInput) SetApiId

func (s *DeleteAccessLogSettingsInput) SetApiId(v string) *DeleteAccessLogSettingsInput

SetApiId sets the ApiId field's value.

func (*DeleteAccessLogSettingsInput) SetStageName

func (s *DeleteAccessLogSettingsInput) SetStageName(v string) *DeleteAccessLogSettingsInput

SetStageName sets the StageName field's value.

func (DeleteAccessLogSettingsInput) String

func (s DeleteAccessLogSettingsInput) String() string

String returns the string representation

func (*DeleteAccessLogSettingsInput) Validate

func (s *DeleteAccessLogSettingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAccessLogSettingsOutput

type DeleteAccessLogSettingsOutput struct {
    // contains filtered or unexported fields
}

func (DeleteAccessLogSettingsOutput) GoString

func (s DeleteAccessLogSettingsOutput) GoString() string

GoString returns the string representation

func (DeleteAccessLogSettingsOutput) String

func (s DeleteAccessLogSettingsOutput) String() string

String returns the string representation

type DeleteApiInput

type DeleteApiInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteApiInput) GoString

func (s DeleteApiInput) GoString() string

GoString returns the string representation

func (*DeleteApiInput) SetApiId

func (s *DeleteApiInput) SetApiId(v string) *DeleteApiInput

SetApiId sets the ApiId field's value.

func (DeleteApiInput) String

func (s DeleteApiInput) String() string

String returns the string representation

func (*DeleteApiInput) Validate

func (s *DeleteApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteApiMappingInput

type DeleteApiMappingInput struct {

    // ApiMappingId is a required field
    ApiMappingId *string `location:"uri" locationName:"apiMappingId" type:"string" required:"true"`

    // DomainName is a required field
    DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteApiMappingInput) GoString

func (s DeleteApiMappingInput) GoString() string

GoString returns the string representation

func (*DeleteApiMappingInput) SetApiMappingId

func (s *DeleteApiMappingInput) SetApiMappingId(v string) *DeleteApiMappingInput

SetApiMappingId sets the ApiMappingId field's value.

func (*DeleteApiMappingInput) SetDomainName

func (s *DeleteApiMappingInput) SetDomainName(v string) *DeleteApiMappingInput

SetDomainName sets the DomainName field's value.

func (DeleteApiMappingInput) String

func (s DeleteApiMappingInput) String() string

String returns the string representation

func (*DeleteApiMappingInput) Validate

func (s *DeleteApiMappingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteApiMappingOutput

type DeleteApiMappingOutput struct {
    // contains filtered or unexported fields
}

func (DeleteApiMappingOutput) GoString

func (s DeleteApiMappingOutput) GoString() string

GoString returns the string representation

func (DeleteApiMappingOutput) String

func (s DeleteApiMappingOutput) String() string

String returns the string representation

type DeleteApiOutput

type DeleteApiOutput struct {
    // contains filtered or unexported fields
}

func (DeleteApiOutput) GoString

func (s DeleteApiOutput) GoString() string

GoString returns the string representation

func (DeleteApiOutput) String

func (s DeleteApiOutput) String() string

String returns the string representation

type DeleteAuthorizerInput

type DeleteAuthorizerInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // AuthorizerId is a required field
    AuthorizerId *string `location:"uri" locationName:"authorizerId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteAuthorizerInput) GoString

func (s DeleteAuthorizerInput) GoString() string

GoString returns the string representation

func (*DeleteAuthorizerInput) SetApiId

func (s *DeleteAuthorizerInput) SetApiId(v string) *DeleteAuthorizerInput

SetApiId sets the ApiId field's value.

func (*DeleteAuthorizerInput) SetAuthorizerId

func (s *DeleteAuthorizerInput) SetAuthorizerId(v string) *DeleteAuthorizerInput

SetAuthorizerId sets the AuthorizerId field's value.

func (DeleteAuthorizerInput) String

func (s DeleteAuthorizerInput) String() string

String returns the string representation

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

func (DeleteAuthorizerOutput) String

func (s DeleteAuthorizerOutput) String() string

String returns the string representation

type DeleteCorsConfigurationInput

type DeleteCorsConfigurationInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteCorsConfigurationInput) GoString

func (s DeleteCorsConfigurationInput) GoString() string

GoString returns the string representation

func (*DeleteCorsConfigurationInput) SetApiId

func (s *DeleteCorsConfigurationInput) SetApiId(v string) *DeleteCorsConfigurationInput

SetApiId sets the ApiId field's value.

func (DeleteCorsConfigurationInput) String

func (s DeleteCorsConfigurationInput) String() string

String returns the string representation

func (*DeleteCorsConfigurationInput) Validate

func (s *DeleteCorsConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCorsConfigurationOutput

type DeleteCorsConfigurationOutput struct {
    // contains filtered or unexported fields
}

func (DeleteCorsConfigurationOutput) GoString

func (s DeleteCorsConfigurationOutput) GoString() string

GoString returns the string representation

func (DeleteCorsConfigurationOutput) String

func (s DeleteCorsConfigurationOutput) String() string

String returns the string representation

type DeleteDeploymentInput

type DeleteDeploymentInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // DeploymentId is a required field
    DeploymentId *string `location:"uri" locationName:"deploymentId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteDeploymentInput) GoString

func (s DeleteDeploymentInput) GoString() string

GoString returns the string representation

func (*DeleteDeploymentInput) SetApiId

func (s *DeleteDeploymentInput) SetApiId(v string) *DeleteDeploymentInput

SetApiId sets the ApiId field's value.

func (*DeleteDeploymentInput) SetDeploymentId

func (s *DeleteDeploymentInput) SetDeploymentId(v string) *DeleteDeploymentInput

SetDeploymentId sets the DeploymentId field's value.

func (DeleteDeploymentInput) String

func (s DeleteDeploymentInput) String() string

String returns the string representation

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

func (DeleteDeploymentOutput) String

func (s DeleteDeploymentOutput) String() string

String returns the string representation

type DeleteDomainNameInput

type DeleteDomainNameInput struct {

    // DomainName is a required field
    DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteDomainNameInput) GoString

func (s DeleteDomainNameInput) GoString() string

GoString returns the string representation

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

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

func (DeleteDomainNameOutput) String

func (s DeleteDomainNameOutput) String() string

String returns the string representation

type DeleteIntegrationInput

type DeleteIntegrationInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // IntegrationId is a required field
    IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteIntegrationInput) GoString

func (s DeleteIntegrationInput) GoString() string

GoString returns the string representation

func (*DeleteIntegrationInput) SetApiId

func (s *DeleteIntegrationInput) SetApiId(v string) *DeleteIntegrationInput

SetApiId sets the ApiId field's value.

func (*DeleteIntegrationInput) SetIntegrationId

func (s *DeleteIntegrationInput) SetIntegrationId(v string) *DeleteIntegrationInput

SetIntegrationId sets the IntegrationId field's value.

func (DeleteIntegrationInput) String

func (s DeleteIntegrationInput) String() string

String returns the string representation

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

func (DeleteIntegrationOutput) String

func (s DeleteIntegrationOutput) String() string

String returns the string representation

type DeleteIntegrationResponseInput

type DeleteIntegrationResponseInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // IntegrationId is a required field
    IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`

    // IntegrationResponseId is a required field
    IntegrationResponseId *string `location:"uri" locationName:"integrationResponseId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteIntegrationResponseInput) GoString

func (s DeleteIntegrationResponseInput) GoString() string

GoString returns the string representation

func (*DeleteIntegrationResponseInput) SetApiId

func (s *DeleteIntegrationResponseInput) SetApiId(v string) *DeleteIntegrationResponseInput

SetApiId sets the ApiId field's value.

func (*DeleteIntegrationResponseInput) SetIntegrationId

func (s *DeleteIntegrationResponseInput) SetIntegrationId(v string) *DeleteIntegrationResponseInput

SetIntegrationId sets the IntegrationId field's value.

func (*DeleteIntegrationResponseInput) SetIntegrationResponseId

func (s *DeleteIntegrationResponseInput) SetIntegrationResponseId(v string) *DeleteIntegrationResponseInput

SetIntegrationResponseId sets the IntegrationResponseId field's value.

func (DeleteIntegrationResponseInput) String

func (s DeleteIntegrationResponseInput) String() string

String returns the string representation

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

func (DeleteIntegrationResponseOutput) String

func (s DeleteIntegrationResponseOutput) String() string

String returns the string representation

type DeleteModelInput

type DeleteModelInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // ModelId is a required field
    ModelId *string `location:"uri" locationName:"modelId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteModelInput) GoString

func (s DeleteModelInput) GoString() string

GoString returns the string representation

func (*DeleteModelInput) SetApiId

func (s *DeleteModelInput) SetApiId(v string) *DeleteModelInput

SetApiId sets the ApiId field's value.

func (*DeleteModelInput) SetModelId

func (s *DeleteModelInput) SetModelId(v string) *DeleteModelInput

SetModelId sets the ModelId field's value.

func (DeleteModelInput) String

func (s DeleteModelInput) String() string

String returns the string representation

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

func (DeleteModelOutput) String

func (s DeleteModelOutput) String() string

String returns the string representation

type DeleteRouteInput

type DeleteRouteInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // RouteId is a required field
    RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteRouteInput) GoString

func (s DeleteRouteInput) GoString() string

GoString returns the string representation

func (*DeleteRouteInput) SetApiId

func (s *DeleteRouteInput) SetApiId(v string) *DeleteRouteInput

SetApiId sets the ApiId field's value.

func (*DeleteRouteInput) SetRouteId

func (s *DeleteRouteInput) SetRouteId(v string) *DeleteRouteInput

SetRouteId sets the RouteId field's value.

func (DeleteRouteInput) String

func (s DeleteRouteInput) String() string

String returns the string representation

func (*DeleteRouteInput) Validate

func (s *DeleteRouteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRouteOutput

type DeleteRouteOutput struct {
    // contains filtered or unexported fields
}

func (DeleteRouteOutput) GoString

func (s DeleteRouteOutput) GoString() string

GoString returns the string representation

func (DeleteRouteOutput) String

func (s DeleteRouteOutput) String() string

String returns the string representation

type DeleteRouteRequestParameterInput

type DeleteRouteRequestParameterInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // RequestParameterKey is a required field
    RequestParameterKey *string `location:"uri" locationName:"requestParameterKey" type:"string" required:"true"`

    // RouteId is a required field
    RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteRouteRequestParameterInput) GoString

func (s DeleteRouteRequestParameterInput) GoString() string

GoString returns the string representation

func (*DeleteRouteRequestParameterInput) SetApiId

func (s *DeleteRouteRequestParameterInput) SetApiId(v string) *DeleteRouteRequestParameterInput

SetApiId sets the ApiId field's value.

func (*DeleteRouteRequestParameterInput) SetRequestParameterKey

func (s *DeleteRouteRequestParameterInput) SetRequestParameterKey(v string) *DeleteRouteRequestParameterInput

SetRequestParameterKey sets the RequestParameterKey field's value.

func (*DeleteRouteRequestParameterInput) SetRouteId

func (s *DeleteRouteRequestParameterInput) SetRouteId(v string) *DeleteRouteRequestParameterInput

SetRouteId sets the RouteId field's value.

func (DeleteRouteRequestParameterInput) String

func (s DeleteRouteRequestParameterInput) String() string

String returns the string representation

func (*DeleteRouteRequestParameterInput) Validate

func (s *DeleteRouteRequestParameterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRouteRequestParameterOutput

type DeleteRouteRequestParameterOutput struct {
    // contains filtered or unexported fields
}

func (DeleteRouteRequestParameterOutput) GoString

func (s DeleteRouteRequestParameterOutput) GoString() string

GoString returns the string representation

func (DeleteRouteRequestParameterOutput) String

func (s DeleteRouteRequestParameterOutput) String() string

String returns the string representation

type DeleteRouteResponseInput

type DeleteRouteResponseInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // RouteId is a required field
    RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`

    // RouteResponseId is a required field
    RouteResponseId *string `location:"uri" locationName:"routeResponseId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteRouteResponseInput) GoString

func (s DeleteRouteResponseInput) GoString() string

GoString returns the string representation

func (*DeleteRouteResponseInput) SetApiId

func (s *DeleteRouteResponseInput) SetApiId(v string) *DeleteRouteResponseInput

SetApiId sets the ApiId field's value.

func (*DeleteRouteResponseInput) SetRouteId

func (s *DeleteRouteResponseInput) SetRouteId(v string) *DeleteRouteResponseInput

SetRouteId sets the RouteId field's value.

func (*DeleteRouteResponseInput) SetRouteResponseId

func (s *DeleteRouteResponseInput) SetRouteResponseId(v string) *DeleteRouteResponseInput

SetRouteResponseId sets the RouteResponseId field's value.

func (DeleteRouteResponseInput) String

func (s DeleteRouteResponseInput) String() string

String returns the string representation

func (*DeleteRouteResponseInput) Validate

func (s *DeleteRouteResponseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRouteResponseOutput

type DeleteRouteResponseOutput struct {
    // contains filtered or unexported fields
}

func (DeleteRouteResponseOutput) GoString

func (s DeleteRouteResponseOutput) GoString() string

GoString returns the string representation

func (DeleteRouteResponseOutput) String

func (s DeleteRouteResponseOutput) String() string

String returns the string representation

type DeleteRouteSettingsInput

type DeleteRouteSettingsInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // RouteKey is a required field
    RouteKey *string `location:"uri" locationName:"routeKey" type:"string" required:"true"`

    // StageName is a required field
    StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteRouteSettingsInput) GoString

func (s DeleteRouteSettingsInput) GoString() string

GoString returns the string representation

func (*DeleteRouteSettingsInput) SetApiId

func (s *DeleteRouteSettingsInput) SetApiId(v string) *DeleteRouteSettingsInput

SetApiId sets the ApiId field's value.

func (*DeleteRouteSettingsInput) SetRouteKey

func (s *DeleteRouteSettingsInput) SetRouteKey(v string) *DeleteRouteSettingsInput

SetRouteKey sets the RouteKey field's value.

func (*DeleteRouteSettingsInput) SetStageName

func (s *DeleteRouteSettingsInput) SetStageName(v string) *DeleteRouteSettingsInput

SetStageName sets the StageName field's value.

func (DeleteRouteSettingsInput) String

func (s DeleteRouteSettingsInput) String() string

String returns the string representation

func (*DeleteRouteSettingsInput) Validate

func (s *DeleteRouteSettingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRouteSettingsOutput

type DeleteRouteSettingsOutput struct {
    // contains filtered or unexported fields
}

func (DeleteRouteSettingsOutput) GoString

func (s DeleteRouteSettingsOutput) GoString() string

GoString returns the string representation

func (DeleteRouteSettingsOutput) String

func (s DeleteRouteSettingsOutput) String() string

String returns the string representation

type DeleteStageInput

type DeleteStageInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // StageName is a required field
    StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteStageInput) GoString

func (s DeleteStageInput) GoString() string

GoString returns the string representation

func (*DeleteStageInput) SetApiId

func (s *DeleteStageInput) SetApiId(v string) *DeleteStageInput

SetApiId sets the ApiId 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

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

func (DeleteStageOutput) String

func (s DeleteStageOutput) String() string

String returns the string representation

type DeleteVpcLinkInput

type DeleteVpcLinkInput struct {

    // VpcLinkId is a required field
    VpcLinkId *string `location:"uri" locationName:"vpcLinkId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteVpcLinkInput) GoString

func (s DeleteVpcLinkInput) GoString() string

GoString returns the string representation

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

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

func (DeleteVpcLinkOutput) String

func (s DeleteVpcLinkOutput) String() string

String returns the string representation

type Deployment

type Deployment struct {

    // Specifies whether a deployment was automatically released.
    AutoDeployed *bool `locationName:"autoDeployed" type:"boolean"`

    // The date and time when the Deployment resource was created.
    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // The identifier for the deployment.
    DeploymentId *string `locationName:"deploymentId" type:"string"`

    // The status of the deployment: PENDING, FAILED, or SUCCEEDED.
    DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"`

    // May contain additional feedback on the status of an API deployment.
    DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"`

    // The description for the deployment.
    Description *string `locationName:"description" type:"string"`
    // contains filtered or unexported fields
}

An immutable representation of an API that can be called by users. 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

func (*Deployment) SetAutoDeployed

func (s *Deployment) SetAutoDeployed(v bool) *Deployment

SetAutoDeployed sets the AutoDeployed field's value.

func (*Deployment) SetCreatedDate

func (s *Deployment) SetCreatedDate(v time.Time) *Deployment

SetCreatedDate sets the CreatedDate field's value.

func (*Deployment) SetDeploymentId

func (s *Deployment) SetDeploymentId(v string) *Deployment

SetDeploymentId sets the DeploymentId field's value.

func (*Deployment) SetDeploymentStatus

func (s *Deployment) SetDeploymentStatus(v string) *Deployment

SetDeploymentStatus sets the DeploymentStatus field's value.

func (*Deployment) SetDeploymentStatusMessage

func (s *Deployment) SetDeploymentStatusMessage(v string) *Deployment

SetDeploymentStatusMessage sets the DeploymentStatusMessage field's value.

func (*Deployment) SetDescription

func (s *Deployment) SetDescription(v string) *Deployment

SetDescription sets the Description field's value.

func (Deployment) String

func (s Deployment) String() string

String returns the string representation

type DomainName

type DomainName struct {

    // The API mapping selection expression.
    ApiMappingSelectionExpression *string `locationName:"apiMappingSelectionExpression" type:"string"`

    // The name of the DomainName resource.
    //
    // DomainName is a required field
    DomainName *string `locationName:"domainName" type:"string" required:"true"`

    // The domain name configurations.
    DomainNameConfigurations []*DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"`

    // The collection of tags associated with a domain name.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

Represents a domain name.

func (DomainName) GoString

func (s DomainName) GoString() string

GoString returns the string representation

func (*DomainName) SetApiMappingSelectionExpression

func (s *DomainName) SetApiMappingSelectionExpression(v string) *DomainName

SetApiMappingSelectionExpression sets the ApiMappingSelectionExpression field's value.

func (*DomainName) SetDomainName

func (s *DomainName) SetDomainName(v string) *DomainName

SetDomainName sets the DomainName field's value.

func (*DomainName) SetDomainNameConfigurations

func (s *DomainName) SetDomainNameConfigurations(v []*DomainNameConfiguration) *DomainName

SetDomainNameConfigurations sets the DomainNameConfigurations 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

type DomainNameConfiguration

type DomainNameConfiguration struct {

    // A domain name for the API.
    ApiGatewayDomainName *string `locationName:"apiGatewayDomainName" type:"string"`

    // An AWS-managed certificate that will be used by the edge-optimized endpoint
    // for this domain name. AWS Certificate Manager is the only supported source.
    CertificateArn *string `locationName:"certificateArn" type:"string"`

    // The user-friendly name of the certificate that will be used by the 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" timestampFormat:"iso8601"`

    // The status of the domain name 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 domain name migration.
    DomainNameStatusMessage *string `locationName:"domainNameStatusMessage" type:"string"`

    // The endpoint type.
    EndpointType *string `locationName:"endpointType" type:"string" enum:"EndpointType"`

    // The Amazon Route 53 Hosted Zone ID of the endpoint.
    HostedZoneId *string `locationName:"hostedZoneId" type:"string"`

    // The Transport Layer Security (TLS) version of the security policy for this
    // domain name. The valid values are TLS_1_0 and TLS_1_2.
    SecurityPolicy *string `locationName:"securityPolicy" type:"string" enum:"SecurityPolicy"`
    // contains filtered or unexported fields
}

The domain name configuration.

func (DomainNameConfiguration) GoString

func (s DomainNameConfiguration) GoString() string

GoString returns the string representation

func (*DomainNameConfiguration) SetApiGatewayDomainName

func (s *DomainNameConfiguration) SetApiGatewayDomainName(v string) *DomainNameConfiguration

SetApiGatewayDomainName sets the ApiGatewayDomainName field's value.

func (*DomainNameConfiguration) SetCertificateArn

func (s *DomainNameConfiguration) SetCertificateArn(v string) *DomainNameConfiguration

SetCertificateArn sets the CertificateArn field's value.

func (*DomainNameConfiguration) SetCertificateName

func (s *DomainNameConfiguration) SetCertificateName(v string) *DomainNameConfiguration

SetCertificateName sets the CertificateName field's value.

func (*DomainNameConfiguration) SetCertificateUploadDate

func (s *DomainNameConfiguration) SetCertificateUploadDate(v time.Time) *DomainNameConfiguration

SetCertificateUploadDate sets the CertificateUploadDate field's value.

func (*DomainNameConfiguration) SetDomainNameStatus

func (s *DomainNameConfiguration) SetDomainNameStatus(v string) *DomainNameConfiguration

SetDomainNameStatus sets the DomainNameStatus field's value.

func (*DomainNameConfiguration) SetDomainNameStatusMessage

func (s *DomainNameConfiguration) SetDomainNameStatusMessage(v string) *DomainNameConfiguration

SetDomainNameStatusMessage sets the DomainNameStatusMessage field's value.

func (*DomainNameConfiguration) SetEndpointType

func (s *DomainNameConfiguration) SetEndpointType(v string) *DomainNameConfiguration

SetEndpointType sets the EndpointType field's value.

func (*DomainNameConfiguration) SetHostedZoneId

func (s *DomainNameConfiguration) SetHostedZoneId(v string) *DomainNameConfiguration

SetHostedZoneId sets the HostedZoneId field's value.

func (*DomainNameConfiguration) SetSecurityPolicy

func (s *DomainNameConfiguration) SetSecurityPolicy(v string) *DomainNameConfiguration

SetSecurityPolicy sets the SecurityPolicy field's value.

func (DomainNameConfiguration) String

func (s DomainNameConfiguration) String() string

String returns the string representation

type ExportApiInput

type ExportApiInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    ExportVersion *string `location:"querystring" locationName:"exportVersion" type:"string"`

    IncludeExtensions *bool `location:"querystring" locationName:"includeExtensions" type:"boolean"`

    // OutputType is a required field
    OutputType *string `location:"querystring" locationName:"outputType" type:"string" required:"true"`

    // Specification is a required field
    Specification *string `location:"uri" locationName:"specification" type:"string" required:"true"`

    StageName *string `location:"querystring" locationName:"stageName" type:"string"`
    // contains filtered or unexported fields
}

func (ExportApiInput) GoString

func (s ExportApiInput) GoString() string

GoString returns the string representation

func (*ExportApiInput) SetApiId

func (s *ExportApiInput) SetApiId(v string) *ExportApiInput

SetApiId sets the ApiId field's value.

func (*ExportApiInput) SetExportVersion

func (s *ExportApiInput) SetExportVersion(v string) *ExportApiInput

SetExportVersion sets the ExportVersion field's value.

func (*ExportApiInput) SetIncludeExtensions

func (s *ExportApiInput) SetIncludeExtensions(v bool) *ExportApiInput

SetIncludeExtensions sets the IncludeExtensions field's value.

func (*ExportApiInput) SetOutputType

func (s *ExportApiInput) SetOutputType(v string) *ExportApiInput

SetOutputType sets the OutputType field's value.

func (*ExportApiInput) SetSpecification

func (s *ExportApiInput) SetSpecification(v string) *ExportApiInput

SetSpecification sets the Specification field's value.

func (*ExportApiInput) SetStageName

func (s *ExportApiInput) SetStageName(v string) *ExportApiInput

SetStageName sets the StageName field's value.

func (ExportApiInput) String

func (s ExportApiInput) String() string

String returns the string representation

func (*ExportApiInput) Validate

func (s *ExportApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ExportApiOutput

type ExportApiOutput struct {

    // Represents an exported definition of an API in a particular output format,
    // for example, YAML. The API is serialized to the requested specification,
    // for example, OpenAPI 3.0.
    Body []byte `locationName:"body" type:"blob"`
    // contains filtered or unexported fields
}

func (ExportApiOutput) GoString

func (s ExportApiOutput) GoString() string

GoString returns the string representation

func (*ExportApiOutput) SetBody

func (s *ExportApiOutput) SetBody(v []byte) *ExportApiOutput

SetBody sets the Body field's value.

func (ExportApiOutput) String

func (s ExportApiOutput) String() string

String returns the string representation

type GetApiInput

type GetApiInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetApiInput) GoString

func (s GetApiInput) GoString() string

GoString returns the string representation

func (*GetApiInput) SetApiId

func (s *GetApiInput) SetApiId(v string) *GetApiInput

SetApiId sets the ApiId field's value.

func (GetApiInput) String

func (s GetApiInput) String() string

String returns the string representation

func (*GetApiInput) Validate

func (s *GetApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApiMappingInput

type GetApiMappingInput struct {

    // ApiMappingId is a required field
    ApiMappingId *string `location:"uri" locationName:"apiMappingId" type:"string" required:"true"`

    // DomainName is a required field
    DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetApiMappingInput) GoString

func (s GetApiMappingInput) GoString() string

GoString returns the string representation

func (*GetApiMappingInput) SetApiMappingId

func (s *GetApiMappingInput) SetApiMappingId(v string) *GetApiMappingInput

SetApiMappingId sets the ApiMappingId field's value.

func (*GetApiMappingInput) SetDomainName

func (s *GetApiMappingInput) SetDomainName(v string) *GetApiMappingInput

SetDomainName sets the DomainName field's value.

func (GetApiMappingInput) String

func (s GetApiMappingInput) String() string

String returns the string representation

func (*GetApiMappingInput) Validate

func (s *GetApiMappingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApiMappingOutput

type GetApiMappingOutput struct {

    // The identifier.
    ApiId *string `locationName:"apiId" type:"string"`

    // The identifier.
    ApiMappingId *string `locationName:"apiMappingId" type:"string"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

    // A string with a length between [1-128].
    Stage *string `locationName:"stage" type:"string"`
    // contains filtered or unexported fields
}

func (GetApiMappingOutput) GoString

func (s GetApiMappingOutput) GoString() string

GoString returns the string representation

func (*GetApiMappingOutput) SetApiId

func (s *GetApiMappingOutput) SetApiId(v string) *GetApiMappingOutput

SetApiId sets the ApiId field's value.

func (*GetApiMappingOutput) SetApiMappingId

func (s *GetApiMappingOutput) SetApiMappingId(v string) *GetApiMappingOutput

SetApiMappingId sets the ApiMappingId field's value.

func (*GetApiMappingOutput) SetApiMappingKey

func (s *GetApiMappingOutput) SetApiMappingKey(v string) *GetApiMappingOutput

SetApiMappingKey sets the ApiMappingKey field's value.

func (*GetApiMappingOutput) SetStage

func (s *GetApiMappingOutput) SetStage(v string) *GetApiMappingOutput

SetStage sets the Stage field's value.

func (GetApiMappingOutput) String

func (s GetApiMappingOutput) String() string

String returns the string representation

type GetApiMappingsInput

type GetApiMappingsInput struct {

    // DomainName is a required field
    DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`

    MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetApiMappingsInput) GoString

func (s GetApiMappingsInput) GoString() string

GoString returns the string representation

func (*GetApiMappingsInput) SetDomainName

func (s *GetApiMappingsInput) SetDomainName(v string) *GetApiMappingsInput

SetDomainName sets the DomainName field's value.

func (*GetApiMappingsInput) SetMaxResults

func (s *GetApiMappingsInput) SetMaxResults(v string) *GetApiMappingsInput

SetMaxResults sets the MaxResults field's value.

func (*GetApiMappingsInput) SetNextToken

func (s *GetApiMappingsInput) SetNextToken(v string) *GetApiMappingsInput

SetNextToken sets the NextToken field's value.

func (GetApiMappingsInput) String

func (s GetApiMappingsInput) String() string

String returns the string representation

func (*GetApiMappingsInput) Validate

func (s *GetApiMappingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApiMappingsOutput

type GetApiMappingsOutput struct {
    Items []*ApiMapping `locationName:"items" type:"list"`

    // The next page of elements from this collection. Not valid for the last element
    // of the collection.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetApiMappingsOutput) GoString

func (s GetApiMappingsOutput) GoString() string

GoString returns the string representation

func (*GetApiMappingsOutput) SetItems

func (s *GetApiMappingsOutput) SetItems(v []*ApiMapping) *GetApiMappingsOutput

SetItems sets the Items field's value.

func (*GetApiMappingsOutput) SetNextToken

func (s *GetApiMappingsOutput) SetNextToken(v string) *GetApiMappingsOutput

SetNextToken sets the NextToken field's value.

func (GetApiMappingsOutput) String

func (s GetApiMappingsOutput) String() string

String returns the string representation

type GetApiOutput

type GetApiOutput struct {
    ApiEndpoint *string `locationName:"apiEndpoint" type:"string"`

    // The identifier.
    ApiId *string `locationName:"apiId" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

    // Represents a CORS configuration. Supported only for HTTP APIs. See Configuring
    // CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html)
    // for more information.
    CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

    ImportInfo []*string `locationName:"importInfo" type:"list"`

    // A string with a length between [1-128].
    Name *string `locationName:"name" type:"string"`

    // Represents a protocol type.
    ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // A string with a length between [1-64].
    Version *string `locationName:"version" type:"string"`

    Warnings []*string `locationName:"warnings" type:"list"`
    // contains filtered or unexported fields
}

func (GetApiOutput) GoString

func (s GetApiOutput) GoString() string

GoString returns the string representation

func (*GetApiOutput) SetApiEndpoint

func (s *GetApiOutput) SetApiEndpoint(v string) *GetApiOutput

SetApiEndpoint sets the ApiEndpoint field's value.

func (*GetApiOutput) SetApiId

func (s *GetApiOutput) SetApiId(v string) *GetApiOutput

SetApiId sets the ApiId field's value.

func (*GetApiOutput) SetApiKeySelectionExpression

func (s *GetApiOutput) SetApiKeySelectionExpression(v string) *GetApiOutput

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*GetApiOutput) SetCorsConfiguration

func (s *GetApiOutput) SetCorsConfiguration(v *Cors) *GetApiOutput

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*GetApiOutput) SetCreatedDate

func (s *GetApiOutput) SetCreatedDate(v time.Time) *GetApiOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetApiOutput) SetDescription

func (s *GetApiOutput) SetDescription(v string) *GetApiOutput

SetDescription sets the Description field's value.

func (*GetApiOutput) SetDisableSchemaValidation

func (s *GetApiOutput) SetDisableSchemaValidation(v bool) *GetApiOutput

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*GetApiOutput) SetImportInfo

func (s *GetApiOutput) SetImportInfo(v []*string) *GetApiOutput

SetImportInfo sets the ImportInfo field's value.

func (*GetApiOutput) SetName

func (s *GetApiOutput) SetName(v string) *GetApiOutput

SetName sets the Name field's value.

func (*GetApiOutput) SetProtocolType

func (s *GetApiOutput) SetProtocolType(v string) *GetApiOutput

SetProtocolType sets the ProtocolType field's value.

func (*GetApiOutput) SetRouteSelectionExpression

func (s *GetApiOutput) SetRouteSelectionExpression(v string) *GetApiOutput

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*GetApiOutput) SetTags

func (s *GetApiOutput) SetTags(v map[string]*string) *GetApiOutput

SetTags sets the Tags field's value.

func (*GetApiOutput) SetVersion

func (s *GetApiOutput) SetVersion(v string) *GetApiOutput

SetVersion sets the Version field's value.

func (*GetApiOutput) SetWarnings

func (s *GetApiOutput) SetWarnings(v []*string) *GetApiOutput

SetWarnings sets the Warnings field's value.

func (GetApiOutput) String

func (s GetApiOutput) String() string

String returns the string representation

type GetApisInput

type GetApisInput struct {
    MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetApisInput) GoString

func (s GetApisInput) GoString() string

GoString returns the string representation

func (*GetApisInput) SetMaxResults

func (s *GetApisInput) SetMaxResults(v string) *GetApisInput

SetMaxResults sets the MaxResults field's value.

func (*GetApisInput) SetNextToken

func (s *GetApisInput) SetNextToken(v string) *GetApisInput

SetNextToken sets the NextToken field's value.

func (GetApisInput) String

func (s GetApisInput) String() string

String returns the string representation

type GetApisOutput

type GetApisOutput struct {
    Items []*Api `locationName:"items" type:"list"`

    // The next page of elements from this collection. Not valid for the last element
    // of the collection.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetApisOutput) GoString

func (s GetApisOutput) GoString() string

GoString returns the string representation

func (*GetApisOutput) SetItems

func (s *GetApisOutput) SetItems(v []*Api) *GetApisOutput

SetItems sets the Items field's value.

func (*GetApisOutput) SetNextToken

func (s *GetApisOutput) SetNextToken(v string) *GetApisOutput

SetNextToken sets the NextToken field's value.

func (GetApisOutput) String

func (s GetApisOutput) String() string

String returns the string representation

type GetAuthorizerInput

type GetAuthorizerInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // AuthorizerId is a required field
    AuthorizerId *string `location:"uri" locationName:"authorizerId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetAuthorizerInput) GoString

func (s GetAuthorizerInput) GoString() string

GoString returns the string representation

func (*GetAuthorizerInput) SetApiId

func (s *GetAuthorizerInput) SetApiId(v string) *GetAuthorizerInput

SetApiId sets the ApiId field's value.

func (*GetAuthorizerInput) SetAuthorizerId

func (s *GetAuthorizerInput) SetAuthorizerId(v string) *GetAuthorizerInput

SetAuthorizerId sets the AuthorizerId field's value.

func (GetAuthorizerInput) String

func (s GetAuthorizerInput) String() string

String returns the string representation

func (*GetAuthorizerInput) Validate

func (s *GetAuthorizerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAuthorizerOutput

type GetAuthorizerOutput struct {

    // Represents an Amazon Resource Name (ARN).
    AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"`

    // The identifier.
    AuthorizerId *string `locationName:"authorizerId" type:"string"`

    // An integer with a value between [0-3600].
    AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

    // The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda function
    // using incoming request parameters. For HTTP APIs, specify JWT to use JSON
    // Web Tokens.
    AuthorizerType *string `locationName:"authorizerType" type:"string" enum:"AuthorizerType"`

    // A string representation of a URI with a length between [1-2048].
    AuthorizerUri *string `locationName:"authorizerUri" type:"string"`

    // The identity source for which authorization is requested. 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:"list"`

    // A string with a length between [0-1024].
    IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

    // Represents the configuration of a JWT authorizer. Required for the JWT authorizer
    // type. Supported only for HTTP APIs.
    JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"`

    // A string with a length between [1-128].
    Name *string `locationName:"name" type:"string"`
    // contains filtered or unexported fields
}

func (GetAuthorizerOutput) GoString

func (s GetAuthorizerOutput) GoString() string

GoString returns the string representation

func (*GetAuthorizerOutput) SetAuthorizerCredentialsArn

func (s *GetAuthorizerOutput) SetAuthorizerCredentialsArn(v string) *GetAuthorizerOutput

SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.

func (*GetAuthorizerOutput) SetAuthorizerId

func (s *GetAuthorizerOutput) SetAuthorizerId(v string) *GetAuthorizerOutput

SetAuthorizerId sets the AuthorizerId field's value.

func (*GetAuthorizerOutput) SetAuthorizerResultTtlInSeconds

func (s *GetAuthorizerOutput) SetAuthorizerResultTtlInSeconds(v int64) *GetAuthorizerOutput

SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.

func (*GetAuthorizerOutput) SetAuthorizerType

func (s *GetAuthorizerOutput) SetAuthorizerType(v string) *GetAuthorizerOutput

SetAuthorizerType sets the AuthorizerType field's value.

func (*GetAuthorizerOutput) SetAuthorizerUri

func (s *GetAuthorizerOutput) SetAuthorizerUri(v string) *GetAuthorizerOutput

SetAuthorizerUri sets the AuthorizerUri field's value.

func (*GetAuthorizerOutput) SetIdentitySource

func (s *GetAuthorizerOutput) SetIdentitySource(v []*string) *GetAuthorizerOutput

SetIdentitySource sets the IdentitySource field's value.

func (*GetAuthorizerOutput) SetIdentityValidationExpression

func (s *GetAuthorizerOutput) SetIdentityValidationExpression(v string) *GetAuthorizerOutput

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*GetAuthorizerOutput) SetJwtConfiguration

func (s *GetAuthorizerOutput) SetJwtConfiguration(v *JWTConfiguration) *GetAuthorizerOutput

SetJwtConfiguration sets the JwtConfiguration field's value.

func (*GetAuthorizerOutput) SetName

func (s *GetAuthorizerOutput) SetName(v string) *GetAuthorizerOutput

SetName sets the Name field's value.

func (GetAuthorizerOutput) String

func (s GetAuthorizerOutput) String() string

String returns the string representation

type GetAuthorizersInput

type GetAuthorizersInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetAuthorizersInput) GoString

func (s GetAuthorizersInput) GoString() string

GoString returns the string representation

func (*GetAuthorizersInput) SetApiId

func (s *GetAuthorizersInput) SetApiId(v string) *GetAuthorizersInput

SetApiId sets the ApiId field's value.

func (*GetAuthorizersInput) SetMaxResults

func (s *GetAuthorizersInput) SetMaxResults(v string) *GetAuthorizersInput

SetMaxResults sets the MaxResults field's value.

func (*GetAuthorizersInput) SetNextToken

func (s *GetAuthorizersInput) SetNextToken(v string) *GetAuthorizersInput

SetNextToken sets the NextToken field's value.

func (GetAuthorizersInput) String

func (s GetAuthorizersInput) String() string

String returns the string representation

func (*GetAuthorizersInput) Validate

func (s *GetAuthorizersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAuthorizersOutput

type GetAuthorizersOutput struct {
    Items []*Authorizer `locationName:"items" type:"list"`

    // The next page of elements from this collection. Not valid for the last element
    // of the collection.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetAuthorizersOutput) GoString

func (s GetAuthorizersOutput) GoString() string

GoString returns the string representation

func (*GetAuthorizersOutput) SetItems

func (s *GetAuthorizersOutput) SetItems(v []*Authorizer) *GetAuthorizersOutput

SetItems sets the Items field's value.

func (*GetAuthorizersOutput) SetNextToken

func (s *GetAuthorizersOutput) SetNextToken(v string) *GetAuthorizersOutput

SetNextToken sets the NextToken field's value.

func (GetAuthorizersOutput) String

func (s GetAuthorizersOutput) String() string

String returns the string representation

type GetDeploymentInput

type GetDeploymentInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // DeploymentId is a required field
    DeploymentId *string `location:"uri" locationName:"deploymentId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetDeploymentInput) GoString

func (s GetDeploymentInput) GoString() string

GoString returns the string representation

func (*GetDeploymentInput) SetApiId

func (s *GetDeploymentInput) SetApiId(v string) *GetDeploymentInput

SetApiId sets the ApiId field's value.

func (*GetDeploymentInput) SetDeploymentId

func (s *GetDeploymentInput) SetDeploymentId(v string) *GetDeploymentInput

SetDeploymentId sets the DeploymentId field's value.

func (GetDeploymentInput) String

func (s GetDeploymentInput) String() string

String returns the string representation

func (*GetDeploymentInput) Validate

func (s *GetDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDeploymentOutput

type GetDeploymentOutput struct {
    AutoDeployed *bool `locationName:"autoDeployed" type:"boolean"`

    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // The identifier.
    DeploymentId *string `locationName:"deploymentId" type:"string"`

    // Represents a deployment status.
    DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"`

    DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`
    // contains filtered or unexported fields
}

func (GetDeploymentOutput) GoString

func (s GetDeploymentOutput) GoString() string

GoString returns the string representation

func (*GetDeploymentOutput) SetAutoDeployed

func (s *GetDeploymentOutput) SetAutoDeployed(v bool) *GetDeploymentOutput

SetAutoDeployed sets the AutoDeployed field's value.

func (*GetDeploymentOutput) SetCreatedDate

func (s *GetDeploymentOutput) SetCreatedDate(v time.Time) *GetDeploymentOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetDeploymentOutput) SetDeploymentId

func (s *GetDeploymentOutput) SetDeploymentId(v string) *GetDeploymentOutput

SetDeploymentId sets the DeploymentId field's value.

func (*GetDeploymentOutput) SetDeploymentStatus

func (s *GetDeploymentOutput) SetDeploymentStatus(v string) *GetDeploymentOutput

SetDeploymentStatus sets the DeploymentStatus field's value.

func (*GetDeploymentOutput) SetDeploymentStatusMessage

func (s *GetDeploymentOutput) SetDeploymentStatusMessage(v string) *GetDeploymentOutput

SetDeploymentStatusMessage sets the DeploymentStatusMessage field's value.

func (*GetDeploymentOutput) SetDescription

func (s *GetDeploymentOutput) SetDescription(v string) *GetDeploymentOutput

SetDescription sets the Description field's value.

func (GetDeploymentOutput) String

func (s GetDeploymentOutput) String() string

String returns the string representation

type GetDeploymentsInput

type GetDeploymentsInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetDeploymentsInput) GoString

func (s GetDeploymentsInput) GoString() string

GoString returns the string representation

func (*GetDeploymentsInput) SetApiId

func (s *GetDeploymentsInput) SetApiId(v string) *GetDeploymentsInput

SetApiId sets the ApiId field's value.

func (*GetDeploymentsInput) SetMaxResults

func (s *GetDeploymentsInput) SetMaxResults(v string) *GetDeploymentsInput

SetMaxResults sets the MaxResults field's value.

func (*GetDeploymentsInput) SetNextToken

func (s *GetDeploymentsInput) SetNextToken(v string) *GetDeploymentsInput

SetNextToken sets the NextToken field's value.

func (GetDeploymentsInput) String

func (s GetDeploymentsInput) String() string

String returns the string representation

func (*GetDeploymentsInput) Validate

func (s *GetDeploymentsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDeploymentsOutput

type GetDeploymentsOutput struct {
    Items []*Deployment `locationName:"items" type:"list"`

    // The next page of elements from this collection. Not valid for the last element
    // of the collection.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetDeploymentsOutput) GoString

func (s GetDeploymentsOutput) GoString() string

GoString returns the string representation

func (*GetDeploymentsOutput) SetItems

func (s *GetDeploymentsOutput) SetItems(v []*Deployment) *GetDeploymentsOutput

SetItems sets the Items field's value.

func (*GetDeploymentsOutput) SetNextToken

func (s *GetDeploymentsOutput) SetNextToken(v string) *GetDeploymentsOutput

SetNextToken sets the NextToken field's value.

func (GetDeploymentsOutput) String

func (s GetDeploymentsOutput) String() string

String returns the string representation

type GetDomainNameInput

type GetDomainNameInput struct {

    // DomainName is a required field
    DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetDomainNameInput) GoString

func (s GetDomainNameInput) GoString() string

GoString returns the string representation

func (*GetDomainNameInput) SetDomainName

func (s *GetDomainNameInput) SetDomainName(v string) *GetDomainNameInput

SetDomainName sets the DomainName field's value.

func (GetDomainNameInput) String

func (s GetDomainNameInput) String() string

String returns the string representation

func (*GetDomainNameInput) Validate

func (s *GetDomainNameInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDomainNameOutput

type GetDomainNameOutput struct {

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ApiMappingSelectionExpression *string `locationName:"apiMappingSelectionExpression" type:"string"`

    // A string with a length between [1-512].
    DomainName *string `locationName:"domainName" type:"string"`

    // The domain name configurations.
    DomainNameConfigurations []*DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (GetDomainNameOutput) GoString

func (s GetDomainNameOutput) GoString() string

GoString returns the string representation

func (*GetDomainNameOutput) SetApiMappingSelectionExpression

func (s *GetDomainNameOutput) SetApiMappingSelectionExpression(v string) *GetDomainNameOutput

SetApiMappingSelectionExpression sets the ApiMappingSelectionExpression field's value.

func (*GetDomainNameOutput) SetDomainName

func (s *GetDomainNameOutput) SetDomainName(v string) *GetDomainNameOutput

SetDomainName sets the DomainName field's value.

func (*GetDomainNameOutput) SetDomainNameConfigurations

func (s *GetDomainNameOutput) SetDomainNameConfigurations(v []*DomainNameConfiguration) *GetDomainNameOutput

SetDomainNameConfigurations sets the DomainNameConfigurations field's value.

func (*GetDomainNameOutput) SetTags

func (s *GetDomainNameOutput) SetTags(v map[string]*string) *GetDomainNameOutput

SetTags sets the Tags field's value.

func (GetDomainNameOutput) String

func (s GetDomainNameOutput) String() string

String returns the string representation

type GetDomainNamesInput

type GetDomainNamesInput struct {
    MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetDomainNamesInput) GoString

func (s GetDomainNamesInput) GoString() string

GoString returns the string representation

func (*GetDomainNamesInput) SetMaxResults

func (s *GetDomainNamesInput) SetMaxResults(v string) *GetDomainNamesInput

SetMaxResults sets the MaxResults field's value.

func (*GetDomainNamesInput) SetNextToken

func (s *GetDomainNamesInput) SetNextToken(v string) *GetDomainNamesInput

SetNextToken sets the NextToken field's value.

func (GetDomainNamesInput) String

func (s GetDomainNamesInput) String() string

String returns the string representation

type GetDomainNamesOutput

type GetDomainNamesOutput struct {
    Items []*DomainName `locationName:"items" type:"list"`

    // The next page of elements from this collection. Not valid for the last element
    // of the collection.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetDomainNamesOutput) GoString

func (s GetDomainNamesOutput) GoString() string

GoString returns the string representation

func (*GetDomainNamesOutput) SetItems

func (s *GetDomainNamesOutput) SetItems(v []*DomainName) *GetDomainNamesOutput

SetItems sets the Items field's value.

func (*GetDomainNamesOutput) SetNextToken

func (s *GetDomainNamesOutput) SetNextToken(v string) *GetDomainNamesOutput

SetNextToken sets the NextToken field's value.

func (GetDomainNamesOutput) String

func (s GetDomainNamesOutput) String() string

String returns the string representation

type GetIntegrationInput

type GetIntegrationInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // IntegrationId is a required field
    IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetIntegrationInput) GoString

func (s GetIntegrationInput) GoString() string

GoString returns the string representation

func (*GetIntegrationInput) SetApiId

func (s *GetIntegrationInput) SetApiId(v string) *GetIntegrationInput

SetApiId sets the ApiId field's value.

func (*GetIntegrationInput) SetIntegrationId

func (s *GetIntegrationInput) SetIntegrationId(v string) *GetIntegrationInput

SetIntegrationId sets the IntegrationId field's value.

func (GetIntegrationInput) String

func (s GetIntegrationInput) String() string

String returns the string representation

func (*GetIntegrationInput) Validate

func (s *GetIntegrationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetIntegrationOutput

type GetIntegrationOutput struct {
    ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

    // A string with a length between [1-1024].
    ConnectionId *string `locationName:"connectionId" type:"string"`

    // Represents a connection type.
    ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"`

    // Specifies how to handle response payload content type conversions. Supported
    // only for WebSocket APIs.
    ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

    // Represents an Amazon Resource Name (ARN).
    CredentialsArn *string `locationName:"credentialsArn" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    // The identifier.
    IntegrationId *string `locationName:"integrationId" type:"string"`

    // A string with a length between [1-64].
    IntegrationMethod *string `locationName:"integrationMethod" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    IntegrationResponseSelectionExpression *string `locationName:"integrationResponseSelectionExpression" type:"string"`

    // Represents an API method integration type.
    IntegrationType *string `locationName:"integrationType" type:"string" enum:"IntegrationType"`

    // A string representation of a URI with a length between [1-2048].
    IntegrationUri *string `locationName:"integrationUri" type:"string"`

    // Represents passthrough behavior for an integration response. Supported only
    // for WebSocket APIs.
    PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

    // A string with a length between [1-64].
    PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"`

    // A key-value map specifying response parameters that are passed to the method
    // response from the backend. The key is a method response header parameter
    // name and the mapped value is an integration response header value, a static
    // value enclosed within a pair of single quotes, or a JSON expression from
    // the integration response body. The mapping key must match the pattern of
    // method.response.header.{name}, where name is a valid and unique header name.
    // The mapped non-static value must match the pattern of integration.response.header.{name}
    // or integration.response.body.{JSON-expression}, where name is a valid and
    // unique response header name and JSON-expression is a valid JSON expression
    // without the $ prefix.
    RequestParameters map[string]*string `locationName:"requestParameters" type:"map"`

    // A mapping of identifier keys to templates. The value is an actual template
    // script. The key is typically a SelectionKey which is chosen based on evaluating
    // a selection expression.
    RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

    // An integer with a value between [50-30000].
    TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`

    // The TLS configuration for a private integration. If you specify a TLS configuration,
    // private integration traffic uses the HTTPS protocol. Supported only for HTTP
    // APIs.
    TlsConfig *TlsConfig `locationName:"tlsConfig" type:"structure"`
    // contains filtered or unexported fields
}

func (GetIntegrationOutput) GoString

func (s GetIntegrationOutput) GoString() string

GoString returns the string representation

func (*GetIntegrationOutput) SetApiGatewayManaged

func (s *GetIntegrationOutput) SetApiGatewayManaged(v bool) *GetIntegrationOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*GetIntegrationOutput) SetConnectionId

func (s *GetIntegrationOutput) SetConnectionId(v string) *GetIntegrationOutput

SetConnectionId sets the ConnectionId field's value.

func (*GetIntegrationOutput) SetConnectionType

func (s *GetIntegrationOutput) SetConnectionType(v string) *GetIntegrationOutput

SetConnectionType sets the ConnectionType field's value.

func (*GetIntegrationOutput) SetContentHandlingStrategy

func (s *GetIntegrationOutput) SetContentHandlingStrategy(v string) *GetIntegrationOutput

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*GetIntegrationOutput) SetCredentialsArn

func (s *GetIntegrationOutput) SetCredentialsArn(v string) *GetIntegrationOutput

SetCredentialsArn sets the CredentialsArn field's value.

func (*GetIntegrationOutput) SetDescription

func (s *GetIntegrationOutput) SetDescription(v string) *GetIntegrationOutput

SetDescription sets the Description field's value.

func (*GetIntegrationOutput) SetIntegrationId

func (s *GetIntegrationOutput) SetIntegrationId(v string) *GetIntegrationOutput

SetIntegrationId sets the IntegrationId field's value.

func (*GetIntegrationOutput) SetIntegrationMethod

func (s *GetIntegrationOutput) SetIntegrationMethod(v string) *GetIntegrationOutput

SetIntegrationMethod sets the IntegrationMethod field's value.

func (*GetIntegrationOutput) SetIntegrationResponseSelectionExpression

func (s *GetIntegrationOutput) SetIntegrationResponseSelectionExpression(v string) *GetIntegrationOutput

SetIntegrationResponseSelectionExpression sets the IntegrationResponseSelectionExpression field's value.

func (*GetIntegrationOutput) SetIntegrationType

func (s *GetIntegrationOutput) SetIntegrationType(v string) *GetIntegrationOutput

SetIntegrationType sets the IntegrationType field's value.

func (*GetIntegrationOutput) SetIntegrationUri

func (s *GetIntegrationOutput) SetIntegrationUri(v string) *GetIntegrationOutput

SetIntegrationUri sets the IntegrationUri field's value.

func (*GetIntegrationOutput) SetPassthroughBehavior

func (s *GetIntegrationOutput) SetPassthroughBehavior(v string) *GetIntegrationOutput

SetPassthroughBehavior sets the PassthroughBehavior field's value.

func (*GetIntegrationOutput) SetPayloadFormatVersion

func (s *GetIntegrationOutput) SetPayloadFormatVersion(v string) *GetIntegrationOutput

SetPayloadFormatVersion sets the PayloadFormatVersion field's value.

func (*GetIntegrationOutput) SetRequestParameters

func (s *GetIntegrationOutput) SetRequestParameters(v map[string]*string) *GetIntegrationOutput

SetRequestParameters sets the RequestParameters field's value.

func (*GetIntegrationOutput) SetRequestTemplates

func (s *GetIntegrationOutput) SetRequestTemplates(v map[string]*string) *GetIntegrationOutput

SetRequestTemplates sets the RequestTemplates field's value.

func (*GetIntegrationOutput) SetTemplateSelectionExpression

func (s *GetIntegrationOutput) SetTemplateSelectionExpression(v string) *GetIntegrationOutput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (*GetIntegrationOutput) SetTimeoutInMillis

func (s *GetIntegrationOutput) SetTimeoutInMillis(v int64) *GetIntegrationOutput

SetTimeoutInMillis sets the TimeoutInMillis field's value.

func (*GetIntegrationOutput) SetTlsConfig

func (s *GetIntegrationOutput) SetTlsConfig(v *TlsConfig) *GetIntegrationOutput

SetTlsConfig sets the TlsConfig field's value.

func (GetIntegrationOutput) String

func (s GetIntegrationOutput) String() string

String returns the string representation

type GetIntegrationResponseInput

type GetIntegrationResponseInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // IntegrationId is a required field
    IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`

    // IntegrationResponseId is a required field
    IntegrationResponseId *string `location:"uri" locationName:"integrationResponseId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetIntegrationResponseInput) GoString

func (s GetIntegrationResponseInput) GoString() string

GoString returns the string representation

func (*GetIntegrationResponseInput) SetApiId

func (s *GetIntegrationResponseInput) SetApiId(v string) *GetIntegrationResponseInput

SetApiId sets the ApiId field's value.

func (*GetIntegrationResponseInput) SetIntegrationId

func (s *GetIntegrationResponseInput) SetIntegrationId(v string) *GetIntegrationResponseInput

SetIntegrationId sets the IntegrationId field's value.

func (*GetIntegrationResponseInput) SetIntegrationResponseId

func (s *GetIntegrationResponseInput) SetIntegrationResponseId(v string) *GetIntegrationResponseInput

SetIntegrationResponseId sets the IntegrationResponseId field's value.

func (GetIntegrationResponseInput) String

func (s GetIntegrationResponseInput) String() string

String returns the string representation

func (*GetIntegrationResponseInput) Validate

func (s *GetIntegrationResponseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetIntegrationResponseOutput

type GetIntegrationResponseOutput struct {

    // Specifies how to handle response payload content type conversions. Supported
    // only for WebSocket APIs.
    ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

    // The identifier.
    IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string"`

    // A key-value map specifying response parameters that are passed to the method
    // response from the backend. The key is a method response header parameter
    // name and the mapped value is an integration response header value, a static
    // value enclosed within a pair of single quotes, or a JSON expression from
    // the integration response body. The mapping key must match the pattern of
    // method.response.header.{name}, where name is a valid and unique header name.
    // The mapped non-static value must match the pattern of integration.response.header.{name}
    // or integration.response.body.{JSON-expression}, where name is a valid and
    // unique response header name and JSON-expression is a valid JSON expression
    // without the $ prefix.
    ResponseParameters map[string]*string `locationName:"responseParameters" type:"map"`

    // A mapping of identifier keys to templates. The value is an actual template
    // script. The key is typically a SelectionKey which is chosen based on evaluating
    // a selection expression.
    ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`
    // contains filtered or unexported fields
}

func (GetIntegrationResponseOutput) GoString

func (s GetIntegrationResponseOutput) GoString() string

GoString returns the string representation

func (*GetIntegrationResponseOutput) SetContentHandlingStrategy

func (s *GetIntegrationResponseOutput) SetContentHandlingStrategy(v string) *GetIntegrationResponseOutput

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*GetIntegrationResponseOutput) SetIntegrationResponseId

func (s *GetIntegrationResponseOutput) SetIntegrationResponseId(v string) *GetIntegrationResponseOutput

SetIntegrationResponseId sets the IntegrationResponseId field's value.

func (*GetIntegrationResponseOutput) SetIntegrationResponseKey

func (s *GetIntegrationResponseOutput) SetIntegrationResponseKey(v string) *GetIntegrationResponseOutput

SetIntegrationResponseKey sets the IntegrationResponseKey field's value.

func (*GetIntegrationResponseOutput) SetResponseParameters

func (s *GetIntegrationResponseOutput) SetResponseParameters(v map[string]*string) *GetIntegrationResponseOutput

SetResponseParameters sets the ResponseParameters field's value.

func (*GetIntegrationResponseOutput) SetResponseTemplates

func (s *GetIntegrationResponseOutput) SetResponseTemplates(v map[string]*string) *GetIntegrationResponseOutput

SetResponseTemplates sets the ResponseTemplates field's value.

func (*GetIntegrationResponseOutput) SetTemplateSelectionExpression

func (s *GetIntegrationResponseOutput) SetTemplateSelectionExpression(v string) *GetIntegrationResponseOutput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (GetIntegrationResponseOutput) String

func (s GetIntegrationResponseOutput) String() string

String returns the string representation

type GetIntegrationResponsesInput

type GetIntegrationResponsesInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // IntegrationId is a required field
    IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`

    MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetIntegrationResponsesInput) GoString

func (s GetIntegrationResponsesInput) GoString() string

GoString returns the string representation

func (*GetIntegrationResponsesInput) SetApiId

func (s *GetIntegrationResponsesInput) SetApiId(v string) *GetIntegrationResponsesInput

SetApiId sets the ApiId field's value.

func (*GetIntegrationResponsesInput) SetIntegrationId

func (s *GetIntegrationResponsesInput) SetIntegrationId(v string) *GetIntegrationResponsesInput

SetIntegrationId sets the IntegrationId field's value.

func (*GetIntegrationResponsesInput) SetMaxResults

func (s *GetIntegrationResponsesInput) SetMaxResults(v string) *GetIntegrationResponsesInput

SetMaxResults sets the MaxResults field's value.

func (*GetIntegrationResponsesInput) SetNextToken

func (s *GetIntegrationResponsesInput) SetNextToken(v string) *GetIntegrationResponsesInput

SetNextToken sets the NextToken field's value.

func (GetIntegrationResponsesInput) String

func (s GetIntegrationResponsesInput) String() string

String returns the string representation

func (*GetIntegrationResponsesInput) Validate

func (s *GetIntegrationResponsesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetIntegrationResponsesOutput

type GetIntegrationResponsesOutput struct {
    Items []*IntegrationResponse `locationName:"items" type:"list"`

    // The next page of elements from this collection. Not valid for the last element
    // of the collection.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetIntegrationResponsesOutput) GoString

func (s GetIntegrationResponsesOutput) GoString() string

GoString returns the string representation

func (*GetIntegrationResponsesOutput) SetItems

func (s *GetIntegrationResponsesOutput) SetItems(v []*IntegrationResponse) *GetIntegrationResponsesOutput

SetItems sets the Items field's value.

func (*GetIntegrationResponsesOutput) SetNextToken

func (s *GetIntegrationResponsesOutput) SetNextToken(v string) *GetIntegrationResponsesOutput

SetNextToken sets the NextToken field's value.

func (GetIntegrationResponsesOutput) String

func (s GetIntegrationResponsesOutput) String() string

String returns the string representation

type GetIntegrationsInput

type GetIntegrationsInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetIntegrationsInput) GoString

func (s GetIntegrationsInput) GoString() string

GoString returns the string representation

func (*GetIntegrationsInput) SetApiId

func (s *GetIntegrationsInput) SetApiId(v string) *GetIntegrationsInput

SetApiId sets the ApiId field's value.

func (*GetIntegrationsInput) SetMaxResults

func (s *GetIntegrationsInput) SetMaxResults(v string) *GetIntegrationsInput

SetMaxResults sets the MaxResults field's value.

func (*GetIntegrationsInput) SetNextToken

func (s *GetIntegrationsInput) SetNextToken(v string) *GetIntegrationsInput

SetNextToken sets the NextToken field's value.

func (GetIntegrationsInput) String

func (s GetIntegrationsInput) String() string

String returns the string representation

func (*GetIntegrationsInput) Validate

func (s *GetIntegrationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetIntegrationsOutput

type GetIntegrationsOutput struct {
    Items []*Integration `locationName:"items" type:"list"`

    // The next page of elements from this collection. Not valid for the last element
    // of the collection.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetIntegrationsOutput) GoString

func (s GetIntegrationsOutput) GoString() string

GoString returns the string representation

func (*GetIntegrationsOutput) SetItems

func (s *GetIntegrationsOutput) SetItems(v []*Integration) *GetIntegrationsOutput

SetItems sets the Items field's value.

func (*GetIntegrationsOutput) SetNextToken

func (s *GetIntegrationsOutput) SetNextToken(v string) *GetIntegrationsOutput

SetNextToken sets the NextToken field's value.

func (GetIntegrationsOutput) String

func (s GetIntegrationsOutput) String() string

String returns the string representation

type GetModelInput

type GetModelInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // ModelId is a required field
    ModelId *string `location:"uri" locationName:"modelId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetModelInput) GoString

func (s GetModelInput) GoString() string

GoString returns the string representation

func (*GetModelInput) SetApiId

func (s *GetModelInput) SetApiId(v string) *GetModelInput

SetApiId sets the ApiId field's value.

func (*GetModelInput) SetModelId

func (s *GetModelInput) SetModelId(v string) *GetModelInput

SetModelId sets the ModelId field's value.

func (GetModelInput) String

func (s GetModelInput) String() string

String returns the string representation

func (*GetModelInput) Validate

func (s *GetModelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetModelOutput

type GetModelOutput struct {

    // A string with a length between [1-256].
    ContentType *string `locationName:"contentType" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    // The identifier.
    ModelId *string `locationName:"modelId" type:"string"`

    // A string with a length between [1-128].
    Name *string `locationName:"name" type:"string"`

    // A string with a length between [0-32768].
    Schema *string `locationName:"schema" type:"string"`
    // contains filtered or unexported fields
}

func (GetModelOutput) GoString

func (s GetModelOutput) GoString() string

GoString returns the string representation

func (*GetModelOutput) SetContentType

func (s *GetModelOutput) SetContentType(v string) *GetModelOutput

SetContentType sets the ContentType field's value.

func (*GetModelOutput) SetDescription

func (s *GetModelOutput) SetDescription(v string) *GetModelOutput

SetDescription sets the Description field's value.

func (*GetModelOutput) SetModelId

func (s *GetModelOutput) SetModelId(v string) *GetModelOutput

SetModelId sets the ModelId field's value.

func (*GetModelOutput) SetName

func (s *GetModelOutput) SetName(v string) *GetModelOutput

SetName sets the Name field's value.

func (*GetModelOutput) SetSchema

func (s *GetModelOutput) SetSchema(v string) *GetModelOutput

SetSchema sets the Schema field's value.

func (GetModelOutput) String

func (s GetModelOutput) String() string

String returns the string representation

type GetModelTemplateInput

type GetModelTemplateInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // ModelId is a required field
    ModelId *string `location:"uri" locationName:"modelId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetModelTemplateInput) GoString

func (s GetModelTemplateInput) GoString() string

GoString returns the string representation

func (*GetModelTemplateInput) SetApiId

func (s *GetModelTemplateInput) SetApiId(v string) *GetModelTemplateInput

SetApiId sets the ApiId field's value.

func (*GetModelTemplateInput) SetModelId

func (s *GetModelTemplateInput) SetModelId(v string) *GetModelTemplateInput

SetModelId sets the ModelId field's value.

func (GetModelTemplateInput) String

func (s GetModelTemplateInput) String() string

String returns the string representation

func (*GetModelTemplateInput) Validate

func (s *GetModelTemplateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetModelTemplateOutput

type GetModelTemplateOutput struct {
    Value *string `locationName:"value" type:"string"`
    // contains filtered or unexported fields
}

func (GetModelTemplateOutput) GoString

func (s GetModelTemplateOutput) GoString() string

GoString returns the string representation

func (*GetModelTemplateOutput) SetValue

func (s *GetModelTemplateOutput) SetValue(v string) *GetModelTemplateOutput

SetValue sets the Value field's value.

func (GetModelTemplateOutput) String

func (s GetModelTemplateOutput) String() string

String returns the string representation

type GetModelsInput

type GetModelsInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetModelsInput) GoString

func (s GetModelsInput) GoString() string

GoString returns the string representation

func (*GetModelsInput) SetApiId

func (s *GetModelsInput) SetApiId(v string) *GetModelsInput

SetApiId sets the ApiId field's value.

func (*GetModelsInput) SetMaxResults

func (s *GetModelsInput) SetMaxResults(v string) *GetModelsInput

SetMaxResults sets the MaxResults field's value.

func (*GetModelsInput) SetNextToken

func (s *GetModelsInput) SetNextToken(v string) *GetModelsInput

SetNextToken sets the NextToken field's value.

func (GetModelsInput) String

func (s GetModelsInput) String() string

String returns the string representation

func (*GetModelsInput) Validate

func (s *GetModelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetModelsOutput

type GetModelsOutput struct {
    Items []*Model `locationName:"items" type:"list"`

    // The next page of elements from this collection. Not valid for the last element
    // of the collection.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetModelsOutput) GoString

func (s GetModelsOutput) GoString() string

GoString returns the string representation

func (*GetModelsOutput) SetItems

func (s *GetModelsOutput) SetItems(v []*Model) *GetModelsOutput

SetItems sets the Items field's value.

func (*GetModelsOutput) SetNextToken

func (s *GetModelsOutput) SetNextToken(v string) *GetModelsOutput

SetNextToken sets the NextToken field's value.

func (GetModelsOutput) String

func (s GetModelsOutput) String() string

String returns the string representation

type GetRouteInput

type GetRouteInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // RouteId is a required field
    RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetRouteInput) GoString

func (s GetRouteInput) GoString() string

GoString returns the string representation

func (*GetRouteInput) SetApiId

func (s *GetRouteInput) SetApiId(v string) *GetRouteInput

SetApiId sets the ApiId field's value.

func (*GetRouteInput) SetRouteId

func (s *GetRouteInput) SetRouteId(v string) *GetRouteInput

SetRouteId sets the RouteId field's value.

func (GetRouteInput) String

func (s GetRouteInput) String() string

String returns the string representation

func (*GetRouteInput) Validate

func (s *GetRouteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRouteOutput

type GetRouteOutput struct {
    ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

    ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

    // A list of authorization scopes configured on a route. The scopes are used
    // with a JWT authorizer to authorize the method invocation. The authorization
    // works by matching the route scopes against the scopes parsed from the access
    // token in the incoming request. The method invocation is authorized if any
    // route scope matches a claimed scope in the access token. Otherwise, the invocation
    // is not authorized. When the route scope is configured, the client must provide
    // an access token instead of an identity token for authorization purposes.
    AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"`

    // The authorization type. For WebSocket APIs, valid values are NONE for open
    // access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda
    // authorizer. For HTTP APIs, valid values are NONE for open access, or JWT
    // for using JSON Web Tokens.
    AuthorizationType *string `locationName:"authorizationType" type:"string" enum:"AuthorizationType"`

    // The identifier.
    AuthorizerId *string `locationName:"authorizerId" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

    // A string with a length between [1-64].
    OperationName *string `locationName:"operationName" type:"string"`

    // The route models.
    RequestModels map[string]*string `locationName:"requestModels" type:"map"`

    // The route parameters.
    RequestParameters map[string]*ParameterConstraints `locationName:"requestParameters" type:"map"`

    // The identifier.
    RouteId *string `locationName:"routeId" type:"string"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    RouteKey *string `locationName:"routeKey" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

    // A string with a length between [1-128].
    Target *string `locationName:"target" type:"string"`
    // contains filtered or unexported fields
}

func (GetRouteOutput) GoString

func (s GetRouteOutput) GoString() string

GoString returns the string representation

func (*GetRouteOutput) SetApiGatewayManaged

func (s *GetRouteOutput) SetApiGatewayManaged(v bool) *GetRouteOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*GetRouteOutput) SetApiKeyRequired

func (s *GetRouteOutput) SetApiKeyRequired(v bool) *GetRouteOutput

SetApiKeyRequired sets the ApiKeyRequired field's value.

func (*GetRouteOutput) SetAuthorizationScopes

func (s *GetRouteOutput) SetAuthorizationScopes(v []*string) *GetRouteOutput

SetAuthorizationScopes sets the AuthorizationScopes field's value.

func (*GetRouteOutput) SetAuthorizationType

func (s *GetRouteOutput) SetAuthorizationType(v string) *GetRouteOutput

SetAuthorizationType sets the AuthorizationType field's value.

func (*GetRouteOutput) SetAuthorizerId

func (s *GetRouteOutput) SetAuthorizerId(v string) *GetRouteOutput

SetAuthorizerId sets the AuthorizerId field's value.

func (*GetRouteOutput) SetModelSelectionExpression

func (s *GetRouteOutput) SetModelSelectionExpression(v string) *GetRouteOutput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*GetRouteOutput) SetOperationName

func (s *GetRouteOutput) SetOperationName(v string) *GetRouteOutput

SetOperationName sets the OperationName field's value.

func (*GetRouteOutput) SetRequestModels

func (s *GetRouteOutput) SetRequestModels(v map[string]*string) *GetRouteOutput

SetRequestModels sets the RequestModels field's value.

func (*GetRouteOutput) SetRequestParameters

func (s *GetRouteOutput) SetRequestParameters(v map[string]*ParameterConstraints) *GetRouteOutput

SetRequestParameters sets the RequestParameters field's value.

func (*GetRouteOutput) SetRouteId

func (s *GetRouteOutput) SetRouteId(v string) *GetRouteOutput

SetRouteId sets the RouteId field's value.

func (*GetRouteOutput) SetRouteKey

func (s *GetRouteOutput) SetRouteKey(v string) *GetRouteOutput

SetRouteKey sets the RouteKey field's value.

func (*GetRouteOutput) SetRouteResponseSelectionExpression

func (s *GetRouteOutput) SetRouteResponseSelectionExpression(v string) *GetRouteOutput

SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.

func (*GetRouteOutput) SetTarget

func (s *GetRouteOutput) SetTarget(v string) *GetRouteOutput

SetTarget sets the Target field's value.

func (GetRouteOutput) String

func (s GetRouteOutput) String() string

String returns the string representation

type GetRouteResponseInput

type GetRouteResponseInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // RouteId is a required field
    RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`

    // RouteResponseId is a required field
    RouteResponseId *string `location:"uri" locationName:"routeResponseId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetRouteResponseInput) GoString

func (s GetRouteResponseInput) GoString() string

GoString returns the string representation

func (*GetRouteResponseInput) SetApiId

func (s *GetRouteResponseInput) SetApiId(v string) *GetRouteResponseInput

SetApiId sets the ApiId field's value.

func (*GetRouteResponseInput) SetRouteId

func (s *GetRouteResponseInput) SetRouteId(v string) *GetRouteResponseInput

SetRouteId sets the RouteId field's value.

func (*GetRouteResponseInput) SetRouteResponseId

func (s *GetRouteResponseInput) SetRouteResponseId(v string) *GetRouteResponseInput

SetRouteResponseId sets the RouteResponseId field's value.

func (GetRouteResponseInput) String

func (s GetRouteResponseInput) String() string

String returns the string representation

func (*GetRouteResponseInput) Validate

func (s *GetRouteResponseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRouteResponseOutput

type GetRouteResponseOutput struct {

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

    // The route models.
    ResponseModels map[string]*string `locationName:"responseModels" type:"map"`

    // The route parameters.
    ResponseParameters map[string]*ParameterConstraints `locationName:"responseParameters" type:"map"`

    // The identifier.
    RouteResponseId *string `locationName:"routeResponseId" type:"string"`

    // After evaluating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    RouteResponseKey *string `locationName:"routeResponseKey" type:"string"`
    // contains filtered or unexported fields
}

func (GetRouteResponseOutput) GoString

func (s GetRouteResponseOutput) GoString() string

GoString returns the string representation

func (*GetRouteResponseOutput) SetModelSelectionExpression

func (s *GetRouteResponseOutput) SetModelSelectionExpression(v string) *GetRouteResponseOutput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*GetRouteResponseOutput) SetResponseModels

func (s *GetRouteResponseOutput) SetResponseModels(v map[string]*string) *GetRouteResponseOutput

SetResponseModels sets the ResponseModels field's value.

func (*GetRouteResponseOutput) SetResponseParameters

func (s *GetRouteResponseOutput) SetResponseParameters(v map[string]*ParameterConstraints) *GetRouteResponseOutput

SetResponseParameters sets the ResponseParameters field's value.

func (*GetRouteResponseOutput) SetRouteResponseId

func (s *GetRouteResponseOutput) SetRouteResponseId(v string) *GetRouteResponseOutput

SetRouteResponseId sets the RouteResponseId field's value.

func (*GetRouteResponseOutput) SetRouteResponseKey

func (s *GetRouteResponseOutput) SetRouteResponseKey(v string) *GetRouteResponseOutput

SetRouteResponseKey sets the RouteResponseKey field's value.

func (GetRouteResponseOutput) String

func (s GetRouteResponseOutput) String() string

String returns the string representation

type GetRouteResponsesInput

type GetRouteResponsesInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

    // RouteId is a required field
    RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetRouteResponsesInput) GoString

func (s GetRouteResponsesInput) GoString() string

GoString returns the string representation

func (*GetRouteResponsesInput) SetApiId

func (s *GetRouteResponsesInput) SetApiId(v string) *GetRouteResponsesInput

SetApiId sets the ApiId field's value.

func (*GetRouteResponsesInput) SetMaxResults

func (s *GetRouteResponsesInput) SetMaxResults(v string) *GetRouteResponsesInput

SetMaxResults sets the MaxResults field's value.

func (*GetRouteResponsesInput) SetNextToken

func (s *GetRouteResponsesInput) SetNextToken(v string) *GetRouteResponsesInput

SetNextToken sets the NextToken field's value.

func (*GetRouteResponsesInput) SetRouteId

func (s *GetRouteResponsesInput) SetRouteId(v string) *GetRouteResponsesInput

SetRouteId sets the RouteId field's value.

func (GetRouteResponsesInput) String

func (s GetRouteResponsesInput) String() string

String returns the string representation

func (*GetRouteResponsesInput) Validate

func (s *GetRouteResponsesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRouteResponsesOutput

type GetRouteResponsesOutput struct {
    Items []*RouteResponse `locationName:"items" type:"list"`

    // The next page of elements from this collection. Not valid for the last element
    // of the collection.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetRouteResponsesOutput) GoString

func (s GetRouteResponsesOutput) GoString() string

GoString returns the string representation

func (*GetRouteResponsesOutput) SetItems

func (s *GetRouteResponsesOutput) SetItems(v []*RouteResponse) *GetRouteResponsesOutput

SetItems sets the Items field's value.

func (*GetRouteResponsesOutput) SetNextToken

func (s *GetRouteResponsesOutput) SetNextToken(v string) *GetRouteResponsesOutput

SetNextToken sets the NextToken field's value.

func (GetRouteResponsesOutput) String

func (s GetRouteResponsesOutput) String() string

String returns the string representation

type GetRoutesInput

type GetRoutesInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetRoutesInput) GoString

func (s GetRoutesInput) GoString() string

GoString returns the string representation

func (*GetRoutesInput) SetApiId

func (s *GetRoutesInput) SetApiId(v string) *GetRoutesInput

SetApiId sets the ApiId field's value.

func (*GetRoutesInput) SetMaxResults

func (s *GetRoutesInput) SetMaxResults(v string) *GetRoutesInput

SetMaxResults sets the MaxResults field's value.

func (*GetRoutesInput) SetNextToken

func (s *GetRoutesInput) SetNextToken(v string) *GetRoutesInput

SetNextToken sets the NextToken field's value.

func (GetRoutesInput) String

func (s GetRoutesInput) String() string

String returns the string representation

func (*GetRoutesInput) Validate

func (s *GetRoutesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRoutesOutput

type GetRoutesOutput struct {
    Items []*Route `locationName:"items" type:"list"`

    // The next page of elements from this collection. Not valid for the last element
    // of the collection.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetRoutesOutput) GoString

func (s GetRoutesOutput) GoString() string

GoString returns the string representation

func (*GetRoutesOutput) SetItems

func (s *GetRoutesOutput) SetItems(v []*Route) *GetRoutesOutput

SetItems sets the Items field's value.

func (*GetRoutesOutput) SetNextToken

func (s *GetRoutesOutput) SetNextToken(v string) *GetRoutesOutput

SetNextToken sets the NextToken field's value.

func (GetRoutesOutput) String

func (s GetRoutesOutput) String() string

String returns the string representation

type GetStageInput

type GetStageInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // StageName is a required field
    StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetStageInput) GoString

func (s GetStageInput) GoString() string

GoString returns the string representation

func (*GetStageInput) SetApiId

func (s *GetStageInput) SetApiId(v string) *GetStageInput

SetApiId sets the ApiId field's value.

func (*GetStageInput) SetStageName

func (s *GetStageInput) SetStageName(v string) *GetStageInput

SetStageName sets the StageName field's value.

func (GetStageInput) String

func (s GetStageInput) String() string

String returns the string representation

func (*GetStageInput) Validate

func (s *GetStageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetStageOutput

type GetStageOutput struct {

    // Settings for logging access in a stage.
    AccessLogSettings *AccessLogSettings `locationName:"accessLogSettings" type:"structure"`

    ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

    AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"`

    // The identifier.
    ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // Represents a collection of route settings.
    DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

    // The identifier.
    DeploymentId *string `locationName:"deploymentId" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    LastDeploymentStatusMessage *string `locationName:"lastDeploymentStatusMessage" type:"string"`

    LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"`

    // The route settings map.
    RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"`

    // A string with a length between [1-128].
    StageName *string `locationName:"stageName" type:"string"`

    // The stage variable map.
    StageVariables map[string]*string `locationName:"stageVariables" type:"map"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (GetStageOutput) GoString

func (s GetStageOutput) GoString() string

GoString returns the string representation

func (*GetStageOutput) SetAccessLogSettings

func (s *GetStageOutput) SetAccessLogSettings(v *AccessLogSettings) *GetStageOutput

SetAccessLogSettings sets the AccessLogSettings field's value.

func (*GetStageOutput) SetApiGatewayManaged

func (s *GetStageOutput) SetApiGatewayManaged(v bool) *GetStageOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*GetStageOutput) SetAutoDeploy

func (s *GetStageOutput) SetAutoDeploy(v bool) *GetStageOutput

SetAutoDeploy sets the AutoDeploy field's value.

func (*GetStageOutput) SetClientCertificateId

func (s *GetStageOutput) SetClientCertificateId(v string) *GetStageOutput

SetClientCertificateId sets the ClientCertificateId field's value.

func (*GetStageOutput) SetCreatedDate

func (s *GetStageOutput) SetCreatedDate(v time.Time) *GetStageOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetStageOutput) SetDefaultRouteSettings

func (s *GetStageOutput) SetDefaultRouteSettings(v *RouteSettings) *GetStageOutput

SetDefaultRouteSettings sets the DefaultRouteSettings field's value.

func (*GetStageOutput) SetDeploymentId

func (s *GetStageOutput) SetDeploymentId(v string) *GetStageOutput

SetDeploymentId sets the DeploymentId field's value.

func (*GetStageOutput) SetDescription

func (s *GetStageOutput) SetDescription(v string) *GetStageOutput

SetDescription sets the Description field's value.

func (*GetStageOutput) SetLastDeploymentStatusMessage

func (s *GetStageOutput) SetLastDeploymentStatusMessage(v string) *GetStageOutput

SetLastDeploymentStatusMessage sets the LastDeploymentStatusMessage field's value.

func (*GetStageOutput) SetLastUpdatedDate

func (s *GetStageOutput) SetLastUpdatedDate(v time.Time) *GetStageOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*GetStageOutput) SetRouteSettings

func (s *GetStageOutput) SetRouteSettings(v map[string]*RouteSettings) *GetStageOutput

SetRouteSettings sets the RouteSettings field's value.

func (*GetStageOutput) SetStageName

func (s *GetStageOutput) SetStageName(v string) *GetStageOutput

SetStageName sets the StageName field's value.

func (*GetStageOutput) SetStageVariables

func (s *GetStageOutput) SetStageVariables(v map[string]*string) *GetStageOutput

SetStageVariables sets the StageVariables field's value.

func (*GetStageOutput) SetTags

func (s *GetStageOutput) SetTags(v map[string]*string) *GetStageOutput

SetTags sets the Tags field's value.

func (GetStageOutput) String

func (s GetStageOutput) String() string

String returns the string representation

type GetStagesInput

type GetStagesInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetStagesInput) GoString

func (s GetStagesInput) GoString() string

GoString returns the string representation

func (*GetStagesInput) SetApiId

func (s *GetStagesInput) SetApiId(v string) *GetStagesInput

SetApiId sets the ApiId field's value.

func (*GetStagesInput) SetMaxResults

func (s *GetStagesInput) SetMaxResults(v string) *GetStagesInput

SetMaxResults sets the MaxResults field's value.

func (*GetStagesInput) SetNextToken

func (s *GetStagesInput) SetNextToken(v string) *GetStagesInput

SetNextToken sets the NextToken field's value.

func (GetStagesInput) String

func (s GetStagesInput) String() string

String returns the string representation

func (*GetStagesInput) Validate

func (s *GetStagesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetStagesOutput

type GetStagesOutput struct {
    Items []*Stage `locationName:"items" type:"list"`

    // The next page of elements from this collection. Not valid for the last element
    // of the collection.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetStagesOutput) GoString

func (s GetStagesOutput) GoString() string

GoString returns the string representation

func (*GetStagesOutput) SetItems

func (s *GetStagesOutput) SetItems(v []*Stage) *GetStagesOutput

SetItems sets the Items field's value.

func (*GetStagesOutput) SetNextToken

func (s *GetStagesOutput) SetNextToken(v string) *GetStagesOutput

SetNextToken sets the NextToken field's value.

func (GetStagesOutput) String

func (s GetStagesOutput) String() string

String returns the string representation

type GetTagsInput

type GetTagsInput struct {

    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetTagsInput) GoString

func (s GetTagsInput) GoString() string

GoString returns the string representation

func (*GetTagsInput) SetResourceArn

func (s *GetTagsInput) SetResourceArn(v string) *GetTagsInput

SetResourceArn sets the ResourceArn field's value.

func (GetTagsInput) String

func (s GetTagsInput) String() string

String returns the string representation

func (*GetTagsInput) Validate

func (s *GetTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTagsOutput

type GetTagsOutput struct {

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (GetTagsOutput) GoString

func (s GetTagsOutput) GoString() string

GoString returns the string representation

func (*GetTagsOutput) SetTags

func (s *GetTagsOutput) SetTags(v map[string]*string) *GetTagsOutput

SetTags sets the Tags field's value.

func (GetTagsOutput) String

func (s GetTagsOutput) String() string

String returns the string representation

type GetVpcLinkInput

type GetVpcLinkInput struct {

    // VpcLinkId is a required field
    VpcLinkId *string `location:"uri" locationName:"vpcLinkId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetVpcLinkInput) GoString

func (s GetVpcLinkInput) GoString() string

GoString returns the string representation

func (*GetVpcLinkInput) SetVpcLinkId

func (s *GetVpcLinkInput) SetVpcLinkId(v string) *GetVpcLinkInput

SetVpcLinkId sets the VpcLinkId field's value.

func (GetVpcLinkInput) String

func (s GetVpcLinkInput) String() string

String returns the string representation

func (*GetVpcLinkInput) Validate

func (s *GetVpcLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetVpcLinkOutput

type GetVpcLinkOutput struct {
    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // A string with a length between [1-128].
    Name *string `locationName:"name" type:"string"`

    // A list of security group IDs for the VPC link.
    SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"`

    // A list of subnet IDs to include in the VPC link.
    SubnetIds []*string `locationName:"subnetIds" type:"list"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // The identifier.
    VpcLinkId *string `locationName:"vpcLinkId" type:"string"`

    // The status of the VPC link.
    VpcLinkStatus *string `locationName:"vpcLinkStatus" type:"string" enum:"VpcLinkStatus"`

    // A string with a length between [0-1024].
    VpcLinkStatusMessage *string `locationName:"vpcLinkStatusMessage" type:"string"`

    // The version of the VPC link.
    VpcLinkVersion *string `locationName:"vpcLinkVersion" type:"string" enum:"VpcLinkVersion"`
    // contains filtered or unexported fields
}

func (GetVpcLinkOutput) GoString

func (s GetVpcLinkOutput) GoString() string

GoString returns the string representation

func (*GetVpcLinkOutput) SetCreatedDate

func (s *GetVpcLinkOutput) SetCreatedDate(v time.Time) *GetVpcLinkOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetVpcLinkOutput) SetName

func (s *GetVpcLinkOutput) SetName(v string) *GetVpcLinkOutput

SetName sets the Name field's value.

func (*GetVpcLinkOutput) SetSecurityGroupIds

func (s *GetVpcLinkOutput) SetSecurityGroupIds(v []*string) *GetVpcLinkOutput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*GetVpcLinkOutput) SetSubnetIds

func (s *GetVpcLinkOutput) SetSubnetIds(v []*string) *GetVpcLinkOutput

SetSubnetIds sets the SubnetIds field's value.

func (*GetVpcLinkOutput) SetTags

func (s *GetVpcLinkOutput) SetTags(v map[string]*string) *GetVpcLinkOutput

SetTags sets the Tags field's value.

func (*GetVpcLinkOutput) SetVpcLinkId

func (s *GetVpcLinkOutput) SetVpcLinkId(v string) *GetVpcLinkOutput

SetVpcLinkId sets the VpcLinkId field's value.

func (*GetVpcLinkOutput) SetVpcLinkStatus

func (s *GetVpcLinkOutput) SetVpcLinkStatus(v string) *GetVpcLinkOutput

SetVpcLinkStatus sets the VpcLinkStatus field's value.

func (*GetVpcLinkOutput) SetVpcLinkStatusMessage

func (s *GetVpcLinkOutput) SetVpcLinkStatusMessage(v string) *GetVpcLinkOutput

SetVpcLinkStatusMessage sets the VpcLinkStatusMessage field's value.

func (*GetVpcLinkOutput) SetVpcLinkVersion

func (s *GetVpcLinkOutput) SetVpcLinkVersion(v string) *GetVpcLinkOutput

SetVpcLinkVersion sets the VpcLinkVersion field's value.

func (GetVpcLinkOutput) String

func (s GetVpcLinkOutput) String() string

String returns the string representation

type GetVpcLinksInput

type GetVpcLinksInput struct {
    MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetVpcLinksInput) GoString

func (s GetVpcLinksInput) GoString() string

GoString returns the string representation

func (*GetVpcLinksInput) SetMaxResults

func (s *GetVpcLinksInput) SetMaxResults(v string) *GetVpcLinksInput

SetMaxResults sets the MaxResults field's value.

func (*GetVpcLinksInput) SetNextToken

func (s *GetVpcLinksInput) SetNextToken(v string) *GetVpcLinksInput

SetNextToken sets the NextToken field's value.

func (GetVpcLinksInput) String

func (s GetVpcLinksInput) String() string

String returns the string representation

type GetVpcLinksOutput

type GetVpcLinksOutput struct {
    Items []*VpcLink `locationName:"items" type:"list"`

    // The next page of elements from this collection. Not valid for the last element
    // of the collection.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (GetVpcLinksOutput) GoString

func (s GetVpcLinksOutput) GoString() string

GoString returns the string representation

func (*GetVpcLinksOutput) SetItems

func (s *GetVpcLinksOutput) SetItems(v []*VpcLink) *GetVpcLinksOutput

SetItems sets the Items field's value.

func (*GetVpcLinksOutput) SetNextToken

func (s *GetVpcLinksOutput) SetNextToken(v string) *GetVpcLinksOutput

SetNextToken sets the NextToken field's value.

func (GetVpcLinksOutput) String

func (s GetVpcLinksOutput) String() string

String returns the string representation

type ImportApiInput

type ImportApiInput struct {
    Basepath *string `location:"querystring" locationName:"basepath" type:"string"`

    // Body is a required field
    Body *string `locationName:"body" type:"string" required:"true"`

    FailOnWarnings *bool `location:"querystring" locationName:"failOnWarnings" type:"boolean"`
    // contains filtered or unexported fields
}

func (ImportApiInput) GoString

func (s ImportApiInput) GoString() string

GoString returns the string representation

func (*ImportApiInput) SetBasepath

func (s *ImportApiInput) SetBasepath(v string) *ImportApiInput

SetBasepath sets the Basepath field's value.

func (*ImportApiInput) SetBody

func (s *ImportApiInput) SetBody(v string) *ImportApiInput

SetBody sets the Body field's value.

func (*ImportApiInput) SetFailOnWarnings

func (s *ImportApiInput) SetFailOnWarnings(v bool) *ImportApiInput

SetFailOnWarnings sets the FailOnWarnings field's value.

func (ImportApiInput) String

func (s ImportApiInput) String() string

String returns the string representation

func (*ImportApiInput) Validate

func (s *ImportApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ImportApiOutput

type ImportApiOutput struct {
    ApiEndpoint *string `locationName:"apiEndpoint" type:"string"`

    // The identifier.
    ApiId *string `locationName:"apiId" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

    // Represents a CORS configuration. Supported only for HTTP APIs. See Configuring
    // CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html)
    // for more information.
    CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

    ImportInfo []*string `locationName:"importInfo" type:"list"`

    // A string with a length between [1-128].
    Name *string `locationName:"name" type:"string"`

    // Represents a protocol type.
    ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // A string with a length between [1-64].
    Version *string `locationName:"version" type:"string"`

    Warnings []*string `locationName:"warnings" type:"list"`
    // contains filtered or unexported fields
}

func (ImportApiOutput) GoString

func (s ImportApiOutput) GoString() string

GoString returns the string representation

func (*ImportApiOutput) SetApiEndpoint

func (s *ImportApiOutput) SetApiEndpoint(v string) *ImportApiOutput

SetApiEndpoint sets the ApiEndpoint field's value.

func (*ImportApiOutput) SetApiId

func (s *ImportApiOutput) SetApiId(v string) *ImportApiOutput

SetApiId sets the ApiId field's value.

func (*ImportApiOutput) SetApiKeySelectionExpression

func (s *ImportApiOutput) SetApiKeySelectionExpression(v string) *ImportApiOutput

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*ImportApiOutput) SetCorsConfiguration

func (s *ImportApiOutput) SetCorsConfiguration(v *Cors) *ImportApiOutput

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*ImportApiOutput) SetCreatedDate

func (s *ImportApiOutput) SetCreatedDate(v time.Time) *ImportApiOutput

SetCreatedDate sets the CreatedDate field's value.

func (*ImportApiOutput) SetDescription

func (s *ImportApiOutput) SetDescription(v string) *ImportApiOutput

SetDescription sets the Description field's value.

func (*ImportApiOutput) SetDisableSchemaValidation

func (s *ImportApiOutput) SetDisableSchemaValidation(v bool) *ImportApiOutput

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*ImportApiOutput) SetImportInfo

func (s *ImportApiOutput) SetImportInfo(v []*string) *ImportApiOutput

SetImportInfo sets the ImportInfo field's value.

func (*ImportApiOutput) SetName

func (s *ImportApiOutput) SetName(v string) *ImportApiOutput

SetName sets the Name field's value.

func (*ImportApiOutput) SetProtocolType

func (s *ImportApiOutput) SetProtocolType(v string) *ImportApiOutput

SetProtocolType sets the ProtocolType field's value.

func (*ImportApiOutput) SetRouteSelectionExpression

func (s *ImportApiOutput) SetRouteSelectionExpression(v string) *ImportApiOutput

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*ImportApiOutput) SetTags

func (s *ImportApiOutput) SetTags(v map[string]*string) *ImportApiOutput

SetTags sets the Tags field's value.

func (*ImportApiOutput) SetVersion

func (s *ImportApiOutput) SetVersion(v string) *ImportApiOutput

SetVersion sets the Version field's value.

func (*ImportApiOutput) SetWarnings

func (s *ImportApiOutput) SetWarnings(v []*string) *ImportApiOutput

SetWarnings sets the Warnings field's value.

func (ImportApiOutput) String

func (s ImportApiOutput) String() string

String returns the string representation

type Integration

type Integration struct {

    // Specifies whether an integration is managed by API Gateway. If you created
    // an API using using quick create, the resulting integration is managed by
    // API Gateway. You can update a managed integration, but you can't delete it.
    ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

    // The ID of the VPC link for a private integration. Supported only for HTTP
    // APIs.
    ConnectionId *string `locationName:"connectionId" type:"string"`

    // The type of the network connection to the integration endpoint. Specify INTERNET
    // for connections through the public routable internet or VPC_LINK for private
    // connections between API Gateway and resources in a VPC. The default value
    // is INTERNET.
    ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"`

    // Supported only for WebSocket APIs. Specifies how to handle response payload
    // content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT,
    // with the following behaviors:
    //
    // CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string
    // to the corresponding binary blob.
    //
    // CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded
    // string.
    //
    // If this property is not defined, the response payload will be passed through
    // from the integration response to the route response or method response without
    // modification.
    ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

    // Specifies the credentials required for the integration, if any. For AWS integrations,
    // three options are available. To specify an IAM Role for API Gateway to assume,
    // use the role's Amazon Resource Name (ARN). To require that the caller's identity
    // be passed through from the request, specify the string arn:aws:iam::*:user/*.
    // To use resource-based permissions on supported AWS services, specify null.
    CredentialsArn *string `locationName:"credentialsArn" type:"string"`

    // Represents the description of an integration.
    Description *string `locationName:"description" type:"string"`

    // Represents the identifier of an integration.
    IntegrationId *string `locationName:"integrationId" type:"string"`

    // Specifies the integration's HTTP method type.
    IntegrationMethod *string `locationName:"integrationMethod" type:"string"`

    // The integration response selection expression for the integration. Supported
    // only for WebSocket APIs. See Integration Response Selection Expressions (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-integration-response-selection-expressions).
    IntegrationResponseSelectionExpression *string `locationName:"integrationResponseSelectionExpression" type:"string"`

    // The integration type of an integration. One of the following:
    //
    // AWS: for integrating the route or method request with an AWS service action,
    // including the Lambda function-invoking action. With the Lambda function-invoking
    // action, this is referred to as the Lambda custom integration. With any other
    // AWS service action, this is known as AWS integration. Supported only for
    // WebSocket APIs.
    //
    // AWS_PROXY: for integrating the route or method request with the Lambda function-invoking
    // action with the client request passed through as-is. This integration is
    // also referred to as Lambda proxy integration.
    //
    // HTTP: for integrating the route or method request with an HTTP endpoint.
    // This integration is also referred to as the HTTP custom integration. Supported
    // only for WebSocket APIs.
    //
    // HTTP_PROXY: for integrating the route or method request with an HTTP endpoint,
    // with the client request passed through as-is. This is also referred to as
    // HTTP proxy integration.
    //
    // MOCK: for integrating the route or method request with API Gateway as a "loopback"
    // endpoint without invoking any backend. Supported only for WebSocket APIs.
    IntegrationType *string `locationName:"integrationType" type:"string" enum:"IntegrationType"`

    // For a Lambda integration, specify the URI of a Lambda function.
    //
    // For an HTTP integration, specify a fully-qualified URL.
    //
    // For an HTTP API private integration, specify the ARN of an Application Load
    // Balancer listener, Network Load Balancer listener, or AWS Cloud Map service.
    // If you specify the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances
    // to identify resources. You can use query parameters to target specific resources.
    // To learn more, see DiscoverInstances (https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html).
    // For private integrations, all resources must be owned by the same AWS account.
    IntegrationUri *string `locationName:"integrationUri" type:"string"`

    // Specifies the pass-through behavior for incoming requests based on the Content-Type
    // header in the request, and the available mapping templates specified as the
    // requestTemplates property on the Integration resource. There are three valid
    // values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. Supported only for WebSocket
    // APIs.
    //
    // WHEN_NO_MATCH passes the request body for unmapped content types through
    // to the integration backend without transformation.
    //
    // NEVER rejects unmapped content types with an HTTP 415 Unsupported Media Type
    // response.
    //
    // WHEN_NO_TEMPLATES allows pass-through when the integration has no content
    // types mapped to templates. However, if there is at least one content type
    // defined, unmapped content types will be rejected with the same HTTP 415 Unsupported
    // Media Type response.
    PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

    // Specifies the format of the payload sent to an integration. Required for
    // HTTP APIs.
    PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"`

    // A key-value map specifying request parameters that are passed from the method
    // request to the backend. The key is an integration request parameter name
    // and the associated value is a method request parameter value or static value
    // that must be enclosed within single quotes and pre-encoded as required by
    // the backend. The method request parameter value must match the pattern of
    // method.request.{location}.{name} , where {location} is querystring, path,
    // or header; and {name} must be a valid and unique method request parameter
    // name. Supported only for WebSocket APIs.
    RequestParameters map[string]*string `locationName:"requestParameters" type:"map"`

    // Represents a map of Velocity templates that are applied on the request payload
    // based on the value of the Content-Type header sent by the client. The content
    // type value is the key in this map, and the template (as a String) is the
    // value. Supported only for WebSocket APIs.
    RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"`

    // The template selection expression for the integration. Supported only for
    // WebSocket APIs.
    TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

    // Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and
    // between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is
    // 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
    TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`

    // The TLS configuration for a private integration. If you specify a TLS configuration,
    // private integration traffic uses the HTTPS protocol. Supported only for HTTP
    // APIs.
    TlsConfig *TlsConfig `locationName:"tlsConfig" type:"structure"`
    // contains filtered or unexported fields
}

Represents an integration.

func (Integration) GoString

func (s Integration) GoString() string

GoString returns the string representation

func (*Integration) SetApiGatewayManaged

func (s *Integration) SetApiGatewayManaged(v bool) *Integration

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*Integration) SetConnectionId

func (s *Integration) SetConnectionId(v string) *Integration

SetConnectionId sets the ConnectionId field's value.

func (*Integration) SetConnectionType

func (s *Integration) SetConnectionType(v string) *Integration

SetConnectionType sets the ConnectionType field's value.

func (*Integration) SetContentHandlingStrategy

func (s *Integration) SetContentHandlingStrategy(v string) *Integration

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*Integration) SetCredentialsArn

func (s *Integration) SetCredentialsArn(v string) *Integration

SetCredentialsArn sets the CredentialsArn field's value.

func (*Integration) SetDescription

func (s *Integration) SetDescription(v string) *Integration

SetDescription sets the Description field's value.

func (*Integration) SetIntegrationId

func (s *Integration) SetIntegrationId(v string) *Integration

SetIntegrationId sets the IntegrationId field's value.

func (*Integration) SetIntegrationMethod

func (s *Integration) SetIntegrationMethod(v string) *Integration

SetIntegrationMethod sets the IntegrationMethod field's value.

func (*Integration) SetIntegrationResponseSelectionExpression

func (s *Integration) SetIntegrationResponseSelectionExpression(v string) *Integration

SetIntegrationResponseSelectionExpression sets the IntegrationResponseSelectionExpression field's value.

func (*Integration) SetIntegrationType

func (s *Integration) SetIntegrationType(v string) *Integration

SetIntegrationType sets the IntegrationType field's value.

func (*Integration) SetIntegrationUri

func (s *Integration) SetIntegrationUri(v string) *Integration

SetIntegrationUri sets the IntegrationUri field's value.

func (*Integration) SetPassthroughBehavior

func (s *Integration) SetPassthroughBehavior(v string) *Integration

SetPassthroughBehavior sets the PassthroughBehavior field's value.

func (*Integration) SetPayloadFormatVersion

func (s *Integration) SetPayloadFormatVersion(v string) *Integration

SetPayloadFormatVersion sets the PayloadFormatVersion field's value.

func (*Integration) SetRequestParameters

func (s *Integration) SetRequestParameters(v map[string]*string) *Integration

SetRequestParameters sets the RequestParameters field's value.

func (*Integration) SetRequestTemplates

func (s *Integration) SetRequestTemplates(v map[string]*string) *Integration

SetRequestTemplates sets the RequestTemplates field's value.

func (*Integration) SetTemplateSelectionExpression

func (s *Integration) SetTemplateSelectionExpression(v string) *Integration

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (*Integration) SetTimeoutInMillis

func (s *Integration) SetTimeoutInMillis(v int64) *Integration

SetTimeoutInMillis sets the TimeoutInMillis field's value.

func (*Integration) SetTlsConfig

func (s *Integration) SetTlsConfig(v *TlsConfig) *Integration

SetTlsConfig sets the TlsConfig field's value.

func (Integration) String

func (s Integration) String() string

String returns the string representation

type IntegrationResponse

type IntegrationResponse struct {

    // Supported only for WebSocket APIs. Specifies how to handle response payload
    // content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT,
    // with the following behaviors:
    //
    // CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string
    // to the corresponding binary blob.
    //
    // CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded
    // string.
    //
    // If this property is not defined, the response payload will be passed through
    // from the integration response to the route response or method response without
    // modification.
    ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

    // The integration response ID.
    IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"`

    // The integration response key.
    //
    // IntegrationResponseKey is a required field
    IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string" required:"true"`

    // A key-value map specifying response parameters that are passed to the method
    // response from the backend. The key is a method response header parameter
    // name and the mapped value is an integration response header value, a static
    // value enclosed within a pair of single quotes, or a JSON expression from
    // the integration response body. The mapping key must match the pattern of
    // method.response.header.{name}, where name is a valid and unique header name.
    // The mapped non-static value must match the pattern of integration.response.header.{name}
    // or integration.response.body.{JSON-expression}, where name is a valid and
    // unique response header name and JSON-expression is a valid JSON expression
    // without the $ prefix.
    ResponseParameters map[string]*string `locationName:"responseParameters" type:"map"`

    // The collection of response templates for the integration response as a string-to-string
    // map of key-value pairs. Response templates are represented as a key/value
    // map, with a content-type as the key and a template as the value.
    ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"`

    // The template selection expressions for the integration response.
    TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`
    // contains filtered or unexported fields
}

Represents an integration response.

func (IntegrationResponse) GoString

func (s IntegrationResponse) GoString() string

GoString returns the string representation

func (*IntegrationResponse) SetContentHandlingStrategy

func (s *IntegrationResponse) SetContentHandlingStrategy(v string) *IntegrationResponse

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*IntegrationResponse) SetIntegrationResponseId

func (s *IntegrationResponse) SetIntegrationResponseId(v string) *IntegrationResponse

SetIntegrationResponseId sets the IntegrationResponseId field's value.

func (*IntegrationResponse) SetIntegrationResponseKey

func (s *IntegrationResponse) SetIntegrationResponseKey(v string) *IntegrationResponse

SetIntegrationResponseKey sets the IntegrationResponseKey field's value.

func (*IntegrationResponse) SetResponseParameters

func (s *IntegrationResponse) SetResponseParameters(v map[string]*string) *IntegrationResponse

SetResponseParameters sets the ResponseParameters field's value.

func (*IntegrationResponse) SetResponseTemplates

func (s *IntegrationResponse) SetResponseTemplates(v map[string]*string) *IntegrationResponse

SetResponseTemplates sets the ResponseTemplates field's value.

func (*IntegrationResponse) SetTemplateSelectionExpression

func (s *IntegrationResponse) SetTemplateSelectionExpression(v string) *IntegrationResponse

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (IntegrationResponse) String

func (s IntegrationResponse) String() string

String returns the string representation

type JWTConfiguration

type JWTConfiguration struct {

    // A list of the intended recipients of the JWT. A valid JWT must provide an
    // aud that matches at least one entry in this list. See RFC 7519 (https://tools.ietf.org/html/rfc7519#section-4.1.3).
    // Supported only for HTTP APIs.
    Audience []*string `locationName:"audience" type:"list"`

    // The base domain of the identity provider that issues JSON Web Tokens. For
    // example, an Amazon Cognito user pool has the following format: https://cognito-idp.{region}.amazonaws.com/{userPoolId}
    // . Required for the JWT authorizer type. Supported only for HTTP APIs.
    Issuer *string `locationName:"issuer" type:"string"`
    // contains filtered or unexported fields
}

Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

func (JWTConfiguration) GoString

func (s JWTConfiguration) GoString() string

GoString returns the string representation

func (*JWTConfiguration) SetAudience

func (s *JWTConfiguration) SetAudience(v []*string) *JWTConfiguration

SetAudience sets the Audience field's value.

func (*JWTConfiguration) SetIssuer

func (s *JWTConfiguration) SetIssuer(v string) *JWTConfiguration

SetIssuer sets the Issuer field's value.

func (JWTConfiguration) String

func (s JWTConfiguration) String() string

String returns the string representation

type Model

type Model struct {

    // The content-type for the model, for example, "application/json".
    ContentType *string `locationName:"contentType" type:"string"`

    // The description of the model.
    Description *string `locationName:"description" type:"string"`

    // The model identifier.
    ModelId *string `locationName:"modelId" type:"string"`

    // The name of the model. Must be alphanumeric.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`

    // The schema for the model. For application/json models, this should be JSON
    // schema draft 4 model.
    Schema *string `locationName:"schema" type:"string"`
    // contains filtered or unexported fields
}

Represents a data model for an API. Supported only for WebSocket APIs. See Create Models and Mapping Templates for Request and Response Mappings (https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html).

func (Model) GoString

func (s Model) GoString() string

GoString returns the string representation

func (*Model) SetContentType

func (s *Model) SetContentType(v string) *Model

SetContentType sets the ContentType field's value.

func (*Model) SetDescription

func (s *Model) SetDescription(v string) *Model

SetDescription sets the Description field's value.

func (*Model) SetModelId

func (s *Model) SetModelId(v string) *Model

SetModelId sets the ModelId field's value.

func (*Model) SetName

func (s *Model) SetName(v string) *Model

SetName sets the Name field's value.

func (*Model) SetSchema

func (s *Model) SetSchema(v string) *Model

SetSchema sets the Schema field's value.

func (Model) String

func (s Model) String() string

String returns the string representation

type NotFoundException

type NotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // Describes the error encountered.
    Message_ *string `locationName:"message" type:"string"`

    // The resource type.
    ResourceType *string `locationName:"resourceType" type:"string"`
    // contains filtered or unexported fields
}

The resource specified in the request was not found. See the message field for more information.

func (*NotFoundException) Code

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error

func (s *NotFoundException) Error() string

func (NotFoundException) GoString

func (s NotFoundException) GoString() string

GoString returns the string representation

func (*NotFoundException) Message

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode

func (s *NotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NotFoundException) String

func (s NotFoundException) String() string

String returns the string representation

type ParameterConstraints

type ParameterConstraints struct {

    // Whether or not the parameter is required.
    Required *bool `locationName:"required" type:"boolean"`
    // contains filtered or unexported fields
}

Validation constraints imposed on parameters of a request (path, query string, headers).

func (ParameterConstraints) GoString

func (s ParameterConstraints) GoString() string

GoString returns the string representation

func (*ParameterConstraints) SetRequired

func (s *ParameterConstraints) SetRequired(v bool) *ParameterConstraints

SetRequired sets the Required field's value.

func (ParameterConstraints) String

func (s ParameterConstraints) String() string

String returns the string representation

type ReimportApiInput

type ReimportApiInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    Basepath *string `location:"querystring" locationName:"basepath" type:"string"`

    // Body is a required field
    Body *string `locationName:"body" type:"string" required:"true"`

    FailOnWarnings *bool `location:"querystring" locationName:"failOnWarnings" type:"boolean"`
    // contains filtered or unexported fields
}

func (ReimportApiInput) GoString

func (s ReimportApiInput) GoString() string

GoString returns the string representation

func (*ReimportApiInput) SetApiId

func (s *ReimportApiInput) SetApiId(v string) *ReimportApiInput

SetApiId sets the ApiId field's value.

func (*ReimportApiInput) SetBasepath

func (s *ReimportApiInput) SetBasepath(v string) *ReimportApiInput

SetBasepath sets the Basepath field's value.

func (*ReimportApiInput) SetBody

func (s *ReimportApiInput) SetBody(v string) *ReimportApiInput

SetBody sets the Body field's value.

func (*ReimportApiInput) SetFailOnWarnings

func (s *ReimportApiInput) SetFailOnWarnings(v bool) *ReimportApiInput

SetFailOnWarnings sets the FailOnWarnings field's value.

func (ReimportApiInput) String

func (s ReimportApiInput) String() string

String returns the string representation

func (*ReimportApiInput) Validate

func (s *ReimportApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReimportApiOutput

type ReimportApiOutput struct {
    ApiEndpoint *string `locationName:"apiEndpoint" type:"string"`

    // The identifier.
    ApiId *string `locationName:"apiId" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

    // Represents a CORS configuration. Supported only for HTTP APIs. See Configuring
    // CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html)
    // for more information.
    CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

    ImportInfo []*string `locationName:"importInfo" type:"list"`

    // A string with a length between [1-128].
    Name *string `locationName:"name" type:"string"`

    // Represents a protocol type.
    ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // A string with a length between [1-64].
    Version *string `locationName:"version" type:"string"`

    Warnings []*string `locationName:"warnings" type:"list"`
    // contains filtered or unexported fields
}

func (ReimportApiOutput) GoString

func (s ReimportApiOutput) GoString() string

GoString returns the string representation

func (*ReimportApiOutput) SetApiEndpoint

func (s *ReimportApiOutput) SetApiEndpoint(v string) *ReimportApiOutput

SetApiEndpoint sets the ApiEndpoint field's value.

func (*ReimportApiOutput) SetApiId

func (s *ReimportApiOutput) SetApiId(v string) *ReimportApiOutput

SetApiId sets the ApiId field's value.

func (*ReimportApiOutput) SetApiKeySelectionExpression

func (s *ReimportApiOutput) SetApiKeySelectionExpression(v string) *ReimportApiOutput

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*ReimportApiOutput) SetCorsConfiguration

func (s *ReimportApiOutput) SetCorsConfiguration(v *Cors) *ReimportApiOutput

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*ReimportApiOutput) SetCreatedDate

func (s *ReimportApiOutput) SetCreatedDate(v time.Time) *ReimportApiOutput

SetCreatedDate sets the CreatedDate field's value.

func (*ReimportApiOutput) SetDescription

func (s *ReimportApiOutput) SetDescription(v string) *ReimportApiOutput

SetDescription sets the Description field's value.

func (*ReimportApiOutput) SetDisableSchemaValidation

func (s *ReimportApiOutput) SetDisableSchemaValidation(v bool) *ReimportApiOutput

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*ReimportApiOutput) SetImportInfo

func (s *ReimportApiOutput) SetImportInfo(v []*string) *ReimportApiOutput

SetImportInfo sets the ImportInfo field's value.

func (*ReimportApiOutput) SetName

func (s *ReimportApiOutput) SetName(v string) *ReimportApiOutput

SetName sets the Name field's value.

func (*ReimportApiOutput) SetProtocolType

func (s *ReimportApiOutput) SetProtocolType(v string) *ReimportApiOutput

SetProtocolType sets the ProtocolType field's value.

func (*ReimportApiOutput) SetRouteSelectionExpression

func (s *ReimportApiOutput) SetRouteSelectionExpression(v string) *ReimportApiOutput

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*ReimportApiOutput) SetTags

func (s *ReimportApiOutput) SetTags(v map[string]*string) *ReimportApiOutput

SetTags sets the Tags field's value.

func (*ReimportApiOutput) SetVersion

func (s *ReimportApiOutput) SetVersion(v string) *ReimportApiOutput

SetVersion sets the Version field's value.

func (*ReimportApiOutput) SetWarnings

func (s *ReimportApiOutput) SetWarnings(v []*string) *ReimportApiOutput

SetWarnings sets the Warnings field's value.

func (ReimportApiOutput) String

func (s ReimportApiOutput) String() string

String returns the string representation

type Route

type Route struct {

    // Specifies whether a route is managed by API Gateway. If you created an API
    // using quick create, the $default route is managed by API Gateway. You can't
    // modify the $default route key.
    ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

    // Specifies whether an API key is required for this route. Supported only for
    // WebSocket APIs.
    ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

    // A list of authorization scopes configured on a route. The scopes are used
    // with a JWT authorizer to authorize the method invocation. The authorization
    // works by matching the route scopes against the scopes parsed from the access
    // token in the incoming request. The method invocation is authorized if any
    // route scope matches a claimed scope in the access token. Otherwise, the invocation
    // is not authorized. When the route scope is configured, the client must provide
    // an access token instead of an identity token for authorization purposes.
    AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"`

    // The authorization type for the route. For WebSocket APIs, valid values are
    // NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for
    // using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
    // or JWT for using JSON Web Tokens.
    AuthorizationType *string `locationName:"authorizationType" type:"string" enum:"AuthorizationType"`

    // The identifier of the Authorizer resource to be associated with this route.
    // The authorizer identifier is generated by API Gateway when you created the
    // authorizer.
    AuthorizerId *string `locationName:"authorizerId" type:"string"`

    // The model selection expression for the route. Supported only for WebSocket
    // APIs.
    ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

    // The operation name for the route.
    OperationName *string `locationName:"operationName" type:"string"`

    // The request models for the route. Supported only for WebSocket APIs.
    RequestModels map[string]*string `locationName:"requestModels" type:"map"`

    // The request parameters for the route. Supported only for WebSocket APIs.
    RequestParameters map[string]*ParameterConstraints `locationName:"requestParameters" type:"map"`

    // The route ID.
    RouteId *string `locationName:"routeId" type:"string"`

    // The route key for the route.
    //
    // RouteKey is a required field
    RouteKey *string `locationName:"routeKey" type:"string" required:"true"`

    // The route response selection expression for the route. Supported only for
    // WebSocket APIs.
    RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

    // The target for the route.
    Target *string `locationName:"target" type:"string"`
    // contains filtered or unexported fields
}

Represents a route.

func (Route) GoString

func (s Route) GoString() string

GoString returns the string representation

func (*Route) SetApiGatewayManaged

func (s *Route) SetApiGatewayManaged(v bool) *Route

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*Route) SetApiKeyRequired

func (s *Route) SetApiKeyRequired(v bool) *Route

SetApiKeyRequired sets the ApiKeyRequired field's value.

func (*Route) SetAuthorizationScopes

func (s *Route) SetAuthorizationScopes(v []*string) *Route

SetAuthorizationScopes sets the AuthorizationScopes field's value.

func (*Route) SetAuthorizationType

func (s *Route) SetAuthorizationType(v string) *Route

SetAuthorizationType sets the AuthorizationType field's value.

func (*Route) SetAuthorizerId

func (s *Route) SetAuthorizerId(v string) *Route

SetAuthorizerId sets the AuthorizerId field's value.

func (*Route) SetModelSelectionExpression

func (s *Route) SetModelSelectionExpression(v string) *Route

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*Route) SetOperationName

func (s *Route) SetOperationName(v string) *Route

SetOperationName sets the OperationName field's value.

func (*Route) SetRequestModels

func (s *Route) SetRequestModels(v map[string]*string) *Route

SetRequestModels sets the RequestModels field's value.

func (*Route) SetRequestParameters

func (s *Route) SetRequestParameters(v map[string]*ParameterConstraints) *Route

SetRequestParameters sets the RequestParameters field's value.

func (*Route) SetRouteId

func (s *Route) SetRouteId(v string) *Route

SetRouteId sets the RouteId field's value.

func (*Route) SetRouteKey

func (s *Route) SetRouteKey(v string) *Route

SetRouteKey sets the RouteKey field's value.

func (*Route) SetRouteResponseSelectionExpression

func (s *Route) SetRouteResponseSelectionExpression(v string) *Route

SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.

func (*Route) SetTarget

func (s *Route) SetTarget(v string) *Route

SetTarget sets the Target field's value.

func (Route) String

func (s Route) String() string

String returns the string representation

type RouteResponse

type RouteResponse struct {

    // Represents the model selection expression of a route response. Supported
    // only for WebSocket APIs.
    ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

    // Represents the response models of a route response.
    ResponseModels map[string]*string `locationName:"responseModels" type:"map"`

    // Represents the response parameters of a route response.
    ResponseParameters map[string]*ParameterConstraints `locationName:"responseParameters" type:"map"`

    // Represents the identifier of a route response.
    RouteResponseId *string `locationName:"routeResponseId" type:"string"`

    // Represents the route response key of a route response.
    //
    // RouteResponseKey is a required field
    RouteResponseKey *string `locationName:"routeResponseKey" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a route response.

func (RouteResponse) GoString

func (s RouteResponse) GoString() string

GoString returns the string representation

func (*RouteResponse) SetModelSelectionExpression

func (s *RouteResponse) SetModelSelectionExpression(v string) *RouteResponse

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*RouteResponse) SetResponseModels

func (s *RouteResponse) SetResponseModels(v map[string]*string) *RouteResponse

SetResponseModels sets the ResponseModels field's value.

func (*RouteResponse) SetResponseParameters

func (s *RouteResponse) SetResponseParameters(v map[string]*ParameterConstraints) *RouteResponse

SetResponseParameters sets the ResponseParameters field's value.

func (*RouteResponse) SetRouteResponseId

func (s *RouteResponse) SetRouteResponseId(v string) *RouteResponse

SetRouteResponseId sets the RouteResponseId field's value.

func (*RouteResponse) SetRouteResponseKey

func (s *RouteResponse) SetRouteResponseKey(v string) *RouteResponse

SetRouteResponseKey sets the RouteResponseKey field's value.

func (RouteResponse) String

func (s RouteResponse) String() string

String returns the string representation

type RouteSettings

type RouteSettings struct {

    // Specifies whether (true) or not (false) data trace logging is enabled for
    // this route. This property affects the log entries pushed to Amazon CloudWatch
    // Logs. Supported only for WebSocket APIs.
    DataTraceEnabled *bool `locationName:"dataTraceEnabled" type:"boolean"`

    // Specifies whether detailed metrics are enabled.
    DetailedMetricsEnabled *bool `locationName:"detailedMetricsEnabled" type:"boolean"`

    // Specifies the logging level for this route: INFO, ERROR, or OFF. This property
    // affects the log entries pushed to Amazon CloudWatch Logs. Supported only
    // for WebSocket APIs.
    LoggingLevel *string `locationName:"loggingLevel" type:"string" enum:"LoggingLevel"`

    // Specifies the throttling burst limit.
    ThrottlingBurstLimit *int64 `locationName:"throttlingBurstLimit" type:"integer"`

    // Specifies the throttling rate limit.
    ThrottlingRateLimit *float64 `locationName:"throttlingRateLimit" type:"double"`
    // contains filtered or unexported fields
}

Represents a collection of route settings.

func (RouteSettings) GoString

func (s RouteSettings) GoString() string

GoString returns the string representation

func (*RouteSettings) SetDataTraceEnabled

func (s *RouteSettings) SetDataTraceEnabled(v bool) *RouteSettings

SetDataTraceEnabled sets the DataTraceEnabled field's value.

func (*RouteSettings) SetDetailedMetricsEnabled

func (s *RouteSettings) SetDetailedMetricsEnabled(v bool) *RouteSettings

SetDetailedMetricsEnabled sets the DetailedMetricsEnabled field's value.

func (*RouteSettings) SetLoggingLevel

func (s *RouteSettings) SetLoggingLevel(v string) *RouteSettings

SetLoggingLevel sets the LoggingLevel field's value.

func (*RouteSettings) SetThrottlingBurstLimit

func (s *RouteSettings) SetThrottlingBurstLimit(v int64) *RouteSettings

SetThrottlingBurstLimit sets the ThrottlingBurstLimit field's value.

func (*RouteSettings) SetThrottlingRateLimit

func (s *RouteSettings) SetThrottlingRateLimit(v float64) *RouteSettings

SetThrottlingRateLimit sets the ThrottlingRateLimit field's value.

func (RouteSettings) String

func (s RouteSettings) String() string

String returns the string representation

type Stage

type Stage struct {

    // Settings for logging access in this stage.
    AccessLogSettings *AccessLogSettings `locationName:"accessLogSettings" type:"structure"`

    // Specifies whether a stage is managed by API Gateway. If you created an API
    // using quick create, the $default stage is managed by API Gateway. You can't
    // modify the $default stage.
    ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

    // Specifies whether updates to an API automatically trigger a new deployment.
    // The default value is false.
    AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"`

    // The identifier of a client certificate for a Stage. Supported only for WebSocket
    // APIs.
    ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

    // The timestamp when the stage was created.
    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // Default route settings for the stage.
    DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

    // The identifier of the Deployment that the Stage is associated with. Can't
    // be updated if autoDeploy is enabled.
    DeploymentId *string `locationName:"deploymentId" type:"string"`

    // The description of the stage.
    Description *string `locationName:"description" type:"string"`

    // Describes the status of the last deployment of a stage. Supported only for
    // stages with autoDeploy enabled.
    LastDeploymentStatusMessage *string `locationName:"lastDeploymentStatusMessage" type:"string"`

    // The timestamp when the stage was last updated.
    LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"`

    // Route settings for the stage, by routeKey.
    RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"`

    // The name of the stage.
    //
    // StageName is a required field
    StageName *string `locationName:"stageName" type:"string" required:"true"`

    // A map that defines the stage variables for a stage resource. Variable names
    // can have alphanumeric and underscore characters, and the values must match
    // [A-Za-z0-9-._~:/?#&=,]+.
    StageVariables map[string]*string `locationName:"stageVariables" type:"map"`

    // 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 an API stage.

func (Stage) GoString

func (s Stage) GoString() string

GoString returns the string representation

func (*Stage) SetAccessLogSettings

func (s *Stage) SetAccessLogSettings(v *AccessLogSettings) *Stage

SetAccessLogSettings sets the AccessLogSettings field's value.

func (*Stage) SetApiGatewayManaged

func (s *Stage) SetApiGatewayManaged(v bool) *Stage

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*Stage) SetAutoDeploy

func (s *Stage) SetAutoDeploy(v bool) *Stage

SetAutoDeploy sets the AutoDeploy field's value.

func (*Stage) SetClientCertificateId

func (s *Stage) SetClientCertificateId(v string) *Stage

SetClientCertificateId sets the ClientCertificateId field's value.

func (*Stage) SetCreatedDate

func (s *Stage) SetCreatedDate(v time.Time) *Stage

SetCreatedDate sets the CreatedDate field's value.

func (*Stage) SetDefaultRouteSettings

func (s *Stage) SetDefaultRouteSettings(v *RouteSettings) *Stage

SetDefaultRouteSettings sets the DefaultRouteSettings field's value.

func (*Stage) SetDeploymentId

func (s *Stage) SetDeploymentId(v string) *Stage

SetDeploymentId sets the DeploymentId field's value.

func (*Stage) SetDescription

func (s *Stage) SetDescription(v string) *Stage

SetDescription sets the Description field's value.

func (*Stage) SetLastDeploymentStatusMessage

func (s *Stage) SetLastDeploymentStatusMessage(v string) *Stage

SetLastDeploymentStatusMessage sets the LastDeploymentStatusMessage field's value.

func (*Stage) SetLastUpdatedDate

func (s *Stage) SetLastUpdatedDate(v time.Time) *Stage

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*Stage) SetRouteSettings

func (s *Stage) SetRouteSettings(v map[string]*RouteSettings) *Stage

SetRouteSettings sets the RouteSettings field's value.

func (*Stage) SetStageName

func (s *Stage) SetStageName(v string) *Stage

SetStageName sets the StageName field's value.

func (*Stage) SetStageVariables

func (s *Stage) SetStageVariables(v map[string]*string) *Stage

SetStageVariables sets the StageVariables field's value.

func (*Stage) SetTags

func (s *Stage) SetTags(v map[string]*string) *Stage

SetTags sets the Tags field's value.

func (Stage) String

func (s Stage) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

    // Represents a collection of tags associated with the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
    // contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TlsConfig

type TlsConfig struct {

    // If you specify a server name, API Gateway uses it to verify the hostname
    // on the integration's certificate. The server name is also included in the
    // TLS handshake to support Server Name Indication (SNI) or virtual hosting.
    ServerN