apigatewayv2

package
v1.19.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2019 License: Apache-2.0 Imports: 9 Imported by: 94

Documentation

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

Index

Constants

View Source
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"
)

The authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.

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

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

Represents a connection type.

View Source
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.

View Source
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.

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

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

Represents an endpoint type.

View Source
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.

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

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

	// LoggingLevelFalse is a LoggingLevel enum value
	LoggingLevelFalse = "false"
)

The logging level.

View Source
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.

View Source
const (

	// 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"
)
View Source
const (
	ServiceName = "ApiGatewayV2" // Name of service.
	EndpointsID = "apigateway"   // ID to lookup a service endpoint with.
	ServiceID   = "ApiGatewayV2" // ServiceID is a unique identifer of a specific service.
)

Service information constants

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

The authorizer type. Currently the only valid value is REQUEST, for a Lambda function using incoming request parameters.

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

Variables

This section is empty.

Functions

This section is empty.

Types

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. 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"`

	// 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.
	DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

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

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

	// The route selection expression for the API.
	//
	// RouteSelectionExpression is a required field
	RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string" required:"true"`

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

// 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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 (*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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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) 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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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) 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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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) 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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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 (*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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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.

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

Returned Error Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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.

The 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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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) 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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

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

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

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 Codes:

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

  • ErrCodeTooManyRequestsException "TooManyRequestsException" A limit has been exceeded. See the accompanying error message for details.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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.

type ApiMapping added in v1.17.8

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 added in v1.17.8

func (s ApiMapping) GoString() string

GoString returns the string representation

func (*ApiMapping) SetApiId added in v1.17.8

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

SetApiId sets the ApiId field's value.

func (*ApiMapping) SetApiMappingId added in v1.17.8

func (s *ApiMapping) SetApiMappingId(v string) *ApiMapping

SetApiMappingId sets the ApiMappingId field's value.

func (*ApiMapping) SetApiMappingKey added in v1.17.8

func (s *ApiMapping) SetApiMappingKey(v string) *ApiMapping

SetApiMappingKey sets the ApiMappingKey field's value.

func (*ApiMapping) SetStage added in v1.17.8

func (s *ApiMapping) SetStage(v string) *ApiMapping

SetStage sets the Stage field's value.

func (ApiMapping) String added in v1.17.8

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.
	AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"`

	// The authorizer identifier.
	AuthorizerId *string `locationName:"authorizerId" type:"string"`

	// The time to live (TTL), in seconds, of cached authorizer results. If it equals
	// 0, authorization caching is disabled. If it is greater than 0, API Gateway
	// will cache authorizer responses. If this field is not set, the default value
	// is 300. The maximum value is 3600, or 1 hour.
	AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

	// The authorizer type. Currently the only valid value is REQUEST, for a Lambda
	// function using incoming request parameters.
	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.
	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 and a
	// Name query string parameters 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"`

	// The validation expression does not apply to the REQUEST authorizer.
	IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

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

	// For REQUEST authorizer, this is not defined.
	ProviderArns []*string `locationName:"providerArns" type:"list"`
	// 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) SetName

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

SetName sets the Name field's value.

func (*Authorizer) SetProviderArns

func (s *Authorizer) SetProviderArns(v []*string) *Authorizer

SetProviderArns sets the ProviderArns field's value.

func (Authorizer) String

func (s Authorizer) String() string

String returns the string representation

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"`

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

	// ProtocolType is a required field
	ProtocolType *string `locationName:"protocolType" type:"string" required:"true" 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 is a required field
	RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string" required:"true"`

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

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

SetRouteSelectionExpression sets the RouteSelectionExpression 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 evaulating 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

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

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 evaulating 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

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

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"`

	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"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	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"`

	// 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) 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) 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) 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. Currently the only valid value is REQUEST, for a Lambda
	// function using incoming request parameters.
	//
	// 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 is a required field
	AuthorizerUri *string `locationName:"authorizerUri" type:"string" required:"true"`

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

	// A string with a length between [1-128].
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// For REQUEST authorizer, this is not defined.
	ProviderArns []*string `locationName:"providerArns" type:"list"`
	// contains filtered or unexported fields
}

func (CreateAuthorizerInput) GoString

func (s CreateAuthorizerInput) GoString() string

GoString returns the string representation

func (*CreateAuthorizerInput) SetApiId

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) SetName

SetName sets the Name field's value.

func (*CreateAuthorizerInput) SetProviderArns

func (s *CreateAuthorizerInput) SetProviderArns(v []*string) *CreateAuthorizerInput

SetProviderArns sets the ProviderArns field's value.

func (CreateAuthorizerInput) 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. Currently the only valid value is REQUEST, for a Lambda
	// function using incoming request parameters.
	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"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// For REQUEST authorizer, this is not defined.
	ProviderArns []*string `locationName:"providerArns" type:"list"`
	// 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) SetName

SetName sets the Name field's value.

func (*CreateAuthorizerOutput) SetProviderArns

func (s *CreateAuthorizerOutput) SetProviderArns(v []*string) *CreateAuthorizerOutput

SetProviderArns sets the ProviderArns 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

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

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 {
	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) SetCreatedDate

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

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

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) 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.
	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.
	PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

	// 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-29000].
	TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`
	// contains filtered or unexported fields
}

func (CreateIntegrationInput) GoString

func (s CreateIntegrationInput) GoString() string

GoString returns the string representation

func (*CreateIntegrationInput) SetApiId

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

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) 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) 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 {

	// 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.
	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.
	PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

	// 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-29000].
	TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`
	// contains filtered or unexported fields
}

func (CreateIntegrationOutput) GoString

func (s CreateIntegrationOutput) GoString() string

GoString returns the string representation

func (*CreateIntegrationOutput) SetConnectionId

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

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) 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) 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.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// IntegrationId is a required field
	IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`

	// After evaulating 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

GoString returns the string representation

func (*CreateIntegrationResponseInput) SetApiId

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

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

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateIntegrationResponseInput) SetResponseTemplates

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

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.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// The identifier.
	IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"`

	// After evaulating 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

GoString returns the string representation

func (*CreateIntegrationResponseOutput) SetContentHandlingStrategy

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*CreateIntegrationResponseOutput) SetIntegrationResponseId

SetIntegrationResponseId sets the IntegrationResponseId field's value.

func (*CreateIntegrationResponseOutput) SetIntegrationResponseKey

SetIntegrationResponseKey sets the IntegrationResponseKey field's value.

func (*CreateIntegrationResponseOutput) SetResponseParameters

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateIntegrationResponseOutput) SetResponseTemplates

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

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

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 COGNITO_USER_POOLS 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. Valid values are NONE for open access, AWS_IAM for
	// using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
	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 evaulating 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 {
	ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

	// A list of authorization scopes configured on a route. The scopes are used
	// with a COGNITO_USER_POOLS 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. Valid values are NONE for open access, AWS_IAM for
	// using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
	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 evaulating 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) 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 evaulating 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

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

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateRouteResponseInput) SetRouteId

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 evaulating 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

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateRouteResponseOutput) SetRouteResponseId

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"`

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

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

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

func (s CreateStageOutput) 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

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

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

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

GoString returns the string representation

func (*DeleteIntegrationResponseInput) SetApiId

SetApiId sets the ApiId field's value.

func (*DeleteIntegrationResponseInput) SetIntegrationId

SetIntegrationId sets the IntegrationId field's value.

func (*DeleteIntegrationResponseInput) SetIntegrationResponseId

SetIntegrationResponseId sets the IntegrationResponseId field's value.

func (DeleteIntegrationResponseInput) 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

GoString returns the string representation

func (DeleteIntegrationResponseOutput) 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 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

SetApiId sets the ApiId field's value.

func (*DeleteRouteResponseInput) SetRouteId

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 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 Deployment

type Deployment struct {

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

func (s DomainName) String() string

String returns the string representation

type DomainNameConfiguration

type DomainNameConfiguration struct {

	// A domain name for the WebSocket 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 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"`
	// 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) SetEndpointType

SetEndpointType sets the EndpointType field's value.

func (*DomainNameConfiguration) SetHostedZoneId

SetHostedZoneId sets the HostedZoneId field's value.

func (DomainNameConfiguration) String

func (s DomainNameConfiguration) 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 evaulating 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

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

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 added in v1.17.8

SetItems sets the Items field's value.

func (*GetApiMappingsOutput) SetNextToken added in v1.17.8

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"`

	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"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	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"`

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

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. Currently the only valid value is REQUEST, for a Lambda
	// function using incoming request parameters.
	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"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// For REQUEST authorizer, this is not defined.
	ProviderArns []*string `locationName:"providerArns" type:"list"`
	// 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) SetName

SetName sets the Name field's value.

func (*GetAuthorizerOutput) SetProviderArns

func (s *GetAuthorizerOutput) SetProviderArns(v []*string) *GetAuthorizerOutput

SetProviderArns sets the ProviderArns 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

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

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

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 {
	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) 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

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

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

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

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 {

	// 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.
	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.
	PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

	// 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-29000].
	TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`
	// contains filtered or unexported fields
}

func (GetIntegrationOutput) GoString

func (s GetIntegrationOutput) GoString() string

GoString returns the string representation

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

SetApiId sets the ApiId field's value.

func (*GetIntegrationResponseInput) SetIntegrationId

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

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.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// The identifier.
	IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"`

	// After evaulating 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

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

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

SetApiId sets the ApiId field's value.

func (*GetIntegrationResponsesInput) SetIntegrationId

SetIntegrationId sets the IntegrationId field's value.

func (*GetIntegrationResponsesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetIntegrationResponsesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetIntegrationResponsesInput) 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

GoString returns the string representation

func (*GetIntegrationResponsesOutput) SetItems

SetItems sets the Items field's value.

func (*GetIntegrationResponsesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetIntegrationResponsesOutput) 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

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

SetItems sets the Items field's value.

func (*GetIntegrationsOutput) SetNextToken

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

SetApiId sets the ApiId field's value.

func (*GetModelTemplateInput) SetModelId

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

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 {
	ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

	// A list of authorization scopes configured on a route. The scopes are used
	// with a COGNITO_USER_POOLS 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. Valid values are NONE for open access, AWS_IAM for
	// using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
	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 evaulating 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) 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

SetApiId sets the ApiId field's value.

func (*GetRouteResponseInput) SetRouteId

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 evaulating 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

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

SetApiId sets the ApiId field's value.

func (*GetRouteResponsesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetRouteResponsesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetRouteResponsesInput) SetRouteId

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

SetItems sets the Items field's value.

func (*GetRouteResponsesOutput) SetNextToken

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"`

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

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

type Integration struct {

	// The connection ID.
	ConnectionId *string `locationName:"connectionId" type:"string"`

	// The type of the network connection to the integration endpoint. Currently
	// the only valid value is INTERNET, for connections through the public routable
	// internet.
	ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"`

	// 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. 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.
	//
	// 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.
	//
	// HTTP_PROXY: for integrating 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.
	IntegrationType *string `locationName:"integrationType" type:"string" enum:"IntegrationType"`

	// For a Lambda proxy integration, this is the URI of the Lambda function.
	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.
	//
	// 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"`

	// 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.
	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.
	RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"`

	// The template selection expression for the integration.
	TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

	// Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000
	// milliseconds or 29 seconds.
	TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`
	// contains filtered or unexported fields
}

Represents an integration.

func (Integration) GoString

func (s Integration) GoString() string

GoString returns the string representation

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) 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) String

func (s Integration) String() string

String returns the string representation

type IntegrationResponse

type IntegrationResponse struct {

	// 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 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. 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 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 Route

type Route struct {

	// Specifies whether an API key is required for this route.
	ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

	// A list of authorization scopes configured on a route. The scopes are used
	// with a COGNITO_USER_POOLS 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. Valid values are NONE for open access,
	// AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer
	AuthorizationType *string `locationName:"authorizationType" type:"string" enum:"AuthorizationType"`

	// The identifier of the Authorizer resource to be associated with this route,
	// if the authorizationType is CUSTOM . 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.
	ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

	// The operation name for the route.
	OperationName *string `locationName:"operationName" type:"string"`

	// The request models for the route.
	RequestModels map[string]*string `locationName:"requestModels" type:"map"`

	// The request parameters for the route.
	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.
	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) 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.
	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.
	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: DEBUG, INFO, or WARN. This property
	// affects the log entries pushed to Amazon CloudWatch Logs.
	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"`

	// The identifier of a client certificate for a Stage.
	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.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

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

	// The timestamp when the stage was last updated.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"`

	// Route settings for the stage.
	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"`
	// 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) 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) 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) String

func (s Stage) String() string

String returns the string representation

type UpdateApiInput

type UpdateApiInput 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.
	ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" 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 *string `locationName:"name" 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"`

	// A string with a length between [1-64].
	Version *string `locationName:"version" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateApiInput) GoString

func (s UpdateApiInput) GoString() string

GoString returns the string representation

func (*UpdateApiInput) SetApiId

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

SetApiId sets the ApiId field's value.

func (*UpdateApiInput) SetApiKeySelectionExpression

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

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*UpdateApiInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateApiInput) SetDisableSchemaValidation

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

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*UpdateApiInput) SetName

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

SetName sets the Name field's value.

func (*UpdateApiInput) SetRouteSelectionExpression

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

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*UpdateApiInput) SetVersion

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

SetVersion sets the Version field's value.

func (UpdateApiInput) String

func (s UpdateApiInput) String() string

String returns the string representation

func (*UpdateApiInput) Validate

func (s *UpdateApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateApiMappingInput

type UpdateApiMappingInput struct {

	// The identifier.
	//
	// ApiId is a required field
	ApiId *string `locationName:"apiId" type:"string" required:"true"`

	// ApiMappingId is a required field
	ApiMappingId *string `location:"uri" locationName:"apiMappingId" type:"string" required:"true"`

	// After evaulating 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 *string `locationName:"stage" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateApiMappingInput) GoString

func (s UpdateApiMappingInput) GoString() string

GoString returns the string representation

func (*UpdateApiMappingInput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateApiMappingInput) SetApiMappingId

func (s *UpdateApiMappingInput) SetApiMappingId(v string) *UpdateApiMappingInput

SetApiMappingId sets the ApiMappingId field's value.

func (*UpdateApiMappingInput) SetApiMappingKey

func (s *UpdateApiMappingInput) SetApiMappingKey(v string) *UpdateApiMappingInput

SetApiMappingKey sets the ApiMappingKey field's value.

func (*UpdateApiMappingInput) SetDomainName

func (s *UpdateApiMappingInput) SetDomainName(v string) *UpdateApiMappingInput

SetDomainName sets the DomainName field's value.

func (*UpdateApiMappingInput) SetStage

SetStage sets the Stage field's value.

func (UpdateApiMappingInput) String

func (s UpdateApiMappingInput) String() string

String returns the string representation

func (*UpdateApiMappingInput) Validate

func (s *UpdateApiMappingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateApiMappingOutput

type UpdateApiMappingOutput struct {

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

	// The identifier.
	ApiMappingId *string `locationName:"apiMappingId" type:"string"`

	// After evaulating 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 (UpdateApiMappingOutput) GoString

func (s UpdateApiMappingOutput) GoString() string

GoString returns the string representation

func (*UpdateApiMappingOutput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateApiMappingOutput) SetApiMappingId

func (s *UpdateApiMappingOutput) SetApiMappingId(v string) *UpdateApiMappingOutput

SetApiMappingId sets the ApiMappingId field's value.

func (*UpdateApiMappingOutput) SetApiMappingKey

func (s *UpdateApiMappingOutput) SetApiMappingKey(v string) *UpdateApiMappingOutput

SetApiMappingKey sets the ApiMappingKey field's value.

func (*UpdateApiMappingOutput) SetStage

SetStage sets the Stage field's value.

func (UpdateApiMappingOutput) String

func (s UpdateApiMappingOutput) String() string

String returns the string representation

type UpdateApiOutput

type UpdateApiOutput 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"`

	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"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	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"`

	// 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 (UpdateApiOutput) GoString

func (s UpdateApiOutput) GoString() string

GoString returns the string representation

func (*UpdateApiOutput) SetApiEndpoint

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

SetApiEndpoint sets the ApiEndpoint field's value.

func (*UpdateApiOutput) SetApiId

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

SetApiId sets the ApiId field's value.

func (*UpdateApiOutput) SetApiKeySelectionExpression

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

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*UpdateApiOutput) SetCreatedDate

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

SetCreatedDate sets the CreatedDate field's value.

func (*UpdateApiOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateApiOutput) SetDisableSchemaValidation

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

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*UpdateApiOutput) SetName

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

SetName sets the Name field's value.

func (*UpdateApiOutput) SetProtocolType

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

SetProtocolType sets the ProtocolType field's value.

func (*UpdateApiOutput) SetRouteSelectionExpression

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

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*UpdateApiOutput) SetVersion

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

SetVersion sets the Version field's value.

func (*UpdateApiOutput) SetWarnings

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

SetWarnings sets the Warnings field's value.

func (UpdateApiOutput) String

func (s UpdateApiOutput) String() string

String returns the string representation

type UpdateAuthorizerInput

type UpdateAuthorizerInput 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"`

	// AuthorizerId is a required field
	AuthorizerId *string `location:"uri" locationName:"authorizerId" type:"string" required:"true"`

	// An integer with a value between [0-3600].
	AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

	// The authorizer type. Currently the only valid value is REQUEST, for a Lambda
	// function using incoming request parameters.
	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"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// For REQUEST authorizer, this is not defined.
	ProviderArns []*string `locationName:"providerArns" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateAuthorizerInput) GoString

func (s UpdateAuthorizerInput) GoString() string

GoString returns the string representation

func (*UpdateAuthorizerInput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateAuthorizerInput) SetAuthorizerCredentialsArn

func (s *UpdateAuthorizerInput) SetAuthorizerCredentialsArn(v string) *UpdateAuthorizerInput

SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.

func (*UpdateAuthorizerInput) SetAuthorizerId

func (s *UpdateAuthorizerInput) SetAuthorizerId(v string) *UpdateAuthorizerInput

SetAuthorizerId sets the AuthorizerId field's value.

func (*UpdateAuthorizerInput) SetAuthorizerResultTtlInSeconds

func (s *UpdateAuthorizerInput) SetAuthorizerResultTtlInSeconds(v int64) *UpdateAuthorizerInput

SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.

func (*UpdateAuthorizerInput) SetAuthorizerType

func (s *UpdateAuthorizerInput) SetAuthorizerType(v string) *UpdateAuthorizerInput

SetAuthorizerType sets the AuthorizerType field's value.

func (*UpdateAuthorizerInput) SetAuthorizerUri

func (s *UpdateAuthorizerInput) SetAuthorizerUri(v string) *UpdateAuthorizerInput

SetAuthorizerUri sets the AuthorizerUri field's value.

func (*UpdateAuthorizerInput) SetIdentitySource

func (s *UpdateAuthorizerInput) SetIdentitySource(v []*string) *UpdateAuthorizerInput

SetIdentitySource sets the IdentitySource field's value.

func (*UpdateAuthorizerInput) SetIdentityValidationExpression

func (s *UpdateAuthorizerInput) SetIdentityValidationExpression(v string) *UpdateAuthorizerInput

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*UpdateAuthorizerInput) SetName

SetName sets the Name field's value.

func (*UpdateAuthorizerInput) SetProviderArns

func (s *UpdateAuthorizerInput) SetProviderArns(v []*string) *UpdateAuthorizerInput

SetProviderArns sets the ProviderArns field's value.

func (UpdateAuthorizerInput) String

func (s UpdateAuthorizerInput) String() string

String returns the string representation

func (*UpdateAuthorizerInput) Validate

func (s *UpdateAuthorizerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateAuthorizerOutput

type UpdateAuthorizerOutput 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. Currently the only valid value is REQUEST, for a Lambda
	// function using incoming request parameters.
	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"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// For REQUEST authorizer, this is not defined.
	ProviderArns []*string `locationName:"providerArns" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateAuthorizerOutput) GoString

func (s UpdateAuthorizerOutput) GoString() string

GoString returns the string representation

func (*UpdateAuthorizerOutput) SetAuthorizerCredentialsArn

func (s *UpdateAuthorizerOutput) SetAuthorizerCredentialsArn(v string) *UpdateAuthorizerOutput

SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.

func (*UpdateAuthorizerOutput) SetAuthorizerId

func (s *UpdateAuthorizerOutput) SetAuthorizerId(v string) *UpdateAuthorizerOutput

SetAuthorizerId sets the AuthorizerId field's value.

func (*UpdateAuthorizerOutput) SetAuthorizerResultTtlInSeconds

func (s *UpdateAuthorizerOutput) SetAuthorizerResultTtlInSeconds(v int64) *UpdateAuthorizerOutput

SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.

func (*UpdateAuthorizerOutput) SetAuthorizerType

func (s *UpdateAuthorizerOutput) SetAuthorizerType(v string) *UpdateAuthorizerOutput

SetAuthorizerType sets the AuthorizerType field's value.

func (*UpdateAuthorizerOutput) SetAuthorizerUri

func (s *UpdateAuthorizerOutput) SetAuthorizerUri(v string) *UpdateAuthorizerOutput

SetAuthorizerUri sets the AuthorizerUri field's value.

func (*UpdateAuthorizerOutput) SetIdentitySource

func (s *UpdateAuthorizerOutput) SetIdentitySource(v []*string) *UpdateAuthorizerOutput

SetIdentitySource sets the IdentitySource field's value.

func (*UpdateAuthorizerOutput) SetIdentityValidationExpression

func (s *UpdateAuthorizerOutput) SetIdentityValidationExpression(v string) *UpdateAuthorizerOutput

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*UpdateAuthorizerOutput) SetName

SetName sets the Name field's value.

func (*UpdateAuthorizerOutput) SetProviderArns

func (s *UpdateAuthorizerOutput) SetProviderArns(v []*string) *UpdateAuthorizerOutput

SetProviderArns sets the ProviderArns field's value.

func (UpdateAuthorizerOutput) String

func (s UpdateAuthorizerOutput) String() string

String returns the string representation

type UpdateDeploymentInput

type UpdateDeploymentInput 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"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateDeploymentInput) GoString

func (s UpdateDeploymentInput) GoString() string

GoString returns the string representation

func (*UpdateDeploymentInput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateDeploymentInput) SetDeploymentId

func (s *UpdateDeploymentInput) SetDeploymentId(v string) *UpdateDeploymentInput

SetDeploymentId sets the DeploymentId field's value.

func (*UpdateDeploymentInput) SetDescription

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

SetDescription sets the Description field's value.

func (UpdateDeploymentInput) String

func (s UpdateDeploymentInput) String() string

String returns the string representation

func (*UpdateDeploymentInput) Validate

func (s *UpdateDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDeploymentOutput

type UpdateDeploymentOutput struct {
	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 (UpdateDeploymentOutput) GoString

func (s UpdateDeploymentOutput) GoString() string

GoString returns the string representation

func (*UpdateDeploymentOutput) SetCreatedDate

SetCreatedDate sets the CreatedDate field's value.

func (*UpdateDeploymentOutput) SetDeploymentId

func (s *UpdateDeploymentOutput) SetDeploymentId(v string) *UpdateDeploymentOutput

SetDeploymentId sets the DeploymentId field's value.

func (*UpdateDeploymentOutput) SetDeploymentStatus

func (s *UpdateDeploymentOutput) SetDeploymentStatus(v string) *UpdateDeploymentOutput

SetDeploymentStatus sets the DeploymentStatus field's value.

func (*UpdateDeploymentOutput) SetDeploymentStatusMessage

func (s *UpdateDeploymentOutput) SetDeploymentStatusMessage(v string) *UpdateDeploymentOutput

SetDeploymentStatusMessage sets the DeploymentStatusMessage field's value.

func (*UpdateDeploymentOutput) SetDescription

SetDescription sets the Description field's value.

func (UpdateDeploymentOutput) String

func (s UpdateDeploymentOutput) String() string

String returns the string representation

type UpdateDomainNameInput

type UpdateDomainNameInput struct {

	// DomainName is a required field
	DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`

	// The domain name configurations.
	DomainNameConfigurations []*DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateDomainNameInput) GoString

func (s UpdateDomainNameInput) GoString() string

GoString returns the string representation

func (*UpdateDomainNameInput) SetDomainName

func (s *UpdateDomainNameInput) SetDomainName(v string) *UpdateDomainNameInput

SetDomainName sets the DomainName field's value.

func (*UpdateDomainNameInput) SetDomainNameConfigurations

func (s *UpdateDomainNameInput) SetDomainNameConfigurations(v []*DomainNameConfiguration) *UpdateDomainNameInput

SetDomainNameConfigurations sets the DomainNameConfigurations field's value.

func (UpdateDomainNameInput) String

func (s UpdateDomainNameInput) String() string

String returns the string representation

func (*UpdateDomainNameInput) Validate

func (s *UpdateDomainNameInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDomainNameOutput

type UpdateDomainNameOutput 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"`
	// contains filtered or unexported fields
}

func (UpdateDomainNameOutput) GoString

func (s UpdateDomainNameOutput) GoString() string

GoString returns the string representation

func (*UpdateDomainNameOutput) SetApiMappingSelectionExpression

func (s *UpdateDomainNameOutput) SetApiMappingSelectionExpression(v string) *UpdateDomainNameOutput

SetApiMappingSelectionExpression sets the ApiMappingSelectionExpression field's value.

func (*UpdateDomainNameOutput) SetDomainName

SetDomainName sets the DomainName field's value.

func (*UpdateDomainNameOutput) SetDomainNameConfigurations

func (s *UpdateDomainNameOutput) SetDomainNameConfigurations(v []*DomainNameConfiguration) *UpdateDomainNameOutput

SetDomainNameConfigurations sets the DomainNameConfigurations field's value.

func (UpdateDomainNameOutput) String

func (s UpdateDomainNameOutput) String() string

String returns the string representation

type UpdateIntegrationInput

type UpdateIntegrationInput 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.
	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"`

	// IntegrationId is a required field
	IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`

	// A string with a length between [1-64].
	IntegrationMethod *string `locationName:"integrationMethod" 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.
	PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

	// 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-29000].
	TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`
	// contains filtered or unexported fields
}

func (UpdateIntegrationInput) GoString

func (s UpdateIntegrationInput) GoString() string

GoString returns the string representation

func (*UpdateIntegrationInput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateIntegrationInput) SetConnectionId

func (s *UpdateIntegrationInput) SetConnectionId(v string) *UpdateIntegrationInput

SetConnectionId sets the ConnectionId field's value.

func (*UpdateIntegrationInput) SetConnectionType

func (s *UpdateIntegrationInput) SetConnectionType(v string) *UpdateIntegrationInput

SetConnectionType sets the ConnectionType field's value.

func (*UpdateIntegrationInput) SetContentHandlingStrategy

func (s *UpdateIntegrationInput) SetContentHandlingStrategy(v string) *UpdateIntegrationInput

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*UpdateIntegrationInput) SetCredentialsArn

func (s *UpdateIntegrationInput) SetCredentialsArn(v string) *UpdateIntegrationInput

SetCredentialsArn sets the CredentialsArn field's value.

func (*UpdateIntegrationInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateIntegrationInput) SetIntegrationId

func (s *UpdateIntegrationInput) SetIntegrationId(v string) *UpdateIntegrationInput

SetIntegrationId sets the IntegrationId field's value.

func (*UpdateIntegrationInput) SetIntegrationMethod

func (s *UpdateIntegrationInput) SetIntegrationMethod(v string) *UpdateIntegrationInput

SetIntegrationMethod sets the IntegrationMethod field's value.

func (*UpdateIntegrationInput) SetIntegrationType

func (s *UpdateIntegrationInput) SetIntegrationType(v string) *UpdateIntegrationInput

SetIntegrationType sets the IntegrationType field's value.

func (*UpdateIntegrationInput) SetIntegrationUri

func (s *UpdateIntegrationInput) SetIntegrationUri(v string) *UpdateIntegrationInput

SetIntegrationUri sets the IntegrationUri field's value.

func (*UpdateIntegrationInput) SetPassthroughBehavior

func (s *UpdateIntegrationInput) SetPassthroughBehavior(v string) *UpdateIntegrationInput

SetPassthroughBehavior sets the PassthroughBehavior field's value.

func (*UpdateIntegrationInput) SetRequestParameters

func (s *UpdateIntegrationInput) SetRequestParameters(v map[string]*string) *UpdateIntegrationInput

SetRequestParameters sets the RequestParameters field's value.

func (*UpdateIntegrationInput) SetRequestTemplates

func (s *UpdateIntegrationInput) SetRequestTemplates(v map[string]*string) *UpdateIntegrationInput

SetRequestTemplates sets the RequestTemplates field's value.

func (*UpdateIntegrationInput) SetTemplateSelectionExpression

func (s *UpdateIntegrationInput) SetTemplateSelectionExpression(v string) *UpdateIntegrationInput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (*UpdateIntegrationInput) SetTimeoutInMillis

func (s *UpdateIntegrationInput) SetTimeoutInMillis(v int64) *UpdateIntegrationInput

SetTimeoutInMillis sets the TimeoutInMillis field's value.

func (UpdateIntegrationInput) String

func (s UpdateIntegrationInput) String() string

String returns the string representation

func (*UpdateIntegrationInput) Validate

func (s *UpdateIntegrationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateIntegrationOutput

type UpdateIntegrationOutput struct {

	// 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.
	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.
	PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

	// 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-29000].
	TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`
	// contains filtered or unexported fields
}

func (UpdateIntegrationOutput) GoString

func (s UpdateIntegrationOutput) GoString() string

GoString returns the string representation

func (*UpdateIntegrationOutput) SetConnectionId

SetConnectionId sets the ConnectionId field's value.

func (*UpdateIntegrationOutput) SetConnectionType

func (s *UpdateIntegrationOutput) SetConnectionType(v string) *UpdateIntegrationOutput

SetConnectionType sets the ConnectionType field's value.

func (*UpdateIntegrationOutput) SetContentHandlingStrategy

func (s *UpdateIntegrationOutput) SetContentHandlingStrategy(v string) *UpdateIntegrationOutput

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*UpdateIntegrationOutput) SetCredentialsArn

func (s *UpdateIntegrationOutput) SetCredentialsArn(v string) *UpdateIntegrationOutput

SetCredentialsArn sets the CredentialsArn field's value.

func (*UpdateIntegrationOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateIntegrationOutput) SetIntegrationId

func (s *UpdateIntegrationOutput) SetIntegrationId(v string) *UpdateIntegrationOutput

SetIntegrationId sets the IntegrationId field's value.

func (*UpdateIntegrationOutput) SetIntegrationMethod

func (s *UpdateIntegrationOutput) SetIntegrationMethod(v string) *UpdateIntegrationOutput

SetIntegrationMethod sets the IntegrationMethod field's value.

func (*UpdateIntegrationOutput) SetIntegrationResponseSelectionExpression

func (s *UpdateIntegrationOutput) SetIntegrationResponseSelectionExpression(v string) *UpdateIntegrationOutput

SetIntegrationResponseSelectionExpression sets the IntegrationResponseSelectionExpression field's value.

func (*UpdateIntegrationOutput) SetIntegrationType

func (s *UpdateIntegrationOutput) SetIntegrationType(v string) *UpdateIntegrationOutput

SetIntegrationType sets the IntegrationType field's value.

func (*UpdateIntegrationOutput) SetIntegrationUri

func (s *UpdateIntegrationOutput) SetIntegrationUri(v string) *UpdateIntegrationOutput

SetIntegrationUri sets the IntegrationUri field's value.

func (*UpdateIntegrationOutput) SetPassthroughBehavior

func (s *UpdateIntegrationOutput) SetPassthroughBehavior(v string) *UpdateIntegrationOutput

SetPassthroughBehavior sets the PassthroughBehavior field's value.

func (*UpdateIntegrationOutput) SetRequestParameters

func (s *UpdateIntegrationOutput) SetRequestParameters(v map[string]*string) *UpdateIntegrationOutput

SetRequestParameters sets the RequestParameters field's value.

func (*UpdateIntegrationOutput) SetRequestTemplates

func (s *UpdateIntegrationOutput) SetRequestTemplates(v map[string]*string) *UpdateIntegrationOutput

SetRequestTemplates sets the RequestTemplates field's value.

func (*UpdateIntegrationOutput) SetTemplateSelectionExpression

func (s *UpdateIntegrationOutput) SetTemplateSelectionExpression(v string) *UpdateIntegrationOutput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (*UpdateIntegrationOutput) SetTimeoutInMillis

func (s *UpdateIntegrationOutput) SetTimeoutInMillis(v int64) *UpdateIntegrationOutput

SetTimeoutInMillis sets the TimeoutInMillis field's value.

func (UpdateIntegrationOutput) String

func (s UpdateIntegrationOutput) String() string

String returns the string representation

type UpdateIntegrationResponseInput

type UpdateIntegrationResponseInput 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.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

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

	// After evaulating 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 (UpdateIntegrationResponseInput) GoString

GoString returns the string representation

func (*UpdateIntegrationResponseInput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateIntegrationResponseInput) SetContentHandlingStrategy

func (s *UpdateIntegrationResponseInput) SetContentHandlingStrategy(v string) *UpdateIntegrationResponseInput

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*UpdateIntegrationResponseInput) SetIntegrationId

SetIntegrationId sets the IntegrationId field's value.

func (*UpdateIntegrationResponseInput) SetIntegrationResponseId

SetIntegrationResponseId sets the IntegrationResponseId field's value.

func (*UpdateIntegrationResponseInput) SetIntegrationResponseKey

func (s *UpdateIntegrationResponseInput) SetIntegrationResponseKey(v string) *UpdateIntegrationResponseInput

SetIntegrationResponseKey sets the IntegrationResponseKey field's value.

func (*UpdateIntegrationResponseInput) SetResponseParameters

SetResponseParameters sets the ResponseParameters field's value.

func (*UpdateIntegrationResponseInput) SetResponseTemplates

SetResponseTemplates sets the ResponseTemplates field's value.

func (*UpdateIntegrationResponseInput) SetTemplateSelectionExpression

func (s *UpdateIntegrationResponseInput) SetTemplateSelectionExpression(v string) *UpdateIntegrationResponseInput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (UpdateIntegrationResponseInput) String

String returns the string representation

func (*UpdateIntegrationResponseInput) Validate

func (s *UpdateIntegrationResponseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateIntegrationResponseOutput

type UpdateIntegrationResponseOutput struct {

	// Specifies how to handle response payload content type conversions.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// The identifier.
	IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"`

	// After evaulating 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 (UpdateIntegrationResponseOutput) GoString

GoString returns the string representation

func (*UpdateIntegrationResponseOutput) SetContentHandlingStrategy

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*UpdateIntegrationResponseOutput) SetIntegrationResponseId

SetIntegrationResponseId sets the IntegrationResponseId field's value.

func (*UpdateIntegrationResponseOutput) SetIntegrationResponseKey

SetIntegrationResponseKey sets the IntegrationResponseKey field's value.

func (*UpdateIntegrationResponseOutput) SetResponseParameters

SetResponseParameters sets the ResponseParameters field's value.

func (*UpdateIntegrationResponseOutput) SetResponseTemplates

SetResponseTemplates sets the ResponseTemplates field's value.

func (*UpdateIntegrationResponseOutput) SetTemplateSelectionExpression

func (s *UpdateIntegrationResponseOutput) SetTemplateSelectionExpression(v string) *UpdateIntegrationResponseOutput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (UpdateIntegrationResponseOutput) String

String returns the string representation

type UpdateModelInput

type UpdateModelInput 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"`

	// ModelId is a required field
	ModelId *string `location:"uri" locationName:"modelId" type:"string" required:"true"`

	// 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 (UpdateModelInput) GoString

func (s UpdateModelInput) GoString() string

GoString returns the string representation

func (*UpdateModelInput) SetApiId

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

SetApiId sets the ApiId field's value.

func (*UpdateModelInput) SetContentType

func (s *UpdateModelInput) SetContentType(v string) *UpdateModelInput

SetContentType sets the ContentType field's value.

func (*UpdateModelInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateModelInput) SetModelId

func (s *UpdateModelInput) SetModelId(v string) *UpdateModelInput

SetModelId sets the ModelId field's value.

func (*UpdateModelInput) SetName

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

SetName sets the Name field's value.

func (*UpdateModelInput) SetSchema

func (s *UpdateModelInput) SetSchema(v string) *UpdateModelInput

SetSchema sets the Schema field's value.

func (UpdateModelInput) String

func (s UpdateModelInput) String() string

String returns the string representation

func (*UpdateModelInput) Validate

func (s *UpdateModelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateModelOutput

type UpdateModelOutput 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 (UpdateModelOutput) GoString

func (s UpdateModelOutput) GoString() string

GoString returns the string representation

func (*UpdateModelOutput) SetContentType

func (s *UpdateModelOutput) SetContentType(v string) *UpdateModelOutput

SetContentType sets the ContentType field's value.

func (*UpdateModelOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateModelOutput) SetModelId

func (s *UpdateModelOutput) SetModelId(v string) *UpdateModelOutput

SetModelId sets the ModelId field's value.

func (*UpdateModelOutput) SetName

SetName sets the Name field's value.

func (*UpdateModelOutput) SetSchema

func (s *UpdateModelOutput) SetSchema(v string) *UpdateModelOutput

SetSchema sets the Schema field's value.

func (UpdateModelOutput) String

func (s UpdateModelOutput) String() string

String returns the string representation

type UpdateRouteInput

type UpdateRouteInput 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 COGNITO_USER_POOLS 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. Valid values are NONE for open access, AWS_IAM for
	// using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
	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"`

	// RouteId is a required field
	RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`

	// After evaulating 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 (UpdateRouteInput) GoString

func (s UpdateRouteInput) GoString() string

GoString returns the string representation

func (*UpdateRouteInput) SetApiId

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

SetApiId sets the ApiId field's value.

func (*UpdateRouteInput) SetApiKeyRequired

func (s *UpdateRouteInput) SetApiKeyRequired(v bool) *UpdateRouteInput

SetApiKeyRequired sets the ApiKeyRequired field's value.

func (*UpdateRouteInput) SetAuthorizationScopes

func (s *UpdateRouteInput) SetAuthorizationScopes(v []*string) *UpdateRouteInput

SetAuthorizationScopes sets the AuthorizationScopes field's value.

func (*UpdateRouteInput) SetAuthorizationType

func (s *UpdateRouteInput) SetAuthorizationType(v string) *UpdateRouteInput

SetAuthorizationType sets the AuthorizationType field's value.

func (*UpdateRouteInput) SetAuthorizerId

func (s *UpdateRouteInput) SetAuthorizerId(v string) *UpdateRouteInput

SetAuthorizerId sets the AuthorizerId field's value.

func (*UpdateRouteInput) SetModelSelectionExpression

func (s *UpdateRouteInput) SetModelSelectionExpression(v string) *UpdateRouteInput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*UpdateRouteInput) SetOperationName

func (s *UpdateRouteInput) SetOperationName(v string) *UpdateRouteInput

SetOperationName sets the OperationName field's value.

func (*UpdateRouteInput) SetRequestModels

func (s *UpdateRouteInput) SetRequestModels(v map[string]*string) *UpdateRouteInput

SetRequestModels sets the RequestModels field's value.

func (*UpdateRouteInput) SetRequestParameters

func (s *UpdateRouteInput) SetRequestParameters(v map[string]*ParameterConstraints) *UpdateRouteInput

SetRequestParameters sets the RequestParameters field's value.

func (*UpdateRouteInput) SetRouteId

func (s *UpdateRouteInput) SetRouteId(v string) *UpdateRouteInput

SetRouteId sets the RouteId field's value.

func (*UpdateRouteInput) SetRouteKey

func (s *UpdateRouteInput) SetRouteKey(v string) *UpdateRouteInput

SetRouteKey sets the RouteKey field's value.

func (*UpdateRouteInput) SetRouteResponseSelectionExpression

func (s *UpdateRouteInput) SetRouteResponseSelectionExpression(v string) *UpdateRouteInput

SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.

func (*UpdateRouteInput) SetTarget

func (s *UpdateRouteInput) SetTarget(v string) *UpdateRouteInput

SetTarget sets the Target field's value.

func (UpdateRouteInput) String

func (s UpdateRouteInput) String() string

String returns the string representation

func (*UpdateRouteInput) Validate

func (s *UpdateRouteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRouteOutput

type UpdateRouteOutput struct {
	ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

	// A list of authorization scopes configured on a route. The scopes are used
	// with a COGNITO_USER_POOLS 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. Valid values are NONE for open access, AWS_IAM for
	// using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
	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 evaulating 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 (UpdateRouteOutput) GoString

func (s UpdateRouteOutput) GoString() string

GoString returns the string representation

func (*UpdateRouteOutput) SetApiKeyRequired

func (s *UpdateRouteOutput) SetApiKeyRequired(v bool) *UpdateRouteOutput

SetApiKeyRequired sets the ApiKeyRequired field's value.

func (*UpdateRouteOutput) SetAuthorizationScopes

func (s *UpdateRouteOutput) SetAuthorizationScopes(v []*string) *UpdateRouteOutput

SetAuthorizationScopes sets the AuthorizationScopes field's value.

func (*UpdateRouteOutput) SetAuthorizationType

func (s *UpdateRouteOutput) SetAuthorizationType(v string) *UpdateRouteOutput

SetAuthorizationType sets the AuthorizationType field's value.

func (*UpdateRouteOutput) SetAuthorizerId

func (s *UpdateRouteOutput) SetAuthorizerId(v string) *UpdateRouteOutput

SetAuthorizerId sets the AuthorizerId field's value.

func (*UpdateRouteOutput) SetModelSelectionExpression

func (s *UpdateRouteOutput) SetModelSelectionExpression(v string) *UpdateRouteOutput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*UpdateRouteOutput) SetOperationName

func (s *UpdateRouteOutput) SetOperationName(v string) *UpdateRouteOutput

SetOperationName sets the OperationName field's value.

func (*UpdateRouteOutput) SetRequestModels

func (s *UpdateRouteOutput) SetRequestModels(v map[string]*string) *UpdateRouteOutput

SetRequestModels sets the RequestModels field's value.

func (*UpdateRouteOutput) SetRequestParameters

func (s *UpdateRouteOutput) SetRequestParameters(v map[string]*ParameterConstraints) *UpdateRouteOutput

SetRequestParameters sets the RequestParameters field's value.

func (*UpdateRouteOutput) SetRouteId

func (s *UpdateRouteOutput) SetRouteId(v string) *UpdateRouteOutput

SetRouteId sets the RouteId field's value.

func (*UpdateRouteOutput) SetRouteKey

func (s *UpdateRouteOutput) SetRouteKey(v string) *UpdateRouteOutput

SetRouteKey sets the RouteKey field's value.

func (*UpdateRouteOutput) SetRouteResponseSelectionExpression

func (s *UpdateRouteOutput) SetRouteResponseSelectionExpression(v string) *UpdateRouteOutput

SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.

func (*UpdateRouteOutput) SetTarget

func (s *UpdateRouteOutput) SetTarget(v string) *UpdateRouteOutput

SetTarget sets the Target field's value.

func (UpdateRouteOutput) String

func (s UpdateRouteOutput) String() string

String returns the string representation

type UpdateRouteResponseInput

type UpdateRouteResponseInput 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"`

	// RouteResponseId is a required field
	RouteResponseId *string `location:"uri" locationName:"routeResponseId" type:"string" required:"true"`

	// After evaulating 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 (UpdateRouteResponseInput) GoString

func (s UpdateRouteResponseInput) GoString() string

GoString returns the string representation

func (*UpdateRouteResponseInput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateRouteResponseInput) SetModelSelectionExpression

func (s *UpdateRouteResponseInput) SetModelSelectionExpression(v string) *UpdateRouteResponseInput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*UpdateRouteResponseInput) SetResponseModels

func (s *UpdateRouteResponseInput) SetResponseModels(v map[string]*string) *UpdateRouteResponseInput

SetResponseModels sets the ResponseModels field's value.

func (*UpdateRouteResponseInput) SetResponseParameters

SetResponseParameters sets the ResponseParameters field's value.

func (*UpdateRouteResponseInput) SetRouteId

SetRouteId sets the RouteId field's value.

func (*UpdateRouteResponseInput) SetRouteResponseId

func (s *UpdateRouteResponseInput) SetRouteResponseId(v string) *UpdateRouteResponseInput

SetRouteResponseId sets the RouteResponseId field's value.

func (*UpdateRouteResponseInput) SetRouteResponseKey

func (s *UpdateRouteResponseInput) SetRouteResponseKey(v string) *UpdateRouteResponseInput

SetRouteResponseKey sets the RouteResponseKey field's value.

func (UpdateRouteResponseInput) String

func (s UpdateRouteResponseInput) String() string

String returns the string representation

func (*UpdateRouteResponseInput) Validate

func (s *UpdateRouteResponseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRouteResponseOutput

type UpdateRouteResponseOutput 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 evaulating 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 (UpdateRouteResponseOutput) GoString

func (s UpdateRouteResponseOutput) GoString() string

GoString returns the string representation

func (*UpdateRouteResponseOutput) SetModelSelectionExpression

func (s *UpdateRouteResponseOutput) SetModelSelectionExpression(v string) *UpdateRouteResponseOutput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*UpdateRouteResponseOutput) SetResponseModels

func (s *UpdateRouteResponseOutput) SetResponseModels(v map[string]*string) *UpdateRouteResponseOutput

SetResponseModels sets the ResponseModels field's value.

func (*UpdateRouteResponseOutput) SetResponseParameters

SetResponseParameters sets the ResponseParameters field's value.

func (*UpdateRouteResponseOutput) SetRouteResponseId

SetRouteResponseId sets the RouteResponseId field's value.

func (*UpdateRouteResponseOutput) SetRouteResponseKey

func (s *UpdateRouteResponseOutput) SetRouteResponseKey(v string) *UpdateRouteResponseOutput

SetRouteResponseKey sets the RouteResponseKey field's value.

func (UpdateRouteResponseOutput) String

func (s UpdateRouteResponseOutput) String() string

String returns the string representation

type UpdateStageInput

type UpdateStageInput 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"`

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

	// StageName is a required field
	StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"`

	// The stage variable map.
	StageVariables map[string]*string `locationName:"stageVariables" type:"map"`
	// contains filtered or unexported fields
}

func (UpdateStageInput) GoString

func (s UpdateStageInput) GoString() string

GoString returns the string representation

func (*UpdateStageInput) SetAccessLogSettings

func (s *UpdateStageInput) SetAccessLogSettings(v *AccessLogSettings) *UpdateStageInput

SetAccessLogSettings sets the AccessLogSettings field's value.

func (*UpdateStageInput) SetApiId

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

SetApiId sets the ApiId field's value.

func (*UpdateStageInput) SetClientCertificateId

func (s *UpdateStageInput) SetClientCertificateId(v string) *UpdateStageInput

SetClientCertificateId sets the ClientCertificateId field's value.

func (*UpdateStageInput) SetDefaultRouteSettings

func (s *UpdateStageInput) SetDefaultRouteSettings(v *RouteSettings) *UpdateStageInput

SetDefaultRouteSettings sets the DefaultRouteSettings field's value.

func (*UpdateStageInput) SetDeploymentId

func (s *UpdateStageInput) SetDeploymentId(v string) *UpdateStageInput

SetDeploymentId sets the DeploymentId field's value.

func (*UpdateStageInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateStageInput) SetRouteSettings

func (s *UpdateStageInput) SetRouteSettings(v map[string]*RouteSettings) *UpdateStageInput

SetRouteSettings sets the RouteSettings field's value.

func (*UpdateStageInput) SetStageName

func (s *UpdateStageInput) SetStageName(v string) *UpdateStageInput

SetStageName sets the StageName field's value.

func (*UpdateStageInput) SetStageVariables

func (s *UpdateStageInput) SetStageVariables(v map[string]*string) *UpdateStageInput

SetStageVariables sets the StageVariables field's value.

func (UpdateStageInput) String

func (s UpdateStageInput) String() string

String returns the string representation

func (*UpdateStageInput) Validate

func (s *UpdateStageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateStageOutput

type UpdateStageOutput struct {

	// Settings for logging access in a stage.
	AccessLogSettings *AccessLogSettings `locationName:"accessLogSettings" type:"structure"`

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

	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"`
	// contains filtered or unexported fields
}

func (UpdateStageOutput) GoString

func (s UpdateStageOutput) GoString() string

GoString returns the string representation

func (*UpdateStageOutput) SetAccessLogSettings

func (s *UpdateStageOutput) SetAccessLogSettings(v *AccessLogSettings) *UpdateStageOutput

SetAccessLogSettings sets the AccessLogSettings field's value.

func (*UpdateStageOutput) SetClientCertificateId

func (s *UpdateStageOutput) SetClientCertificateId(v string) *UpdateStageOutput

SetClientCertificateId sets the ClientCertificateId field's value.

func (*UpdateStageOutput) SetCreatedDate

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

SetCreatedDate sets the CreatedDate field's value.

func (*UpdateStageOutput) SetDefaultRouteSettings

func (s *UpdateStageOutput) SetDefaultRouteSettings(v *RouteSettings) *UpdateStageOutput

SetDefaultRouteSettings sets the DefaultRouteSettings field's value.

func (*UpdateStageOutput) SetDeploymentId

func (s *UpdateStageOutput) SetDeploymentId(v string) *UpdateStageOutput

SetDeploymentId sets the DeploymentId field's value.

func (*UpdateStageOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateStageOutput) SetLastUpdatedDate

func (s *UpdateStageOutput) SetLastUpdatedDate(v time.Time) *UpdateStageOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*UpdateStageOutput) SetRouteSettings

func (s *UpdateStageOutput) SetRouteSettings(v map[string]*RouteSettings) *UpdateStageOutput

SetRouteSettings sets the RouteSettings field's value.

func (*UpdateStageOutput) SetStageName

func (s *UpdateStageOutput) SetStageName(v string) *UpdateStageOutput

SetStageName sets the StageName field's value.

func (*UpdateStageOutput) SetStageVariables

func (s *UpdateStageOutput) SetStageVariables(v map[string]*string) *UpdateStageOutput

SetStageVariables sets the StageVariables field's value.

func (UpdateStageOutput) String

func (s UpdateStageOutput) String() string

String returns the string representation

Directories

Path Synopsis
Package apigatewayv2iface provides an interface to enable mocking the AmazonApiGatewayV2 service client for testing your code.
Package apigatewayv2iface provides an interface to enable mocking the AmazonApiGatewayV2 service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL