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 AmazonApiGatewayV2 with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AmazonApiGatewayV2 client ApiGatewayV2 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/apigatewayv2/#New
Index ¶
- Constants
- type AccessLogSettings
- type Api
- type ApiGatewayV2
- func (c *ApiGatewayV2) CreateApiMappingRequest(input *CreateApiMappingInput) CreateApiMappingRequest
- func (c *ApiGatewayV2) CreateApiRequest(input *CreateApiInput) CreateApiRequest
- func (c *ApiGatewayV2) CreateAuthorizerRequest(input *CreateAuthorizerInput) CreateAuthorizerRequest
- func (c *ApiGatewayV2) CreateDeploymentRequest(input *CreateDeploymentInput) CreateDeploymentRequest
- func (c *ApiGatewayV2) CreateDomainNameRequest(input *CreateDomainNameInput) CreateDomainNameRequest
- func (c *ApiGatewayV2) CreateIntegrationRequest(input *CreateIntegrationInput) CreateIntegrationRequest
- func (c *ApiGatewayV2) CreateIntegrationResponseRequest(input *CreateIntegrationResponseInput) CreateIntegrationResponseRequest
- func (c *ApiGatewayV2) CreateModelRequest(input *CreateModelInput) CreateModelRequest
- func (c *ApiGatewayV2) CreateRouteRequest(input *CreateRouteInput) CreateRouteRequest
- func (c *ApiGatewayV2) CreateRouteResponseRequest(input *CreateRouteResponseInput) CreateRouteResponseRequest
- func (c *ApiGatewayV2) CreateStageRequest(input *CreateStageInput) CreateStageRequest
- func (c *ApiGatewayV2) DeleteApiMappingRequest(input *DeleteApiMappingInput) DeleteApiMappingRequest
- func (c *ApiGatewayV2) DeleteApiRequest(input *DeleteApiInput) DeleteApiRequest
- func (c *ApiGatewayV2) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) DeleteAuthorizerRequest
- func (c *ApiGatewayV2) DeleteDeploymentRequest(input *DeleteDeploymentInput) DeleteDeploymentRequest
- func (c *ApiGatewayV2) DeleteDomainNameRequest(input *DeleteDomainNameInput) DeleteDomainNameRequest
- func (c *ApiGatewayV2) DeleteIntegrationRequest(input *DeleteIntegrationInput) DeleteIntegrationRequest
- func (c *ApiGatewayV2) DeleteIntegrationResponseRequest(input *DeleteIntegrationResponseInput) DeleteIntegrationResponseRequest
- func (c *ApiGatewayV2) DeleteModelRequest(input *DeleteModelInput) DeleteModelRequest
- func (c *ApiGatewayV2) DeleteRouteRequest(input *DeleteRouteInput) DeleteRouteRequest
- func (c *ApiGatewayV2) DeleteRouteResponseRequest(input *DeleteRouteResponseInput) DeleteRouteResponseRequest
- func (c *ApiGatewayV2) DeleteStageRequest(input *DeleteStageInput) DeleteStageRequest
- func (c *ApiGatewayV2) GetApiMappingRequest(input *GetApiMappingInput) GetApiMappingRequest
- func (c *ApiGatewayV2) GetApiMappingsRequest(input *GetApiMappingsInput) GetApiMappingsRequest
- func (c *ApiGatewayV2) GetApiRequest(input *GetApiInput) GetApiRequest
- func (c *ApiGatewayV2) GetApisRequest(input *GetApisInput) GetApisRequest
- func (c *ApiGatewayV2) GetAuthorizerRequest(input *GetAuthorizerInput) GetAuthorizerRequest
- func (c *ApiGatewayV2) GetAuthorizersRequest(input *GetAuthorizersInput) GetAuthorizersRequest
- func (c *ApiGatewayV2) GetDeploymentRequest(input *GetDeploymentInput) GetDeploymentRequest
- func (c *ApiGatewayV2) GetDeploymentsRequest(input *GetDeploymentsInput) GetDeploymentsRequest
- func (c *ApiGatewayV2) GetDomainNameRequest(input *GetDomainNameInput) GetDomainNameRequest
- func (c *ApiGatewayV2) GetDomainNamesRequest(input *GetDomainNamesInput) GetDomainNamesRequest
- func (c *ApiGatewayV2) GetIntegrationRequest(input *GetIntegrationInput) GetIntegrationRequest
- func (c *ApiGatewayV2) GetIntegrationResponseRequest(input *GetIntegrationResponseInput) GetIntegrationResponseRequest
- func (c *ApiGatewayV2) GetIntegrationResponsesRequest(input *GetIntegrationResponsesInput) GetIntegrationResponsesRequest
- func (c *ApiGatewayV2) GetIntegrationsRequest(input *GetIntegrationsInput) GetIntegrationsRequest
- func (c *ApiGatewayV2) GetModelRequest(input *GetModelInput) GetModelRequest
- func (c *ApiGatewayV2) GetModelTemplateRequest(input *GetModelTemplateInput) GetModelTemplateRequest
- func (c *ApiGatewayV2) GetModelsRequest(input *GetModelsInput) GetModelsRequest
- func (c *ApiGatewayV2) GetRouteRequest(input *GetRouteInput) GetRouteRequest
- func (c *ApiGatewayV2) GetRouteResponseRequest(input *GetRouteResponseInput) GetRouteResponseRequest
- func (c *ApiGatewayV2) GetRouteResponsesRequest(input *GetRouteResponsesInput) GetRouteResponsesRequest
- func (c *ApiGatewayV2) GetRoutesRequest(input *GetRoutesInput) GetRoutesRequest
- func (c *ApiGatewayV2) GetStageRequest(input *GetStageInput) GetStageRequest
- func (c *ApiGatewayV2) GetStagesRequest(input *GetStagesInput) GetStagesRequest
- func (c *ApiGatewayV2) UpdateApiMappingRequest(input *UpdateApiMappingInput) UpdateApiMappingRequest
- func (c *ApiGatewayV2) UpdateApiRequest(input *UpdateApiInput) UpdateApiRequest
- func (c *ApiGatewayV2) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) UpdateAuthorizerRequest
- func (c *ApiGatewayV2) UpdateDeploymentRequest(input *UpdateDeploymentInput) UpdateDeploymentRequest
- func (c *ApiGatewayV2) UpdateDomainNameRequest(input *UpdateDomainNameInput) UpdateDomainNameRequest
- func (c *ApiGatewayV2) UpdateIntegrationRequest(input *UpdateIntegrationInput) UpdateIntegrationRequest
- func (c *ApiGatewayV2) UpdateIntegrationResponseRequest(input *UpdateIntegrationResponseInput) UpdateIntegrationResponseRequest
- func (c *ApiGatewayV2) UpdateModelRequest(input *UpdateModelInput) UpdateModelRequest
- func (c *ApiGatewayV2) UpdateRouteRequest(input *UpdateRouteInput) UpdateRouteRequest
- func (c *ApiGatewayV2) UpdateRouteResponseRequest(input *UpdateRouteResponseInput) UpdateRouteResponseRequest
- func (c *ApiGatewayV2) UpdateStageRequest(input *UpdateStageInput) UpdateStageRequest
- type ApiMapping
- type AuthorizationType
- type Authorizer
- type AuthorizerType
- type ConnectionType
- type ContentHandlingStrategy
- type CreateApiInput
- type CreateApiMappingInput
- type CreateApiMappingOutput
- type CreateApiMappingRequest
- type CreateApiOutput
- type CreateApiRequest
- type CreateAuthorizerInput
- type CreateAuthorizerOutput
- type CreateAuthorizerRequest
- type CreateDeploymentInput
- type CreateDeploymentOutput
- type CreateDeploymentRequest
- type CreateDomainNameInput
- type CreateDomainNameOutput
- type CreateDomainNameRequest
- type CreateIntegrationInput
- type CreateIntegrationOutput
- type CreateIntegrationRequest
- type CreateIntegrationResponseInput
- type CreateIntegrationResponseOutput
- type CreateIntegrationResponseRequest
- type CreateModelInput
- type CreateModelOutput
- type CreateModelRequest
- type CreateRouteInput
- type CreateRouteOutput
- type CreateRouteRequest
- type CreateRouteResponseInput
- type CreateRouteResponseOutput
- type CreateRouteResponseRequest
- type CreateStageInput
- type CreateStageOutput
- type CreateStageRequest
- type DeleteApiInput
- type DeleteApiMappingInput
- type DeleteApiMappingOutput
- type DeleteApiMappingRequest
- type DeleteApiOutput
- type DeleteApiRequest
- type DeleteAuthorizerInput
- type DeleteAuthorizerOutput
- type DeleteAuthorizerRequest
- type DeleteDeploymentInput
- type DeleteDeploymentOutput
- type DeleteDeploymentRequest
- type DeleteDomainNameInput
- type DeleteDomainNameOutput
- type DeleteDomainNameRequest
- type DeleteIntegrationInput
- type DeleteIntegrationOutput
- type DeleteIntegrationRequest
- type DeleteIntegrationResponseInput
- type DeleteIntegrationResponseOutput
- type DeleteIntegrationResponseRequest
- type DeleteModelInput
- type DeleteModelOutput
- type DeleteModelRequest
- type DeleteRouteInput
- type DeleteRouteOutput
- type DeleteRouteRequest
- type DeleteRouteResponseInput
- type DeleteRouteResponseOutput
- type DeleteRouteResponseRequest
- type DeleteStageInput
- type DeleteStageOutput
- type DeleteStageRequest
- type Deployment
- type DeploymentStatus
- type DomainName
- type DomainNameConfiguration
- type EndpointType
- type GetApiInput
- type GetApiMappingInput
- type GetApiMappingOutput
- type GetApiMappingRequest
- type GetApiMappingsInput
- type GetApiMappingsOutput
- type GetApiMappingsRequest
- type GetApiOutput
- type GetApiRequest
- type GetApisInput
- type GetApisOutput
- type GetApisRequest
- type GetAuthorizerInput
- type GetAuthorizerOutput
- type GetAuthorizerRequest
- type GetAuthorizersInput
- type GetAuthorizersOutput
- type GetAuthorizersRequest
- type GetDeploymentInput
- type GetDeploymentOutput
- type GetDeploymentRequest
- type GetDeploymentsInput
- type GetDeploymentsOutput
- type GetDeploymentsRequest
- type GetDomainNameInput
- type GetDomainNameOutput
- type GetDomainNameRequest
- type GetDomainNamesInput
- type GetDomainNamesOutput
- type GetDomainNamesRequest
- type GetIntegrationInput
- type GetIntegrationOutput
- type GetIntegrationRequest
- type GetIntegrationResponseInput
- type GetIntegrationResponseOutput
- type GetIntegrationResponseRequest
- type GetIntegrationResponsesInput
- type GetIntegrationResponsesOutput
- type GetIntegrationResponsesRequest
- type GetIntegrationsInput
- type GetIntegrationsOutput
- type GetIntegrationsRequest
- type GetModelInput
- type GetModelOutput
- type GetModelRequest
- type GetModelTemplateInput
- type GetModelTemplateOutput
- type GetModelTemplateRequest
- type GetModelsInput
- type GetModelsOutput
- type GetModelsRequest
- type GetRouteInput
- type GetRouteOutput
- type GetRouteRequest
- type GetRouteResponseInput
- type GetRouteResponseOutput
- type GetRouteResponseRequest
- type GetRouteResponsesInput
- type GetRouteResponsesOutput
- type GetRouteResponsesRequest
- type GetRoutesInput
- type GetRoutesOutput
- type GetRoutesRequest
- type GetStageInput
- type GetStageOutput
- type GetStageRequest
- type GetStagesInput
- type GetStagesOutput
- type GetStagesRequest
- type Integration
- type IntegrationResponse
- type IntegrationType
- type LoggingLevel
- type Model
- type ParameterConstraints
- type PassthroughBehavior
- type ProtocolType
- type Route
- type RouteResponse
- type RouteSettings
- type Stage
- type UpdateApiInput
- type UpdateApiMappingInput
- type UpdateApiMappingOutput
- type UpdateApiMappingRequest
- type UpdateApiOutput
- type UpdateApiRequest
- type UpdateAuthorizerInput
- type UpdateAuthorizerOutput
- type UpdateAuthorizerRequest
- type UpdateDeploymentInput
- type UpdateDeploymentOutput
- type UpdateDeploymentRequest
- type UpdateDomainNameInput
- type UpdateDomainNameOutput
- type UpdateDomainNameRequest
- type UpdateIntegrationInput
- type UpdateIntegrationOutput
- type UpdateIntegrationRequest
- type UpdateIntegrationResponseInput
- type UpdateIntegrationResponseOutput
- type UpdateIntegrationResponseRequest
- type UpdateModelInput
- type UpdateModelOutput
- type UpdateModelRequest
- type UpdateRouteInput
- type UpdateRouteOutput
- type UpdateRouteRequest
- type UpdateRouteResponseInput
- type UpdateRouteResponseOutput
- type UpdateRouteResponseRequest
- type UpdateStageInput
- type UpdateStageOutput
- type UpdateStageRequest
Constants ¶
const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // // The request is not valid, for example, the input is incomplete or incorrect. // See the accompanying error message for details. ErrCodeBadRequestException = "BadRequestException" // ErrCodeConflictException for service response error code // "ConflictException". // // The requested operation would cause a conflict with the current state of // a service resource associated with the request. Resolve the conflict before // retrying this request. See the accompanying error message for details. ErrCodeConflictException = "ConflictException" // ErrCodeNotFoundException for service response error code // "NotFoundException". // // The resource specified in the request was not found. See the message field // for more information. ErrCodeNotFoundException = "NotFoundException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". // // A limit has been exceeded. See the accompanying error message for details. ErrCodeTooManyRequestsException = "TooManyRequestsException" )
const ( ServiceName = "apigateway" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/AccessLogSettings
func (AccessLogSettings) GoString ¶
func (s AccessLogSettings) GoString() string
GoString returns the string representation
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:"unix"` // 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"` // 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/Api
func (Api) MarshalFields ¶
func (s Api) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type ApiGatewayV2 ¶
ApiGatewayV2 provides the API operation methods for making requests to AmazonApiGatewayV2. See this package's package overview docs for details on the service.
ApiGatewayV2 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(config aws.Config) *ApiGatewayV2
New creates a new instance of the ApiGatewayV2 client with a config.
Example:
// Create a ApiGatewayV2 client from just a config. svc := apigatewayv2.New(myConfig)
func (*ApiGatewayV2) CreateApiMappingRequest ¶
func (c *ApiGatewayV2) CreateApiMappingRequest(input *CreateApiMappingInput) CreateApiMappingRequest
CreateApiMappingRequest returns a request value for making API operation for AmazonApiGatewayV2.
Creates an API mapping.
// Example sending a request using the CreateApiMappingRequest method. 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 (*ApiGatewayV2) CreateApiRequest ¶
func (c *ApiGatewayV2) CreateApiRequest(input *CreateApiInput) CreateApiRequest
CreateApiRequest returns a request value for making API operation for AmazonApiGatewayV2.
Creates an Api resource.
// Example sending a request using the CreateApiRequest method. 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 (*ApiGatewayV2) CreateAuthorizerRequest ¶
func (c *ApiGatewayV2) 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 the CreateAuthorizerRequest method. 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 (*ApiGatewayV2) CreateDeploymentRequest ¶
func (c *ApiGatewayV2) 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 the CreateDeploymentRequest method. 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 (*ApiGatewayV2) CreateDomainNameRequest ¶
func (c *ApiGatewayV2) CreateDomainNameRequest(input *CreateDomainNameInput) CreateDomainNameRequest
CreateDomainNameRequest returns a request value for making API operation for AmazonApiGatewayV2.
Creates a domain name.
// Example sending a request using the CreateDomainNameRequest method. 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 (*ApiGatewayV2) CreateIntegrationRequest ¶
func (c *ApiGatewayV2) CreateIntegrationRequest(input *CreateIntegrationInput) CreateIntegrationRequest
CreateIntegrationRequest returns a request value for making API operation for AmazonApiGatewayV2.
Creates an Integration.
// Example sending a request using the CreateIntegrationRequest method. 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 (*ApiGatewayV2) CreateIntegrationResponseRequest ¶
func (c *ApiGatewayV2) CreateIntegrationResponseRequest(input *CreateIntegrationResponseInput) CreateIntegrationResponseRequest
CreateIntegrationResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.
Creates an IntegrationResponses.
// Example sending a request using the CreateIntegrationResponseRequest method. 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 (*ApiGatewayV2) CreateModelRequest ¶
func (c *ApiGatewayV2) 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 the CreateModelRequest method. 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 (*ApiGatewayV2) CreateRouteRequest ¶
func (c *ApiGatewayV2) 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 the CreateRouteRequest method. 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 (*ApiGatewayV2) CreateRouteResponseRequest ¶
func (c *ApiGatewayV2) 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 the CreateRouteResponseRequest method. 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 (*ApiGatewayV2) CreateStageRequest ¶
func (c *ApiGatewayV2) 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 the CreateStageRequest method. 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 (*ApiGatewayV2) DeleteApiMappingRequest ¶
func (c *ApiGatewayV2) DeleteApiMappingRequest(input *DeleteApiMappingInput) DeleteApiMappingRequest
DeleteApiMappingRequest returns a request value for making API operation for AmazonApiGatewayV2.
Deletes an API mapping.
// Example sending a request using the DeleteApiMappingRequest method. 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 (*ApiGatewayV2) DeleteApiRequest ¶
func (c *ApiGatewayV2) DeleteApiRequest(input *DeleteApiInput) DeleteApiRequest
DeleteApiRequest returns a request value for making API operation for AmazonApiGatewayV2.
Deletes an Api resource.
// Example sending a request using the DeleteApiRequest method. 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 (*ApiGatewayV2) DeleteAuthorizerRequest ¶
func (c *ApiGatewayV2) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) DeleteAuthorizerRequest
DeleteAuthorizerRequest returns a request value for making API operation for AmazonApiGatewayV2.
Deletes an Authorizer.
// Example sending a request using the DeleteAuthorizerRequest method. 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 (*ApiGatewayV2) DeleteDeploymentRequest ¶
func (c *ApiGatewayV2) DeleteDeploymentRequest(input *DeleteDeploymentInput) DeleteDeploymentRequest
DeleteDeploymentRequest returns a request value for making API operation for AmazonApiGatewayV2.
Deletes a Deployment.
// Example sending a request using the DeleteDeploymentRequest method. 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 (*ApiGatewayV2) DeleteDomainNameRequest ¶
func (c *ApiGatewayV2) DeleteDomainNameRequest(input *DeleteDomainNameInput) DeleteDomainNameRequest
DeleteDomainNameRequest returns a request value for making API operation for AmazonApiGatewayV2.
Deletes a domain name.
// Example sending a request using the DeleteDomainNameRequest method. 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 (*ApiGatewayV2) DeleteIntegrationRequest ¶
func (c *ApiGatewayV2) DeleteIntegrationRequest(input *DeleteIntegrationInput) DeleteIntegrationRequest
DeleteIntegrationRequest returns a request value for making API operation for AmazonApiGatewayV2.
Deletes an Integration.
// Example sending a request using the DeleteIntegrationRequest method. 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 (*ApiGatewayV2) DeleteIntegrationResponseRequest ¶
func (c *ApiGatewayV2) DeleteIntegrationResponseRequest(input *DeleteIntegrationResponseInput) DeleteIntegrationResponseRequest
DeleteIntegrationResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.
Deletes an IntegrationResponses.
// Example sending a request using the DeleteIntegrationResponseRequest method. 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 (*ApiGatewayV2) DeleteModelRequest ¶
func (c *ApiGatewayV2) DeleteModelRequest(input *DeleteModelInput) DeleteModelRequest
DeleteModelRequest returns a request value for making API operation for AmazonApiGatewayV2.
Deletes a Model.
// Example sending a request using the DeleteModelRequest method. 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 (*ApiGatewayV2) DeleteRouteRequest ¶
func (c *ApiGatewayV2) DeleteRouteRequest(input *DeleteRouteInput) DeleteRouteRequest
DeleteRouteRequest returns a request value for making API operation for AmazonApiGatewayV2.
Deletes a Route.
// Example sending a request using the DeleteRouteRequest method. 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 (*ApiGatewayV2) DeleteRouteResponseRequest ¶
func (c *ApiGatewayV2) DeleteRouteResponseRequest(input *DeleteRouteResponseInput) DeleteRouteResponseRequest
DeleteRouteResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.
Deletes a RouteResponse.
// Example sending a request using the DeleteRouteResponseRequest method. 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 (*ApiGatewayV2) DeleteStageRequest ¶
func (c *ApiGatewayV2) DeleteStageRequest(input *DeleteStageInput) DeleteStageRequest
DeleteStageRequest returns a request value for making API operation for AmazonApiGatewayV2.
Deletes a Stage.
// Example sending a request using the DeleteStageRequest method. 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 (*ApiGatewayV2) GetApiMappingRequest ¶
func (c *ApiGatewayV2) GetApiMappingRequest(input *GetApiMappingInput) GetApiMappingRequest
GetApiMappingRequest returns a request value for making API operation for AmazonApiGatewayV2.
The API mapping.
// Example sending a request using the GetApiMappingRequest method. 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 (*ApiGatewayV2) GetApiMappingsRequest ¶
func (c *ApiGatewayV2) GetApiMappingsRequest(input *GetApiMappingsInput) GetApiMappingsRequest
GetApiMappingsRequest returns a request value for making API operation for AmazonApiGatewayV2.
The API mappings.
// Example sending a request using the GetApiMappingsRequest method. 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 (*ApiGatewayV2) GetApiRequest ¶
func (c *ApiGatewayV2) GetApiRequest(input *GetApiInput) GetApiRequest
GetApiRequest returns a request value for making API operation for AmazonApiGatewayV2.
Gets an Api resource.
// Example sending a request using the GetApiRequest method. 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 (*ApiGatewayV2) GetApisRequest ¶
func (c *ApiGatewayV2) 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 the GetApisRequest method. 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 (*ApiGatewayV2) GetAuthorizerRequest ¶
func (c *ApiGatewayV2) GetAuthorizerRequest(input *GetAuthorizerInput) GetAuthorizerRequest
GetAuthorizerRequest returns a request value for making API operation for AmazonApiGatewayV2.
Gets an Authorizer.
// Example sending a request using the GetAuthorizerRequest method. 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 (*ApiGatewayV2) GetAuthorizersRequest ¶
func (c *ApiGatewayV2) 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 the GetAuthorizersRequest method. 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 (*ApiGatewayV2) GetDeploymentRequest ¶
func (c *ApiGatewayV2) GetDeploymentRequest(input *GetDeploymentInput) GetDeploymentRequest
GetDeploymentRequest returns a request value for making API operation for AmazonApiGatewayV2.
Gets a Deployment.
// Example sending a request using the GetDeploymentRequest method. 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 (*ApiGatewayV2) GetDeploymentsRequest ¶
func (c *ApiGatewayV2) 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 the GetDeploymentsRequest method. 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 (*ApiGatewayV2) GetDomainNameRequest ¶
func (c *ApiGatewayV2) GetDomainNameRequest(input *GetDomainNameInput) GetDomainNameRequest
GetDomainNameRequest returns a request value for making API operation for AmazonApiGatewayV2.
Gets a domain name.
// Example sending a request using the GetDomainNameRequest method. 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 (*ApiGatewayV2) GetDomainNamesRequest ¶
func (c *ApiGatewayV2) 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 the GetDomainNamesRequest method. 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 (*ApiGatewayV2) GetIntegrationRequest ¶
func (c *ApiGatewayV2) GetIntegrationRequest(input *GetIntegrationInput) GetIntegrationRequest
GetIntegrationRequest returns a request value for making API operation for AmazonApiGatewayV2.
Gets an Integration.
// Example sending a request using the GetIntegrationRequest method. 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 (*ApiGatewayV2) GetIntegrationResponseRequest ¶
func (c *ApiGatewayV2) GetIntegrationResponseRequest(input *GetIntegrationResponseInput) GetIntegrationResponseRequest
GetIntegrationResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.
Gets an IntegrationResponses.
// Example sending a request using the GetIntegrationResponseRequest method. 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 (*ApiGatewayV2) GetIntegrationResponsesRequest ¶
func (c *ApiGatewayV2) 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 the GetIntegrationResponsesRequest method. 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 (*ApiGatewayV2) GetIntegrationsRequest ¶
func (c *ApiGatewayV2) 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 the GetIntegrationsRequest method. 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 (*ApiGatewayV2) GetModelRequest ¶
func (c *ApiGatewayV2) GetModelRequest(input *GetModelInput) GetModelRequest
GetModelRequest returns a request value for making API operation for AmazonApiGatewayV2.
Gets a Model.
// Example sending a request using the GetModelRequest method. 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 (*ApiGatewayV2) GetModelTemplateRequest ¶
func (c *ApiGatewayV2) GetModelTemplateRequest(input *GetModelTemplateInput) GetModelTemplateRequest
GetModelTemplateRequest returns a request value for making API operation for AmazonApiGatewayV2.
Gets a model template.
// Example sending a request using the GetModelTemplateRequest method. 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 (*ApiGatewayV2) GetModelsRequest ¶
func (c *ApiGatewayV2) 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 the GetModelsRequest method. 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 (*ApiGatewayV2) GetRouteRequest ¶
func (c *ApiGatewayV2) GetRouteRequest(input *GetRouteInput) GetRouteRequest
GetRouteRequest returns a request value for making API operation for AmazonApiGatewayV2.
Gets a Route.
// Example sending a request using the GetRouteRequest method. 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 (*ApiGatewayV2) GetRouteResponseRequest ¶
func (c *ApiGatewayV2) GetRouteResponseRequest(input *GetRouteResponseInput) GetRouteResponseRequest
GetRouteResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.
Gets a RouteResponse.
// Example sending a request using the GetRouteResponseRequest method. 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 (*ApiGatewayV2) GetRouteResponsesRequest ¶
func (c *ApiGatewayV2) 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 the GetRouteResponsesRequest method. 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 (*ApiGatewayV2) GetRoutesRequest ¶
func (c *ApiGatewayV2) 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 the GetRoutesRequest method. 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 (*ApiGatewayV2) GetStageRequest ¶
func (c *ApiGatewayV2) GetStageRequest(input *GetStageInput) GetStageRequest
GetStageRequest returns a request value for making API operation for AmazonApiGatewayV2.
Gets a Stage.
// Example sending a request using the GetStageRequest method. 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 (*ApiGatewayV2) GetStagesRequest ¶
func (c *ApiGatewayV2) 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 the GetStagesRequest method. 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 (*ApiGatewayV2) UpdateApiMappingRequest ¶
func (c *ApiGatewayV2) UpdateApiMappingRequest(input *UpdateApiMappingInput) UpdateApiMappingRequest
UpdateApiMappingRequest returns a request value for making API operation for AmazonApiGatewayV2.
The API mapping.
// Example sending a request using the UpdateApiMappingRequest method. 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 (*ApiGatewayV2) UpdateApiRequest ¶
func (c *ApiGatewayV2) UpdateApiRequest(input *UpdateApiInput) UpdateApiRequest
UpdateApiRequest returns a request value for making API operation for AmazonApiGatewayV2.
Updates an Api resource.
// Example sending a request using the UpdateApiRequest method. 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 (*ApiGatewayV2) UpdateAuthorizerRequest ¶
func (c *ApiGatewayV2) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) UpdateAuthorizerRequest
UpdateAuthorizerRequest returns a request value for making API operation for AmazonApiGatewayV2.
Updates an Authorizer.
// Example sending a request using the UpdateAuthorizerRequest method. 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 (*ApiGatewayV2) UpdateDeploymentRequest ¶
func (c *ApiGatewayV2) UpdateDeploymentRequest(input *UpdateDeploymentInput) UpdateDeploymentRequest
UpdateDeploymentRequest returns a request value for making API operation for AmazonApiGatewayV2.
Updates a Deployment.
// Example sending a request using the UpdateDeploymentRequest method. 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 (*ApiGatewayV2) UpdateDomainNameRequest ¶
func (c *ApiGatewayV2) UpdateDomainNameRequest(input *UpdateDomainNameInput) UpdateDomainNameRequest
UpdateDomainNameRequest returns a request value for making API operation for AmazonApiGatewayV2.
Updates a domain name.
// Example sending a request using the UpdateDomainNameRequest method. 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 (*ApiGatewayV2) UpdateIntegrationRequest ¶
func (c *ApiGatewayV2) UpdateIntegrationRequest(input *UpdateIntegrationInput) UpdateIntegrationRequest
UpdateIntegrationRequest returns a request value for making API operation for AmazonApiGatewayV2.
Updates an Integration.
// Example sending a request using the UpdateIntegrationRequest method. 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 (*ApiGatewayV2) UpdateIntegrationResponseRequest ¶
func (c *ApiGatewayV2) UpdateIntegrationResponseRequest(input *UpdateIntegrationResponseInput) UpdateIntegrationResponseRequest
UpdateIntegrationResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.
Updates an IntegrationResponses.
// Example sending a request using the UpdateIntegrationResponseRequest method. 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 (*ApiGatewayV2) UpdateModelRequest ¶
func (c *ApiGatewayV2) UpdateModelRequest(input *UpdateModelInput) UpdateModelRequest
UpdateModelRequest returns a request value for making API operation for AmazonApiGatewayV2.
Updates a Model.
// Example sending a request using the UpdateModelRequest method. 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 (*ApiGatewayV2) UpdateRouteRequest ¶
func (c *ApiGatewayV2) UpdateRouteRequest(input *UpdateRouteInput) UpdateRouteRequest
UpdateRouteRequest returns a request value for making API operation for AmazonApiGatewayV2.
Updates a Route.
// Example sending a request using the UpdateRouteRequest method. 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 (*ApiGatewayV2) UpdateRouteResponseRequest ¶
func (c *ApiGatewayV2) UpdateRouteResponseRequest(input *UpdateRouteResponseInput) UpdateRouteResponseRequest
UpdateRouteResponseRequest returns a request value for making API operation for AmazonApiGatewayV2.
Updates a RouteResponse.
// Example sending a request using the UpdateRouteResponseRequest method. 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 (*ApiGatewayV2) UpdateStageRequest ¶
func (c *ApiGatewayV2) UpdateStageRequest(input *UpdateStageInput) UpdateStageRequest
UpdateStageRequest returns a request value for making API operation for AmazonApiGatewayV2.
Updates a Stage.
// Example sending a request using the UpdateStageRequest method. 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 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ApiMapping
func (ApiMapping) GoString ¶ added in v0.8.0
func (s ApiMapping) GoString() string
GoString returns the string representation
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/Authorizer
func (Authorizer) GoString ¶
func (s Authorizer) GoString() string
GoString returns the string representation
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 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiRequest
func (CreateApiInput) GoString ¶
func (s CreateApiInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMappingRequest
func (CreateApiMappingInput) GoString ¶
func (s CreateApiMappingInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMappingResponse
func (CreateApiMappingOutput) GoString ¶
func (s CreateApiMappingOutput) GoString() string
GoString returns the string representation
func (CreateApiMappingOutput) MarshalFields ¶
func (s CreateApiMappingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateApiMappingOutput) SDKResponseMetadata ¶
func (s CreateApiMappingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateApiMapping API operation.
func (CreateApiMappingRequest) Send ¶
func (r CreateApiMappingRequest) Send(ctx context.Context) (*CreateApiMappingOutput, error)
Send marshals and sends the CreateApiMapping API 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:"unix"` // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiResponse
func (CreateApiOutput) GoString ¶
func (s CreateApiOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s CreateApiOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateApi API operation.
func (CreateApiRequest) Send ¶
func (r CreateApiRequest) Send(ctx context.Context) (*CreateApiOutput, error)
Send marshals and sends the CreateApi API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizerRequest
func (CreateAuthorizerInput) GoString ¶
func (s CreateAuthorizerInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizerResponse
func (CreateAuthorizerOutput) GoString ¶
func (s CreateAuthorizerOutput) GoString() string
GoString returns the string representation
func (CreateAuthorizerOutput) MarshalFields ¶
func (s CreateAuthorizerOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateAuthorizerOutput) SDKResponseMetadata ¶
func (s CreateAuthorizerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateAuthorizer API operation.
func (CreateAuthorizerRequest) Send ¶
func (r CreateAuthorizerRequest) Send(ctx context.Context) (*CreateAuthorizerOutput, error)
Send marshals and sends the CreateAuthorizer API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeploymentRequest
func (CreateDeploymentInput) GoString ¶
func (s CreateDeploymentInput) GoString() string
GoString returns the string representation
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:"unix"` // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeploymentResponse
func (CreateDeploymentOutput) GoString ¶
func (s CreateDeploymentOutput) GoString() string
GoString returns the string representation
func (CreateDeploymentOutput) MarshalFields ¶
func (s CreateDeploymentOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDeploymentOutput) SDKResponseMetadata ¶
func (s CreateDeploymentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateDeployment API operation.
func (CreateDeploymentRequest) Send ¶
func (r CreateDeploymentRequest) Send(ctx context.Context) (*CreateDeploymentOutput, error)
Send marshals and sends the CreateDeployment API 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"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainNameRequest
func (CreateDomainNameInput) GoString ¶
func (s CreateDomainNameInput) GoString() string
GoString returns the string representation
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"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainNameResponse
func (CreateDomainNameOutput) GoString ¶
func (s CreateDomainNameOutput) GoString() string
GoString returns the string representation
func (CreateDomainNameOutput) MarshalFields ¶
func (s CreateDomainNameOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDomainNameOutput) SDKResponseMetadata ¶
func (s CreateDomainNameOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateDomainName API operation.
func (CreateDomainNameRequest) Send ¶
func (r CreateDomainNameRequest) Send(ctx context.Context) (*CreateDomainNameOutput, error)
Send marshals and sends the CreateDomainName API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationRequest
func (CreateIntegrationInput) GoString ¶
func (s CreateIntegrationInput) GoString() string
GoString returns the string representation
func (CreateIntegrationInput) MarshalFields ¶
func (s CreateIntegrationInput) MarshalFields(e protocol.FieldEncoder) error
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResult
func (CreateIntegrationOutput) GoString ¶
func (s CreateIntegrationOutput) GoString() string
GoString returns the string representation
func (CreateIntegrationOutput) MarshalFields ¶
func (s CreateIntegrationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateIntegrationOutput) SDKResponseMetadata ¶
func (s CreateIntegrationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateIntegration API operation.
func (CreateIntegrationRequest) Send ¶
func (r CreateIntegrationRequest) Send(ctx context.Context) (*CreateIntegrationOutput, error)
Send marshals and sends the CreateIntegration API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponseRequest
func (CreateIntegrationResponseInput) GoString ¶
func (s CreateIntegrationResponseInput) GoString() string
GoString returns the string representation
func (CreateIntegrationResponseInput) MarshalFields ¶
func (s CreateIntegrationResponseInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateIntegrationResponseInput) String ¶
func (s CreateIntegrationResponseInput) String() string
String returns the string representation
func (*CreateIntegrationResponseInput) Validate ¶
func (s *CreateIntegrationResponseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateIntegrationResponseOutput ¶
type CreateIntegrationResponseOutput struct { // Specifies how to handle response payload content type conversions. 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponseResponse
func (CreateIntegrationResponseOutput) GoString ¶
func (s CreateIntegrationResponseOutput) GoString() string
GoString returns the string representation
func (CreateIntegrationResponseOutput) MarshalFields ¶
func (s CreateIntegrationResponseOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateIntegrationResponseOutput) SDKResponseMetadata ¶
func (s CreateIntegrationResponseOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateIntegrationResponseOutput) String ¶
func (s CreateIntegrationResponseOutput) String() string
String returns the string representation
type CreateIntegrationResponseRequest ¶
type CreateIntegrationResponseRequest struct { *aws.Request Input *CreateIntegrationResponseInput Copy func(*CreateIntegrationResponseInput) CreateIntegrationResponseRequest }
CreateIntegrationResponseRequest is a API request type for the CreateIntegrationResponse API operation.
func (CreateIntegrationResponseRequest) Send ¶
func (r CreateIntegrationResponseRequest) Send(ctx context.Context) (*CreateIntegrationResponseOutput, error)
Send marshals and sends the CreateIntegrationResponse API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModelRequest
func (CreateModelInput) GoString ¶
func (s CreateModelInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModelResponse
func (CreateModelOutput) GoString ¶
func (s CreateModelOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s CreateModelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateModel API operation.
func (CreateModelRequest) Send ¶
func (r CreateModelRequest) Send(ctx context.Context) (*CreateModelOutput, error)
Send marshals and sends the CreateModel API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteRequest
func (CreateRouteInput) GoString ¶
func (s CreateRouteInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResult
func (CreateRouteOutput) GoString ¶
func (s CreateRouteOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s CreateRouteOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateRoute API operation.
func (CreateRouteRequest) Send ¶
func (r CreateRouteRequest) Send(ctx context.Context) (*CreateRouteOutput, error)
Send marshals and sends the CreateRoute API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponseRequest
func (CreateRouteResponseInput) GoString ¶
func (s CreateRouteResponseInput) GoString() string
GoString returns the string representation
func (CreateRouteResponseInput) MarshalFields ¶
func (s CreateRouteResponseInput) MarshalFields(e protocol.FieldEncoder) error
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponseResponse
func (CreateRouteResponseOutput) GoString ¶
func (s CreateRouteResponseOutput) GoString() string
GoString returns the string representation
func (CreateRouteResponseOutput) MarshalFields ¶
func (s CreateRouteResponseOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateRouteResponseOutput) SDKResponseMetadata ¶
func (s CreateRouteResponseOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateRouteResponse API operation.
func (CreateRouteResponseRequest) Send ¶
func (r CreateRouteResponseRequest) Send(ctx context.Context) (*CreateRouteResponseOutput, error)
Send marshals and sends the CreateRouteResponse API 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"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStageRequest
func (CreateStageInput) GoString ¶
func (s CreateStageInput) GoString() string
GoString returns the string representation
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:"unix"` // 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:"unix"` // The route settings map. RouteSettings map[string]RouteSettings `locationName:"routeSettings" type:"map"` // A string with a length between [1-128]. StageName *string `locationName:"stageName" type:"string"` // The stage variable map. StageVariables map[string]string `locationName:"stageVariables" type:"map"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStageResponse
func (CreateStageOutput) GoString ¶
func (s CreateStageOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s CreateStageOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateStage API operation.
func (CreateStageRequest) Send ¶
func (r CreateStageRequest) Send(ctx context.Context) (*CreateStageOutput, error)
Send marshals and sends the CreateStage API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiRequest
func (DeleteApiInput) GoString ¶
func (s DeleteApiInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMappingRequest
func (DeleteApiMappingInput) GoString ¶
func (s DeleteApiMappingInput) GoString() string
GoString returns the string representation
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMappingOutput
func (DeleteApiMappingOutput) GoString ¶
func (s DeleteApiMappingOutput) GoString() string
GoString returns the string representation
func (DeleteApiMappingOutput) MarshalFields ¶
func (s DeleteApiMappingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteApiMappingOutput) SDKResponseMetadata ¶
func (s DeleteApiMappingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteApiMapping API operation.
func (DeleteApiMappingRequest) Send ¶
func (r DeleteApiMappingRequest) Send(ctx context.Context) (*DeleteApiMappingOutput, error)
Send marshals and sends the DeleteApiMapping API request.
type DeleteApiOutput ¶
type DeleteApiOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiOutput
func (DeleteApiOutput) GoString ¶
func (s DeleteApiOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s DeleteApiOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteApi API operation.
func (DeleteApiRequest) Send ¶
func (r DeleteApiRequest) Send(ctx context.Context) (*DeleteApiOutput, error)
Send marshals and sends the DeleteApi API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizerRequest
func (DeleteAuthorizerInput) GoString ¶
func (s DeleteAuthorizerInput) GoString() string
GoString returns the string representation
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizerOutput
func (DeleteAuthorizerOutput) GoString ¶
func (s DeleteAuthorizerOutput) GoString() string
GoString returns the string representation
func (DeleteAuthorizerOutput) MarshalFields ¶
func (s DeleteAuthorizerOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteAuthorizerOutput) SDKResponseMetadata ¶
func (s DeleteAuthorizerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteAuthorizer API operation.
func (DeleteAuthorizerRequest) Send ¶
func (r DeleteAuthorizerRequest) Send(ctx context.Context) (*DeleteAuthorizerOutput, error)
Send marshals and sends the DeleteAuthorizer API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeploymentRequest
func (DeleteDeploymentInput) GoString ¶
func (s DeleteDeploymentInput) GoString() string
GoString returns the string representation
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeploymentOutput
func (DeleteDeploymentOutput) GoString ¶
func (s DeleteDeploymentOutput) GoString() string
GoString returns the string representation
func (DeleteDeploymentOutput) MarshalFields ¶
func (s DeleteDeploymentOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDeploymentOutput) SDKResponseMetadata ¶
func (s DeleteDeploymentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteDeployment API operation.
func (DeleteDeploymentRequest) Send ¶
func (r DeleteDeploymentRequest) Send(ctx context.Context) (*DeleteDeploymentOutput, error)
Send marshals and sends the DeleteDeployment API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainNameRequest
func (DeleteDomainNameInput) GoString ¶
func (s DeleteDomainNameInput) GoString() string
GoString returns the string representation
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainNameOutput
func (DeleteDomainNameOutput) GoString ¶
func (s DeleteDomainNameOutput) GoString() string
GoString returns the string representation
func (DeleteDomainNameOutput) MarshalFields ¶
func (s DeleteDomainNameOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDomainNameOutput) SDKResponseMetadata ¶
func (s DeleteDomainNameOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteDomainName API operation.
func (DeleteDomainNameRequest) Send ¶
func (r DeleteDomainNameRequest) Send(ctx context.Context) (*DeleteDomainNameOutput, error)
Send marshals and sends the DeleteDomainName API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationRequest
func (DeleteIntegrationInput) GoString ¶
func (s DeleteIntegrationInput) GoString() string
GoString returns the string representation
func (DeleteIntegrationInput) MarshalFields ¶
func (s DeleteIntegrationInput) MarshalFields(e protocol.FieldEncoder) error
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationOutput
func (DeleteIntegrationOutput) GoString ¶
func (s DeleteIntegrationOutput) GoString() string
GoString returns the string representation
func (DeleteIntegrationOutput) MarshalFields ¶
func (s DeleteIntegrationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteIntegrationOutput) SDKResponseMetadata ¶
func (s DeleteIntegrationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteIntegration API operation.
func (DeleteIntegrationRequest) Send ¶
func (r DeleteIntegrationRequest) Send(ctx context.Context) (*DeleteIntegrationOutput, error)
Send marshals and sends the DeleteIntegration API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponseRequest
func (DeleteIntegrationResponseInput) GoString ¶
func (s DeleteIntegrationResponseInput) GoString() string
GoString returns the string representation
func (DeleteIntegrationResponseInput) MarshalFields ¶
func (s DeleteIntegrationResponseInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteIntegrationResponseInput) String ¶
func (s DeleteIntegrationResponseInput) String() string
String returns the string representation
func (*DeleteIntegrationResponseInput) Validate ¶
func (s *DeleteIntegrationResponseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteIntegrationResponseOutput ¶
type DeleteIntegrationResponseOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponseOutput
func (DeleteIntegrationResponseOutput) GoString ¶
func (s DeleteIntegrationResponseOutput) GoString() string
GoString returns the string representation
func (DeleteIntegrationResponseOutput) MarshalFields ¶
func (s DeleteIntegrationResponseOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteIntegrationResponseOutput) SDKResponseMetadata ¶
func (s DeleteIntegrationResponseOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteIntegrationResponseOutput) String ¶
func (s DeleteIntegrationResponseOutput) String() string
String returns the string representation
type DeleteIntegrationResponseRequest ¶
type DeleteIntegrationResponseRequest struct { *aws.Request Input *DeleteIntegrationResponseInput Copy func(*DeleteIntegrationResponseInput) DeleteIntegrationResponseRequest }
DeleteIntegrationResponseRequest is a API request type for the DeleteIntegrationResponse API operation.
func (DeleteIntegrationResponseRequest) Send ¶
func (r DeleteIntegrationResponseRequest) Send(ctx context.Context) (*DeleteIntegrationResponseOutput, error)
Send marshals and sends the DeleteIntegrationResponse API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModelRequest
func (DeleteModelInput) GoString ¶
func (s DeleteModelInput) GoString() string
GoString returns the string representation
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModelOutput
func (DeleteModelOutput) GoString ¶
func (s DeleteModelOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s DeleteModelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteModel API operation.
func (DeleteModelRequest) Send ¶
func (r DeleteModelRequest) Send(ctx context.Context) (*DeleteModelOutput, error)
Send marshals and sends the DeleteModel API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequest
func (DeleteRouteInput) GoString ¶
func (s DeleteRouteInput) GoString() string
GoString returns the string representation
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteOutput
func (DeleteRouteOutput) GoString ¶
func (s DeleteRouteOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s DeleteRouteOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteRoute API operation.
func (DeleteRouteRequest) Send ¶
func (r DeleteRouteRequest) Send(ctx context.Context) (*DeleteRouteOutput, error)
Send marshals and sends the DeleteRoute API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponseRequest
func (DeleteRouteResponseInput) GoString ¶
func (s DeleteRouteResponseInput) GoString() string
GoString returns the string representation
func (DeleteRouteResponseInput) MarshalFields ¶
func (s DeleteRouteResponseInput) MarshalFields(e protocol.FieldEncoder) error
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponseOutput
func (DeleteRouteResponseOutput) GoString ¶
func (s DeleteRouteResponseOutput) GoString() string
GoString returns the string representation
func (DeleteRouteResponseOutput) MarshalFields ¶
func (s DeleteRouteResponseOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteRouteResponseOutput) SDKResponseMetadata ¶
func (s DeleteRouteResponseOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteRouteResponse API operation.
func (DeleteRouteResponseRequest) Send ¶
func (r DeleteRouteResponseRequest) Send(ctx context.Context) (*DeleteRouteResponseOutput, error)
Send marshals and sends the DeleteRouteResponse API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStageRequest
func (DeleteStageInput) GoString ¶
func (s DeleteStageInput) GoString() string
GoString returns the string representation
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStageOutput
func (DeleteStageOutput) GoString ¶
func (s DeleteStageOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s DeleteStageOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteStage API operation.
func (DeleteStageRequest) Send ¶
func (r DeleteStageRequest) Send(ctx context.Context) (*DeleteStageOutput, error)
Send marshals and sends the DeleteStage API request.
type Deployment ¶
type Deployment struct { // The date and time when the Deployment resource was created. CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` // 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/Deployment
func (Deployment) GoString ¶
func (s Deployment) GoString() string
GoString returns the string representation
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"` // contains filtered or unexported fields }
Represents a domain name. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DomainName
func (DomainName) GoString ¶
func (s DomainName) GoString() string
GoString returns the string representation
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:"unix"` // 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"` // contains filtered or unexported fields }
The domain name configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DomainNameConfiguration
func (DomainNameConfiguration) GoString ¶
func (s DomainNameConfiguration) GoString() string
GoString returns the string representation
func (DomainNameConfiguration) MarshalFields ¶
func (s DomainNameConfiguration) MarshalFields(e protocol.FieldEncoder) error
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 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiRequest
func (GetApiInput) GoString ¶
func (s GetApiInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappingRequest
func (GetApiMappingInput) GoString ¶
func (s GetApiMappingInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappingResponse
func (GetApiMappingOutput) GoString ¶
func (s GetApiMappingOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetApiMappingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetApiMapping API operation.
func (GetApiMappingRequest) Send ¶
func (r GetApiMappingRequest) Send(ctx context.Context) (*GetApiMappingOutput, error)
Send marshals and sends the GetApiMapping API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappingsRequest
func (GetApiMappingsInput) GoString ¶
func (s GetApiMappingsInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappingsResponse
func (GetApiMappingsOutput) GoString ¶
func (s GetApiMappingsOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetApiMappingsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetApiMappings API operation.
func (GetApiMappingsRequest) Send ¶
func (r GetApiMappingsRequest) Send(ctx context.Context) (*GetApiMappingsOutput, error)
Send marshals and sends the GetApiMappings API 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:"unix"` // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiResponse
func (GetApiOutput) GoString ¶
func (s GetApiOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetApiOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetApi API operation.
func (GetApiRequest) Send ¶
func (r GetApiRequest) Send(ctx context.Context) (*GetApiOutput, error)
Send marshals and sends the GetApi API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApisRequest
func (GetApisInput) GoString ¶
func (s GetApisInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApisResponse
func (GetApisOutput) GoString ¶
func (s GetApisOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetApisOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetApis API operation.
func (GetApisRequest) Send ¶
func (r GetApisRequest) Send(ctx context.Context) (*GetApisOutput, error)
Send marshals and sends the GetApis API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizerRequest
func (GetAuthorizerInput) GoString ¶
func (s GetAuthorizerInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizerResponse
func (GetAuthorizerOutput) GoString ¶
func (s GetAuthorizerOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetAuthorizerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetAuthorizer API operation.
func (GetAuthorizerRequest) Send ¶
func (r GetAuthorizerRequest) Send(ctx context.Context) (*GetAuthorizerOutput, error)
Send marshals and sends the GetAuthorizer API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizersRequest
func (GetAuthorizersInput) GoString ¶
func (s GetAuthorizersInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizersResponse
func (GetAuthorizersOutput) GoString ¶
func (s GetAuthorizersOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetAuthorizersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetAuthorizers API operation.
func (GetAuthorizersRequest) Send ¶
func (r GetAuthorizersRequest) Send(ctx context.Context) (*GetAuthorizersOutput, error)
Send marshals and sends the GetAuthorizers API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeploymentRequest
func (GetDeploymentInput) GoString ¶
func (s GetDeploymentInput) GoString() string
GoString returns the string representation
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:"unix"` // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeploymentResponse
func (GetDeploymentOutput) GoString ¶
func (s GetDeploymentOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetDeploymentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetDeployment API operation.
func (GetDeploymentRequest) Send ¶
func (r GetDeploymentRequest) Send(ctx context.Context) (*GetDeploymentOutput, error)
Send marshals and sends the GetDeployment API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeploymentsRequest
func (GetDeploymentsInput) GoString ¶
func (s GetDeploymentsInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeploymentsResponse
func (GetDeploymentsOutput) GoString ¶
func (s GetDeploymentsOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetDeploymentsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetDeployments API operation.
func (GetDeploymentsRequest) Send ¶
func (r GetDeploymentsRequest) Send(ctx context.Context) (*GetDeploymentsOutput, error)
Send marshals and sends the GetDeployments API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNameRequest
func (GetDomainNameInput) GoString ¶
func (s GetDomainNameInput) GoString() string
GoString returns the string representation
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"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNameResponse
func (GetDomainNameOutput) GoString ¶
func (s GetDomainNameOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetDomainNameOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetDomainName API operation.
func (GetDomainNameRequest) Send ¶
func (r GetDomainNameRequest) Send(ctx context.Context) (*GetDomainNameOutput, error)
Send marshals and sends the GetDomainName API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNamesRequest
func (GetDomainNamesInput) GoString ¶
func (s GetDomainNamesInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNamesResponse
func (GetDomainNamesOutput) GoString ¶
func (s GetDomainNamesOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetDomainNamesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetDomainNames API operation.
func (GetDomainNamesRequest) Send ¶
func (r GetDomainNamesRequest) Send(ctx context.Context) (*GetDomainNamesOutput, error)
Send marshals and sends the GetDomainNames API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationRequest
func (GetIntegrationInput) GoString ¶
func (s GetIntegrationInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResult
func (GetIntegrationOutput) GoString ¶
func (s GetIntegrationOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetIntegrationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetIntegration API operation.
func (GetIntegrationRequest) Send ¶
func (r GetIntegrationRequest) Send(ctx context.Context) (*GetIntegrationOutput, error)
Send marshals and sends the GetIntegration API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponseRequest
func (GetIntegrationResponseInput) GoString ¶
func (s GetIntegrationResponseInput) GoString() string
GoString returns the string representation
func (GetIntegrationResponseInput) MarshalFields ¶
func (s GetIntegrationResponseInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetIntegrationResponseInput) String ¶
func (s GetIntegrationResponseInput) String() string
String returns the string representation
func (*GetIntegrationResponseInput) Validate ¶
func (s *GetIntegrationResponseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetIntegrationResponseOutput ¶
type GetIntegrationResponseOutput struct { // Specifies how to handle response payload content type conversions. 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponseResponse
func (GetIntegrationResponseOutput) GoString ¶
func (s GetIntegrationResponseOutput) GoString() string
GoString returns the string representation
func (GetIntegrationResponseOutput) MarshalFields ¶
func (s GetIntegrationResponseOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetIntegrationResponseOutput) SDKResponseMetadata ¶
func (s GetIntegrationResponseOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetIntegrationResponseOutput) String ¶
func (s GetIntegrationResponseOutput) String() string
String returns the string representation
type GetIntegrationResponseRequest ¶
type GetIntegrationResponseRequest struct { *aws.Request Input *GetIntegrationResponseInput Copy func(*GetIntegrationResponseInput) GetIntegrationResponseRequest }
GetIntegrationResponseRequest is a API request type for the GetIntegrationResponse API operation.
func (GetIntegrationResponseRequest) Send ¶
func (r GetIntegrationResponseRequest) Send(ctx context.Context) (*GetIntegrationResponseOutput, error)
Send marshals and sends the GetIntegrationResponse API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponsesRequest
func (GetIntegrationResponsesInput) GoString ¶
func (s GetIntegrationResponsesInput) GoString() string
GoString returns the string representation
func (GetIntegrationResponsesInput) MarshalFields ¶
func (s GetIntegrationResponsesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetIntegrationResponsesInput) String ¶
func (s GetIntegrationResponsesInput) String() string
String returns the string representation
func (*GetIntegrationResponsesInput) Validate ¶
func (s *GetIntegrationResponsesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetIntegrationResponsesOutput ¶
type GetIntegrationResponsesOutput struct { Items []IntegrationResponse `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponsesResponse
func (GetIntegrationResponsesOutput) GoString ¶
func (s GetIntegrationResponsesOutput) GoString() string
GoString returns the string representation
func (GetIntegrationResponsesOutput) MarshalFields ¶
func (s GetIntegrationResponsesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetIntegrationResponsesOutput) SDKResponseMetadata ¶
func (s GetIntegrationResponsesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetIntegrationResponsesOutput) String ¶
func (s GetIntegrationResponsesOutput) String() string
String returns the string representation
type GetIntegrationResponsesRequest ¶
type GetIntegrationResponsesRequest struct { *aws.Request Input *GetIntegrationResponsesInput Copy func(*GetIntegrationResponsesInput) GetIntegrationResponsesRequest }
GetIntegrationResponsesRequest is a API request type for the GetIntegrationResponses API operation.
func (GetIntegrationResponsesRequest) Send ¶
func (r GetIntegrationResponsesRequest) Send(ctx context.Context) (*GetIntegrationResponsesOutput, error)
Send marshals and sends the GetIntegrationResponses API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationsRequest
func (GetIntegrationsInput) GoString ¶
func (s GetIntegrationsInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationsResponse
func (GetIntegrationsOutput) GoString ¶
func (s GetIntegrationsOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetIntegrationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetIntegrations API operation.
func (GetIntegrationsRequest) Send ¶
func (r GetIntegrationsRequest) Send(ctx context.Context) (*GetIntegrationsOutput, error)
Send marshals and sends the GetIntegrations API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelRequest
func (GetModelInput) GoString ¶
func (s GetModelInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelResponse
func (GetModelOutput) GoString ¶
func (s GetModelOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetModelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetModel API operation.
func (GetModelRequest) Send ¶
func (r GetModelRequest) Send(ctx context.Context) (*GetModelOutput, error)
Send marshals and sends the GetModel API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplateRequest
func (GetModelTemplateInput) GoString ¶
func (s GetModelTemplateInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplateResponse
func (GetModelTemplateOutput) GoString ¶
func (s GetModelTemplateOutput) GoString() string
GoString returns the string representation
func (GetModelTemplateOutput) MarshalFields ¶
func (s GetModelTemplateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetModelTemplateOutput) SDKResponseMetadata ¶
func (s GetModelTemplateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetModelTemplate API operation.
func (GetModelTemplateRequest) Send ¶
func (r GetModelTemplateRequest) Send(ctx context.Context) (*GetModelTemplateOutput, error)
Send marshals and sends the GetModelTemplate API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelsRequest
func (GetModelsInput) GoString ¶
func (s GetModelsInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelsResponse
func (GetModelsOutput) GoString ¶
func (s GetModelsOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetModelsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetModels API operation.
func (GetModelsRequest) Send ¶
func (r GetModelsRequest) Send(ctx context.Context) (*GetModelsOutput, error)
Send marshals and sends the GetModels API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteRequest
func (GetRouteInput) GoString ¶
func (s GetRouteInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResult
func (GetRouteOutput) GoString ¶
func (s GetRouteOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetRouteOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetRoute API operation.
func (GetRouteRequest) Send ¶
func (r GetRouteRequest) Send(ctx context.Context) (*GetRouteOutput, error)
Send marshals and sends the GetRoute API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponseRequest
func (GetRouteResponseInput) GoString ¶
func (s GetRouteResponseInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponseResponse
func (GetRouteResponseOutput) GoString ¶
func (s GetRouteResponseOutput) GoString() string
GoString returns the string representation
func (GetRouteResponseOutput) MarshalFields ¶
func (s GetRouteResponseOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetRouteResponseOutput) SDKResponseMetadata ¶
func (s GetRouteResponseOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetRouteResponse API operation.
func (GetRouteResponseRequest) Send ¶
func (r GetRouteResponseRequest) Send(ctx context.Context) (*GetRouteResponseOutput, error)
Send marshals and sends the GetRouteResponse API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponsesRequest
func (GetRouteResponsesInput) GoString ¶
func (s GetRouteResponsesInput) GoString() string
GoString returns the string representation
func (GetRouteResponsesInput) MarshalFields ¶
func (s GetRouteResponsesInput) MarshalFields(e protocol.FieldEncoder) error
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponsesResponse
func (GetRouteResponsesOutput) GoString ¶
func (s GetRouteResponsesOutput) GoString() string
GoString returns the string representation
func (GetRouteResponsesOutput) MarshalFields ¶
func (s GetRouteResponsesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetRouteResponsesOutput) SDKResponseMetadata ¶
func (s GetRouteResponsesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetRouteResponses API operation.
func (GetRouteResponsesRequest) Send ¶
func (r GetRouteResponsesRequest) Send(ctx context.Context) (*GetRouteResponsesOutput, error)
Send marshals and sends the GetRouteResponses API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutesRequest
func (GetRoutesInput) GoString ¶
func (s GetRoutesInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutesResponse
func (GetRoutesOutput) GoString ¶
func (s GetRoutesOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetRoutesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetRoutes API operation.
func (GetRoutesRequest) Send ¶
func (r GetRoutesRequest) Send(ctx context.Context) (*GetRoutesOutput, error)
Send marshals and sends the GetRoutes API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStageRequest
func (GetStageInput) GoString ¶
func (s GetStageInput) GoString() string
GoString returns the string representation
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:"unix"` // 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:"unix"` // The route settings map. RouteSettings map[string]RouteSettings `locationName:"routeSettings" type:"map"` // A string with a length between [1-128]. StageName *string `locationName:"stageName" type:"string"` // The stage variable map. StageVariables map[string]string `locationName:"stageVariables" type:"map"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStageResponse
func (GetStageOutput) GoString ¶
func (s GetStageOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetStageOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetStage API operation.
func (GetStageRequest) Send ¶
func (r GetStageRequest) Send(ctx context.Context) (*GetStageOutput, error)
Send marshals and sends the GetStage API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStagesRequest
func (GetStagesInput) GoString ¶
func (s GetStagesInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStagesResponse
func (GetStagesOutput) GoString ¶
func (s GetStagesOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s GetStagesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the GetStages API operation.
func (GetStagesRequest) Send ¶
func (r GetStagesRequest) Send(ctx context.Context) (*GetStagesOutput, error)
Send marshals and sends the GetStages API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/Integration
func (Integration) GoString ¶
func (s Integration) GoString() string
GoString returns the string representation
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/IntegrationResponse
func (IntegrationResponse) GoString ¶
func (s IntegrationResponse) GoString() string
GoString returns the string representation
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). Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/Model
func (Model) MarshalFields ¶
func (s Model) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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). Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ParameterConstraints
func (ParameterConstraints) GoString ¶
func (s ParameterConstraints) GoString() string
GoString returns the string representation
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/Route
func (Route) MarshalFields ¶
func (s Route) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/RouteResponse
func (RouteResponse) GoString ¶
func (s RouteResponse) GoString() string
GoString returns the string representation
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/RouteSettings
func (RouteSettings) GoString ¶
func (s RouteSettings) GoString() string
GoString returns the string representation
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 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:"unix"` // 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:"unix"` // Route settings for the stage. RouteSettings map[string]RouteSettings `locationName:"routeSettings" type:"map"` // The name of the stage. // // StageName is a required field StageName *string `locationName:"stageName" type:"string" required:"true"` // A map that defines the stage variables for a stage resource. Variable names // can have alphanumeric and underscore characters, and the values must match // [A-Za-z0-9-._~:/?#&=,]+. StageVariables map[string]string `locationName:"stageVariables" type:"map"` // contains filtered or unexported fields }
Represents an API stage. Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/Stage
func (Stage) MarshalFields ¶
func (s Stage) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiRequest
func (UpdateApiInput) GoString ¶
func (s UpdateApiInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMappingRequest
func (UpdateApiMappingInput) GoString ¶
func (s UpdateApiMappingInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMappingResponse
func (UpdateApiMappingOutput) GoString ¶
func (s UpdateApiMappingOutput) GoString() string
GoString returns the string representation
func (UpdateApiMappingOutput) MarshalFields ¶
func (s UpdateApiMappingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateApiMappingOutput) SDKResponseMetadata ¶
func (s UpdateApiMappingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateApiMapping API operation.
func (UpdateApiMappingRequest) Send ¶
func (r UpdateApiMappingRequest) Send(ctx context.Context) (*UpdateApiMappingOutput, error)
Send marshals and sends the UpdateApiMapping API 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:"unix"` // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiResponse
func (UpdateApiOutput) GoString ¶
func (s UpdateApiOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s UpdateApiOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateApi API operation.
func (UpdateApiRequest) Send ¶
func (r UpdateApiRequest) Send(ctx context.Context) (*UpdateApiOutput, error)
Send marshals and sends the UpdateApi API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizerRequest
func (UpdateAuthorizerInput) GoString ¶
func (s UpdateAuthorizerInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizerResponse
func (UpdateAuthorizerOutput) GoString ¶
func (s UpdateAuthorizerOutput) GoString() string
GoString returns the string representation
func (UpdateAuthorizerOutput) MarshalFields ¶
func (s UpdateAuthorizerOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateAuthorizerOutput) SDKResponseMetadata ¶
func (s UpdateAuthorizerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateAuthorizer API operation.
func (UpdateAuthorizerRequest) Send ¶
func (r UpdateAuthorizerRequest) Send(ctx context.Context) (*UpdateAuthorizerOutput, error)
Send marshals and sends the UpdateAuthorizer API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeploymentRequest
func (UpdateDeploymentInput) GoString ¶
func (s UpdateDeploymentInput) GoString() string
GoString returns the string representation
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:"unix"` // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeploymentResponse
func (UpdateDeploymentOutput) GoString ¶
func (s UpdateDeploymentOutput) GoString() string
GoString returns the string representation
func (UpdateDeploymentOutput) MarshalFields ¶
func (s UpdateDeploymentOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDeploymentOutput) SDKResponseMetadata ¶
func (s UpdateDeploymentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateDeployment API operation.
func (UpdateDeploymentRequest) Send ¶
func (r UpdateDeploymentRequest) Send(ctx context.Context) (*UpdateDeploymentOutput, error)
Send marshals and sends the UpdateDeployment API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainNameRequest
func (UpdateDomainNameInput) GoString ¶
func (s UpdateDomainNameInput) GoString() string
GoString returns the string representation
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"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainNameResponse
func (UpdateDomainNameOutput) GoString ¶
func (s UpdateDomainNameOutput) GoString() string
GoString returns the string representation
func (UpdateDomainNameOutput) MarshalFields ¶
func (s UpdateDomainNameOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDomainNameOutput) SDKResponseMetadata ¶
func (s UpdateDomainNameOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateDomainName API operation.
func (UpdateDomainNameRequest) Send ¶
func (r UpdateDomainNameRequest) Send(ctx context.Context) (*UpdateDomainNameOutput, error)
Send marshals and sends the UpdateDomainName API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationRequest
func (UpdateIntegrationInput) GoString ¶
func (s UpdateIntegrationInput) GoString() string
GoString returns the string representation
func (UpdateIntegrationInput) MarshalFields ¶
func (s UpdateIntegrationInput) MarshalFields(e protocol.FieldEncoder) error
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResult
func (UpdateIntegrationOutput) GoString ¶
func (s UpdateIntegrationOutput) GoString() string
GoString returns the string representation
func (UpdateIntegrationOutput) MarshalFields ¶
func (s UpdateIntegrationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateIntegrationOutput) SDKResponseMetadata ¶
func (s UpdateIntegrationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateIntegration API operation.
func (UpdateIntegrationRequest) Send ¶
func (r UpdateIntegrationRequest) Send(ctx context.Context) (*UpdateIntegrationOutput, error)
Send marshals and sends the UpdateIntegration API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponseRequest
func (UpdateIntegrationResponseInput) GoString ¶
func (s UpdateIntegrationResponseInput) GoString() string
GoString returns the string representation
func (UpdateIntegrationResponseInput) MarshalFields ¶
func (s UpdateIntegrationResponseInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateIntegrationResponseInput) String ¶
func (s UpdateIntegrationResponseInput) String() 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponseResponse
func (UpdateIntegrationResponseOutput) GoString ¶
func (s UpdateIntegrationResponseOutput) GoString() string
GoString returns the string representation
func (UpdateIntegrationResponseOutput) MarshalFields ¶
func (s UpdateIntegrationResponseOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateIntegrationResponseOutput) SDKResponseMetadata ¶
func (s UpdateIntegrationResponseOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateIntegrationResponseOutput) String ¶
func (s UpdateIntegrationResponseOutput) String() string
String returns the string representation
type UpdateIntegrationResponseRequest ¶
type UpdateIntegrationResponseRequest struct { *aws.Request Input *UpdateIntegrationResponseInput Copy func(*UpdateIntegrationResponseInput) UpdateIntegrationResponseRequest }
UpdateIntegrationResponseRequest is a API request type for the UpdateIntegrationResponse API operation.
func (UpdateIntegrationResponseRequest) Send ¶
func (r UpdateIntegrationResponseRequest) Send(ctx context.Context) (*UpdateIntegrationResponseOutput, error)
Send marshals and sends the UpdateIntegrationResponse API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModelRequest
func (UpdateModelInput) GoString ¶
func (s UpdateModelInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModelResponse
func (UpdateModelOutput) GoString ¶
func (s UpdateModelOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s UpdateModelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateModel API operation.
func (UpdateModelRequest) Send ¶
func (r UpdateModelRequest) Send(ctx context.Context) (*UpdateModelOutput, error)
Send marshals and sends the UpdateModel API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteRequest
func (UpdateRouteInput) GoString ¶
func (s UpdateRouteInput) GoString() string
GoString returns the string representation
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResult
func (UpdateRouteOutput) GoString ¶
func (s UpdateRouteOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s UpdateRouteOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateRoute API operation.
func (UpdateRouteRequest) Send ¶
func (r UpdateRouteRequest) Send(ctx context.Context) (*UpdateRouteOutput, error)
Send marshals and sends the UpdateRoute API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponseRequest
func (UpdateRouteResponseInput) GoString ¶
func (s UpdateRouteResponseInput) GoString() string
GoString returns the string representation
func (UpdateRouteResponseInput) MarshalFields ¶
func (s UpdateRouteResponseInput) MarshalFields(e protocol.FieldEncoder) error
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponseResponse
func (UpdateRouteResponseOutput) GoString ¶
func (s UpdateRouteResponseOutput) GoString() string
GoString returns the string representation
func (UpdateRouteResponseOutput) MarshalFields ¶
func (s UpdateRouteResponseOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateRouteResponseOutput) SDKResponseMetadata ¶
func (s UpdateRouteResponseOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateRouteResponse API operation.
func (UpdateRouteResponseRequest) Send ¶
func (r UpdateRouteResponseRequest) Send(ctx context.Context) (*UpdateRouteResponseOutput, error)
Send marshals and sends the UpdateRouteResponse API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStageRequest
func (UpdateStageInput) GoString ¶
func (s UpdateStageInput) GoString() string
GoString returns the string representation
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:"unix"` // 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:"unix"` // The route settings map. RouteSettings map[string]RouteSettings `locationName:"routeSettings" type:"map"` // A string with a length between [1-128]. StageName *string `locationName:"stageName" type:"string"` // The stage variable map. StageVariables map[string]string `locationName:"stageVariables" type:"map"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStageResponse
func (UpdateStageOutput) GoString ¶
func (s UpdateStageOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s UpdateStageOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateStage API operation.
func (UpdateStageRequest) Send ¶
func (r UpdateStageRequest) Send(ctx context.Context) (*UpdateStageOutput, error)
Send marshals and sends the UpdateStage API request.
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. |