apigatewayv2

package
v1.38.26-0...-e443fa6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

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"

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

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

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

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

The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).

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. Supported only for WebSocket APIs.

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 (
	// DomainNameStatusAvailable is a DomainNameStatus enum value
	DomainNameStatusAvailable = "AVAILABLE"

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

The status of the domain name migration. The valid values are AVAILABLE and UPDATING. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

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"

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

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. Supported only for WebSocket APIs.

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

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

Represents a protocol type.

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

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

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

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

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

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

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

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

The status of the VPC link.

View Source
const (

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

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

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

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

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

Service information constants

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

The version of the VPC link.

Variables

This section is empty.

Functions

func AuthorizationType_Values

func AuthorizationType_Values() []string

AuthorizationType_Values returns all elements of the AuthorizationType enum

func AuthorizerType_Values

func AuthorizerType_Values() []string

AuthorizerType_Values returns all elements of the AuthorizerType enum

func ConnectionType_Values

func ConnectionType_Values() []string

ConnectionType_Values returns all elements of the ConnectionType enum

func ContentHandlingStrategy_Values

func ContentHandlingStrategy_Values() []string

ContentHandlingStrategy_Values returns all elements of the ContentHandlingStrategy enum

func DeploymentStatus_Values

func DeploymentStatus_Values() []string

DeploymentStatus_Values returns all elements of the DeploymentStatus enum

func DomainNameStatus_Values

func DomainNameStatus_Values() []string

DomainNameStatus_Values returns all elements of the DomainNameStatus enum

func EndpointType_Values

func EndpointType_Values() []string

EndpointType_Values returns all elements of the EndpointType enum

func IntegrationType_Values

func IntegrationType_Values() []string

IntegrationType_Values returns all elements of the IntegrationType enum

func LoggingLevel_Values

func LoggingLevel_Values() []string

LoggingLevel_Values returns all elements of the LoggingLevel enum

func PassthroughBehavior_Values

func PassthroughBehavior_Values() []string

PassthroughBehavior_Values returns all elements of the PassthroughBehavior enum

func ProtocolType_Values

func ProtocolType_Values() []string

ProtocolType_Values returns all elements of the ProtocolType enum

func SecurityPolicy_Values

func SecurityPolicy_Values() []string

SecurityPolicy_Values returns all elements of the SecurityPolicy enum

func VpcLinkStatus_Values

func VpcLinkStatus_Values() []string

VpcLinkStatus_Values returns all elements of the VpcLinkStatus enum

func VpcLinkVersion_Values

func VpcLinkVersion_Values() []string

VpcLinkVersion_Values returns all elements of the VpcLinkVersion enum

Types

type AccessDeniedException

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

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

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation

type AccessLogSettings

type AccessLogSettings struct {

	// The ARN of the CloudWatch Logs log group to receive access logs.
	DestinationArn *string `locationName:"destinationArn" type:"string"`

	// A single line format of the access logs of data, as specified by selected
	// $context variables. The format must include at least $context.requestId.
	Format *string `locationName:"format" type:"string"`
	// contains filtered or unexported fields
}

Settings for logging access in a stage.

func (AccessLogSettings) GoString

func (s AccessLogSettings) GoString() string

GoString returns the string representation

func (*AccessLogSettings) SetDestinationArn

func (s *AccessLogSettings) SetDestinationArn(v string) *AccessLogSettings

SetDestinationArn sets the DestinationArn field's value.

func (*AccessLogSettings) SetFormat

func (s *AccessLogSettings) SetFormat(v string) *AccessLogSettings

SetFormat sets the Format field's value.

func (AccessLogSettings) String

func (s AccessLogSettings) String() string

String returns the string representation

type Api

type Api struct {

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

	// Specifies whether an API is managed by API Gateway. You can't update or delete
	// a managed API by using API Gateway. A managed API can be deleted only through
	// the tooling or service that created it.
	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

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

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

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

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

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

	// Specifies whether clients can invoke your API by using the default execute-api
	// endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com
	// endpoint. To require that clients use a custom domain name to invoke your
	// API, disable the default endpoint.
	DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"`

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

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

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

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

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

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

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

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

Represents an API.

func (Api) GoString

func (s Api) GoString() string

GoString returns the string representation

func (*Api) SetApiEndpoint

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

SetApiEndpoint sets the ApiEndpoint field's value.

func (*Api) SetApiGatewayManaged

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

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*Api) SetApiId

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

SetApiId sets the ApiId field's value.

func (*Api) SetApiKeySelectionExpression

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

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*Api) SetCorsConfiguration

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

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*Api) SetCreatedDate

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

SetCreatedDate sets the CreatedDate field's value.

func (*Api) SetDescription

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

SetDescription sets the Description field's value.

func (*Api) SetDisableExecuteApiEndpoint

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

SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.

func (*Api) SetDisableSchemaValidation

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

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*Api) SetImportInfo

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

SetImportInfo sets the ImportInfo field's value.

func (*Api) SetName

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

SetName sets the Name field's value.

func (*Api) SetProtocolType

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

SetProtocolType sets the ProtocolType field's value.

func (*Api) SetRouteSelectionExpression

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

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*Api) SetTags

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

SetTags sets the Tags field's value.

func (*Api) SetVersion

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

SetVersion sets the Version field's value.

func (*Api) SetWarnings

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

SetWarnings sets the Warnings field's value.

func (Api) String

func (s Api) String() string

String returns the string representation

type ApiGatewayV2

type ApiGatewayV2 struct {
	*client.Client
}

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

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

func New

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

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

Example:

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

// Create a ApiGatewayV2 client from just a session.
svc := apigatewayv2.New(mySession)

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

func (*ApiGatewayV2) CreateApi

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

CreateApi API operation for AmazonApiGatewayV2.

Creates an Api resource.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateApiMapping

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

CreateApiMapping API operation for AmazonApiGatewayV2.

Creates an API mapping.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateApiMappingRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateApiMappingWithContext

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

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

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

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

func (*ApiGatewayV2) CreateApiRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateApiWithContext

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

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

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

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

func (*ApiGatewayV2) CreateAuthorizer

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

CreateAuthorizer API operation for AmazonApiGatewayV2.

Creates an Authorizer for an API.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateAuthorizerRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateAuthorizerWithContext

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

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

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

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

func (*ApiGatewayV2) CreateDeployment

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

CreateDeployment API operation for AmazonApiGatewayV2.

Creates a Deployment for an API.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateDeploymentRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateDeploymentWithContext

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

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

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

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

func (*ApiGatewayV2) CreateDomainName

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

CreateDomainName API operation for AmazonApiGatewayV2.

Creates a domain name.

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

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

Returned Error Types:

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

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

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

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

  • AccessDeniedException

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

func (*ApiGatewayV2) CreateDomainNameRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateDomainNameWithContext

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

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

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

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

func (*ApiGatewayV2) CreateIntegration

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

CreateIntegration API operation for AmazonApiGatewayV2.

Creates an Integration.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateIntegrationRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateIntegrationResponse

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

CreateIntegrationResponse API operation for AmazonApiGatewayV2.

Creates an IntegrationResponses.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateIntegrationResponseRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateIntegrationResponseWithContext

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

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

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

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

func (*ApiGatewayV2) CreateIntegrationWithContext

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

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

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

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

func (*ApiGatewayV2) CreateModel

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

CreateModel API operation for AmazonApiGatewayV2.

Creates a Model for an API.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateModelRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateModelWithContext

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

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

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

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

func (*ApiGatewayV2) CreateRoute

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

CreateRoute API operation for AmazonApiGatewayV2.

Creates a Route for an API.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateRouteRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateRouteResponse

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

CreateRouteResponse API operation for AmazonApiGatewayV2.

Creates a RouteResponse for a Route.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateRouteResponseRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateRouteResponseWithContext

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

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

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

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

func (*ApiGatewayV2) CreateRouteWithContext

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

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

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

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

func (*ApiGatewayV2) CreateStage

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

CreateStage API operation for AmazonApiGatewayV2.

Creates a Stage for an API.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateStageRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateStageWithContext

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

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

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

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

func (c *ApiGatewayV2) CreateVpcLink(input *CreateVpcLinkInput) (*CreateVpcLinkOutput, error)

CreateVpcLink API operation for AmazonApiGatewayV2.

Creates a VPC link.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) CreateVpcLinkRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateVpcLinkWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteAccessLogSettings

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

DeleteAccessLogSettings API operation for AmazonApiGatewayV2.

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

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteAccessLogSettingsRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteAccessLogSettingsWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteApi

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

DeleteApi API operation for AmazonApiGatewayV2.

Deletes an Api resource.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteApiMapping

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

DeleteApiMapping API operation for AmazonApiGatewayV2.

Deletes an API mapping.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) DeleteApiMappingRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteApiMappingWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteApiRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteApiWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteAuthorizer

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

DeleteAuthorizer API operation for AmazonApiGatewayV2.

Deletes an Authorizer.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteAuthorizerRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteAuthorizerWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteCorsConfiguration

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

DeleteCorsConfiguration API operation for AmazonApiGatewayV2.

Deletes a CORS configuration.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteCorsConfigurationRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteCorsConfigurationWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteDeployment

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

DeleteDeployment API operation for AmazonApiGatewayV2.

Deletes a Deployment.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteDeploymentRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteDeploymentWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteDomainName

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

DeleteDomainName API operation for AmazonApiGatewayV2.

Deletes a domain name.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteDomainNameRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteDomainNameWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteIntegration

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

DeleteIntegration API operation for AmazonApiGatewayV2.

Deletes an Integration.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteIntegrationRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteIntegrationResponse

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

DeleteIntegrationResponse API operation for AmazonApiGatewayV2.

Deletes an IntegrationResponses.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteIntegrationResponseRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteIntegrationResponseWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteIntegrationWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteModel

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

DeleteModel API operation for AmazonApiGatewayV2.

Deletes a Model.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteModelRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteModelWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteRoute

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

DeleteRoute API operation for AmazonApiGatewayV2.

Deletes a Route.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteRouteRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteRouteRequestParameter

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

DeleteRouteRequestParameter API operation for AmazonApiGatewayV2.

Deletes a route request parameter.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteRouteRequestParameterRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteRouteRequestParameterWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteRouteResponse

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

DeleteRouteResponse API operation for AmazonApiGatewayV2.

Deletes a RouteResponse.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteRouteResponseRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteRouteResponseWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteRouteSettings

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

DeleteRouteSettings API operation for AmazonApiGatewayV2.

Deletes the RouteSettings for a stage.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteRouteSettingsRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteRouteSettingsWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteRouteWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteStage

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

DeleteStage API operation for AmazonApiGatewayV2.

Deletes a Stage.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteStageRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteStageWithContext

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

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

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

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

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

DeleteVpcLink API operation for AmazonApiGatewayV2.

Deletes a VPC link.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteVpcLinkRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteVpcLinkWithContext

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

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

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

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

func (*ApiGatewayV2) ExportApi

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

ExportApi API operation for AmazonApiGatewayV2.

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

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) ExportApiRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) ExportApiWithContext

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

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

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

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

func (*ApiGatewayV2) GetApi

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

GetApi API operation for AmazonApiGatewayV2.

Gets an Api resource.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) GetApiMapping

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

GetApiMapping API operation for AmazonApiGatewayV2.

Gets an API mapping.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) GetApiMappingRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetApiMappingWithContext

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

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

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

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

func (*ApiGatewayV2) GetApiMappings

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

GetApiMappings API operation for AmazonApiGatewayV2.

Gets API mappings.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) GetApiMappingsRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetApiMappingsWithContext

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

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

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

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

func (*ApiGatewayV2) GetApiRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetApiWithContext

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

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

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

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

func (*ApiGatewayV2) GetApis

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

GetApis API operation for AmazonApiGatewayV2.

Gets a collection of Api resources.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) GetApisRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetApisWithContext

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

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

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

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

func (*ApiGatewayV2) GetAuthorizer

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

GetAuthorizer API operation for AmazonApiGatewayV2.

Gets an Authorizer.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) GetAuthorizerRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetAuthorizerWithContext

func (c *ApiGatewayV2) GetAuthorizerWithContext(ctx aws.Context, input *GetAuthorizerInput, opts ...request.Option) (*GetAuthorizerOutput, error)

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

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

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

func (*ApiGatewayV2) GetAuthorizers

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

GetAuthorizers API operation for AmazonApiGatewayV2.

Gets the Authorizers for an API.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) GetAuthorizersRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetAuthorizersWithContext

func (c *ApiGatewayV2) GetAuthorizersWithContext(ctx aws.Context, input *GetAuthorizersInput, opts ...request.Option) (*GetAuthorizersOutput, error)

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

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

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

func (*ApiGatewayV2) GetDeployment

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

GetDeployment API operation for AmazonApiGatewayV2.

Gets a Deployment.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) GetDeploymentRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetDeploymentWithContext

func (c *ApiGatewayV2) GetDeploymentWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...request.Option) (*GetDeploymentOutput, error)

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

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

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

func (*ApiGatewayV2) GetDeployments

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

GetDeployments API operation for AmazonApiGatewayV2.

Gets the Deployments for an API.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) GetDeploymentsRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetDeploymentsWithContext

func (c *ApiGatewayV2) GetDeploymentsWithContext(ctx aws.Context, input *GetDeploymentsInput, opts ...request.Option) (*GetDeploymentsOutput, error)

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

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

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

func (*ApiGatewayV2) GetDomainName

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

GetDomainName API operation for AmazonApiGatewayV2.

Gets a domain name.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) GetDomainNameRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetDomainNameWithContext

func (c *ApiGatewayV2) GetDomainNameWithContext(ctx aws.Context, input *GetDomainNameInput, opts ...request.Option) (*GetDomainNameOutput, error)

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

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

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

func (*ApiGatewayV2) GetDomainNames

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

GetDomainNames API operation for AmazonApiGatewayV2.

Gets the domain names for an AWS account.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) GetDomainNamesRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetDomainNamesWithContext

func (c *ApiGatewayV2) GetDomainNamesWithContext(ctx aws.Context, input *GetDomainNamesInput, opts ...request.Option) (*GetDomainNamesOutput, error)

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

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

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

func (*ApiGatewayV2) GetIntegration

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

GetIntegration API operation for AmazonApiGatewayV2.

Gets an Integration.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) GetIntegrationRequest

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

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

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

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

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

// Example sending a request using the GetIntegrationRequest method.
req, resp := client.GetIntegrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration

func (*ApiGatewayV2) GetIntegrationResponse

func (c *ApiGatewayV2) GetIntegrationResponse(input *GetIntegrationResponseInput) (*GetIntegrationResponseOutput, error)

GetIntegrationResponse API operation for AmazonApiGatewayV2.

Gets an IntegrationResponses.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetIntegrationResponse for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse

func (*ApiGatewayV2) GetIntegrationResponseRequest

func (c *ApiGatewayV2) GetIntegrationResponseRequest(input *GetIntegrationResponseInput) (req *request.Request, output *GetIntegrationResponseOutput)

GetIntegrationResponseRequest generates a "aws/request.Request" representing the client's request for the GetIntegrationResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetIntegrationResponse for more information on using the GetIntegrationResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetIntegrationResponseRequest method.
req, resp := client.GetIntegrationResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse

func (*ApiGatewayV2) GetIntegrationResponseWithContext

func (c *ApiGatewayV2) GetIntegrationResponseWithContext(ctx aws.Context, input *GetIntegrationResponseInput, opts ...request.Option) (*GetIntegrationResponseOutput, error)

GetIntegrationResponseWithContext is the same as GetIntegrationResponse with the addition of the ability to pass a context and additional request options.

See GetIntegrationResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetIntegrationResponses

func (c *ApiGatewayV2) GetIntegrationResponses(input *GetIntegrationResponsesInput) (*GetIntegrationResponsesOutput, error)

GetIntegrationResponses API operation for AmazonApiGatewayV2.

Gets the IntegrationResponses for an Integration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetIntegrationResponses for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses

func (*ApiGatewayV2) GetIntegrationResponsesRequest

func (c *ApiGatewayV2) GetIntegrationResponsesRequest(input *GetIntegrationResponsesInput) (req *request.Request, output *GetIntegrationResponsesOutput)

GetIntegrationResponsesRequest generates a "aws/request.Request" representing the client's request for the GetIntegrationResponses operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetIntegrationResponses for more information on using the GetIntegrationResponses API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetIntegrationResponsesRequest method.
req, resp := client.GetIntegrationResponsesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses

func (*ApiGatewayV2) GetIntegrationResponsesWithContext

func (c *ApiGatewayV2) GetIntegrationResponsesWithContext(ctx aws.Context, input *GetIntegrationResponsesInput, opts ...request.Option) (*GetIntegrationResponsesOutput, error)

GetIntegrationResponsesWithContext is the same as GetIntegrationResponses with the addition of the ability to pass a context and additional request options.

See GetIntegrationResponses for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetIntegrationWithContext

func (c *ApiGatewayV2) GetIntegrationWithContext(ctx aws.Context, input *GetIntegrationInput, opts ...request.Option) (*GetIntegrationOutput, error)

GetIntegrationWithContext is the same as GetIntegration with the addition of the ability to pass a context and additional request options.

See GetIntegration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetIntegrations

func (c *ApiGatewayV2) GetIntegrations(input *GetIntegrationsInput) (*GetIntegrationsOutput, error)

GetIntegrations API operation for AmazonApiGatewayV2.

Gets the Integrations for an API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetIntegrations for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations

func (*ApiGatewayV2) GetIntegrationsRequest

func (c *ApiGatewayV2) GetIntegrationsRequest(input *GetIntegrationsInput) (req *request.Request, output *GetIntegrationsOutput)

GetIntegrationsRequest generates a "aws/request.Request" representing the client's request for the GetIntegrations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetIntegrations for more information on using the GetIntegrations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetIntegrationsRequest method.
req, resp := client.GetIntegrationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations

func (*ApiGatewayV2) GetIntegrationsWithContext

func (c *ApiGatewayV2) GetIntegrationsWithContext(ctx aws.Context, input *GetIntegrationsInput, opts ...request.Option) (*GetIntegrationsOutput, error)

GetIntegrationsWithContext is the same as GetIntegrations with the addition of the ability to pass a context and additional request options.

See GetIntegrations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetModel

func (c *ApiGatewayV2) GetModel(input *GetModelInput) (*GetModelOutput, error)

GetModel API operation for AmazonApiGatewayV2.

Gets a Model.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetModel for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel

func (*ApiGatewayV2) GetModelRequest

func (c *ApiGatewayV2) GetModelRequest(input *GetModelInput) (req *request.Request, output *GetModelOutput)

GetModelRequest generates a "aws/request.Request" representing the client's request for the GetModel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetModel for more information on using the GetModel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetModelRequest method.
req, resp := client.GetModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel

func (*ApiGatewayV2) GetModelTemplate

func (c *ApiGatewayV2) GetModelTemplate(input *GetModelTemplateInput) (*GetModelTemplateOutput, error)

GetModelTemplate API operation for AmazonApiGatewayV2.

Gets a model template.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetModelTemplate for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate

func (*ApiGatewayV2) GetModelTemplateRequest

func (c *ApiGatewayV2) GetModelTemplateRequest(input *GetModelTemplateInput) (req *request.Request, output *GetModelTemplateOutput)

GetModelTemplateRequest generates a "aws/request.Request" representing the client's request for the GetModelTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetModelTemplate for more information on using the GetModelTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetModelTemplateRequest method.
req, resp := client.GetModelTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate

func (*ApiGatewayV2) GetModelTemplateWithContext

func (c *ApiGatewayV2) GetModelTemplateWithContext(ctx aws.Context, input *GetModelTemplateInput, opts ...request.Option) (*GetModelTemplateOutput, error)

GetModelTemplateWithContext is the same as GetModelTemplate with the addition of the ability to pass a context and additional request options.

See GetModelTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetModelWithContext

func (c *ApiGatewayV2) GetModelWithContext(ctx aws.Context, input *GetModelInput, opts ...request.Option) (*GetModelOutput, error)

GetModelWithContext is the same as GetModel with the addition of the ability to pass a context and additional request options.

See GetModel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetModels

func (c *ApiGatewayV2) GetModels(input *GetModelsInput) (*GetModelsOutput, error)

GetModels API operation for AmazonApiGatewayV2.

Gets the Models for an API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetModels for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels

func (*ApiGatewayV2) GetModelsRequest

func (c *ApiGatewayV2) GetModelsRequest(input *GetModelsInput) (req *request.Request, output *GetModelsOutput)

GetModelsRequest generates a "aws/request.Request" representing the client's request for the GetModels operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetModels for more information on using the GetModels API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetModelsRequest method.
req, resp := client.GetModelsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels

func (*ApiGatewayV2) GetModelsWithContext

func (c *ApiGatewayV2) GetModelsWithContext(ctx aws.Context, input *GetModelsInput, opts ...request.Option) (*GetModelsOutput, error)

GetModelsWithContext is the same as GetModels with the addition of the ability to pass a context and additional request options.

See GetModels for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetRoute

func (c *ApiGatewayV2) GetRoute(input *GetRouteInput) (*GetRouteOutput, error)

GetRoute API operation for AmazonApiGatewayV2.

Gets a Route.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetRoute for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute

func (*ApiGatewayV2) GetRouteRequest

func (c *ApiGatewayV2) GetRouteRequest(input *GetRouteInput) (req *request.Request, output *GetRouteOutput)

GetRouteRequest generates a "aws/request.Request" representing the client's request for the GetRoute operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRoute for more information on using the GetRoute API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRouteRequest method.
req, resp := client.GetRouteRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute

func (*ApiGatewayV2) GetRouteResponse

func (c *ApiGatewayV2) GetRouteResponse(input *GetRouteResponseInput) (*GetRouteResponseOutput, error)

GetRouteResponse API operation for AmazonApiGatewayV2.

Gets a RouteResponse.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetRouteResponse for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse

func (*ApiGatewayV2) GetRouteResponseRequest

func (c *ApiGatewayV2) GetRouteResponseRequest(input *GetRouteResponseInput) (req *request.Request, output *GetRouteResponseOutput)

GetRouteResponseRequest generates a "aws/request.Request" representing the client's request for the GetRouteResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRouteResponse for more information on using the GetRouteResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRouteResponseRequest method.
req, resp := client.GetRouteResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse

func (*ApiGatewayV2) GetRouteResponseWithContext

func (c *ApiGatewayV2) GetRouteResponseWithContext(ctx aws.Context, input *GetRouteResponseInput, opts ...request.Option) (*GetRouteResponseOutput, error)

GetRouteResponseWithContext is the same as GetRouteResponse with the addition of the ability to pass a context and additional request options.

See GetRouteResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetRouteResponses

func (c *ApiGatewayV2) GetRouteResponses(input *GetRouteResponsesInput) (*GetRouteResponsesOutput, error)

GetRouteResponses API operation for AmazonApiGatewayV2.

Gets the RouteResponses for a Route.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetRouteResponses for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses

func (*ApiGatewayV2) GetRouteResponsesRequest

func (c *ApiGatewayV2) GetRouteResponsesRequest(input *GetRouteResponsesInput) (req *request.Request, output *GetRouteResponsesOutput)

GetRouteResponsesRequest generates a "aws/request.Request" representing the client's request for the GetRouteResponses operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRouteResponses for more information on using the GetRouteResponses API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRouteResponsesRequest method.
req, resp := client.GetRouteResponsesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses

func (*ApiGatewayV2) GetRouteResponsesWithContext

func (c *ApiGatewayV2) GetRouteResponsesWithContext(ctx aws.Context, input *GetRouteResponsesInput, opts ...request.Option) (*GetRouteResponsesOutput, error)

GetRouteResponsesWithContext is the same as GetRouteResponses with the addition of the ability to pass a context and additional request options.

See GetRouteResponses for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetRouteWithContext

func (c *ApiGatewayV2) GetRouteWithContext(ctx aws.Context, input *GetRouteInput, opts ...request.Option) (*GetRouteOutput, error)

GetRouteWithContext is the same as GetRoute with the addition of the ability to pass a context and additional request options.

See GetRoute for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetRoutes

func (c *ApiGatewayV2) GetRoutes(input *GetRoutesInput) (*GetRoutesOutput, error)

GetRoutes API operation for AmazonApiGatewayV2.

Gets the Routes for an API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetRoutes for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes

func (*ApiGatewayV2) GetRoutesRequest

func (c *ApiGatewayV2) GetRoutesRequest(input *GetRoutesInput) (req *request.Request, output *GetRoutesOutput)

GetRoutesRequest generates a "aws/request.Request" representing the client's request for the GetRoutes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRoutes for more information on using the GetRoutes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRoutesRequest method.
req, resp := client.GetRoutesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes

func (*ApiGatewayV2) GetRoutesWithContext

func (c *ApiGatewayV2) GetRoutesWithContext(ctx aws.Context, input *GetRoutesInput, opts ...request.Option) (*GetRoutesOutput, error)

GetRoutesWithContext is the same as GetRoutes with the addition of the ability to pass a context and additional request options.

See GetRoutes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetStage

func (c *ApiGatewayV2) GetStage(input *GetStageInput) (*GetStageOutput, error)

GetStage API operation for AmazonApiGatewayV2.

Gets a Stage.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetStage for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage

func (*ApiGatewayV2) GetStageRequest

func (c *ApiGatewayV2) GetStageRequest(input *GetStageInput) (req *request.Request, output *GetStageOutput)

GetStageRequest generates a "aws/request.Request" representing the client's request for the GetStage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetStage for more information on using the GetStage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetStageRequest method.
req, resp := client.GetStageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage

func (*ApiGatewayV2) GetStageWithContext

func (c *ApiGatewayV2) GetStageWithContext(ctx aws.Context, input *GetStageInput, opts ...request.Option) (*GetStageOutput, error)

GetStageWithContext is the same as GetStage with the addition of the ability to pass a context and additional request options.

See GetStage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetStages

func (c *ApiGatewayV2) GetStages(input *GetStagesInput) (*GetStagesOutput, error)

GetStages API operation for AmazonApiGatewayV2.

Gets the Stages for an API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetStages for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages

func (*ApiGatewayV2) GetStagesRequest

func (c *ApiGatewayV2) GetStagesRequest(input *GetStagesInput) (req *request.Request, output *GetStagesOutput)

GetStagesRequest generates a "aws/request.Request" representing the client's request for the GetStages operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetStages for more information on using the GetStages API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetStagesRequest method.
req, resp := client.GetStagesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages

func (*ApiGatewayV2) GetStagesWithContext

func (c *ApiGatewayV2) GetStagesWithContext(ctx aws.Context, input *GetStagesInput, opts ...request.Option) (*GetStagesOutput, error)

GetStagesWithContext is the same as GetStages with the addition of the ability to pass a context and additional request options.

See GetStages for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetTags

func (c *ApiGatewayV2) GetTags(input *GetTagsInput) (*GetTagsOutput, error)

GetTags API operation for AmazonApiGatewayV2.

Gets a collection of Tag resources.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetTags for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags

func (*ApiGatewayV2) GetTagsRequest

func (c *ApiGatewayV2) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput)

GetTagsRequest generates a "aws/request.Request" representing the client's request for the GetTags operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTags for more information on using the GetTags API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTagsRequest method.
req, resp := client.GetTagsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags

func (*ApiGatewayV2) GetTagsWithContext

func (c *ApiGatewayV2) GetTagsWithContext(ctx aws.Context, input *GetTagsInput, opts ...request.Option) (*GetTagsOutput, error)

GetTagsWithContext is the same as GetTags with the addition of the ability to pass a context and additional request options.

See GetTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (c *ApiGatewayV2) GetVpcLink(input *GetVpcLinkInput) (*GetVpcLinkOutput, error)

GetVpcLink API operation for AmazonApiGatewayV2.

Gets a VPC link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetVpcLink for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink

func (*ApiGatewayV2) GetVpcLinkRequest

func (c *ApiGatewayV2) GetVpcLinkRequest(input *GetVpcLinkInput) (req *request.Request, output *GetVpcLinkOutput)

GetVpcLinkRequest generates a "aws/request.Request" representing the client's request for the GetVpcLink operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetVpcLink for more information on using the GetVpcLink API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetVpcLinkRequest method.
req, resp := client.GetVpcLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink

func (*ApiGatewayV2) GetVpcLinkWithContext

func (c *ApiGatewayV2) GetVpcLinkWithContext(ctx aws.Context, input *GetVpcLinkInput, opts ...request.Option) (*GetVpcLinkOutput, error)

GetVpcLinkWithContext is the same as GetVpcLink with the addition of the ability to pass a context and additional request options.

See GetVpcLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (c *ApiGatewayV2) GetVpcLinks(input *GetVpcLinksInput) (*GetVpcLinksOutput, error)

GetVpcLinks API operation for AmazonApiGatewayV2.

Gets a collection of VPC links.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetVpcLinks for usage and error information.

Returned Error Types:

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks

func (*ApiGatewayV2) GetVpcLinksRequest

func (c *ApiGatewayV2) GetVpcLinksRequest(input *GetVpcLinksInput) (req *request.Request, output *GetVpcLinksOutput)

GetVpcLinksRequest generates a "aws/request.Request" representing the client's request for the GetVpcLinks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetVpcLinks for more information on using the GetVpcLinks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetVpcLinksRequest method.
req, resp := client.GetVpcLinksRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks

func (*ApiGatewayV2) GetVpcLinksWithContext

func (c *ApiGatewayV2) GetVpcLinksWithContext(ctx aws.Context, input *GetVpcLinksInput, opts ...request.Option) (*GetVpcLinksOutput, error)

GetVpcLinksWithContext is the same as GetVpcLinks with the addition of the ability to pass a context and additional request options.

See GetVpcLinks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) ImportApi

func (c *ApiGatewayV2) ImportApi(input *ImportApiInput) (*ImportApiOutput, error)

ImportApi API operation for AmazonApiGatewayV2.

Imports an API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation ImportApi for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi

func (*ApiGatewayV2) ImportApiRequest

func (c *ApiGatewayV2) ImportApiRequest(input *ImportApiInput) (req *request.Request, output *ImportApiOutput)

ImportApiRequest generates a "aws/request.Request" representing the client's request for the ImportApi operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ImportApi for more information on using the ImportApi API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ImportApiRequest method.
req, resp := client.ImportApiRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi

func (*ApiGatewayV2) ImportApiWithContext

func (c *ApiGatewayV2) ImportApiWithContext(ctx aws.Context, input *ImportApiInput, opts ...request.Option) (*ImportApiOutput, error)

ImportApiWithContext is the same as ImportApi with the addition of the ability to pass a context and additional request options.

See ImportApi for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) ReimportApi

func (c *ApiGatewayV2) ReimportApi(input *ReimportApiInput) (*ReimportApiOutput, error)

ReimportApi API operation for AmazonApiGatewayV2.

Puts an Api resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation ReimportApi for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi

func (*ApiGatewayV2) ReimportApiRequest

func (c *ApiGatewayV2) ReimportApiRequest(input *ReimportApiInput) (req *request.Request, output *ReimportApiOutput)

ReimportApiRequest generates a "aws/request.Request" representing the client's request for the ReimportApi operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ReimportApi for more information on using the ReimportApi API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ReimportApiRequest method.
req, resp := client.ReimportApiRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi

func (*ApiGatewayV2) ReimportApiWithContext

func (c *ApiGatewayV2) ReimportApiWithContext(ctx aws.Context, input *ReimportApiInput, opts ...request.Option) (*ReimportApiOutput, error)

ReimportApiWithContext is the same as ReimportApi with the addition of the ability to pass a context and additional request options.

See ReimportApi for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) ResetAuthorizersCache

func (c *ApiGatewayV2) ResetAuthorizersCache(input *ResetAuthorizersCacheInput) (*ResetAuthorizersCacheOutput, error)

ResetAuthorizersCache API operation for AmazonApiGatewayV2.

Resets all authorizer cache entries for the specified stage. Supported only for HTTP API Lambda authorizers.

Returns awserr.Error for service API and SDK errors. Use runtime 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 ResetAuthorizersCache for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache

func (*ApiGatewayV2) ResetAuthorizersCacheRequest

func (c *ApiGatewayV2) ResetAuthorizersCacheRequest(input *ResetAuthorizersCacheInput) (req *request.Request, output *ResetAuthorizersCacheOutput)

ResetAuthorizersCacheRequest generates a "aws/request.Request" representing the client's request for the ResetAuthorizersCache operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ResetAuthorizersCache for more information on using the ResetAuthorizersCache API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ResetAuthorizersCacheRequest method.
req, resp := client.ResetAuthorizersCacheRequest(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/ResetAuthorizersCache

func (*ApiGatewayV2) ResetAuthorizersCacheWithContext

func (c *ApiGatewayV2) ResetAuthorizersCacheWithContext(ctx aws.Context, input *ResetAuthorizersCacheInput, opts ...request.Option) (*ResetAuthorizersCacheOutput, error)

ResetAuthorizersCacheWithContext is the same as ResetAuthorizersCache with the addition of the ability to pass a context and additional request options.

See ResetAuthorizersCache for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) TagResource

func (c *ApiGatewayV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AmazonApiGatewayV2.

Creates a new Tag resource to represent a tag.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation TagResource for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource

func (*ApiGatewayV2) TagResourceRequest

func (c *ApiGatewayV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource

func (*ApiGatewayV2) TagResourceWithContext

func (c *ApiGatewayV2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) UntagResource

func (c *ApiGatewayV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AmazonApiGatewayV2.

Deletes a Tag.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UntagResource for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource

func (*ApiGatewayV2) UntagResourceRequest

func (c *ApiGatewayV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource

func (*ApiGatewayV2) UntagResourceWithContext

func (c *ApiGatewayV2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) UpdateApi

func (c *ApiGatewayV2) UpdateApi(input *UpdateApiInput) (*UpdateApiOutput, error)

UpdateApi API operation for AmazonApiGatewayV2.

Updates an Api resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateApi for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi

func (*ApiGatewayV2) UpdateApiMapping

func (c *ApiGatewayV2) UpdateApiMapping(input *UpdateApiMappingInput) (*UpdateApiMappingOutput, error)

UpdateApiMapping API operation for AmazonApiGatewayV2.

The API mapping.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateApiMapping for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping

func (*ApiGatewayV2) UpdateApiMappingRequest

func (c *ApiGatewayV2) UpdateApiMappingRequest(input *UpdateApiMappingInput) (req *request.Request, output *UpdateApiMappingOutput)

UpdateApiMappingRequest generates a "aws/request.Request" representing the client's request for the UpdateApiMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApiMapping for more information on using the UpdateApiMapping API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateApiMappingRequest method.
req, resp := client.UpdateApiMappingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping

func (*ApiGatewayV2) UpdateApiMappingWithContext

func (c *ApiGatewayV2) UpdateApiMappingWithContext(ctx aws.Context, input *UpdateApiMappingInput, opts ...request.Option) (*UpdateApiMappingOutput, error)

UpdateApiMappingWithContext is the same as UpdateApiMapping with the addition of the ability to pass a context and additional request options.

See UpdateApiMapping for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) UpdateApiRequest

func (c *ApiGatewayV2) UpdateApiRequest(input *UpdateApiInput) (req *request.Request, output *UpdateApiOutput)

UpdateApiRequest generates a "aws/request.Request" representing the client's request for the UpdateApi operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApi for more information on using the UpdateApi API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateApiRequest method.
req, resp := client.UpdateApiRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi

func (*ApiGatewayV2) UpdateApiWithContext

func (c *ApiGatewayV2) UpdateApiWithContext(ctx aws.Context, input *UpdateApiInput, opts ...request.Option) (*UpdateApiOutput, error)

UpdateApiWithContext is the same as UpdateApi with the addition of the ability to pass a context and additional request options.

See UpdateApi for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) UpdateAuthorizer

func (c *ApiGatewayV2) UpdateAuthorizer(input *UpdateAuthorizerInput) (*UpdateAuthorizerOutput, error)

UpdateAuthorizer API operation for AmazonApiGatewayV2.

Updates an Authorizer.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateAuthorizer for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer

func (*ApiGatewayV2) UpdateAuthorizerRequest

func (c *ApiGatewayV2) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (req *request.Request, output *UpdateAuthorizerOutput)

UpdateAuthorizerRequest generates a "aws/request.Request" representing the client's request for the UpdateAuthorizer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateAuthorizer for more information on using the UpdateAuthorizer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateAuthorizerRequest method.
req, resp := client.UpdateAuthorizerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer

func (*ApiGatewayV2) UpdateAuthorizerWithContext

func (c *ApiGatewayV2) UpdateAuthorizerWithContext(ctx aws.Context, input *UpdateAuthorizerInput, opts ...request.Option) (*UpdateAuthorizerOutput, error)

UpdateAuthorizerWithContext is the same as UpdateAuthorizer with the addition of the ability to pass a context and additional request options.

See UpdateAuthorizer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) UpdateDeployment

func (c *ApiGatewayV2) UpdateDeployment(input *UpdateDeploymentInput) (*UpdateDeploymentOutput, error)

UpdateDeployment API operation for AmazonApiGatewayV2.

Updates a Deployment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateDeployment for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment

func (*ApiGatewayV2) UpdateDeploymentRequest

func (c *ApiGatewayV2) UpdateDeploymentRequest(input *UpdateDeploymentInput) (req *request.Request, output *UpdateDeploymentOutput)

UpdateDeploymentRequest generates a "aws/request.Request" representing the client's request for the UpdateDeployment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDeployment for more information on using the UpdateDeployment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDeploymentRequest method.
req, resp := client.UpdateDeploymentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment

func (*ApiGatewayV2) UpdateDeploymentWithContext

func (c *ApiGatewayV2) UpdateDeploymentWithContext(ctx aws.Context, input *UpdateDeploymentInput, opts ...request.Option) (*UpdateDeploymentOutput, error)

UpdateDeploymentWithContext is the same as UpdateDeployment with the addition of the ability to pass a context and additional request options.

See UpdateDeployment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) UpdateDomainName

func (c *ApiGatewayV2) UpdateDomainName(input *UpdateDomainNameInput) (*UpdateDomainNameOutput, error)

UpdateDomainName API operation for AmazonApiGatewayV2.

Updates a domain name.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateDomainName for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName

func (*ApiGatewayV2) UpdateDomainNameRequest

func (c *ApiGatewayV2) UpdateDomainNameRequest(input *UpdateDomainNameInput) (req *request.Request, output *UpdateDomainNameOutput)

UpdateDomainNameRequest generates a "aws/request.Request" representing the client's request for the UpdateDomainName operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDomainName for more information on using the UpdateDomainName API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDomainNameRequest method.
req, resp := client.UpdateDomainNameRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName

func (*ApiGatewayV2) UpdateDomainNameWithContext

func (c *ApiGatewayV2) UpdateDomainNameWithContext(ctx aws.Context, input *UpdateDomainNameInput, opts ...request.Option) (*UpdateDomainNameOutput, error)

UpdateDomainNameWithContext is the same as UpdateDomainName with the addition of the ability to pass a context and additional request options.

See UpdateDomainName for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) UpdateIntegration

func (c *ApiGatewayV2) UpdateIntegration(input *UpdateIntegrationInput) (*UpdateIntegrationOutput, error)

UpdateIntegration API operation for AmazonApiGatewayV2.

Updates an Integration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateIntegration for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration

func (*ApiGatewayV2) UpdateIntegrationRequest

func (c *ApiGatewayV2) UpdateIntegrationRequest(input *UpdateIntegrationInput) (req *request.Request, output *UpdateIntegrationOutput)

UpdateIntegrationRequest generates a "aws/request.Request" representing the client's request for the UpdateIntegration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateIntegration for more information on using the UpdateIntegration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateIntegrationRequest method.
req, resp := client.UpdateIntegrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration

func (*ApiGatewayV2) UpdateIntegrationResponse

func (c *ApiGatewayV2) UpdateIntegrationResponse(input *UpdateIntegrationResponseInput) (*UpdateIntegrationResponseOutput, error)

UpdateIntegrationResponse API operation for AmazonApiGatewayV2.

Updates an IntegrationResponses.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateIntegrationResponse for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse

func (*ApiGatewayV2) UpdateIntegrationResponseRequest

func (c *ApiGatewayV2) UpdateIntegrationResponseRequest(input *UpdateIntegrationResponseInput) (req *request.Request, output *UpdateIntegrationResponseOutput)

UpdateIntegrationResponseRequest generates a "aws/request.Request" representing the client's request for the UpdateIntegrationResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateIntegrationResponse for more information on using the UpdateIntegrationResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateIntegrationResponseRequest method.
req, resp := client.UpdateIntegrationResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse

func (*ApiGatewayV2) UpdateIntegrationResponseWithContext

func (c *ApiGatewayV2) UpdateIntegrationResponseWithContext(ctx aws.Context, input *UpdateIntegrationResponseInput, opts ...request.Option) (*UpdateIntegrationResponseOutput, error)

UpdateIntegrationResponseWithContext is the same as UpdateIntegrationResponse with the addition of the ability to pass a context and additional request options.

See UpdateIntegrationResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) UpdateIntegrationWithContext

func (c *ApiGatewayV2) UpdateIntegrationWithContext(ctx aws.Context, input *UpdateIntegrationInput, opts ...request.Option) (*UpdateIntegrationOutput, error)

UpdateIntegrationWithContext is the same as UpdateIntegration with the addition of the ability to pass a context and additional request options.

See UpdateIntegration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) UpdateModel

func (c *ApiGatewayV2) UpdateModel(input *UpdateModelInput) (*UpdateModelOutput, error)

UpdateModel API operation for AmazonApiGatewayV2.

Updates a Model.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateModel for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel

func (*ApiGatewayV2) UpdateModelRequest

func (c *ApiGatewayV2) UpdateModelRequest(input *UpdateModelInput) (req *request.Request, output *UpdateModelOutput)

UpdateModelRequest generates a "aws/request.Request" representing the client's request for the UpdateModel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateModel for more information on using the UpdateModel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateModelRequest method.
req, resp := client.UpdateModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel

func (*ApiGatewayV2) UpdateModelWithContext

func (c *ApiGatewayV2) UpdateModelWithContext(ctx aws.Context, input *UpdateModelInput, opts ...request.Option) (*UpdateModelOutput, error)

UpdateModelWithContext is the same as UpdateModel with the addition of the ability to pass a context and additional request options.

See UpdateModel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) UpdateRoute

func (c *ApiGatewayV2) UpdateRoute(input *UpdateRouteInput) (*UpdateRouteOutput, error)

UpdateRoute API operation for AmazonApiGatewayV2.

Updates a Route.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateRoute for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute

func (*ApiGatewayV2) UpdateRouteRequest

func (c *ApiGatewayV2) UpdateRouteRequest(input *UpdateRouteInput) (req *request.Request, output *UpdateRouteOutput)

UpdateRouteRequest generates a "aws/request.Request" representing the client's request for the UpdateRoute operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRoute for more information on using the UpdateRoute API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRouteRequest method.
req, resp := client.UpdateRouteRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute

func (*ApiGatewayV2) UpdateRouteResponse

func (c *ApiGatewayV2) UpdateRouteResponse(input *UpdateRouteResponseInput) (*UpdateRouteResponseOutput, error)

UpdateRouteResponse API operation for AmazonApiGatewayV2.

Updates a RouteResponse.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateRouteResponse for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse

func (*ApiGatewayV2) UpdateRouteResponseRequest

func (c *ApiGatewayV2) UpdateRouteResponseRequest(input *UpdateRouteResponseInput) (req *request.Request, output *UpdateRouteResponseOutput)

UpdateRouteResponseRequest generates a "aws/request.Request" representing the client's request for the UpdateRouteResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRouteResponse for more information on using the UpdateRouteResponse API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRouteResponseRequest method.
req, resp := client.UpdateRouteResponseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse

func (*ApiGatewayV2) UpdateRouteResponseWithContext

func (c *ApiGatewayV2) UpdateRouteResponseWithContext(ctx aws.Context, input *UpdateRouteResponseInput, opts ...request.Option) (*UpdateRouteResponseOutput, error)

UpdateRouteResponseWithContext is the same as UpdateRouteResponse with the addition of the ability to pass a context and additional request options.

See UpdateRouteResponse for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) UpdateRouteWithContext

func (c *ApiGatewayV2) UpdateRouteWithContext(ctx aws.Context, input *UpdateRouteInput, opts ...request.Option) (*UpdateRouteOutput, error)

UpdateRouteWithContext is the same as UpdateRoute with the addition of the ability to pass a context and additional request options.

See UpdateRoute for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) UpdateStage

func (c *ApiGatewayV2) UpdateStage(input *UpdateStageInput) (*UpdateStageOutput, error)

UpdateStage API operation for AmazonApiGatewayV2.

Updates a Stage.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateStage for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

  • ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage

func (*ApiGatewayV2) UpdateStageRequest

func (c *ApiGatewayV2) UpdateStageRequest(input *UpdateStageInput) (req *request.Request, output *UpdateStageOutput)

UpdateStageRequest generates a "aws/request.Request" representing the client's request for the UpdateStage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateStage for more information on using the UpdateStage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateStageRequest method.
req, resp := client.UpdateStageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage

func (*ApiGatewayV2) UpdateStageWithContext

func (c *ApiGatewayV2) UpdateStageWithContext(ctx aws.Context, input *UpdateStageInput, opts ...request.Option) (*UpdateStageOutput, error)

UpdateStageWithContext is the same as UpdateStage with the addition of the ability to pass a context and additional request options.

See UpdateStage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (c *ApiGatewayV2) UpdateVpcLink(input *UpdateVpcLinkInput) (*UpdateVpcLinkOutput, error)

UpdateVpcLink API operation for AmazonApiGatewayV2.

Updates a VPC link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateVpcLink for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink

func (*ApiGatewayV2) UpdateVpcLinkRequest

func (c *ApiGatewayV2) UpdateVpcLinkRequest(input *UpdateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput)

UpdateVpcLinkRequest generates a "aws/request.Request" representing the client's request for the UpdateVpcLink operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateVpcLink for more information on using the UpdateVpcLink API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateVpcLinkRequest method.
req, resp := client.UpdateVpcLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink

func (*ApiGatewayV2) UpdateVpcLinkWithContext

func (c *ApiGatewayV2) UpdateVpcLinkWithContext(ctx aws.Context, input *UpdateVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error)

UpdateVpcLinkWithContext is the same as UpdateVpcLink with the addition of the ability to pass a context and additional request options.

See UpdateVpcLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type ApiMapping

type ApiMapping struct {

	// The API identifier.
	//
	// ApiId is a required field
	ApiId *string `locationName:"apiId" type:"string" required:"true"`

	// The API mapping identifier.
	ApiMappingId *string `locationName:"apiMappingId" type:"string"`

	// The API mapping key.
	ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

	// The API stage.
	//
	// Stage is a required field
	Stage *string `locationName:"stage" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents an API mapping.

func (ApiMapping) GoString

func (s ApiMapping) GoString() string

GoString returns the string representation

func (*ApiMapping) SetApiId

func (s *ApiMapping) SetApiId(v string) *ApiMapping

SetApiId sets the ApiId field's value.

func (*ApiMapping) SetApiMappingId

func (s *ApiMapping) SetApiMappingId(v string) *ApiMapping

SetApiMappingId sets the ApiMappingId field's value.

func (*ApiMapping) SetApiMappingKey

func (s *ApiMapping) SetApiMappingKey(v string) *ApiMapping

SetApiMappingKey sets the ApiMappingKey field's value.

func (*ApiMapping) SetStage

func (s *ApiMapping) SetStage(v string) *ApiMapping

SetStage sets the Stage field's value.

func (ApiMapping) String

func (s ApiMapping) String() string

String returns the string representation

type Authorizer

type Authorizer struct {

	// Specifies the required credentials as an IAM role for API Gateway to invoke
	// the authorizer. To specify an IAM role for API Gateway to assume, use the
	// role's Amazon Resource Name (ARN). To use resource-based permissions on the
	// Lambda function, don't specify this parameter. Supported only for REQUEST
	// authorizers.
	AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"`

	// The authorizer identifier.
	AuthorizerId *string `locationName:"authorizerId" type:"string"`

	// Specifies the format of the payload sent to an HTTP API Lambda authorizer.
	// Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0.
	// To learn more, see Working with AWS Lambda authorizers for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html).
	AuthorizerPayloadFormatVersion *string `locationName:"authorizerPayloadFormatVersion" type:"string"`

	// The time to live (TTL) for cached authorizer results, in seconds. If it equals
	// 0, authorization caching is disabled. If it is greater than 0, API Gateway
	// caches authorizer responses. The maximum value is 3600, or 1 hour. Supported
	// only for HTTP API Lambda authorizers.
	AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

	// The authorizer type. Specify REQUEST for a Lambda function using incoming
	// request parameters. Specify JWT to use JSON Web Tokens (supported only for
	// HTTP APIs).
	AuthorizerType *string `locationName:"authorizerType" type:"string" enum:"AuthorizerType"`

	// The authorizer's Uniform Resource Identifier (URI). For REQUEST authorizers,
	// this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations.
	// In general, the URI has this form: arn:aws:apigateway:{region}:lambda:path/{service_api}
	// , where {region} is the same as the region hosting the Lambda function, path
	// indicates that the remaining substring in the URI should be treated as the
	// path to the resource, including the initial /. For Lambda functions, this
	// is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported
	// only for REQUEST authorizers.
	AuthorizerUri *string `locationName:"authorizerUri" type:"string"`

	// Specifies whether a Lambda authorizer returns a response in a simple format.
	// If enabled, the Lambda authorizer can return a boolean value instead of an
	// IAM policy. Supported only for HTTP APIs. To learn more, see Working with
	// AWS Lambda authorizers for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html)
	EnableSimpleResponses *bool `locationName:"enableSimpleResponses" type:"boolean"`

	// The identity source for which authorization is requested.
	//
	// For a REQUEST authorizer, this is optional. The value is a set of one or
	// more mapping expressions of the specified request parameters. The identity
	// source can be headers, query string parameters, stage variables, and context
	// parameters. For example, if an Auth header and a Name query string parameter
	// are defined as identity sources, this value is route.request.header.Auth,
	// route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection
	// expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name.
	// These parameters are used to perform runtime validation for Lambda-based
	// authorizers by verifying all of the identity-related request parameters are
	// present in the request, not null, and non-empty. Only when this is true does
	// the authorizer invoke the authorizer Lambda function. Otherwise, it returns
	// a 401 Unauthorized response without calling the Lambda function. For HTTP
	// APIs, identity sources are also used as the cache key when caching is enabled.
	// To learn more, see Working with AWS Lambda authorizers for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html).
	//
	// For JWT, a single entry that specifies where to extract the JSON Web Token
	// (JWT) from inbound requests. Currently only header-based and query parameter-based
	// selections are supported, for example $request.header.Authorization.
	IdentitySource []*string `locationName:"identitySource" type:"list"`

	// The validation expression does not apply to the REQUEST authorizer.
	IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

	// Represents the configuration of a JWT authorizer. Required for the JWT authorizer
	// type. Supported only for HTTP APIs.
	JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"`

	// The name of the authorizer.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents an authorizer.

func (Authorizer) GoString

func (s Authorizer) GoString() string

GoString returns the string representation

func (*Authorizer) SetAuthorizerCredentialsArn

func (s *Authorizer) SetAuthorizerCredentialsArn(v string) *Authorizer

SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.

func (*Authorizer) SetAuthorizerId

func (s *Authorizer) SetAuthorizerId(v string) *Authorizer

SetAuthorizerId sets the AuthorizerId field's value.

func (*Authorizer) SetAuthorizerPayloadFormatVersion

func (s *Authorizer) SetAuthorizerPayloadFormatVersion(v string) *Authorizer

SetAuthorizerPayloadFormatVersion sets the AuthorizerPayloadFormatVersion 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) SetEnableSimpleResponses

func (s *Authorizer) SetEnableSimpleResponses(v bool) *Authorizer

SetEnableSimpleResponses sets the EnableSimpleResponses field's value.

func (*Authorizer) SetIdentitySource

func (s *Authorizer) SetIdentitySource(v []*string) *Authorizer

SetIdentitySource sets the IdentitySource field's value.

func (*Authorizer) SetIdentityValidationExpression

func (s *Authorizer) SetIdentityValidationExpression(v string) *Authorizer

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*Authorizer) SetJwtConfiguration

func (s *Authorizer) SetJwtConfiguration(v *JWTConfiguration) *Authorizer

SetJwtConfiguration sets the JwtConfiguration field's value.

func (*Authorizer) SetName

func (s *Authorizer) SetName(v string) *Authorizer

SetName sets the Name field's value.

func (Authorizer) String

func (s Authorizer) String() string

String returns the string representation

type BadRequestException

type BadRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// Describes the error encountered.
	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

func (*BadRequestException) Code

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error

func (s *BadRequestException) Error() string

func (BadRequestException) GoString

func (s BadRequestException) GoString() string

GoString returns the string representation

func (*BadRequestException) Message

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode

func (s *BadRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BadRequestException) String

func (s BadRequestException) String() string

String returns the string representation

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// Describes the error encountered.
	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation

type Cors

type Cors struct {

	// Specifies whether credentials are included in the CORS request. Supported
	// only for HTTP APIs.
	AllowCredentials *bool `locationName:"allowCredentials" type:"boolean"`

	// Represents a collection of allowed headers. Supported only for HTTP APIs.
	AllowHeaders []*string `locationName:"allowHeaders" type:"list"`

	// Represents a collection of allowed HTTP methods. Supported only for HTTP
	// APIs.
	AllowMethods []*string `locationName:"allowMethods" type:"list"`

	// Represents a collection of allowed origins. Supported only for HTTP APIs.
	AllowOrigins []*string `locationName:"allowOrigins" type:"list"`

	// Represents a collection of exposed headers. Supported only for HTTP APIs.
	ExposeHeaders []*string `locationName:"exposeHeaders" type:"list"`

	// The number of seconds that the browser should cache preflight request results.
	// Supported only for HTTP APIs.
	MaxAge *int64 `locationName:"maxAge" type:"integer"`
	// contains filtered or unexported fields
}

Represents a CORS configuration. Supported only for HTTP APIs. See Configuring CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) for more information.

func (Cors) GoString

func (s Cors) GoString() string

GoString returns the string representation

func (*Cors) SetAllowCredentials

func (s *Cors) SetAllowCredentials(v bool) *Cors

SetAllowCredentials sets the AllowCredentials field's value.

func (*Cors) SetAllowHeaders

func (s *Cors) SetAllowHeaders(v []*string) *Cors

SetAllowHeaders sets the AllowHeaders field's value.

func (*Cors) SetAllowMethods

func (s *Cors) SetAllowMethods(v []*string) *Cors

SetAllowMethods sets the AllowMethods field's value.

func (*Cors) SetAllowOrigins

func (s *Cors) SetAllowOrigins(v []*string) *Cors

SetAllowOrigins sets the AllowOrigins field's value.

func (*Cors) SetExposeHeaders

func (s *Cors) SetExposeHeaders(v []*string) *Cors

SetExposeHeaders sets the ExposeHeaders field's value.

func (*Cors) SetMaxAge

func (s *Cors) SetMaxAge(v int64) *Cors

SetMaxAge sets the MaxAge field's value.

func (Cors) String

func (s Cors) String() string

String returns the string representation

func (*Cors) Validate

func (s *Cors) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateApiInput

type CreateApiInput struct {

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

	// Represents a CORS configuration. Supported only for HTTP APIs. See Configuring
	// CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html)
	// for more information.
	CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

	// Represents an Amazon Resource Name (ARN).
	CredentialsArn *string `locationName:"credentialsArn" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"`

	DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

	// A string with a length between [1-128].
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// Represents a protocol type.
	//
	// ProtocolType is a required field
	ProtocolType *string `locationName:"protocolType" type:"string" required:"true" enum:"ProtocolType"`

	// After evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	RouteKey *string `locationName:"routeKey" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// A string representation of a URI with a length between [1-2048].
	Target *string `locationName:"target" type:"string"`

	// A string with a length between [1-64].
	Version *string `locationName:"version" type:"string"`
	// contains filtered or unexported fields
}

func (CreateApiInput) GoString

func (s CreateApiInput) GoString() string

GoString returns the string representation

func (*CreateApiInput) SetApiKeySelectionExpression

func (s *CreateApiInput) SetApiKeySelectionExpression(v string) *CreateApiInput

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*CreateApiInput) SetCorsConfiguration

func (s *CreateApiInput) SetCorsConfiguration(v *Cors) *CreateApiInput

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*CreateApiInput) SetCredentialsArn

func (s *CreateApiInput) SetCredentialsArn(v string) *CreateApiInput

SetCredentialsArn sets the CredentialsArn field's value.

func (*CreateApiInput) SetDescription

func (s *CreateApiInput) SetDescription(v string) *CreateApiInput

SetDescription sets the Description field's value.

func (*CreateApiInput) SetDisableExecuteApiEndpoint

func (s *CreateApiInput) SetDisableExecuteApiEndpoint(v bool) *CreateApiInput

SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.

func (*CreateApiInput) SetDisableSchemaValidation

func (s *CreateApiInput) SetDisableSchemaValidation(v bool) *CreateApiInput

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*CreateApiInput) SetName

func (s *CreateApiInput) SetName(v string) *CreateApiInput

SetName sets the Name field's value.

func (*CreateApiInput) SetProtocolType

func (s *CreateApiInput) SetProtocolType(v string) *CreateApiInput

SetProtocolType sets the ProtocolType field's value.

func (*CreateApiInput) SetRouteKey

func (s *CreateApiInput) SetRouteKey(v string) *CreateApiInput

SetRouteKey sets the RouteKey field's value.

func (*CreateApiInput) SetRouteSelectionExpression

func (s *CreateApiInput) SetRouteSelectionExpression(v string) *CreateApiInput

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*CreateApiInput) SetTags

func (s *CreateApiInput) SetTags(v map[string]*string) *CreateApiInput

SetTags sets the Tags field's value.

func (*CreateApiInput) SetTarget

func (s *CreateApiInput) SetTarget(v string) *CreateApiInput

SetTarget sets the Target field's value.

func (*CreateApiInput) SetVersion

func (s *CreateApiInput) SetVersion(v string) *CreateApiInput

SetVersion sets the Version field's value.

func (CreateApiInput) String

func (s CreateApiInput) String() string

String returns the string representation

func (*CreateApiInput) Validate

func (s *CreateApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateApiMappingInput

type CreateApiMappingInput struct {

	// The identifier.
	//
	// ApiId is a required field
	ApiId *string `locationName:"apiId" type:"string" required:"true"`

	// After evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

	// DomainName is a required field
	DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`

	// A string with a length between [1-128].
	//
	// Stage is a required field
	Stage *string `locationName:"stage" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateApiMappingInput) GoString

func (s CreateApiMappingInput) GoString() string

GoString returns the string representation

func (*CreateApiMappingInput) SetApiId

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 evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

	// A string with a length between [1-128].
	Stage *string `locationName:"stage" type:"string"`
	// contains filtered or unexported fields
}

func (CreateApiMappingOutput) GoString

func (s CreateApiMappingOutput) GoString() string

GoString returns the string representation

func (*CreateApiMappingOutput) SetApiId

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"`

	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	// The identifier.
	ApiId *string `locationName:"apiId" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

	// Represents a CORS configuration. Supported only for HTTP APIs. See Configuring
	// CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html)
	// for more information.
	CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"`

	DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

	ImportInfo []*string `locationName:"importInfo" type:"list"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// Represents a protocol type.
	ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// A string with a length between [1-64].
	Version *string `locationName:"version" type:"string"`

	Warnings []*string `locationName:"warnings" type:"list"`
	// contains filtered or unexported fields
}

func (CreateApiOutput) GoString

func (s CreateApiOutput) GoString() string

GoString returns the string representation

func (*CreateApiOutput) SetApiEndpoint

func (s *CreateApiOutput) SetApiEndpoint(v string) *CreateApiOutput

SetApiEndpoint sets the ApiEndpoint field's value.

func (*CreateApiOutput) SetApiGatewayManaged

func (s *CreateApiOutput) SetApiGatewayManaged(v bool) *CreateApiOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*CreateApiOutput) SetApiId

func (s *CreateApiOutput) SetApiId(v string) *CreateApiOutput

SetApiId sets the ApiId field's value.

func (*CreateApiOutput) SetApiKeySelectionExpression

func (s *CreateApiOutput) SetApiKeySelectionExpression(v string) *CreateApiOutput

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*CreateApiOutput) SetCorsConfiguration

func (s *CreateApiOutput) SetCorsConfiguration(v *Cors) *CreateApiOutput

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*CreateApiOutput) SetCreatedDate

func (s *CreateApiOutput) SetCreatedDate(v time.Time) *CreateApiOutput

SetCreatedDate sets the CreatedDate field's value.

func (*CreateApiOutput) SetDescription

func (s *CreateApiOutput) SetDescription(v string) *CreateApiOutput

SetDescription sets the Description field's value.

func (*CreateApiOutput) SetDisableExecuteApiEndpoint

func (s *CreateApiOutput) SetDisableExecuteApiEndpoint(v bool) *CreateApiOutput

SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.

func (*CreateApiOutput) SetDisableSchemaValidation

func (s *CreateApiOutput) SetDisableSchemaValidation(v bool) *CreateApiOutput

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*CreateApiOutput) SetImportInfo

func (s *CreateApiOutput) SetImportInfo(v []*string) *CreateApiOutput

SetImportInfo sets the ImportInfo field's value.

func (*CreateApiOutput) SetName

func (s *CreateApiOutput) SetName(v string) *CreateApiOutput

SetName sets the Name field's value.

func (*CreateApiOutput) SetProtocolType

func (s *CreateApiOutput) SetProtocolType(v string) *CreateApiOutput

SetProtocolType sets the ProtocolType field's value.

func (*CreateApiOutput) SetRouteSelectionExpression

func (s *CreateApiOutput) SetRouteSelectionExpression(v string) *CreateApiOutput

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*CreateApiOutput) SetTags

func (s *CreateApiOutput) SetTags(v map[string]*string) *CreateApiOutput

SetTags sets the Tags field's value.

func (*CreateApiOutput) SetVersion

func (s *CreateApiOutput) SetVersion(v string) *CreateApiOutput

SetVersion sets the Version field's value.

func (*CreateApiOutput) SetWarnings

func (s *CreateApiOutput) SetWarnings(v []*string) *CreateApiOutput

SetWarnings sets the Warnings field's value.

func (CreateApiOutput) String

func (s CreateApiOutput) String() string

String returns the string representation

type CreateAuthorizerInput

type CreateAuthorizerInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// Represents an Amazon Resource Name (ARN).
	AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"`

	// A string with a length between [1-64].
	AuthorizerPayloadFormatVersion *string `locationName:"authorizerPayloadFormatVersion" type:"string"`

	// An integer with a value between [0-3600].
	AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

	// The authorizer type. Specify REQUEST for a Lambda function using incoming
	// request parameters. Specify JWT to use JSON Web Tokens (supported only for
	// HTTP APIs).
	//
	// AuthorizerType is a required field
	AuthorizerType *string `locationName:"authorizerType" type:"string" required:"true" enum:"AuthorizerType"`

	// A string representation of a URI with a length between [1-2048].
	AuthorizerUri *string `locationName:"authorizerUri" type:"string"`

	EnableSimpleResponses *bool `locationName:"enableSimpleResponses" type:"boolean"`

	// The identity source for which authorization is requested. For the REQUEST
	// authorizer, this is required when authorization caching is enabled. The value
	// is a comma-separated string of one or more mapping expressions of the specified
	// request parameters. For example, if an Auth header, a Name query string parameter
	// are defined as identity sources, this value is $method.request.header.Auth,
	// $method.request.querystring.Name. These parameters will be used to derive
	// the authorization caching key and to perform runtime validation of the REQUEST
	// authorizer by verifying all of the identity-related request parameters are
	// present, not null and non-empty. Only when this is true does the authorizer
	// invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized
	// response without calling the Lambda function. The valid value is a string
	// of comma-separated mapping expressions of the specified request parameters.
	// When the authorization caching is not enabled, this property is optional.
	//
	// IdentitySource is a required field
	IdentitySource []*string `locationName:"identitySource" type:"list" required:"true"`

	// A string with a length between [0-1024].
	IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

	// Represents the configuration of a JWT authorizer. Required for the JWT authorizer
	// type. Supported only for HTTP APIs.
	JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"`

	// A string with a length between [1-128].
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateAuthorizerInput) GoString

func (s CreateAuthorizerInput) GoString() string

GoString returns the string representation

func (*CreateAuthorizerInput) SetApiId

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) SetAuthorizerPayloadFormatVersion

func (s *CreateAuthorizerInput) SetAuthorizerPayloadFormatVersion(v string) *CreateAuthorizerInput

SetAuthorizerPayloadFormatVersion sets the AuthorizerPayloadFormatVersion 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) SetEnableSimpleResponses

func (s *CreateAuthorizerInput) SetEnableSimpleResponses(v bool) *CreateAuthorizerInput

SetEnableSimpleResponses sets the EnableSimpleResponses field's value.

func (*CreateAuthorizerInput) SetIdentitySource

func (s *CreateAuthorizerInput) SetIdentitySource(v []*string) *CreateAuthorizerInput

SetIdentitySource sets the IdentitySource field's value.

func (*CreateAuthorizerInput) SetIdentityValidationExpression

func (s *CreateAuthorizerInput) SetIdentityValidationExpression(v string) *CreateAuthorizerInput

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*CreateAuthorizerInput) SetJwtConfiguration

func (s *CreateAuthorizerInput) SetJwtConfiguration(v *JWTConfiguration) *CreateAuthorizerInput

SetJwtConfiguration sets the JwtConfiguration field's value.

func (*CreateAuthorizerInput) SetName

SetName sets the Name field's value.

func (CreateAuthorizerInput) String

func (s CreateAuthorizerInput) String() string

String returns the string representation

func (*CreateAuthorizerInput) Validate

func (s *CreateAuthorizerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAuthorizerOutput

type CreateAuthorizerOutput struct {

	// Represents an Amazon Resource Name (ARN).
	AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"`

	// The identifier.
	AuthorizerId *string `locationName:"authorizerId" type:"string"`

	// A string with a length between [1-64].
	AuthorizerPayloadFormatVersion *string `locationName:"authorizerPayloadFormatVersion" type:"string"`

	// An integer with a value between [0-3600].
	AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

	// The authorizer type. Specify REQUEST for a Lambda function using incoming
	// request parameters. Specify JWT to use JSON Web Tokens (supported only for
	// HTTP APIs).
	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"`

	EnableSimpleResponses *bool `locationName:"enableSimpleResponses" type:"boolean"`

	// The identity source for which authorization is requested. For the REQUEST
	// authorizer, this is required when authorization caching is enabled. The value
	// is a comma-separated string of one or more mapping expressions of the specified
	// request parameters. For example, if an Auth header, a Name query string parameter
	// are defined as identity sources, this value is $method.request.header.Auth,
	// $method.request.querystring.Name. These parameters will be used to derive
	// the authorization caching key and to perform runtime validation of the REQUEST
	// authorizer by verifying all of the identity-related request parameters are
	// present, not null and non-empty. Only when this is true does the authorizer
	// invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized
	// response without calling the Lambda function. The valid value is a string
	// of comma-separated mapping expressions of the specified request parameters.
	// When the authorization caching is not enabled, this property is optional.
	IdentitySource []*string `locationName:"identitySource" type:"list"`

	// A string with a length between [0-1024].
	IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

	// Represents the configuration of a JWT authorizer. Required for the JWT authorizer
	// type. Supported only for HTTP APIs.
	JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

func (CreateAuthorizerOutput) GoString

func (s CreateAuthorizerOutput) GoString() string

GoString returns the string representation

func (*CreateAuthorizerOutput) SetAuthorizerCredentialsArn

func (s *CreateAuthorizerOutput) SetAuthorizerCredentialsArn(v string) *CreateAuthorizerOutput

SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.

func (*CreateAuthorizerOutput) SetAuthorizerId

func (s *CreateAuthorizerOutput) SetAuthorizerId(v string) *CreateAuthorizerOutput

SetAuthorizerId sets the AuthorizerId field's value.

func (*CreateAuthorizerOutput) SetAuthorizerPayloadFormatVersion

func (s *CreateAuthorizerOutput) SetAuthorizerPayloadFormatVersion(v string) *CreateAuthorizerOutput

SetAuthorizerPayloadFormatVersion sets the AuthorizerPayloadFormatVersion 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) SetEnableSimpleResponses

func (s *CreateAuthorizerOutput) SetEnableSimpleResponses(v bool) *CreateAuthorizerOutput

SetEnableSimpleResponses sets the EnableSimpleResponses field's value.

func (*CreateAuthorizerOutput) SetIdentitySource

func (s *CreateAuthorizerOutput) SetIdentitySource(v []*string) *CreateAuthorizerOutput

SetIdentitySource sets the IdentitySource field's value.

func (*CreateAuthorizerOutput) SetIdentityValidationExpression

func (s *CreateAuthorizerOutput) SetIdentityValidationExpression(v string) *CreateAuthorizerOutput

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*CreateAuthorizerOutput) SetJwtConfiguration

SetJwtConfiguration sets the JwtConfiguration field's value.

func (*CreateAuthorizerOutput) SetName

SetName sets the Name field's value.

func (CreateAuthorizerOutput) String

func (s CreateAuthorizerOutput) String() string

String returns the string representation

type CreateDeploymentInput

type CreateDeploymentInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	// A string with a length between [1-128].
	StageName *string `locationName:"stageName" type:"string"`
	// contains filtered or unexported fields
}

func (CreateDeploymentInput) GoString

func (s CreateDeploymentInput) GoString() string

GoString returns the string representation

func (*CreateDeploymentInput) SetApiId

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 {
	AutoDeployed *bool `locationName:"autoDeployed" type:"boolean"`

	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// The identifier.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// Represents a deployment status.
	DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"`

	DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`
	// contains filtered or unexported fields
}

func (CreateDeploymentOutput) GoString

func (s CreateDeploymentOutput) GoString() string

GoString returns the string representation

func (*CreateDeploymentOutput) SetAutoDeployed

func (s *CreateDeploymentOutput) SetAutoDeployed(v bool) *CreateDeploymentOutput

SetAutoDeployed sets the AutoDeployed field's value.

func (*CreateDeploymentOutput) SetCreatedDate

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"`

	// If specified, API Gateway performs two-way authentication between the client
	// and the server. Clients must present a trusted certificate to access your
	// API.
	MutualTlsAuthentication *MutualTlsAuthenticationInput `locationName:"mutualTlsAuthentication" type:"structure"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateDomainNameInput) GoString

func (s CreateDomainNameInput) GoString() string

GoString returns the string representation

func (*CreateDomainNameInput) SetDomainName

func (s *CreateDomainNameInput) SetDomainName(v string) *CreateDomainNameInput

SetDomainName sets the DomainName field's value.

func (*CreateDomainNameInput) SetDomainNameConfigurations

func (s *CreateDomainNameInput) SetDomainNameConfigurations(v []*DomainNameConfiguration) *CreateDomainNameInput

SetDomainNameConfigurations sets the DomainNameConfigurations field's value.

func (*CreateDomainNameInput) SetMutualTlsAuthentication

SetMutualTlsAuthentication sets the MutualTlsAuthentication field's value.

func (*CreateDomainNameInput) SetTags

SetTags sets the Tags field's value.

func (CreateDomainNameInput) String

func (s CreateDomainNameInput) String() string

String returns the string representation

func (*CreateDomainNameInput) Validate

func (s *CreateDomainNameInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDomainNameOutput

type CreateDomainNameOutput struct {

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	ApiMappingSelectionExpression *string `locationName:"apiMappingSelectionExpression" type:"string"`

	// A string with a length between [1-512].
	DomainName *string `locationName:"domainName" type:"string"`

	// The domain name configurations.
	DomainNameConfigurations []*DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"`

	// If specified, API Gateway performs two-way authentication between the client
	// and the server. Clients must present a trusted certificate to access your
	// API.
	MutualTlsAuthentication *MutualTlsAuthentication `locationName:"mutualTlsAuthentication" type:"structure"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateDomainNameOutput) GoString

func (s CreateDomainNameOutput) GoString() string

GoString returns the string representation

func (*CreateDomainNameOutput) SetApiMappingSelectionExpression

func (s *CreateDomainNameOutput) SetApiMappingSelectionExpression(v string) *CreateDomainNameOutput

SetApiMappingSelectionExpression sets the ApiMappingSelectionExpression field's value.

func (*CreateDomainNameOutput) SetDomainName

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) SetMutualTlsAuthentication

func (s *CreateDomainNameOutput) SetMutualTlsAuthentication(v *MutualTlsAuthentication) *CreateDomainNameOutput

SetMutualTlsAuthentication sets the MutualTlsAuthentication field's value.

func (*CreateDomainNameOutput) SetTags

SetTags sets the Tags field's value.

func (CreateDomainNameOutput) String

func (s CreateDomainNameOutput) String() string

String returns the string representation

type CreateIntegrationInput

type CreateIntegrationInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// A string with a length between [1-1024].
	ConnectionId *string `locationName:"connectionId" type:"string"`

	// Represents a connection type.
	ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"`

	// Specifies how to handle response payload content type conversions. Supported
	// only for WebSocket APIs.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// Represents an Amazon Resource Name (ARN).
	CredentialsArn *string `locationName:"credentialsArn" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	// A string with a length between [1-64].
	IntegrationMethod *string `locationName:"integrationMethod" type:"string"`

	// A string with a length between [1-128].
	IntegrationSubtype *string `locationName:"integrationSubtype" type:"string"`

	// Represents an API method integration type.
	//
	// IntegrationType is a required field
	IntegrationType *string `locationName:"integrationType" type:"string" required:"true" enum:"IntegrationType"`

	// A string representation of a URI with a length between [1-2048].
	IntegrationUri *string `locationName:"integrationUri" type:"string"`

	// Represents passthrough behavior for an integration response. Supported only
	// for WebSocket APIs.
	PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

	// A string with a length between [1-64].
	PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"`

	// For WebSocket APIs, 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.
	//
	// For HTTP API integrations with a specified integrationSubtype, request parameters
	// are a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// You can provide static values, or map request data, stage variables, or context
	// variables that are evaluated at runtime. To learn more, see Working with
	// AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html).
	//
	// For HTTP API integrations without a specified integrationSubtype request
	// parameters are a key-value map specifying how to transform HTTP requests
	// before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location>
	// where action can be append, overwrite or remove. For values, you can provide
	// static values, or map request data, stage variables, or context variables
	// that are evaluated at runtime. To learn more, see Transforming API requests
	// and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
	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"`

	// Supported only for HTTP APIs. You use response parameters to transform the
	// HTTP response from a backend integration before returning the response to
	// clients.
	ResponseParameters map[string]map[string]*string `locationName:"responseParameters" type:"map"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

	// An integer with a value between [50-30000].
	TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`

	// The TLS configuration for a private integration. If you specify a TLS configuration,
	// private integration traffic uses the HTTPS protocol. Supported only for HTTP
	// APIs.
	TlsConfig *TlsConfigInput `locationName:"tlsConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateIntegrationInput) GoString

func (s CreateIntegrationInput) GoString() string

GoString returns the string representation

func (*CreateIntegrationInput) SetApiId

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) SetIntegrationSubtype

func (s *CreateIntegrationInput) SetIntegrationSubtype(v string) *CreateIntegrationInput

SetIntegrationSubtype sets the IntegrationSubtype field's value.

func (*CreateIntegrationInput) SetIntegrationType

func (s *CreateIntegrationInput) SetIntegrationType(v string) *CreateIntegrationInput

SetIntegrationType sets the IntegrationType field's value.

func (*CreateIntegrationInput) SetIntegrationUri

func (s *CreateIntegrationInput) SetIntegrationUri(v string) *CreateIntegrationInput

SetIntegrationUri sets the IntegrationUri field's value.

func (*CreateIntegrationInput) SetPassthroughBehavior

func (s *CreateIntegrationInput) SetPassthroughBehavior(v string) *CreateIntegrationInput

SetPassthroughBehavior sets the PassthroughBehavior field's value.

func (*CreateIntegrationInput) SetPayloadFormatVersion

func (s *CreateIntegrationInput) SetPayloadFormatVersion(v string) *CreateIntegrationInput

SetPayloadFormatVersion sets the PayloadFormatVersion field's value.

func (*CreateIntegrationInput) SetRequestParameters

func (s *CreateIntegrationInput) SetRequestParameters(v map[string]*string) *CreateIntegrationInput

SetRequestParameters sets the RequestParameters field's value.

func (*CreateIntegrationInput) SetRequestTemplates

func (s *CreateIntegrationInput) SetRequestTemplates(v map[string]*string) *CreateIntegrationInput

SetRequestTemplates sets the RequestTemplates field's value.

func (*CreateIntegrationInput) SetResponseParameters

func (s *CreateIntegrationInput) SetResponseParameters(v map[string]map[string]*string) *CreateIntegrationInput

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateIntegrationInput) SetTemplateSelectionExpression

func (s *CreateIntegrationInput) SetTemplateSelectionExpression(v string) *CreateIntegrationInput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (*CreateIntegrationInput) SetTimeoutInMillis

func (s *CreateIntegrationInput) SetTimeoutInMillis(v int64) *CreateIntegrationInput

SetTimeoutInMillis sets the TimeoutInMillis field's value.

func (*CreateIntegrationInput) SetTlsConfig

SetTlsConfig sets the TlsConfig field's value.

func (CreateIntegrationInput) String

func (s CreateIntegrationInput) String() string

String returns the string representation

func (*CreateIntegrationInput) Validate

func (s *CreateIntegrationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateIntegrationOutput

type CreateIntegrationOutput struct {
	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	// A string with a length between [1-1024].
	ConnectionId *string `locationName:"connectionId" type:"string"`

	// Represents a connection type.
	ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"`

	// Specifies how to handle response payload content type conversions. Supported
	// only for WebSocket APIs.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// Represents an Amazon Resource Name (ARN).
	CredentialsArn *string `locationName:"credentialsArn" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	// The identifier.
	IntegrationId *string `locationName:"integrationId" type:"string"`

	// A string with a length between [1-64].
	IntegrationMethod *string `locationName:"integrationMethod" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	IntegrationResponseSelectionExpression *string `locationName:"integrationResponseSelectionExpression" type:"string"`

	// A string with a length between [1-128].
	IntegrationSubtype *string `locationName:"integrationSubtype" type:"string"`

	// Represents an API method integration type.
	IntegrationType *string `locationName:"integrationType" type:"string" enum:"IntegrationType"`

	// A string representation of a URI with a length between [1-2048].
	IntegrationUri *string `locationName:"integrationUri" type:"string"`

	// Represents passthrough behavior for an integration response. Supported only
	// for WebSocket APIs.
	PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

	// A string with a length between [1-64].
	PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"`

	// For WebSocket APIs, 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.
	//
	// For HTTP API integrations with a specified integrationSubtype, request parameters
	// are a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// You can provide static values, or map request data, stage variables, or context
	// variables that are evaluated at runtime. To learn more, see Working with
	// AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html).
	//
	// For HTTP API integrations without a specified integrationSubtype request
	// parameters are a key-value map specifying how to transform HTTP requests
	// before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location>
	// where action can be append, overwrite or remove. For values, you can provide
	// static values, or map request data, stage variables, or context variables
	// that are evaluated at runtime. To learn more, see Transforming API requests
	// and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
	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"`

	// Supported only for HTTP APIs. You use response parameters to transform the
	// HTTP response from a backend integration before returning the response to
	// clients.
	ResponseParameters map[string]map[string]*string `locationName:"responseParameters" type:"map"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

	// An integer with a value between [50-30000].
	TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`

	// The TLS configuration for a private integration. If you specify a TLS configuration,
	// private integration traffic uses the HTTPS protocol. Supported only for HTTP
	// APIs.
	TlsConfig *TlsConfig `locationName:"tlsConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateIntegrationOutput) GoString

func (s CreateIntegrationOutput) GoString() string

GoString returns the string representation

func (*CreateIntegrationOutput) SetApiGatewayManaged

func (s *CreateIntegrationOutput) SetApiGatewayManaged(v bool) *CreateIntegrationOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*CreateIntegrationOutput) SetConnectionId

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) SetIntegrationSubtype

func (s *CreateIntegrationOutput) SetIntegrationSubtype(v string) *CreateIntegrationOutput

SetIntegrationSubtype sets the IntegrationSubtype field's value.

func (*CreateIntegrationOutput) SetIntegrationType

func (s *CreateIntegrationOutput) SetIntegrationType(v string) *CreateIntegrationOutput

SetIntegrationType sets the IntegrationType field's value.

func (*CreateIntegrationOutput) SetIntegrationUri

func (s *CreateIntegrationOutput) SetIntegrationUri(v string) *CreateIntegrationOutput

SetIntegrationUri sets the IntegrationUri field's value.

func (*CreateIntegrationOutput) SetPassthroughBehavior

func (s *CreateIntegrationOutput) SetPassthroughBehavior(v string) *CreateIntegrationOutput

SetPassthroughBehavior sets the PassthroughBehavior field's value.

func (*CreateIntegrationOutput) SetPayloadFormatVersion

func (s *CreateIntegrationOutput) SetPayloadFormatVersion(v string) *CreateIntegrationOutput

SetPayloadFormatVersion sets the PayloadFormatVersion field's value.

func (*CreateIntegrationOutput) SetRequestParameters

func (s *CreateIntegrationOutput) SetRequestParameters(v map[string]*string) *CreateIntegrationOutput

SetRequestParameters sets the RequestParameters field's value.

func (*CreateIntegrationOutput) SetRequestTemplates

func (s *CreateIntegrationOutput) SetRequestTemplates(v map[string]*string) *CreateIntegrationOutput

SetRequestTemplates sets the RequestTemplates field's value.

func (*CreateIntegrationOutput) SetResponseParameters

func (s *CreateIntegrationOutput) SetResponseParameters(v map[string]map[string]*string) *CreateIntegrationOutput

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateIntegrationOutput) SetTemplateSelectionExpression

func (s *CreateIntegrationOutput) SetTemplateSelectionExpression(v string) *CreateIntegrationOutput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (*CreateIntegrationOutput) SetTimeoutInMillis

func (s *CreateIntegrationOutput) SetTimeoutInMillis(v int64) *CreateIntegrationOutput

SetTimeoutInMillis sets the TimeoutInMillis field's value.

func (*CreateIntegrationOutput) SetTlsConfig

SetTlsConfig sets the TlsConfig field's value.

func (CreateIntegrationOutput) String

func (s CreateIntegrationOutput) String() string

String returns the string representation

type CreateIntegrationResponseInput

type CreateIntegrationResponseInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// Specifies how to handle response payload content type conversions. Supported
	// only for WebSocket APIs.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// IntegrationId is a required field
	IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`

	// After evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	//
	// IntegrationResponseKey is a required field
	IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string" required:"true"`

	// For WebSocket APIs, 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.
	//
	// For HTTP API integrations with a specified integrationSubtype, request parameters
	// are a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// You can provide static values, or map request data, stage variables, or context
	// variables that are evaluated at runtime. To learn more, see Working with
	// AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html).
	//
	// For HTTP API integrations without a specified integrationSubtype request
	// parameters are a key-value map specifying how to transform HTTP requests
	// before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location>
	// where action can be append, overwrite or remove. For values, you can provide
	// static values, or map request data, stage variables, or context variables
	// that are evaluated at runtime. To learn more, see Transforming API requests
	// and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
	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. Supported
	// only for WebSocket APIs.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// The identifier.
	IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"`

	// After evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string"`

	// For WebSocket APIs, 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.
	//
	// For HTTP API integrations with a specified integrationSubtype, request parameters
	// are a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// You can provide static values, or map request data, stage variables, or context
	// variables that are evaluated at runtime. To learn more, see Working with
	// AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html).
	//
	// For HTTP API integrations without a specified integrationSubtype request
	// parameters are a key-value map specifying how to transform HTTP requests
	// before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location>
	// where action can be append, overwrite or remove. For values, you can provide
	// static values, or map request data, stage variables, or context variables
	// that are evaluated at runtime. To learn more, see Transforming API requests
	// and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
	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 JWT authorizer to authorize the method invocation. The authorization
	// works by matching the route scopes against the scopes parsed from the access
	// token in the incoming request. The method invocation is authorized if any
	// route scope matches a claimed scope in the access token. Otherwise, the invocation
	// is not authorized. When the route scope is configured, the client must provide
	// an access token instead of an identity token for authorization purposes.
	AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"`

	// The authorization type. For WebSocket APIs, valid values are NONE for open
	// access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda
	// authorizer. For HTTP APIs, valid values are NONE for open access, JWT for
	// using JSON Web Tokens, 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 evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	//
	// RouteKey is a required field
	RouteKey *string `locationName:"routeKey" type:"string" required:"true"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

	// A string with a length between [1-128].
	Target *string `locationName:"target" type:"string"`
	// contains filtered or unexported fields
}

func (CreateRouteInput) GoString

func (s CreateRouteInput) GoString() string

GoString returns the string representation

func (*CreateRouteInput) SetApiId

func (s *CreateRouteInput) SetApiId(v string) *CreateRouteInput

SetApiId sets the ApiId field's value.

func (*CreateRouteInput) SetApiKeyRequired

func (s *CreateRouteInput) SetApiKeyRequired(v bool) *CreateRouteInput

SetApiKeyRequired sets the ApiKeyRequired field's value.

func (*CreateRouteInput) SetAuthorizationScopes

func (s *CreateRouteInput) SetAuthorizationScopes(v []*string) *CreateRouteInput

SetAuthorizationScopes sets the AuthorizationScopes field's value.

func (*CreateRouteInput) SetAuthorizationType

func (s *CreateRouteInput) SetAuthorizationType(v string) *CreateRouteInput

SetAuthorizationType sets the AuthorizationType field's value.

func (*CreateRouteInput) SetAuthorizerId

func (s *CreateRouteInput) SetAuthorizerId(v string) *CreateRouteInput

SetAuthorizerId sets the AuthorizerId field's value.

func (*CreateRouteInput) SetModelSelectionExpression

func (s *CreateRouteInput) SetModelSelectionExpression(v string) *CreateRouteInput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*CreateRouteInput) SetOperationName

func (s *CreateRouteInput) SetOperationName(v string) *CreateRouteInput

SetOperationName sets the OperationName field's value.

func (*CreateRouteInput) SetRequestModels

func (s *CreateRouteInput) SetRequestModels(v map[string]*string) *CreateRouteInput

SetRequestModels sets the RequestModels field's value.

func (*CreateRouteInput) SetRequestParameters

func (s *CreateRouteInput) SetRequestParameters(v map[string]*ParameterConstraints) *CreateRouteInput

SetRequestParameters sets the RequestParameters field's value.

func (*CreateRouteInput) SetRouteKey

func (s *CreateRouteInput) SetRouteKey(v string) *CreateRouteInput

SetRouteKey sets the RouteKey field's value.

func (*CreateRouteInput) SetRouteResponseSelectionExpression

func (s *CreateRouteInput) SetRouteResponseSelectionExpression(v string) *CreateRouteInput

SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.

func (*CreateRouteInput) SetTarget

func (s *CreateRouteInput) SetTarget(v string) *CreateRouteInput

SetTarget sets the Target field's value.

func (CreateRouteInput) String

func (s CreateRouteInput) String() string

String returns the string representation

func (*CreateRouteInput) Validate

func (s *CreateRouteInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRouteOutput

type CreateRouteOutput struct {
	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

	// A list of authorization scopes configured on a route. The scopes are used
	// with a JWT authorizer to authorize the method invocation. The authorization
	// works by matching the route scopes against the scopes parsed from the access
	// token in the incoming request. The method invocation is authorized if any
	// route scope matches a claimed scope in the access token. Otherwise, the invocation
	// is not authorized. When the route scope is configured, the client must provide
	// an access token instead of an identity token for authorization purposes.
	AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"`

	// The authorization type. For WebSocket APIs, valid values are NONE for open
	// access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda
	// authorizer. For HTTP APIs, valid values are NONE for open access, JWT for
	// using JSON Web Tokens, 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 evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	RouteKey *string `locationName:"routeKey" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

	// A string with a length between [1-128].
	Target *string `locationName:"target" type:"string"`
	// contains filtered or unexported fields
}

func (CreateRouteOutput) GoString

func (s CreateRouteOutput) GoString() string

GoString returns the string representation

func (*CreateRouteOutput) SetApiGatewayManaged

func (s *CreateRouteOutput) SetApiGatewayManaged(v bool) *CreateRouteOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*CreateRouteOutput) SetApiKeyRequired

func (s *CreateRouteOutput) SetApiKeyRequired(v bool) *CreateRouteOutput

SetApiKeyRequired sets the ApiKeyRequired field's value.

func (*CreateRouteOutput) SetAuthorizationScopes

func (s *CreateRouteOutput) SetAuthorizationScopes(v []*string) *CreateRouteOutput

SetAuthorizationScopes sets the AuthorizationScopes field's value.

func (*CreateRouteOutput) SetAuthorizationType

func (s *CreateRouteOutput) SetAuthorizationType(v string) *CreateRouteOutput

SetAuthorizationType sets the AuthorizationType field's value.

func (*CreateRouteOutput) SetAuthorizerId

func (s *CreateRouteOutput) SetAuthorizerId(v string) *CreateRouteOutput

SetAuthorizerId sets the AuthorizerId field's value.

func (*CreateRouteOutput) SetModelSelectionExpression

func (s *CreateRouteOutput) SetModelSelectionExpression(v string) *CreateRouteOutput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*CreateRouteOutput) SetOperationName

func (s *CreateRouteOutput) SetOperationName(v string) *CreateRouteOutput

SetOperationName sets the OperationName field's value.

func (*CreateRouteOutput) SetRequestModels

func (s *CreateRouteOutput) SetRequestModels(v map[string]*string) *CreateRouteOutput

SetRequestModels sets the RequestModels field's value.

func (*CreateRouteOutput) SetRequestParameters

func (s *CreateRouteOutput) SetRequestParameters(v map[string]*ParameterConstraints) *CreateRouteOutput

SetRequestParameters sets the RequestParameters field's value.

func (*CreateRouteOutput) SetRouteId

func (s *CreateRouteOutput) SetRouteId(v string) *CreateRouteOutput

SetRouteId sets the RouteId field's value.

func (*CreateRouteOutput) SetRouteKey

func (s *CreateRouteOutput) SetRouteKey(v string) *CreateRouteOutput

SetRouteKey sets the RouteKey field's value.

func (*CreateRouteOutput) SetRouteResponseSelectionExpression

func (s *CreateRouteOutput) SetRouteResponseSelectionExpression(v string) *CreateRouteOutput

SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.

func (*CreateRouteOutput) SetTarget

func (s *CreateRouteOutput) SetTarget(v string) *CreateRouteOutput

SetTarget sets the Target field's value.

func (CreateRouteOutput) String

func (s CreateRouteOutput) String() string

String returns the string representation

type CreateRouteResponseInput

type CreateRouteResponseInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

	// The route models.
	ResponseModels map[string]*string `locationName:"responseModels" type:"map"`

	// The route parameters.
	ResponseParameters map[string]*ParameterConstraints `locationName:"responseParameters" type:"map"`

	// RouteId is a required field
	RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`

	// After evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	//
	// RouteResponseKey is a required field
	RouteResponseKey *string `locationName:"routeResponseKey" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateRouteResponseInput) GoString

func (s CreateRouteResponseInput) GoString() string

GoString returns the string representation

func (*CreateRouteResponseInput) SetApiId

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 evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	RouteResponseKey *string `locationName:"routeResponseKey" type:"string"`
	// contains filtered or unexported fields
}

func (CreateRouteResponseOutput) GoString

func (s CreateRouteResponseOutput) GoString() string

GoString returns the string representation

func (*CreateRouteResponseOutput) SetModelSelectionExpression

func (s *CreateRouteResponseOutput) SetModelSelectionExpression(v string) *CreateRouteResponseOutput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*CreateRouteResponseOutput) SetResponseModels

func (s *CreateRouteResponseOutput) SetResponseModels(v map[string]*string) *CreateRouteResponseOutput

SetResponseModels sets the ResponseModels field's value.

func (*CreateRouteResponseOutput) SetResponseParameters

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"`

	AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"`

	// The identifier.
	ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

	// Represents a collection of route settings.
	DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

	// The identifier.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	// The route settings map.
	RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"`

	// A string with a length between [1-128].
	//
	// StageName is a required field
	StageName *string `locationName:"stageName" type:"string" required:"true"`

	// The stage variable map.
	StageVariables map[string]*string `locationName:"stageVariables" type:"map"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateStageInput) GoString

func (s CreateStageInput) GoString() string

GoString returns the string representation

func (*CreateStageInput) SetAccessLogSettings

func (s *CreateStageInput) SetAccessLogSettings(v *AccessLogSettings) *CreateStageInput

SetAccessLogSettings sets the AccessLogSettings field's value.

func (*CreateStageInput) SetApiId

func (s *CreateStageInput) SetApiId(v string) *CreateStageInput

SetApiId sets the ApiId field's value.

func (*CreateStageInput) SetAutoDeploy

func (s *CreateStageInput) SetAutoDeploy(v bool) *CreateStageInput

SetAutoDeploy sets the AutoDeploy field's value.

func (*CreateStageInput) SetClientCertificateId

func (s *CreateStageInput) SetClientCertificateId(v string) *CreateStageInput

SetClientCertificateId sets the ClientCertificateId field's value.

func (*CreateStageInput) SetDefaultRouteSettings

func (s *CreateStageInput) SetDefaultRouteSettings(v *RouteSettings) *CreateStageInput

SetDefaultRouteSettings sets the DefaultRouteSettings field's value.

func (*CreateStageInput) SetDeploymentId

func (s *CreateStageInput) SetDeploymentId(v string) *CreateStageInput

SetDeploymentId sets the DeploymentId field's value.

func (*CreateStageInput) SetDescription

func (s *CreateStageInput) SetDescription(v string) *CreateStageInput

SetDescription sets the Description field's value.

func (*CreateStageInput) SetRouteSettings

func (s *CreateStageInput) SetRouteSettings(v map[string]*RouteSettings) *CreateStageInput

SetRouteSettings sets the RouteSettings field's value.

func (*CreateStageInput) SetStageName

func (s *CreateStageInput) SetStageName(v string) *CreateStageInput

SetStageName sets the StageName field's value.

func (*CreateStageInput) SetStageVariables

func (s *CreateStageInput) SetStageVariables(v map[string]*string) *CreateStageInput

SetStageVariables sets the StageVariables field's value.

func (*CreateStageInput) SetTags

func (s *CreateStageInput) SetTags(v map[string]*string) *CreateStageInput

SetTags sets the Tags field's value.

func (CreateStageInput) String

func (s CreateStageInput) String() string

String returns the string representation

func (*CreateStageInput) Validate

func (s *CreateStageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateStageOutput

type CreateStageOutput struct {

	// Settings for logging access in a stage.
	AccessLogSettings *AccessLogSettings `locationName:"accessLogSettings" type:"structure"`

	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"`

	// The identifier.
	ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// Represents a collection of route settings.
	DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

	// The identifier.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	LastDeploymentStatusMessage *string `locationName:"lastDeploymentStatusMessage" type:"string"`

	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"`

	// The route settings map.
	RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"`

	// A string with a length between [1-128].
	StageName *string `locationName:"stageName" type:"string"`

	// The stage variable map.
	StageVariables map[string]*string `locationName:"stageVariables" type:"map"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateStageOutput) GoString

func (s CreateStageOutput) GoString() string

GoString returns the string representation

func (*CreateStageOutput) SetAccessLogSettings

func (s *CreateStageOutput) SetAccessLogSettings(v *AccessLogSettings) *CreateStageOutput

SetAccessLogSettings sets the AccessLogSettings field's value.

func (*CreateStageOutput) SetApiGatewayManaged

func (s *CreateStageOutput) SetApiGatewayManaged(v bool) *CreateStageOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*CreateStageOutput) SetAutoDeploy

func (s *CreateStageOutput) SetAutoDeploy(v bool) *CreateStageOutput

SetAutoDeploy sets the AutoDeploy field's value.

func (*CreateStageOutput) SetClientCertificateId

func (s *CreateStageOutput) SetClientCertificateId(v string) *CreateStageOutput

SetClientCertificateId sets the ClientCertificateId field's value.

func (*CreateStageOutput) SetCreatedDate

func (s *CreateStageOutput) SetCreatedDate(v time.Time) *CreateStageOutput

SetCreatedDate sets the CreatedDate field's value.

func (*CreateStageOutput) SetDefaultRouteSettings

func (s *CreateStageOutput) SetDefaultRouteSettings(v *RouteSettings) *CreateStageOutput

SetDefaultRouteSettings sets the DefaultRouteSettings field's value.

func (*CreateStageOutput) SetDeploymentId

func (s *CreateStageOutput) SetDeploymentId(v string) *CreateStageOutput

SetDeploymentId sets the DeploymentId field's value.

func (*CreateStageOutput) SetDescription

func (s *CreateStageOutput) SetDescription(v string) *CreateStageOutput

SetDescription sets the Description field's value.

func (*CreateStageOutput) SetLastDeploymentStatusMessage

func (s *CreateStageOutput) SetLastDeploymentStatusMessage(v string) *CreateStageOutput

SetLastDeploymentStatusMessage sets the LastDeploymentStatusMessage field's value.

func (*CreateStageOutput) SetLastUpdatedDate

func (s *CreateStageOutput) SetLastUpdatedDate(v time.Time) *CreateStageOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*CreateStageOutput) SetRouteSettings

func (s *CreateStageOutput) SetRouteSettings(v map[string]*RouteSettings) *CreateStageOutput

SetRouteSettings sets the RouteSettings field's value.

func (*CreateStageOutput) SetStageName

func (s *CreateStageOutput) SetStageName(v string) *CreateStageOutput

SetStageName sets the StageName field's value.

func (*CreateStageOutput) SetStageVariables

func (s *CreateStageOutput) SetStageVariables(v map[string]*string) *CreateStageOutput

SetStageVariables sets the StageVariables field's value.

func (*CreateStageOutput) SetTags

func (s *CreateStageOutput) SetTags(v map[string]*string) *CreateStageOutput

SetTags sets the Tags field's value.

func (CreateStageOutput) String

func (s CreateStageOutput) String() string

String returns the string representation

type CreateVpcLinkInput

type CreateVpcLinkInput struct {

	// A string with a length between [1-128].
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// A list of security group IDs for the VPC link.
	SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"`

	// A list of subnet IDs to include in the VPC link.
	//
	// SubnetIds is a required field
	SubnetIds []*string `locationName:"subnetIds" type:"list" required:"true"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateVpcLinkInput) GoString

func (s CreateVpcLinkInput) GoString() string

GoString returns the string representation

func (*CreateVpcLinkInput) SetName

SetName sets the Name field's value.

func (*CreateVpcLinkInput) SetSecurityGroupIds

func (s *CreateVpcLinkInput) SetSecurityGroupIds(v []*string) *CreateVpcLinkInput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*CreateVpcLinkInput) SetSubnetIds

func (s *CreateVpcLinkInput) SetSubnetIds(v []*string) *CreateVpcLinkInput

SetSubnetIds sets the SubnetIds field's value.

func (*CreateVpcLinkInput) SetTags

func (s *CreateVpcLinkInput) SetTags(v map[string]*string) *CreateVpcLinkInput

SetTags sets the Tags field's value.

func (CreateVpcLinkInput) String

func (s CreateVpcLinkInput) String() string

String returns the string representation

func (*CreateVpcLinkInput) Validate

func (s *CreateVpcLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateVpcLinkOutput

type CreateVpcLinkOutput struct {
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// A list of security group IDs for the VPC link.
	SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"`

	// A list of subnet IDs to include in the VPC link.
	SubnetIds []*string `locationName:"subnetIds" type:"list"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The identifier.
	VpcLinkId *string `locationName:"vpcLinkId" type:"string"`

	// The status of the VPC link.
	VpcLinkStatus *string `locationName:"vpcLinkStatus" type:"string" enum:"VpcLinkStatus"`

	// A string with a length between [0-1024].
	VpcLinkStatusMessage *string `locationName:"vpcLinkStatusMessage" type:"string"`

	// The version of the VPC link.
	VpcLinkVersion *string `locationName:"vpcLinkVersion" type:"string" enum:"VpcLinkVersion"`
	// contains filtered or unexported fields
}

func (CreateVpcLinkOutput) GoString

func (s CreateVpcLinkOutput) GoString() string

GoString returns the string representation

func (*CreateVpcLinkOutput) SetCreatedDate

func (s *CreateVpcLinkOutput) SetCreatedDate(v time.Time) *CreateVpcLinkOutput

SetCreatedDate sets the CreatedDate field's value.

func (*CreateVpcLinkOutput) SetName

SetName sets the Name field's value.

func (*CreateVpcLinkOutput) SetSecurityGroupIds

func (s *CreateVpcLinkOutput) SetSecurityGroupIds(v []*string) *CreateVpcLinkOutput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*CreateVpcLinkOutput) SetSubnetIds

func (s *CreateVpcLinkOutput) SetSubnetIds(v []*string) *CreateVpcLinkOutput

SetSubnetIds sets the SubnetIds field's value.

func (*CreateVpcLinkOutput) SetTags

SetTags sets the Tags field's value.

func (*CreateVpcLinkOutput) SetVpcLinkId

func (s *CreateVpcLinkOutput) SetVpcLinkId(v string) *CreateVpcLinkOutput

SetVpcLinkId sets the VpcLinkId field's value.

func (*CreateVpcLinkOutput) SetVpcLinkStatus

func (s *CreateVpcLinkOutput) SetVpcLinkStatus(v string) *CreateVpcLinkOutput

SetVpcLinkStatus sets the VpcLinkStatus field's value.

func (*CreateVpcLinkOutput) SetVpcLinkStatusMessage

func (s *CreateVpcLinkOutput) SetVpcLinkStatusMessage(v string) *CreateVpcLinkOutput

SetVpcLinkStatusMessage sets the VpcLinkStatusMessage field's value.

func (*CreateVpcLinkOutput) SetVpcLinkVersion

func (s *CreateVpcLinkOutput) SetVpcLinkVersion(v string) *CreateVpcLinkOutput

SetVpcLinkVersion sets the VpcLinkVersion field's value.

func (CreateVpcLinkOutput) String

func (s CreateVpcLinkOutput) String() string

String returns the string representation

type DeleteAccessLogSettingsInput

type DeleteAccessLogSettingsInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// StageName is a required field
	StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAccessLogSettingsInput) GoString

func (s DeleteAccessLogSettingsInput) GoString() string

GoString returns the string representation

func (*DeleteAccessLogSettingsInput) SetApiId

SetApiId sets the ApiId field's value.

func (*DeleteAccessLogSettingsInput) SetStageName

SetStageName sets the StageName field's value.

func (DeleteAccessLogSettingsInput) String

String returns the string representation

func (*DeleteAccessLogSettingsInput) Validate

func (s *DeleteAccessLogSettingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAccessLogSettingsOutput

type DeleteAccessLogSettingsOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAccessLogSettingsOutput) GoString

GoString returns the string representation

func (DeleteAccessLogSettingsOutput) 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 DeleteCorsConfigurationInput

type DeleteCorsConfigurationInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteCorsConfigurationInput) GoString

func (s DeleteCorsConfigurationInput) GoString() string

GoString returns the string representation

func (*DeleteCorsConfigurationInput) SetApiId

SetApiId sets the ApiId field's value.

func (DeleteCorsConfigurationInput) String

String returns the string representation

func (*DeleteCorsConfigurationInput) Validate

func (s *DeleteCorsConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCorsConfigurationOutput

type DeleteCorsConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteCorsConfigurationOutput) GoString

GoString returns the string representation

func (DeleteCorsConfigurationOutput) 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 DeleteRouteRequestParameterInput

type DeleteRouteRequestParameterInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// RequestParameterKey is a required field
	RequestParameterKey *string `location:"uri" locationName:"requestParameterKey" type:"string" required:"true"`

	// RouteId is a required field
	RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRouteRequestParameterInput) GoString

GoString returns the string representation

func (*DeleteRouteRequestParameterInput) SetApiId

SetApiId sets the ApiId field's value.

func (*DeleteRouteRequestParameterInput) SetRequestParameterKey

SetRequestParameterKey sets the RequestParameterKey field's value.

func (*DeleteRouteRequestParameterInput) SetRouteId

SetRouteId sets the RouteId field's value.

func (DeleteRouteRequestParameterInput) String

String returns the string representation

func (*DeleteRouteRequestParameterInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DeleteRouteRequestParameterOutput

type DeleteRouteRequestParameterOutput struct {
	// contains filtered or unexported fields
}

func (DeleteRouteRequestParameterOutput) GoString

GoString returns the string representation

func (DeleteRouteRequestParameterOutput) 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 DeleteRouteSettingsInput

type DeleteRouteSettingsInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// RouteKey is a required field
	RouteKey *string `location:"uri" locationName:"routeKey" type:"string" required:"true"`

	// StageName is a required field
	StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRouteSettingsInput) GoString

func (s DeleteRouteSettingsInput) GoString() string

GoString returns the string representation

func (*DeleteRouteSettingsInput) SetApiId

SetApiId sets the ApiId field's value.

func (*DeleteRouteSettingsInput) SetRouteKey

SetRouteKey sets the RouteKey field's value.

func (*DeleteRouteSettingsInput) SetStageName

SetStageName sets the StageName field's value.

func (DeleteRouteSettingsInput) String

func (s DeleteRouteSettingsInput) String() string

String returns the string representation

func (*DeleteRouteSettingsInput) Validate

func (s *DeleteRouteSettingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRouteSettingsOutput

type DeleteRouteSettingsOutput struct {
	// contains filtered or unexported fields
}

func (DeleteRouteSettingsOutput) GoString

func (s DeleteRouteSettingsOutput) GoString() string

GoString returns the string representation

func (DeleteRouteSettingsOutput) String

func (s DeleteRouteSettingsOutput) String() string

String returns the string representation

type DeleteStageInput

type DeleteStageInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// StageName is a required field
	StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteStageInput) GoString

func (s DeleteStageInput) GoString() string

GoString returns the string representation

func (*DeleteStageInput) SetApiId

func (s *DeleteStageInput) SetApiId(v string) *DeleteStageInput

SetApiId sets the ApiId field's value.

func (*DeleteStageInput) SetStageName

func (s *DeleteStageInput) SetStageName(v string) *DeleteStageInput

SetStageName sets the StageName field's value.

func (DeleteStageInput) String

func (s DeleteStageInput) String() string

String returns the string representation

func (*DeleteStageInput) Validate

func (s *DeleteStageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteStageOutput

type DeleteStageOutput struct {
	// contains filtered or unexported fields
}

func (DeleteStageOutput) GoString

func (s DeleteStageOutput) GoString() string

GoString returns the string representation

func (DeleteStageOutput) String

func (s DeleteStageOutput) String() string

String returns the string representation

type DeleteVpcLinkInput

type DeleteVpcLinkInput struct {

	// VpcLinkId is a required field
	VpcLinkId *string `location:"uri" locationName:"vpcLinkId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVpcLinkInput) GoString

func (s DeleteVpcLinkInput) GoString() string

GoString returns the string representation

func (*DeleteVpcLinkInput) SetVpcLinkId

func (s *DeleteVpcLinkInput) SetVpcLinkId(v string) *DeleteVpcLinkInput

SetVpcLinkId sets the VpcLinkId field's value.

func (DeleteVpcLinkInput) String

func (s DeleteVpcLinkInput) String() string

String returns the string representation

func (*DeleteVpcLinkInput) Validate

func (s *DeleteVpcLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteVpcLinkOutput

type DeleteVpcLinkOutput struct {
	// contains filtered or unexported fields
}

func (DeleteVpcLinkOutput) GoString

func (s DeleteVpcLinkOutput) GoString() string

GoString returns the string representation

func (DeleteVpcLinkOutput) String

func (s DeleteVpcLinkOutput) String() string

String returns the string representation

type Deployment

type Deployment struct {

	// Specifies whether a deployment was automatically released.
	AutoDeployed *bool `locationName:"autoDeployed" type:"boolean"`

	// The date and time when the Deployment resource was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// The identifier for the deployment.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// The status of the deployment: PENDING, FAILED, or SUCCEEDED.
	DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"`

	// May contain additional feedback on the status of an API deployment.
	DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"`

	// The description for the deployment.
	Description *string `locationName:"description" type:"string"`
	// contains filtered or unexported fields
}

An immutable representation of an API that can be called by users. A Deployment must be associated with a Stage for it to be callable over the internet.

func (Deployment) GoString

func (s Deployment) GoString() string

GoString returns the string representation

func (*Deployment) SetAutoDeployed

func (s *Deployment) SetAutoDeployed(v bool) *Deployment

SetAutoDeployed sets the AutoDeployed field's value.

func (*Deployment) SetCreatedDate

func (s *Deployment) SetCreatedDate(v time.Time) *Deployment

SetCreatedDate sets the CreatedDate field's value.

func (*Deployment) SetDeploymentId

func (s *Deployment) SetDeploymentId(v string) *Deployment

SetDeploymentId sets the DeploymentId field's value.

func (*Deployment) SetDeploymentStatus

func (s *Deployment) SetDeploymentStatus(v string) *Deployment

SetDeploymentStatus sets the DeploymentStatus field's value.

func (*Deployment) SetDeploymentStatusMessage

func (s *Deployment) SetDeploymentStatusMessage(v string) *Deployment

SetDeploymentStatusMessage sets the DeploymentStatusMessage field's value.

func (*Deployment) SetDescription

func (s *Deployment) SetDescription(v string) *Deployment

SetDescription sets the Description field's value.

func (Deployment) String

func (s Deployment) String() string

String returns the string representation

type DomainName

type DomainName struct {

	// The API mapping selection expression.
	ApiMappingSelectionExpression *string `locationName:"apiMappingSelectionExpression" type:"string"`

	// The name of the DomainName resource.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`

	// The domain name configurations.
	DomainNameConfigurations []*DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"`

	// The mutual TLS authentication configuration for a custom domain name.
	MutualTlsAuthentication *MutualTlsAuthentication `locationName:"mutualTlsAuthentication" type:"structure"`

	// The collection of tags associated with a domain name.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Represents a domain name.

func (DomainName) GoString

func (s DomainName) GoString() string

GoString returns the string representation

func (*DomainName) SetApiMappingSelectionExpression

func (s *DomainName) SetApiMappingSelectionExpression(v string) *DomainName

SetApiMappingSelectionExpression sets the ApiMappingSelectionExpression field's value.

func (*DomainName) SetDomainName

func (s *DomainName) SetDomainName(v string) *DomainName

SetDomainName sets the DomainName field's value.

func (*DomainName) SetDomainNameConfigurations

func (s *DomainName) SetDomainNameConfigurations(v []*DomainNameConfiguration) *DomainName

SetDomainNameConfigurations sets the DomainNameConfigurations field's value.

func (*DomainName) SetMutualTlsAuthentication

func (s *DomainName) SetMutualTlsAuthentication(v *MutualTlsAuthentication) *DomainName

SetMutualTlsAuthentication sets the MutualTlsAuthentication field's value.

func (*DomainName) SetTags

func (s *DomainName) SetTags(v map[string]*string) *DomainName

SetTags sets the Tags field's value.

func (DomainName) String

func (s DomainName) String() string

String returns the string representation

type DomainNameConfiguration

type DomainNameConfiguration struct {

	// A domain name for the API.
	ApiGatewayDomainName *string `locationName:"apiGatewayDomainName" type:"string"`

	// An AWS-managed certificate that will be used by the edge-optimized endpoint
	// for this domain name. AWS Certificate Manager is the only supported source.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The user-friendly name of the certificate that will be used by the edge-optimized
	// endpoint for this domain name.
	CertificateName *string `locationName:"certificateName" type:"string"`

	// The timestamp when the certificate that was used by edge-optimized endpoint
	// for this domain name was uploaded.
	CertificateUploadDate *time.Time `locationName:"certificateUploadDate" type:"timestamp" timestampFormat:"iso8601"`

	// The status of the domain name migration. The valid values are AVAILABLE and
	// UPDATING. If the status is UPDATING, the domain cannot be modified further
	// until the existing operation is complete. If it is AVAILABLE, the domain
	// can be updated.
	DomainNameStatus *string `locationName:"domainNameStatus" type:"string" enum:"DomainNameStatus"`

	// An optional text message containing detailed information about status of
	// the domain name migration.
	DomainNameStatusMessage *string `locationName:"domainNameStatusMessage" type:"string"`

	// The endpoint type.
	EndpointType *string `locationName:"endpointType" type:"string" enum:"EndpointType"`

	// The Amazon Route 53 Hosted Zone ID of the endpoint.
	HostedZoneId *string `locationName:"hostedZoneId" type:"string"`

	// The Transport Layer Security (TLS) version of the security policy for this
	// domain name. The valid values are TLS_1_0 and TLS_1_2.
	SecurityPolicy *string `locationName:"securityPolicy" type:"string" enum:"SecurityPolicy"`
	// contains filtered or unexported fields
}

The domain name configuration.

func (DomainNameConfiguration) GoString

func (s DomainNameConfiguration) GoString() string

GoString returns the string representation

func (*DomainNameConfiguration) SetApiGatewayDomainName

func (s *DomainNameConfiguration) SetApiGatewayDomainName(v string) *DomainNameConfiguration

SetApiGatewayDomainName sets the ApiGatewayDomainName field's value.

func (*DomainNameConfiguration) SetCertificateArn

func (s *DomainNameConfiguration) SetCertificateArn(v string) *DomainNameConfiguration

SetCertificateArn sets the CertificateArn field's value.

func (*DomainNameConfiguration) SetCertificateName

func (s *DomainNameConfiguration) SetCertificateName(v string) *DomainNameConfiguration

SetCertificateName sets the CertificateName field's value.

func (*DomainNameConfiguration) SetCertificateUploadDate

func (s *DomainNameConfiguration) SetCertificateUploadDate(v time.Time) *DomainNameConfiguration

SetCertificateUploadDate sets the CertificateUploadDate field's value.

func (*DomainNameConfiguration) SetDomainNameStatus

func (s *DomainNameConfiguration) SetDomainNameStatus(v string) *DomainNameConfiguration

SetDomainNameStatus sets the DomainNameStatus field's value.

func (*DomainNameConfiguration) SetDomainNameStatusMessage

func (s *DomainNameConfiguration) SetDomainNameStatusMessage(v string) *DomainNameConfiguration

SetDomainNameStatusMessage sets the DomainNameStatusMessage field's value.

func (*DomainNameConfiguration) SetEndpointType

SetEndpointType sets the EndpointType field's value.

func (*DomainNameConfiguration) SetHostedZoneId

SetHostedZoneId sets the HostedZoneId field's value.

func (*DomainNameConfiguration) SetSecurityPolicy

func (s *DomainNameConfiguration) SetSecurityPolicy(v string) *DomainNameConfiguration

SetSecurityPolicy sets the SecurityPolicy field's value.

func (DomainNameConfiguration) String

func (s DomainNameConfiguration) String() string

String returns the string representation

type ExportApiInput

type ExportApiInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	ExportVersion *string `location:"querystring" locationName:"exportVersion" type:"string"`

	IncludeExtensions *bool `location:"querystring" locationName:"includeExtensions" type:"boolean"`

	// OutputType is a required field
	OutputType *string `location:"querystring" locationName:"outputType" type:"string" required:"true"`

	// Specification is a required field
	Specification *string `location:"uri" locationName:"specification" type:"string" required:"true"`

	StageName *string `location:"querystring" locationName:"stageName" type:"string"`
	// contains filtered or unexported fields
}

func (ExportApiInput) GoString

func (s ExportApiInput) GoString() string

GoString returns the string representation

func (*ExportApiInput) SetApiId

func (s *ExportApiInput) SetApiId(v string) *ExportApiInput

SetApiId sets the ApiId field's value.

func (*ExportApiInput) SetExportVersion

func (s *ExportApiInput) SetExportVersion(v string) *ExportApiInput

SetExportVersion sets the ExportVersion field's value.

func (*ExportApiInput) SetIncludeExtensions

func (s *ExportApiInput) SetIncludeExtensions(v bool) *ExportApiInput

SetIncludeExtensions sets the IncludeExtensions field's value.

func (*ExportApiInput) SetOutputType

func (s *ExportApiInput) SetOutputType(v string) *ExportApiInput

SetOutputType sets the OutputType field's value.

func (*ExportApiInput) SetSpecification

func (s *ExportApiInput) SetSpecification(v string) *ExportApiInput

SetSpecification sets the Specification field's value.

func (*ExportApiInput) SetStageName

func (s *ExportApiInput) SetStageName(v string) *ExportApiInput

SetStageName sets the StageName field's value.

func (ExportApiInput) String

func (s ExportApiInput) String() string

String returns the string representation

func (*ExportApiInput) Validate

func (s *ExportApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ExportApiOutput

type ExportApiOutput struct {

	// Represents an exported definition of an API in a particular output format,
	// for example, YAML. The API is serialized to the requested specification,
	// for example, OpenAPI 3.0.
	Body []byte `locationName:"body" type:"blob"`
	// contains filtered or unexported fields
}

func (ExportApiOutput) GoString

func (s ExportApiOutput) GoString() string

GoString returns the string representation

func (*ExportApiOutput) SetBody

func (s *ExportApiOutput) SetBody(v []byte) *ExportApiOutput

SetBody sets the Body field's value.

func (ExportApiOutput) String

func (s ExportApiOutput) String() string

String returns the string representation

type GetApiInput

type GetApiInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetApiInput) GoString

func (s GetApiInput) GoString() string

GoString returns the string representation

func (*GetApiInput) SetApiId

func (s *GetApiInput) SetApiId(v string) *GetApiInput

SetApiId sets the ApiId field's value.

func (GetApiInput) String

func (s GetApiInput) String() string

String returns the string representation

func (*GetApiInput) Validate

func (s *GetApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApiMappingInput

type GetApiMappingInput struct {

	// ApiMappingId is a required field
	ApiMappingId *string `location:"uri" locationName:"apiMappingId" type:"string" required:"true"`

	// DomainName is a required field
	DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetApiMappingInput) GoString

func (s GetApiMappingInput) GoString() string

GoString returns the string representation

func (*GetApiMappingInput) SetApiMappingId

func (s *GetApiMappingInput) SetApiMappingId(v string) *GetApiMappingInput

SetApiMappingId sets the ApiMappingId field's value.

func (*GetApiMappingInput) SetDomainName

func (s *GetApiMappingInput) SetDomainName(v string) *GetApiMappingInput

SetDomainName sets the DomainName field's value.

func (GetApiMappingInput) String

func (s GetApiMappingInput) String() string

String returns the string representation

func (*GetApiMappingInput) Validate

func (s *GetApiMappingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApiMappingOutput

type GetApiMappingOutput struct {

	// The identifier.
	ApiId *string `locationName:"apiId" type:"string"`

	// The identifier.
	ApiMappingId *string `locationName:"apiMappingId" type:"string"`

	// After evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

	// A string with a length between [1-128].
	Stage *string `locationName:"stage" type:"string"`
	// contains filtered or unexported fields
}

func (GetApiMappingOutput) GoString

func (s GetApiMappingOutput) GoString() string

GoString returns the string representation

func (*GetApiMappingOutput) SetApiId

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

SetItems sets the Items field's value.

func (*GetApiMappingsOutput) SetNextToken

func (s *GetApiMappingsOutput) SetNextToken(v string) *GetApiMappingsOutput

SetNextToken sets the NextToken field's value.

func (GetApiMappingsOutput) String

func (s GetApiMappingsOutput) String() string

String returns the string representation

type GetApiOutput

type GetApiOutput struct {
	ApiEndpoint *string `locationName:"apiEndpoint" type:"string"`

	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	// The identifier.
	ApiId *string `locationName:"apiId" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

	// Represents a CORS configuration. Supported only for HTTP APIs. See Configuring
	// CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html)
	// for more information.
	CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"`

	DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

	ImportInfo []*string `locationName:"importInfo" type:"list"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// Represents a protocol type.
	ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// A string with a length between [1-64].
	Version *string `locationName:"version" type:"string"`

	Warnings []*string `locationName:"warnings" type:"list"`
	// contains filtered or unexported fields
}

func (GetApiOutput) GoString

func (s GetApiOutput) GoString() string

GoString returns the string representation

func (*GetApiOutput) SetApiEndpoint

func (s *GetApiOutput) SetApiEndpoint(v string) *GetApiOutput

SetApiEndpoint sets the ApiEndpoint field's value.

func (*GetApiOutput) SetApiGatewayManaged

func (s *GetApiOutput) SetApiGatewayManaged(v bool) *GetApiOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*GetApiOutput) SetApiId

func (s *GetApiOutput) SetApiId(v string) *GetApiOutput

SetApiId sets the ApiId field's value.

func (*GetApiOutput) SetApiKeySelectionExpression

func (s *GetApiOutput) SetApiKeySelectionExpression(v string) *GetApiOutput

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*GetApiOutput) SetCorsConfiguration

func (s *GetApiOutput) SetCorsConfiguration(v *Cors) *GetApiOutput

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*GetApiOutput) SetCreatedDate

func (s *GetApiOutput) SetCreatedDate(v time.Time) *GetApiOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetApiOutput) SetDescription

func (s *GetApiOutput) SetDescription(v string) *GetApiOutput

SetDescription sets the Description field's value.

func (*GetApiOutput) SetDisableExecuteApiEndpoint

func (s *GetApiOutput) SetDisableExecuteApiEndpoint(v bool) *GetApiOutput

SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.

func (*GetApiOutput) SetDisableSchemaValidation

func (s *GetApiOutput) SetDisableSchemaValidation(v bool) *GetApiOutput

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*GetApiOutput) SetImportInfo

func (s *GetApiOutput) SetImportInfo(v []*string) *GetApiOutput

SetImportInfo sets the ImportInfo field's value.

func (*GetApiOutput) SetName

func (s *GetApiOutput) SetName(v string) *GetApiOutput

SetName sets the Name field's value.

func (*GetApiOutput) SetProtocolType

func (s *GetApiOutput) SetProtocolType(v string) *GetApiOutput

SetProtocolType sets the ProtocolType field's value.

func (*GetApiOutput) SetRouteSelectionExpression

func (s *GetApiOutput) SetRouteSelectionExpression(v string) *GetApiOutput

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*GetApiOutput) SetTags

func (s *GetApiOutput) SetTags(v map[string]*string) *GetApiOutput

SetTags sets the Tags field's value.

func (*GetApiOutput) SetVersion

func (s *GetApiOutput) SetVersion(v string) *GetApiOutput

SetVersion sets the Version field's value.

func (*GetApiOutput) SetWarnings

func (s *GetApiOutput) SetWarnings(v []*string) *GetApiOutput

SetWarnings sets the Warnings field's value.

func (GetApiOutput) String

func (s GetApiOutput) String() string

String returns the string representation

type GetApisInput

type GetApisInput struct {
	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetApisInput) GoString

func (s GetApisInput) GoString() string

GoString returns the string representation

func (*GetApisInput) SetMaxResults

func (s *GetApisInput) SetMaxResults(v string) *GetApisInput

SetMaxResults sets the MaxResults field's value.

func (*GetApisInput) SetNextToken

func (s *GetApisInput) SetNextToken(v string) *GetApisInput

SetNextToken sets the NextToken field's value.

func (GetApisInput) String

func (s GetApisInput) String() string

String returns the string representation

type GetApisOutput

type GetApisOutput struct {
	Items []*Api `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetApisOutput) GoString

func (s GetApisOutput) GoString() string

GoString returns the string representation

func (*GetApisOutput) SetItems

func (s *GetApisOutput) SetItems(v []*Api) *GetApisOutput

SetItems sets the Items field's value.

func (*GetApisOutput) SetNextToken

func (s *GetApisOutput) SetNextToken(v string) *GetApisOutput

SetNextToken sets the NextToken field's value.

func (GetApisOutput) String

func (s GetApisOutput) String() string

String returns the string representation

type GetAuthorizerInput

type GetAuthorizerInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// AuthorizerId is a required field
	AuthorizerId *string `location:"uri" locationName:"authorizerId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAuthorizerInput) GoString

func (s GetAuthorizerInput) GoString() string

GoString returns the string representation

func (*GetAuthorizerInput) SetApiId

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"`

	// A string with a length between [1-64].
	AuthorizerPayloadFormatVersion *string `locationName:"authorizerPayloadFormatVersion" type:"string"`

	// An integer with a value between [0-3600].
	AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

	// The authorizer type. Specify REQUEST for a Lambda function using incoming
	// request parameters. Specify JWT to use JSON Web Tokens (supported only for
	// HTTP APIs).
	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"`

	EnableSimpleResponses *bool `locationName:"enableSimpleResponses" type:"boolean"`

	// The identity source for which authorization is requested. For the REQUEST
	// authorizer, this is required when authorization caching is enabled. The value
	// is a comma-separated string of one or more mapping expressions of the specified
	// request parameters. For example, if an Auth header, a Name query string parameter
	// are defined as identity sources, this value is $method.request.header.Auth,
	// $method.request.querystring.Name. These parameters will be used to derive
	// the authorization caching key and to perform runtime validation of the REQUEST
	// authorizer by verifying all of the identity-related request parameters are
	// present, not null and non-empty. Only when this is true does the authorizer
	// invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized
	// response without calling the Lambda function. The valid value is a string
	// of comma-separated mapping expressions of the specified request parameters.
	// When the authorization caching is not enabled, this property is optional.
	IdentitySource []*string `locationName:"identitySource" type:"list"`

	// A string with a length between [0-1024].
	IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

	// Represents the configuration of a JWT authorizer. Required for the JWT authorizer
	// type. Supported only for HTTP APIs.
	JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

func (GetAuthorizerOutput) GoString

func (s GetAuthorizerOutput) GoString() string

GoString returns the string representation

func (*GetAuthorizerOutput) SetAuthorizerCredentialsArn

func (s *GetAuthorizerOutput) SetAuthorizerCredentialsArn(v string) *GetAuthorizerOutput

SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.

func (*GetAuthorizerOutput) SetAuthorizerId

func (s *GetAuthorizerOutput) SetAuthorizerId(v string) *GetAuthorizerOutput

SetAuthorizerId sets the AuthorizerId field's value.

func (*GetAuthorizerOutput) SetAuthorizerPayloadFormatVersion

func (s *GetAuthorizerOutput) SetAuthorizerPayloadFormatVersion(v string) *GetAuthorizerOutput

SetAuthorizerPayloadFormatVersion sets the AuthorizerPayloadFormatVersion 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) SetEnableSimpleResponses

func (s *GetAuthorizerOutput) SetEnableSimpleResponses(v bool) *GetAuthorizerOutput

SetEnableSimpleResponses sets the EnableSimpleResponses field's value.

func (*GetAuthorizerOutput) SetIdentitySource

func (s *GetAuthorizerOutput) SetIdentitySource(v []*string) *GetAuthorizerOutput

SetIdentitySource sets the IdentitySource field's value.

func (*GetAuthorizerOutput) SetIdentityValidationExpression

func (s *GetAuthorizerOutput) SetIdentityValidationExpression(v string) *GetAuthorizerOutput

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*GetAuthorizerOutput) SetJwtConfiguration

func (s *GetAuthorizerOutput) SetJwtConfiguration(v *JWTConfiguration) *GetAuthorizerOutput

SetJwtConfiguration sets the JwtConfiguration field's value.

func (*GetAuthorizerOutput) SetName

SetName sets the Name field's value.

func (GetAuthorizerOutput) String

func (s GetAuthorizerOutput) String() string

String returns the string representation

type GetAuthorizersInput

type GetAuthorizersInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetAuthorizersInput) GoString

func (s GetAuthorizersInput) GoString() string

GoString returns the string representation

func (*GetAuthorizersInput) SetApiId

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 {
	AutoDeployed *bool `locationName:"autoDeployed" type:"boolean"`

	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// The identifier.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// Represents a deployment status.
	DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"`

	DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`
	// contains filtered or unexported fields
}

func (GetDeploymentOutput) GoString

func (s GetDeploymentOutput) GoString() string

GoString returns the string representation

func (*GetDeploymentOutput) SetAutoDeployed

func (s *GetDeploymentOutput) SetAutoDeployed(v bool) *GetDeploymentOutput

SetAutoDeployed sets the AutoDeployed field's value.

func (*GetDeploymentOutput) SetCreatedDate

func (s *GetDeploymentOutput) SetCreatedDate(v time.Time) *GetDeploymentOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetDeploymentOutput) SetDeploymentId

func (s *GetDeploymentOutput) SetDeploymentId(v string) *GetDeploymentOutput

SetDeploymentId sets the DeploymentId field's value.

func (*GetDeploymentOutput) SetDeploymentStatus

func (s *GetDeploymentOutput) SetDeploymentStatus(v string) *GetDeploymentOutput

SetDeploymentStatus sets the DeploymentStatus field's value.

func (*GetDeploymentOutput) SetDeploymentStatusMessage

func (s *GetDeploymentOutput) SetDeploymentStatusMessage(v string) *GetDeploymentOutput

SetDeploymentStatusMessage sets the DeploymentStatusMessage field's value.

func (*GetDeploymentOutput) SetDescription

func (s *GetDeploymentOutput) SetDescription(v string) *GetDeploymentOutput

SetDescription sets the Description field's value.

func (GetDeploymentOutput) String

func (s GetDeploymentOutput) String() string

String returns the string representation

type GetDeploymentsInput

type GetDeploymentsInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetDeploymentsInput) GoString

func (s GetDeploymentsInput) GoString() string

GoString returns the string representation

func (*GetDeploymentsInput) SetApiId

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"`

	// If specified, API Gateway performs two-way authentication between the client
	// and the server. Clients must present a trusted certificate to access your
	// API.
	MutualTlsAuthentication *MutualTlsAuthentication `locationName:"mutualTlsAuthentication" type:"structure"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (GetDomainNameOutput) GoString

func (s GetDomainNameOutput) GoString() string

GoString returns the string representation

func (*GetDomainNameOutput) SetApiMappingSelectionExpression

func (s *GetDomainNameOutput) SetApiMappingSelectionExpression(v string) *GetDomainNameOutput

SetApiMappingSelectionExpression sets the ApiMappingSelectionExpression field's value.

func (*GetDomainNameOutput) SetDomainName

func (s *GetDomainNameOutput) SetDomainName(v string) *GetDomainNameOutput

SetDomainName sets the DomainName field's value.

func (*GetDomainNameOutput) SetDomainNameConfigurations

func (s *GetDomainNameOutput) SetDomainNameConfigurations(v []*DomainNameConfiguration) *GetDomainNameOutput

SetDomainNameConfigurations sets the DomainNameConfigurations field's value.

func (*GetDomainNameOutput) SetMutualTlsAuthentication

func (s *GetDomainNameOutput) SetMutualTlsAuthentication(v *MutualTlsAuthentication) *GetDomainNameOutput

SetMutualTlsAuthentication sets the MutualTlsAuthentication field's value.

func (*GetDomainNameOutput) SetTags

SetTags sets the Tags field's value.

func (GetDomainNameOutput) String

func (s GetDomainNameOutput) String() string

String returns the string representation

type GetDomainNamesInput

type GetDomainNamesInput struct {
	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetDomainNamesInput) GoString

func (s GetDomainNamesInput) GoString() string

GoString returns the string representation

func (*GetDomainNamesInput) SetMaxResults

func (s *GetDomainNamesInput) SetMaxResults(v string) *GetDomainNamesInput

SetMaxResults sets the MaxResults field's value.

func (*GetDomainNamesInput) SetNextToken

func (s *GetDomainNamesInput) SetNextToken(v string) *GetDomainNamesInput

SetNextToken sets the NextToken field's value.

func (GetDomainNamesInput) String

func (s GetDomainNamesInput) String() string

String returns the string representation

type GetDomainNamesOutput

type GetDomainNamesOutput struct {
	Items []*DomainName `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetDomainNamesOutput) GoString

func (s GetDomainNamesOutput) GoString() string

GoString returns the string representation

func (*GetDomainNamesOutput) SetItems

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 {
	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	// A string with a length between [1-1024].
	ConnectionId *string `locationName:"connectionId" type:"string"`

	// Represents a connection type.
	ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"`

	// Specifies how to handle response payload content type conversions. Supported
	// only for WebSocket APIs.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// Represents an Amazon Resource Name (ARN).
	CredentialsArn *string `locationName:"credentialsArn" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	// The identifier.
	IntegrationId *string `locationName:"integrationId" type:"string"`

	// A string with a length between [1-64].
	IntegrationMethod *string `locationName:"integrationMethod" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	IntegrationResponseSelectionExpression *string `locationName:"integrationResponseSelectionExpression" type:"string"`

	// A string with a length between [1-128].
	IntegrationSubtype *string `locationName:"integrationSubtype" type:"string"`

	// Represents an API method integration type.
	IntegrationType *string `locationName:"integrationType" type:"string" enum:"IntegrationType"`

	// A string representation of a URI with a length between [1-2048].
	IntegrationUri *string `locationName:"integrationUri" type:"string"`

	// Represents passthrough behavior for an integration response. Supported only
	// for WebSocket APIs.
	PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

	// A string with a length between [1-64].
	PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"`

	// For WebSocket APIs, 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.
	//
	// For HTTP API integrations with a specified integrationSubtype, request parameters
	// are a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// You can provide static values, or map request data, stage variables, or context
	// variables that are evaluated at runtime. To learn more, see Working with
	// AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html).
	//
	// For HTTP API integrations without a specified integrationSubtype request
	// parameters are a key-value map specifying how to transform HTTP requests
	// before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location>
	// where action can be append, overwrite or remove. For values, you can provide
	// static values, or map request data, stage variables, or context variables
	// that are evaluated at runtime. To learn more, see Transforming API requests
	// and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
	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"`

	// Supported only for HTTP APIs. You use response parameters to transform the
	// HTTP response from a backend integration before returning the response to
	// clients.
	ResponseParameters map[string]map[string]*string `locationName:"responseParameters" type:"map"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

	// An integer with a value between [50-30000].
	TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`

	// The TLS configuration for a private integration. If you specify a TLS configuration,
	// private integration traffic uses the HTTPS protocol. Supported only for HTTP
	// APIs.
	TlsConfig *TlsConfig `locationName:"tlsConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (GetIntegrationOutput) GoString

func (s GetIntegrationOutput) GoString() string

GoString returns the string representation

func (*GetIntegrationOutput) SetApiGatewayManaged

func (s *GetIntegrationOutput) SetApiGatewayManaged(v bool) *GetIntegrationOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*GetIntegrationOutput) SetConnectionId

func (s *GetIntegrationOutput) SetConnectionId(v string) *GetIntegrationOutput

SetConnectionId sets the ConnectionId field's value.

func (*GetIntegrationOutput) SetConnectionType

func (s *GetIntegrationOutput) SetConnectionType(v string) *GetIntegrationOutput

SetConnectionType sets the ConnectionType field's value.

func (*GetIntegrationOutput) SetContentHandlingStrategy

func (s *GetIntegrationOutput) SetContentHandlingStrategy(v string) *GetIntegrationOutput

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*GetIntegrationOutput) SetCredentialsArn

func (s *GetIntegrationOutput) SetCredentialsArn(v string) *GetIntegrationOutput

SetCredentialsArn sets the CredentialsArn field's value.

func (*GetIntegrationOutput) SetDescription

func (s *GetIntegrationOutput) SetDescription(v string) *GetIntegrationOutput

SetDescription sets the Description field's value.

func (*GetIntegrationOutput) SetIntegrationId

func (s *GetIntegrationOutput) SetIntegrationId(v string) *GetIntegrationOutput

SetIntegrationId sets the IntegrationId field's value.

func (*GetIntegrationOutput) SetIntegrationMethod

func (s *GetIntegrationOutput) SetIntegrationMethod(v string) *GetIntegrationOutput

SetIntegrationMethod sets the IntegrationMethod field's value.

func (*GetIntegrationOutput) SetIntegrationResponseSelectionExpression

func (s *GetIntegrationOutput) SetIntegrationResponseSelectionExpression(v string) *GetIntegrationOutput

SetIntegrationResponseSelectionExpression sets the IntegrationResponseSelectionExpression field's value.

func (*GetIntegrationOutput) SetIntegrationSubtype

func (s *GetIntegrationOutput) SetIntegrationSubtype(v string) *GetIntegrationOutput

SetIntegrationSubtype sets the IntegrationSubtype field's value.

func (*GetIntegrationOutput) SetIntegrationType

func (s *GetIntegrationOutput) SetIntegrationType(v string) *GetIntegrationOutput

SetIntegrationType sets the IntegrationType field's value.

func (*GetIntegrationOutput) SetIntegrationUri

func (s *GetIntegrationOutput) SetIntegrationUri(v string) *GetIntegrationOutput

SetIntegrationUri sets the IntegrationUri field's value.

func (*GetIntegrationOutput) SetPassthroughBehavior

func (s *GetIntegrationOutput) SetPassthroughBehavior(v string) *GetIntegrationOutput

SetPassthroughBehavior sets the PassthroughBehavior field's value.

func (*GetIntegrationOutput) SetPayloadFormatVersion

func (s *GetIntegrationOutput) SetPayloadFormatVersion(v string) *GetIntegrationOutput

SetPayloadFormatVersion sets the PayloadFormatVersion field's value.

func (*GetIntegrationOutput) SetRequestParameters

func (s *GetIntegrationOutput) SetRequestParameters(v map[string]*string) *GetIntegrationOutput

SetRequestParameters sets the RequestParameters field's value.

func (*GetIntegrationOutput) SetRequestTemplates

func (s *GetIntegrationOutput) SetRequestTemplates(v map[string]*string) *GetIntegrationOutput

SetRequestTemplates sets the RequestTemplates field's value.

func (*GetIntegrationOutput) SetResponseParameters

func (s *GetIntegrationOutput) SetResponseParameters(v map[string]map[string]*string) *GetIntegrationOutput

SetResponseParameters sets the ResponseParameters field's value.

func (*GetIntegrationOutput) SetTemplateSelectionExpression

func (s *GetIntegrationOutput) SetTemplateSelectionExpression(v string) *GetIntegrationOutput

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (*GetIntegrationOutput) SetTimeoutInMillis

func (s *GetIntegrationOutput) SetTimeoutInMillis(v int64) *GetIntegrationOutput

SetTimeoutInMillis sets the TimeoutInMillis field's value.

func (*GetIntegrationOutput) SetTlsConfig

SetTlsConfig sets the TlsConfig field's value.

func (GetIntegrationOutput) String

func (s GetIntegrationOutput) String() string

String returns the string representation

type GetIntegrationResponseInput

type GetIntegrationResponseInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// IntegrationId is a required field
	IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`

	// IntegrationResponseId is a required field
	IntegrationResponseId *string `location:"uri" locationName:"integrationResponseId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetIntegrationResponseInput) GoString

func (s GetIntegrationResponseInput) GoString() string

GoString returns the string representation

func (*GetIntegrationResponseInput) SetApiId

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. Supported
	// only for WebSocket APIs.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// The identifier.
	IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"`

	// After evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string"`

	// For WebSocket APIs, 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.
	//
	// For HTTP API integrations with a specified integrationSubtype, request parameters
	// are a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// You can provide static values, or map request data, stage variables, or context
	// variables that are evaluated at runtime. To learn more, see Working with
	// AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html).
	//
	// For HTTP API integrations without a specified integrationSubtype request
	// parameters are a key-value map specifying how to transform HTTP requests
	// before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location>
	// where action can be append, overwrite or remove. For values, you can provide
	// static values, or map request data, stage variables, or context variables
	// that are evaluated at runtime. To learn more, see Transforming API requests
	// and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
	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 {
	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

	// A list of authorization scopes configured on a route. The scopes are used
	// with a JWT authorizer to authorize the method invocation. The authorization
	// works by matching the route scopes against the scopes parsed from the access
	// token in the incoming request. The method invocation is authorized if any
	// route scope matches a claimed scope in the access token. Otherwise, the invocation
	// is not authorized. When the route scope is configured, the client must provide
	// an access token instead of an identity token for authorization purposes.
	AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"`

	// The authorization type. For WebSocket APIs, valid values are NONE for open
	// access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda
	// authorizer. For HTTP APIs, valid values are NONE for open access, JWT for
	// using JSON Web Tokens, 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 evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	RouteKey *string `locationName:"routeKey" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

	// A string with a length between [1-128].
	Target *string `locationName:"target" type:"string"`
	// contains filtered or unexported fields
}

func (GetRouteOutput) GoString

func (s GetRouteOutput) GoString() string

GoString returns the string representation

func (*GetRouteOutput) SetApiGatewayManaged

func (s *GetRouteOutput) SetApiGatewayManaged(v bool) *GetRouteOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*GetRouteOutput) SetApiKeyRequired

func (s *GetRouteOutput) SetApiKeyRequired(v bool) *GetRouteOutput

SetApiKeyRequired sets the ApiKeyRequired field's value.

func (*GetRouteOutput) SetAuthorizationScopes

func (s *GetRouteOutput) SetAuthorizationScopes(v []*string) *GetRouteOutput

SetAuthorizationScopes sets the AuthorizationScopes field's value.

func (*GetRouteOutput) SetAuthorizationType

func (s *GetRouteOutput) SetAuthorizationType(v string) *GetRouteOutput

SetAuthorizationType sets the AuthorizationType field's value.

func (*GetRouteOutput) SetAuthorizerId

func (s *GetRouteOutput) SetAuthorizerId(v string) *GetRouteOutput

SetAuthorizerId sets the AuthorizerId field's value.

func (*GetRouteOutput) SetModelSelectionExpression

func (s *GetRouteOutput) SetModelSelectionExpression(v string) *GetRouteOutput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*GetRouteOutput) SetOperationName

func (s *GetRouteOutput) SetOperationName(v string) *GetRouteOutput

SetOperationName sets the OperationName field's value.

func (*GetRouteOutput) SetRequestModels

func (s *GetRouteOutput) SetRequestModels(v map[string]*string) *GetRouteOutput

SetRequestModels sets the RequestModels field's value.

func (*GetRouteOutput) SetRequestParameters

func (s *GetRouteOutput) SetRequestParameters(v map[string]*ParameterConstraints) *GetRouteOutput

SetRequestParameters sets the RequestParameters field's value.

func (*GetRouteOutput) SetRouteId

func (s *GetRouteOutput) SetRouteId(v string) *GetRouteOutput

SetRouteId sets the RouteId field's value.

func (*GetRouteOutput) SetRouteKey

func (s *GetRouteOutput) SetRouteKey(v string) *GetRouteOutput

SetRouteKey sets the RouteKey field's value.

func (*GetRouteOutput) SetRouteResponseSelectionExpression

func (s *GetRouteOutput) SetRouteResponseSelectionExpression(v string) *GetRouteOutput

SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.

func (*GetRouteOutput) SetTarget

func (s *GetRouteOutput) SetTarget(v string) *GetRouteOutput

SetTarget sets the Target field's value.

func (GetRouteOutput) String

func (s GetRouteOutput) String() string

String returns the string representation

type GetRouteResponseInput

type GetRouteResponseInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// RouteId is a required field
	RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`

	// RouteResponseId is a required field
	RouteResponseId *string `location:"uri" locationName:"routeResponseId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRouteResponseInput) GoString

func (s GetRouteResponseInput) GoString() string

GoString returns the string representation

func (*GetRouteResponseInput) SetApiId

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 evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	RouteResponseKey *string `locationName:"routeResponseKey" type:"string"`
	// contains filtered or unexported fields
}

func (GetRouteResponseOutput) GoString

func (s GetRouteResponseOutput) GoString() string

GoString returns the string representation

func (*GetRouteResponseOutput) SetModelSelectionExpression

func (s *GetRouteResponseOutput) SetModelSelectionExpression(v string) *GetRouteResponseOutput

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*GetRouteResponseOutput) SetResponseModels

func (s *GetRouteResponseOutput) SetResponseModels(v map[string]*string) *GetRouteResponseOutput

SetResponseModels sets the ResponseModels field's value.

func (*GetRouteResponseOutput) SetResponseParameters

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"`

	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"`

	// The identifier.
	ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// Represents a collection of route settings.
	DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

	// The identifier.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	LastDeploymentStatusMessage *string `locationName:"lastDeploymentStatusMessage" type:"string"`

	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"`

	// The route settings map.
	RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"`

	// A string with a length between [1-128].
	StageName *string `locationName:"stageName" type:"string"`

	// The stage variable map.
	StageVariables map[string]*string `locationName:"stageVariables" type:"map"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (GetStageOutput) GoString

func (s GetStageOutput) GoString() string

GoString returns the string representation

func (*GetStageOutput) SetAccessLogSettings

func (s *GetStageOutput) SetAccessLogSettings(v *AccessLogSettings) *GetStageOutput

SetAccessLogSettings sets the AccessLogSettings field's value.

func (*GetStageOutput) SetApiGatewayManaged

func (s *GetStageOutput) SetApiGatewayManaged(v bool) *GetStageOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*GetStageOutput) SetAutoDeploy

func (s *GetStageOutput) SetAutoDeploy(v bool) *GetStageOutput

SetAutoDeploy sets the AutoDeploy field's value.

func (*GetStageOutput) SetClientCertificateId

func (s *GetStageOutput) SetClientCertificateId(v string) *GetStageOutput

SetClientCertificateId sets the ClientCertificateId field's value.

func (*GetStageOutput) SetCreatedDate

func (s *GetStageOutput) SetCreatedDate(v time.Time) *GetStageOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetStageOutput) SetDefaultRouteSettings

func (s *GetStageOutput) SetDefaultRouteSettings(v *RouteSettings) *GetStageOutput

SetDefaultRouteSettings sets the DefaultRouteSettings field's value.

func (*GetStageOutput) SetDeploymentId

func (s *GetStageOutput) SetDeploymentId(v string) *GetStageOutput

SetDeploymentId sets the DeploymentId field's value.

func (*GetStageOutput) SetDescription

func (s *GetStageOutput) SetDescription(v string) *GetStageOutput

SetDescription sets the Description field's value.

func (*GetStageOutput) SetLastDeploymentStatusMessage

func (s *GetStageOutput) SetLastDeploymentStatusMessage(v string) *GetStageOutput

SetLastDeploymentStatusMessage sets the LastDeploymentStatusMessage field's value.

func (*GetStageOutput) SetLastUpdatedDate

func (s *GetStageOutput) SetLastUpdatedDate(v time.Time) *GetStageOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*GetStageOutput) SetRouteSettings

func (s *GetStageOutput) SetRouteSettings(v map[string]*RouteSettings) *GetStageOutput

SetRouteSettings sets the RouteSettings field's value.

func (*GetStageOutput) SetStageName

func (s *GetStageOutput) SetStageName(v string) *GetStageOutput

SetStageName sets the StageName field's value.

func (*GetStageOutput) SetStageVariables

func (s *GetStageOutput) SetStageVariables(v map[string]*string) *GetStageOutput

SetStageVariables sets the StageVariables field's value.

func (*GetStageOutput) SetTags

func (s *GetStageOutput) SetTags(v map[string]*string) *GetStageOutput

SetTags sets the Tags field's value.

func (GetStageOutput) String

func (s GetStageOutput) String() string

String returns the string representation

type GetStagesInput

type GetStagesInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetStagesInput) GoString

func (s GetStagesInput) GoString() string

GoString returns the string representation

func (*GetStagesInput) SetApiId

func (s *GetStagesInput) SetApiId(v string) *GetStagesInput

SetApiId sets the ApiId field's value.

func (*GetStagesInput) SetMaxResults

func (s *GetStagesInput) SetMaxResults(v string) *GetStagesInput

SetMaxResults sets the MaxResults field's value.

func (*GetStagesInput) SetNextToken

func (s *GetStagesInput) SetNextToken(v string) *GetStagesInput

SetNextToken sets the NextToken field's value.

func (GetStagesInput) String

func (s GetStagesInput) String() string

String returns the string representation

func (*GetStagesInput) Validate

func (s *GetStagesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetStagesOutput

type GetStagesOutput struct {
	Items []*Stage `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetStagesOutput) GoString

func (s GetStagesOutput) GoString() string

GoString returns the string representation

func (*GetStagesOutput) SetItems

func (s *GetStagesOutput) SetItems(v []*Stage) *GetStagesOutput

SetItems sets the Items field's value.

func (*GetStagesOutput) SetNextToken

func (s *GetStagesOutput) SetNextToken(v string) *GetStagesOutput

SetNextToken sets the NextToken field's value.

func (GetStagesOutput) String

func (s GetStagesOutput) String() string

String returns the string representation

type GetTagsInput

type GetTagsInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetTagsInput) GoString

func (s GetTagsInput) GoString() string

GoString returns the string representation

func (*GetTagsInput) SetResourceArn

func (s *GetTagsInput) SetResourceArn(v string) *GetTagsInput

SetResourceArn sets the ResourceArn field's value.

func (GetTagsInput) String

func (s GetTagsInput) String() string

String returns the string representation

func (*GetTagsInput) Validate

func (s *GetTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTagsOutput

type GetTagsOutput struct {

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (GetTagsOutput) GoString

func (s GetTagsOutput) GoString() string

GoString returns the string representation

func (*GetTagsOutput) SetTags

func (s *GetTagsOutput) SetTags(v map[string]*string) *GetTagsOutput

SetTags sets the Tags field's value.

func (GetTagsOutput) String

func (s GetTagsOutput) String() string

String returns the string representation

type GetVpcLinkInput

type GetVpcLinkInput struct {

	// VpcLinkId is a required field
	VpcLinkId *string `location:"uri" locationName:"vpcLinkId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetVpcLinkInput) GoString

func (s GetVpcLinkInput) GoString() string

GoString returns the string representation

func (*GetVpcLinkInput) SetVpcLinkId

func (s *GetVpcLinkInput) SetVpcLinkId(v string) *GetVpcLinkInput

SetVpcLinkId sets the VpcLinkId field's value.

func (GetVpcLinkInput) String

func (s GetVpcLinkInput) String() string

String returns the string representation

func (*GetVpcLinkInput) Validate

func (s *GetVpcLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetVpcLinkOutput

type GetVpcLinkOutput struct {
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// A list of security group IDs for the VPC link.
	SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"`

	// A list of subnet IDs to include in the VPC link.
	SubnetIds []*string `locationName:"subnetIds" type:"list"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The identifier.
	VpcLinkId *string `locationName:"vpcLinkId" type:"string"`

	// The status of the VPC link.
	VpcLinkStatus *string `locationName:"vpcLinkStatus" type:"string" enum:"VpcLinkStatus"`

	// A string with a length between [0-1024].
	VpcLinkStatusMessage *string `locationName:"vpcLinkStatusMessage" type:"string"`

	// The version of the VPC link.
	VpcLinkVersion *string `locationName:"vpcLinkVersion" type:"string" enum:"VpcLinkVersion"`
	// contains filtered or unexported fields
}

func (GetVpcLinkOutput) GoString

func (s GetVpcLinkOutput) GoString() string

GoString returns the string representation

func (*GetVpcLinkOutput) SetCreatedDate

func (s *GetVpcLinkOutput) SetCreatedDate(v time.Time) *GetVpcLinkOutput

SetCreatedDate sets the CreatedDate field's value.

func (*GetVpcLinkOutput) SetName

func (s *GetVpcLinkOutput) SetName(v string) *GetVpcLinkOutput

SetName sets the Name field's value.

func (*GetVpcLinkOutput) SetSecurityGroupIds

func (s *GetVpcLinkOutput) SetSecurityGroupIds(v []*string) *GetVpcLinkOutput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*GetVpcLinkOutput) SetSubnetIds

func (s *GetVpcLinkOutput) SetSubnetIds(v []*string) *GetVpcLinkOutput

SetSubnetIds sets the SubnetIds field's value.

func (*GetVpcLinkOutput) SetTags

func (s *GetVpcLinkOutput) SetTags(v map[string]*string) *GetVpcLinkOutput

SetTags sets the Tags field's value.

func (*GetVpcLinkOutput) SetVpcLinkId

func (s *GetVpcLinkOutput) SetVpcLinkId(v string) *GetVpcLinkOutput

SetVpcLinkId sets the VpcLinkId field's value.

func (*GetVpcLinkOutput) SetVpcLinkStatus

func (s *GetVpcLinkOutput) SetVpcLinkStatus(v string) *GetVpcLinkOutput

SetVpcLinkStatus sets the VpcLinkStatus field's value.

func (*GetVpcLinkOutput) SetVpcLinkStatusMessage

func (s *GetVpcLinkOutput) SetVpcLinkStatusMessage(v string) *GetVpcLinkOutput

SetVpcLinkStatusMessage sets the VpcLinkStatusMessage field's value.

func (*GetVpcLinkOutput) SetVpcLinkVersion

func (s *GetVpcLinkOutput) SetVpcLinkVersion(v string) *GetVpcLinkOutput

SetVpcLinkVersion sets the VpcLinkVersion field's value.

func (GetVpcLinkOutput) String

func (s GetVpcLinkOutput) String() string

String returns the string representation

type GetVpcLinksInput

type GetVpcLinksInput struct {
	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetVpcLinksInput) GoString

func (s GetVpcLinksInput) GoString() string

GoString returns the string representation

func (*GetVpcLinksInput) SetMaxResults

func (s *GetVpcLinksInput) SetMaxResults(v string) *GetVpcLinksInput

SetMaxResults sets the MaxResults field's value.

func (*GetVpcLinksInput) SetNextToken

func (s *GetVpcLinksInput) SetNextToken(v string) *GetVpcLinksInput

SetNextToken sets the NextToken field's value.

func (GetVpcLinksInput) String

func (s GetVpcLinksInput) String() string

String returns the string representation

type GetVpcLinksOutput

type GetVpcLinksOutput struct {
	Items []*VpcLink `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetVpcLinksOutput) GoString

func (s GetVpcLinksOutput) GoString() string

GoString returns the string representation

func (*GetVpcLinksOutput) SetItems

func (s *GetVpcLinksOutput) SetItems(v []*VpcLink) *GetVpcLinksOutput

SetItems sets the Items field's value.

func (*GetVpcLinksOutput) SetNextToken

func (s *GetVpcLinksOutput) SetNextToken(v string) *GetVpcLinksOutput

SetNextToken sets the NextToken field's value.

func (GetVpcLinksOutput) String

func (s GetVpcLinksOutput) String() string

String returns the string representation

type ImportApiInput

type ImportApiInput struct {
	Basepath *string `location:"querystring" locationName:"basepath" type:"string"`

	// Body is a required field
	Body *string `locationName:"body" type:"string" required:"true"`

	FailOnWarnings *bool `location:"querystring" locationName:"failOnWarnings" type:"boolean"`
	// contains filtered or unexported fields
}

func (ImportApiInput) GoString

func (s ImportApiInput) GoString() string

GoString returns the string representation

func (*ImportApiInput) SetBasepath

func (s *ImportApiInput) SetBasepath(v string) *ImportApiInput

SetBasepath sets the Basepath field's value.

func (*ImportApiInput) SetBody

func (s *ImportApiInput) SetBody(v string) *ImportApiInput

SetBody sets the Body field's value.

func (*ImportApiInput) SetFailOnWarnings

func (s *ImportApiInput) SetFailOnWarnings(v bool) *ImportApiInput

SetFailOnWarnings sets the FailOnWarnings field's value.

func (ImportApiInput) String

func (s ImportApiInput) String() string

String returns the string representation

func (*ImportApiInput) Validate

func (s *ImportApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ImportApiOutput

type ImportApiOutput struct {
	ApiEndpoint *string `locationName:"apiEndpoint" type:"string"`

	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	// The identifier.
	ApiId *string `locationName:"apiId" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

	// Represents a CORS configuration. Supported only for HTTP APIs. See Configuring
	// CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html)
	// for more information.
	CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"`

	DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

	ImportInfo []*string `locationName:"importInfo" type:"list"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// Represents a protocol type.
	ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// A string with a length between [1-64].
	Version *string `locationName:"version" type:"string"`

	Warnings []*string `locationName:"warnings" type:"list"`
	// contains filtered or unexported fields
}

func (ImportApiOutput) GoString

func (s ImportApiOutput) GoString() string

GoString returns the string representation

func (*ImportApiOutput) SetApiEndpoint

func (s *ImportApiOutput) SetApiEndpoint(v string) *ImportApiOutput

SetApiEndpoint sets the ApiEndpoint field's value.

func (*ImportApiOutput) SetApiGatewayManaged

func (s *ImportApiOutput) SetApiGatewayManaged(v bool) *ImportApiOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*ImportApiOutput) SetApiId

func (s *ImportApiOutput) SetApiId(v string) *ImportApiOutput

SetApiId sets the ApiId field's value.

func (*ImportApiOutput) SetApiKeySelectionExpression

func (s *ImportApiOutput) SetApiKeySelectionExpression(v string) *ImportApiOutput

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*ImportApiOutput) SetCorsConfiguration

func (s *ImportApiOutput) SetCorsConfiguration(v *Cors) *ImportApiOutput

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*ImportApiOutput) SetCreatedDate

func (s *ImportApiOutput) SetCreatedDate(v time.Time) *ImportApiOutput

SetCreatedDate sets the CreatedDate field's value.

func (*ImportApiOutput) SetDescription

func (s *ImportApiOutput) SetDescription(v string) *ImportApiOutput

SetDescription sets the Description field's value.

func (*ImportApiOutput) SetDisableExecuteApiEndpoint

func (s *ImportApiOutput) SetDisableExecuteApiEndpoint(v bool) *ImportApiOutput

SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.

func (*ImportApiOutput) SetDisableSchemaValidation

func (s *ImportApiOutput) SetDisableSchemaValidation(v bool) *ImportApiOutput

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*ImportApiOutput) SetImportInfo

func (s *ImportApiOutput) SetImportInfo(v []*string) *ImportApiOutput

SetImportInfo sets the ImportInfo field's value.

func (*ImportApiOutput) SetName

func (s *ImportApiOutput) SetName(v string) *ImportApiOutput

SetName sets the Name field's value.

func (*ImportApiOutput) SetProtocolType

func (s *ImportApiOutput) SetProtocolType(v string) *ImportApiOutput

SetProtocolType sets the ProtocolType field's value.

func (*ImportApiOutput) SetRouteSelectionExpression

func (s *ImportApiOutput) SetRouteSelectionExpression(v string) *ImportApiOutput

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*ImportApiOutput) SetTags

func (s *ImportApiOutput) SetTags(v map[string]*string) *ImportApiOutput

SetTags sets the Tags field's value.

func (*ImportApiOutput) SetVersion

func (s *ImportApiOutput) SetVersion(v string) *ImportApiOutput

SetVersion sets the Version field's value.

func (*ImportApiOutput) SetWarnings

func (s *ImportApiOutput) SetWarnings(v []*string) *ImportApiOutput

SetWarnings sets the Warnings field's value.

func (ImportApiOutput) String

func (s ImportApiOutput) String() string

String returns the string representation

type Integration

type Integration struct {

	// Specifies whether an integration is managed by API Gateway. If you created
	// an API using using quick create, the resulting integration is managed by
	// API Gateway. You can update a managed integration, but you can't delete it.
	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	// The ID of the VPC link for a private integration. Supported only for HTTP
	// APIs.
	ConnectionId *string `locationName:"connectionId" type:"string"`

	// The type of the network connection to the integration endpoint. Specify INTERNET
	// for connections through the public routable internet or VPC_LINK for private
	// connections between API Gateway and resources in a VPC. The default value
	// is INTERNET.
	ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"`

	// Supported only for WebSocket APIs. Specifies how to handle response payload
	// content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT,
	// with the following behaviors:
	//
	// CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string
	// to the corresponding binary blob.
	//
	// CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded
	// string.
	//
	// If this property is not defined, the response payload will be passed through
	// from the integration response to the route response or method response without
	// modification.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// Specifies the credentials required for the integration, if any. For AWS integrations,
	// three options are available. To specify an IAM Role for API Gateway to assume,
	// use the role's Amazon Resource Name (ARN). To require that the caller's identity
	// be passed through from the request, specify the string arn:aws:iam::*:user/*.
	// To use resource-based permissions on supported AWS services, specify null.
	CredentialsArn *string `locationName:"credentialsArn" type:"string"`

	// Represents the description of an integration.
	Description *string `locationName:"description" type:"string"`

	// Represents the identifier of an integration.
	IntegrationId *string `locationName:"integrationId" type:"string"`

	// Specifies the integration's HTTP method type.
	IntegrationMethod *string `locationName:"integrationMethod" type:"string"`

	// The integration response selection expression for the integration. Supported
	// only for WebSocket APIs. See Integration Response Selection Expressions (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-integration-response-selection-expressions).
	IntegrationResponseSelectionExpression *string `locationName:"integrationResponseSelectionExpression" type:"string"`

	// Supported only for HTTP API AWS_PROXY integrations. Specifies the AWS service
	// action to invoke. To learn more, see Integration subtype reference (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html).
	IntegrationSubtype *string `locationName:"integrationSubtype" type:"string"`

	// The integration type of an integration. One of the following:
	//
	// AWS: for integrating the route or method request with an AWS service action,
	// including the Lambda function-invoking action. With the Lambda function-invoking
	// action, this is referred to as the Lambda custom integration. With any other
	// AWS service action, this is known as AWS integration. Supported only for
	// WebSocket APIs.
	//
	// AWS_PROXY: for integrating the route or method request with a Lambda function
	// or other AWS service action. This integration is also referred to as a Lambda
	// proxy integration.
	//
	// HTTP: for integrating the route or method request with an HTTP endpoint.
	// This integration is also referred to as the HTTP custom integration. Supported
	// only for WebSocket APIs.
	//
	// HTTP_PROXY: for integrating the route or method request with an HTTP endpoint,
	// with the client request passed through as-is. This is also referred to as
	// HTTP proxy integration.
	//
	// MOCK: for integrating the route or method request with API Gateway as a "loopback"
	// endpoint without invoking any backend. Supported only for WebSocket APIs.
	IntegrationType *string `locationName:"integrationType" type:"string" enum:"IntegrationType"`

	// For a Lambda integration, specify the URI of a Lambda function.
	//
	// For an HTTP integration, specify a fully-qualified URL.
	//
	// For an HTTP API private integration, specify the ARN of an Application Load
	// Balancer listener, Network Load Balancer listener, or AWS Cloud Map service.
	// If you specify the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances
	// to identify resources. You can use query parameters to target specific resources.
	// To learn more, see DiscoverInstances (https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html).
	// For private integrations, all resources must be owned by the same AWS account.
	IntegrationUri *string `locationName:"integrationUri" type:"string"`

	// Specifies the pass-through behavior for incoming requests based on the Content-Type
	// header in the request, and the available mapping templates specified as the
	// requestTemplates property on the Integration resource. There are three valid
	// values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. Supported only for WebSocket
	// APIs.
	//
	// WHEN_NO_MATCH passes the request body for unmapped content types through
	// to the integration backend without transformation.
	//
	// NEVER rejects unmapped content types with an HTTP 415 Unsupported Media Type
	// response.
	//
	// WHEN_NO_TEMPLATES allows pass-through when the integration has no content
	// types mapped to templates. However, if there is at least one content type
	// defined, unmapped content types will be rejected with the same HTTP 415 Unsupported
	// Media Type response.
	PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

	// Specifies the format of the payload sent to an integration. Required for
	// HTTP APIs.
	PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"`

	// For WebSocket APIs, 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.
	//
	// For HTTP API integrations with a specified integrationSubtype, request parameters
	// are a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// You can provide static values, or map request data, stage variables, or context
	// variables that are evaluated at runtime. To learn more, see Working with
	// AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html).
	//
	// For HTTP API itegrations, without a specified integrationSubtype request
	// parameters are a key-value map specifying how to transform HTTP requests
	// before sending them to backend integrations. The key should follow the pattern
	// <action>:<header|querystring|path>.<location>. The action can be append,
	// overwrite or remove. For values, you can provide static values, or map request
	// data, stage variables, or context variables that are evaluated at runtime.
	// To learn more, see Transforming API requests and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
	RequestParameters map[string]*string `locationName:"requestParameters" type:"map"`

	// Represents a map of Velocity templates that are applied on the request payload
	// based on the value of the Content-Type header sent by the client. The content
	// type value is the key in this map, and the template (as a String) is the
	// value. Supported only for WebSocket APIs.
	RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"`

	// Supported only for HTTP APIs. You use response parameters to transform the
	// HTTP response from a backend integration before returning the response to
	// clients. Specify a key-value map from a selection key to response parameters.
	// The selection key must be a valid HTTP status code within the range of 200-599.
	// Response parameters are a key-value map. The key must match pattern <action>:<header>.<location>
	// or overwrite.statuscode. The action can be append, overwrite or remove. The
	// value can be a static value, or map to response data, stage variables, or
	// context variables that are evaluated at runtime. To learn more, see Transforming
	// API requests and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
	ResponseParameters map[string]map[string]*string `locationName:"responseParameters" type:"map"`

	// The template selection expression for the integration. Supported only for
	// WebSocket APIs.
	TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

	// Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and
	// between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is
	// 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
	TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`

	// The TLS configuration for a private integration. If you specify a TLS configuration,
	// private integration traffic uses the HTTPS protocol. Supported only for HTTP
	// APIs.
	TlsConfig *TlsConfig `locationName:"tlsConfig" type:"structure"`
	// contains filtered or unexported fields
}

Represents an integration.

func (Integration) GoString

func (s Integration) GoString() string

GoString returns the string representation

func (*Integration) SetApiGatewayManaged

func (s *Integration) SetApiGatewayManaged(v bool) *Integration

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*Integration) SetConnectionId

func (s *Integration) SetConnectionId(v string) *Integration

SetConnectionId sets the ConnectionId field's value.

func (*Integration) SetConnectionType

func (s *Integration) SetConnectionType(v string) *Integration

SetConnectionType sets the ConnectionType field's value.

func (*Integration) SetContentHandlingStrategy

func (s *Integration) SetContentHandlingStrategy(v string) *Integration

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*Integration) SetCredentialsArn

func (s *Integration) SetCredentialsArn(v string) *Integration

SetCredentialsArn sets the CredentialsArn field's value.

func (*Integration) SetDescription

func (s *Integration) SetDescription(v string) *Integration

SetDescription sets the Description field's value.

func (*Integration) SetIntegrationId

func (s *Integration) SetIntegrationId(v string) *Integration

SetIntegrationId sets the IntegrationId field's value.

func (*Integration) SetIntegrationMethod

func (s *Integration) SetIntegrationMethod(v string) *Integration

SetIntegrationMethod sets the IntegrationMethod field's value.

func (*Integration) SetIntegrationResponseSelectionExpression

func (s *Integration) SetIntegrationResponseSelectionExpression(v string) *Integration

SetIntegrationResponseSelectionExpression sets the IntegrationResponseSelectionExpression field's value.

func (*Integration) SetIntegrationSubtype

func (s *Integration) SetIntegrationSubtype(v string) *Integration

SetIntegrationSubtype sets the IntegrationSubtype field's value.

func (*Integration) SetIntegrationType

func (s *Integration) SetIntegrationType(v string) *Integration

SetIntegrationType sets the IntegrationType field's value.

func (*Integration) SetIntegrationUri

func (s *Integration) SetIntegrationUri(v string) *Integration

SetIntegrationUri sets the IntegrationUri field's value.

func (*Integration) SetPassthroughBehavior

func (s *Integration) SetPassthroughBehavior(v string) *Integration

SetPassthroughBehavior sets the PassthroughBehavior field's value.

func (*Integration) SetPayloadFormatVersion

func (s *Integration) SetPayloadFormatVersion(v string) *Integration

SetPayloadFormatVersion sets the PayloadFormatVersion field's value.

func (*Integration) SetRequestParameters

func (s *Integration) SetRequestParameters(v map[string]*string) *Integration

SetRequestParameters sets the RequestParameters field's value.

func (*Integration) SetRequestTemplates

func (s *Integration) SetRequestTemplates(v map[string]*string) *Integration

SetRequestTemplates sets the RequestTemplates field's value.

func (*Integration) SetResponseParameters

func (s *Integration) SetResponseParameters(v map[string]map[string]*string) *Integration

SetResponseParameters sets the ResponseParameters field's value.

func (*Integration) SetTemplateSelectionExpression

func (s *Integration) SetTemplateSelectionExpression(v string) *Integration

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (*Integration) SetTimeoutInMillis

func (s *Integration) SetTimeoutInMillis(v int64) *Integration

SetTimeoutInMillis sets the TimeoutInMillis field's value.

func (*Integration) SetTlsConfig

func (s *Integration) SetTlsConfig(v *TlsConfig) *Integration

SetTlsConfig sets the TlsConfig field's value.

func (Integration) String

func (s Integration) String() string

String returns the string representation

type IntegrationResponse

type IntegrationResponse struct {

	// Supported only for WebSocket APIs. Specifies how to handle response payload
	// content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT,
	// with the following behaviors:
	//
	// CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string
	// to the corresponding binary blob.
	//
	// CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded
	// string.
	//
	// If this property is not defined, the response payload will be passed through
	// from the integration response to the route response or method response without
	// modification.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// The integration response ID.
	IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"`

	// The integration response key.
	//
	// IntegrationResponseKey is a required field
	IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string" required:"true"`

	// A key-value map specifying response parameters that are passed to the method
	// response from the backend. The key is a method response header parameter
	// name and the mapped value is an integration response header value, a static
	// value enclosed within a pair of single quotes, or a JSON expression from
	// the integration response body. The mapping key must match the pattern of
	// method.response.header.{name}, where name is a valid and unique header name.
	// The mapped non-static value must match the pattern of integration.response.header.{name}
	// or integration.response.body.{JSON-expression}, where name is a valid and
	// unique response header name and JSON-expression is a valid JSON expression
	// without the $ prefix.
	ResponseParameters map[string]*string `locationName:"responseParameters" type:"map"`

	// The collection of response templates for the integration response as a string-to-string
	// map of key-value pairs. Response templates are represented as a key/value
	// map, with a content-type as the key and a template as the value.
	ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"`

	// The template selection expressions for the integration response.
	TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`
	// contains filtered or unexported fields
}

Represents an integration response.

func (IntegrationResponse) GoString

func (s IntegrationResponse) GoString() string

GoString returns the string representation

func (*IntegrationResponse) SetContentHandlingStrategy

func (s *IntegrationResponse) SetContentHandlingStrategy(v string) *IntegrationResponse

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*IntegrationResponse) SetIntegrationResponseId

func (s *IntegrationResponse) SetIntegrationResponseId(v string) *IntegrationResponse

SetIntegrationResponseId sets the IntegrationResponseId field's value.

func (*IntegrationResponse) SetIntegrationResponseKey

func (s *IntegrationResponse) SetIntegrationResponseKey(v string) *IntegrationResponse

SetIntegrationResponseKey sets the IntegrationResponseKey field's value.

func (*IntegrationResponse) SetResponseParameters

func (s *IntegrationResponse) SetResponseParameters(v map[string]*string) *IntegrationResponse

SetResponseParameters sets the ResponseParameters field's value.

func (*IntegrationResponse) SetResponseTemplates

func (s *IntegrationResponse) SetResponseTemplates(v map[string]*string) *IntegrationResponse

SetResponseTemplates sets the ResponseTemplates field's value.

func (*IntegrationResponse) SetTemplateSelectionExpression

func (s *IntegrationResponse) SetTemplateSelectionExpression(v string) *IntegrationResponse

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (IntegrationResponse) String

func (s IntegrationResponse) String() string

String returns the string representation

type JWTConfiguration

type JWTConfiguration struct {

	// A list of the intended recipients of the JWT. A valid JWT must provide an
	// aud that matches at least one entry in this list. See RFC 7519 (https://tools.ietf.org/html/rfc7519#section-4.1.3).
	// Supported only for HTTP APIs.
	Audience []*string `locationName:"audience" type:"list"`

	// The base domain of the identity provider that issues JSON Web Tokens. For
	// example, an Amazon Cognito user pool has the following format: https://cognito-idp.{region}.amazonaws.com/{userPoolId}
	// . Required for the JWT authorizer type. Supported only for HTTP APIs.
	Issuer *string `locationName:"issuer" type:"string"`
	// contains filtered or unexported fields
}

Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

func (JWTConfiguration) GoString

func (s JWTConfiguration) GoString() string

GoString returns the string representation

func (*JWTConfiguration) SetAudience

func (s *JWTConfiguration) SetAudience(v []*string) *JWTConfiguration

SetAudience sets the Audience field's value.

func (*JWTConfiguration) SetIssuer

func (s *JWTConfiguration) SetIssuer(v string) *JWTConfiguration

SetIssuer sets the Issuer field's value.

func (JWTConfiguration) String

func (s JWTConfiguration) String() string

String returns the string representation

type Model

type Model struct {

	// The content-type for the model, for example, "application/json".
	ContentType *string `locationName:"contentType" type:"string"`

	// The description of the model.
	Description *string `locationName:"description" type:"string"`

	// The model identifier.
	ModelId *string `locationName:"modelId" type:"string"`

	// The name of the model. Must be alphanumeric.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The schema for the model. For application/json models, this should be JSON
	// schema draft 4 model.
	Schema *string `locationName:"schema" type:"string"`
	// contains filtered or unexported fields
}

Represents a data model for an API. Supported only for WebSocket APIs. See Create Models and Mapping Templates for Request and Response Mappings (https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html).

func (Model) GoString

func (s Model) GoString() string

GoString returns the string representation

func (*Model) SetContentType

func (s *Model) SetContentType(v string) *Model

SetContentType sets the ContentType field's value.

func (*Model) SetDescription

func (s *Model) SetDescription(v string) *Model

SetDescription sets the Description field's value.

func (*Model) SetModelId

func (s *Model) SetModelId(v string) *Model

SetModelId sets the ModelId field's value.

func (*Model) SetName

func (s *Model) SetName(v string) *Model

SetName sets the Name field's value.

func (*Model) SetSchema

func (s *Model) SetSchema(v string) *Model

SetSchema sets the Schema field's value.

func (Model) String

func (s Model) String() string

String returns the string representation

type MutualTlsAuthentication

type MutualTlsAuthentication struct {

	// An Amazon S3 URL that specifies the truststore for mutual TLS authentication,
	// for example, s3://bucket-name/key-name . The truststore can contain certificates
	// from public or private certificate authorities. To update the truststore,
	// upload a new version to S3, and then update your custom domain name to use
	// the new version. To update the truststore, you must have permissions to access
	// the S3 object.
	TruststoreUri *string `locationName:"truststoreUri" type:"string"`

	// The version of the S3 object that contains your truststore. To specify a
	// version, you must have versioning enabled for the S3 bucket.
	TruststoreVersion *string `locationName:"truststoreVersion" type:"string"`

	// A list of warnings that API Gateway returns while processing your truststore.
	// Invalid certificates produce warnings. Mutual TLS is still enabled, but some
	// clients might not be able to access your API. To resolve warnings, upload
	// a new truststore to S3, and then update you domain name to use the new version.
	TruststoreWarnings []*string `locationName:"truststoreWarnings" type:"list"`
	// contains filtered or unexported fields
}

If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

func (MutualTlsAuthentication) GoString

func (s MutualTlsAuthentication) GoString() string

GoString returns the string representation

func (*MutualTlsAuthentication) SetTruststoreUri

func (s *MutualTlsAuthentication) SetTruststoreUri(v string) *MutualTlsAuthentication

SetTruststoreUri sets the TruststoreUri field's value.

func (*MutualTlsAuthentication) SetTruststoreVersion

func (s *MutualTlsAuthentication) SetTruststoreVersion(v string) *MutualTlsAuthentication

SetTruststoreVersion sets the TruststoreVersion field's value.

func (*MutualTlsAuthentication) SetTruststoreWarnings

func (s *MutualTlsAuthentication) SetTruststoreWarnings(v []*string) *MutualTlsAuthentication

SetTruststoreWarnings sets the TruststoreWarnings field's value.

func (MutualTlsAuthentication) String

func (s MutualTlsAuthentication) String() string

String returns the string representation

type MutualTlsAuthenticationInput

type MutualTlsAuthenticationInput struct {

	// An Amazon S3 URL that specifies the truststore for mutual TLS authentication,
	// for example, s3://bucket-name/key-name . The truststore can contain certificates
	// from public or private certificate authorities. To update the truststore,
	// upload a new version to S3, and then update your custom domain name to use
	// the new version. To update the truststore, you must have permissions to access
	// the S3 object.
	TruststoreUri *string `locationName:"truststoreUri" type:"string"`

	// The version of the S3 object that contains your truststore. To specify a
	// version, you must have versioning enabled for the S3 bucket.
	TruststoreVersion *string `locationName:"truststoreVersion" type:"string"`
	// contains filtered or unexported fields
}

If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

func (MutualTlsAuthenticationInput) GoString

func (s MutualTlsAuthenticationInput) GoString() string

GoString returns the string representation

func (*MutualTlsAuthenticationInput) SetTruststoreUri

SetTruststoreUri sets the TruststoreUri field's value.

func (*MutualTlsAuthenticationInput) SetTruststoreVersion

SetTruststoreVersion sets the TruststoreVersion field's value.

func (MutualTlsAuthenticationInput) String

String returns the string representation

type NotFoundException

type NotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// Describes the error encountered.
	Message_ *string `locationName:"message" type:"string"`

	// The resource type.
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

The resource specified in the request was not found. See the message field for more information.

func (*NotFoundException) Code

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error

func (s *NotFoundException) Error() string

func (NotFoundException) GoString

func (s NotFoundException) GoString() string

GoString returns the string representation

func (*NotFoundException) Message

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode

func (s *NotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NotFoundException) String

func (s NotFoundException) String() string

String returns the string representation

type ParameterConstraints

type ParameterConstraints struct {

	// Whether or not the parameter is required.
	Required *bool `locationName:"required" type:"boolean"`
	// contains filtered or unexported fields
}

Validation constraints imposed on parameters of a request (path, query string, headers).

func (ParameterConstraints) GoString

func (s ParameterConstraints) GoString() string

GoString returns the string representation

func (*ParameterConstraints) SetRequired

func (s *ParameterConstraints) SetRequired(v bool) *ParameterConstraints

SetRequired sets the Required field's value.

func (ParameterConstraints) String

func (s ParameterConstraints) String() string

String returns the string representation

type ReimportApiInput

type ReimportApiInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	Basepath *string `location:"querystring" locationName:"basepath" type:"string"`

	// Body is a required field
	Body *string `locationName:"body" type:"string" required:"true"`

	FailOnWarnings *bool `location:"querystring" locationName:"failOnWarnings" type:"boolean"`
	// contains filtered or unexported fields
}

func (ReimportApiInput) GoString

func (s ReimportApiInput) GoString() string

GoString returns the string representation

func (*ReimportApiInput) SetApiId

func (s *ReimportApiInput) SetApiId(v string) *ReimportApiInput

SetApiId sets the ApiId field's value.

func (*ReimportApiInput) SetBasepath

func (s *ReimportApiInput) SetBasepath(v string) *ReimportApiInput

SetBasepath sets the Basepath field's value.

func (*ReimportApiInput) SetBody

func (s *ReimportApiInput) SetBody(v string) *ReimportApiInput

SetBody sets the Body field's value.

func (*ReimportApiInput) SetFailOnWarnings

func (s *ReimportApiInput) SetFailOnWarnings(v bool) *ReimportApiInput

SetFailOnWarnings sets the FailOnWarnings field's value.

func (ReimportApiInput) String

func (s ReimportApiInput) String() string

String returns the string representation

func (*ReimportApiInput) Validate

func (s *ReimportApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReimportApiOutput

type ReimportApiOutput struct {
	ApiEndpoint *string `locationName:"apiEndpoint" type:"string"`

	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	// The identifier.
	ApiId *string `locationName:"apiId" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

	// Represents a CORS configuration. Supported only for HTTP APIs. See Configuring
	// CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html)
	// for more information.
	CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"`

	DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

	ImportInfo []*string `locationName:"importInfo" type:"list"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// Represents a protocol type.
	ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// A string with a length between [1-64].
	Version *string `locationName:"version" type:"string"`

	Warnings []*string `locationName:"warnings" type:"list"`
	// contains filtered or unexported fields
}

func (ReimportApiOutput) GoString

func (s ReimportApiOutput) GoString() string

GoString returns the string representation

func (*ReimportApiOutput) SetApiEndpoint

func (s *ReimportApiOutput) SetApiEndpoint(v string) *ReimportApiOutput

SetApiEndpoint sets the ApiEndpoint field's value.

func (*ReimportApiOutput) SetApiGatewayManaged

func (s *ReimportApiOutput) SetApiGatewayManaged(v bool) *ReimportApiOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*ReimportApiOutput) SetApiId

func (s *ReimportApiOutput) SetApiId(v string) *ReimportApiOutput

SetApiId sets the ApiId field's value.

func (*ReimportApiOutput) SetApiKeySelectionExpression

func (s *ReimportApiOutput) SetApiKeySelectionExpression(v string) *ReimportApiOutput

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*ReimportApiOutput) SetCorsConfiguration

func (s *ReimportApiOutput) SetCorsConfiguration(v *Cors) *ReimportApiOutput

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*ReimportApiOutput) SetCreatedDate

func (s *ReimportApiOutput) SetCreatedDate(v time.Time) *ReimportApiOutput

SetCreatedDate sets the CreatedDate field's value.

func (*ReimportApiOutput) SetDescription

func (s *ReimportApiOutput) SetDescription(v string) *ReimportApiOutput

SetDescription sets the Description field's value.

func (*ReimportApiOutput) SetDisableExecuteApiEndpoint

func (s *ReimportApiOutput) SetDisableExecuteApiEndpoint(v bool) *ReimportApiOutput

SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.

func (*ReimportApiOutput) SetDisableSchemaValidation

func (s *ReimportApiOutput) SetDisableSchemaValidation(v bool) *ReimportApiOutput

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*ReimportApiOutput) SetImportInfo

func (s *ReimportApiOutput) SetImportInfo(v []*string) *ReimportApiOutput

SetImportInfo sets the ImportInfo field's value.

func (*ReimportApiOutput) SetName

SetName sets the Name field's value.

func (*ReimportApiOutput) SetProtocolType

func (s *ReimportApiOutput) SetProtocolType(v string) *ReimportApiOutput

SetProtocolType sets the ProtocolType field's value.

func (*ReimportApiOutput) SetRouteSelectionExpression

func (s *ReimportApiOutput) SetRouteSelectionExpression(v string) *ReimportApiOutput

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*ReimportApiOutput) SetTags

func (s *ReimportApiOutput) SetTags(v map[string]*string) *ReimportApiOutput

SetTags sets the Tags field's value.

func (*ReimportApiOutput) SetVersion

func (s *ReimportApiOutput) SetVersion(v string) *ReimportApiOutput

SetVersion sets the Version field's value.

func (*ReimportApiOutput) SetWarnings

func (s *ReimportApiOutput) SetWarnings(v []*string) *ReimportApiOutput

SetWarnings sets the Warnings field's value.

func (ReimportApiOutput) String

func (s ReimportApiOutput) String() string

String returns the string representation

type ResetAuthorizersCacheInput

type ResetAuthorizersCacheInput 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 (ResetAuthorizersCacheInput) GoString

func (s ResetAuthorizersCacheInput) GoString() string

GoString returns the string representation

func (*ResetAuthorizersCacheInput) SetApiId

SetApiId sets the ApiId field's value.

func (*ResetAuthorizersCacheInput) SetStageName

SetStageName sets the StageName field's value.

func (ResetAuthorizersCacheInput) String

String returns the string representation

func (*ResetAuthorizersCacheInput) Validate

func (s *ResetAuthorizersCacheInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResetAuthorizersCacheOutput

type ResetAuthorizersCacheOutput struct {
	// contains filtered or unexported fields
}

func (ResetAuthorizersCacheOutput) GoString

func (s ResetAuthorizersCacheOutput) GoString() string

GoString returns the string representation

func (ResetAuthorizersCacheOutput) String

String returns the string representation

type Route

type Route struct {

	// Specifies whether a route is managed by API Gateway. If you created an API
	// using quick create, the $default route is managed by API Gateway. You can't
	// modify the $default route key.
	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	// Specifies whether an API key is required for this route. Supported only for
	// WebSocket APIs.
	ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

	// A list of authorization scopes configured on a route. The scopes are used
	// with a JWT authorizer to authorize the method invocation. The authorization
	// works by matching the route scopes against the scopes parsed from the access
	// token in the incoming request. The method invocation is authorized if any
	// route scope matches a claimed scope in the access token. Otherwise, the invocation
	// is not authorized. When the route scope is configured, the client must provide
	// an access token instead of an identity token for authorization purposes.
	AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"`

	// The authorization type for the route. For WebSocket APIs, valid values are
	// NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for
	// using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
	// JWT for using JSON Web Tokens, 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.
	// The authorizer identifier is generated by API Gateway when you created the
	// authorizer.
	AuthorizerId *string `locationName:"authorizerId" type:"string"`

	// The model selection expression for the route. Supported only for WebSocket
	// APIs.
	ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

	// The operation name for the route.
	OperationName *string `locationName:"operationName" type:"string"`

	// The request models for the route. Supported only for WebSocket APIs.
	RequestModels map[string]*string `locationName:"requestModels" type:"map"`

	// The request parameters for the route. Supported only for WebSocket APIs.
	RequestParameters map[string]*ParameterConstraints `locationName:"requestParameters" type:"map"`

	// The route ID.
	RouteId *string `locationName:"routeId" type:"string"`

	// The route key for the route.
	//
	// RouteKey is a required field
	RouteKey *string `locationName:"routeKey" type:"string" required:"true"`

	// The route response selection expression for the route. Supported only for
	// WebSocket APIs.
	RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

	// The target for the route.
	Target *string `locationName:"target" type:"string"`
	// contains filtered or unexported fields
}

Represents a route.

func (Route) GoString

func (s Route) GoString() string

GoString returns the string representation

func (*Route) SetApiGatewayManaged

func (s *Route) SetApiGatewayManaged(v bool) *Route

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*Route) SetApiKeyRequired

func (s *Route) SetApiKeyRequired(v bool) *Route

SetApiKeyRequired sets the ApiKeyRequired field's value.

func (*Route) SetAuthorizationScopes

func (s *Route) SetAuthorizationScopes(v []*string) *Route

SetAuthorizationScopes sets the AuthorizationScopes field's value.

func (*Route) SetAuthorizationType

func (s *Route) SetAuthorizationType(v string) *Route

SetAuthorizationType sets the AuthorizationType field's value.

func (*Route) SetAuthorizerId

func (s *Route) SetAuthorizerId(v string) *Route

SetAuthorizerId sets the AuthorizerId field's value.

func (*Route) SetModelSelectionExpression

func (s *Route) SetModelSelectionExpression(v string) *Route

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*Route) SetOperationName

func (s *Route) SetOperationName(v string) *Route

SetOperationName sets the OperationName field's value.

func (*Route) SetRequestModels

func (s *Route) SetRequestModels(v map[string]*string) *Route

SetRequestModels sets the RequestModels field's value.

func (*Route) SetRequestParameters

func (s *Route) SetRequestParameters(v map[string]*ParameterConstraints) *Route

SetRequestParameters sets the RequestParameters field's value.

func (*Route) SetRouteId

func (s *Route) SetRouteId(v string) *Route

SetRouteId sets the RouteId field's value.

func (*Route) SetRouteKey

func (s *Route) SetRouteKey(v string) *Route

SetRouteKey sets the RouteKey field's value.

func (*Route) SetRouteResponseSelectionExpression

func (s *Route) SetRouteResponseSelectionExpression(v string) *Route

SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.

func (*Route) SetTarget

func (s *Route) SetTarget(v string) *Route

SetTarget sets the Target field's value.

func (Route) String

func (s Route) String() string

String returns the string representation

type RouteResponse

type RouteResponse struct {

	// Represents the model selection expression of a route response. Supported
	// only for WebSocket APIs.
	ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

	// Represents the response models of a route response.
	ResponseModels map[string]*string `locationName:"responseModels" type:"map"`

	// Represents the response parameters of a route response.
	ResponseParameters map[string]*ParameterConstraints `locationName:"responseParameters" type:"map"`

	// Represents the identifier of a route response.
	RouteResponseId *string `locationName:"routeResponseId" type:"string"`

	// Represents the route response key of a route response.
	//
	// RouteResponseKey is a required field
	RouteResponseKey *string `locationName:"routeResponseKey" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents a route response.

func (RouteResponse) GoString

func (s RouteResponse) GoString() string

GoString returns the string representation

func (*RouteResponse) SetModelSelectionExpression

func (s *RouteResponse) SetModelSelectionExpression(v string) *RouteResponse

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*RouteResponse) SetResponseModels

func (s *RouteResponse) SetResponseModels(v map[string]*string) *RouteResponse

SetResponseModels sets the ResponseModels field's value.

func (*RouteResponse) SetResponseParameters

func (s *RouteResponse) SetResponseParameters(v map[string]*ParameterConstraints) *RouteResponse

SetResponseParameters sets the ResponseParameters field's value.

func (*RouteResponse) SetRouteResponseId

func (s *RouteResponse) SetRouteResponseId(v string) *RouteResponse

SetRouteResponseId sets the RouteResponseId field's value.

func (*RouteResponse) SetRouteResponseKey

func (s *RouteResponse) SetRouteResponseKey(v string) *RouteResponse

SetRouteResponseKey sets the RouteResponseKey field's value.

func (RouteResponse) String

func (s RouteResponse) String() string

String returns the string representation

type RouteSettings

type RouteSettings struct {

	// Specifies whether (true) or not (false) data trace logging is enabled for
	// this route. This property affects the log entries pushed to Amazon CloudWatch
	// Logs. Supported only for WebSocket APIs.
	DataTraceEnabled *bool `locationName:"dataTraceEnabled" type:"boolean"`

	// Specifies whether detailed metrics are enabled.
	DetailedMetricsEnabled *bool `locationName:"detailedMetricsEnabled" type:"boolean"`

	// Specifies the logging level for this route: INFO, ERROR, or OFF. This property
	// affects the log entries pushed to Amazon CloudWatch Logs. Supported only
	// for WebSocket APIs.
	LoggingLevel *string `locationName:"loggingLevel" type:"string" enum:"LoggingLevel"`

	// Specifies the throttling burst limit.
	ThrottlingBurstLimit *int64 `locationName:"throttlingBurstLimit" type:"integer"`

	// Specifies the throttling rate limit.
	ThrottlingRateLimit *float64 `locationName:"throttlingRateLimit" type:"double"`
	// contains filtered or unexported fields
}

Represents a collection of route settings.

func (RouteSettings) GoString

func (s RouteSettings) GoString() string

GoString returns the string representation

func (*RouteSettings) SetDataTraceEnabled

func (s *RouteSettings) SetDataTraceEnabled(v bool) *RouteSettings

SetDataTraceEnabled sets the DataTraceEnabled field's value.

func (*RouteSettings) SetDetailedMetricsEnabled

func (s *RouteSettings) SetDetailedMetricsEnabled(v bool) *RouteSettings

SetDetailedMetricsEnabled sets the DetailedMetricsEnabled field's value.

func (*RouteSettings) SetLoggingLevel

func (s *RouteSettings) SetLoggingLevel(v string) *RouteSettings

SetLoggingLevel sets the LoggingLevel field's value.

func (*RouteSettings) SetThrottlingBurstLimit

func (s *RouteSettings) SetThrottlingBurstLimit(v int64) *RouteSettings

SetThrottlingBurstLimit sets the ThrottlingBurstLimit field's value.

func (*RouteSettings) SetThrottlingRateLimit

func (s *RouteSettings) SetThrottlingRateLimit(v float64) *RouteSettings

SetThrottlingRateLimit sets the ThrottlingRateLimit field's value.

func (RouteSettings) String

func (s RouteSettings) String() string

String returns the string representation

type Stage

type Stage struct {

	// Settings for logging access in this stage.
	AccessLogSettings *AccessLogSettings `locationName:"accessLogSettings" type:"structure"`

	// Specifies whether a stage is managed by API Gateway. If you created an API
	// using quick create, the $default stage is managed by API Gateway. You can't
	// modify the $default stage.
	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	// Specifies whether updates to an API automatically trigger a new deployment.
	// The default value is false.
	AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"`

	// The identifier of a client certificate for a Stage. Supported only for WebSocket
	// APIs.
	ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

	// The timestamp when the stage was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// Default route settings for the stage.
	DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

	// The identifier of the Deployment that the Stage is associated with. Can't
	// be updated if autoDeploy is enabled.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// The description of the stage.
	Description *string `locationName:"description" type:"string"`

	// Describes the status of the last deployment of a stage. Supported only for
	// stages with autoDeploy enabled.
	LastDeploymentStatusMessage *string `locationName:"lastDeploymentStatusMessage" type:"string"`

	// The timestamp when the stage was last updated.
	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"`

	// Route settings for the stage, by routeKey.
	RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"`

	// The name of the stage.
	//
	// StageName is a required field
	StageName *string `locationName:"stageName" type:"string" required:"true"`

	// A map that defines the stage variables for a stage resource. Variable names
	// can have alphanumeric and underscore characters, and the values must match
	// [A-Za-z0-9-._~:/?#&=,]+.
	StageVariables map[string]*string `locationName:"stageVariables" type:"map"`

	// The collection of tags. Each tag element is associated with a given resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Represents an API stage.

func (Stage) GoString

func (s Stage) GoString() string

GoString returns the string representation

func (*Stage) SetAccessLogSettings

func (s *Stage) SetAccessLogSettings(v *AccessLogSettings) *Stage

SetAccessLogSettings sets the AccessLogSettings field's value.

func (*Stage) SetApiGatewayManaged

func (s *Stage) SetApiGatewayManaged(v bool) *Stage

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*Stage) SetAutoDeploy

func (s *Stage) SetAutoDeploy(v bool) *Stage

SetAutoDeploy sets the AutoDeploy field's value.

func (*Stage) SetClientCertificateId

func (s *Stage) SetClientCertificateId(v string) *Stage

SetClientCertificateId sets the ClientCertificateId field's value.

func (*Stage) SetCreatedDate

func (s *Stage) SetCreatedDate(v time.Time) *Stage

SetCreatedDate sets the CreatedDate field's value.

func (*Stage) SetDefaultRouteSettings

func (s *Stage) SetDefaultRouteSettings(v *RouteSettings) *Stage

SetDefaultRouteSettings sets the DefaultRouteSettings field's value.

func (*Stage) SetDeploymentId

func (s *Stage) SetDeploymentId(v string) *Stage

SetDeploymentId sets the DeploymentId field's value.

func (*Stage) SetDescription

func (s *Stage) SetDescription(v string) *Stage

SetDescription sets the Description field's value.

func (*Stage) SetLastDeploymentStatusMessage

func (s *Stage) SetLastDeploymentStatusMessage(v string) *Stage

SetLastDeploymentStatusMessage sets the LastDeploymentStatusMessage field's value.

func (*Stage) SetLastUpdatedDate

func (s *Stage) SetLastUpdatedDate(v time.Time) *Stage

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*Stage) SetRouteSettings

func (s *Stage) SetRouteSettings(v map[string]*RouteSettings) *Stage

SetRouteSettings sets the RouteSettings field's value.

func (*Stage) SetStageName

func (s *Stage) SetStageName(v string) *Stage

SetStageName sets the StageName field's value.

func (*Stage) SetStageVariables

func (s *Stage) SetStageVariables(v map[string]*string) *Stage

SetStageVariables sets the StageVariables field's value.

func (*Stage) SetTags

func (s *Stage) SetTags(v map[string]*string) *Stage

SetTags sets the Tags field's value.

func (Stage) String

func (s Stage) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TlsConfig

type TlsConfig struct {

	// If you specify a server name, API Gateway uses it to verify the hostname
	// on the integration's certificate. The server name is also included in the
	// TLS handshake to support Server Name Indication (SNI) or virtual hosting.
	ServerNameToVerify *string `locationName:"serverNameToVerify" type:"string"`
	// contains filtered or unexported fields
}

The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.

func (TlsConfig) GoString

func (s TlsConfig) GoString() string

GoString returns the string representation

func (*TlsConfig) SetServerNameToVerify

func (s *TlsConfig) SetServerNameToVerify(v string) *TlsConfig

SetServerNameToVerify sets the ServerNameToVerify field's value.

func (TlsConfig) String

func (s TlsConfig) String() string

String returns the string representation

type TlsConfigInput

type TlsConfigInput struct {

	// If you specify a server name, API Gateway uses it to verify the hostname
	// on the integration's certificate. The server name is also included in the
	// TLS handshake to support Server Name Indication (SNI) or virtual hosting.
	ServerNameToVerify *string `locationName:"serverNameToVerify" type:"string"`
	// contains filtered or unexported fields
}

The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.

func (TlsConfigInput) GoString

func (s TlsConfigInput) GoString() string

GoString returns the string representation

func (*TlsConfigInput) SetServerNameToVerify

func (s *TlsConfigInput) SetServerNameToVerify(v string) *TlsConfigInput

SetServerNameToVerify sets the ServerNameToVerify field's value.

func (TlsConfigInput) String

func (s TlsConfigInput) String() string

String returns the string representation

type TooManyRequestsException

type TooManyRequestsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	LimitType *string `locationName:"limitType" type:"string"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A limit has been exceeded. See the accompanying error message for details.

func (*TooManyRequestsException) Code

func (s *TooManyRequestsException) Code() string

Code returns the exception type name.

func (*TooManyRequestsException) Error

func (s *TooManyRequestsException) Error() string

func (TooManyRequestsException) GoString

func (s TooManyRequestsException) GoString() string

GoString returns the string representation

func (*TooManyRequestsException) Message

func (s *TooManyRequestsException) Message() string

Message returns the exception's message.

func (*TooManyRequestsException) OrigErr

func (s *TooManyRequestsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyRequestsException) RequestID

func (s *TooManyRequestsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyRequestsException) StatusCode

func (s *TooManyRequestsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TooManyRequestsException) String

func (s TooManyRequestsException) String() string

String returns the string representation

type UntagResourceInput

type UntagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) 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"`

	// Represents a CORS configuration. Supported only for HTTP APIs. See Configuring
	// CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html)
	// for more information.
	CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

	// Represents an Amazon Resource Name (ARN).
	CredentialsArn *string `locationName:"credentialsArn" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"`

	DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// After evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	RouteKey *string `locationName:"routeKey" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

	// A string representation of a URI with a length between [1-2048].
	Target *string `locationName:"target" type:"string"`

	// A string with a length between [1-64].
	Version *string `locationName:"version" type:"string"`
	// contains filtered or unexported fields
}

func (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) SetCorsConfiguration

func (s *UpdateApiInput) SetCorsConfiguration(v *Cors) *UpdateApiInput

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*UpdateApiInput) SetCredentialsArn

func (s *UpdateApiInput) SetCredentialsArn(v string) *UpdateApiInput

SetCredentialsArn sets the CredentialsArn field's value.

func (*UpdateApiInput) SetDescription

func (s *UpdateApiInput) SetDescription(v string) *UpdateApiInput

SetDescription sets the Description field's value.

func (*UpdateApiInput) SetDisableExecuteApiEndpoint

func (s *UpdateApiInput) SetDisableExecuteApiEndpoint(v bool) *UpdateApiInput

SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint 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) SetRouteKey

func (s *UpdateApiInput) SetRouteKey(v string) *UpdateApiInput

SetRouteKey sets the RouteKey field's value.

func (*UpdateApiInput) SetRouteSelectionExpression

func (s *UpdateApiInput) SetRouteSelectionExpression(v string) *UpdateApiInput

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*UpdateApiInput) SetTarget

func (s *UpdateApiInput) SetTarget(v string) *UpdateApiInput

SetTarget sets the Target 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 evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

	// DomainName is a required field
	DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`

	// A string with a length between [1-128].
	Stage *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 evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

	// A string with a length between [1-128].
	Stage *string `locationName:"stage" type:"string"`
	// contains filtered or unexported fields
}

func (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"`

	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	// The identifier.
	ApiId *string `locationName:"apiId" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

	// Represents a CORS configuration. Supported only for HTTP APIs. See Configuring
	// CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html)
	// for more information.
	CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"`

	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"`

	DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

	ImportInfo []*string `locationName:"importInfo" type:"list"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// Represents a protocol type.
	ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// A string with a length between [1-64].
	Version *string `locationName:"version" type:"string"`

	Warnings []*string `locationName:"warnings" type:"list"`
	// contains filtered or unexported fields
}

func (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) SetApiGatewayManaged

func (s *UpdateApiOutput) SetApiGatewayManaged(v bool) *UpdateApiOutput

SetApiGatewayManaged sets the ApiGatewayManaged 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) SetCorsConfiguration

func (s *UpdateApiOutput) SetCorsConfiguration(v *Cors) *UpdateApiOutput

SetCorsConfiguration sets the CorsConfiguration 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) SetDisableExecuteApiEndpoint

func (s *UpdateApiOutput) SetDisableExecuteApiEndpoint(v bool) *UpdateApiOutput

SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.

func (*UpdateApiOutput) SetDisableSchemaValidation

func (s *UpdateApiOutput) SetDisableSchemaValidation(v bool) *UpdateApiOutput

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*UpdateApiOutput) SetImportInfo

func (s *UpdateApiOutput) SetImportInfo(v []*string) *UpdateApiOutput

SetImportInfo sets the ImportInfo 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) SetTags

func (s *UpdateApiOutput) SetTags(v map[string]*string) *UpdateApiOutput

SetTags sets the Tags 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"`

	// A string with a length between [1-64].
	AuthorizerPayloadFormatVersion *string `locationName:"authorizerPayloadFormatVersion" type:"string"`

	// An integer with a value between [0-3600].
	AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

	// The authorizer type. Specify REQUEST for a Lambda function using incoming
	// request parameters. Specify JWT to use JSON Web Tokens (supported only for
	// HTTP APIs).
	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"`

	EnableSimpleResponses *bool `locationName:"enableSimpleResponses" type:"boolean"`

	// The identity source for which authorization is requested. For the REQUEST
	// authorizer, this is required when authorization caching is enabled. The value
	// is a comma-separated string of one or more mapping expressions of the specified
	// request parameters. For example, if an Auth header, a Name query string parameter
	// are defined as identity sources, this value is $method.request.header.Auth,
	// $method.request.querystring.Name. These parameters will be used to derive
	// the authorization caching key and to perform runtime validation of the REQUEST
	// authorizer by verifying all of the identity-related request parameters are
	// present, not null and non-empty. Only when this is true does the authorizer
	// invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized
	// response without calling the Lambda function. The valid value is a string
	// of comma-separated mapping expressions of the specified request parameters.
	// When the authorization caching is not enabled, this property is optional.
	IdentitySource []*string `locationName:"identitySource" type:"list"`

	// A string with a length between [0-1024].
	IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

	// Represents the configuration of a JWT authorizer. Required for the JWT authorizer
	// type. Supported only for HTTP APIs.
	JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

func (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) SetAuthorizerPayloadFormatVersion

func (s *UpdateAuthorizerInput) SetAuthorizerPayloadFormatVersion(v string) *UpdateAuthorizerInput

SetAuthorizerPayloadFormatVersion sets the AuthorizerPayloadFormatVersion 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) SetEnableSimpleResponses

func (s *UpdateAuthorizerInput) SetEnableSimpleResponses(v bool) *UpdateAuthorizerInput

SetEnableSimpleResponses sets the EnableSimpleResponses 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) SetJwtConfiguration

func (s *UpdateAuthorizerInput) SetJwtConfiguration(v *JWTConfiguration) *UpdateAuthorizerInput

SetJwtConfiguration sets the JwtConfiguration field's value.

func (*UpdateAuthorizerInput) SetName

SetName sets the Name 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"`

	// A string with a length between [1-64].
	AuthorizerPayloadFormatVersion *string `locationName:"authorizerPayloadFormatVersion" type:"string"`

	// An integer with a value between [0-3600].
	AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`

	// The authorizer type. Specify REQUEST for a Lambda function using incoming
	// request parameters. Specify JWT to use JSON Web Tokens (supported only for
	// HTTP APIs).
	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"`

	EnableSimpleResponses *bool `locationName:"enableSimpleResponses" type:"boolean"`

	// The identity source for which authorization is requested. For the REQUEST
	// authorizer, this is required when authorization caching is enabled. The value
	// is a comma-separated string of one or more mapping expressions of the specified
	// request parameters. For example, if an Auth header, a Name query string parameter
	// are defined as identity sources, this value is $method.request.header.Auth,
	// $method.request.querystring.Name. These parameters will be used to derive
	// the authorization caching key and to perform runtime validation of the REQUEST
	// authorizer by verifying all of the identity-related request parameters are
	// present, not null and non-empty. Only when this is true does the authorizer
	// invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized
	// response without calling the Lambda function. The valid value is a string
	// of comma-separated mapping expressions of the specified request parameters.
	// When the authorization caching is not enabled, this property is optional.
	IdentitySource []*string `locationName:"identitySource" type:"list"`

	// A string with a length between [0-1024].
	IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

	// Represents the configuration of a JWT authorizer. Required for the JWT authorizer
	// type. Supported only for HTTP APIs.
	JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

func (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) SetAuthorizerPayloadFormatVersion

func (s *UpdateAuthorizerOutput) SetAuthorizerPayloadFormatVersion(v string) *UpdateAuthorizerOutput

SetAuthorizerPayloadFormatVersion sets the AuthorizerPayloadFormatVersion 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) SetEnableSimpleResponses

func (s *UpdateAuthorizerOutput) SetEnableSimpleResponses(v bool) *UpdateAuthorizerOutput

SetEnableSimpleResponses sets the EnableSimpleResponses 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) SetJwtConfiguration

SetJwtConfiguration sets the JwtConfiguration field's value.

func (*UpdateAuthorizerOutput) SetName

SetName sets the Name 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 {
	AutoDeployed *bool `locationName:"autoDeployed" type:"boolean"`

	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// The identifier.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// Represents a deployment status.
	DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"`

	DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateDeploymentOutput) GoString

func (s UpdateDeploymentOutput) GoString() string

GoString returns the string representation

func (*UpdateDeploymentOutput) SetAutoDeployed

func (s *UpdateDeploymentOutput) SetAutoDeployed(v bool) *UpdateDeploymentOutput

SetAutoDeployed sets the AutoDeployed field's value.

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"`

	// If specified, API Gateway performs two-way authentication between the client
	// and the server. Clients must present a trusted certificate to access your
	// API.
	MutualTlsAuthentication *MutualTlsAuthenticationInput `locationName:"mutualTlsAuthentication" type:"structure"`
	// 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) SetMutualTlsAuthentication

SetMutualTlsAuthentication sets the MutualTlsAuthentication 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"`

	// If specified, API Gateway performs two-way authentication between the client
	// and the server. Clients must present a trusted certificate to access your
	// API.
	MutualTlsAuthentication *MutualTlsAuthentication `locationName:"mutualTlsAuthentication" type:"structure"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// 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) SetMutualTlsAuthentication

func (s *UpdateDomainNameOutput) SetMutualTlsAuthentication(v *MutualTlsAuthentication) *UpdateDomainNameOutput

SetMutualTlsAuthentication sets the MutualTlsAuthentication field's value.

func (*UpdateDomainNameOutput) SetTags

SetTags sets the Tags 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. Supported
	// only for WebSocket APIs.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// Represents an Amazon Resource Name (ARN).
	CredentialsArn *string `locationName:"credentialsArn" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	// 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"`

	// A string with a length between [1-128].
	IntegrationSubtype *string `locationName:"integrationSubtype" type:"string"`

	// Represents an API method integration type.
	IntegrationType *string `locationName:"integrationType" type:"string" enum:"IntegrationType"`

	// A string representation of a URI with a length between [1-2048].
	IntegrationUri *string `locationName:"integrationUri" type:"string"`

	// Represents passthrough behavior for an integration response. Supported only
	// for WebSocket APIs.
	PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

	// A string with a length between [1-64].
	PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"`

	// For WebSocket APIs, 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.
	//
	// For HTTP API integrations with a specified integrationSubtype, request parameters
	// are a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// You can provide static values, or map request data, stage variables, or context
	// variables that are evaluated at runtime. To learn more, see Working with
	// AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html).
	//
	// For HTTP API integrations without a specified integrationSubtype request
	// parameters are a key-value map specifying how to transform HTTP requests
	// before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location>
	// where action can be append, overwrite or remove. For values, you can provide
	// static values, or map request data, stage variables, or context variables
	// that are evaluated at runtime. To learn more, see Transforming API requests
	// and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
	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"`

	// Supported only for HTTP APIs. You use response parameters to transform the
	// HTTP response from a backend integration before returning the response to
	// clients.
	ResponseParameters map[string]map[string]*string `locationName:"responseParameters" type:"map"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

	// An integer with a value between [50-30000].
	TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`

	// The TLS configuration for a private integration. If you specify a TLS configuration,
	// private integration traffic uses the HTTPS protocol. Supported only for HTTP
	// APIs.
	TlsConfig *TlsConfigInput `locationName:"tlsConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (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) SetIntegrationSubtype

func (s *UpdateIntegrationInput) SetIntegrationSubtype(v string) *UpdateIntegrationInput

SetIntegrationSubtype sets the IntegrationSubtype 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) SetPayloadFormatVersion

func (s *UpdateIntegrationInput) SetPayloadFormatVersion(v string) *UpdateIntegrationInput

SetPayloadFormatVersion sets the PayloadFormatVersion 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) SetResponseParameters

func (s *UpdateIntegrationInput) SetResponseParameters(v map[string]map[string]*string) *UpdateIntegrationInput

SetResponseParameters sets the ResponseParameters 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) SetTlsConfig

SetTlsConfig sets the TlsConfig 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 {
	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	// A string with a length between [1-1024].
	ConnectionId *string `locationName:"connectionId" type:"string"`

	// Represents a connection type.
	ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"`

	// Specifies how to handle response payload content type conversions. Supported
	// only for WebSocket APIs.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// Represents an Amazon Resource Name (ARN).
	CredentialsArn *string `locationName:"credentialsArn" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	// The identifier.
	IntegrationId *string `locationName:"integrationId" type:"string"`

	// A string with a length between [1-64].
	IntegrationMethod *string `locationName:"integrationMethod" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	IntegrationResponseSelectionExpression *string `locationName:"integrationResponseSelectionExpression" type:"string"`

	// A string with a length between [1-128].
	IntegrationSubtype *string `locationName:"integrationSubtype" type:"string"`

	// Represents an API method integration type.
	IntegrationType *string `locationName:"integrationType" type:"string" enum:"IntegrationType"`

	// A string representation of a URI with a length between [1-2048].
	IntegrationUri *string `locationName:"integrationUri" type:"string"`

	// Represents passthrough behavior for an integration response. Supported only
	// for WebSocket APIs.
	PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

	// A string with a length between [1-64].
	PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"`

	// For WebSocket APIs, 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.
	//
	// For HTTP API integrations with a specified integrationSubtype, request parameters
	// are a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// You can provide static values, or map request data, stage variables, or context
	// variables that are evaluated at runtime. To learn more, see Working with
	// AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html).
	//
	// For HTTP API integrations without a specified integrationSubtype request
	// parameters are a key-value map specifying how to transform HTTP requests
	// before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location>
	// where action can be append, overwrite or remove. For values, you can provide
	// static values, or map request data, stage variables, or context variables
	// that are evaluated at runtime. To learn more, see Transforming API requests
	// and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
	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"`

	// Supported only for HTTP APIs. You use response parameters to transform the
	// HTTP response from a backend integration before returning the response to
	// clients.
	ResponseParameters map[string]map[string]*string `locationName:"responseParameters" type:"map"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

	// An integer with a value between [50-30000].
	TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`

	// The TLS configuration for a private integration. If you specify a TLS configuration,
	// private integration traffic uses the HTTPS protocol. Supported only for HTTP
	// APIs.
	TlsConfig *TlsConfig `locationName:"tlsConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateIntegrationOutput) GoString

func (s UpdateIntegrationOutput) GoString() string

GoString returns the string representation

func (*UpdateIntegrationOutput) SetApiGatewayManaged

func (s *UpdateIntegrationOutput) SetApiGatewayManaged(v bool) *UpdateIntegrationOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

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) SetIntegrationSubtype

func (s *UpdateIntegrationOutput) SetIntegrationSubtype(v string) *UpdateIntegrationOutput

SetIntegrationSubtype sets the IntegrationSubtype 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) SetPayloadFormatVersion

func (s *UpdateIntegrationOutput) SetPayloadFormatVersion(v string) *UpdateIntegrationOutput

SetPayloadFormatVersion sets the PayloadFormatVersion 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) SetResponseParameters

func (s *UpdateIntegrationOutput) SetResponseParameters(v map[string]map[string]*string) *UpdateIntegrationOutput

SetResponseParameters sets the ResponseParameters 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) SetTlsConfig

SetTlsConfig sets the TlsConfig 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. Supported
	// only for WebSocket APIs.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// IntegrationId is a required field
	IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`

	// IntegrationResponseId is a required field
	IntegrationResponseId *string `location:"uri" locationName:"integrationResponseId" type:"string" required:"true"`

	// After evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string"`

	// For WebSocket APIs, 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.
	//
	// For HTTP API integrations with a specified integrationSubtype, request parameters
	// are a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// You can provide static values, or map request data, stage variables, or context
	// variables that are evaluated at runtime. To learn more, see Working with
	// AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html).
	//
	// For HTTP API integrations without a specified integrationSubtype request
	// parameters are a key-value map specifying how to transform HTTP requests
	// before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location>
	// where action can be append, overwrite or remove. For values, you can provide
	// static values, or map request data, stage variables, or context variables
	// that are evaluated at runtime. To learn more, see Transforming API requests
	// and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
	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. Supported
	// only for WebSocket APIs.
	ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"`

	// The identifier.
	IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"`

	// After evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string"`

	// For WebSocket APIs, 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.
	//
	// For HTTP API integrations with a specified integrationSubtype, request parameters
	// are a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// You can provide static values, or map request data, stage variables, or context
	// variables that are evaluated at runtime. To learn more, see Working with
	// AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html).
	//
	// For HTTP API integrations without a specified integrationSubtype request
	// parameters are a key-value map specifying how to transform HTTP requests
	// before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location>
	// where action can be append, overwrite or remove. For values, you can provide
	// static values, or map request data, stage variables, or context variables
	// that are evaluated at runtime. To learn more, see Transforming API requests
	// and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
	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 JWT authorizer to authorize the method invocation. The authorization
	// works by matching the route scopes against the scopes parsed from the access
	// token in the incoming request. The method invocation is authorized if any
	// route scope matches a claimed scope in the access token. Otherwise, the invocation
	// is not authorized. When the route scope is configured, the client must provide
	// an access token instead of an identity token for authorization purposes.
	AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"`

	// The authorization type. For WebSocket APIs, valid values are NONE for open
	// access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda
	// authorizer. For HTTP APIs, valid values are NONE for open access, JWT for
	// using JSON Web Tokens, 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 evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	RouteKey *string `locationName:"routeKey" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

	// A string with a length between [1-128].
	Target *string `locationName:"target" type:"string"`
	// contains filtered or unexported fields
}

func (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 {
	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

	// A list of authorization scopes configured on a route. The scopes are used
	// with a JWT authorizer to authorize the method invocation. The authorization
	// works by matching the route scopes against the scopes parsed from the access
	// token in the incoming request. The method invocation is authorized if any
	// route scope matches a claimed scope in the access token. Otherwise, the invocation
	// is not authorized. When the route scope is configured, the client must provide
	// an access token instead of an identity token for authorization purposes.
	AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"`

	// The authorization type. For WebSocket APIs, valid values are NONE for open
	// access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda
	// authorizer. For HTTP APIs, valid values are NONE for open access, JWT for
	// using JSON Web Tokens, 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 evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	RouteKey *string `locationName:"routeKey" type:"string"`

	// An expression used to extract information at runtime. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for more information.
	RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

	// A string with a length between [1-128].
	Target *string `locationName:"target" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateRouteOutput) GoString

func (s UpdateRouteOutput) GoString() string

GoString returns the string representation

func (*UpdateRouteOutput) SetApiGatewayManaged

func (s *UpdateRouteOutput) SetApiGatewayManaged(v bool) *UpdateRouteOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

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 evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	RouteResponseKey *string `locationName:"routeResponseKey" type:"string"`
	// contains filtered or unexported fields
}

func (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 evaluating a selection expression, the result is compared against one
	// or more selection keys to find a matching key. See Selection Expressions
	// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
	// for a list of expressions and each expression's associated selection key
	// type.
	RouteResponseKey *string `locationName:"routeResponseKey" type:"string"`
	// contains filtered or unexported fields
}

func (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"`

	AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"`

	// The identifier.
	ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

	// Represents a collection of route settings.
	DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

	// The identifier.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	// The route settings map.
	RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"`

	// 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) SetAutoDeploy

func (s *UpdateStageInput) SetAutoDeploy(v bool) *UpdateStageInput

SetAutoDeploy sets the AutoDeploy 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"`

	ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"`

	AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"`

	// The identifier.
	ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// Represents a collection of route settings.
	DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

	// The identifier.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// A string with a length between [0-1024].
	Description *string `locationName:"description" type:"string"`

	LastDeploymentStatusMessage *string `locationName:"lastDeploymentStatusMessage" type:"string"`

	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"`

	// The route settings map.
	RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"`

	// A string with a length between [1-128].
	StageName *string `locationName:"stageName" type:"string"`

	// The stage variable map.
	StageVariables map[string]*string `locationName:"stageVariables" type:"map"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (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) SetApiGatewayManaged

func (s *UpdateStageOutput) SetApiGatewayManaged(v bool) *UpdateStageOutput

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*UpdateStageOutput) SetAutoDeploy

func (s *UpdateStageOutput) SetAutoDeploy(v bool) *UpdateStageOutput

SetAutoDeploy sets the AutoDeploy 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) SetLastDeploymentStatusMessage

func (s *UpdateStageOutput) SetLastDeploymentStatusMessage(v string) *UpdateStageOutput

SetLastDeploymentStatusMessage sets the LastDeploymentStatusMessage 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) SetTags

func (s *UpdateStageOutput) SetTags(v map[string]*string) *UpdateStageOutput

SetTags sets the Tags field's value.

func (UpdateStageOutput) String

func (s UpdateStageOutput) String() string

String returns the string representation

type UpdateVpcLinkInput

type UpdateVpcLinkInput struct {

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// VpcLinkId is a required field
	VpcLinkId *string `location:"uri" locationName:"vpcLinkId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVpcLinkInput) GoString

func (s UpdateVpcLinkInput) GoString() string

GoString returns the string representation

func (*UpdateVpcLinkInput) SetName

SetName sets the Name field's value.

func (*UpdateVpcLinkInput) SetVpcLinkId

func (s *UpdateVpcLinkInput) SetVpcLinkId(v string) *UpdateVpcLinkInput

SetVpcLinkId sets the VpcLinkId field's value.

func (UpdateVpcLinkInput) String

func (s UpdateVpcLinkInput) String() string

String returns the string representation

func (*UpdateVpcLinkInput) Validate

func (s *UpdateVpcLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateVpcLinkOutput

type UpdateVpcLinkOutput struct {
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// A string with a length between [1-128].
	Name *string `locationName:"name" type:"string"`

	// A list of security group IDs for the VPC link.
	SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"`

	// A list of subnet IDs to include in the VPC link.
	SubnetIds []*string `locationName:"subnetIds" type:"list"`

	// Represents a collection of tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The identifier.
	VpcLinkId *string `locationName:"vpcLinkId" type:"string"`

	// The status of the VPC link.
	VpcLinkStatus *string `locationName:"vpcLinkStatus" type:"string" enum:"VpcLinkStatus"`

	// A string with a length between [0-1024].
	VpcLinkStatusMessage *string `locationName:"vpcLinkStatusMessage" type:"string"`

	// The version of the VPC link.
	VpcLinkVersion *string `locationName:"vpcLinkVersion" type:"string" enum:"VpcLinkVersion"`
	// contains filtered or unexported fields
}

func (UpdateVpcLinkOutput) GoString

func (s UpdateVpcLinkOutput) GoString() string

GoString returns the string representation

func (*UpdateVpcLinkOutput) SetCreatedDate

func (s *UpdateVpcLinkOutput) SetCreatedDate(v time.Time) *UpdateVpcLinkOutput

SetCreatedDate sets the CreatedDate field's value.

func (*UpdateVpcLinkOutput) SetName

SetName sets the Name field's value.

func (*UpdateVpcLinkOutput) SetSecurityGroupIds

func (s *UpdateVpcLinkOutput) SetSecurityGroupIds(v []*string) *UpdateVpcLinkOutput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*UpdateVpcLinkOutput) SetSubnetIds

func (s *UpdateVpcLinkOutput) SetSubnetIds(v []*string) *UpdateVpcLinkOutput

SetSubnetIds sets the SubnetIds field's value.

func (*UpdateVpcLinkOutput) SetTags

SetTags sets the Tags field's value.

func (*UpdateVpcLinkOutput) SetVpcLinkId

func (s *UpdateVpcLinkOutput) SetVpcLinkId(v string) *UpdateVpcLinkOutput

SetVpcLinkId sets the VpcLinkId field's value.

func (*UpdateVpcLinkOutput) SetVpcLinkStatus

func (s *UpdateVpcLinkOutput) SetVpcLinkStatus(v string) *UpdateVpcLinkOutput

SetVpcLinkStatus sets the VpcLinkStatus field's value.

func (*UpdateVpcLinkOutput) SetVpcLinkStatusMessage

func (s *UpdateVpcLinkOutput) SetVpcLinkStatusMessage(v string) *UpdateVpcLinkOutput

SetVpcLinkStatusMessage sets the VpcLinkStatusMessage field's value.

func (*UpdateVpcLinkOutput) SetVpcLinkVersion

func (s *UpdateVpcLinkOutput) SetVpcLinkVersion(v string) *UpdateVpcLinkOutput

SetVpcLinkVersion sets the VpcLinkVersion field's value.

func (UpdateVpcLinkOutput) String

func (s UpdateVpcLinkOutput) String() string

String returns the string representation

type VpcLink struct {

	// The timestamp when the VPC link was created.
	CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

	// The name of the VPC link.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// A list of security group IDs for the VPC link.
	//
	// SecurityGroupIds is a required field
	SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list" required:"true"`

	// A list of subnet IDs to include in the VPC link.
	//
	// SubnetIds is a required field
	SubnetIds []*string `locationName:"subnetIds" type:"list" required:"true"`

	// Tags for the VPC link.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The ID of the VPC link.
	//
	// VpcLinkId is a required field
	VpcLinkId *string `locationName:"vpcLinkId" type:"string" required:"true"`

	// The status of the VPC link.
	VpcLinkStatus *string `locationName:"vpcLinkStatus" type:"string" enum:"VpcLinkStatus"`

	// A message summarizing the cause of the status of the VPC link.
	VpcLinkStatusMessage *string `locationName:"vpcLinkStatusMessage" type:"string"`

	// The version of the VPC link.
	VpcLinkVersion *string `locationName:"vpcLinkVersion" type:"string" enum:"VpcLinkVersion"`
	// contains filtered or unexported fields
}

Represents a VPC link.

func (VpcLink) GoString

func (s VpcLink) GoString() string

GoString returns the string representation

func (*VpcLink) SetCreatedDate

func (s *VpcLink) SetCreatedDate(v time.Time) *VpcLink

SetCreatedDate sets the CreatedDate field's value.

func (*VpcLink) SetName

func (s *VpcLink) SetName(v string) *VpcLink

SetName sets the Name field's value.

func (*VpcLink) SetSecurityGroupIds

func (s *VpcLink) SetSecurityGroupIds(v []*string) *VpcLink

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*VpcLink) SetSubnetIds

func (s *VpcLink) SetSubnetIds(v []*string) *VpcLink

SetSubnetIds sets the SubnetIds field's value.

func (*VpcLink) SetTags

func (s *VpcLink) SetTags(v map[string]*string) *VpcLink

SetTags sets the Tags field's value.

func (*VpcLink) SetVpcLinkId

func (s *VpcLink) SetVpcLinkId(v string) *VpcLink

SetVpcLinkId sets the VpcLinkId field's value.

func (*VpcLink) SetVpcLinkStatus

func (s *VpcLink) SetVpcLinkStatus(v string) *VpcLink

SetVpcLinkStatus sets the VpcLinkStatus field's value.

func (*VpcLink) SetVpcLinkStatusMessage

func (s *VpcLink) SetVpcLinkStatusMessage(v string) *VpcLink

SetVpcLinkStatusMessage sets the VpcLinkStatusMessage field's value.

func (*VpcLink) SetVpcLinkVersion

func (s *VpcLink) SetVpcLinkVersion(v string) *VpcLink

SetVpcLinkVersion sets the VpcLinkVersion field's value.

func (VpcLink) String

func (s VpcLink) 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