apigatewayv2

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 7 Imported by: 65

Documentation

Overview

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

Amazon API Gateway V2

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

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

Using the Client

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

Index

Constants

View Source
const (
	ServiceName = "AmazonApiGatewayV2" // Service's name
	ServiceID   = "ApiGatewayV2"       // Service's identifier
	EndpointsID = "apigateway"         // Service's Endpoint identifier
)
View Source
const (

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

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

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

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	//
	// A limit has been exceeded. See the accompanying error message for details.
	ErrCodeTooManyRequestsException = "TooManyRequestsException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLogSettings

type AccessLogSettings struct {

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

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

Settings for logging access in a stage.

func (AccessLogSettings) MarshalFields

func (s AccessLogSettings) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AccessLogSettings) String

func (s AccessLogSettings) String() string

String returns the string representation

type Api

type Api struct {

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

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

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

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

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

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

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

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

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

func (s Api) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Api) String

func (s Api) String() string

String returns the string representation

type ApiMapping added in v0.8.0

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) MarshalFields added in v0.8.0

func (s ApiMapping) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ApiMapping) String added in v0.8.0

func (s ApiMapping) String() string

String returns the string representation

type AuthorizationType

type AuthorizationType string

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 (
	AuthorizationTypeNone   AuthorizationType = "NONE"
	AuthorizationTypeAwsIam AuthorizationType = "AWS_IAM"
	AuthorizationTypeCustom AuthorizationType = "CUSTOM"
)

Enum values for AuthorizationType

func (AuthorizationType) MarshalValue

func (enum AuthorizationType) MarshalValue() (string, error)

func (AuthorizationType) MarshalValueBuf

func (enum AuthorizationType) MarshalValueBuf(b []byte) ([]byte, error)

type Authorizer

type Authorizer struct {

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

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

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

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

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

func (s Authorizer) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Authorizer) String

func (s Authorizer) String() string

String returns the string representation

type AuthorizerType

type AuthorizerType string

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

const (
	AuthorizerTypeRequest AuthorizerType = "REQUEST"
)

Enum values for AuthorizerType

func (AuthorizerType) MarshalValue

func (enum AuthorizerType) MarshalValue() (string, error)

func (AuthorizerType) MarshalValueBuf

func (enum AuthorizerType) MarshalValueBuf(b []byte) ([]byte, error)

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := apigatewayv2.New(myConfig)

func (*Client) CreateApiMappingRequest added in v0.9.0

func (c *Client) CreateApiMappingRequest(input *CreateApiMappingInput) CreateApiMappingRequest

CreateApiMappingRequest returns a request value for making API operation for AmazonApiGatewayV2.

Creates an API mapping.

// Example sending a request using CreateApiMappingRequest.
req := client.CreateApiMappingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateApiRequest added in v0.9.0

func (c *Client) CreateApiRequest(input *CreateApiInput) CreateApiRequest

CreateApiRequest returns a request value for making API operation for AmazonApiGatewayV2.

Creates an Api resource.

// Example sending a request using CreateApiRequest.
req := client.CreateApiRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateAuthorizerRequest added in v0.9.0

func (c *Client) CreateAuthorizerRequest(input *CreateAuthorizerInput) CreateAuthorizerRequest

CreateAuthorizerRequest returns a request value for making API operation for AmazonApiGatewayV2.

Creates an Authorizer for an API.

// Example sending a request using CreateAuthorizerRequest.
req := client.CreateAuthorizerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateDeploymentRequest added in v0.9.0

func (c *Client) CreateDeploymentRequest(input *CreateDeploymentInput) CreateDeploymentRequest

CreateDeploymentRequest returns a request value for making API operation for AmazonApiGatewayV2.

Creates a Deployment for an API.

// Example sending a request using CreateDeploymentRequest.
req := client.CreateDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateDomainNameRequest added in v0.9.0

func (c *Client) CreateDomainNameRequest(input *CreateDomainNameInput) CreateDomainNameRequest

CreateDomainNameRequest returns a request value for making API operation for AmazonApiGatewayV2.

Creates a domain name.

// Example sending a request using CreateDomainNameRequest.
req := client.CreateDomainNameRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateIntegrationRequest added in v0.9.0

func (c *Client) CreateIntegrationRequest(input *CreateIntegrationInput) CreateIntegrationRequest

CreateIntegrationRequest returns a request value for making API operation for AmazonApiGatewayV2.

Creates an Integration.

// Example sending a request using CreateIntegrationRequest.
req := client.CreateIntegrationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateIntegrationResponseRequest added in v0.9.0

func (c *Client) CreateIntegrationResponseRequest(input *CreateIntegrationResponseInput) CreateIntegrationResponseRequest

CreateIntegrationResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.

Creates an IntegrationResponses.

// Example sending a request using CreateIntegrationResponseRequest.
req := client.CreateIntegrationResponseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateModelRequest added in v0.9.0

func (c *Client) CreateModelRequest(input *CreateModelInput) CreateModelRequest

CreateModelRequest returns a request value for making API operation for AmazonApiGatewayV2.

Creates a Model for an API.

// Example sending a request using CreateModelRequest.
req := client.CreateModelRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateRouteRequest added in v0.9.0

func (c *Client) CreateRouteRequest(input *CreateRouteInput) CreateRouteRequest

CreateRouteRequest returns a request value for making API operation for AmazonApiGatewayV2.

Creates a Route for an API.

// Example sending a request using CreateRouteRequest.
req := client.CreateRouteRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateRouteResponseRequest added in v0.9.0

func (c *Client) CreateRouteResponseRequest(input *CreateRouteResponseInput) CreateRouteResponseRequest

CreateRouteResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.

Creates a RouteResponse for a Route.

// Example sending a request using CreateRouteResponseRequest.
req := client.CreateRouteResponseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateStageRequest added in v0.9.0

func (c *Client) CreateStageRequest(input *CreateStageInput) CreateStageRequest

CreateStageRequest returns a request value for making API operation for AmazonApiGatewayV2.

Creates a Stage for an API.

// Example sending a request using CreateStageRequest.
req := client.CreateStageRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteApiMappingRequest added in v0.9.0

func (c *Client) DeleteApiMappingRequest(input *DeleteApiMappingInput) DeleteApiMappingRequest

DeleteApiMappingRequest returns a request value for making API operation for AmazonApiGatewayV2.

Deletes an API mapping.

// Example sending a request using DeleteApiMappingRequest.
req := client.DeleteApiMappingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteApiRequest added in v0.9.0

func (c *Client) DeleteApiRequest(input *DeleteApiInput) DeleteApiRequest

DeleteApiRequest returns a request value for making API operation for AmazonApiGatewayV2.

Deletes an Api resource.

// Example sending a request using DeleteApiRequest.
req := client.DeleteApiRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteAuthorizerRequest added in v0.9.0

func (c *Client) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) DeleteAuthorizerRequest

DeleteAuthorizerRequest returns a request value for making API operation for AmazonApiGatewayV2.

Deletes an Authorizer.

// Example sending a request using DeleteAuthorizerRequest.
req := client.DeleteAuthorizerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteDeploymentRequest added in v0.9.0

func (c *Client) DeleteDeploymentRequest(input *DeleteDeploymentInput) DeleteDeploymentRequest

DeleteDeploymentRequest returns a request value for making API operation for AmazonApiGatewayV2.

Deletes a Deployment.

// Example sending a request using DeleteDeploymentRequest.
req := client.DeleteDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteDomainNameRequest added in v0.9.0

func (c *Client) DeleteDomainNameRequest(input *DeleteDomainNameInput) DeleteDomainNameRequest

DeleteDomainNameRequest returns a request value for making API operation for AmazonApiGatewayV2.

Deletes a domain name.

// Example sending a request using DeleteDomainNameRequest.
req := client.DeleteDomainNameRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteIntegrationRequest added in v0.9.0

func (c *Client) DeleteIntegrationRequest(input *DeleteIntegrationInput) DeleteIntegrationRequest

DeleteIntegrationRequest returns a request value for making API operation for AmazonApiGatewayV2.

Deletes an Integration.

// Example sending a request using DeleteIntegrationRequest.
req := client.DeleteIntegrationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteIntegrationResponseRequest added in v0.9.0

func (c *Client) DeleteIntegrationResponseRequest(input *DeleteIntegrationResponseInput) DeleteIntegrationResponseRequest

DeleteIntegrationResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.

Deletes an IntegrationResponses.

// Example sending a request using DeleteIntegrationResponseRequest.
req := client.DeleteIntegrationResponseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteModelRequest added in v0.9.0

func (c *Client) DeleteModelRequest(input *DeleteModelInput) DeleteModelRequest

DeleteModelRequest returns a request value for making API operation for AmazonApiGatewayV2.

Deletes a Model.

// Example sending a request using DeleteModelRequest.
req := client.DeleteModelRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteRouteRequest added in v0.9.0

func (c *Client) DeleteRouteRequest(input *DeleteRouteInput) DeleteRouteRequest

DeleteRouteRequest returns a request value for making API operation for AmazonApiGatewayV2.

Deletes a Route.

// Example sending a request using DeleteRouteRequest.
req := client.DeleteRouteRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteRouteResponseRequest added in v0.9.0

func (c *Client) DeleteRouteResponseRequest(input *DeleteRouteResponseInput) DeleteRouteResponseRequest

DeleteRouteResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.

Deletes a RouteResponse.

// Example sending a request using DeleteRouteResponseRequest.
req := client.DeleteRouteResponseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteStageRequest added in v0.9.0

func (c *Client) DeleteStageRequest(input *DeleteStageInput) DeleteStageRequest

DeleteStageRequest returns a request value for making API operation for AmazonApiGatewayV2.

Deletes a Stage.

// Example sending a request using DeleteStageRequest.
req := client.DeleteStageRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetApiMappingRequest added in v0.9.0

func (c *Client) GetApiMappingRequest(input *GetApiMappingInput) GetApiMappingRequest

GetApiMappingRequest returns a request value for making API operation for AmazonApiGatewayV2.

The API mapping.

// Example sending a request using GetApiMappingRequest.
req := client.GetApiMappingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetApiMappingsRequest added in v0.9.0

func (c *Client) GetApiMappingsRequest(input *GetApiMappingsInput) GetApiMappingsRequest

GetApiMappingsRequest returns a request value for making API operation for AmazonApiGatewayV2.

The API mappings.

// Example sending a request using GetApiMappingsRequest.
req := client.GetApiMappingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetApiRequest added in v0.9.0

func (c *Client) GetApiRequest(input *GetApiInput) GetApiRequest

GetApiRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets an Api resource.

// Example sending a request using GetApiRequest.
req := client.GetApiRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetApisRequest added in v0.9.0

func (c *Client) GetApisRequest(input *GetApisInput) GetApisRequest

GetApisRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets a collection of Api resources.

// Example sending a request using GetApisRequest.
req := client.GetApisRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetAuthorizerRequest added in v0.9.0

func (c *Client) GetAuthorizerRequest(input *GetAuthorizerInput) GetAuthorizerRequest

GetAuthorizerRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets an Authorizer.

// Example sending a request using GetAuthorizerRequest.
req := client.GetAuthorizerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetAuthorizersRequest added in v0.9.0

func (c *Client) GetAuthorizersRequest(input *GetAuthorizersInput) GetAuthorizersRequest

GetAuthorizersRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets the Authorizers for an API.

// Example sending a request using GetAuthorizersRequest.
req := client.GetAuthorizersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetDeploymentRequest added in v0.9.0

func (c *Client) GetDeploymentRequest(input *GetDeploymentInput) GetDeploymentRequest

GetDeploymentRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets a Deployment.

// Example sending a request using GetDeploymentRequest.
req := client.GetDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetDeploymentsRequest added in v0.9.0

func (c *Client) GetDeploymentsRequest(input *GetDeploymentsInput) GetDeploymentsRequest

GetDeploymentsRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets the Deployments for an API.

// Example sending a request using GetDeploymentsRequest.
req := client.GetDeploymentsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetDomainNameRequest added in v0.9.0

func (c *Client) GetDomainNameRequest(input *GetDomainNameInput) GetDomainNameRequest

GetDomainNameRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets a domain name.

// Example sending a request using GetDomainNameRequest.
req := client.GetDomainNameRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetDomainNamesRequest added in v0.9.0

func (c *Client) GetDomainNamesRequest(input *GetDomainNamesInput) GetDomainNamesRequest

GetDomainNamesRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets the domain names for an AWS account.

// Example sending a request using GetDomainNamesRequest.
req := client.GetDomainNamesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetIntegrationRequest added in v0.9.0

func (c *Client) GetIntegrationRequest(input *GetIntegrationInput) GetIntegrationRequest

GetIntegrationRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets an Integration.

// Example sending a request using GetIntegrationRequest.
req := client.GetIntegrationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetIntegrationResponseRequest added in v0.9.0

func (c *Client) GetIntegrationResponseRequest(input *GetIntegrationResponseInput) GetIntegrationResponseRequest

GetIntegrationResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets an IntegrationResponses.

// Example sending a request using GetIntegrationResponseRequest.
req := client.GetIntegrationResponseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetIntegrationResponsesRequest added in v0.9.0

func (c *Client) GetIntegrationResponsesRequest(input *GetIntegrationResponsesInput) GetIntegrationResponsesRequest

GetIntegrationResponsesRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets the IntegrationResponses for an Integration.

// Example sending a request using GetIntegrationResponsesRequest.
req := client.GetIntegrationResponsesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetIntegrationsRequest added in v0.9.0

func (c *Client) GetIntegrationsRequest(input *GetIntegrationsInput) GetIntegrationsRequest

GetIntegrationsRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets the Integrations for an API.

// Example sending a request using GetIntegrationsRequest.
req := client.GetIntegrationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetModelRequest added in v0.9.0

func (c *Client) GetModelRequest(input *GetModelInput) GetModelRequest

GetModelRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets a Model.

// Example sending a request using GetModelRequest.
req := client.GetModelRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetModelTemplateRequest added in v0.9.0

func (c *Client) GetModelTemplateRequest(input *GetModelTemplateInput) GetModelTemplateRequest

GetModelTemplateRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets a model template.

// Example sending a request using GetModelTemplateRequest.
req := client.GetModelTemplateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetModelsRequest added in v0.9.0

func (c *Client) GetModelsRequest(input *GetModelsInput) GetModelsRequest

GetModelsRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets the Models for an API.

// Example sending a request using GetModelsRequest.
req := client.GetModelsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRouteRequest added in v0.9.0

func (c *Client) GetRouteRequest(input *GetRouteInput) GetRouteRequest

GetRouteRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets a Route.

// Example sending a request using GetRouteRequest.
req := client.GetRouteRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRouteResponseRequest added in v0.9.0

func (c *Client) GetRouteResponseRequest(input *GetRouteResponseInput) GetRouteResponseRequest

GetRouteResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets a RouteResponse.

// Example sending a request using GetRouteResponseRequest.
req := client.GetRouteResponseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRouteResponsesRequest added in v0.9.0

func (c *Client) GetRouteResponsesRequest(input *GetRouteResponsesInput) GetRouteResponsesRequest

GetRouteResponsesRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets the RouteResponses for a Route.

// Example sending a request using GetRouteResponsesRequest.
req := client.GetRouteResponsesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRoutesRequest added in v0.9.0

func (c *Client) GetRoutesRequest(input *GetRoutesInput) GetRoutesRequest

GetRoutesRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets the Routes for an API.

// Example sending a request using GetRoutesRequest.
req := client.GetRoutesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetStageRequest added in v0.9.0

func (c *Client) GetStageRequest(input *GetStageInput) GetStageRequest

GetStageRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets a Stage.

// Example sending a request using GetStageRequest.
req := client.GetStageRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetStagesRequest added in v0.9.0

func (c *Client) GetStagesRequest(input *GetStagesInput) GetStagesRequest

GetStagesRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets the Stages for an API.

// Example sending a request using GetStagesRequest.
req := client.GetStagesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetTagsRequest added in v0.10.0

func (c *Client) GetTagsRequest(input *GetTagsInput) GetTagsRequest

GetTagsRequest returns a request value for making API operation for AmazonApiGatewayV2.

Gets the Tags for a resource.

// Example sending a request using GetTagsRequest.
req := client.GetTagsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) TagResourceRequest added in v0.10.0

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for AmazonApiGatewayV2.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UntagResourceRequest added in v0.10.0

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for AmazonApiGatewayV2.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateApiMappingRequest added in v0.9.0

func (c *Client) UpdateApiMappingRequest(input *UpdateApiMappingInput) UpdateApiMappingRequest

UpdateApiMappingRequest returns a request value for making API operation for AmazonApiGatewayV2.

The API mapping.

// Example sending a request using UpdateApiMappingRequest.
req := client.UpdateApiMappingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateApiRequest added in v0.9.0

func (c *Client) UpdateApiRequest(input *UpdateApiInput) UpdateApiRequest

UpdateApiRequest returns a request value for making API operation for AmazonApiGatewayV2.

Updates an Api resource.

// Example sending a request using UpdateApiRequest.
req := client.UpdateApiRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateAuthorizerRequest added in v0.9.0

func (c *Client) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) UpdateAuthorizerRequest

UpdateAuthorizerRequest returns a request value for making API operation for AmazonApiGatewayV2.

Updates an Authorizer.

// Example sending a request using UpdateAuthorizerRequest.
req := client.UpdateAuthorizerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateDeploymentRequest added in v0.9.0

func (c *Client) UpdateDeploymentRequest(input *UpdateDeploymentInput) UpdateDeploymentRequest

UpdateDeploymentRequest returns a request value for making API operation for AmazonApiGatewayV2.

Updates a Deployment.

// Example sending a request using UpdateDeploymentRequest.
req := client.UpdateDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateDomainNameRequest added in v0.9.0

func (c *Client) UpdateDomainNameRequest(input *UpdateDomainNameInput) UpdateDomainNameRequest

UpdateDomainNameRequest returns a request value for making API operation for AmazonApiGatewayV2.

Updates a domain name.

// Example sending a request using UpdateDomainNameRequest.
req := client.UpdateDomainNameRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateIntegrationRequest added in v0.9.0

func (c *Client) UpdateIntegrationRequest(input *UpdateIntegrationInput) UpdateIntegrationRequest

UpdateIntegrationRequest returns a request value for making API operation for AmazonApiGatewayV2.

Updates an Integration.

// Example sending a request using UpdateIntegrationRequest.
req := client.UpdateIntegrationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateIntegrationResponseRequest added in v0.9.0

func (c *Client) UpdateIntegrationResponseRequest(input *UpdateIntegrationResponseInput) UpdateIntegrationResponseRequest

UpdateIntegrationResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.

Updates an IntegrationResponses.

// Example sending a request using UpdateIntegrationResponseRequest.
req := client.UpdateIntegrationResponseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateModelRequest added in v0.9.0

func (c *Client) UpdateModelRequest(input *UpdateModelInput) UpdateModelRequest

UpdateModelRequest returns a request value for making API operation for AmazonApiGatewayV2.

Updates a Model.

// Example sending a request using UpdateModelRequest.
req := client.UpdateModelRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateRouteRequest added in v0.9.0

func (c *Client) UpdateRouteRequest(input *UpdateRouteInput) UpdateRouteRequest

UpdateRouteRequest returns a request value for making API operation for AmazonApiGatewayV2.

Updates a Route.

// Example sending a request using UpdateRouteRequest.
req := client.UpdateRouteRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateRouteResponseRequest added in v0.9.0

func (c *Client) UpdateRouteResponseRequest(input *UpdateRouteResponseInput) UpdateRouteResponseRequest

UpdateRouteResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.

Updates a RouteResponse.

// Example sending a request using UpdateRouteResponseRequest.
req := client.UpdateRouteResponseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateStageRequest added in v0.9.0

func (c *Client) UpdateStageRequest(input *UpdateStageInput) UpdateStageRequest

UpdateStageRequest returns a request value for making API operation for AmazonApiGatewayV2.

Updates a Stage.

// Example sending a request using UpdateStageRequest.
req := client.UpdateStageRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

type ConnectionType

type ConnectionType string

Represents a connection type.

const (
	ConnectionTypeInternet ConnectionType = "INTERNET"
	ConnectionTypeVpcLink  ConnectionType = "VPC_LINK"
)

Enum values for ConnectionType

func (ConnectionType) MarshalValue

func (enum ConnectionType) MarshalValue() (string, error)

func (ConnectionType) MarshalValueBuf

func (enum ConnectionType) MarshalValueBuf(b []byte) ([]byte, error)

type ContentHandlingStrategy

type ContentHandlingStrategy string

Specifies how to handle response payload content type conversions.

const (
	ContentHandlingStrategyConvertToBinary ContentHandlingStrategy = "CONVERT_TO_BINARY"
	ContentHandlingStrategyConvertToText   ContentHandlingStrategy = "CONVERT_TO_TEXT"
)

Enum values for ContentHandlingStrategy

func (ContentHandlingStrategy) MarshalValue

func (enum ContentHandlingStrategy) MarshalValue() (string, error)

func (ContentHandlingStrategy) MarshalValueBuf

func (enum ContentHandlingStrategy) MarshalValueBuf(b []byte) ([]byte, error)

type CreateApiInput

type CreateApiInput struct {

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

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

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

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

	// ProtocolType is a required field
	ProtocolType ProtocolType `locationName:"protocolType" type:"string" required:"true" enum:"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.
	//
	// 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) MarshalFields

func (s CreateApiInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApiInput) String

func (s CreateApiInput) String() string

String returns the string representation

func (*CreateApiInput) Validate

func (s *CreateApiInput) Validate() error

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

type CreateApiMappingInput

type CreateApiMappingInput struct {

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

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

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

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

func (CreateApiMappingInput) MarshalFields

func (s CreateApiMappingInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApiMappingInput) String

func (s CreateApiMappingInput) String() string

String returns the string representation

func (*CreateApiMappingInput) Validate

func (s *CreateApiMappingInput) Validate() error

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

type CreateApiMappingOutput

type CreateApiMappingOutput struct {

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

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

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

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

func (CreateApiMappingOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApiMappingOutput) String

func (s CreateApiMappingOutput) String() string

String returns the string representation

type CreateApiMappingRequest

type CreateApiMappingRequest struct {
	*aws.Request
	Input *CreateApiMappingInput
	Copy  func(*CreateApiMappingInput) CreateApiMappingRequest
}

CreateApiMappingRequest is the request type for the CreateApiMapping API operation.

func (CreateApiMappingRequest) Send

Send marshals and sends the CreateApiMapping API request.

type CreateApiMappingResponse added in v0.9.0

type CreateApiMappingResponse struct {
	*CreateApiMappingOutput
	// contains filtered or unexported fields
}

CreateApiMappingResponse is the response type for the CreateApiMapping API operation.

func (*CreateApiMappingResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateApiMappingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateApiMapping request.

type CreateApiOutput

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

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

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

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

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

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

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

	ProtocolType ProtocolType `locationName:"protocolType" type:"string" enum:"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.
	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) MarshalFields

func (s CreateApiOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApiOutput) String

func (s CreateApiOutput) String() string

String returns the string representation

type CreateApiRequest

type CreateApiRequest struct {
	*aws.Request
	Input *CreateApiInput
	Copy  func(*CreateApiInput) CreateApiRequest
}

CreateApiRequest is the request type for the CreateApi API operation.

func (CreateApiRequest) Send

Send marshals and sends the CreateApi API request.

type CreateApiResponse added in v0.9.0

type CreateApiResponse struct {
	*CreateApiOutput
	// contains filtered or unexported fields
}

CreateApiResponse is the response type for the CreateApi API operation.

func (*CreateApiResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateApiResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateApi request.

type CreateAuthorizerInput

type CreateAuthorizerInput struct {

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

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

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

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

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

func (s CreateAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateAuthorizerInput) String

func (s CreateAuthorizerInput) String() string

String returns the string representation

func (*CreateAuthorizerInput) Validate

func (s *CreateAuthorizerInput) Validate() error

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

type CreateAuthorizerOutput

type CreateAuthorizerOutput struct {

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

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

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

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

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateAuthorizerOutput) String

func (s CreateAuthorizerOutput) String() string

String returns the string representation

type CreateAuthorizerRequest

type CreateAuthorizerRequest struct {
	*aws.Request
	Input *CreateAuthorizerInput
	Copy  func(*CreateAuthorizerInput) CreateAuthorizerRequest
}

CreateAuthorizerRequest is the request type for the CreateAuthorizer API operation.

func (CreateAuthorizerRequest) Send

Send marshals and sends the CreateAuthorizer API request.

type CreateAuthorizerResponse added in v0.9.0

type CreateAuthorizerResponse struct {
	*CreateAuthorizerOutput
	// contains filtered or unexported fields
}

CreateAuthorizerResponse is the response type for the CreateAuthorizer API operation.

func (*CreateAuthorizerResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateAuthorizerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateAuthorizer request.

type CreateDeploymentInput

type CreateDeploymentInput struct {

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

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

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

func (CreateDeploymentInput) MarshalFields

func (s CreateDeploymentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDeploymentInput) String

func (s CreateDeploymentInput) String() string

String returns the string representation

func (*CreateDeploymentInput) Validate

func (s *CreateDeploymentInput) Validate() error

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

type CreateDeploymentOutput

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

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

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

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDeploymentOutput) String

func (s CreateDeploymentOutput) String() string

String returns the string representation

type CreateDeploymentRequest

type CreateDeploymentRequest struct {
	*aws.Request
	Input *CreateDeploymentInput
	Copy  func(*CreateDeploymentInput) CreateDeploymentRequest
}

CreateDeploymentRequest is the request type for the CreateDeployment API operation.

func (CreateDeploymentRequest) Send

Send marshals and sends the CreateDeployment API request.

type CreateDeploymentResponse added in v0.9.0

type CreateDeploymentResponse struct {
	*CreateDeploymentOutput
	// contains filtered or unexported fields
}

CreateDeploymentResponse is the response type for the CreateDeployment API operation.

func (*CreateDeploymentResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDeployment request.

type CreateDomainNameInput

type CreateDomainNameInput struct {

	// A string with a length between [1-512].
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`

	// The domain name configurations.
	DomainNameConfigurations []DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"`

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

func (s CreateDomainNameInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDomainNameInput) String

func (s CreateDomainNameInput) String() string

String returns the string representation

func (*CreateDomainNameInput) Validate

func (s *CreateDomainNameInput) Validate() error

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

type CreateDomainNameOutput

type CreateDomainNameOutput struct {

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

	// A string with a length between [1-512].
	DomainName *string `locationName:"domainName" type:"string"`

	// The domain name configurations.
	DomainNameConfigurations []DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"`

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDomainNameOutput) String

func (s CreateDomainNameOutput) String() string

String returns the string representation

type CreateDomainNameRequest

type CreateDomainNameRequest struct {
	*aws.Request
	Input *CreateDomainNameInput
	Copy  func(*CreateDomainNameInput) CreateDomainNameRequest
}

CreateDomainNameRequest is the request type for the CreateDomainName API operation.

func (CreateDomainNameRequest) Send

Send marshals and sends the CreateDomainName API request.

type CreateDomainNameResponse added in v0.9.0

type CreateDomainNameResponse struct {
	*CreateDomainNameOutput
	// contains filtered or unexported fields
}

CreateDomainNameResponse is the response type for the CreateDomainName API operation.

func (*CreateDomainNameResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateDomainNameResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDomainName request.

type CreateIntegrationInput

type CreateIntegrationInput struct {

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

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

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

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

	// 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 IntegrationType `locationName:"integrationType" type:"string" required:"true" enum:"true"`

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateIntegrationInput) String

func (s CreateIntegrationInput) String() string

String returns the string representation

func (*CreateIntegrationInput) Validate

func (s *CreateIntegrationInput) Validate() error

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

type CreateIntegrationOutput

type CreateIntegrationOutput struct {

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

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

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

	// 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 IntegrationType `locationName:"integrationType" type:"string" enum:"true"`

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateIntegrationOutput) String

func (s CreateIntegrationOutput) String() string

String returns the string representation

type CreateIntegrationRequest

type CreateIntegrationRequest struct {
	*aws.Request
	Input *CreateIntegrationInput
	Copy  func(*CreateIntegrationInput) CreateIntegrationRequest
}

CreateIntegrationRequest is the request type for the CreateIntegration API operation.

func (CreateIntegrationRequest) Send

Send marshals and sends the CreateIntegration API request.

type CreateIntegrationResponse added in v0.9.0

type CreateIntegrationResponse struct {
	*CreateIntegrationOutput
	// contains filtered or unexported fields
}

CreateIntegrationResponse is the response type for the CreateIntegration API operation.

func (*CreateIntegrationResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateIntegrationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateIntegration request.

type CreateIntegrationResponseInput

type CreateIntegrationResponseInput struct {

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

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

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateIntegrationResponseInput) String

String returns the string representation

func (*CreateIntegrationResponseInput) Validate

func (s *CreateIntegrationResponseInput) Validate() error

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

type CreateIntegrationResponseOutput

type CreateIntegrationResponseOutput struct {

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

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateIntegrationResponseOutput) String

String returns the string representation

type CreateIntegrationResponseRequest

type CreateIntegrationResponseRequest struct {
	*aws.Request
	Input *CreateIntegrationResponseInput
	Copy  func(*CreateIntegrationResponseInput) CreateIntegrationResponseRequest
}

CreateIntegrationResponseRequest is the request type for the CreateIntegrationResponse API operation.

func (CreateIntegrationResponseRequest) Send

Send marshals and sends the CreateIntegrationResponse API request.

type CreateIntegrationResponseResponse added in v0.9.0

type CreateIntegrationResponseResponse struct {
	*CreateIntegrationResponseOutput
	// contains filtered or unexported fields
}

CreateIntegrationResponseResponse is the response type for the CreateIntegrationResponse API operation.

func (*CreateIntegrationResponseResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateIntegrationResponseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateIntegrationResponse request.

type CreateModelInput

type CreateModelInput struct {

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

	// A string with a length between [1-256].
	ContentType *string `locationName:"contentType" type:"string"`

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

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

	// A string with a length between [0-32768].
	//
	// Schema is a required field
	Schema *string `locationName:"schema" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateModelInput) MarshalFields

func (s CreateModelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateModelInput) String

func (s CreateModelInput) String() string

String returns the string representation

func (*CreateModelInput) Validate

func (s *CreateModelInput) Validate() error

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

type CreateModelOutput

type CreateModelOutput struct {

	// A string with a length between [1-256].
	ContentType *string `locationName:"contentType" type:"string"`

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

	// The identifier.
	ModelId *string `locationName:"modelId" type:"string"`

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

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

func (CreateModelOutput) MarshalFields

func (s CreateModelOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateModelOutput) String

func (s CreateModelOutput) String() string

String returns the string representation

type CreateModelRequest

type CreateModelRequest struct {
	*aws.Request
	Input *CreateModelInput
	Copy  func(*CreateModelInput) CreateModelRequest
}

CreateModelRequest is the request type for the CreateModel API operation.

func (CreateModelRequest) Send

Send marshals and sends the CreateModel API request.

type CreateModelResponse added in v0.9.0

type CreateModelResponse struct {
	*CreateModelOutput
	// contains filtered or unexported fields
}

CreateModelResponse is the response type for the CreateModel API operation.

func (*CreateModelResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateModelResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateModel request.

type CreateRouteInput

type CreateRouteInput struct {

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

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

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

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

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

func (s CreateRouteInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateRouteInput) String

func (s CreateRouteInput) String() string

String returns the string representation

func (*CreateRouteInput) Validate

func (s *CreateRouteInput) Validate() error

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

type CreateRouteOutput

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

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

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

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

func (s CreateRouteOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateRouteOutput) String

func (s CreateRouteOutput) String() string

String returns the string representation

type CreateRouteRequest

type CreateRouteRequest struct {
	*aws.Request
	Input *CreateRouteInput
	Copy  func(*CreateRouteInput) CreateRouteRequest
}

CreateRouteRequest is the request type for the CreateRoute API operation.

func (CreateRouteRequest) Send

Send marshals and sends the CreateRoute API request.

type CreateRouteResponse added in v0.9.0

type CreateRouteResponse struct {
	*CreateRouteOutput
	// contains filtered or unexported fields
}

CreateRouteResponse is the response type for the CreateRoute API operation.

func (*CreateRouteResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateRouteResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateRoute request.

type CreateRouteResponseInput

type CreateRouteResponseInput struct {

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

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

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

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

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

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

func (CreateRouteResponseInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateRouteResponseInput) String

func (s CreateRouteResponseInput) String() string

String returns the string representation

func (*CreateRouteResponseInput) Validate

func (s *CreateRouteResponseInput) Validate() error

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

type CreateRouteResponseOutput

type CreateRouteResponseOutput struct {

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

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

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

	// The identifier.
	RouteResponseId *string `locationName:"routeResponseId" type:"string"`

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

func (CreateRouteResponseOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateRouteResponseOutput) String

func (s CreateRouteResponseOutput) String() string

String returns the string representation

type CreateRouteResponseRequest

type CreateRouteResponseRequest struct {
	*aws.Request
	Input *CreateRouteResponseInput
	Copy  func(*CreateRouteResponseInput) CreateRouteResponseRequest
}

CreateRouteResponseRequest is the request type for the CreateRouteResponse API operation.

func (CreateRouteResponseRequest) Send

Send marshals and sends the CreateRouteResponse API request.

type CreateRouteResponseResponse added in v0.9.0

type CreateRouteResponseResponse struct {
	*CreateRouteResponseOutput
	// contains filtered or unexported fields
}

CreateRouteResponseResponse is the response type for the CreateRouteResponse API operation.

func (*CreateRouteResponseResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateRouteResponseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateRouteResponse request.

type CreateStageInput

type CreateStageInput struct {

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

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

	// The identifier.
	ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

	// Represents a collection of route settings.
	DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

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

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

	// The route settings map.
	RouteSettings map[string]RouteSettings `locationName:"routeSettings" type:"map"`

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

	// The stage variable map.
	StageVariables map[string]string `locationName:"stageVariables" type:"map"`

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

func (s CreateStageInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateStageInput) String

func (s CreateStageInput) String() string

String returns the string representation

func (*CreateStageInput) Validate

func (s *CreateStageInput) Validate() error

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

type CreateStageOutput

type CreateStageOutput struct {

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

	// The identifier.
	ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

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

	// Represents a collection of route settings.
	DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

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

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

	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"`

	// The route settings map.
	RouteSettings map[string]RouteSettings `locationName:"routeSettings" type:"map"`

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

	// The stage variable map.
	StageVariables map[string]string `locationName:"stageVariables" type:"map"`

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

func (s CreateStageOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateStageOutput) String

func (s CreateStageOutput) String() string

String returns the string representation

type CreateStageRequest

type CreateStageRequest struct {
	*aws.Request
	Input *CreateStageInput
	Copy  func(*CreateStageInput) CreateStageRequest
}

CreateStageRequest is the request type for the CreateStage API operation.

func (CreateStageRequest) Send

Send marshals and sends the CreateStage API request.

type CreateStageResponse added in v0.9.0

type CreateStageResponse struct {
	*CreateStageOutput
	// contains filtered or unexported fields
}

CreateStageResponse is the response type for the CreateStage API operation.

func (*CreateStageResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateStageResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateStage request.

type DeleteApiInput

type DeleteApiInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteApiInput) MarshalFields

func (s DeleteApiInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApiInput) String

func (s DeleteApiInput) String() string

String returns the string representation

func (*DeleteApiInput) Validate

func (s *DeleteApiInput) Validate() error

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

type DeleteApiMappingInput

type DeleteApiMappingInput struct {

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

	// DomainName is a required field
	DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteApiMappingInput) MarshalFields

func (s DeleteApiMappingInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApiMappingInput) String

func (s DeleteApiMappingInput) String() string

String returns the string representation

func (*DeleteApiMappingInput) Validate

func (s *DeleteApiMappingInput) Validate() error

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

type DeleteApiMappingOutput

type DeleteApiMappingOutput struct {
	// contains filtered or unexported fields
}

func (DeleteApiMappingOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApiMappingOutput) String

func (s DeleteApiMappingOutput) String() string

String returns the string representation

type DeleteApiMappingRequest

type DeleteApiMappingRequest struct {
	*aws.Request
	Input *DeleteApiMappingInput
	Copy  func(*DeleteApiMappingInput) DeleteApiMappingRequest
}

DeleteApiMappingRequest is the request type for the DeleteApiMapping API operation.

func (DeleteApiMappingRequest) Send

Send marshals and sends the DeleteApiMapping API request.

type DeleteApiMappingResponse added in v0.9.0

type DeleteApiMappingResponse struct {
	*DeleteApiMappingOutput
	// contains filtered or unexported fields
}

DeleteApiMappingResponse is the response type for the DeleteApiMapping API operation.

func (*DeleteApiMappingResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteApiMappingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteApiMapping request.

type DeleteApiOutput

type DeleteApiOutput struct {
	// contains filtered or unexported fields
}

func (DeleteApiOutput) MarshalFields

func (s DeleteApiOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApiOutput) String

func (s DeleteApiOutput) String() string

String returns the string representation

type DeleteApiRequest

type DeleteApiRequest struct {
	*aws.Request
	Input *DeleteApiInput
	Copy  func(*DeleteApiInput) DeleteApiRequest
}

DeleteApiRequest is the request type for the DeleteApi API operation.

func (DeleteApiRequest) Send

Send marshals and sends the DeleteApi API request.

type DeleteApiResponse added in v0.9.0

type DeleteApiResponse struct {
	*DeleteApiOutput
	// contains filtered or unexported fields
}

DeleteApiResponse is the response type for the DeleteApi API operation.

func (*DeleteApiResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteApiResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteApi request.

type DeleteAuthorizerInput

type DeleteAuthorizerInput struct {

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

	// AuthorizerId is a required field
	AuthorizerId *string `location:"uri" locationName:"authorizerId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAuthorizerInput) MarshalFields

func (s DeleteAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAuthorizerInput) String

func (s DeleteAuthorizerInput) String() string

String returns the string representation

func (*DeleteAuthorizerInput) Validate

func (s *DeleteAuthorizerInput) Validate() error

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

type DeleteAuthorizerOutput

type DeleteAuthorizerOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAuthorizerOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAuthorizerOutput) String

func (s DeleteAuthorizerOutput) String() string

String returns the string representation

type DeleteAuthorizerRequest

type DeleteAuthorizerRequest struct {
	*aws.Request
	Input *DeleteAuthorizerInput
	Copy  func(*DeleteAuthorizerInput) DeleteAuthorizerRequest
}

DeleteAuthorizerRequest is the request type for the DeleteAuthorizer API operation.

func (DeleteAuthorizerRequest) Send

Send marshals and sends the DeleteAuthorizer API request.

type DeleteAuthorizerResponse added in v0.9.0

type DeleteAuthorizerResponse struct {
	*DeleteAuthorizerOutput
	// contains filtered or unexported fields
}

DeleteAuthorizerResponse is the response type for the DeleteAuthorizer API operation.

func (*DeleteAuthorizerResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteAuthorizerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteAuthorizer request.

type DeleteDeploymentInput

type DeleteDeploymentInput struct {

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

	// DeploymentId is a required field
	DeploymentId *string `location:"uri" locationName:"deploymentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDeploymentInput) MarshalFields

func (s DeleteDeploymentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDeploymentInput) String

func (s DeleteDeploymentInput) String() string

String returns the string representation

func (*DeleteDeploymentInput) Validate

func (s *DeleteDeploymentInput) Validate() error

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

type DeleteDeploymentOutput

type DeleteDeploymentOutput struct {
	// contains filtered or unexported fields
}

func (DeleteDeploymentOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDeploymentOutput) String

func (s DeleteDeploymentOutput) String() string

String returns the string representation

type DeleteDeploymentRequest

type DeleteDeploymentRequest struct {
	*aws.Request
	Input *DeleteDeploymentInput
	Copy  func(*DeleteDeploymentInput) DeleteDeploymentRequest
}

DeleteDeploymentRequest is the request type for the DeleteDeployment API operation.

func (DeleteDeploymentRequest) Send

Send marshals and sends the DeleteDeployment API request.

type DeleteDeploymentResponse added in v0.9.0

type DeleteDeploymentResponse struct {
	*DeleteDeploymentOutput
	// contains filtered or unexported fields
}

DeleteDeploymentResponse is the response type for the DeleteDeployment API operation.

func (*DeleteDeploymentResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteDeployment request.

type DeleteDomainNameInput

type DeleteDomainNameInput struct {

	// DomainName is a required field
	DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDomainNameInput) MarshalFields

func (s DeleteDomainNameInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDomainNameInput) String

func (s DeleteDomainNameInput) String() string

String returns the string representation

func (*DeleteDomainNameInput) Validate

func (s *DeleteDomainNameInput) Validate() error

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

type DeleteDomainNameOutput

type DeleteDomainNameOutput struct {
	// contains filtered or unexported fields
}

func (DeleteDomainNameOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDomainNameOutput) String

func (s DeleteDomainNameOutput) String() string

String returns the string representation

type DeleteDomainNameRequest

type DeleteDomainNameRequest struct {
	*aws.Request
	Input *DeleteDomainNameInput
	Copy  func(*DeleteDomainNameInput) DeleteDomainNameRequest
}

DeleteDomainNameRequest is the request type for the DeleteDomainName API operation.

func (DeleteDomainNameRequest) Send

Send marshals and sends the DeleteDomainName API request.

type DeleteDomainNameResponse added in v0.9.0

type DeleteDomainNameResponse struct {
	*DeleteDomainNameOutput
	// contains filtered or unexported fields
}

DeleteDomainNameResponse is the response type for the DeleteDomainName API operation.

func (*DeleteDomainNameResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteDomainNameResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteDomainName request.

type DeleteIntegrationInput

type DeleteIntegrationInput struct {

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

	// IntegrationId is a required field
	IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteIntegrationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteIntegrationInput) String

func (s DeleteIntegrationInput) String() string

String returns the string representation

func (*DeleteIntegrationInput) Validate

func (s *DeleteIntegrationInput) Validate() error

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

type DeleteIntegrationOutput

type DeleteIntegrationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteIntegrationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteIntegrationOutput) String

func (s DeleteIntegrationOutput) String() string

String returns the string representation

type DeleteIntegrationRequest

type DeleteIntegrationRequest struct {
	*aws.Request
	Input *DeleteIntegrationInput
	Copy  func(*DeleteIntegrationInput) DeleteIntegrationRequest
}

DeleteIntegrationRequest is the request type for the DeleteIntegration API operation.

func (DeleteIntegrationRequest) Send

Send marshals and sends the DeleteIntegration API request.

type DeleteIntegrationResponse added in v0.9.0

type DeleteIntegrationResponse struct {
	*DeleteIntegrationOutput
	// contains filtered or unexported fields
}

DeleteIntegrationResponse is the response type for the DeleteIntegration API operation.

func (*DeleteIntegrationResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteIntegrationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteIntegration request.

type DeleteIntegrationResponseInput

type DeleteIntegrationResponseInput struct {

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

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

	// IntegrationResponseId is a required field
	IntegrationResponseId *string `location:"uri" locationName:"integrationResponseId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteIntegrationResponseInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteIntegrationResponseInput) String

String returns the string representation

func (*DeleteIntegrationResponseInput) Validate

func (s *DeleteIntegrationResponseInput) Validate() error

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

type DeleteIntegrationResponseOutput

type DeleteIntegrationResponseOutput struct {
	// contains filtered or unexported fields
}

func (DeleteIntegrationResponseOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteIntegrationResponseOutput) String

String returns the string representation

type DeleteIntegrationResponseRequest

type DeleteIntegrationResponseRequest struct {
	*aws.Request
	Input *DeleteIntegrationResponseInput
	Copy  func(*DeleteIntegrationResponseInput) DeleteIntegrationResponseRequest
}

DeleteIntegrationResponseRequest is the request type for the DeleteIntegrationResponse API operation.

func (DeleteIntegrationResponseRequest) Send

Send marshals and sends the DeleteIntegrationResponse API request.

type DeleteIntegrationResponseResponse added in v0.9.0

type DeleteIntegrationResponseResponse struct {
	*DeleteIntegrationResponseOutput
	// contains filtered or unexported fields
}

DeleteIntegrationResponseResponse is the response type for the DeleteIntegrationResponse API operation.

func (*DeleteIntegrationResponseResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteIntegrationResponseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteIntegrationResponse request.

type DeleteModelInput

type DeleteModelInput struct {

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

	// ModelId is a required field
	ModelId *string `location:"uri" locationName:"modelId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteModelInput) MarshalFields

func (s DeleteModelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteModelInput) String

func (s DeleteModelInput) String() string

String returns the string representation

func (*DeleteModelInput) Validate

func (s *DeleteModelInput) Validate() error

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

type DeleteModelOutput

type DeleteModelOutput struct {
	// contains filtered or unexported fields
}

func (DeleteModelOutput) MarshalFields

func (s DeleteModelOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteModelOutput) String

func (s DeleteModelOutput) String() string

String returns the string representation

type DeleteModelRequest

type DeleteModelRequest struct {
	*aws.Request
	Input *DeleteModelInput
	Copy  func(*DeleteModelInput) DeleteModelRequest
}

DeleteModelRequest is the request type for the DeleteModel API operation.

func (DeleteModelRequest) Send

Send marshals and sends the DeleteModel API request.

type DeleteModelResponse added in v0.9.0

type DeleteModelResponse struct {
	*DeleteModelOutput
	// contains filtered or unexported fields
}

DeleteModelResponse is the response type for the DeleteModel API operation.

func (*DeleteModelResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteModelResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteModel request.

type DeleteRouteInput

type DeleteRouteInput struct {

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

	// RouteId is a required field
	RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRouteInput) MarshalFields

func (s DeleteRouteInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteRouteInput) String

func (s DeleteRouteInput) String() string

String returns the string representation

func (*DeleteRouteInput) Validate

func (s *DeleteRouteInput) Validate() error

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

type DeleteRouteOutput

type DeleteRouteOutput struct {
	// contains filtered or unexported fields
}

func (DeleteRouteOutput) MarshalFields

func (s DeleteRouteOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteRouteOutput) String

func (s DeleteRouteOutput) String() string

String returns the string representation

type DeleteRouteRequest

type DeleteRouteRequest struct {
	*aws.Request
	Input *DeleteRouteInput
	Copy  func(*DeleteRouteInput) DeleteRouteRequest
}

DeleteRouteRequest is the request type for the DeleteRoute API operation.

func (DeleteRouteRequest) Send

Send marshals and sends the DeleteRoute API request.

type DeleteRouteResponse added in v0.9.0

type DeleteRouteResponse struct {
	*DeleteRouteOutput
	// contains filtered or unexported fields
}

DeleteRouteResponse is the response type for the DeleteRoute API operation.

func (*DeleteRouteResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteRouteResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteRoute request.

type DeleteRouteResponseInput

type DeleteRouteResponseInput struct {

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

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

	// RouteResponseId is a required field
	RouteResponseId *string `location:"uri" locationName:"routeResponseId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRouteResponseInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteRouteResponseInput) String

func (s DeleteRouteResponseInput) String() string

String returns the string representation

func (*DeleteRouteResponseInput) Validate

func (s *DeleteRouteResponseInput) Validate() error

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

type DeleteRouteResponseOutput

type DeleteRouteResponseOutput struct {
	// contains filtered or unexported fields
}

func (DeleteRouteResponseOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteRouteResponseOutput) String

func (s DeleteRouteResponseOutput) String() string

String returns the string representation

type DeleteRouteResponseRequest

type DeleteRouteResponseRequest struct {
	*aws.Request
	Input *DeleteRouteResponseInput
	Copy  func(*DeleteRouteResponseInput) DeleteRouteResponseRequest
}

DeleteRouteResponseRequest is the request type for the DeleteRouteResponse API operation.

func (DeleteRouteResponseRequest) Send

Send marshals and sends the DeleteRouteResponse API request.

type DeleteRouteResponseResponse added in v0.9.0

type DeleteRouteResponseResponse struct {
	*DeleteRouteResponseOutput
	// contains filtered or unexported fields
}

DeleteRouteResponseResponse is the response type for the DeleteRouteResponse API operation.

func (*DeleteRouteResponseResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteRouteResponseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteRouteResponse request.

type DeleteStageInput

type DeleteStageInput struct {

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

	// StageName is a required field
	StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteStageInput) MarshalFields

func (s DeleteStageInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteStageInput) String

func (s DeleteStageInput) String() string

String returns the string representation

func (*DeleteStageInput) Validate

func (s *DeleteStageInput) Validate() error

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

type DeleteStageOutput

type DeleteStageOutput struct {
	// contains filtered or unexported fields
}

func (DeleteStageOutput) MarshalFields

func (s DeleteStageOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteStageOutput) String

func (s DeleteStageOutput) String() string

String returns the string representation

type DeleteStageRequest

type DeleteStageRequest struct {
	*aws.Request
	Input *DeleteStageInput
	Copy  func(*DeleteStageInput) DeleteStageRequest
}

DeleteStageRequest is the request type for the DeleteStage API operation.

func (DeleteStageRequest) Send

Send marshals and sends the DeleteStage API request.

type DeleteStageResponse added in v0.9.0

type DeleteStageResponse struct {
	*DeleteStageOutput
	// contains filtered or unexported fields
}

DeleteStageResponse is the response type for the DeleteStage API operation.

func (*DeleteStageResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteStageResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteStage request.

type Deployment

type Deployment struct {

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

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

	// The status of the deployment: PENDING, FAILED, or SUCCEEDED.
	DeploymentStatus DeploymentStatus `locationName:"deploymentStatus" type:"string" enum:"true"`

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

func (s Deployment) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Deployment) String

func (s Deployment) String() string

String returns the string representation

type DeploymentStatus

type DeploymentStatus string

Represents a deployment status.

const (
	DeploymentStatusPending  DeploymentStatus = "PENDING"
	DeploymentStatusFailed   DeploymentStatus = "FAILED"
	DeploymentStatusDeployed DeploymentStatus = "DEPLOYED"
)

Enum values for DeploymentStatus

func (DeploymentStatus) MarshalValue

func (enum DeploymentStatus) MarshalValue() (string, error)

func (DeploymentStatus) MarshalValueBuf

func (enum DeploymentStatus) MarshalValueBuf(b []byte) ([]byte, error)

type DomainName

type DomainName struct {

	// The API mapping selection expression.
	ApiMappingSelectionExpression *string `locationName:"apiMappingSelectionExpression" type:"string"`

	// The name of the DomainName resource.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`

	// The domain name configurations.
	DomainNameConfigurations []DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"`

	// Tags for the DomainName.
	Tags map[string]string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Represents a domain name.

func (DomainName) MarshalFields

func (s DomainName) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DomainName) String

func (s DomainName) String() string

String returns the string representation

type DomainNameConfiguration

type DomainNameConfiguration struct {

	// A domain name for the WebSocket API.
	ApiGatewayDomainName *string `locationName:"apiGatewayDomainName" type:"string"`

	// An AWS-managed certificate that will be used by the edge-optimized endpoint
	// for this domain name. AWS Certificate Manager is the only supported source.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The user-friendly name of the certificate that will be used by the edge-optimized
	// endpoint for this domain name.
	CertificateName *string `locationName:"certificateName" type:"string"`

	// The timestamp when the certificate that was used by edge-optimized endpoint
	// for this domain name was uploaded.
	CertificateUploadDate *time.Time `locationName:"certificateUploadDate" type:"timestamp" timestampFormat:"iso8601"`

	DomainNameStatus DomainNameStatus `locationName:"domainNameStatus" type:"string" enum:"true"`

	// An optional text message containing detailed information about status of
	// the domain name migration.
	DomainNameStatusMessage *string `locationName:"domainNameStatusMessage" type:"string"`

	// The endpoint type.
	EndpointType EndpointType `locationName:"endpointType" type:"string" enum:"true"`

	// The Amazon Route 53 Hosted Zone ID of the endpoint.
	HostedZoneId *string `locationName:"hostedZoneId" type:"string"`

	SecurityPolicy SecurityPolicy `locationName:"securityPolicy" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

The domain name configuration.

func (DomainNameConfiguration) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DomainNameConfiguration) String

func (s DomainNameConfiguration) String() string

String returns the string representation

type DomainNameStatus added in v0.10.0

type DomainNameStatus string
const (
	DomainNameStatusAvailable DomainNameStatus = "AVAILABLE"
	DomainNameStatusUpdating  DomainNameStatus = "UPDATING"
)

Enum values for DomainNameStatus

func (DomainNameStatus) MarshalValue added in v0.10.0

func (enum DomainNameStatus) MarshalValue() (string, error)

func (DomainNameStatus) MarshalValueBuf added in v0.10.0

func (enum DomainNameStatus) MarshalValueBuf(b []byte) ([]byte, error)

type EndpointType

type EndpointType string

Represents an endpoint type.

const (
	EndpointTypeRegional EndpointType = "REGIONAL"
	EndpointTypeEdge     EndpointType = "EDGE"
)

Enum values for EndpointType

func (EndpointType) MarshalValue

func (enum EndpointType) MarshalValue() (string, error)

func (EndpointType) MarshalValueBuf

func (enum EndpointType) MarshalValueBuf(b []byte) ([]byte, error)

type GetApiInput

type GetApiInput struct {

	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetApiInput) MarshalFields

func (s GetApiInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApiInput) String

func (s GetApiInput) String() string

String returns the string representation

func (*GetApiInput) Validate

func (s *GetApiInput) Validate() error

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

type GetApiMappingInput

type GetApiMappingInput struct {

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

	// DomainName is a required field
	DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetApiMappingInput) MarshalFields

func (s GetApiMappingInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApiMappingInput) String

func (s GetApiMappingInput) String() string

String returns the string representation

func (*GetApiMappingInput) Validate

func (s *GetApiMappingInput) Validate() error

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

type GetApiMappingOutput

type GetApiMappingOutput struct {

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

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

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

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

func (GetApiMappingOutput) MarshalFields

func (s GetApiMappingOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApiMappingOutput) String

func (s GetApiMappingOutput) String() string

String returns the string representation

type GetApiMappingRequest

type GetApiMappingRequest struct {
	*aws.Request
	Input *GetApiMappingInput
	Copy  func(*GetApiMappingInput) GetApiMappingRequest
}

GetApiMappingRequest is the request type for the GetApiMapping API operation.

func (GetApiMappingRequest) Send

Send marshals and sends the GetApiMapping API request.

type GetApiMappingResponse added in v0.9.0

type GetApiMappingResponse struct {
	*GetApiMappingOutput
	// contains filtered or unexported fields
}

GetApiMappingResponse is the response type for the GetApiMapping API operation.

func (*GetApiMappingResponse) SDKResponseMetdata added in v0.9.0

func (r *GetApiMappingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetApiMapping request.

type GetApiMappingsInput

type GetApiMappingsInput struct {

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

	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetApiMappingsInput) MarshalFields

func (s GetApiMappingsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApiMappingsInput) String

func (s GetApiMappingsInput) String() string

String returns the string representation

func (*GetApiMappingsInput) Validate

func (s *GetApiMappingsInput) Validate() error

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

type GetApiMappingsOutput

type GetApiMappingsOutput struct {
	Items []ApiMapping `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetApiMappingsOutput) MarshalFields

func (s GetApiMappingsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApiMappingsOutput) String

func (s GetApiMappingsOutput) String() string

String returns the string representation

type GetApiMappingsRequest

type GetApiMappingsRequest struct {
	*aws.Request
	Input *GetApiMappingsInput
	Copy  func(*GetApiMappingsInput) GetApiMappingsRequest
}

GetApiMappingsRequest is the request type for the GetApiMappings API operation.

func (GetApiMappingsRequest) Send

Send marshals and sends the GetApiMappings API request.

type GetApiMappingsResponse added in v0.9.0

type GetApiMappingsResponse struct {
	*GetApiMappingsOutput
	// contains filtered or unexported fields
}

GetApiMappingsResponse is the response type for the GetApiMappings API operation.

func (*GetApiMappingsResponse) SDKResponseMetdata added in v0.9.0

func (r *GetApiMappingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetApiMappings request.

type GetApiOutput

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

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

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

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

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

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

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

	ProtocolType ProtocolType `locationName:"protocolType" type:"string" enum:"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.
	RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

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

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

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

func (GetApiOutput) MarshalFields

func (s GetApiOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApiOutput) String

func (s GetApiOutput) String() string

String returns the string representation

type GetApiRequest

type GetApiRequest struct {
	*aws.Request
	Input *GetApiInput
	Copy  func(*GetApiInput) GetApiRequest
}

GetApiRequest is the request type for the GetApi API operation.

func (GetApiRequest) Send

Send marshals and sends the GetApi API request.

type GetApiResponse added in v0.9.0

type GetApiResponse struct {
	*GetApiOutput
	// contains filtered or unexported fields
}

GetApiResponse is the response type for the GetApi API operation.

func (*GetApiResponse) SDKResponseMetdata added in v0.9.0

func (r *GetApiResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetApi request.

type GetApisInput

type GetApisInput struct {
	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetApisInput) MarshalFields

func (s GetApisInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApisInput) String

func (s GetApisInput) String() string

String returns the string representation

type GetApisOutput

type GetApisOutput struct {
	Items []Api `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetApisOutput) MarshalFields

func (s GetApisOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApisOutput) String

func (s GetApisOutput) String() string

String returns the string representation

type GetApisRequest

type GetApisRequest struct {
	*aws.Request
	Input *GetApisInput
	Copy  func(*GetApisInput) GetApisRequest
}

GetApisRequest is the request type for the GetApis API operation.

func (GetApisRequest) Send

Send marshals and sends the GetApis API request.

type GetApisResponse added in v0.9.0

type GetApisResponse struct {
	*GetApisOutput
	// contains filtered or unexported fields
}

GetApisResponse is the response type for the GetApis API operation.

func (*GetApisResponse) SDKResponseMetdata added in v0.9.0

func (r *GetApisResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetApis request.

type GetAuthorizerInput

type GetAuthorizerInput struct {

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

	// AuthorizerId is a required field
	AuthorizerId *string `location:"uri" locationName:"authorizerId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAuthorizerInput) MarshalFields

func (s GetAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAuthorizerInput) String

func (s GetAuthorizerInput) String() string

String returns the string representation

func (*GetAuthorizerInput) Validate

func (s *GetAuthorizerInput) Validate() error

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

type GetAuthorizerOutput

type GetAuthorizerOutput struct {

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

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

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

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

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

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

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

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

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

func (GetAuthorizerOutput) MarshalFields

func (s GetAuthorizerOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAuthorizerOutput) String

func (s GetAuthorizerOutput) String() string

String returns the string representation

type GetAuthorizerRequest

type GetAuthorizerRequest struct {
	*aws.Request
	Input *GetAuthorizerInput
	Copy  func(*GetAuthorizerInput) GetAuthorizerRequest
}

GetAuthorizerRequest is the request type for the GetAuthorizer API operation.

func (GetAuthorizerRequest) Send

Send marshals and sends the GetAuthorizer API request.

type GetAuthorizerResponse added in v0.9.0

type GetAuthorizerResponse struct {
	*GetAuthorizerOutput
	// contains filtered or unexported fields
}

GetAuthorizerResponse is the response type for the GetAuthorizer API operation.

func (*GetAuthorizerResponse) SDKResponseMetdata added in v0.9.0

func (r *GetAuthorizerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetAuthorizer request.

type GetAuthorizersInput

type GetAuthorizersInput struct {

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

	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetAuthorizersInput) MarshalFields

func (s GetAuthorizersInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAuthorizersInput) String

func (s GetAuthorizersInput) String() string

String returns the string representation

func (*GetAuthorizersInput) Validate

func (s *GetAuthorizersInput) Validate() error

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

type GetAuthorizersOutput

type GetAuthorizersOutput struct {
	Items []Authorizer `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetAuthorizersOutput) MarshalFields

func (s GetAuthorizersOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAuthorizersOutput) String

func (s GetAuthorizersOutput) String() string

String returns the string representation

type GetAuthorizersRequest

type GetAuthorizersRequest struct {
	*aws.Request
	Input *GetAuthorizersInput
	Copy  func(*GetAuthorizersInput) GetAuthorizersRequest
}

GetAuthorizersRequest is the request type for the GetAuthorizers API operation.

func (GetAuthorizersRequest) Send

Send marshals and sends the GetAuthorizers API request.

type GetAuthorizersResponse added in v0.9.0

type GetAuthorizersResponse struct {
	*GetAuthorizersOutput
	// contains filtered or unexported fields
}

GetAuthorizersResponse is the response type for the GetAuthorizers API operation.

func (*GetAuthorizersResponse) SDKResponseMetdata added in v0.9.0

func (r *GetAuthorizersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetAuthorizers request.

type GetDeploymentInput

type GetDeploymentInput struct {

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

	// DeploymentId is a required field
	DeploymentId *string `location:"uri" locationName:"deploymentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDeploymentInput) MarshalFields

func (s GetDeploymentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeploymentInput) String

func (s GetDeploymentInput) String() string

String returns the string representation

func (*GetDeploymentInput) Validate

func (s *GetDeploymentInput) Validate() error

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

type GetDeploymentOutput

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

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

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

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

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

func (GetDeploymentOutput) MarshalFields

func (s GetDeploymentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeploymentOutput) String

func (s GetDeploymentOutput) String() string

String returns the string representation

type GetDeploymentRequest

type GetDeploymentRequest struct {
	*aws.Request
	Input *GetDeploymentInput
	Copy  func(*GetDeploymentInput) GetDeploymentRequest
}

GetDeploymentRequest is the request type for the GetDeployment API operation.

func (GetDeploymentRequest) Send

Send marshals and sends the GetDeployment API request.

type GetDeploymentResponse added in v0.9.0

type GetDeploymentResponse struct {
	*GetDeploymentOutput
	// contains filtered or unexported fields
}

GetDeploymentResponse is the response type for the GetDeployment API operation.

func (*GetDeploymentResponse) SDKResponseMetdata added in v0.9.0

func (r *GetDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDeployment request.

type GetDeploymentsInput

type GetDeploymentsInput struct {

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

	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetDeploymentsInput) MarshalFields

func (s GetDeploymentsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeploymentsInput) String

func (s GetDeploymentsInput) String() string

String returns the string representation

func (*GetDeploymentsInput) Validate

func (s *GetDeploymentsInput) Validate() error

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

type GetDeploymentsOutput

type GetDeploymentsOutput struct {
	Items []Deployment `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetDeploymentsOutput) MarshalFields

func (s GetDeploymentsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeploymentsOutput) String

func (s GetDeploymentsOutput) String() string

String returns the string representation

type GetDeploymentsRequest

type GetDeploymentsRequest struct {
	*aws.Request
	Input *GetDeploymentsInput
	Copy  func(*GetDeploymentsInput) GetDeploymentsRequest
}

GetDeploymentsRequest is the request type for the GetDeployments API operation.

func (GetDeploymentsRequest) Send

Send marshals and sends the GetDeployments API request.

type GetDeploymentsResponse added in v0.9.0

type GetDeploymentsResponse struct {
	*GetDeploymentsOutput
	// contains filtered or unexported fields
}

GetDeploymentsResponse is the response type for the GetDeployments API operation.

func (*GetDeploymentsResponse) SDKResponseMetdata added in v0.9.0

func (r *GetDeploymentsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDeployments request.

type GetDomainNameInput

type GetDomainNameInput struct {

	// DomainName is a required field
	DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDomainNameInput) MarshalFields

func (s GetDomainNameInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDomainNameInput) String

func (s GetDomainNameInput) String() string

String returns the string representation

func (*GetDomainNameInput) Validate

func (s *GetDomainNameInput) Validate() error

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

type GetDomainNameOutput

type GetDomainNameOutput struct {

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

	// A string with a length between [1-512].
	DomainName *string `locationName:"domainName" type:"string"`

	// The domain name configurations.
	DomainNameConfigurations []DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"`

	// 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 (GetDomainNameOutput) MarshalFields

func (s GetDomainNameOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDomainNameOutput) String

func (s GetDomainNameOutput) String() string

String returns the string representation

type GetDomainNameRequest

type GetDomainNameRequest struct {
	*aws.Request
	Input *GetDomainNameInput
	Copy  func(*GetDomainNameInput) GetDomainNameRequest
}

GetDomainNameRequest is the request type for the GetDomainName API operation.

func (GetDomainNameRequest) Send

Send marshals and sends the GetDomainName API request.

type GetDomainNameResponse added in v0.9.0

type GetDomainNameResponse struct {
	*GetDomainNameOutput
	// contains filtered or unexported fields
}

GetDomainNameResponse is the response type for the GetDomainName API operation.

func (*GetDomainNameResponse) SDKResponseMetdata added in v0.9.0

func (r *GetDomainNameResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDomainName request.

type GetDomainNamesInput

type GetDomainNamesInput struct {
	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetDomainNamesInput) MarshalFields

func (s GetDomainNamesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDomainNamesInput) String

func (s GetDomainNamesInput) String() string

String returns the string representation

type GetDomainNamesOutput

type GetDomainNamesOutput struct {
	Items []DomainName `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetDomainNamesOutput) MarshalFields

func (s GetDomainNamesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDomainNamesOutput) String

func (s GetDomainNamesOutput) String() string

String returns the string representation

type GetDomainNamesRequest

type GetDomainNamesRequest struct {
	*aws.Request
	Input *GetDomainNamesInput
	Copy  func(*GetDomainNamesInput) GetDomainNamesRequest
}

GetDomainNamesRequest is the request type for the GetDomainNames API operation.

func (GetDomainNamesRequest) Send

Send marshals and sends the GetDomainNames API request.

type GetDomainNamesResponse added in v0.9.0

type GetDomainNamesResponse struct {
	*GetDomainNamesOutput
	// contains filtered or unexported fields
}

GetDomainNamesResponse is the response type for the GetDomainNames API operation.

func (*GetDomainNamesResponse) SDKResponseMetdata added in v0.9.0

func (r *GetDomainNamesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDomainNames request.

type GetIntegrationInput

type GetIntegrationInput struct {

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

	// IntegrationId is a required field
	IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetIntegrationInput) MarshalFields

func (s GetIntegrationInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetIntegrationInput) String

func (s GetIntegrationInput) String() string

String returns the string representation

func (*GetIntegrationInput) Validate

func (s *GetIntegrationInput) Validate() error

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

type GetIntegrationOutput

type GetIntegrationOutput struct {

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

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

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

	// 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 IntegrationType `locationName:"integrationType" type:"string" enum:"true"`

	// 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 PassthroughBehavior `locationName:"passthroughBehavior" type:"string" enum:"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.
	RequestParameters map[string]string `locationName:"requestParameters" type:"map"`

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

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

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

func (GetIntegrationOutput) MarshalFields

func (s GetIntegrationOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetIntegrationOutput) String

func (s GetIntegrationOutput) String() string

String returns the string representation

type GetIntegrationRequest

type GetIntegrationRequest struct {
	*aws.Request
	Input *GetIntegrationInput
	Copy  func(*GetIntegrationInput) GetIntegrationRequest
}

GetIntegrationRequest is the request type for the GetIntegration API operation.

func (GetIntegrationRequest) Send

Send marshals and sends the GetIntegration API request.

type GetIntegrationResponse added in v0.9.0

type GetIntegrationResponse struct {
	*GetIntegrationOutput
	// contains filtered or unexported fields
}

GetIntegrationResponse is the response type for the GetIntegration API operation.

func (*GetIntegrationResponse) SDKResponseMetdata added in v0.9.0

func (r *GetIntegrationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetIntegration request.

type GetIntegrationResponseInput

type GetIntegrationResponseInput struct {

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

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

	// IntegrationResponseId is a required field
	IntegrationResponseId *string `location:"uri" locationName:"integrationResponseId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetIntegrationResponseInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetIntegrationResponseInput) String

String returns the string representation

func (*GetIntegrationResponseInput) Validate

func (s *GetIntegrationResponseInput) Validate() error

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

type GetIntegrationResponseOutput

type GetIntegrationResponseOutput struct {

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

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

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

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

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

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

func (GetIntegrationResponseOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetIntegrationResponseOutput) String

String returns the string representation

type GetIntegrationResponseRequest

type GetIntegrationResponseRequest struct {
	*aws.Request
	Input *GetIntegrationResponseInput
	Copy  func(*GetIntegrationResponseInput) GetIntegrationResponseRequest
}

GetIntegrationResponseRequest is the request type for the GetIntegrationResponse API operation.

func (GetIntegrationResponseRequest) Send

Send marshals and sends the GetIntegrationResponse API request.

type GetIntegrationResponseResponse added in v0.9.0

type GetIntegrationResponseResponse struct {
	*GetIntegrationResponseOutput
	// contains filtered or unexported fields
}

GetIntegrationResponseResponse is the response type for the GetIntegrationResponse API operation.

func (*GetIntegrationResponseResponse) SDKResponseMetdata added in v0.9.0

func (r *GetIntegrationResponseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetIntegrationResponse request.

type GetIntegrationResponsesInput

type GetIntegrationResponsesInput struct {

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

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

	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetIntegrationResponsesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetIntegrationResponsesInput) String

String returns the string representation

func (*GetIntegrationResponsesInput) Validate

func (s *GetIntegrationResponsesInput) Validate() error

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

type GetIntegrationResponsesOutput

type GetIntegrationResponsesOutput struct {
	Items []IntegrationResponse `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetIntegrationResponsesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetIntegrationResponsesOutput) String

String returns the string representation

type GetIntegrationResponsesRequest

type GetIntegrationResponsesRequest struct {
	*aws.Request
	Input *GetIntegrationResponsesInput
	Copy  func(*GetIntegrationResponsesInput) GetIntegrationResponsesRequest
}

GetIntegrationResponsesRequest is the request type for the GetIntegrationResponses API operation.

func (GetIntegrationResponsesRequest) Send

Send marshals and sends the GetIntegrationResponses API request.

type GetIntegrationResponsesResponse added in v0.9.0

type GetIntegrationResponsesResponse struct {
	*GetIntegrationResponsesOutput
	// contains filtered or unexported fields
}

GetIntegrationResponsesResponse is the response type for the GetIntegrationResponses API operation.

func (*GetIntegrationResponsesResponse) SDKResponseMetdata added in v0.9.0

func (r *GetIntegrationResponsesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetIntegrationResponses request.

type GetIntegrationsInput

type GetIntegrationsInput struct {

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

	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetIntegrationsInput) MarshalFields

func (s GetIntegrationsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetIntegrationsInput) String

func (s GetIntegrationsInput) String() string

String returns the string representation

func (*GetIntegrationsInput) Validate

func (s *GetIntegrationsInput) Validate() error

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

type GetIntegrationsOutput

type GetIntegrationsOutput struct {
	Items []Integration `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetIntegrationsOutput) MarshalFields

func (s GetIntegrationsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetIntegrationsOutput) String

func (s GetIntegrationsOutput) String() string

String returns the string representation

type GetIntegrationsRequest

type GetIntegrationsRequest struct {
	*aws.Request
	Input *GetIntegrationsInput
	Copy  func(*GetIntegrationsInput) GetIntegrationsRequest
}

GetIntegrationsRequest is the request type for the GetIntegrations API operation.

func (GetIntegrationsRequest) Send

Send marshals and sends the GetIntegrations API request.

type GetIntegrationsResponse added in v0.9.0

type GetIntegrationsResponse struct {
	*GetIntegrationsOutput
	// contains filtered or unexported fields
}

GetIntegrationsResponse is the response type for the GetIntegrations API operation.

func (*GetIntegrationsResponse) SDKResponseMetdata added in v0.9.0

func (r *GetIntegrationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetIntegrations request.

type GetModelInput

type GetModelInput struct {

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

	// ModelId is a required field
	ModelId *string `location:"uri" locationName:"modelId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetModelInput) MarshalFields

func (s GetModelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetModelInput) String

func (s GetModelInput) String() string

String returns the string representation

func (*GetModelInput) Validate

func (s *GetModelInput) Validate() error

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

type GetModelOutput

type GetModelOutput struct {

	// A string with a length between [1-256].
	ContentType *string `locationName:"contentType" type:"string"`

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

	// The identifier.
	ModelId *string `locationName:"modelId" type:"string"`

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

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

func (GetModelOutput) MarshalFields

func (s GetModelOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetModelOutput) String

func (s GetModelOutput) String() string

String returns the string representation

type GetModelRequest

type GetModelRequest struct {
	*aws.Request
	Input *GetModelInput
	Copy  func(*GetModelInput) GetModelRequest
}

GetModelRequest is the request type for the GetModel API operation.

func (GetModelRequest) Send

Send marshals and sends the GetModel API request.

type GetModelResponse added in v0.9.0

type GetModelResponse struct {
	*GetModelOutput
	// contains filtered or unexported fields
}

GetModelResponse is the response type for the GetModel API operation.

func (*GetModelResponse) SDKResponseMetdata added in v0.9.0

func (r *GetModelResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetModel request.

type GetModelTemplateInput

type GetModelTemplateInput struct {

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

	// ModelId is a required field
	ModelId *string `location:"uri" locationName:"modelId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetModelTemplateInput) MarshalFields

func (s GetModelTemplateInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetModelTemplateInput) String

func (s GetModelTemplateInput) String() string

String returns the string representation

func (*GetModelTemplateInput) Validate

func (s *GetModelTemplateInput) Validate() error

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

type GetModelTemplateOutput

type GetModelTemplateOutput struct {
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

func (GetModelTemplateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetModelTemplateOutput) String

func (s GetModelTemplateOutput) String() string

String returns the string representation

type GetModelTemplateRequest

type GetModelTemplateRequest struct {
	*aws.Request
	Input *GetModelTemplateInput
	Copy  func(*GetModelTemplateInput) GetModelTemplateRequest
}

GetModelTemplateRequest is the request type for the GetModelTemplate API operation.

func (GetModelTemplateRequest) Send

Send marshals and sends the GetModelTemplate API request.

type GetModelTemplateResponse added in v0.9.0

type GetModelTemplateResponse struct {
	*GetModelTemplateOutput
	// contains filtered or unexported fields
}

GetModelTemplateResponse is the response type for the GetModelTemplate API operation.

func (*GetModelTemplateResponse) SDKResponseMetdata added in v0.9.0

func (r *GetModelTemplateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetModelTemplate request.

type GetModelsInput

type GetModelsInput struct {

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

	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetModelsInput) MarshalFields

func (s GetModelsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetModelsInput) String

func (s GetModelsInput) String() string

String returns the string representation

func (*GetModelsInput) Validate

func (s *GetModelsInput) Validate() error

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

type GetModelsOutput

type GetModelsOutput struct {
	Items []Model `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetModelsOutput) MarshalFields

func (s GetModelsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetModelsOutput) String

func (s GetModelsOutput) String() string

String returns the string representation

type GetModelsRequest

type GetModelsRequest struct {
	*aws.Request
	Input *GetModelsInput
	Copy  func(*GetModelsInput) GetModelsRequest
}

GetModelsRequest is the request type for the GetModels API operation.

func (GetModelsRequest) Send

Send marshals and sends the GetModels API request.

type GetModelsResponse added in v0.9.0

type GetModelsResponse struct {
	*GetModelsOutput
	// contains filtered or unexported fields
}

GetModelsResponse is the response type for the GetModels API operation.

func (*GetModelsResponse) SDKResponseMetdata added in v0.9.0

func (r *GetModelsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetModels request.

type GetRouteInput

type GetRouteInput struct {

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

	// RouteId is a required field
	RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRouteInput) MarshalFields

func (s GetRouteInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRouteInput) String

func (s GetRouteInput) String() string

String returns the string representation

func (*GetRouteInput) Validate

func (s *GetRouteInput) Validate() error

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

type GetRouteOutput

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

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

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

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

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

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

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

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

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

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

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

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

func (GetRouteOutput) MarshalFields

func (s GetRouteOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRouteOutput) String

func (s GetRouteOutput) String() string

String returns the string representation

type GetRouteRequest

type GetRouteRequest struct {
	*aws.Request
	Input *GetRouteInput
	Copy  func(*GetRouteInput) GetRouteRequest
}

GetRouteRequest is the request type for the GetRoute API operation.

func (GetRouteRequest) Send

Send marshals and sends the GetRoute API request.

type GetRouteResponse added in v0.9.0

type GetRouteResponse struct {
	*GetRouteOutput
	// contains filtered or unexported fields
}

GetRouteResponse is the response type for the GetRoute API operation.

func (*GetRouteResponse) SDKResponseMetdata added in v0.9.0

func (r *GetRouteResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRoute request.

type GetRouteResponseInput

type GetRouteResponseInput struct {

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

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

	// RouteResponseId is a required field
	RouteResponseId *string `location:"uri" locationName:"routeResponseId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRouteResponseInput) MarshalFields

func (s GetRouteResponseInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRouteResponseInput) String

func (s GetRouteResponseInput) String() string

String returns the string representation

func (*GetRouteResponseInput) Validate

func (s *GetRouteResponseInput) Validate() error

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

type GetRouteResponseOutput

type GetRouteResponseOutput struct {

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

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

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

	// The identifier.
	RouteResponseId *string `locationName:"routeResponseId" type:"string"`

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

func (GetRouteResponseOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRouteResponseOutput) String

func (s GetRouteResponseOutput) String() string

String returns the string representation

type GetRouteResponseRequest

type GetRouteResponseRequest struct {
	*aws.Request
	Input *GetRouteResponseInput
	Copy  func(*GetRouteResponseInput) GetRouteResponseRequest
}

GetRouteResponseRequest is the request type for the GetRouteResponse API operation.

func (GetRouteResponseRequest) Send

Send marshals and sends the GetRouteResponse API request.

type GetRouteResponseResponse added in v0.9.0

type GetRouteResponseResponse struct {
	*GetRouteResponseOutput
	// contains filtered or unexported fields
}

GetRouteResponseResponse is the response type for the GetRouteResponse API operation.

func (*GetRouteResponseResponse) SDKResponseMetdata added in v0.9.0

func (r *GetRouteResponseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRouteResponse request.

type GetRouteResponsesInput

type GetRouteResponsesInput struct {

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

	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// RouteId is a required field
	RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRouteResponsesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRouteResponsesInput) String

func (s GetRouteResponsesInput) String() string

String returns the string representation

func (*GetRouteResponsesInput) Validate

func (s *GetRouteResponsesInput) Validate() error

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

type GetRouteResponsesOutput

type GetRouteResponsesOutput struct {
	Items []RouteResponse `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetRouteResponsesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRouteResponsesOutput) String

func (s GetRouteResponsesOutput) String() string

String returns the string representation

type GetRouteResponsesRequest

type GetRouteResponsesRequest struct {
	*aws.Request
	Input *GetRouteResponsesInput
	Copy  func(*GetRouteResponsesInput) GetRouteResponsesRequest
}

GetRouteResponsesRequest is the request type for the GetRouteResponses API operation.

func (GetRouteResponsesRequest) Send

Send marshals and sends the GetRouteResponses API request.

type GetRouteResponsesResponse added in v0.9.0

type GetRouteResponsesResponse struct {
	*GetRouteResponsesOutput
	// contains filtered or unexported fields
}

GetRouteResponsesResponse is the response type for the GetRouteResponses API operation.

func (*GetRouteResponsesResponse) SDKResponseMetdata added in v0.9.0

func (r *GetRouteResponsesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRouteResponses request.

type GetRoutesInput

type GetRoutesInput struct {

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

	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetRoutesInput) MarshalFields

func (s GetRoutesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRoutesInput) String

func (s GetRoutesInput) String() string

String returns the string representation

func (*GetRoutesInput) Validate

func (s *GetRoutesInput) Validate() error

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

type GetRoutesOutput

type GetRoutesOutput struct {
	Items []Route `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetRoutesOutput) MarshalFields

func (s GetRoutesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRoutesOutput) String

func (s GetRoutesOutput) String() string

String returns the string representation

type GetRoutesRequest

type GetRoutesRequest struct {
	*aws.Request
	Input *GetRoutesInput
	Copy  func(*GetRoutesInput) GetRoutesRequest
}

GetRoutesRequest is the request type for the GetRoutes API operation.

func (GetRoutesRequest) Send

Send marshals and sends the GetRoutes API request.

type GetRoutesResponse added in v0.9.0

type GetRoutesResponse struct {
	*GetRoutesOutput
	// contains filtered or unexported fields
}

GetRoutesResponse is the response type for the GetRoutes API operation.

func (*GetRoutesResponse) SDKResponseMetdata added in v0.9.0

func (r *GetRoutesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRoutes request.

type GetStageInput

type GetStageInput struct {

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

	// StageName is a required field
	StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetStageInput) MarshalFields

func (s GetStageInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetStageInput) String

func (s GetStageInput) String() string

String returns the string representation

func (*GetStageInput) Validate

func (s *GetStageInput) Validate() error

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

type GetStageOutput

type GetStageOutput struct {

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

	// The identifier.
	ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

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

	// Represents a collection of route settings.
	DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

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

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

	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"`

	// The route settings map.
	RouteSettings map[string]RouteSettings `locationName:"routeSettings" type:"map"`

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

	// The stage variable map.
	StageVariables map[string]string `locationName:"stageVariables" type:"map"`

	// 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 (GetStageOutput) MarshalFields

func (s GetStageOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetStageOutput) String

func (s GetStageOutput) String() string

String returns the string representation

type GetStageRequest

type GetStageRequest struct {
	*aws.Request
	Input *GetStageInput
	Copy  func(*GetStageInput) GetStageRequest
}

GetStageRequest is the request type for the GetStage API operation.

func (GetStageRequest) Send

Send marshals and sends the GetStage API request.

type GetStageResponse added in v0.9.0

type GetStageResponse struct {
	*GetStageOutput
	// contains filtered or unexported fields
}

GetStageResponse is the response type for the GetStage API operation.

func (*GetStageResponse) SDKResponseMetdata added in v0.9.0

func (r *GetStageResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetStage request.

type GetStagesInput

type GetStagesInput struct {

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

	MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetStagesInput) MarshalFields

func (s GetStagesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetStagesInput) String

func (s GetStagesInput) String() string

String returns the string representation

func (*GetStagesInput) Validate

func (s *GetStagesInput) Validate() error

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

type GetStagesOutput

type GetStagesOutput struct {
	Items []Stage `locationName:"items" type:"list"`

	// The next page of elements from this collection. Not valid for the last element
	// of the collection.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetStagesOutput) MarshalFields

func (s GetStagesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetStagesOutput) String

func (s GetStagesOutput) String() string

String returns the string representation

type GetStagesRequest

type GetStagesRequest struct {
	*aws.Request
	Input *GetStagesInput
	Copy  func(*GetStagesInput) GetStagesRequest
}

GetStagesRequest is the request type for the GetStages API operation.

func (GetStagesRequest) Send

Send marshals and sends the GetStages API request.

type GetStagesResponse added in v0.9.0

type GetStagesResponse struct {
	*GetStagesOutput
	// contains filtered or unexported fields
}

GetStagesResponse is the response type for the GetStages API operation.

func (*GetStagesResponse) SDKResponseMetdata added in v0.9.0

func (r *GetStagesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetStages request.

type GetTagsInput added in v0.10.0

type GetTagsInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetTagsInput) MarshalFields added in v0.10.0

func (s GetTagsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetTagsInput) String added in v0.10.0

func (s GetTagsInput) String() string

String returns the string representation

func (*GetTagsInput) Validate added in v0.10.0

func (s *GetTagsInput) Validate() error

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

type GetTagsOutput added in v0.10.0

type GetTagsOutput struct {
	Tags map[string]string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (GetTagsOutput) MarshalFields added in v0.10.0

func (s GetTagsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetTagsOutput) String added in v0.10.0

func (s GetTagsOutput) String() string

String returns the string representation

type GetTagsRequest added in v0.10.0

type GetTagsRequest struct {
	*aws.Request
	Input *GetTagsInput
	Copy  func(*GetTagsInput) GetTagsRequest
}

GetTagsRequest is the request type for the GetTags API operation.

func (GetTagsRequest) Send added in v0.10.0

Send marshals and sends the GetTags API request.

type GetTagsResponse added in v0.10.0

type GetTagsResponse struct {
	*GetTagsOutput
	// contains filtered or unexported fields
}

GetTagsResponse is the response type for the GetTags API operation.

func (*GetTagsResponse) SDKResponseMetdata added in v0.10.0

func (r *GetTagsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetTags request.

type Integration

type Integration struct {

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

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

	// Specifies how to handle response payload content type conversions. Supported
	// values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:
	//
	// CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string
	// to the corresponding binary blob.
	//
	// CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded
	// string.
	//
	// If this property is not defined, the response payload will be passed through
	// from the integration response to the route response or method response without
	// modification.
	ContentHandlingStrategy ContentHandlingStrategy `locationName:"contentHandlingStrategy" type:"string" enum:"true"`

	// Specifies the credentials required for the integration, if any. For AWS integrations,
	// three options are available. To specify an IAM Role for API Gateway to assume,
	// use the role's Amazon Resource Name (ARN). To require that the caller's identity
	// be passed through from the request, specify the string arn:aws:iam::*:user/*.
	// To use resource-based permissions on supported AWS services, specify null.
	CredentialsArn *string `locationName:"credentialsArn" type:"string"`

	// Represents the description of an integration.
	Description *string `locationName:"description" type:"string"`

	// Represents the identifier of an integration.
	IntegrationId *string `locationName:"integrationId" type:"string"`

	// Specifies the integration's HTTP method type.
	IntegrationMethod *string `locationName:"integrationMethod" type:"string"`

	// The integration response selection expression for the integration. See Integration
	// Response Selection Expressions (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-integration-response-selection-expressions).
	IntegrationResponseSelectionExpression *string `locationName:"integrationResponseSelectionExpression" type:"string"`

	// The integration type of an integration. One of the following:
	//
	// AWS: for integrating the route or method request with an AWS service action,
	// including the Lambda function-invoking action. With the Lambda function-invoking
	// action, this is referred to as the Lambda custom integration. With any other
	// AWS service action, this is known as AWS integration.
	//
	// AWS_PROXY: for integrating the route or method request with the Lambda function-invoking
	// action with the client request passed through as-is. This integration is
	// also referred to as Lambda proxy integration.
	//
	// HTTP: for integrating the route or method request with an HTTP endpoint.
	// This integration is also referred to as the HTTP custom integration.
	//
	// HTTP_PROXY: for integrating route or method request with an HTTP endpoint,
	// with the client request passed through as-is. This is also referred to as
	// HTTP proxy integration.
	//
	// MOCK: for integrating the route or method request with API Gateway as a "loopback"
	// endpoint without invoking any backend.
	IntegrationType IntegrationType `locationName:"integrationType" type:"string" enum:"true"`

	// For a Lambda proxy integration, this is the URI of the Lambda function.
	IntegrationUri *string `locationName:"integrationUri" type:"string"`

	// Specifies the pass-through behavior for incoming requests based on the Content-Type
	// header in the request, and the available mapping templates specified as the
	// requestTemplates property on the Integration resource. There are three valid
	// values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER.
	//
	// WHEN_NO_MATCH passes the request body for unmapped content types through
	// to the integration backend without transformation.
	//
	// NEVER rejects unmapped content types with an HTTP 415 Unsupported Media Type
	// response.
	//
	// WHEN_NO_TEMPLATES allows pass-through when the integration has no content
	// types mapped to templates. However, if there is at least one content type
	// defined, unmapped content types will be rejected with the same HTTP 415 Unsupported
	// Media Type response.
	PassthroughBehavior PassthroughBehavior `locationName:"passthroughBehavior" type:"string" enum:"true"`

	// A key-value map specifying request parameters that are passed from the method
	// request to the backend. The key is an integration request parameter name
	// and the associated value is a method request parameter value or static value
	// that must be enclosed within single quotes and pre-encoded as required by
	// the backend. The method request parameter value must match the pattern of
	// method.request.{location}.{name} , where {location} is querystring, path,
	// or header; and {name} must be a valid and unique method request parameter
	// name.
	RequestParameters map[string]string `locationName:"requestParameters" type:"map"`

	// Represents a map of Velocity templates that are applied on the request payload
	// based on the value of the Content-Type header sent by the client. The content
	// type value is the key in this map, and the template (as a String) is the
	// value.
	RequestTemplates map[string]string `locationName:"requestTemplates" type:"map"`

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

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

Represents an integration.

func (Integration) MarshalFields

func (s Integration) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Integration) String

func (s Integration) String() string

String returns the string representation

type IntegrationResponse

type IntegrationResponse struct {

	// Specifies how to handle response payload content type conversions. Supported
	// values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:
	//
	// CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string
	// to the corresponding binary blob.
	//
	// CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded
	// string.
	//
	// If this property is not defined, the response payload will be passed through
	// from the integration response to the route response or method response without
	// modification.
	ContentHandlingStrategy ContentHandlingStrategy `locationName:"contentHandlingStrategy" type:"string" enum:"true"`

	// The integration response ID.
	IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"`

	// The integration response key.
	//
	// IntegrationResponseKey is a required field
	IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string" required:"true"`

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

	// The collection of response templates for the integration response as a string-to-string
	// map of key-value pairs. Response templates are represented as a key/value
	// map, with a content-type as the key and a template as the value.
	ResponseTemplates map[string]string `locationName:"responseTemplates" type:"map"`

	// The template selection expressions for the integration response.
	TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"`
	// contains filtered or unexported fields
}

Represents an integration response.

func (IntegrationResponse) MarshalFields

func (s IntegrationResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (IntegrationResponse) String

func (s IntegrationResponse) String() string

String returns the string representation

type IntegrationType

type IntegrationType string

Represents an API method integration type.

const (
	IntegrationTypeAws       IntegrationType = "AWS"
	IntegrationTypeHttp      IntegrationType = "HTTP"
	IntegrationTypeMock      IntegrationType = "MOCK"
	IntegrationTypeHttpProxy IntegrationType = "HTTP_PROXY"
	IntegrationTypeAwsProxy  IntegrationType = "AWS_PROXY"
)

Enum values for IntegrationType

func (IntegrationType) MarshalValue

func (enum IntegrationType) MarshalValue() (string, error)

func (IntegrationType) MarshalValueBuf

func (enum IntegrationType) MarshalValueBuf(b []byte) ([]byte, error)

type LoggingLevel

type LoggingLevel string

The logging level.

const (
	LoggingLevelError LoggingLevel = "ERROR"
	LoggingLevelInfo  LoggingLevel = "INFO"
	LoggingLevelFalse LoggingLevel = "false"
)

Enum values for LoggingLevel

func (LoggingLevel) MarshalValue

func (enum LoggingLevel) MarshalValue() (string, error)

func (LoggingLevel) MarshalValueBuf

func (enum LoggingLevel) MarshalValueBuf(b []byte) ([]byte, error)

type Model

type Model struct {

	// The content-type for the model, for example, "application/json".
	ContentType *string `locationName:"contentType" type:"string"`

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

	// The model identifier.
	ModelId *string `locationName:"modelId" type:"string"`

	// The name of the model. Must be alphanumeric.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The schema for the model. For application/json models, this should be JSON
	// schema draft 4 model.
	Schema *string `locationName:"schema" type:"string"`
	// contains filtered or unexported fields
}

Represents a data model for an API. See Create Models and Mapping Templates for Request and Response Mappings (https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html).

func (Model) MarshalFields

func (s Model) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Model) String

func (s Model) String() string

String returns the string representation

type ParameterConstraints

type ParameterConstraints struct {

	// Whether or not the parameter is required.
	Required *bool `locationName:"required" type:"boolean"`
	// contains filtered or unexported fields
}

Validation constraints imposed on parameters of a request (path, query string, headers).

func (ParameterConstraints) MarshalFields

func (s ParameterConstraints) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ParameterConstraints) String

func (s ParameterConstraints) String() string

String returns the string representation

type PassthroughBehavior

type PassthroughBehavior string

Represents passthrough behavior for an integration response.

const (
	PassthroughBehaviorWhenNoMatch     PassthroughBehavior = "WHEN_NO_MATCH"
	PassthroughBehaviorNever           PassthroughBehavior = "NEVER"
	PassthroughBehaviorWhenNoTemplates PassthroughBehavior = "WHEN_NO_TEMPLATES"
)

Enum values for PassthroughBehavior

func (PassthroughBehavior) MarshalValue

func (enum PassthroughBehavior) MarshalValue() (string, error)

func (PassthroughBehavior) MarshalValueBuf

func (enum PassthroughBehavior) MarshalValueBuf(b []byte) ([]byte, error)

type ProtocolType

type ProtocolType string
const (
	ProtocolTypeWebsocket ProtocolType = "WEBSOCKET"
)

Enum values for ProtocolType

func (ProtocolType) MarshalValue

func (enum ProtocolType) MarshalValue() (string, error)

func (ProtocolType) MarshalValueBuf

func (enum ProtocolType) MarshalValueBuf(b []byte) ([]byte, error)

type Route

type Route struct {

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

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

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

	// The identifier of the Authorizer resource to be associated with this route,
	// if the authorizationType is CUSTOM . The authorizer identifier is generated
	// by API Gateway when you created the authorizer.
	AuthorizerId *string `locationName:"authorizerId" type:"string"`

	// The model selection expression for the route.
	ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

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

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

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

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

	// The route key for the route.
	//
	// RouteKey is a required field
	RouteKey *string `locationName:"routeKey" type:"string" required:"true"`

	// The route response selection expression for the route.
	RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"`

	// The target for the route.
	Target *string `locationName:"target" type:"string"`
	// contains filtered or unexported fields
}

Represents a route.

func (Route) MarshalFields

func (s Route) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Route) String

func (s Route) String() string

String returns the string representation

type RouteResponse

type RouteResponse struct {

	// Represents the model selection expression of a route response.
	ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"`

	// Represents the response models of a route response.
	ResponseModels map[string]string `locationName:"responseModels" type:"map"`

	// Represents the response parameters of a route response.
	ResponseParameters map[string]ParameterConstraints `locationName:"responseParameters" type:"map"`

	// Represents the identifier of a route response.
	RouteResponseId *string `locationName:"routeResponseId" type:"string"`

	// Represents the route response key of a route response.
	//
	// RouteResponseKey is a required field
	RouteResponseKey *string `locationName:"routeResponseKey" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents a route response.

func (RouteResponse) MarshalFields

func (s RouteResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RouteResponse) String

func (s RouteResponse) String() string

String returns the string representation

type RouteSettings

type RouteSettings struct {

	// Specifies whether (true) or not (false) data trace logging is enabled for
	// this route. This property affects the log entries pushed to Amazon CloudWatch
	// Logs.
	DataTraceEnabled *bool `locationName:"dataTraceEnabled" type:"boolean"`

	// Specifies whether detailed metrics are enabled.
	DetailedMetricsEnabled *bool `locationName:"detailedMetricsEnabled" type:"boolean"`

	// Specifies the logging level for this route: DEBUG, INFO, or WARN. This property
	// affects the log entries pushed to Amazon CloudWatch Logs.
	LoggingLevel LoggingLevel `locationName:"loggingLevel" type:"string" enum:"true"`

	// Specifies the throttling burst limit.
	ThrottlingBurstLimit *int64 `locationName:"throttlingBurstLimit" type:"integer"`

	// Specifies the throttling rate limit.
	ThrottlingRateLimit *float64 `locationName:"throttlingRateLimit" type:"double"`
	// contains filtered or unexported fields
}

Represents a collection of route settings.

func (RouteSettings) MarshalFields

func (s RouteSettings) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RouteSettings) String

func (s RouteSettings) String() string

String returns the string representation

type SecurityPolicy added in v0.10.0

type SecurityPolicy string
const (
	SecurityPolicyTls10 SecurityPolicy = "TLS_1_0"
	SecurityPolicyTls12 SecurityPolicy = "TLS_1_2"
)

Enum values for SecurityPolicy

func (SecurityPolicy) MarshalValue added in v0.10.0

func (enum SecurityPolicy) MarshalValue() (string, error)

func (SecurityPolicy) MarshalValueBuf added in v0.10.0

func (enum SecurityPolicy) MarshalValueBuf(b []byte) ([]byte, error)

type Stage

type Stage struct {

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

	// The identifier of a client certificate for a Stage.
	ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

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

	// Default route settings for the stage.
	DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

	// The identifier of the Deployment that the Stage is associated with.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

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

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

	// Route settings for the stage.
	RouteSettings map[string]RouteSettings `locationName:"routeSettings" type:"map"`

	// The name of the stage.
	//
	// StageName is a required field
	StageName *string `locationName:"stageName" type:"string" required:"true"`

	// A map that defines the stage variables for a stage resource. Variable names
	// can have alphanumeric and underscore characters, and the values must match
	// [A-Za-z0-9-._~:/?#&=,]+.
	StageVariables map[string]string `locationName:"stageVariables" type:"map"`

	// Tags for the Stage.
	Tags map[string]string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Represents an API stage.

func (Stage) MarshalFields

func (s Stage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Stage) String

func (s Stage) String() string

String returns the string representation

type TagResourceInput added in v0.10.0

type TagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

	// 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 (TagResourceInput) MarshalFields added in v0.10.0

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String added in v0.10.0

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v0.10.0

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v0.10.0

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) MarshalFields added in v0.10.0

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String added in v0.10.0

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest added in v0.10.0

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send added in v0.10.0

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.10.0

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.10.0

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type UntagResourceInput added in v0.10.0

type UntagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

	// TagKeys is a required field
	TagKeys []string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) MarshalFields added in v0.10.0

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String added in v0.10.0

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v0.10.0

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v0.10.0

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) MarshalFields added in v0.10.0

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String added in v0.10.0

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest added in v0.10.0

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send added in v0.10.0

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.10.0

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.10.0

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateApiInput

type UpdateApiInput struct {

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

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

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

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

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

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

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

func (UpdateApiInput) MarshalFields

func (s UpdateApiInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApiInput) String

func (s UpdateApiInput) String() string

String returns the string representation

func (*UpdateApiInput) Validate

func (s *UpdateApiInput) Validate() error

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

type UpdateApiMappingInput

type UpdateApiMappingInput struct {

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

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

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

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

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

func (UpdateApiMappingInput) MarshalFields

func (s UpdateApiMappingInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApiMappingInput) String

func (s UpdateApiMappingInput) String() string

String returns the string representation

func (*UpdateApiMappingInput) Validate

func (s *UpdateApiMappingInput) Validate() error

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

type UpdateApiMappingOutput

type UpdateApiMappingOutput struct {

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

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

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

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

func (UpdateApiMappingOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApiMappingOutput) String

func (s UpdateApiMappingOutput) String() string

String returns the string representation

type UpdateApiMappingRequest

type UpdateApiMappingRequest struct {
	*aws.Request
	Input *UpdateApiMappingInput
	Copy  func(*UpdateApiMappingInput) UpdateApiMappingRequest
}

UpdateApiMappingRequest is the request type for the UpdateApiMapping API operation.

func (UpdateApiMappingRequest) Send

Send marshals and sends the UpdateApiMapping API request.

type UpdateApiMappingResponse added in v0.9.0

type UpdateApiMappingResponse struct {
	*UpdateApiMappingOutput
	// contains filtered or unexported fields
}

UpdateApiMappingResponse is the response type for the UpdateApiMapping API operation.

func (*UpdateApiMappingResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateApiMappingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateApiMapping request.

type UpdateApiOutput

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

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

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

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

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

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

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

	ProtocolType ProtocolType `locationName:"protocolType" type:"string" enum:"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.
	RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"`

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

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

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

func (UpdateApiOutput) MarshalFields

func (s UpdateApiOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApiOutput) String

func (s UpdateApiOutput) String() string

String returns the string representation

type UpdateApiRequest

type UpdateApiRequest struct {
	*aws.Request
	Input *UpdateApiInput
	Copy  func(*UpdateApiInput) UpdateApiRequest
}

UpdateApiRequest is the request type for the UpdateApi API operation.

func (UpdateApiRequest) Send

Send marshals and sends the UpdateApi API request.

type UpdateApiResponse added in v0.9.0

type UpdateApiResponse struct {
	*UpdateApiOutput
	// contains filtered or unexported fields
}

UpdateApiResponse is the response type for the UpdateApi API operation.

func (*UpdateApiResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateApiResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateApi request.

type UpdateAuthorizerInput

type UpdateAuthorizerInput struct {

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

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

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

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

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

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

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

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

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

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

func (UpdateAuthorizerInput) MarshalFields

func (s UpdateAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateAuthorizerInput) String

func (s UpdateAuthorizerInput) String() string

String returns the string representation

func (*UpdateAuthorizerInput) Validate

func (s *UpdateAuthorizerInput) Validate() error

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

type UpdateAuthorizerOutput

type UpdateAuthorizerOutput struct {

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

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

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

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

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

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

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

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

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

func (UpdateAuthorizerOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateAuthorizerOutput) String

func (s UpdateAuthorizerOutput) String() string

String returns the string representation

type UpdateAuthorizerRequest

type UpdateAuthorizerRequest struct {
	*aws.Request
	Input *UpdateAuthorizerInput
	Copy  func(*UpdateAuthorizerInput) UpdateAuthorizerRequest
}

UpdateAuthorizerRequest is the request type for the UpdateAuthorizer API operation.

func (UpdateAuthorizerRequest) Send

Send marshals and sends the UpdateAuthorizer API request.

type UpdateAuthorizerResponse added in v0.9.0

type UpdateAuthorizerResponse struct {
	*UpdateAuthorizerOutput
	// contains filtered or unexported fields
}

UpdateAuthorizerResponse is the response type for the UpdateAuthorizer API operation.

func (*UpdateAuthorizerResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateAuthorizerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateAuthorizer request.

type UpdateDeploymentInput

type UpdateDeploymentInput struct {

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

	// DeploymentId is a required field
	DeploymentId *string `location:"uri" locationName:"deploymentId" type:"string" required:"true"`

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

func (UpdateDeploymentInput) MarshalFields

func (s UpdateDeploymentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDeploymentInput) String

func (s UpdateDeploymentInput) String() string

String returns the string representation

func (*UpdateDeploymentInput) Validate

func (s *UpdateDeploymentInput) Validate() error

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

type UpdateDeploymentOutput

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

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

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

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

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

func (UpdateDeploymentOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDeploymentOutput) String

func (s UpdateDeploymentOutput) String() string

String returns the string representation

type UpdateDeploymentRequest

type UpdateDeploymentRequest struct {
	*aws.Request
	Input *UpdateDeploymentInput
	Copy  func(*UpdateDeploymentInput) UpdateDeploymentRequest
}

UpdateDeploymentRequest is the request type for the UpdateDeployment API operation.

func (UpdateDeploymentRequest) Send

Send marshals and sends the UpdateDeployment API request.

type UpdateDeploymentResponse added in v0.9.0

type UpdateDeploymentResponse struct {
	*UpdateDeploymentOutput
	// contains filtered or unexported fields
}

UpdateDeploymentResponse is the response type for the UpdateDeployment API operation.

func (*UpdateDeploymentResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDeployment request.

type UpdateDomainNameInput

type UpdateDomainNameInput struct {

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

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

func (UpdateDomainNameInput) MarshalFields

func (s UpdateDomainNameInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDomainNameInput) String

func (s UpdateDomainNameInput) String() string

String returns the string representation

func (*UpdateDomainNameInput) Validate

func (s *UpdateDomainNameInput) Validate() error

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

type UpdateDomainNameOutput

type UpdateDomainNameOutput struct {

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

	// A string with a length between [1-512].
	DomainName *string `locationName:"domainName" type:"string"`

	// The domain name configurations.
	DomainNameConfigurations []DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"`

	// 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 (UpdateDomainNameOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDomainNameOutput) String

func (s UpdateDomainNameOutput) String() string

String returns the string representation

type UpdateDomainNameRequest

type UpdateDomainNameRequest struct {
	*aws.Request
	Input *UpdateDomainNameInput
	Copy  func(*UpdateDomainNameInput) UpdateDomainNameRequest
}

UpdateDomainNameRequest is the request type for the UpdateDomainName API operation.

func (UpdateDomainNameRequest) Send

Send marshals and sends the UpdateDomainName API request.

type UpdateDomainNameResponse added in v0.9.0

type UpdateDomainNameResponse struct {
	*UpdateDomainNameOutput
	// contains filtered or unexported fields
}

UpdateDomainNameResponse is the response type for the UpdateDomainName API operation.

func (*UpdateDomainNameResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateDomainNameResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDomainName request.

type UpdateIntegrationInput

type UpdateIntegrationInput struct {

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

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

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

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

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

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

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

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

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

	// 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 PassthroughBehavior `locationName:"passthroughBehavior" type:"string" enum:"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.
	RequestParameters map[string]string `locationName:"requestParameters" type:"map"`

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

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

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

func (UpdateIntegrationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateIntegrationInput) String

func (s UpdateIntegrationInput) String() string

String returns the string representation

func (*UpdateIntegrationInput) Validate

func (s *UpdateIntegrationInput) Validate() error

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

type UpdateIntegrationOutput

type UpdateIntegrationOutput struct {

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

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

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

	// 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 IntegrationType `locationName:"integrationType" type:"string" enum:"true"`

	// 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 PassthroughBehavior `locationName:"passthroughBehavior" type:"string" enum:"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.
	RequestParameters map[string]string `locationName:"requestParameters" type:"map"`

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

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

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

func (UpdateIntegrationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateIntegrationOutput) String

func (s UpdateIntegrationOutput) String() string

String returns the string representation

type UpdateIntegrationRequest

type UpdateIntegrationRequest struct {
	*aws.Request
	Input *UpdateIntegrationInput
	Copy  func(*UpdateIntegrationInput) UpdateIntegrationRequest
}

UpdateIntegrationRequest is the request type for the UpdateIntegration API operation.

func (UpdateIntegrationRequest) Send

Send marshals and sends the UpdateIntegration API request.

type UpdateIntegrationResponse added in v0.9.0

type UpdateIntegrationResponse struct {
	*UpdateIntegrationOutput
	// contains filtered or unexported fields
}

UpdateIntegrationResponse is the response type for the UpdateIntegration API operation.

func (*UpdateIntegrationResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateIntegrationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateIntegration request.

type UpdateIntegrationResponseInput

type UpdateIntegrationResponseInput struct {

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

	// Specifies how to handle response payload content type conversions.
	ContentHandlingStrategy ContentHandlingStrategy `locationName:"contentHandlingStrategy" type:"string" enum:"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"`

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

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

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

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

func (UpdateIntegrationResponseInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateIntegrationResponseInput) String

String returns the string representation

func (*UpdateIntegrationResponseInput) Validate

func (s *UpdateIntegrationResponseInput) Validate() error

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

type UpdateIntegrationResponseOutput

type UpdateIntegrationResponseOutput struct {

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

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

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

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

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

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

func (UpdateIntegrationResponseOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateIntegrationResponseOutput) String

String returns the string representation

type UpdateIntegrationResponseRequest

type UpdateIntegrationResponseRequest struct {
	*aws.Request
	Input *UpdateIntegrationResponseInput
	Copy  func(*UpdateIntegrationResponseInput) UpdateIntegrationResponseRequest
}

UpdateIntegrationResponseRequest is the request type for the UpdateIntegrationResponse API operation.

func (UpdateIntegrationResponseRequest) Send

Send marshals and sends the UpdateIntegrationResponse API request.

type UpdateIntegrationResponseResponse added in v0.9.0

type UpdateIntegrationResponseResponse struct {
	*UpdateIntegrationResponseOutput
	// contains filtered or unexported fields
}

UpdateIntegrationResponseResponse is the response type for the UpdateIntegrationResponse API operation.

func (*UpdateIntegrationResponseResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateIntegrationResponseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateIntegrationResponse request.

type UpdateModelInput

type UpdateModelInput struct {

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

	// A string with a length between [1-256].
	ContentType *string `locationName:"contentType" type:"string"`

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

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

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

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

func (UpdateModelInput) MarshalFields

func (s UpdateModelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateModelInput) String

func (s UpdateModelInput) String() string

String returns the string representation

func (*UpdateModelInput) Validate

func (s *UpdateModelInput) Validate() error

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

type UpdateModelOutput

type UpdateModelOutput struct {

	// A string with a length between [1-256].
	ContentType *string `locationName:"contentType" type:"string"`

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

	// The identifier.
	ModelId *string `locationName:"modelId" type:"string"`

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

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

func (UpdateModelOutput) MarshalFields

func (s UpdateModelOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateModelOutput) String

func (s UpdateModelOutput) String() string

String returns the string representation

type UpdateModelRequest

type UpdateModelRequest struct {
	*aws.Request
	Input *UpdateModelInput
	Copy  func(*UpdateModelInput) UpdateModelRequest
}

UpdateModelRequest is the request type for the UpdateModel API operation.

func (UpdateModelRequest) Send

Send marshals and sends the UpdateModel API request.

type UpdateModelResponse added in v0.9.0

type UpdateModelResponse struct {
	*UpdateModelOutput
	// contains filtered or unexported fields
}

UpdateModelResponse is the response type for the UpdateModel API operation.

func (*UpdateModelResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateModelResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateModel request.

type UpdateRouteInput

type UpdateRouteInput struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

func (UpdateRouteInput) MarshalFields

func (s UpdateRouteInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateRouteInput) String

func (s UpdateRouteInput) String() string

String returns the string representation

func (*UpdateRouteInput) Validate

func (s *UpdateRouteInput) Validate() error

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

type UpdateRouteOutput

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

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

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

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

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

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

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

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

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

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

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

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

func (UpdateRouteOutput) MarshalFields

func (s UpdateRouteOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateRouteOutput) String

func (s UpdateRouteOutput) String() string

String returns the string representation

type UpdateRouteRequest

type UpdateRouteRequest struct {
	*aws.Request
	Input *UpdateRouteInput
	Copy  func(*UpdateRouteInput) UpdateRouteRequest
}

UpdateRouteRequest is the request type for the UpdateRoute API operation.

func (UpdateRouteRequest) Send

Send marshals and sends the UpdateRoute API request.

type UpdateRouteResponse added in v0.9.0

type UpdateRouteResponse struct {
	*UpdateRouteOutput
	// contains filtered or unexported fields
}

UpdateRouteResponse is the response type for the UpdateRoute API operation.

func (*UpdateRouteResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateRouteResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateRoute request.

type UpdateRouteResponseInput

type UpdateRouteResponseInput struct {

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

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

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

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

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

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

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

func (UpdateRouteResponseInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateRouteResponseInput) String

func (s UpdateRouteResponseInput) String() string

String returns the string representation

func (*UpdateRouteResponseInput) Validate

func (s *UpdateRouteResponseInput) Validate() error

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

type UpdateRouteResponseOutput

type UpdateRouteResponseOutput struct {

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

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

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

	// The identifier.
	RouteResponseId *string `locationName:"routeResponseId" type:"string"`

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

func (UpdateRouteResponseOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateRouteResponseOutput) String

func (s UpdateRouteResponseOutput) String() string

String returns the string representation

type UpdateRouteResponseRequest

type UpdateRouteResponseRequest struct {
	*aws.Request
	Input *UpdateRouteResponseInput
	Copy  func(*UpdateRouteResponseInput) UpdateRouteResponseRequest
}

UpdateRouteResponseRequest is the request type for the UpdateRouteResponse API operation.

func (UpdateRouteResponseRequest) Send

Send marshals and sends the UpdateRouteResponse API request.

type UpdateRouteResponseResponse added in v0.9.0

type UpdateRouteResponseResponse struct {
	*UpdateRouteResponseOutput
	// contains filtered or unexported fields
}

UpdateRouteResponseResponse is the response type for the UpdateRouteResponse API operation.

func (*UpdateRouteResponseResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateRouteResponseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateRouteResponse request.

type UpdateStageInput

type UpdateStageInput struct {

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

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

	// The identifier.
	ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

	// Represents a collection of route settings.
	DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

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

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

	// The route settings map.
	RouteSettings map[string]RouteSettings `locationName:"routeSettings" type:"map"`

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

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

func (UpdateStageInput) MarshalFields

func (s UpdateStageInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateStageInput) String

func (s UpdateStageInput) String() string

String returns the string representation

func (*UpdateStageInput) Validate

func (s *UpdateStageInput) Validate() error

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

type UpdateStageOutput

type UpdateStageOutput struct {

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

	// The identifier.
	ClientCertificateId *string `locationName:"clientCertificateId" type:"string"`

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

	// Represents a collection of route settings.
	DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"`

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

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

	LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"`

	// The route settings map.
	RouteSettings map[string]RouteSettings `locationName:"routeSettings" type:"map"`

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

	// The stage variable map.
	StageVariables map[string]string `locationName:"stageVariables" type:"map"`

	// 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 (UpdateStageOutput) MarshalFields

func (s UpdateStageOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateStageOutput) String

func (s UpdateStageOutput) String() string

String returns the string representation

type UpdateStageRequest

type UpdateStageRequest struct {
	*aws.Request
	Input *UpdateStageInput
	Copy  func(*UpdateStageInput) UpdateStageRequest
}

UpdateStageRequest is the request type for the UpdateStage API operation.

func (UpdateStageRequest) Send

Send marshals and sends the UpdateStage API request.

type UpdateStageResponse added in v0.9.0

type UpdateStageResponse struct {
	*UpdateStageOutput
	// contains filtered or unexported fields
}

UpdateStageResponse is the response type for the UpdateStage API operation.

func (*UpdateStageResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateStageResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateStage request.

Source Files

Directories

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

Jump to

Keyboard shortcuts

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