aws-sdk-go: github.com/aws/aws-sdk-go/service/apigatewayv2 Index | Files | Directories

package apigatewayv2

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

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

Package Files

api.go doc.go errors.go service.go

Constants

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

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

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

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

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

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

Represents a connection type.

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

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

Specifies how to handle response payload content type conversions.

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

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

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

Represents a deployment status.

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

    // DomainNameStatusUpdating is a DomainNameStatus enum value
    DomainNameStatusUpdating = "UPDATING"
)
const (
    // EndpointTypeRegional is a EndpointType enum value
    EndpointTypeRegional = "REGIONAL"

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

Represents an endpoint type.

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

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

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

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

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

Represents an API method integration type.

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

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

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

The logging level.

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

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

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

Represents passthrough behavior for an integration response.

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

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

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

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

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

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

Service information constants

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

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

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

type AccessLogSettings Uses

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 Uses

func (s AccessLogSettings) GoString() string

GoString returns the string representation

func (*AccessLogSettings) SetDestinationArn Uses

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

SetDestinationArn sets the DestinationArn field's value.

func (*AccessLogSettings) SetFormat Uses

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

SetFormat sets the Format field's value.

func (AccessLogSettings) String Uses

func (s AccessLogSettings) String() string

String returns the string representation

type Api Uses

type Api struct {

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

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

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

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

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

    // Avoid validating models when creating a deployment.
    DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

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

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

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

    // Tags for 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 Uses

func (s Api) GoString() string

GoString returns the string representation

func (*Api) SetApiEndpoint Uses

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

SetApiEndpoint sets the ApiEndpoint field's value.

func (*Api) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*Api) SetApiKeySelectionExpression Uses

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

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*Api) SetCreatedDate Uses

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

SetCreatedDate sets the CreatedDate field's value.

func (*Api) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Api) SetDisableSchemaValidation Uses

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

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*Api) SetName Uses

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

SetName sets the Name field's value.

func (*Api) SetProtocolType Uses

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

SetProtocolType sets the ProtocolType field's value.

func (*Api) SetRouteSelectionExpression Uses

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

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*Api) SetTags Uses

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

SetTags sets the Tags field's value.

func (*Api) SetVersion Uses

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

SetVersion sets the Version field's value.

func (*Api) SetWarnings Uses

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

SetWarnings sets the Warnings field's value.

func (Api) String Uses

func (s Api) String() string

String returns the string representation

type ApiGatewayV2 Uses

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 Uses

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

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

Example:

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

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

func (*ApiGatewayV2) CreateApi Uses

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

CreateApi API operation for AmazonApiGatewayV2.

Creates an Api resource.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) CreateApiMapping Uses

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

CreateApiMapping API operation for AmazonApiGatewayV2.

Creates an API mapping.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) CreateApiMappingRequest Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

CreateAuthorizer API operation for AmazonApiGatewayV2.

Creates an Authorizer for an API.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) CreateAuthorizerRequest Uses

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 Uses

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 Uses

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

CreateDeployment API operation for AmazonApiGatewayV2.

Creates a Deployment for an API.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) CreateDeploymentRequest Uses

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 Uses

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 Uses

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

CreateDomainName API operation for AmazonApiGatewayV2.

Creates a domain name.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) CreateDomainNameRequest Uses

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 Uses

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 Uses

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

CreateIntegration API operation for AmazonApiGatewayV2.

Creates an Integration.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) CreateIntegrationRequest Uses

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 Uses

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

CreateIntegrationResponse API operation for AmazonApiGatewayV2.

Creates an IntegrationResponses.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) CreateIntegrationResponseRequest Uses

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 Uses

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 Uses

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 Uses

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

CreateModel API operation for AmazonApiGatewayV2.

Creates a Model for an API.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) CreateModelRequest Uses

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 Uses

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 Uses

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

CreateRoute API operation for AmazonApiGatewayV2.

Creates a Route for an API.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) CreateRouteRequest Uses

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 Uses

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

CreateRouteResponse API operation for AmazonApiGatewayV2.

Creates a RouteResponse for a Route.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) CreateRouteResponseRequest Uses

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 Uses

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 Uses

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 Uses

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

CreateStage API operation for AmazonApiGatewayV2.

Creates a Stage for an API.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) CreateStageRequest Uses

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 Uses

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

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

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

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

func (*ApiGatewayV2) DeleteApi Uses

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

DeleteApi API operation for AmazonApiGatewayV2.

Deletes an Api resource.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) DeleteApiMapping Uses

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

DeleteApiMapping API operation for AmazonApiGatewayV2.

Deletes an API mapping.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) DeleteApiMappingRequest Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeleteAuthorizer API operation for AmazonApiGatewayV2.

Deletes an Authorizer.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) DeleteAuthorizerRequest Uses

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 Uses

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

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

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

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

func (*ApiGatewayV2) DeleteDeployment Uses

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

DeleteDeployment API operation for AmazonApiGatewayV2.

Deletes a Deployment.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) DeleteDeploymentRequest Uses

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 Uses

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 Uses

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

DeleteDomainName API operation for AmazonApiGatewayV2.

Deletes a domain name.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) DeleteDomainNameRequest Uses

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 Uses

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 Uses

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

DeleteIntegration API operation for AmazonApiGatewayV2.

Deletes an Integration.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) DeleteIntegrationRequest Uses

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 Uses

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

DeleteIntegrationResponse API operation for AmazonApiGatewayV2.

Deletes an IntegrationResponses.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) DeleteIntegrationResponseRequest Uses

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 Uses

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 Uses

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 Uses

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

DeleteModel API operation for AmazonApiGatewayV2.

Deletes a Model.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) DeleteModelRequest Uses

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 Uses

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 Uses

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

DeleteRoute API operation for AmazonApiGatewayV2.

Deletes a Route.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) DeleteRouteRequest Uses

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteRouteResponse Uses

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

DeleteRouteResponse API operation for AmazonApiGatewayV2.

Deletes a RouteResponse.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) DeleteRouteResponseRequest Uses

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 Uses

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

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

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

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

func (*ApiGatewayV2) DeleteRouteWithContext Uses

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 Uses

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

DeleteStage API operation for AmazonApiGatewayV2.

Deletes a Stage.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) DeleteStageRequest Uses

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 Uses

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

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

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

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

func (*ApiGatewayV2) GetApi Uses

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

GetApi API operation for AmazonApiGatewayV2.

Gets an Api resource.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) GetApiMapping Uses

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

GetApiMapping API operation for AmazonApiGatewayV2.

The API mapping.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) GetApiMappingRequest Uses

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 Uses

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 Uses

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

GetApiMappings API operation for AmazonApiGatewayV2.

The API mappings.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) GetApiMappingsRequest Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetApis API operation for AmazonApiGatewayV2.

Gets a collection of Api resources.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) GetApisRequest Uses

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 Uses

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 Uses

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

GetAuthorizer API operation for AmazonApiGatewayV2.

Gets an Authorizer.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) GetAuthorizerRequest Uses

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 Uses

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 Uses

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

GetAuthorizers API operation for AmazonApiGatewayV2.

Gets the Authorizers for an API.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) GetAuthorizersRequest Uses

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 Uses

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 Uses

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

GetDeployment API operation for AmazonApiGatewayV2.

Gets a Deployment.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) GetDeploymentRequest Uses

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 Uses

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 Uses

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

GetDeployments API operation for AmazonApiGatewayV2.

Gets the Deployments for an API.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) GetDeploymentsRequest Uses

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 Uses

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 Uses

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

GetDomainName API operation for AmazonApiGatewayV2.

Gets a domain name.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) GetDomainNameRequest Uses

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 Uses

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 Uses

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

GetDomainNames API operation for AmazonApiGatewayV2.

Gets the domain names for an AWS account.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) GetDomainNamesRequest Uses

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 Uses

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 Uses

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

GetIntegration API operation for AmazonApiGatewayV2.

Gets an Integration.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) GetIntegrationRequest Uses

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 Uses

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

GetIntegrationResponse API operation for AmazonApiGatewayV2.

Gets an IntegrationResponses.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) GetIntegrationResponseRequest Uses

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 Uses

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 Uses

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

GetIntegrationResponses API operation for AmazonApiGatewayV2.

Gets the IntegrationResponses for an Integration.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) GetIntegrationResponsesRequest Uses

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 Uses

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 Uses

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 Uses

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

GetIntegrations API operation for AmazonApiGatewayV2.

Gets the Integrations for an API.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) GetIntegrationsRequest Uses

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 Uses

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 Uses

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

GetModel API operation for AmazonApiGatewayV2.

Gets a Model.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) GetModelRequest Uses

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 Uses

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

GetModelTemplate API operation for AmazonApiGatewayV2.

Gets a model template.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) GetModelTemplateRequest Uses

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 Uses

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 Uses

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 Uses

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

GetModels API operation for AmazonApiGatewayV2.

Gets the Models for an API.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) GetModelsRequest Uses

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 Uses

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 Uses

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

GetRoute API operation for AmazonApiGatewayV2.

Gets a Route.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) GetRouteRequest Uses

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 Uses

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

GetRouteResponse API operation for AmazonApiGatewayV2.

Gets a RouteResponse.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) GetRouteResponseRequest Uses

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 Uses

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 Uses

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

GetRouteResponses API operation for AmazonApiGatewayV2.

Gets the RouteResponses for a Route.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) GetRouteResponsesRequest Uses

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 Uses

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 Uses

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 Uses

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

GetRoutes API operation for AmazonApiGatewayV2.

Gets the Routes for an API.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) GetRoutesRequest Uses

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 Uses

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 Uses

func (c *ApiGatewayV2) GetStage(input *GetStageInput) (*GetStageOutput, error)

GetStage API operation for AmazonApiGatewayV2.

Gets a Stage.

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

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

Returned Error Codes:

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

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

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

func (*ApiGatewayV2) GetStageRequest Uses

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 Uses

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 Uses

func (c *ApiGatewayV2) GetStages(input *GetStagesInput) (*GetStagesOutput, error)

GetStages API operation for AmazonApiGatewayV2.

Gets the Stages for an API.

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

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

Returned Error Codes:

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

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

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

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

func (*ApiGatewayV2) GetStagesRequest Uses

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 Uses

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 Uses

func (c *ApiGatewayV2) GetTags(input *GetTagsInput) (*GetTagsOutput, error)

GetTags API operation for AmazonApiGatewayV2.

Gets the Tags for a resource.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) GetTagsRequest Uses

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 Uses

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 (*ApiGatewayV2) TagResource Uses

func (c *ApiGatewayV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AmazonApiGatewayV2.

Returns awserr.Error for service API and SDK errors. Use runtime 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 Codes:

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

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

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

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

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

func (*ApiGatewayV2) TagResourceRequest Uses

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 Uses

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 Uses

func (c *ApiGatewayV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AmazonApiGatewayV2.

Returns awserr.Error for service API and SDK errors. Use runtime 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 Codes:

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

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

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

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

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

func (*ApiGatewayV2) UntagResourceRequest Uses

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 Uses

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 Uses

func (c *ApiGatewayV2) UpdateApi(input *UpdateApiInput) (*UpdateApiOutput, error)

UpdateApi API operation for AmazonApiGatewayV2.

Updates an Api resource.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) UpdateApiMapping Uses

func (c *ApiGatewayV2) UpdateApiMapping(input *UpdateApiMappingInput) (*UpdateApiMappingOutput, error)

UpdateApiMapping API operation for AmazonApiGatewayV2.

The API mapping.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) UpdateApiMappingRequest Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *ApiGatewayV2) UpdateAuthorizer(input *UpdateAuthorizerInput) (*UpdateAuthorizerOutput, error)

UpdateAuthorizer API operation for AmazonApiGatewayV2.

Updates an Authorizer.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) UpdateAuthorizerRequest Uses

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 Uses

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 Uses

func (c *ApiGatewayV2) UpdateDeployment(input *UpdateDeploymentInput) (*UpdateDeploymentOutput, error)

UpdateDeployment API operation for AmazonApiGatewayV2.

Updates a Deployment.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) UpdateDeploymentRequest Uses

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 Uses

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 Uses

func (c *ApiGatewayV2) UpdateDomainName(input *UpdateDomainNameInput) (*UpdateDomainNameOutput, error)

UpdateDomainName API operation for AmazonApiGatewayV2.

Updates a domain name.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) UpdateDomainNameRequest Uses

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 Uses

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 Uses

func (c *ApiGatewayV2) UpdateIntegration(input *UpdateIntegrationInput) (*UpdateIntegrationOutput, error)

UpdateIntegration API operation for AmazonApiGatewayV2.

Updates an Integration.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) UpdateIntegrationRequest Uses

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 Uses

func (c *ApiGatewayV2) UpdateIntegrationResponse(input *UpdateIntegrationResponseInput) (*UpdateIntegrationResponseOutput, error)

UpdateIntegrationResponse API operation for AmazonApiGatewayV2.

Updates an IntegrationResponses.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) UpdateIntegrationResponseRequest Uses

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 Uses

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 Uses

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 Uses

func (c *ApiGatewayV2) UpdateModel(input *UpdateModelInput) (*UpdateModelOutput, error)

UpdateModel API operation for AmazonApiGatewayV2.

Updates a Model.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) UpdateModelRequest Uses

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 Uses

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 Uses

func (c *ApiGatewayV2) UpdateRoute(input *UpdateRouteInput) (*UpdateRouteOutput, error)

UpdateRoute API operation for AmazonApiGatewayV2.

Updates a Route.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) UpdateRouteRequest Uses

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 Uses

func (c *ApiGatewayV2) UpdateRouteResponse(input *UpdateRouteResponseInput) (*UpdateRouteResponseOutput, error)

UpdateRouteResponse API operation for AmazonApiGatewayV2.

Updates a RouteResponse.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) UpdateRouteResponseRequest Uses

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 Uses

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 Uses

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 Uses

func (c *ApiGatewayV2) UpdateStage(input *UpdateStageInput) (*UpdateStageOutput, error)

UpdateStage API operation for AmazonApiGatewayV2.

Updates a Stage.

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

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

Returned Error Codes:

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

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

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

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

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

func (*ApiGatewayV2) UpdateStageRequest Uses

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 Uses

func (c *ApiGatewayV2) UpdateStageWithContext(ctx aws.Context, input *UpdateStageInput, opts ...request.Option) (*UpdateStageOutput, error)

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

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

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

type ApiMapping Uses

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 Uses

func (s ApiMapping) GoString() string

GoString returns the string representation

func (*ApiMapping) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*ApiMapping) SetApiMappingId Uses

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

SetApiMappingId sets the ApiMappingId field's value.

func (*ApiMapping) SetApiMappingKey Uses

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

SetApiMappingKey sets the ApiMappingKey field's value.

func (*ApiMapping) SetStage Uses

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

SetStage sets the Stage field's value.

func (ApiMapping) String Uses

func (s ApiMapping) String() string

String returns the string representation

type Authorizer Uses

type Authorizer struct {

    // Specifies the required credentials as an IAM role for API Gateway to invoke
    // the authorizer. To specify an IAM role for API Gateway to assume, use the
    // role's Amazon Resource Name (ARN). To use resource-based permissions on the
    // Lambda function, specify null.
    AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"`

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

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

    // The authorizer type. Currently the only valid value is REQUEST, for a Lambda
    // function using incoming request parameters.
    AuthorizerType *string `locationName:"authorizerType" type:"string" enum:"AuthorizerType"`

    // The authorizer's Uniform Resource Identifier (URI). ForREQUEST authorizers,
    // this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations.
    // In general, the URI has this form: arn:aws:apigateway:{region}:lambda:path/{service_api}
    // , where {region} is the same as the region hosting the Lambda function, path
    // indicates that the remaining substring in the URI should be treated as the
    // path to the resource, including the initial /. For Lambda functions, this
    // is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.
    AuthorizerUri *string `locationName:"authorizerUri" type:"string"`

    // The identity source for which authorization is requested.
    //
    // For the REQUEST authorizer, this is required when authorization caching is
    // enabled. The value is a comma-separated string of one or more mapping expressions
    // of the specified request parameters. For example, if an Auth header and a
    // Name query string parameters are defined as identity sources, this value
    // is method.request.header.Auth, method.request.querystring.Name. These parameters
    // will be used to derive the authorization caching key and to perform runtime
    // validation of the REQUEST authorizer by verifying all of the identity-related
    // request parameters are present, not null, and non-empty. Only when this is
    // true does the authorizer invoke the authorizer Lambda function, otherwise,
    // it returns a 401 Unauthorized response without calling the Lambda function.
    // The valid value is a string of comma-separated mapping expressions of the
    // specified request parameters. When the authorization caching is not enabled,
    // this property is optional.
    IdentitySource []*string `locationName:"identitySource" type:"list"`

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

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

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

Represents an authorizer.

func (Authorizer) GoString Uses

func (s Authorizer) GoString() string

GoString returns the string representation

func (*Authorizer) SetAuthorizerCredentialsArn Uses

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

SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.

func (*Authorizer) SetAuthorizerId Uses

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

SetAuthorizerId sets the AuthorizerId field's value.

func (*Authorizer) SetAuthorizerResultTtlInSeconds Uses

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

SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.

func (*Authorizer) SetAuthorizerType Uses

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

SetAuthorizerType sets the AuthorizerType field's value.

func (*Authorizer) SetAuthorizerUri Uses

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

SetAuthorizerUri sets the AuthorizerUri field's value.

func (*Authorizer) SetIdentitySource Uses

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

SetIdentitySource sets the IdentitySource field's value.

func (*Authorizer) SetIdentityValidationExpression Uses

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

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*Authorizer) SetName Uses

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

SetName sets the Name field's value.

func (*Authorizer) SetProviderArns Uses

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

SetProviderArns sets the ProviderArns field's value.

func (Authorizer) String Uses

func (s Authorizer) String() string

String returns the string representation

type CreateApiInput Uses

type CreateApiInput struct {

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

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

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

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    //
    // RouteSelectionExpression is a required field
    RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string" required:"true"`

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

func (CreateApiInput) GoString Uses

func (s CreateApiInput) GoString() string

GoString returns the string representation

func (*CreateApiInput) SetApiKeySelectionExpression Uses

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

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*CreateApiInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateApiInput) SetDisableSchemaValidation Uses

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

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*CreateApiInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateApiInput) SetProtocolType Uses

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

SetProtocolType sets the ProtocolType field's value.

func (*CreateApiInput) SetRouteSelectionExpression Uses

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

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*CreateApiInput) SetVersion Uses

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

SetVersion sets the Version field's value.

func (CreateApiInput) String Uses

func (s CreateApiInput) String() string

String returns the string representation

func (*CreateApiInput) Validate Uses

func (s *CreateApiInput) Validate() error

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

type CreateApiMappingInput Uses

type CreateApiMappingInput struct {

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

    // After evaulating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

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

    // A string with a length between [1-128].
    //
    // Stage is a required field
    Stage *string `locationName:"stage" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateApiMappingInput) GoString Uses

func (s CreateApiMappingInput) GoString() string

GoString returns the string representation

func (*CreateApiMappingInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateApiMappingInput) SetApiMappingKey Uses

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

SetApiMappingKey sets the ApiMappingKey field's value.

func (*CreateApiMappingInput) SetDomainName Uses

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

SetDomainName sets the DomainName field's value.

func (*CreateApiMappingInput) SetStage Uses

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

SetStage sets the Stage field's value.

func (CreateApiMappingInput) String Uses

func (s CreateApiMappingInput) String() string

String returns the string representation

func (*CreateApiMappingInput) Validate Uses

func (s *CreateApiMappingInput) Validate() error

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

type CreateApiMappingOutput Uses

type CreateApiMappingOutput struct {

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

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

    // After evaulating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

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

func (CreateApiMappingOutput) GoString Uses

func (s CreateApiMappingOutput) GoString() string

GoString returns the string representation

func (*CreateApiMappingOutput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateApiMappingOutput) SetApiMappingId Uses

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

SetApiMappingId sets the ApiMappingId field's value.

func (*CreateApiMappingOutput) SetApiMappingKey Uses

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

SetApiMappingKey sets the ApiMappingKey field's value.

func (*CreateApiMappingOutput) SetStage Uses

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

SetStage sets the Stage field's value.

func (CreateApiMappingOutput) String Uses

func (s CreateApiMappingOutput) String() string

String returns the string representation

type CreateApiOutput Uses

type CreateApiOutput struct {
    ApiEndpoint *string `locationName:"apiEndpoint" type:"string"`

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

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"`

    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"`

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

    ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

    // A string with a length between [1-64].
    Version *string `locationName:"version" type:"string"`

    Warnings []*string `locationName:"warnings" type:"list"`
    // contains filtered or unexported fields
}

func (CreateApiOutput) GoString Uses

func (s CreateApiOutput) GoString() string

GoString returns the string representation

func (*CreateApiOutput) SetApiEndpoint Uses

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

SetApiEndpoint sets the ApiEndpoint field's value.

func (*CreateApiOutput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateApiOutput) SetApiKeySelectionExpression Uses

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

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*CreateApiOutput) SetCreatedDate Uses

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

SetCreatedDate sets the CreatedDate field's value.

func (*CreateApiOutput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateApiOutput) SetDisableSchemaValidation Uses

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

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*CreateApiOutput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateApiOutput) SetProtocolType Uses

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

SetProtocolType sets the ProtocolType field's value.

func (*CreateApiOutput) SetRouteSelectionExpression Uses

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

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*CreateApiOutput) SetVersion Uses

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

SetVersion sets the Version field's value.

func (*CreateApiOutput) SetWarnings Uses

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

SetWarnings sets the Warnings field's value.

func (CreateApiOutput) String Uses

func (s CreateApiOutput) String() string

String returns the string representation

type CreateAuthorizerInput Uses

type CreateAuthorizerInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // Represents an Amazon Resource Name (ARN).
    AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"`

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

    // The authorizer type. Currently the only valid value is REQUEST, for a Lambda
    // function using incoming request parameters.
    //
    // AuthorizerType is a required field
    AuthorizerType *string `locationName:"authorizerType" type:"string" required:"true" enum:"AuthorizerType"`

    // A string representation of a URI with a length between [1-2048].
    //
    // AuthorizerUri is a required field
    AuthorizerUri *string `locationName:"authorizerUri" type:"string" required:"true"`

    // The identity source for which authorization is requested. For the REQUEST
    // authorizer, this is required when authorization caching is enabled. The value
    // is a comma-separated string of one or more mapping expressions of the specified
    // request parameters. For example, if an Auth header, a Name query string parameter
    // are defined as identity sources, this value is $method.request.header.Auth,
    // $method.request.querystring.Name. These parameters will be used to derive
    // the authorization caching key and to perform runtime validation of the REQUEST
    // authorizer by verifying all of the identity-related request parameters are
    // present, not null and non-empty. Only when this is true does the authorizer
    // invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized
    // response without calling the Lambda function. The valid value is a string
    // of comma-separated mapping expressions of the specified request parameters.
    // When the authorization caching is not enabled, this property is optional.
    //
    // IdentitySource is a required field
    IdentitySource []*string `locationName:"identitySource" type:"list" required:"true"`

    // A string with a length between [0-1024].
    IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

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

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

func (CreateAuthorizerInput) GoString Uses

func (s CreateAuthorizerInput) GoString() string

GoString returns the string representation

func (*CreateAuthorizerInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateAuthorizerInput) SetAuthorizerCredentialsArn Uses

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

SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.

func (*CreateAuthorizerInput) SetAuthorizerResultTtlInSeconds Uses

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

SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.

func (*CreateAuthorizerInput) SetAuthorizerType Uses

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

SetAuthorizerType sets the AuthorizerType field's value.

func (*CreateAuthorizerInput) SetAuthorizerUri Uses

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

SetAuthorizerUri sets the AuthorizerUri field's value.

func (*CreateAuthorizerInput) SetIdentitySource Uses

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

SetIdentitySource sets the IdentitySource field's value.

func (*CreateAuthorizerInput) SetIdentityValidationExpression Uses

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

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*CreateAuthorizerInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateAuthorizerInput) SetProviderArns Uses

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

SetProviderArns sets the ProviderArns field's value.

func (CreateAuthorizerInput) String Uses

func (s CreateAuthorizerInput) String() string

String returns the string representation

func (*CreateAuthorizerInput) Validate Uses

func (s *CreateAuthorizerInput) Validate() error

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

type CreateAuthorizerOutput Uses

type CreateAuthorizerOutput struct {

    // Represents an Amazon Resource Name (ARN).
    AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"`

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

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

    // The authorizer type. Currently the only valid value is REQUEST, for a Lambda
    // function using incoming request parameters.
    AuthorizerType *string `locationName:"authorizerType" type:"string" enum:"AuthorizerType"`

    // A string representation of a URI with a length between [1-2048].
    AuthorizerUri *string `locationName:"authorizerUri" type:"string"`

    // The identity source for which authorization is requested. For the REQUEST
    // authorizer, this is required when authorization caching is enabled. The value
    // is a comma-separated string of one or more mapping expressions of the specified
    // request parameters. For example, if an Auth header, a Name query string parameter
    // are defined as identity sources, this value is $method.request.header.Auth,
    // $method.request.querystring.Name. These parameters will be used to derive
    // the authorization caching key and to perform runtime validation of the REQUEST
    // authorizer by verifying all of the identity-related request parameters are
    // present, not null and non-empty. Only when this is true does the authorizer
    // invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized
    // response without calling the Lambda function. The valid value is a string
    // of comma-separated mapping expressions of the specified request parameters.
    // When the authorization caching is not enabled, this property is optional.
    IdentitySource []*string `locationName:"identitySource" type:"list"`

    // A string with a length between [0-1024].
    IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"`

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

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

func (CreateAuthorizerOutput) GoString Uses

func (s CreateAuthorizerOutput) GoString() string

GoString returns the string representation

func (*CreateAuthorizerOutput) SetAuthorizerCredentialsArn Uses

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

SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.

func (*CreateAuthorizerOutput) SetAuthorizerId Uses

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

SetAuthorizerId sets the AuthorizerId field's value.

func (*CreateAuthorizerOutput) SetAuthorizerResultTtlInSeconds Uses

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

SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.

func (*CreateAuthorizerOutput) SetAuthorizerType Uses

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

SetAuthorizerType sets the AuthorizerType field's value.

func (*CreateAuthorizerOutput) SetAuthorizerUri Uses

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

SetAuthorizerUri sets the AuthorizerUri field's value.

func (*CreateAuthorizerOutput) SetIdentitySource Uses

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

SetIdentitySource sets the IdentitySource field's value.

func (*CreateAuthorizerOutput) SetIdentityValidationExpression Uses

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

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (*CreateAuthorizerOutput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateAuthorizerOutput) SetProviderArns Uses

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

SetProviderArns sets the ProviderArns field's value.

func (CreateAuthorizerOutput) String Uses

func (s CreateAuthorizerOutput) String() string

String returns the string representation

type CreateDeploymentInput Uses

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 Uses

func (s CreateDeploymentInput) GoString() string

GoString returns the string representation

func (*CreateDeploymentInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateDeploymentInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateDeploymentInput) SetStageName Uses

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

SetStageName sets the StageName field's value.

func (CreateDeploymentInput) String Uses

func (s CreateDeploymentInput) String() string

String returns the string representation

func (*CreateDeploymentInput) Validate Uses

func (s *CreateDeploymentInput) Validate() error

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

type CreateDeploymentOutput Uses

type CreateDeploymentOutput struct {
    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // The identifier.
    DeploymentId *string `locationName:"deploymentId" type:"string"`

    // Represents a deployment status.
    DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"`

    DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"`

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

func (CreateDeploymentOutput) GoString Uses

func (s CreateDeploymentOutput) GoString() string

GoString returns the string representation

func (*CreateDeploymentOutput) SetCreatedDate Uses

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

SetCreatedDate sets the CreatedDate field's value.

func (*CreateDeploymentOutput) SetDeploymentId Uses

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

SetDeploymentId sets the DeploymentId field's value.

func (*CreateDeploymentOutput) SetDeploymentStatus Uses

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

SetDeploymentStatus sets the DeploymentStatus field's value.

func (*CreateDeploymentOutput) SetDeploymentStatusMessage Uses

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

SetDeploymentStatusMessage sets the DeploymentStatusMessage field's value.

func (*CreateDeploymentOutput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (CreateDeploymentOutput) String Uses

func (s CreateDeploymentOutput) String() string

String returns the string representation

type CreateDomainNameInput Uses

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

    // A key value pair of string with key length between[1-128] and value length
    // between[1-256]
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (CreateDomainNameInput) GoString Uses

func (s CreateDomainNameInput) GoString() string

GoString returns the string representation

func (*CreateDomainNameInput) SetDomainName Uses

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

SetDomainName sets the DomainName field's value.

func (*CreateDomainNameInput) SetDomainNameConfigurations Uses

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

SetDomainNameConfigurations sets the DomainNameConfigurations field's value.

func (*CreateDomainNameInput) SetTags Uses

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

SetTags sets the Tags field's value.

func (CreateDomainNameInput) String Uses

func (s CreateDomainNameInput) String() string

String returns the string representation

func (*CreateDomainNameInput) Validate Uses

func (s *CreateDomainNameInput) Validate() error

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

type CreateDomainNameOutput Uses

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

    // A key value pair of string with key length between[1-128] and value length
    // between[1-256]
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (CreateDomainNameOutput) GoString Uses

func (s CreateDomainNameOutput) GoString() string

GoString returns the string representation

func (*CreateDomainNameOutput) SetApiMappingSelectionExpression Uses

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

SetApiMappingSelectionExpression sets the ApiMappingSelectionExpression field's value.

func (*CreateDomainNameOutput) SetDomainName Uses

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

SetDomainName sets the DomainName field's value.

func (*CreateDomainNameOutput) SetDomainNameConfigurations Uses

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

SetDomainNameConfigurations sets the DomainNameConfigurations field's value.

func (*CreateDomainNameOutput) SetTags Uses

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

SetTags sets the Tags field's value.

func (CreateDomainNameOutput) String Uses

func (s CreateDomainNameOutput) String() string

String returns the string representation

type CreateIntegrationInput Uses

type CreateIntegrationInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // A string with a length between [1-1024].
    ConnectionId *string `locationName:"connectionId" type:"string"`

    // Represents a connection type.
    ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"`

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

    // Represents an Amazon Resource Name (ARN).
    CredentialsArn *string `locationName:"credentialsArn" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    // A string with a length between [1-64].
    IntegrationMethod *string `locationName:"integrationMethod" type:"string"`

    // Represents an API method integration type.
    //
    // IntegrationType is a required field
    IntegrationType *string `locationName:"integrationType" type:"string" required:"true" enum:"IntegrationType"`

    // A string representation of a URI with a length between [1-2048].
    IntegrationUri *string `locationName:"integrationUri" type:"string"`

    // Represents passthrough behavior for an integration response.
    PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

    // A key-value map specifying response parameters that are passed to the method
    // response from the backend. The key is a method response header parameter
    // name and the mapped value is an integration response header value, a static
    // value enclosed within a pair of single quotes, or a JSON expression from
    // the integration response body. The mapping key must match the pattern of
    // method.response.header.{name}, where name is a valid and unique header name.
    // The mapped non-static value must match the pattern of integration.response.header.{name}
    // or integration.response.body.{JSON-expression}, where name is a valid and
    // unique response header name and JSON-expression is a valid JSON expression
    // without the $ prefix.
    RequestParameters map[string]*string `locationName:"requestParameters" type:"map"`

    // A mapping of identifier keys to templates. The value is an actual template
    // script. The key is typically a SelectionKey which is chosen based on evaluating
    // a selection expression.
    RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

    // An integer with a value between [50-29000].
    TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`
    // contains filtered or unexported fields
}

func (CreateIntegrationInput) GoString Uses

func (s CreateIntegrationInput) GoString() string

GoString returns the string representation

func (*CreateIntegrationInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateIntegrationInput) SetConnectionId Uses

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

SetConnectionId sets the ConnectionId field's value.

func (*CreateIntegrationInput) SetConnectionType Uses

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

SetConnectionType sets the ConnectionType field's value.

func (*CreateIntegrationInput) SetContentHandlingStrategy Uses

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

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*CreateIntegrationInput) SetCredentialsArn Uses

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

SetCredentialsArn sets the CredentialsArn field's value.

func (*CreateIntegrationInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateIntegrationInput) SetIntegrationMethod Uses

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

SetIntegrationMethod sets the IntegrationMethod field's value.

func (*CreateIntegrationInput) SetIntegrationType Uses

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

SetIntegrationType sets the IntegrationType field's value.

func (*CreateIntegrationInput) SetIntegrationUri Uses

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

SetIntegrationUri sets the IntegrationUri field's value.

func (*CreateIntegrationInput) SetPassthroughBehavior Uses

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

SetPassthroughBehavior sets the PassthroughBehavior field's value.

func (*CreateIntegrationInput) SetRequestParameters Uses

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

SetRequestParameters sets the RequestParameters field's value.

func (*CreateIntegrationInput) SetRequestTemplates Uses

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

SetRequestTemplates sets the RequestTemplates field's value.

func (*CreateIntegrationInput) SetTemplateSelectionExpression Uses

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

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (*CreateIntegrationInput) SetTimeoutInMillis Uses

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

SetTimeoutInMillis sets the TimeoutInMillis field's value.

func (CreateIntegrationInput) String Uses

func (s CreateIntegrationInput) String() string

String returns the string representation

func (*CreateIntegrationInput) Validate Uses

func (s *CreateIntegrationInput) Validate() error

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

type CreateIntegrationOutput Uses

type CreateIntegrationOutput struct {

    // A string with a length between [1-1024].
    ConnectionId *string `locationName:"connectionId" type:"string"`

    // Represents a connection type.
    ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"`

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

    // Represents an Amazon Resource Name (ARN).
    CredentialsArn *string `locationName:"credentialsArn" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    // The identifier.
    IntegrationId *string `locationName:"integrationId" type:"string"`

    // A string with a length between [1-64].
    IntegrationMethod *string `locationName:"integrationMethod" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    IntegrationResponseSelectionExpression *string `locationName:"integrationResponseSelectionExpression" type:"string"`

    // Represents an API method integration type.
    IntegrationType *string `locationName:"integrationType" type:"string" enum:"IntegrationType"`

    // A string representation of a URI with a length between [1-2048].
    IntegrationUri *string `locationName:"integrationUri" type:"string"`

    // Represents passthrough behavior for an integration response.
    PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"`

    // A key-value map specifying response parameters that are passed to the method
    // response from the backend. The key is a method response header parameter
    // name and the mapped value is an integration response header value, a static
    // value enclosed within a pair of single quotes, or a JSON expression from
    // the integration response body. The mapping key must match the pattern of
    // method.response.header.{name}, where name is a valid and unique header name.
    // The mapped non-static value must match the pattern of integration.response.header.{name}
    // or integration.response.body.{JSON-expression}, where name is a valid and
    // unique response header name and JSON-expression is a valid JSON expression
    // without the $ prefix.
    RequestParameters map[string]*string `locationName:"requestParameters" type:"map"`

    // A mapping of identifier keys to templates. The value is an actual template
    // script. The key is typically a SelectionKey which is chosen based on evaluating
    // a selection expression.
    RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`

    // An integer with a value between [50-29000].
    TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"`
    // contains filtered or unexported fields
}

func (CreateIntegrationOutput) GoString Uses

func (s CreateIntegrationOutput) GoString() string

GoString returns the string representation

func (*CreateIntegrationOutput) SetConnectionId Uses

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

SetConnectionId sets the ConnectionId field's value.

func (*CreateIntegrationOutput) SetConnectionType Uses

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

SetConnectionType sets the ConnectionType field's value.

func (*CreateIntegrationOutput) SetContentHandlingStrategy Uses

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

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*CreateIntegrationOutput) SetCredentialsArn Uses

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

SetCredentialsArn sets the CredentialsArn field's value.

func (*CreateIntegrationOutput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateIntegrationOutput) SetIntegrationId Uses

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

SetIntegrationId sets the IntegrationId field's value.

func (*CreateIntegrationOutput) SetIntegrationMethod Uses

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

SetIntegrationMethod sets the IntegrationMethod field's value.

func (*CreateIntegrationOutput) SetIntegrationResponseSelectionExpression Uses

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

SetIntegrationResponseSelectionExpression sets the IntegrationResponseSelectionExpression field's value.

func (*CreateIntegrationOutput) SetIntegrationType Uses

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

SetIntegrationType sets the IntegrationType field's value.

func (*CreateIntegrationOutput) SetIntegrationUri Uses

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

SetIntegrationUri sets the IntegrationUri field's value.

func (*CreateIntegrationOutput) SetPassthroughBehavior Uses

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

SetPassthroughBehavior sets the PassthroughBehavior field's value.

func (*CreateIntegrationOutput) SetRequestParameters Uses

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

SetRequestParameters sets the RequestParameters field's value.

func (*CreateIntegrationOutput) SetRequestTemplates Uses

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

SetRequestTemplates sets the RequestTemplates field's value.

func (*CreateIntegrationOutput) SetTemplateSelectionExpression Uses

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

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (*CreateIntegrationOutput) SetTimeoutInMillis Uses

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

SetTimeoutInMillis sets the TimeoutInMillis field's value.

func (CreateIntegrationOutput) String Uses

func (s CreateIntegrationOutput) String() string

String returns the string representation

type CreateIntegrationResponseInput Uses

type CreateIntegrationResponseInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

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

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

    // After evaulating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    //
    // IntegrationResponseKey is a required field
    IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string" required:"true"`

    // A key-value map specifying response parameters that are passed to the method
    // response from the backend. The key is a method response header parameter
    // name and the mapped value is an integration response header value, a static
    // value enclosed within a pair of single quotes, or a JSON expression from
    // the integration response body. The mapping key must match the pattern of
    // method.response.header.{name}, where name is a valid and unique header name.
    // The mapped non-static value must match the pattern of integration.response.header.{name}
    // or integration.response.body.{JSON-expression}, where name is a valid and
    // unique response header name and JSON-expression is a valid JSON expression
    // without the $ prefix.
    ResponseParameters map[string]*string `locationName:"responseParameters" type:"map"`

    // A mapping of identifier keys to templates. The value is an actual template
    // script. The key is typically a SelectionKey which is chosen based on evaluating
    // a selection expression.
    ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`
    // contains filtered or unexported fields
}

func (CreateIntegrationResponseInput) GoString Uses

func (s CreateIntegrationResponseInput) GoString() string

GoString returns the string representation

func (*CreateIntegrationResponseInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateIntegrationResponseInput) SetContentHandlingStrategy Uses

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

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*CreateIntegrationResponseInput) SetIntegrationId Uses

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

SetIntegrationId sets the IntegrationId field's value.

func (*CreateIntegrationResponseInput) SetIntegrationResponseKey Uses

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

SetIntegrationResponseKey sets the IntegrationResponseKey field's value.

func (*CreateIntegrationResponseInput) SetResponseParameters Uses

func (s *CreateIntegrationResponseInput) SetResponseParameters(v map[string]*string) *CreateIntegrationResponseInput

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateIntegrationResponseInput) SetResponseTemplates Uses

func (s *CreateIntegrationResponseInput) SetResponseTemplates(v map[string]*string) *CreateIntegrationResponseInput

SetResponseTemplates sets the ResponseTemplates field's value.

func (*CreateIntegrationResponseInput) SetTemplateSelectionExpression Uses

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

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (CreateIntegrationResponseInput) String Uses

func (s CreateIntegrationResponseInput) String() string

String returns the string representation

func (*CreateIntegrationResponseInput) Validate Uses

func (s *CreateIntegrationResponseInput) Validate() error

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

type CreateIntegrationResponseOutput Uses

type CreateIntegrationResponseOutput struct {

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

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

    // After evaulating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string"`

    // A key-value map specifying response parameters that are passed to the method
    // response from the backend. The key is a method response header parameter
    // name and the mapped value is an integration response header value, a static
    // value enclosed within a pair of single quotes, or a JSON expression from
    // the integration response body. The mapping key must match the pattern of
    // method.response.header.{name}, where name is a valid and unique header name.
    // The mapped non-static value must match the pattern of integration.response.header.{name}
    // or integration.response.body.{JSON-expression}, where name is a valid and
    // unique response header name and JSON-expression is a valid JSON expression
    // without the $ prefix.
    ResponseParameters map[string]*string `locationName:"responseParameters" type:"map"`

    // A mapping of identifier keys to templates. The value is an actual template
    // script. The key is typically a SelectionKey which is chosen based on evaluating
    // a selection expression.
    ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`
    // contains filtered or unexported fields
}

func (CreateIntegrationResponseOutput) GoString Uses

func (s CreateIntegrationResponseOutput) GoString() string

GoString returns the string representation

func (*CreateIntegrationResponseOutput) SetContentHandlingStrategy Uses

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

SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.

func (*CreateIntegrationResponseOutput) SetIntegrationResponseId Uses

func (s *CreateIntegrationResponseOutput) SetIntegrationResponseId(v string) *CreateIntegrationResponseOutput

SetIntegrationResponseId sets the IntegrationResponseId field's value.

func (*CreateIntegrationResponseOutput) SetIntegrationResponseKey Uses

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

SetIntegrationResponseKey sets the IntegrationResponseKey field's value.

func (*CreateIntegrationResponseOutput) SetResponseParameters Uses

func (s *CreateIntegrationResponseOutput) SetResponseParameters(v map[string]*string) *CreateIntegrationResponseOutput

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateIntegrationResponseOutput) SetResponseTemplates Uses

func (s *CreateIntegrationResponseOutput) SetResponseTemplates(v map[string]*string) *CreateIntegrationResponseOutput

SetResponseTemplates sets the ResponseTemplates field's value.

func (*CreateIntegrationResponseOutput) SetTemplateSelectionExpression Uses

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

SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.

func (CreateIntegrationResponseOutput) String Uses

func (s CreateIntegrationResponseOutput) String() string

String returns the string representation

type CreateModelInput Uses

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 Uses

func (s CreateModelInput) GoString() string

GoString returns the string representation

func (*CreateModelInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateModelInput) SetContentType Uses

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

SetContentType sets the ContentType field's value.

func (*CreateModelInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateModelInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateModelInput) SetSchema Uses

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

SetSchema sets the Schema field's value.

func (CreateModelInput) String Uses

func (s CreateModelInput) String() string

String returns the string representation

func (*CreateModelInput) Validate Uses

func (s *CreateModelInput) Validate() error

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

type CreateModelOutput Uses

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 Uses

func (s CreateModelOutput) GoString() string

GoString returns the string representation

func (*CreateModelOutput) SetContentType Uses

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

SetContentType sets the ContentType field's value.

func (*CreateModelOutput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateModelOutput) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (*CreateModelOutput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateModelOutput) SetSchema Uses

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

SetSchema sets the Schema field's value.

func (CreateModelOutput) String Uses

func (s CreateModelOutput) String() string

String returns the string representation

type CreateRouteInput Uses

type CreateRouteInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"`

    // A list of authorization scopes configured on a route. The scopes are used
    // with a COGNITO_USER_POOLS authorizer to authorize the method invocation.
    // The authorization works by matching the route scopes against the scopes parsed
    // from the access token in the incoming request. The method invocation is authorized
    // if any route scope matches a claimed scope in the access token. Otherwise,
    // the invocation is not authorized. When the route scope is configured, the
    // client must provide an access token instead of an identity token for authorization
    // purposes.
    AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"`

    // The authorization type. Valid values are NONE for open access, AWS_IAM for
    // using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
    AuthorizationType *string `locationName:"authorizationType" type:"string" enum:"AuthorizationType"`

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

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

    // A string with a length between [1-64].
    OperationName *string `locationName:"operationName" type:"string"`

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

    // The route parameters.
    RequestParameters map[string]*ParameterConstraints `locationName:"requestParameters" type:"map"`

    // After evaulating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    //
    // RouteKey is a required field
    RouteKey *string `locationName:"routeKey" type:"string" required:"true"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

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

func (CreateRouteInput) GoString Uses

func (s CreateRouteInput) GoString() string

GoString returns the string representation

func (*CreateRouteInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateRouteInput) SetApiKeyRequired Uses

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

SetApiKeyRequired sets the ApiKeyRequired field's value.

func (*CreateRouteInput) SetAuthorizationScopes Uses

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

SetAuthorizationScopes sets the AuthorizationScopes field's value.

func (*CreateRouteInput) SetAuthorizationType Uses

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

SetAuthorizationType sets the AuthorizationType field's value.

func (*CreateRouteInput) SetAuthorizerId Uses

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

SetAuthorizerId sets the AuthorizerId field's value.

func (*CreateRouteInput) SetModelSelectionExpression Uses

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

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*CreateRouteInput) SetOperationName Uses

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

SetOperationName sets the OperationName field's value.

func (*CreateRouteInput) SetRequestModels Uses

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

SetRequestModels sets the RequestModels field's value.

func (*CreateRouteInput) SetRequestParameters Uses

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

SetRequestParameters sets the RequestParameters field's value.

func (*CreateRouteInput) SetRouteKey Uses

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

SetRouteKey sets the RouteKey field's value.

func (*CreateRouteInput) SetRouteResponseSelectionExpression Uses

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

SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.

func (*CreateRouteInput) SetTarget Uses

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

SetTarget sets the Target field's value.

func (CreateRouteInput) String Uses

func (s CreateRouteInput) String() string

String returns the string representation

func (*CreateRouteInput) Validate Uses

func (s *CreateRouteInput) Validate() error

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

type CreateRouteOutput Uses

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

    // A list of authorization scopes configured on a route. The scopes are used
    // with a COGNITO_USER_POOLS authorizer to authorize the method invocation.
    // The authorization works by matching the route scopes against the scopes parsed
    // from the access token in the incoming request. The method invocation is authorized
    // if any route scope matches a claimed scope in the access token. Otherwise,
    // the invocation is not authorized. When the route scope is configured, the
    // client must provide an access token instead of an identity token for authorization
    // purposes.
    AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"`

    // The authorization type. Valid values are NONE for open access, AWS_IAM for
    // using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
    AuthorizationType *string `locationName:"authorizationType" type:"string" enum:"AuthorizationType"`

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

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

    // A string with a length between [1-64].
    OperationName *string `locationName:"operationName" type:"string"`

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

    // The route parameters.
    RequestParameters map[string]*ParameterConstraints `locationName:"requestParameters" type:"map"`

    // The identifier.
    RouteId *string `locationName:"routeId" type:"string"`

    // After evaulating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    RouteKey *string `locationName:"routeKey" type:"string"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

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

func (CreateRouteOutput) GoString Uses

func (s CreateRouteOutput) GoString() string

GoString returns the string representation

func (*CreateRouteOutput) SetApiKeyRequired Uses

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

SetApiKeyRequired sets the ApiKeyRequired field's value.

func (*CreateRouteOutput) SetAuthorizationScopes Uses

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

SetAuthorizationScopes sets the AuthorizationScopes field's value.

func (*CreateRouteOutput) SetAuthorizationType Uses

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

SetAuthorizationType sets the AuthorizationType field's value.

func (*CreateRouteOutput) SetAuthorizerId Uses

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

SetAuthorizerId sets the AuthorizerId field's value.

func (*CreateRouteOutput) SetModelSelectionExpression Uses

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

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*CreateRouteOutput) SetOperationName Uses

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

SetOperationName sets the OperationName field's value.

func (*CreateRouteOutput) SetRequestModels Uses

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

SetRequestModels sets the RequestModels field's value.

func (*CreateRouteOutput) SetRequestParameters Uses

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

SetRequestParameters sets the RequestParameters field's value.

func (*CreateRouteOutput) SetRouteId Uses

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

SetRouteId sets the RouteId field's value.

func (*CreateRouteOutput) SetRouteKey Uses

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

SetRouteKey sets the RouteKey field's value.

func (*CreateRouteOutput) SetRouteResponseSelectionExpression Uses

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

SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.

func (*CreateRouteOutput) SetTarget Uses

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

SetTarget sets the Target field's value.

func (CreateRouteOutput) String Uses

func (s CreateRouteOutput) String() string

String returns the string representation

type CreateRouteResponseInput Uses

type CreateRouteResponseInput struct {

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

    // The route models.
    ResponseModels map[string]*string `locationName:"responseModels" type:"map"`

    // The route parameters.
    ResponseParameters map[string]*ParameterConstraints `locationName:"responseParameters" type:"map"`

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

    // After evaulating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    //
    // RouteResponseKey is a required field
    RouteResponseKey *string `locationName:"routeResponseKey" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateRouteResponseInput) GoString Uses

func (s CreateRouteResponseInput) GoString() string

GoString returns the string representation

func (*CreateRouteResponseInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateRouteResponseInput) SetModelSelectionExpression Uses

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

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*CreateRouteResponseInput) SetResponseModels Uses

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

SetResponseModels sets the ResponseModels field's value.

func (*CreateRouteResponseInput) SetResponseParameters Uses

func (s *CreateRouteResponseInput) SetResponseParameters(v map[string]*ParameterConstraints) *CreateRouteResponseInput

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateRouteResponseInput) SetRouteId Uses

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

SetRouteId sets the RouteId field's value.

func (*CreateRouteResponseInput) SetRouteResponseKey Uses

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

SetRouteResponseKey sets the RouteResponseKey field's value.

func (CreateRouteResponseInput) String Uses

func (s CreateRouteResponseInput) String() string

String returns the string representation

func (*CreateRouteResponseInput) Validate Uses

func (s *CreateRouteResponseInput) Validate() error

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

type CreateRouteResponseOutput Uses

type CreateRouteResponseOutput struct {

    // An expression used to extract information at runtime. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for more information.
    ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

    // The route models.
    ResponseModels map[string]*string `locationName:"responseModels" type:"map"`

    // The route parameters.
    ResponseParameters map[string]*ParameterConstraints `locationName:"responseParameters" type:"map"`

    // The identifier.
    RouteResponseId *string `locationName:"routeResponseId" type:"string"`

    // After evaulating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    RouteResponseKey *string `locationName:"routeResponseKey" type:"string"`
    // contains filtered or unexported fields
}

func (CreateRouteResponseOutput) GoString Uses

func (s CreateRouteResponseOutput) GoString() string

GoString returns the string representation

func (*CreateRouteResponseOutput) SetModelSelectionExpression Uses

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

SetModelSelectionExpression sets the ModelSelectionExpression field's value.

func (*CreateRouteResponseOutput) SetResponseModels Uses

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

SetResponseModels sets the ResponseModels field's value.

func (*CreateRouteResponseOutput) SetResponseParameters Uses

func (s *CreateRouteResponseOutput) SetResponseParameters(v map[string]*ParameterConstraints) *CreateRouteResponseOutput

SetResponseParameters sets the ResponseParameters field's value.

func (*CreateRouteResponseOutput) SetRouteResponseId Uses

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

SetRouteResponseId sets the RouteResponseId field's value.

func (*CreateRouteResponseOutput) SetRouteResponseKey Uses

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

SetRouteResponseKey sets the RouteResponseKey field's value.

func (CreateRouteResponseOutput) String Uses

func (s CreateRouteResponseOutput) String() string

String returns the string representation

type CreateStageInput Uses

type CreateStageInput struct {

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

    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // The identifier.
    ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

    // Represents a collection of route settings.
    DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

    // The identifier.
    DeploymentId *string `locationName:"deploymentId" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    // The route settings map.
    RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"`

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

    // The stage variable map.
    StageVariables map[string]*string `locationName:"stageVariables" type:"map"`

    // A key value pair of string with key length between[1-128] and value length
    // between[1-256]
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (CreateStageInput) GoString Uses

func (s CreateStageInput) GoString() string

GoString returns the string representation

func (*CreateStageInput) SetAccessLogSettings Uses

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

SetAccessLogSettings sets the AccessLogSettings field's value.

func (*CreateStageInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateStageInput) SetClientCertificateId Uses

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

SetClientCertificateId sets the ClientCertificateId field's value.

func (*CreateStageInput) SetDefaultRouteSettings Uses

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

SetDefaultRouteSettings sets the DefaultRouteSettings field's value.

func (*CreateStageInput) SetDeploymentId Uses

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

SetDeploymentId sets the DeploymentId field's value.

func (*CreateStageInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateStageInput) SetRouteSettings Uses

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

SetRouteSettings sets the RouteSettings field's value.

func (*CreateStageInput) SetStageName Uses

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

SetStageName sets the StageName field's value.

func (*CreateStageInput) SetStageVariables Uses

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

SetStageVariables sets the StageVariables field's value.

func (*CreateStageInput) SetTags Uses

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

SetTags sets the Tags field's value.

func (CreateStageInput) String Uses

func (s CreateStageInput) String() string

String returns the string representation

func (*CreateStageInput) Validate Uses

func (s *CreateStageInput) Validate() error

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

type CreateStageOutput Uses

type CreateStageOutput struct {

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

    // The identifier.
    ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

    CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"`

    // Represents a collection of route settings.
    DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

    // The identifier.
    DeploymentId *string `locationName:"deploymentId" type:"string"`

    // A string with a length between [0-1024].
    Description *string `locationName:"description" type:"string"`

    LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"`

    // The route settings map.
    RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"`

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

    // The stage variable map.
    StageVariables map[string]*string `locationName:"stageVariables" type:"map"`

    // A key value pair of string with key length between[1-128] and value length
    // between[1-256]
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (CreateStageOutput) GoString Uses

func (s CreateStageOutput) GoString() string

GoString returns the string representation

func (*CreateStageOutput) SetAccessLogSettings Uses

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

SetAccessLogSettings sets the AccessLogSettings field's value.

func (*CreateStageOutput) SetClientCertificateId Uses

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

SetClientCertificateId sets the ClientCertificateId field's value.

func (*CreateStageOutput) SetCreatedDate Uses

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

SetCreatedDate sets the CreatedDate field's value.

func (*CreateStageOutput) SetDefaultRouteSettings Uses

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

SetDefaultRouteSettings sets the DefaultRouteSettings field's value.

func (*CreateStageOutput) SetDeploymentId Uses

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

SetDeploymentId sets the DeploymentId field's value.

func (*CreateStageOutput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateStageOutput) SetLastUpdatedDate Uses

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

SetLastUpdatedDate sets the LastUpdatedDate field's value.

func (*CreateStageOutput) SetRouteSettings Uses

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

SetRouteSettings sets the RouteSettings field's value.

func (*CreateStageOutput) SetStageName Uses

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

SetStageName sets the StageName field's value.

func (*CreateStageOutput) SetStageVariables Uses

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

SetStageVariables sets the StageVariables field's value.

func (*CreateStageOutput) SetTags Uses

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

SetTags sets the Tags field's value.

func (CreateStageOutput) String Uses

func (s CreateStageOutput) String() string

String returns the string representation

type DeleteApiInput Uses

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 Uses

func (s DeleteApiInput) GoString() string

GoString returns the string representation

func (*DeleteApiInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (DeleteApiInput) String Uses

func (s DeleteApiInput) String() string

String returns the string representation

func (*DeleteApiInput) Validate Uses

func (s *DeleteApiInput) Validate() error

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

type DeleteApiMappingInput Uses

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 Uses

func (s DeleteApiMappingInput) GoString() string

GoString returns the string representation

func (*DeleteApiMappingInput) SetApiMappingId Uses

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

SetApiMappingId sets the ApiMappingId field's value.

func (*DeleteApiMappingInput) SetDomainName Uses

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

SetDomainName sets the DomainName field's value.

func (DeleteApiMappingInput) String Uses

func (s DeleteApiMappingInput) String() string

String returns the string representation

func (*DeleteApiMappingInput) Validate Uses

func (s *DeleteApiMappingInput) Validate() error

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

type DeleteApiMappingOutput Uses

type DeleteApiMappingOutput struct {
    // contains filtered or unexported fields
}

func (DeleteApiMappingOutput) GoString Uses

func (s DeleteApiMappingOutput) GoString() string

GoString returns the string representation

func (DeleteApiMappingOutput) String Uses

func (s DeleteApiMappingOutput) String() string

String returns the string representation

type DeleteApiOutput Uses

type DeleteApiOutput struct {
    // contains filtered or unexported fields
}

func (DeleteApiOutput) GoString Uses

func (s DeleteApiOutput) GoString() string

GoString returns the string representation

func (DeleteApiOutput) String Uses

func (s DeleteApiOutput) String() string

String returns the string representation

type DeleteAuthorizerInput Uses

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 Uses

func (s DeleteAuthorizerInput) GoString() string

GoString returns the string representation

func (*DeleteAuthorizerInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteAuthorizerInput) SetAuthorizerId Uses

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

SetAuthorizerId sets the AuthorizerId field's value.

func (DeleteAuthorizerInput) String Uses

func (s DeleteAuthorizerInput) String() string

String returns the string representation

func (*DeleteAuthorizerInput) Validate Uses

func (s *DeleteAuthorizerInput) Validate() error

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

type DeleteAuthorizerOutput Uses

type DeleteAuthorizerOutput struct {
    // contains filtered or unexported fields
}

func (DeleteAuthorizerOutput) GoString Uses

func (s DeleteAuthorizerOutput) GoString() string

GoString returns the string representation

func (DeleteAuthorizerOutput) String Uses

func (s DeleteAuthorizerOutput) String() string

String returns the string representation

type DeleteDeploymentInput Uses

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 Uses

func (s DeleteDeploymentInput) GoString() string

GoString returns the string representation

func (*DeleteDeploymentInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteDeploymentInput) SetDeploymentId Uses

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

SetDeploymentId sets the DeploymentId field's value.

func (DeleteDeploymentInput) String Uses

func (s DeleteDeploymentInput) String() string

String returns the string representation

func (*DeleteDeploymentInput) Validate Uses

func (s *DeleteDeploymentInput) Validate() error

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

type DeleteDeploymentOutput Uses

type DeleteDeploymentOutput struct {
    // contains filtered or unexported fields
}

func (DeleteDeploymentOutput) GoString Uses

func (s DeleteDeploymentOutput) GoString() string

GoString returns the string representation

func (DeleteDeploymentOutput) String Uses

func (s DeleteDeploymentOutput) String() string

String returns the string representation

type DeleteDomainNameInput Uses

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 Uses

func (s DeleteDomainNameInput) GoString() string

GoString returns the string representation

func (*DeleteDomainNameInput) SetDomainName Uses

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

SetDomainName sets the DomainName field's value.

func (DeleteDomainNameInput) String Uses

func (s DeleteDomainNameInput) String() string

String returns the string representation

func (*DeleteDomainNameInput) Validate Uses

func (s *DeleteDomainNameInput) Validate() error

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

type DeleteDomainNameOutput Uses

type DeleteDomainNameOutput struct {
    // contains filtered or unexported fields
}

func (DeleteDomainNameOutput) GoString Uses

func (s DeleteDomainNameOutput) GoString() string

GoString returns the string representation

func (DeleteDomainNameOutput) String Uses

func (s DeleteDomainNameOutput) String() string

String returns the string representation

type DeleteIntegrationInput Uses

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 Uses

func (s DeleteIntegrationInput) GoString() string

GoString returns the string representation

func (*DeleteIntegrationInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteIntegrationInput) SetIntegrationId Uses

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

SetIntegrationId sets the IntegrationId field's value.

func (DeleteIntegrationInput) String Uses

func (s DeleteIntegrationInput) String() string

String returns the string representation

func (*DeleteIntegrationInput) Validate Uses

func (s *DeleteIntegrationInput) Validate() error

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

type DeleteIntegrationOutput Uses

type DeleteIntegrationOutput struct {
    // contains filtered or unexported fields
}

func (DeleteIntegrationOutput) GoString Uses

func (s DeleteIntegrationOutput) GoString() string

GoString returns the string representation

func (DeleteIntegrationOutput) String Uses

func (s DeleteIntegrationOutput) String() string

String returns the string representation

type DeleteIntegrationResponseInput Uses

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 Uses

func (s DeleteIntegrationResponseInput) GoString() string

GoString returns the string representation

func (*DeleteIntegrationResponseInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteIntegrationResponseInput) SetIntegrationId Uses

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

SetIntegrationId sets the IntegrationId field's value.

func (*DeleteIntegrationResponseInput) SetIntegrationResponseId Uses

func (s *DeleteIntegrationResponseInput) SetIntegrationResponseId(v string) *DeleteIntegrationResponseInput

SetIntegrationResponseId sets the IntegrationResponseId field's value.

func (DeleteIntegrationResponseInput) String Uses

func (s DeleteIntegrationResponseInput) String() string

String returns the string representation

func (*DeleteIntegrationResponseInput) Validate Uses

func (s *DeleteIntegrationResponseInput) Validate() error

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

type DeleteIntegrationResponseOutput Uses

type DeleteIntegrationResponseOutput struct {
    // contains filtered or unexported fields
}

func (DeleteIntegrationResponseOutput) GoString Uses

func (s DeleteIntegrationResponseOutput) GoString() string

GoString returns the string representation

func (DeleteIntegrationResponseOutput) String Uses

func (s DeleteIntegrationResponseOutput) String() string

String returns the string representation

type DeleteModelInput Uses

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 Uses

func (s DeleteModelInput) GoString() string

GoString returns the string representation

func (*DeleteModelInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteModelInput) SetModelId Uses

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

SetModelId sets the ModelId field's value.

func (DeleteModelInput) String Uses

func (s DeleteModelInput) String() string

String returns the string representation

func (*DeleteModelInput) Validate Uses

func (s *DeleteModelInput) Validate() error

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

type DeleteModelOutput Uses

type DeleteModelOutput struct {
    // contains filtered or unexported fields
}

func (DeleteModelOutput) GoString Uses

func (s DeleteModelOutput) GoString() string

GoString returns the string representation

func (DeleteModelOutput) String Uses

func (s DeleteModelOutput) String() string

String returns the string representation

type DeleteRouteInput Uses

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 Uses

func (s DeleteRouteInput) GoString() string

GoString returns the string representation

func (*DeleteRouteInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteRouteInput) SetRouteId Uses

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

SetRouteId sets the RouteId field's value.

func (DeleteRouteInput) String Uses

func (s DeleteRouteInput) String() string

String returns the string representation

func (*DeleteRouteInput) Validate Uses

func (s *DeleteRouteInput) Validate() error

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

type DeleteRouteOutput Uses

type DeleteRouteOutput struct {
    // contains filtered or unexported fields
}

func (DeleteRouteOutput) GoString Uses

func (s DeleteRouteOutput) GoString() string

GoString returns the string representation

func (DeleteRouteOutput) String Uses

func (s DeleteRouteOutput) String() string

String returns the string representation

type DeleteRouteResponseInput Uses

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 Uses

func (s DeleteRouteResponseInput) GoString() string

GoString returns the string representation

func (*DeleteRouteResponseInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteRouteResponseInput) SetRouteId Uses

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

SetRouteId sets the RouteId field's value.

func (*DeleteRouteResponseInput) SetRouteResponseId Uses

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

SetRouteResponseId sets the RouteResponseId field's value.

func (DeleteRouteResponseInput) String Uses

func (s DeleteRouteResponseInput) String() string

String returns the string representation

func (*DeleteRouteResponseInput) Validate Uses

func (s *DeleteRouteResponseInput) Validate() error

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

type DeleteRouteResponseOutput Uses

type DeleteRouteResponseOutput struct {
    // contains filtered or unexported fields
}

func (DeleteRouteResponseOutput) GoString Uses

func (s DeleteRouteResponseOutput) GoString() string

GoString returns the string representation

func (DeleteRouteResponseOutput) String Uses

func (s DeleteRouteResponseOutput) String() string

String returns the string representation

type DeleteStageInput Uses

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 Uses

func (s DeleteStageInput) GoString() string

GoString returns the string representation

func (*DeleteStageInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteStageInput) SetStageName Uses

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

SetStageName sets the StageName field's value.

func (DeleteStageInput) String Uses

func (s DeleteStageInput) String() string

String returns the string representation

func (*DeleteStageInput) Validate Uses

func (s *DeleteStageInput) Validate() error

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

type DeleteStageOutput Uses

type DeleteStageOutput struct {
    // contains filtered or unexported fields
}

func (DeleteStageOutput) GoString Uses

func (s DeleteStageOutput) GoString() string

GoString returns the string representation

func (DeleteStageOutput) String Uses

func (s DeleteStageOutput) String() string

String returns the string representation

type Deployment Uses

type Deployment struct {

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

    // The identifier for the deployment.
    DeploymentId *string `locationName:"deploymentId" type:"string"`

    // The status of the deployment: PENDING, FAILED, or SUCCEEDED.
    DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"`

    // May contain additional feedback on the status of an API deployment.
    DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"`

    // The description for the deployment.
    Description *string `locationName:"description" type:"string"`
    // contains filtered or unexported fields
}

An immutable representation of an API that can be called by users. A Deployment must be associated with a Stage for it to be callable over the internet.

func (Deployment) GoString Uses

func (s Deployment) GoString() string

GoString returns the string representation

func (*Deployment) SetCreatedDate Uses

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

SetCreatedDate sets the CreatedDate field's value.

func (*Deployment) SetDeploymentId Uses

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

SetDeploymentId sets the DeploymentId field's value.

func (*Deployment) SetDeploymentStatus Uses

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

SetDeploymentStatus sets the DeploymentStatus field's value.

func (*Deployment) SetDeploymentStatusMessage Uses

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

SetDeploymentStatusMessage sets the DeploymentStatusMessage field's value.

func (*Deployment) SetDescription Uses

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

SetDescription sets the Description field's value.

func (Deployment) String Uses

func (s Deployment) String() string

String returns the string representation

type DomainName Uses

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

    // Tags for the DomainName.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

Represents a domain name.

func (DomainName) GoString Uses

func (s DomainName) GoString() string

GoString returns the string representation

func (*DomainName) SetApiMappingSelectionExpression Uses

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

SetApiMappingSelectionExpression sets the ApiMappingSelectionExpression field's value.

func (*DomainName) SetDomainName Uses

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

SetDomainName sets the DomainName field's value.

func (*DomainName) SetDomainNameConfigurations Uses

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

SetDomainNameConfigurations sets the DomainNameConfigurations field's value.

func (*DomainName) SetTags Uses

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

SetTags sets the Tags field's value.

func (DomainName) String Uses

func (s DomainName) String() string

String returns the string representation

type DomainNameConfiguration Uses

type DomainNameConfiguration struct {

    // A domain name for the WebSocket API.
    ApiGatewayDomainName *string `locationName:"apiGatewayDomainName" type:"string"`

    // An AWS-managed certificate that will be used by the edge-optimized endpoint
    // for this domain name. AWS Certificate Manager is the only supported source.
    CertificateArn *string `locationName:"certificateArn" type:"string"`

    // The user-friendly name of the certificate that will be used by the edge-optimized
    // endpoint for this domain name.
    CertificateName *string `locationName:"certificateName" type:"string"`

    // The timestamp when the certificate that was used by edge-optimized endpoint
    // for this domain name was uploaded.
    CertificateUploadDate *time.Time `locationName:"certificateUploadDate" type:"timestamp" timestampFormat:"iso8601"`

    // The 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 Uses

func (s DomainNameConfiguration) GoString() string

GoString returns the string representation

func (*DomainNameConfiguration) SetApiGatewayDomainName Uses

func (s *DomainNameConfiguration) SetApiGatewayDomainName(v string) *DomainNameConfiguration

SetApiGatewayDomainName sets the ApiGatewayDomainName field's value.

func (*DomainNameConfiguration) SetCertificateArn Uses

func (s *DomainNameConfiguration) SetCertificateArn(v string) *DomainNameConfiguration

SetCertificateArn sets the CertificateArn field's value.

func (*DomainNameConfiguration) SetCertificateName Uses

func (s *DomainNameConfiguration) SetCertificateName(v string) *DomainNameConfiguration

SetCertificateName sets the CertificateName field's value.

func (*DomainNameConfiguration) SetCertificateUploadDate Uses

func (s *DomainNameConfiguration) SetCertificateUploadDate(v time.Time) *DomainNameConfiguration

SetCertificateUploadDate sets the CertificateUploadDate field's value.

func (*DomainNameConfiguration) SetDomainNameStatus Uses

func (s *DomainNameConfiguration) SetDomainNameStatus(v string) *DomainNameConfiguration

SetDomainNameStatus sets the DomainNameStatus field's value.

func (*DomainNameConfiguration) SetDomainNameStatusMessage Uses

func (s *DomainNameConfiguration) SetDomainNameStatusMessage(v string) *DomainNameConfiguration

SetDomainNameStatusMessage sets the DomainNameStatusMessage field's value.

func (*DomainNameConfiguration) SetEndpointType Uses

func (s *DomainNameConfiguration) SetEndpointType(v string) *DomainNameConfiguration

SetEndpointType sets the EndpointType field's value.

func (*DomainNameConfiguration) SetHostedZoneId Uses

func (s *DomainNameConfiguration) SetHostedZoneId(v string) *DomainNameConfiguration

SetHostedZoneId sets the HostedZoneId field's value.

func (*DomainNameConfiguration) SetSecurityPolicy Uses

func (s *DomainNameConfiguration) SetSecurityPolicy(v string) *DomainNameConfiguration

SetSecurityPolicy sets the SecurityPolicy field's value.

func (DomainNameConfiguration) String Uses

func (s DomainNameConfiguration) String() string

String returns the string representation

type GetApiInput Uses

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 Uses

func (s GetApiInput) GoString() string

GoString returns the string representation

func (*GetApiInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (GetApiInput) String Uses

func (s GetApiInput) String() string

String returns the string representation

func (*GetApiInput) Validate Uses

func (s *GetApiInput) Validate() error

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

type GetApiMappingInput Uses

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 Uses

func (s GetApiMappingInput) GoString() string

GoString returns the string representation

func (*GetApiMappingInput) SetApiMappingId Uses

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

SetApiMappingId sets the ApiMappingId field's value.

func (*GetApiMappingInput) SetDomainName Uses

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

SetDomainName sets the DomainName field's value.

func (GetApiMappingInput) String Uses

func (s GetApiMappingInput) String() string

String returns the string representation

func (*GetApiMappingInput) Validate Uses

func (s *GetApiMappingInput) Validate() error

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

type GetApiMappingOutput Uses

type GetApiMappingOutput struct {

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

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

    // After evaulating a selection expression, the result is compared against one
    // or more selection keys to find a matching key. See Selection Expressions
    // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions)
    // for a list of expressions and each expression's associated selection key
    // type.
    ApiMappingKey *string `locationName:"apiMappingKey" type:"string"`

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

func (GetApiMappingOutput) GoString Uses

func (s GetApiMappingOutput) GoString() string

GoString returns the string representation

func (*GetApiMappingOutput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*GetApiMappingOutput) SetApiMappingId Uses

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

SetApiMappingId sets the ApiMappingId field's value.

func (*GetApiMappingOutput) SetApiMappingKey Uses

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

SetApiMappingKey sets the ApiMappingKey field's value.

func (*GetApiMappingOutput) SetStage Uses

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

SetStage sets the Stage field's value.

func (GetApiMappingOutput) String Uses

func (s GetApiMappingOutput) String() string

String returns the string representation

type GetApiMappingsInput Uses

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 Uses

func (s GetApiMappingsInput) GoString() string

GoString returns the string representation

func (*GetApiMappingsInput) SetDomainName Uses

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

SetDomainName sets the DomainName field's value.

func (*GetApiMappingsInput) SetMaxResults Uses

func (s *GetApiMappingsInput) SetMaxResults(v string) *GetApiMappingsInput

SetMaxResults sets the MaxResults field's value.

func (*GetApiMappingsInput) SetNextToken Uses

func (s *GetApiMappingsInput) SetNextToken(v string) *GetApiMappingsInput

SetNextToken sets the NextToken field's value.

func (GetApiMappingsInput) String Uses

func (s GetApiMappingsInput) String() string

String returns the string representation

func (*GetApiMappingsInput) Validate Uses

func (s *GetApiMappingsInput) Validate() error

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

type GetApiMappingsOutput Uses

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 Uses

func (s GetApiMappingsOutput) GoString() string

GoString returns the string representation

func (*GetApiMappingsOutput)