func AuthorizationType_Values() []string
AuthorizationType_Values returns all elements of the AuthorizationType enum
func AuthorizerType_Values() []string
AuthorizerType_Values returns all elements of the AuthorizerType enum
func ConnectionType_Values() []string
ConnectionType_Values returns all elements of the ConnectionType enum
func ContentHandlingStrategy_Values() []string
ContentHandlingStrategy_Values returns all elements of the ContentHandlingStrategy enum
func DeploymentStatus_Values() []string
DeploymentStatus_Values returns all elements of the DeploymentStatus enum
func DomainNameStatus_Values() []string
DomainNameStatus_Values returns all elements of the DomainNameStatus enum
func EndpointType_Values() []string
EndpointType_Values returns all elements of the EndpointType enum
func IntegrationType_Values() []string
IntegrationType_Values returns all elements of the IntegrationType enum
func LoggingLevel_Values() []string
LoggingLevel_Values returns all elements of the LoggingLevel enum
func PassthroughBehavior_Values() []string
PassthroughBehavior_Values returns all elements of the PassthroughBehavior enum
func ProtocolType_Values() []string
ProtocolType_Values returns all elements of the ProtocolType enum
func SecurityPolicy_Values() []string
SecurityPolicy_Values returns all elements of the SecurityPolicy enum
func VpcLinkStatus_Values() []string
VpcLinkStatus_Values returns all elements of the VpcLinkStatus enum
func VpcLinkVersion_Values() []string
VpcLinkVersion_Values returns all elements of the VpcLinkVersion enum
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccessLogSettings struct { // The ARN of the CloudWatch Logs log group to receive access logs. DestinationArn *string `locationName:"destinationArn" type:"string"` // A single line format of the access logs of data, as specified by selected // $context variables. The format must include at least $context.requestId. Format *string `locationName:"format" type:"string"` // contains filtered or unexported fields }
Settings for logging access in a stage.
func (s AccessLogSettings) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccessLogSettings) SetDestinationArn(v string) *AccessLogSettings
SetDestinationArn sets the DestinationArn field's value.
func (s *AccessLogSettings) SetFormat(v string) *AccessLogSettings
SetFormat sets the Format field's value.
func (s AccessLogSettings) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Api struct { // The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com. // The stage name is typically appended to this URI to form a complete path // to a deployed API stage. ApiEndpoint *string `locationName:"apiEndpoint" type:"string"` // Specifies whether an API is managed by API Gateway. You can't update or delete // a managed API by using API Gateway. A managed API can be deleted only through // the tooling or service that created it. ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"` // The API ID. ApiId *string `locationName:"apiId" type:"string"` // An API key selection expression. Supported only for WebSocket APIs. See API // Key Selection Expressions (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions). ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"` // A CORS configuration. Supported only for HTTP APIs. CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"` // The timestamp when the API was created. CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"` // The description of the API. Description *string `locationName:"description" type:"string"` // Specifies whether clients can invoke your API by using the default execute-api // endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com // endpoint. To require that clients use a custom domain name to invoke your // API, disable the default endpoint. DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"` // Avoid validating models when creating a deployment. Supported only for WebSocket // APIs. DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"` // The validation information during API import. This may include particular // properties of your OpenAPI definition which are ignored during import. Supported // only for HTTP APIs. ImportInfo []*string `locationName:"importInfo" type:"list"` // The name of the API. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The API protocol. // // ProtocolType is a required field ProtocolType *string `locationName:"protocolType" type:"string" required:"true" enum:"ProtocolType"` // The route selection expression for the API. For HTTP APIs, the routeSelectionExpression // must be ${request.method} ${request.path}. If not provided, this will be // the default for HTTP APIs. This property is required for WebSocket APIs. // // RouteSelectionExpression is a required field RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string" required:"true"` // A collection of tags associated with the API. Tags map[string]*string `locationName:"tags" type:"map"` // A version identifier for the API. Version *string `locationName:"version" type:"string"` // The warning messages reported when failonwarnings is turned on during API // import. Warnings []*string `locationName:"warnings" type:"list"` // contains filtered or unexported fields }
Represents an API.
func (s Api) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Api) SetApiEndpoint(v string) *Api
SetApiEndpoint sets the ApiEndpoint field's value.
func (s *Api) SetApiGatewayManaged(v bool) *Api
SetApiGatewayManaged sets the ApiGatewayManaged field's value.
func (s *Api) SetApiId(v string) *Api
SetApiId sets the ApiId field's value.
func (s *Api) SetApiKeySelectionExpression(v string) *Api
SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.
func (s *Api) SetCorsConfiguration(v *Cors) *Api
SetCorsConfiguration sets the CorsConfiguration field's value.
func (s *Api) SetCreatedDate(v time.Time) *Api
SetCreatedDate sets the CreatedDate field's value.
func (s *Api) SetDescription(v string) *Api
SetDescription sets the Description field's value.
func (s *Api) SetDisableExecuteApiEndpoint(v bool) *Api
SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.
func (s *Api) SetDisableSchemaValidation(v bool) *Api
SetDisableSchemaValidation sets the DisableSchemaValidation field's value.
func (s *Api) SetImportInfo(v []*string) *Api
SetImportInfo sets the ImportInfo field's value.
func (s *Api) SetName(v string) *Api
SetName sets the Name field's value.
func (s *Api) SetProtocolType(v string) *Api
SetProtocolType sets the ProtocolType field's value.
func (s *Api) SetRouteSelectionExpression(v string) *Api
SetRouteSelectionExpression sets the RouteSelectionExpression field's value.
func (s *Api) SetTags(v map[string]*string) *Api
SetTags sets the Tags field's value.
func (s *Api) SetVersion(v string) *Api
SetVersion sets the Version field's value.
func (s *Api) SetWarnings(v []*string) *Api
SetWarnings sets the Warnings field's value.
func (s Api) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ApiGatewayV2 struct { *client.Client }
ApiGatewayV2 provides the API operation methods for making requests to AmazonApiGatewayV2. See this package's package overview docs for details on the service.
ApiGatewayV2 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ApiGatewayV2
New creates a new instance of the ApiGatewayV2 client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a ApiGatewayV2 client from just a session. svc := apigatewayv2.New(mySession) // Create a ApiGatewayV2 client with additional configuration svc := apigatewayv2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (c *ApiGatewayV2) CreateApi(input *CreateApiInput) (*CreateApiOutput, error)
CreateApi API operation for AmazonApiGatewayV2.
Creates an Api resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateApi for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi
func (c *ApiGatewayV2) CreateApiMapping(input *CreateApiMappingInput) (*CreateApiMappingOutput, error)
CreateApiMapping API operation for AmazonApiGatewayV2.
Creates an API mapping.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateApiMapping for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping
func (c *ApiGatewayV2) CreateApiMappingRequest(input *CreateApiMappingInput) (req *request.Request, output *CreateApiMappingOutput)
CreateApiMappingRequest generates a "aws/request.Request" representing the client's request for the CreateApiMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateApiMapping for more information on using the CreateApiMapping API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateApiMappingRequest method. req, resp := client.CreateApiMappingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping
func (c *ApiGatewayV2) CreateApiMappingWithContext(ctx aws.Context, input *CreateApiMappingInput, opts ...request.Option) (*CreateApiMappingOutput, error)
CreateApiMappingWithContext is the same as CreateApiMapping with the addition of the ability to pass a context and additional request options.
See CreateApiMapping for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) CreateApiRequest(input *CreateApiInput) (req *request.Request, output *CreateApiOutput)
CreateApiRequest generates a "aws/request.Request" representing the client's request for the CreateApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateApi for more information on using the CreateApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateApiRequest method. req, resp := client.CreateApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi
func (c *ApiGatewayV2) CreateApiWithContext(ctx aws.Context, input *CreateApiInput, opts ...request.Option) (*CreateApiOutput, error)
CreateApiWithContext is the same as CreateApi with the addition of the ability to pass a context and additional request options.
See CreateApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) CreateAuthorizer(input *CreateAuthorizerInput) (*CreateAuthorizerOutput, error)
CreateAuthorizer API operation for AmazonApiGatewayV2.
Creates an Authorizer for an API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateAuthorizer for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer
func (c *ApiGatewayV2) CreateAuthorizerRequest(input *CreateAuthorizerInput) (req *request.Request, output *CreateAuthorizerOutput)
CreateAuthorizerRequest generates a "aws/request.Request" representing the client's request for the CreateAuthorizer operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateAuthorizer for more information on using the CreateAuthorizer API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateAuthorizerRequest method. req, resp := client.CreateAuthorizerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer
func (c *ApiGatewayV2) CreateAuthorizerWithContext(ctx aws.Context, input *CreateAuthorizerInput, opts ...request.Option) (*CreateAuthorizerOutput, error)
CreateAuthorizerWithContext is the same as CreateAuthorizer with the addition of the ability to pass a context and additional request options.
See CreateAuthorizer for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error)
CreateDeployment API operation for AmazonApiGatewayV2.
Creates a Deployment for an API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateDeployment for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment
func (c *ApiGatewayV2) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput)
CreateDeploymentRequest generates a "aws/request.Request" representing the client's request for the CreateDeployment operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateDeployment for more information on using the CreateDeployment API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateDeploymentRequest method. req, resp := client.CreateDeploymentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment
func (c *ApiGatewayV2) CreateDeploymentWithContext(ctx aws.Context, input *CreateDeploymentInput, opts ...request.Option) (*CreateDeploymentOutput, error)
CreateDeploymentWithContext is the same as CreateDeployment with the addition of the ability to pass a context and additional request options.
See CreateDeployment for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) CreateDomainName(input *CreateDomainNameInput) (*CreateDomainNameOutput, error)
CreateDomainName API operation for AmazonApiGatewayV2.
Creates a domain name.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateDomainName for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
AccessDeniedException
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName
func (c *ApiGatewayV2) CreateDomainNameRequest(input *CreateDomainNameInput) (req *request.Request, output *CreateDomainNameOutput)
CreateDomainNameRequest generates a "aws/request.Request" representing the client's request for the CreateDomainName operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateDomainName for more information on using the CreateDomainName API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateDomainNameRequest method. req, resp := client.CreateDomainNameRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName
func (c *ApiGatewayV2) CreateDomainNameWithContext(ctx aws.Context, input *CreateDomainNameInput, opts ...request.Option) (*CreateDomainNameOutput, error)
CreateDomainNameWithContext is the same as CreateDomainName with the addition of the ability to pass a context and additional request options.
See CreateDomainName for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) CreateIntegration(input *CreateIntegrationInput) (*CreateIntegrationOutput, error)
CreateIntegration API operation for AmazonApiGatewayV2.
Creates an Integration.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateIntegration for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration
func (c *ApiGatewayV2) CreateIntegrationRequest(input *CreateIntegrationInput) (req *request.Request, output *CreateIntegrationOutput)
CreateIntegrationRequest generates a "aws/request.Request" representing the client's request for the CreateIntegration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateIntegration for more information on using the CreateIntegration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateIntegrationRequest method. req, resp := client.CreateIntegrationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration
func (c *ApiGatewayV2) CreateIntegrationResponse(input *CreateIntegrationResponseInput) (*CreateIntegrationResponseOutput, error)
CreateIntegrationResponse API operation for AmazonApiGatewayV2.
Creates an IntegrationResponses.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateIntegrationResponse for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse
func (c *ApiGatewayV2) CreateIntegrationResponseRequest(input *CreateIntegrationResponseInput) (req *request.Request, output *CreateIntegrationResponseOutput)
CreateIntegrationResponseRequest generates a "aws/request.Request" representing the client's request for the CreateIntegrationResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateIntegrationResponse for more information on using the CreateIntegrationResponse API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateIntegrationResponseRequest method. req, resp := client.CreateIntegrationResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse
func (c *ApiGatewayV2) CreateIntegrationResponseWithContext(ctx aws.Context, input *CreateIntegrationResponseInput, opts ...request.Option) (*CreateIntegrationResponseOutput, error)
CreateIntegrationResponseWithContext is the same as CreateIntegrationResponse with the addition of the ability to pass a context and additional request options.
See CreateIntegrationResponse for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) CreateIntegrationWithContext(ctx aws.Context, input *CreateIntegrationInput, opts ...request.Option) (*CreateIntegrationOutput, error)
CreateIntegrationWithContext is the same as CreateIntegration with the addition of the ability to pass a context and additional request options.
See CreateIntegration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) CreateModel(input *CreateModelInput) (*CreateModelOutput, error)
CreateModel API operation for AmazonApiGatewayV2.
Creates a Model for an API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateModel for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel
func (c *ApiGatewayV2) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput)
CreateModelRequest generates a "aws/request.Request" representing the client's request for the CreateModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateModel for more information on using the CreateModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateModelRequest method. req, resp := client.CreateModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel
func (c *ApiGatewayV2) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error)
CreateModelWithContext is the same as CreateModel with the addition of the ability to pass a context and additional request options.
See CreateModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) CreateRoute(input *CreateRouteInput) (*CreateRouteOutput, error)
CreateRoute API operation for AmazonApiGatewayV2.
Creates a Route for an API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateRoute for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute
func (c *ApiGatewayV2) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, output *CreateRouteOutput)
CreateRouteRequest generates a "aws/request.Request" representing the client's request for the CreateRoute operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateRoute for more information on using the CreateRoute API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateRouteRequest method. req, resp := client.CreateRouteRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute
func (c *ApiGatewayV2) CreateRouteResponse(input *CreateRouteResponseInput) (*CreateRouteResponseOutput, error)
CreateRouteResponse API operation for AmazonApiGatewayV2.
Creates a RouteResponse for a Route.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateRouteResponse for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse
func (c *ApiGatewayV2) CreateRouteResponseRequest(input *CreateRouteResponseInput) (req *request.Request, output *CreateRouteResponseOutput)
CreateRouteResponseRequest generates a "aws/request.Request" representing the client's request for the CreateRouteResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateRouteResponse for more information on using the CreateRouteResponse API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateRouteResponseRequest method. req, resp := client.CreateRouteResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse
func (c *ApiGatewayV2) CreateRouteResponseWithContext(ctx aws.Context, input *CreateRouteResponseInput, opts ...request.Option) (*CreateRouteResponseOutput, error)
CreateRouteResponseWithContext is the same as CreateRouteResponse with the addition of the ability to pass a context and additional request options.
See CreateRouteResponse for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) CreateRouteWithContext(ctx aws.Context, input *CreateRouteInput, opts ...request.Option) (*CreateRouteOutput, error)
CreateRouteWithContext is the same as CreateRoute with the addition of the ability to pass a context and additional request options.
See CreateRoute for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) CreateStage(input *CreateStageInput) (*CreateStageOutput, error)
CreateStage API operation for AmazonApiGatewayV2.
Creates a Stage for an API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateStage for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage
func (c *ApiGatewayV2) CreateStageRequest(input *CreateStageInput) (req *request.Request, output *CreateStageOutput)
CreateStageRequest generates a "aws/request.Request" representing the client's request for the CreateStage operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateStage for more information on using the CreateStage API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateStageRequest method. req, resp := client.CreateStageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage
func (c *ApiGatewayV2) CreateStageWithContext(ctx aws.Context, input *CreateStageInput, opts ...request.Option) (*CreateStageOutput, error)
CreateStageWithContext is the same as CreateStage with the addition of the ability to pass a context and additional request options.
See CreateStage for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) CreateVpcLink(input *CreateVpcLinkInput) (*CreateVpcLinkOutput, error)
CreateVpcLink API operation for AmazonApiGatewayV2.
Creates a VPC link.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation CreateVpcLink for usage and error information.
Returned Error Types:
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink
func (c *ApiGatewayV2) CreateVpcLinkRequest(input *CreateVpcLinkInput) (req *request.Request, output *CreateVpcLinkOutput)
CreateVpcLinkRequest generates a "aws/request.Request" representing the client's request for the CreateVpcLink operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateVpcLink for more information on using the CreateVpcLink API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateVpcLinkRequest method. req, resp := client.CreateVpcLinkRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink
func (c *ApiGatewayV2) CreateVpcLinkWithContext(ctx aws.Context, input *CreateVpcLinkInput, opts ...request.Option) (*CreateVpcLinkOutput, error)
CreateVpcLinkWithContext is the same as CreateVpcLink with the addition of the ability to pass a context and additional request options.
See CreateVpcLink for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteAccessLogSettings(input *DeleteAccessLogSettingsInput) (*DeleteAccessLogSettingsOutput, error)
DeleteAccessLogSettings API operation for AmazonApiGatewayV2.
Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteAccessLogSettings for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings
func (c *ApiGatewayV2) DeleteAccessLogSettingsRequest(input *DeleteAccessLogSettingsInput) (req *request.Request, output *DeleteAccessLogSettingsOutput)
DeleteAccessLogSettingsRequest generates a "aws/request.Request" representing the client's request for the DeleteAccessLogSettings operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteAccessLogSettings for more information on using the DeleteAccessLogSettings API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteAccessLogSettingsRequest method. req, resp := client.DeleteAccessLogSettingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings
func (c *ApiGatewayV2) DeleteAccessLogSettingsWithContext(ctx aws.Context, input *DeleteAccessLogSettingsInput, opts ...request.Option) (*DeleteAccessLogSettingsOutput, error)
DeleteAccessLogSettingsWithContext is the same as DeleteAccessLogSettings with the addition of the ability to pass a context and additional request options.
See DeleteAccessLogSettings for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteApi(input *DeleteApiInput) (*DeleteApiOutput, error)
DeleteApi API operation for AmazonApiGatewayV2.
Deletes an Api resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteApi for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi
func (c *ApiGatewayV2) DeleteApiMapping(input *DeleteApiMappingInput) (*DeleteApiMappingOutput, error)
DeleteApiMapping API operation for AmazonApiGatewayV2.
Deletes an API mapping.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteApiMapping for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping
func (c *ApiGatewayV2) DeleteApiMappingRequest(input *DeleteApiMappingInput) (req *request.Request, output *DeleteApiMappingOutput)
DeleteApiMappingRequest generates a "aws/request.Request" representing the client's request for the DeleteApiMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteApiMapping for more information on using the DeleteApiMapping API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteApiMappingRequest method. req, resp := client.DeleteApiMappingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping
func (c *ApiGatewayV2) DeleteApiMappingWithContext(ctx aws.Context, input *DeleteApiMappingInput, opts ...request.Option) (*DeleteApiMappingOutput, error)
DeleteApiMappingWithContext is the same as DeleteApiMapping with the addition of the ability to pass a context and additional request options.
See DeleteApiMapping for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteApiRequest(input *DeleteApiInput) (req *request.Request, output *DeleteApiOutput)
DeleteApiRequest generates a "aws/request.Request" representing the client's request for the DeleteApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteApi for more information on using the DeleteApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteApiRequest method. req, resp := client.DeleteApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi
func (c *ApiGatewayV2) DeleteApiWithContext(ctx aws.Context, input *DeleteApiInput, opts ...request.Option) (*DeleteApiOutput, error)
DeleteApiWithContext is the same as DeleteApi with the addition of the ability to pass a context and additional request options.
See DeleteApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteAuthorizer(input *DeleteAuthorizerInput) (*DeleteAuthorizerOutput, error)
DeleteAuthorizer API operation for AmazonApiGatewayV2.
Deletes an Authorizer.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteAuthorizer for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer
func (c *ApiGatewayV2) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) (req *request.Request, output *DeleteAuthorizerOutput)
DeleteAuthorizerRequest generates a "aws/request.Request" representing the client's request for the DeleteAuthorizer operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteAuthorizer for more information on using the DeleteAuthorizer API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteAuthorizerRequest method. req, resp := client.DeleteAuthorizerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer
func (c *ApiGatewayV2) DeleteAuthorizerWithContext(ctx aws.Context, input *DeleteAuthorizerInput, opts ...request.Option) (*DeleteAuthorizerOutput, error)
DeleteAuthorizerWithContext is the same as DeleteAuthorizer with the addition of the ability to pass a context and additional request options.
See DeleteAuthorizer for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteCorsConfiguration(input *DeleteCorsConfigurationInput) (*DeleteCorsConfigurationOutput, error)
DeleteCorsConfiguration API operation for AmazonApiGatewayV2.
Deletes a CORS configuration.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteCorsConfiguration for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration
func (c *ApiGatewayV2) DeleteCorsConfigurationRequest(input *DeleteCorsConfigurationInput) (req *request.Request, output *DeleteCorsConfigurationOutput)
DeleteCorsConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteCorsConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteCorsConfiguration for more information on using the DeleteCorsConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteCorsConfigurationRequest method. req, resp := client.DeleteCorsConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration
func (c *ApiGatewayV2) DeleteCorsConfigurationWithContext(ctx aws.Context, input *DeleteCorsConfigurationInput, opts ...request.Option) (*DeleteCorsConfigurationOutput, error)
DeleteCorsConfigurationWithContext is the same as DeleteCorsConfiguration with the addition of the ability to pass a context and additional request options.
See DeleteCorsConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteDeployment(input *DeleteDeploymentInput) (*DeleteDeploymentOutput, error)
DeleteDeployment API operation for AmazonApiGatewayV2.
Deletes a Deployment.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteDeployment for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment
func (c *ApiGatewayV2) DeleteDeploymentRequest(input *DeleteDeploymentInput) (req *request.Request, output *DeleteDeploymentOutput)
DeleteDeploymentRequest generates a "aws/request.Request" representing the client's request for the DeleteDeployment operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteDeployment for more information on using the DeleteDeployment API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteDeploymentRequest method. req, resp := client.DeleteDeploymentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment
func (c *ApiGatewayV2) DeleteDeploymentWithContext(ctx aws.Context, input *DeleteDeploymentInput, opts ...request.Option) (*DeleteDeploymentOutput, error)
DeleteDeploymentWithContext is the same as DeleteDeployment with the addition of the ability to pass a context and additional request options.
See DeleteDeployment for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteDomainName(input *DeleteDomainNameInput) (*DeleteDomainNameOutput, error)
DeleteDomainName API operation for AmazonApiGatewayV2.
Deletes a domain name.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteDomainName for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName
func (c *ApiGatewayV2) DeleteDomainNameRequest(input *DeleteDomainNameInput) (req *request.Request, output *DeleteDomainNameOutput)
DeleteDomainNameRequest generates a "aws/request.Request" representing the client's request for the DeleteDomainName operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteDomainName for more information on using the DeleteDomainName API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteDomainNameRequest method. req, resp := client.DeleteDomainNameRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName
func (c *ApiGatewayV2) DeleteDomainNameWithContext(ctx aws.Context, input *DeleteDomainNameInput, opts ...request.Option) (*DeleteDomainNameOutput, error)
DeleteDomainNameWithContext is the same as DeleteDomainName with the addition of the ability to pass a context and additional request options.
See DeleteDomainName for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteIntegration(input *DeleteIntegrationInput) (*DeleteIntegrationOutput, error)
DeleteIntegration API operation for AmazonApiGatewayV2.
Deletes an Integration.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteIntegration for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration
func (c *ApiGatewayV2) DeleteIntegrationRequest(input *DeleteIntegrationInput) (req *request.Request, output *DeleteIntegrationOutput)
DeleteIntegrationRequest generates a "aws/request.Request" representing the client's request for the DeleteIntegration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteIntegration for more information on using the DeleteIntegration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteIntegrationRequest method. req, resp := client.DeleteIntegrationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration
func (c *ApiGatewayV2) DeleteIntegrationResponse(input *DeleteIntegrationResponseInput) (*DeleteIntegrationResponseOutput, error)
DeleteIntegrationResponse API operation for AmazonApiGatewayV2.
Deletes an IntegrationResponses.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteIntegrationResponse for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse
func (c *ApiGatewayV2) DeleteIntegrationResponseRequest(input *DeleteIntegrationResponseInput) (req *request.Request, output *DeleteIntegrationResponseOutput)
DeleteIntegrationResponseRequest generates a "aws/request.Request" representing the client's request for the DeleteIntegrationResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteIntegrationResponse for more information on using the DeleteIntegrationResponse API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteIntegrationResponseRequest method. req, resp := client.DeleteIntegrationResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse
func (c *ApiGatewayV2) DeleteIntegrationResponseWithContext(ctx aws.Context, input *DeleteIntegrationResponseInput, opts ...request.Option) (*DeleteIntegrationResponseOutput, error)
DeleteIntegrationResponseWithContext is the same as DeleteIntegrationResponse with the addition of the ability to pass a context and additional request options.
See DeleteIntegrationResponse for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteIntegrationWithContext(ctx aws.Context, input *DeleteIntegrationInput, opts ...request.Option) (*DeleteIntegrationOutput, error)
DeleteIntegrationWithContext is the same as DeleteIntegration with the addition of the ability to pass a context and additional request options.
See DeleteIntegration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error)
DeleteModel API operation for AmazonApiGatewayV2.
Deletes a Model.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteModel for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModel
func (c *ApiGatewayV2) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput)
DeleteModelRequest generates a "aws/request.Request" representing the client's request for the DeleteModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteModel for more information on using the DeleteModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteModelRequest method. req, resp := client.DeleteModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModel
func (c *ApiGatewayV2) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error)
DeleteModelWithContext is the same as DeleteModel with the addition of the ability to pass a context and additional request options.
See DeleteModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteRoute(input *DeleteRouteInput) (*DeleteRouteOutput, error)
DeleteRoute API operation for AmazonApiGatewayV2.
Deletes a Route.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteRoute for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute
func (c *ApiGatewayV2) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, output *DeleteRouteOutput)
DeleteRouteRequest generates a "aws/request.Request" representing the client's request for the DeleteRoute operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteRoute for more information on using the DeleteRoute API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteRouteRequest method. req, resp := client.DeleteRouteRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute
func (c *ApiGatewayV2) DeleteRouteRequestParameter(input *DeleteRouteRequestParameterInput) (*DeleteRouteRequestParameterOutput, error)
DeleteRouteRequestParameter API operation for AmazonApiGatewayV2.
Deletes a route request parameter.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteRouteRequestParameter for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter
func (c *ApiGatewayV2) DeleteRouteRequestParameterRequest(input *DeleteRouteRequestParameterInput) (req *request.Request, output *DeleteRouteRequestParameterOutput)
DeleteRouteRequestParameterRequest generates a "aws/request.Request" representing the client's request for the DeleteRouteRequestParameter operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteRouteRequestParameter for more information on using the DeleteRouteRequestParameter API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteRouteRequestParameterRequest method. req, resp := client.DeleteRouteRequestParameterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter
func (c *ApiGatewayV2) DeleteRouteRequestParameterWithContext(ctx aws.Context, input *DeleteRouteRequestParameterInput, opts ...request.Option) (*DeleteRouteRequestParameterOutput, error)
DeleteRouteRequestParameterWithContext is the same as DeleteRouteRequestParameter with the addition of the ability to pass a context and additional request options.
See DeleteRouteRequestParameter for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteRouteResponse(input *DeleteRouteResponseInput) (*DeleteRouteResponseOutput, error)
DeleteRouteResponse API operation for AmazonApiGatewayV2.
Deletes a RouteResponse.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteRouteResponse for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse
func (c *ApiGatewayV2) DeleteRouteResponseRequest(input *DeleteRouteResponseInput) (req *request.Request, output *DeleteRouteResponseOutput)
DeleteRouteResponseRequest generates a "aws/request.Request" representing the client's request for the DeleteRouteResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteRouteResponse for more information on using the DeleteRouteResponse API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteRouteResponseRequest method. req, resp := client.DeleteRouteResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse
func (c *ApiGatewayV2) DeleteRouteResponseWithContext(ctx aws.Context, input *DeleteRouteResponseInput, opts ...request.Option) (*DeleteRouteResponseOutput, error)
DeleteRouteResponseWithContext is the same as DeleteRouteResponse with the addition of the ability to pass a context and additional request options.
See DeleteRouteResponse for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteRouteSettings(input *DeleteRouteSettingsInput) (*DeleteRouteSettingsOutput, error)
DeleteRouteSettings API operation for AmazonApiGatewayV2.
Deletes the RouteSettings for a stage.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteRouteSettings for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings
func (c *ApiGatewayV2) DeleteRouteSettingsRequest(input *DeleteRouteSettingsInput) (req *request.Request, output *DeleteRouteSettingsOutput)
DeleteRouteSettingsRequest generates a "aws/request.Request" representing the client's request for the DeleteRouteSettings operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteRouteSettings for more information on using the DeleteRouteSettings API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteRouteSettingsRequest method. req, resp := client.DeleteRouteSettingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings
func (c *ApiGatewayV2) DeleteRouteSettingsWithContext(ctx aws.Context, input *DeleteRouteSettingsInput, opts ...request.Option) (*DeleteRouteSettingsOutput, error)
DeleteRouteSettingsWithContext is the same as DeleteRouteSettings with the addition of the ability to pass a context and additional request options.
See DeleteRouteSettings for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteRouteWithContext(ctx aws.Context, input *DeleteRouteInput, opts ...request.Option) (*DeleteRouteOutput, error)
DeleteRouteWithContext is the same as DeleteRoute with the addition of the ability to pass a context and additional request options.
See DeleteRoute for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteStage(input *DeleteStageInput) (*DeleteStageOutput, error)
DeleteStage API operation for AmazonApiGatewayV2.
Deletes a Stage.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteStage for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage
func (c *ApiGatewayV2) DeleteStageRequest(input *DeleteStageInput) (req *request.Request, output *DeleteStageOutput)
DeleteStageRequest generates a "aws/request.Request" representing the client's request for the DeleteStage operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteStage for more information on using the DeleteStage API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteStageRequest method. req, resp := client.DeleteStageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage
func (c *ApiGatewayV2) DeleteStageWithContext(ctx aws.Context, input *DeleteStageInput, opts ...request.Option) (*DeleteStageOutput, error)
DeleteStageWithContext is the same as DeleteStage with the addition of the ability to pass a context and additional request options.
See DeleteStage for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) DeleteVpcLink(input *DeleteVpcLinkInput) (*DeleteVpcLinkOutput, error)
DeleteVpcLink API operation for AmazonApiGatewayV2.
Deletes a VPC link.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation DeleteVpcLink for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink
func (c *ApiGatewayV2) DeleteVpcLinkRequest(input *DeleteVpcLinkInput) (req *request.Request, output *DeleteVpcLinkOutput)
DeleteVpcLinkRequest generates a "aws/request.Request" representing the client's request for the DeleteVpcLink operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteVpcLink for more information on using the DeleteVpcLink API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteVpcLinkRequest method. req, resp := client.DeleteVpcLinkRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink
func (c *ApiGatewayV2) DeleteVpcLinkWithContext(ctx aws.Context, input *DeleteVpcLinkInput, opts ...request.Option) (*DeleteVpcLinkOutput, error)
DeleteVpcLinkWithContext is the same as DeleteVpcLink with the addition of the ability to pass a context and additional request options.
See DeleteVpcLink for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) ExportApi(input *ExportApiInput) (*ExportApiOutput, error)
ExportApi API operation for AmazonApiGatewayV2.
Exports a definition of an API in a particular output format and specification.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation ExportApi for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi
func (c *ApiGatewayV2) ExportApiRequest(input *ExportApiInput) (req *request.Request, output *ExportApiOutput)
ExportApiRequest generates a "aws/request.Request" representing the client's request for the ExportApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ExportApi for more information on using the ExportApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ExportApiRequest method. req, resp := client.ExportApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi
func (c *ApiGatewayV2) ExportApiWithContext(ctx aws.Context, input *ExportApiInput, opts ...request.Option) (*ExportApiOutput, error)
ExportApiWithContext is the same as ExportApi with the addition of the ability to pass a context and additional request options.
See ExportApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetApi(input *GetApiInput) (*GetApiOutput, error)
GetApi API operation for AmazonApiGatewayV2.
Gets an Api resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetApi for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi
func (c *ApiGatewayV2) GetApiMapping(input *GetApiMappingInput) (*GetApiMappingOutput, error)
GetApiMapping API operation for AmazonApiGatewayV2.
Gets an API mapping.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetApiMapping for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping
func (c *ApiGatewayV2) GetApiMappingRequest(input *GetApiMappingInput) (req *request.Request, output *GetApiMappingOutput)
GetApiMappingRequest generates a "aws/request.Request" representing the client's request for the GetApiMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetApiMapping for more information on using the GetApiMapping API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetApiMappingRequest method. req, resp := client.GetApiMappingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping
func (c *ApiGatewayV2) GetApiMappingWithContext(ctx aws.Context, input *GetApiMappingInput, opts ...request.Option) (*GetApiMappingOutput, error)
GetApiMappingWithContext is the same as GetApiMapping with the addition of the ability to pass a context and additional request options.
See GetApiMapping for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetApiMappings(input *GetApiMappingsInput) (*GetApiMappingsOutput, error)
GetApiMappings API operation for AmazonApiGatewayV2.
Gets API mappings.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetApiMappings for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings
func (c *ApiGatewayV2) GetApiMappingsRequest(input *GetApiMappingsInput) (req *request.Request, output *GetApiMappingsOutput)
GetApiMappingsRequest generates a "aws/request.Request" representing the client's request for the GetApiMappings operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetApiMappings for more information on using the GetApiMappings API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetApiMappingsRequest method. req, resp := client.GetApiMappingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings
func (c *ApiGatewayV2) GetApiMappingsWithContext(ctx aws.Context, input *GetApiMappingsInput, opts ...request.Option) (*GetApiMappingsOutput, error)
GetApiMappingsWithContext is the same as GetApiMappings with the addition of the ability to pass a context and additional request options.
See GetApiMappings for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetApiRequest(input *GetApiInput) (req *request.Request, output *GetApiOutput)
GetApiRequest generates a "aws/request.Request" representing the client's request for the GetApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetApi for more information on using the GetApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetApiRequest method. req, resp := client.GetApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi
func (c *ApiGatewayV2) GetApiWithContext(ctx aws.Context, input *GetApiInput, opts ...request.Option) (*GetApiOutput, error)
GetApiWithContext is the same as GetApi with the addition of the ability to pass a context and additional request options.
See GetApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetApis(input *GetApisInput) (*GetApisOutput, error)
GetApis API operation for AmazonApiGatewayV2.
Gets a collection of Api resources.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetApis for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis
func (c *ApiGatewayV2) GetApisRequest(input *GetApisInput) (req *request.Request, output *GetApisOutput)
GetApisRequest generates a "aws/request.Request" representing the client's request for the GetApis operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetApis for more information on using the GetApis API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetApisRequest method. req, resp := client.GetApisRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis
func (c *ApiGatewayV2) GetApisWithContext(ctx aws.Context, input *GetApisInput, opts ...request.Option) (*GetApisOutput, error)
GetApisWithContext is the same as GetApis with the addition of the ability to pass a context and additional request options.
See GetApis for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetAuthorizer(input *GetAuthorizerInput) (*GetAuthorizerOutput, error)
GetAuthorizer API operation for AmazonApiGatewayV2.
Gets an Authorizer.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetAuthorizer for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer
func (c *ApiGatewayV2) GetAuthorizerRequest(input *GetAuthorizerInput) (req *request.Request, output *GetAuthorizerOutput)
GetAuthorizerRequest generates a "aws/request.Request" representing the client's request for the GetAuthorizer operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetAuthorizer for more information on using the GetAuthorizer API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAuthorizerRequest method. req, resp := client.GetAuthorizerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer
func (c *ApiGatewayV2) GetAuthorizerWithContext(ctx aws.Context, input *GetAuthorizerInput, opts ...request.Option) (*GetAuthorizerOutput, error)
GetAuthorizerWithContext is the same as GetAuthorizer with the addition of the ability to pass a context and additional request options.
See GetAuthorizer for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetAuthorizers(input *GetAuthorizersInput) (*GetAuthorizersOutput, error)
GetAuthorizers API operation for AmazonApiGatewayV2.
Gets the Authorizers for an API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetAuthorizers for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers
func (c *ApiGatewayV2) GetAuthorizersRequest(input *GetAuthorizersInput) (req *request.Request, output *GetAuthorizersOutput)
GetAuthorizersRequest generates a "aws/request.Request" representing the client's request for the GetAuthorizers operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetAuthorizers for more information on using the GetAuthorizers API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAuthorizersRequest method. req, resp := client.GetAuthorizersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers
func (c *ApiGatewayV2) GetAuthorizersWithContext(ctx aws.Context, input *GetAuthorizersInput, opts ...request.Option) (*GetAuthorizersOutput, error)
GetAuthorizersWithContext is the same as GetAuthorizers with the addition of the ability to pass a context and additional request options.
See GetAuthorizers for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error)
GetDeployment API operation for AmazonApiGatewayV2.
Gets a Deployment.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetDeployment for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment
func (c *ApiGatewayV2) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *GetDeploymentOutput)
GetDeploymentRequest generates a "aws/request.Request" representing the client's request for the GetDeployment operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDeployment for more information on using the GetDeployment API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDeploymentRequest method. req, resp := client.GetDeploymentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment
func (c *ApiGatewayV2) GetDeploymentWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...request.Option) (*GetDeploymentOutput, error)
GetDeploymentWithContext is the same as GetDeployment with the addition of the ability to pass a context and additional request options.
See GetDeployment for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetDeployments(input *GetDeploymentsInput) (*GetDeploymentsOutput, error)
GetDeployments API operation for AmazonApiGatewayV2.
Gets the Deployments for an API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetDeployments for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments
func (c *ApiGatewayV2) GetDeploymentsRequest(input *GetDeploymentsInput) (req *request.Request, output *GetDeploymentsOutput)
GetDeploymentsRequest generates a "aws/request.Request" representing the client's request for the GetDeployments operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDeployments for more information on using the GetDeployments API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDeploymentsRequest method. req, resp := client.GetDeploymentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments
func (c *ApiGatewayV2) GetDeploymentsWithContext(ctx aws.Context, input *GetDeploymentsInput, opts ...request.Option) (*GetDeploymentsOutput, error)
GetDeploymentsWithContext is the same as GetDeployments with the addition of the ability to pass a context and additional request options.
See GetDeployments for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetDomainName(input *GetDomainNameInput) (*GetDomainNameOutput, error)
GetDomainName API operation for AmazonApiGatewayV2.
Gets a domain name.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetDomainName for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName
func (c *ApiGatewayV2) GetDomainNameRequest(input *GetDomainNameInput) (req *request.Request, output *GetDomainNameOutput)
GetDomainNameRequest generates a "aws/request.Request" representing the client's request for the GetDomainName operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDomainName for more information on using the GetDomainName API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDomainNameRequest method. req, resp := client.GetDomainNameRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName
func (c *ApiGatewayV2) GetDomainNameWithContext(ctx aws.Context, input *GetDomainNameInput, opts ...request.Option) (*GetDomainNameOutput, error)
GetDomainNameWithContext is the same as GetDomainName with the addition of the ability to pass a context and additional request options.
See GetDomainName for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetDomainNames(input *GetDomainNamesInput) (*GetDomainNamesOutput, error)
GetDomainNames API operation for AmazonApiGatewayV2.
Gets the domain names for an AWS account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetDomainNames for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames
func (c *ApiGatewayV2) GetDomainNamesRequest(input *GetDomainNamesInput) (req *request.Request, output *GetDomainNamesOutput)
GetDomainNamesRequest generates a "aws/request.Request" representing the client's request for the GetDomainNames operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDomainNames for more information on using the GetDomainNames API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDomainNamesRequest method. req, resp := client.GetDomainNamesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames
func (c *ApiGatewayV2) GetDomainNamesWithContext(ctx aws.Context, input *GetDomainNamesInput, opts ...request.Option) (*GetDomainNamesOutput, error)
GetDomainNamesWithContext is the same as GetDomainNames with the addition of the ability to pass a context and additional request options.
See GetDomainNames for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetIntegration(input *GetIntegrationInput) (*GetIntegrationOutput, error)
GetIntegration API operation for AmazonApiGatewayV2.
Gets an Integration.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetIntegration for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration
func (c *ApiGatewayV2) GetIntegrationRequest(input *GetIntegrationInput) (req *request.Request, output *GetIntegrationOutput)
GetIntegrationRequest generates a "aws/request.Request" representing the client's request for the GetIntegration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetIntegration for more information on using the GetIntegration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetIntegrationRequest method. req, resp := client.GetIntegrationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration
func (c *ApiGatewayV2) GetIntegrationResponse(input *GetIntegrationResponseInput) (*GetIntegrationResponseOutput, error)
GetIntegrationResponse API operation for AmazonApiGatewayV2.
Gets an IntegrationResponses.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetIntegrationResponse for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse
func (c *ApiGatewayV2) GetIntegrationResponseRequest(input *GetIntegrationResponseInput) (req *request.Request, output *GetIntegrationResponseOutput)
GetIntegrationResponseRequest generates a "aws/request.Request" representing the client's request for the GetIntegrationResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetIntegrationResponse for more information on using the GetIntegrationResponse API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetIntegrationResponseRequest method. req, resp := client.GetIntegrationResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse
func (c *ApiGatewayV2) GetIntegrationResponseWithContext(ctx aws.Context, input *GetIntegrationResponseInput, opts ...request.Option) (*GetIntegrationResponseOutput, error)
GetIntegrationResponseWithContext is the same as GetIntegrationResponse with the addition of the ability to pass a context and additional request options.
See GetIntegrationResponse for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetIntegrationResponses(input *GetIntegrationResponsesInput) (*GetIntegrationResponsesOutput, error)
GetIntegrationResponses API operation for AmazonApiGatewayV2.
Gets the IntegrationResponses for an Integration.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetIntegrationResponses for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses
func (c *ApiGatewayV2) GetIntegrationResponsesRequest(input *GetIntegrationResponsesInput) (req *request.Request, output *GetIntegrationResponsesOutput)
GetIntegrationResponsesRequest generates a "aws/request.Request" representing the client's request for the GetIntegrationResponses operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetIntegrationResponses for more information on using the GetIntegrationResponses API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetIntegrationResponsesRequest method. req, resp := client.GetIntegrationResponsesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses
func (c *ApiGatewayV2) GetIntegrationResponsesWithContext(ctx aws.Context, input *GetIntegrationResponsesInput, opts ...request.Option) (*GetIntegrationResponsesOutput, error)
GetIntegrationResponsesWithContext is the same as GetIntegrationResponses with the addition of the ability to pass a context and additional request options.
See GetIntegrationResponses for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetIntegrationWithContext(ctx aws.Context, input *GetIntegrationInput, opts ...request.Option) (*GetIntegrationOutput, error)
GetIntegrationWithContext is the same as GetIntegration with the addition of the ability to pass a context and additional request options.
See GetIntegration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetIntegrations(input *GetIntegrationsInput) (*GetIntegrationsOutput, error)
GetIntegrations API operation for AmazonApiGatewayV2.
Gets the Integrations for an API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetIntegrations for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations
func (c *ApiGatewayV2) GetIntegrationsRequest(input *GetIntegrationsInput) (req *request.Request, output *GetIntegrationsOutput)
GetIntegrationsRequest generates a "aws/request.Request" representing the client's request for the GetIntegrations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetIntegrations for more information on using the GetIntegrations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetIntegrationsRequest method. req, resp := client.GetIntegrationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations
func (c *ApiGatewayV2) GetIntegrationsWithContext(ctx aws.Context, input *GetIntegrationsInput, opts ...request.Option) (*GetIntegrationsOutput, error)
GetIntegrationsWithContext is the same as GetIntegrations with the addition of the ability to pass a context and additional request options.
See GetIntegrations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetModel(input *GetModelInput) (*GetModelOutput, error)
GetModel API operation for AmazonApiGatewayV2.
Gets a Model.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetModel for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel
func (c *ApiGatewayV2) GetModelRequest(input *GetModelInput) (req *request.Request, output *GetModelOutput)
GetModelRequest generates a "aws/request.Request" representing the client's request for the GetModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetModel for more information on using the GetModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetModelRequest method. req, resp := client.GetModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel
func (c *ApiGatewayV2) GetModelTemplate(input *GetModelTemplateInput) (*GetModelTemplateOutput, error)
GetModelTemplate API operation for AmazonApiGatewayV2.
Gets a model template.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetModelTemplate for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate
func (c *ApiGatewayV2) GetModelTemplateRequest(input *GetModelTemplateInput) (req *request.Request, output *GetModelTemplateOutput)
GetModelTemplateRequest generates a "aws/request.Request" representing the client's request for the GetModelTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetModelTemplate for more information on using the GetModelTemplate API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetModelTemplateRequest method. req, resp := client.GetModelTemplateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate
func (c *ApiGatewayV2) GetModelTemplateWithContext(ctx aws.Context, input *GetModelTemplateInput, opts ...request.Option) (*GetModelTemplateOutput, error)
GetModelTemplateWithContext is the same as GetModelTemplate with the addition of the ability to pass a context and additional request options.
See GetModelTemplate for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetModelWithContext(ctx aws.Context, input *GetModelInput, opts ...request.Option) (*GetModelOutput, error)
GetModelWithContext is the same as GetModel with the addition of the ability to pass a context and additional request options.
See GetModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetModels(input *GetModelsInput) (*GetModelsOutput, error)
GetModels API operation for AmazonApiGatewayV2.
Gets the Models for an API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetModels for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels
func (c *ApiGatewayV2) GetModelsRequest(input *GetModelsInput) (req *request.Request, output *GetModelsOutput)
GetModelsRequest generates a "aws/request.Request" representing the client's request for the GetModels operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetModels for more information on using the GetModels API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetModelsRequest method. req, resp := client.GetModelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels
func (c *ApiGatewayV2) GetModelsWithContext(ctx aws.Context, input *GetModelsInput, opts ...request.Option) (*GetModelsOutput, error)
GetModelsWithContext is the same as GetModels with the addition of the ability to pass a context and additional request options.
See GetModels for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetRoute(input *GetRouteInput) (*GetRouteOutput, error)
GetRoute API operation for AmazonApiGatewayV2.
Gets a Route.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetRoute for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute
func (c *ApiGatewayV2) GetRouteRequest(input *GetRouteInput) (req *request.Request, output *GetRouteOutput)
GetRouteRequest generates a "aws/request.Request" representing the client's request for the GetRoute operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetRoute for more information on using the GetRoute API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetRouteRequest method. req, resp := client.GetRouteRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute
func (c *ApiGatewayV2) GetRouteResponse(input *GetRouteResponseInput) (*GetRouteResponseOutput, error)
GetRouteResponse API operation for AmazonApiGatewayV2.
Gets a RouteResponse.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetRouteResponse for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse
func (c *ApiGatewayV2) GetRouteResponseRequest(input *GetRouteResponseInput) (req *request.Request, output *GetRouteResponseOutput)
GetRouteResponseRequest generates a "aws/request.Request" representing the client's request for the GetRouteResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetRouteResponse for more information on using the GetRouteResponse API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetRouteResponseRequest method. req, resp := client.GetRouteResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse
func (c *ApiGatewayV2) GetRouteResponseWithContext(ctx aws.Context, input *GetRouteResponseInput, opts ...request.Option) (*GetRouteResponseOutput, error)
GetRouteResponseWithContext is the same as GetRouteResponse with the addition of the ability to pass a context and additional request options.
See GetRouteResponse for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetRouteResponses(input *GetRouteResponsesInput) (*GetRouteResponsesOutput, error)
GetRouteResponses API operation for AmazonApiGatewayV2.
Gets the RouteResponses for a Route.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetRouteResponses for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses
func (c *ApiGatewayV2) GetRouteResponsesRequest(input *GetRouteResponsesInput) (req *request.Request, output *GetRouteResponsesOutput)
GetRouteResponsesRequest generates a "aws/request.Request" representing the client's request for the GetRouteResponses operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetRouteResponses for more information on using the GetRouteResponses API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetRouteResponsesRequest method. req, resp := client.GetRouteResponsesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses
func (c *ApiGatewayV2) GetRouteResponsesWithContext(ctx aws.Context, input *GetRouteResponsesInput, opts ...request.Option) (*GetRouteResponsesOutput, error)
GetRouteResponsesWithContext is the same as GetRouteResponses with the addition of the ability to pass a context and additional request options.
See GetRouteResponses for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetRouteWithContext(ctx aws.Context, input *GetRouteInput, opts ...request.Option) (*GetRouteOutput, error)
GetRouteWithContext is the same as GetRoute with the addition of the ability to pass a context and additional request options.
See GetRoute for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetRoutes(input *GetRoutesInput) (*GetRoutesOutput, error)
GetRoutes API operation for AmazonApiGatewayV2.
Gets the Routes for an API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetRoutes for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes
func (c *ApiGatewayV2) GetRoutesRequest(input *GetRoutesInput) (req *request.Request, output *GetRoutesOutput)
GetRoutesRequest generates a "aws/request.Request" representing the client's request for the GetRoutes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetRoutes for more information on using the GetRoutes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetRoutesRequest method. req, resp := client.GetRoutesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes
func (c *ApiGatewayV2) GetRoutesWithContext(ctx aws.Context, input *GetRoutesInput, opts ...request.Option) (*GetRoutesOutput, error)
GetRoutesWithContext is the same as GetRoutes with the addition of the ability to pass a context and additional request options.
See GetRoutes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetStage(input *GetStageInput) (*GetStageOutput, error)
GetStage API operation for AmazonApiGatewayV2.
Gets a Stage.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetStage for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage
func (c *ApiGatewayV2) GetStageRequest(input *GetStageInput) (req *request.Request, output *GetStageOutput)
GetStageRequest generates a "aws/request.Request" representing the client's request for the GetStage operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetStage for more information on using the GetStage API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetStageRequest method. req, resp := client.GetStageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage
func (c *ApiGatewayV2) GetStageWithContext(ctx aws.Context, input *GetStageInput, opts ...request.Option) (*GetStageOutput, error)
GetStageWithContext is the same as GetStage with the addition of the ability to pass a context and additional request options.
See GetStage for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetStages(input *GetStagesInput) (*GetStagesOutput, error)
GetStages API operation for AmazonApiGatewayV2.
Gets the Stages for an API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetStages for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages
func (c *ApiGatewayV2) GetStagesRequest(input *GetStagesInput) (req *request.Request, output *GetStagesOutput)
GetStagesRequest generates a "aws/request.Request" representing the client's request for the GetStages operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetStages for more information on using the GetStages API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetStagesRequest method. req, resp := client.GetStagesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages
func (c *ApiGatewayV2) GetStagesWithContext(ctx aws.Context, input *GetStagesInput, opts ...request.Option) (*GetStagesOutput, error)
GetStagesWithContext is the same as GetStages with the addition of the ability to pass a context and additional request options.
See GetStages for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetTags(input *GetTagsInput) (*GetTagsOutput, error)
GetTags API operation for AmazonApiGatewayV2.
Gets a collection of Tag resources.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetTags for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags
func (c *ApiGatewayV2) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput)
GetTagsRequest generates a "aws/request.Request" representing the client's request for the GetTags operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetTags for more information on using the GetTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetTagsRequest method. req, resp := client.GetTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags
func (c *ApiGatewayV2) GetTagsWithContext(ctx aws.Context, input *GetTagsInput, opts ...request.Option) (*GetTagsOutput, error)
GetTagsWithContext is the same as GetTags with the addition of the ability to pass a context and additional request options.
See GetTags for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetVpcLink(input *GetVpcLinkInput) (*GetVpcLinkOutput, error)
GetVpcLink API operation for AmazonApiGatewayV2.
Gets a VPC link.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetVpcLink for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink
func (c *ApiGatewayV2) GetVpcLinkRequest(input *GetVpcLinkInput) (req *request.Request, output *GetVpcLinkOutput)
GetVpcLinkRequest generates a "aws/request.Request" representing the client's request for the GetVpcLink operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetVpcLink for more information on using the GetVpcLink API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetVpcLinkRequest method. req, resp := client.GetVpcLinkRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink
func (c *ApiGatewayV2) GetVpcLinkWithContext(ctx aws.Context, input *GetVpcLinkInput, opts ...request.Option) (*GetVpcLinkOutput, error)
GetVpcLinkWithContext is the same as GetVpcLink with the addition of the ability to pass a context and additional request options.
See GetVpcLink for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) GetVpcLinks(input *GetVpcLinksInput) (*GetVpcLinksOutput, error)
GetVpcLinks API operation for AmazonApiGatewayV2.
Gets a collection of VPC links.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation GetVpcLinks for usage and error information.
Returned Error Types:
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks
func (c *ApiGatewayV2) GetVpcLinksRequest(input *GetVpcLinksInput) (req *request.Request, output *GetVpcLinksOutput)
GetVpcLinksRequest generates a "aws/request.Request" representing the client's request for the GetVpcLinks operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetVpcLinks for more information on using the GetVpcLinks API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetVpcLinksRequest method. req, resp := client.GetVpcLinksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks
func (c *ApiGatewayV2) GetVpcLinksWithContext(ctx aws.Context, input *GetVpcLinksInput, opts ...request.Option) (*GetVpcLinksOutput, error)
GetVpcLinksWithContext is the same as GetVpcLinks with the addition of the ability to pass a context and additional request options.
See GetVpcLinks for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) ImportApi(input *ImportApiInput) (*ImportApiOutput, error)
ImportApi API operation for AmazonApiGatewayV2.
Imports an API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation ImportApi for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi
func (c *ApiGatewayV2) ImportApiRequest(input *ImportApiInput) (req *request.Request, output *ImportApiOutput)
ImportApiRequest generates a "aws/request.Request" representing the client's request for the ImportApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ImportApi for more information on using the ImportApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ImportApiRequest method. req, resp := client.ImportApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi
func (c *ApiGatewayV2) ImportApiWithContext(ctx aws.Context, input *ImportApiInput, opts ...request.Option) (*ImportApiOutput, error)
ImportApiWithContext is the same as ImportApi with the addition of the ability to pass a context and additional request options.
See ImportApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) ReimportApi(input *ReimportApiInput) (*ReimportApiOutput, error)
ReimportApi API operation for AmazonApiGatewayV2.
Puts an Api resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation ReimportApi for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi
func (c *ApiGatewayV2) ReimportApiRequest(input *ReimportApiInput) (req *request.Request, output *ReimportApiOutput)
ReimportApiRequest generates a "aws/request.Request" representing the client's request for the ReimportApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ReimportApi for more information on using the ReimportApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ReimportApiRequest method. req, resp := client.ReimportApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi
func (c *ApiGatewayV2) ReimportApiWithContext(ctx aws.Context, input *ReimportApiInput, opts ...request.Option) (*ReimportApiOutput, error)
ReimportApiWithContext is the same as ReimportApi with the addition of the ability to pass a context and additional request options.
See ReimportApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) ResetAuthorizersCache(input *ResetAuthorizersCacheInput) (*ResetAuthorizersCacheOutput, error)
ResetAuthorizersCache API operation for AmazonApiGatewayV2.
Resets all authorizer cache entries for the specified stage. Supported only for HTTP API Lambda authorizers.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation ResetAuthorizersCache for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache
func (c *ApiGatewayV2) ResetAuthorizersCacheRequest(input *ResetAuthorizersCacheInput) (req *request.Request, output *ResetAuthorizersCacheOutput)
ResetAuthorizersCacheRequest generates a "aws/request.Request" representing the client's request for the ResetAuthorizersCache operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ResetAuthorizersCache for more information on using the ResetAuthorizersCache API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ResetAuthorizersCacheRequest method. req, resp := client.ResetAuthorizersCacheRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache
func (c *ApiGatewayV2) ResetAuthorizersCacheWithContext(ctx aws.Context, input *ResetAuthorizersCacheInput, opts ...request.Option) (*ResetAuthorizersCacheOutput, error)
ResetAuthorizersCacheWithContext is the same as ResetAuthorizersCache with the addition of the ability to pass a context and additional request options.
See ResetAuthorizersCache for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for AmazonApiGatewayV2.
Creates a new Tag resource to represent a tag.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation TagResource for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource
func (c *ApiGatewayV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource
func (c *ApiGatewayV2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for AmazonApiGatewayV2.
Deletes a Tag.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UntagResource for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource
func (c *ApiGatewayV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource
func (c *ApiGatewayV2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UpdateApi(input *UpdateApiInput) (*UpdateApiOutput, error)
UpdateApi API operation for AmazonApiGatewayV2.
Updates an Api resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateApi for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi
func (c *ApiGatewayV2) UpdateApiMapping(input *UpdateApiMappingInput) (*UpdateApiMappingOutput, error)
UpdateApiMapping API operation for AmazonApiGatewayV2.
The API mapping.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateApiMapping for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping
func (c *ApiGatewayV2) UpdateApiMappingRequest(input *UpdateApiMappingInput) (req *request.Request, output *UpdateApiMappingOutput)
UpdateApiMappingRequest generates a "aws/request.Request" representing the client's request for the UpdateApiMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateApiMapping for more information on using the UpdateApiMapping API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateApiMappingRequest method. req, resp := client.UpdateApiMappingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping
func (c *ApiGatewayV2) UpdateApiMappingWithContext(ctx aws.Context, input *UpdateApiMappingInput, opts ...request.Option) (*UpdateApiMappingOutput, error)
UpdateApiMappingWithContext is the same as UpdateApiMapping with the addition of the ability to pass a context and additional request options.
See UpdateApiMapping for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UpdateApiRequest(input *UpdateApiInput) (req *request.Request, output *UpdateApiOutput)
UpdateApiRequest generates a "aws/request.Request" representing the client's request for the UpdateApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateApi for more information on using the UpdateApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateApiRequest method. req, resp := client.UpdateApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi
func (c *ApiGatewayV2) UpdateApiWithContext(ctx aws.Context, input *UpdateApiInput, opts ...request.Option) (*UpdateApiOutput, error)
UpdateApiWithContext is the same as UpdateApi with the addition of the ability to pass a context and additional request options.
See UpdateApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UpdateAuthorizer(input *UpdateAuthorizerInput) (*UpdateAuthorizerOutput, error)
UpdateAuthorizer API operation for AmazonApiGatewayV2.
Updates an Authorizer.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateAuthorizer for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer
func (c *ApiGatewayV2) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (req *request.Request, output *UpdateAuthorizerOutput)
UpdateAuthorizerRequest generates a "aws/request.Request" representing the client's request for the UpdateAuthorizer operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateAuthorizer for more information on using the UpdateAuthorizer API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateAuthorizerRequest method. req, resp := client.UpdateAuthorizerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer
func (c *ApiGatewayV2) UpdateAuthorizerWithContext(ctx aws.Context, input *UpdateAuthorizerInput, opts ...request.Option) (*UpdateAuthorizerOutput, error)
UpdateAuthorizerWithContext is the same as UpdateAuthorizer with the addition of the ability to pass a context and additional request options.
See UpdateAuthorizer for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UpdateDeployment(input *UpdateDeploymentInput) (*UpdateDeploymentOutput, error)
UpdateDeployment API operation for AmazonApiGatewayV2.
Updates a Deployment.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateDeployment for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment
func (c *ApiGatewayV2) UpdateDeploymentRequest(input *UpdateDeploymentInput) (req *request.Request, output *UpdateDeploymentOutput)
UpdateDeploymentRequest generates a "aws/request.Request" representing the client's request for the UpdateDeployment operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateDeployment for more information on using the UpdateDeployment API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateDeploymentRequest method. req, resp := client.UpdateDeploymentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment
func (c *ApiGatewayV2) UpdateDeploymentWithContext(ctx aws.Context, input *UpdateDeploymentInput, opts ...request.Option) (*UpdateDeploymentOutput, error)
UpdateDeploymentWithContext is the same as UpdateDeployment with the addition of the ability to pass a context and additional request options.
See UpdateDeployment for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UpdateDomainName(input *UpdateDomainNameInput) (*UpdateDomainNameOutput, error)
UpdateDomainName API operation for AmazonApiGatewayV2.
Updates a domain name.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateDomainName for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName
func (c *ApiGatewayV2) UpdateDomainNameRequest(input *UpdateDomainNameInput) (req *request.Request, output *UpdateDomainNameOutput)
UpdateDomainNameRequest generates a "aws/request.Request" representing the client's request for the UpdateDomainName operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateDomainName for more information on using the UpdateDomainName API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateDomainNameRequest method. req, resp := client.UpdateDomainNameRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName
func (c *ApiGatewayV2) UpdateDomainNameWithContext(ctx aws.Context, input *UpdateDomainNameInput, opts ...request.Option) (*UpdateDomainNameOutput, error)
UpdateDomainNameWithContext is the same as UpdateDomainName with the addition of the ability to pass a context and additional request options.
See UpdateDomainName for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UpdateIntegration(input *UpdateIntegrationInput) (*UpdateIntegrationOutput, error)
UpdateIntegration API operation for AmazonApiGatewayV2.
Updates an Integration.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateIntegration for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration
func (c *ApiGatewayV2) UpdateIntegrationRequest(input *UpdateIntegrationInput) (req *request.Request, output *UpdateIntegrationOutput)
UpdateIntegrationRequest generates a "aws/request.Request" representing the client's request for the UpdateIntegration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateIntegration for more information on using the UpdateIntegration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateIntegrationRequest method. req, resp := client.UpdateIntegrationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration
func (c *ApiGatewayV2) UpdateIntegrationResponse(input *UpdateIntegrationResponseInput) (*UpdateIntegrationResponseOutput, error)
UpdateIntegrationResponse API operation for AmazonApiGatewayV2.
Updates an IntegrationResponses.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateIntegrationResponse for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse
func (c *ApiGatewayV2) UpdateIntegrationResponseRequest(input *UpdateIntegrationResponseInput) (req *request.Request, output *UpdateIntegrationResponseOutput)
UpdateIntegrationResponseRequest generates a "aws/request.Request" representing the client's request for the UpdateIntegrationResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateIntegrationResponse for more information on using the UpdateIntegrationResponse API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateIntegrationResponseRequest method. req, resp := client.UpdateIntegrationResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse
func (c *ApiGatewayV2) UpdateIntegrationResponseWithContext(ctx aws.Context, input *UpdateIntegrationResponseInput, opts ...request.Option) (*UpdateIntegrationResponseOutput, error)
UpdateIntegrationResponseWithContext is the same as UpdateIntegrationResponse with the addition of the ability to pass a context and additional request options.
See UpdateIntegrationResponse for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UpdateIntegrationWithContext(ctx aws.Context, input *UpdateIntegrationInput, opts ...request.Option) (*UpdateIntegrationOutput, error)
UpdateIntegrationWithContext is the same as UpdateIntegration with the addition of the ability to pass a context and additional request options.
See UpdateIntegration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UpdateModel(input *UpdateModelInput) (*UpdateModelOutput, error)
UpdateModel API operation for AmazonApiGatewayV2.
Updates a Model.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateModel for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel
func (c *ApiGatewayV2) UpdateModelRequest(input *UpdateModelInput) (req *request.Request, output *UpdateModelOutput)
UpdateModelRequest generates a "aws/request.Request" representing the client's request for the UpdateModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateModel for more information on using the UpdateModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateModelRequest method. req, resp := client.UpdateModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel
func (c *ApiGatewayV2) UpdateModelWithContext(ctx aws.Context, input *UpdateModelInput, opts ...request.Option) (*UpdateModelOutput, error)
UpdateModelWithContext is the same as UpdateModel with the addition of the ability to pass a context and additional request options.
See UpdateModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UpdateRoute(input *UpdateRouteInput) (*UpdateRouteOutput, error)
UpdateRoute API operation for AmazonApiGatewayV2.
Updates a Route.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateRoute for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute
func (c *ApiGatewayV2) UpdateRouteRequest(input *UpdateRouteInput) (req *request.Request, output *UpdateRouteOutput)
UpdateRouteRequest generates a "aws/request.Request" representing the client's request for the UpdateRoute operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateRoute for more information on using the UpdateRoute API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateRouteRequest method. req, resp := client.UpdateRouteRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute
func (c *ApiGatewayV2) UpdateRouteResponse(input *UpdateRouteResponseInput) (*UpdateRouteResponseOutput, error)
UpdateRouteResponse API operation for AmazonApiGatewayV2.
Updates a RouteResponse.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateRouteResponse for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse
func (c *ApiGatewayV2) UpdateRouteResponseRequest(input *UpdateRouteResponseInput) (req *request.Request, output *UpdateRouteResponseOutput)
UpdateRouteResponseRequest generates a "aws/request.Request" representing the client's request for the UpdateRouteResponse operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateRouteResponse for more information on using the UpdateRouteResponse API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateRouteResponseRequest method. req, resp := client.UpdateRouteResponseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse
func (c *ApiGatewayV2) UpdateRouteResponseWithContext(ctx aws.Context, input *UpdateRouteResponseInput, opts ...request.Option) (*UpdateRouteResponseOutput, error)
UpdateRouteResponseWithContext is the same as UpdateRouteResponse with the addition of the ability to pass a context and additional request options.
See UpdateRouteResponse for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UpdateRouteWithContext(ctx aws.Context, input *UpdateRouteInput, opts ...request.Option) (*UpdateRouteOutput, error)
UpdateRouteWithContext is the same as UpdateRoute with the addition of the ability to pass a context and additional request options.
See UpdateRoute for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UpdateStage(input *UpdateStageInput) (*UpdateStageOutput, error)
UpdateStage API operation for AmazonApiGatewayV2.
Updates a Stage.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateStage for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
ConflictException The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage
func (c *ApiGatewayV2) UpdateStageRequest(input *UpdateStageInput) (req *request.Request, output *UpdateStageOutput)
UpdateStageRequest generates a "aws/request.Request" representing the client's request for the UpdateStage operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateStage for more information on using the UpdateStage API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateStageRequest method. req, resp := client.UpdateStageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage
func (c *ApiGatewayV2) UpdateStageWithContext(ctx aws.Context, input *UpdateStageInput, opts ...request.Option) (*UpdateStageOutput, error)
UpdateStageWithContext is the same as UpdateStage with the addition of the ability to pass a context and additional request options.
See UpdateStage for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ApiGatewayV2) UpdateVpcLink(input *UpdateVpcLinkInput) (*UpdateVpcLinkOutput, error)
UpdateVpcLink API operation for AmazonApiGatewayV2.
Updates a VPC link.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AmazonApiGatewayV2's API operation UpdateVpcLink for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. See the message field for more information.
TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.
BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink
func (c *ApiGatewayV2) UpdateVpcLinkRequest(input *UpdateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput)
UpdateVpcLinkRequest generates a "aws/request.Request" representing the client's request for the UpdateVpcLink operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateVpcLink for more information on using the UpdateVpcLink API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateVpcLinkRequest method. req, resp := client.UpdateVpcLinkRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink
func (c *ApiGatewayV2) UpdateVpcLinkWithContext(ctx aws.Context, input *UpdateVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error)
UpdateVpcLinkWithContext is the same as UpdateVpcLink with the addition of the ability to pass a context and additional request options.
See UpdateVpcLink for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type ApiMapping struct { // The API identifier. // // ApiId is a required field ApiId *string `locationName:"apiId" type:"string" required:"true"` // The API mapping identifier. ApiMappingId *string `locationName:"apiMappingId" type:"string"` // The API mapping key. ApiMappingKey *string `locationName:"apiMappingKey" type:"string"` // The API stage. // // Stage is a required field Stage *string `locationName:"stage" type:"string" required:"true"` // contains filtered or unexported fields }
Represents an API mapping.
func (s ApiMapping) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ApiMapping) SetApiId(v string) *ApiMapping
SetApiId sets the ApiId field's value.
func (s *ApiMapping) SetApiMappingId(v string) *ApiMapping
SetApiMappingId sets the ApiMappingId field's value.
func (s *ApiMapping) SetApiMappingKey(v string) *ApiMapping
SetApiMappingKey sets the ApiMappingKey field's value.
func (s *ApiMapping) SetStage(v string) *ApiMapping
SetStage sets the Stage field's value.
func (s ApiMapping) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Authorizer struct { // Specifies the required credentials as an IAM role for API Gateway to invoke // the authorizer. To specify an IAM role for API Gateway to assume, use the // role's Amazon Resource Name (ARN). To use resource-based permissions on the // Lambda function, don't specify this parameter. Supported only for REQUEST // authorizers. AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"` // The authorizer identifier. AuthorizerId *string `locationName:"authorizerId" type:"string"` // Specifies the format of the payload sent to an HTTP API Lambda authorizer. // Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. // To learn more, see Working with AWS Lambda authorizers for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html). AuthorizerPayloadFormatVersion *string `locationName:"authorizerPayloadFormatVersion" type:"string"` // The time to live (TTL) for cached authorizer results, in seconds. If it equals // 0, authorization caching is disabled. If it is greater than 0, API Gateway // caches authorizer responses. The maximum value is 3600, or 1 hour. Supported // only for HTTP API Lambda authorizers. AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"` // The authorizer type. Specify REQUEST for a Lambda function using incoming // request parameters. Specify JWT to use JSON Web Tokens (supported only for // HTTP APIs). AuthorizerType *string `locationName:"authorizerType" type:"string" enum:"AuthorizerType"` // The authorizer's Uniform Resource Identifier (URI). For REQUEST authorizers, // this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. // In general, the URI has this form: arn:aws:apigateway:{region}:lambda:path/{service_api} // , where {region} is the same as the region hosting the Lambda function, path // indicates that the remaining substring in the URI should be treated as the // path to the resource, including the initial /. For Lambda functions, this // is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported // only for REQUEST authorizers. AuthorizerUri *string `locationName:"authorizerUri" type:"string"` // Specifies whether a Lambda authorizer returns a response in a simple format. // If enabled, the Lambda authorizer can return a boolean value instead of an // IAM policy. Supported only for HTTP APIs. To learn more, see Working with // AWS Lambda authorizers for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html) EnableSimpleResponses *bool `locationName:"enableSimpleResponses" type:"boolean"` // The identity source for which authorization is requested. // // For a REQUEST authorizer, this is optional. The value is a set of one or // more mapping expressions of the specified request parameters. The identity // source can be headers, query string parameters, stage variables, and context // parameters. For example, if an Auth header and a Name query string parameter // are defined as identity sources, this value is route.request.header.Auth, // route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection // expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. // These parameters are used to perform runtime validation for Lambda-based // authorizers by verifying all of the identity-related request parameters are // present in the request, not null, and non-empty. Only when this is true does // the authorizer invoke the authorizer Lambda function. Otherwise, it returns // a 401 Unauthorized response without calling the Lambda function. For HTTP // APIs, identity sources are also used as the cache key when caching is enabled. // To learn more, see Working with AWS Lambda authorizers for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html). // // For JWT, a single entry that specifies where to extract the JSON Web Token // (JWT) from inbound requests. Currently only header-based and query parameter-based // selections are supported, for example $request.header.Authorization. IdentitySource []*string `locationName:"identitySource" type:"list"` // The validation expression does not apply to the REQUEST authorizer. IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"` // Represents the configuration of a JWT authorizer. Required for the JWT authorizer // type. Supported only for HTTP APIs. JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"` // The name of the authorizer. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
Represents an authorizer.
func (s Authorizer) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Authorizer) SetAuthorizerCredentialsArn(v string) *Authorizer
SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.
func (s *Authorizer) SetAuthorizerId(v string) *Authorizer
SetAuthorizerId sets the AuthorizerId field's value.
func (s *Authorizer) SetAuthorizerPayloadFormatVersion(v string) *Authorizer
SetAuthorizerPayloadFormatVersion sets the AuthorizerPayloadFormatVersion field's value.
func (s *Authorizer) SetAuthorizerResultTtlInSeconds(v int64) *Authorizer
SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.
func (s *Authorizer) SetAuthorizerType(v string) *Authorizer
SetAuthorizerType sets the AuthorizerType field's value.
func (s *Authorizer) SetAuthorizerUri(v string) *Authorizer
SetAuthorizerUri sets the AuthorizerUri field's value.
func (s *Authorizer) SetEnableSimpleResponses(v bool) *Authorizer
SetEnableSimpleResponses sets the EnableSimpleResponses field's value.
func (s *Authorizer) SetIdentitySource(v []*string) *Authorizer
SetIdentitySource sets the IdentitySource field's value.
func (s *Authorizer) SetIdentityValidationExpression(v string) *Authorizer
SetIdentityValidationExpression sets the IdentityValidationExpression field's value.
func (s *Authorizer) SetJwtConfiguration(v *JWTConfiguration) *Authorizer
SetJwtConfiguration sets the JwtConfiguration field's value.
func (s *Authorizer) SetName(v string) *Authorizer
SetName sets the Name field's value.
func (s Authorizer) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BadRequestException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Describes the error encountered. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
func (s *BadRequestException) Code() string
Code returns the exception type name.
func (s *BadRequestException) Error() string
func (s BadRequestException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BadRequestException) Message() string
Message returns the exception's message.
func (s *BadRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *BadRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *BadRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s BadRequestException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Describes the error encountered. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
func (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Cors struct { // Specifies whether credentials are included in the CORS request. Supported // only for HTTP APIs. AllowCredentials *bool `locationName:"allowCredentials" type:"boolean"` // Represents a collection of allowed headers. Supported only for HTTP APIs. AllowHeaders []*string `locationName:"allowHeaders" type:"list"` // Represents a collection of allowed HTTP methods. Supported only for HTTP // APIs. AllowMethods []*string `locationName:"allowMethods" type:"list"` // Represents a collection of allowed origins. Supported only for HTTP APIs. AllowOrigins []*string `locationName:"allowOrigins" type:"list"` // Represents a collection of exposed headers. Supported only for HTTP APIs. ExposeHeaders []*string `locationName:"exposeHeaders" type:"list"` // The number of seconds that the browser should cache preflight request results. // Supported only for HTTP APIs. MaxAge *int64 `locationName:"maxAge" type:"integer"` // contains filtered or unexported fields }
Represents a CORS configuration. Supported only for HTTP APIs. See Configuring CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) for more information.
func (s Cors) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Cors) SetAllowCredentials(v bool) *Cors
SetAllowCredentials sets the AllowCredentials field's value.
func (s *Cors) SetAllowHeaders(v []*string) *Cors
SetAllowHeaders sets the AllowHeaders field's value.
func (s *Cors) SetAllowMethods(v []*string) *Cors
SetAllowMethods sets the AllowMethods field's value.
func (s *Cors) SetAllowOrigins(v []*string) *Cors
SetAllowOrigins sets the AllowOrigins field's value.
func (s *Cors) SetExposeHeaders(v []*string) *Cors
SetExposeHeaders sets the ExposeHeaders field's value.
func (s *Cors) SetMaxAge(v int64) *Cors
SetMaxAge sets the MaxAge field's value.
func (s Cors) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Cors) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApiInput struct { // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"` // Represents a CORS configuration. Supported only for HTTP APIs. See Configuring // CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) // for more information. CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"` // Represents an Amazon Resource Name (ARN). CredentialsArn *string `locationName:"credentialsArn" type:"string"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"` DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"` // A string with a length between [1-128]. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // Represents a protocol type. // // ProtocolType is a required field ProtocolType *string `locationName:"protocolType" type:"string" required:"true" enum:"ProtocolType"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. RouteKey *string `locationName:"routeKey" type:"string"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // A string representation of a URI with a length between [1-2048]. Target *string `locationName:"target" type:"string"` // A string with a length between [1-64]. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
func (s CreateApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateApiInput) SetApiKeySelectionExpression(v string) *CreateApiInput
SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.
func (s *CreateApiInput) SetCorsConfiguration(v *Cors) *CreateApiInput
SetCorsConfiguration sets the CorsConfiguration field's value.
func (s *CreateApiInput) SetCredentialsArn(v string) *CreateApiInput
SetCredentialsArn sets the CredentialsArn field's value.
func (s *CreateApiInput) SetDescription(v string) *CreateApiInput
SetDescription sets the Description field's value.
func (s *CreateApiInput) SetDisableExecuteApiEndpoint(v bool) *CreateApiInput
SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.
func (s *CreateApiInput) SetDisableSchemaValidation(v bool) *CreateApiInput
SetDisableSchemaValidation sets the DisableSchemaValidation field's value.
func (s *CreateApiInput) SetName(v string) *CreateApiInput
SetName sets the Name field's value.
func (s *CreateApiInput) SetProtocolType(v string) *CreateApiInput
SetProtocolType sets the ProtocolType field's value.
func (s *CreateApiInput) SetRouteKey(v string) *CreateApiInput
SetRouteKey sets the RouteKey field's value.
func (s *CreateApiInput) SetRouteSelectionExpression(v string) *CreateApiInput
SetRouteSelectionExpression sets the RouteSelectionExpression field's value.
func (s *CreateApiInput) SetTags(v map[string]*string) *CreateApiInput
SetTags sets the Tags field's value.
func (s *CreateApiInput) SetTarget(v string) *CreateApiInput
SetTarget sets the Target field's value.
func (s *CreateApiInput) SetVersion(v string) *CreateApiInput
SetVersion sets the Version field's value.
func (s CreateApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApiMappingInput struct { // The identifier. // // ApiId is a required field ApiId *string `locationName:"apiId" type:"string" required:"true"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. ApiMappingKey *string `locationName:"apiMappingKey" type:"string"` // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` // A string with a length between [1-128]. // // Stage is a required field Stage *string `locationName:"stage" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CreateApiMappingInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateApiMappingInput) SetApiId(v string) *CreateApiMappingInput
SetApiId sets the ApiId field's value.
func (s *CreateApiMappingInput) SetApiMappingKey(v string) *CreateApiMappingInput
SetApiMappingKey sets the ApiMappingKey field's value.
func (s *CreateApiMappingInput) SetDomainName(v string) *CreateApiMappingInput
SetDomainName sets the DomainName field's value.
func (s *CreateApiMappingInput) SetStage(v string) *CreateApiMappingInput
SetStage sets the Stage field's value.
func (s CreateApiMappingInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateApiMappingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApiMappingOutput struct { // The identifier. ApiId *string `locationName:"apiId" type:"string"` // The identifier. ApiMappingId *string `locationName:"apiMappingId" type:"string"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. ApiMappingKey *string `locationName:"apiMappingKey" type:"string"` // A string with a length between [1-128]. Stage *string `locationName:"stage" type:"string"` // contains filtered or unexported fields }
func (s CreateApiMappingOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateApiMappingOutput) SetApiId(v string) *CreateApiMappingOutput
SetApiId sets the ApiId field's value.
func (s *CreateApiMappingOutput) SetApiMappingId(v string) *CreateApiMappingOutput
SetApiMappingId sets the ApiMappingId field's value.
func (s *CreateApiMappingOutput) SetApiMappingKey(v string) *CreateApiMappingOutput
SetApiMappingKey sets the ApiMappingKey field's value.
func (s *CreateApiMappingOutput) SetStage(v string) *CreateApiMappingOutput
SetStage sets the Stage field's value.
func (s CreateApiMappingOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateApiOutput struct { ApiEndpoint *string `locationName:"apiEndpoint" type:"string"` ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"` // The identifier. ApiId *string `locationName:"apiId" type:"string"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"` // Represents a CORS configuration. Supported only for HTTP APIs. See Configuring // CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) // for more information. CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"` DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"` ImportInfo []*string `locationName:"importInfo" type:"list"` // A string with a length between [1-128]. Name *string `locationName:"name" type:"string"` // Represents a protocol type. ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // A string with a length between [1-64]. Version *string `locationName:"version" type:"string"` Warnings []*string `locationName:"warnings" type:"list"` // contains filtered or unexported fields }
func (s CreateApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateApiOutput) SetApiEndpoint(v string) *CreateApiOutput
SetApiEndpoint sets the ApiEndpoint field's value.
func (s *CreateApiOutput) SetApiGatewayManaged(v bool) *CreateApiOutput
SetApiGatewayManaged sets the ApiGatewayManaged field's value.
func (s *CreateApiOutput) SetApiId(v string) *CreateApiOutput
SetApiId sets the ApiId field's value.
func (s *CreateApiOutput) SetApiKeySelectionExpression(v string) *CreateApiOutput
SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.
func (s *CreateApiOutput) SetCorsConfiguration(v *Cors) *CreateApiOutput
SetCorsConfiguration sets the CorsConfiguration field's value.
func (s *CreateApiOutput) SetCreatedDate(v time.Time) *CreateApiOutput
SetCreatedDate sets the CreatedDate field's value.
func (s *CreateApiOutput) SetDescription(v string) *CreateApiOutput
SetDescription sets the Description field's value.
func (s *CreateApiOutput) SetDisableExecuteApiEndpoint(v bool) *CreateApiOutput
SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.
func (s *CreateApiOutput) SetDisableSchemaValidation(v bool) *CreateApiOutput
SetDisableSchemaValidation sets the DisableSchemaValidation field's value.
func (s *CreateApiOutput) SetImportInfo(v []*string) *CreateApiOutput
SetImportInfo sets the ImportInfo field's value.
func (s *CreateApiOutput) SetName(v string) *CreateApiOutput
SetName sets the Name field's value.
func (s *CreateApiOutput) SetProtocolType(v string) *CreateApiOutput
SetProtocolType sets the ProtocolType field's value.
func (s *CreateApiOutput) SetRouteSelectionExpression(v string) *CreateApiOutput
SetRouteSelectionExpression sets the RouteSelectionExpression field's value.
func (s *CreateApiOutput) SetTags(v map[string]*string) *CreateApiOutput
SetTags sets the Tags field's value.
func (s *CreateApiOutput) SetVersion(v string) *CreateApiOutput
SetVersion sets the Version field's value.
func (s *CreateApiOutput) SetWarnings(v []*string) *CreateApiOutput
SetWarnings sets the Warnings field's value.
func (s CreateApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateAuthorizerInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // Represents an Amazon Resource Name (ARN). AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"` // A string with a length between [1-64]. AuthorizerPayloadFormatVersion *string `locationName:"authorizerPayloadFormatVersion" type:"string"` // An integer with a value between [0-3600]. AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"` // The authorizer type. Specify REQUEST for a Lambda function using incoming // request parameters. Specify JWT to use JSON Web Tokens (supported only for // HTTP APIs). // // AuthorizerType is a required field AuthorizerType *string `locationName:"authorizerType" type:"string" required:"true" enum:"AuthorizerType"` // A string representation of a URI with a length between [1-2048]. AuthorizerUri *string `locationName:"authorizerUri" type:"string"` EnableSimpleResponses *bool `locationName:"enableSimpleResponses" type:"boolean"` // The identity source for which authorization is requested. For the REQUEST // authorizer, this is required when authorization caching is enabled. The value // is a comma-separated string of one or more mapping expressions of the specified // request parameters. For example, if an Auth header, a Name query string parameter // are defined as identity sources, this value is $method.request.header.Auth, // $method.request.querystring.Name. These parameters will be used to derive // the authorization caching key and to perform runtime validation of the REQUEST // authorizer by verifying all of the identity-related request parameters are // present, not null and non-empty. Only when this is true does the authorizer // invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized // response without calling the Lambda function. The valid value is a string // of comma-separated mapping expressions of the specified request parameters. // When the authorization caching is not enabled, this property is optional. // // IdentitySource is a required field IdentitySource []*string `locationName:"identitySource" type:"list" required:"true"` // A string with a length between [0-1024]. IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"` // Represents the configuration of a JWT authorizer. Required for the JWT authorizer // type. Supported only for HTTP APIs. JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"` // A string with a length between [1-128]. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CreateAuthorizerInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateAuthorizerInput) SetApiId(v string) *CreateAuthorizerInput
SetApiId sets the ApiId field's value.
func (s *CreateAuthorizerInput) SetAuthorizerCredentialsArn(v string) *CreateAuthorizerInput
SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.
func (s *CreateAuthorizerInput) SetAuthorizerPayloadFormatVersion(v string) *CreateAuthorizerInput
SetAuthorizerPayloadFormatVersion sets the AuthorizerPayloadFormatVersion field's value.
func (s *CreateAuthorizerInput) SetAuthorizerResultTtlInSeconds(v int64) *CreateAuthorizerInput
SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.
func (s *CreateAuthorizerInput) SetAuthorizerType(v string) *CreateAuthorizerInput
SetAuthorizerType sets the AuthorizerType field's value.
func (s *CreateAuthorizerInput) SetAuthorizerUri(v string) *CreateAuthorizerInput
SetAuthorizerUri sets the AuthorizerUri field's value.
func (s *CreateAuthorizerInput) SetEnableSimpleResponses(v bool) *CreateAuthorizerInput
SetEnableSimpleResponses sets the EnableSimpleResponses field's value.
func (s *CreateAuthorizerInput) SetIdentitySource(v []*string) *CreateAuthorizerInput
SetIdentitySource sets the IdentitySource field's value.
func (s *CreateAuthorizerInput) SetIdentityValidationExpression(v string) *CreateAuthorizerInput
SetIdentityValidationExpression sets the IdentityValidationExpression field's value.
func (s *CreateAuthorizerInput) SetJwtConfiguration(v *JWTConfiguration) *CreateAuthorizerInput
SetJwtConfiguration sets the JwtConfiguration field's value.
func (s *CreateAuthorizerInput) SetName(v string) *CreateAuthorizerInput
SetName sets the Name field's value.
func (s CreateAuthorizerInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateAuthorizerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAuthorizerOutput struct { // Represents an Amazon Resource Name (ARN). AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"` // The identifier. AuthorizerId *string `locationName:"authorizerId" type:"string"` // A string with a length between [1-64]. AuthorizerPayloadFormatVersion *string `locationName:"authorizerPayloadFormatVersion" type:"string"` // An integer with a value between [0-3600]. AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"` // The authorizer type. Specify REQUEST for a Lambda function using incoming // request parameters. Specify JWT to use JSON Web Tokens (supported only for // HTTP APIs). AuthorizerType *string `locationName:"authorizerType" type:"string" enum:"AuthorizerType"` // A string representation of a URI with a length between [1-2048]. AuthorizerUri *string `locationName:"authorizerUri" type:"string"` EnableSimpleResponses *bool `locationName:"enableSimpleResponses" type:"boolean"` // The identity source for which authorization is requested. For the REQUEST // authorizer, this is required when authorization caching is enabled. The value // is a comma-separated string of one or more mapping expressions of the specified // request parameters. For example, if an Auth header, a Name query string parameter // are defined as identity sources, this value is $method.request.header.Auth, // $method.request.querystring.Name. These parameters will be used to derive // the authorization caching key and to perform runtime validation of the REQUEST // authorizer by verifying all of the identity-related request parameters are // present, not null and non-empty. Only when this is true does the authorizer // invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized // response without calling the Lambda function. The valid value is a string // of comma-separated mapping expressions of the specified request parameters. // When the authorization caching is not enabled, this property is optional. IdentitySource []*string `locationName:"identitySource" type:"list"` // A string with a length between [0-1024]. IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"` // Represents the configuration of a JWT authorizer. Required for the JWT authorizer // type. Supported only for HTTP APIs. JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"` // A string with a length between [1-128]. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
func (s CreateAuthorizerOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateAuthorizerOutput) SetAuthorizerCredentialsArn(v string) *CreateAuthorizerOutput
SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.
func (s *CreateAuthorizerOutput) SetAuthorizerId(v string) *CreateAuthorizerOutput
SetAuthorizerId sets the AuthorizerId field's value.
func (s *CreateAuthorizerOutput) SetAuthorizerPayloadFormatVersion(v string) *CreateAuthorizerOutput
SetAuthorizerPayloadFormatVersion sets the AuthorizerPayloadFormatVersion field's value.
func (s *CreateAuthorizerOutput) SetAuthorizerResultTtlInSeconds(v int64) *CreateAuthorizerOutput
SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.
func (s *CreateAuthorizerOutput) SetAuthorizerType(v string) *CreateAuthorizerOutput
SetAuthorizerType sets the AuthorizerType field's value.
func (s *CreateAuthorizerOutput) SetAuthorizerUri(v string) *CreateAuthorizerOutput
SetAuthorizerUri sets the AuthorizerUri field's value.
func (s *CreateAuthorizerOutput) SetEnableSimpleResponses(v bool) *CreateAuthorizerOutput
SetEnableSimpleResponses sets the EnableSimpleResponses field's value.
func (s *CreateAuthorizerOutput) SetIdentitySource(v []*string) *CreateAuthorizerOutput
SetIdentitySource sets the IdentitySource field's value.
func (s *CreateAuthorizerOutput) SetIdentityValidationExpression(v string) *CreateAuthorizerOutput
SetIdentityValidationExpression sets the IdentityValidationExpression field's value.
func (s *CreateAuthorizerOutput) SetJwtConfiguration(v *JWTConfiguration) *CreateAuthorizerOutput
SetJwtConfiguration sets the JwtConfiguration field's value.
func (s *CreateAuthorizerOutput) SetName(v string) *CreateAuthorizerOutput
SetName sets the Name field's value.
func (s CreateAuthorizerOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateDeploymentInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` // A string with a length between [1-128]. StageName *string `locationName:"stageName" type:"string"` // contains filtered or unexported fields }
func (s CreateDeploymentInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDeploymentInput) SetApiId(v string) *CreateDeploymentInput
SetApiId sets the ApiId field's value.
func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput
SetDescription sets the Description field's value.
func (s *CreateDeploymentInput) SetStageName(v string) *CreateDeploymentInput
SetStageName sets the StageName field's value.
func (s CreateDeploymentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDeploymentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDeploymentOutput struct { AutoDeployed *bool `locationName:"autoDeployed" type:"boolean"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"` // The identifier. DeploymentId *string `locationName:"deploymentId" type:"string"` // Represents a deployment status. DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"` DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` // contains filtered or unexported fields }
func (s CreateDeploymentOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDeploymentOutput) SetAutoDeployed(v bool) *CreateDeploymentOutput
SetAutoDeployed sets the AutoDeployed field's value.
func (s *CreateDeploymentOutput) SetCreatedDate(v time.Time) *CreateDeploymentOutput
SetCreatedDate sets the CreatedDate field's value.
func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutput
SetDeploymentId sets the DeploymentId field's value.
func (s *CreateDeploymentOutput) SetDeploymentStatus(v string) *CreateDeploymentOutput
SetDeploymentStatus sets the DeploymentStatus field's value.
func (s *CreateDeploymentOutput) SetDeploymentStatusMessage(v string) *CreateDeploymentOutput
SetDeploymentStatusMessage sets the DeploymentStatusMessage field's value.
func (s *CreateDeploymentOutput) SetDescription(v string) *CreateDeploymentOutput
SetDescription sets the Description field's value.
func (s CreateDeploymentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateDomainNameInput struct { // A string with a length between [1-512]. // // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` // The domain name configurations. DomainNameConfigurations []*DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"` // If specified, API Gateway performs two-way authentication between the client // and the server. Clients must present a trusted certificate to access your // API. MutualTlsAuthentication *MutualTlsAuthenticationInput `locationName:"mutualTlsAuthentication" type:"structure"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s CreateDomainNameInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDomainNameInput) SetDomainName(v string) *CreateDomainNameInput
SetDomainName sets the DomainName field's value.
func (s *CreateDomainNameInput) SetDomainNameConfigurations(v []*DomainNameConfiguration) *CreateDomainNameInput
SetDomainNameConfigurations sets the DomainNameConfigurations field's value.
func (s *CreateDomainNameInput) SetMutualTlsAuthentication(v *MutualTlsAuthenticationInput) *CreateDomainNameInput
SetMutualTlsAuthentication sets the MutualTlsAuthentication field's value.
func (s *CreateDomainNameInput) SetTags(v map[string]*string) *CreateDomainNameInput
SetTags sets the Tags field's value.
func (s CreateDomainNameInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDomainNameInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDomainNameOutput struct { // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. ApiMappingSelectionExpression *string `locationName:"apiMappingSelectionExpression" type:"string"` // A string with a length between [1-512]. DomainName *string `locationName:"domainName" type:"string"` // The domain name configurations. DomainNameConfigurations []*DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"` // If specified, API Gateway performs two-way authentication between the client // and the server. Clients must present a trusted certificate to access your // API. MutualTlsAuthentication *MutualTlsAuthentication `locationName:"mutualTlsAuthentication" type:"structure"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s CreateDomainNameOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDomainNameOutput) SetApiMappingSelectionExpression(v string) *CreateDomainNameOutput
SetApiMappingSelectionExpression sets the ApiMappingSelectionExpression field's value.
func (s *CreateDomainNameOutput) SetDomainName(v string) *CreateDomainNameOutput
SetDomainName sets the DomainName field's value.
func (s *CreateDomainNameOutput) SetDomainNameConfigurations(v []*DomainNameConfiguration) *CreateDomainNameOutput
SetDomainNameConfigurations sets the DomainNameConfigurations field's value.
func (s *CreateDomainNameOutput) SetMutualTlsAuthentication(v *MutualTlsAuthentication) *CreateDomainNameOutput
SetMutualTlsAuthentication sets the MutualTlsAuthentication field's value.
func (s *CreateDomainNameOutput) SetTags(v map[string]*string) *CreateDomainNameOutput
SetTags sets the Tags field's value.
func (s CreateDomainNameOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateIntegrationInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // A string with a length between [1-1024]. ConnectionId *string `locationName:"connectionId" type:"string"` // Represents a connection type. ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"` // Specifies how to handle response payload content type conversions. Supported // only for WebSocket APIs. ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"` // Represents an Amazon Resource Name (ARN). CredentialsArn *string `locationName:"credentialsArn" type:"string"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` // A string with a length between [1-64]. IntegrationMethod *string `locationName:"integrationMethod" type:"string"` // A string with a length between [1-128]. IntegrationSubtype *string `locationName:"integrationSubtype" type:"string"` // Represents an API method integration type. // // IntegrationType is a required field IntegrationType *string `locationName:"integrationType" type:"string" required:"true" enum:"IntegrationType"` // A string representation of a URI with a length between [1-2048]. IntegrationUri *string `locationName:"integrationUri" type:"string"` // Represents passthrough behavior for an integration response. Supported only // for WebSocket APIs. PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"` // A string with a length between [1-64]. PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"` // For WebSocket APIs, a key-value map specifying request parameters that are // passed from the method request to the backend. The key is an integration // request parameter name and the associated value is a method request parameter // value or static value that must be enclosed within single quotes and pre-encoded // as required by the backend. The method request parameter value must match // the pattern of method.request.{location}.{name} , where {location} is querystring, // path, or header; and {name} must be a valid and unique method request parameter // name. // // For HTTP API integrations with a specified integrationSubtype, request parameters // are a key-value map specifying parameters that are passed to AWS_PROXY integrations. // You can provide static values, or map request data, stage variables, or context // variables that are evaluated at runtime. To learn more, see Working with // AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html). // // For HTTP API integrations without a specified integrationSubtype request // parameters are a key-value map specifying how to transform HTTP requests // before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location> // where action can be append, overwrite or remove. For values, you can provide // static values, or map request data, stage variables, or context variables // that are evaluated at runtime. To learn more, see Transforming API requests // and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html). RequestParameters map[string]*string `locationName:"requestParameters" type:"map"` // A mapping of identifier keys to templates. The value is an actual template // script. The key is typically a SelectionKey which is chosen based on evaluating // a selection expression. RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"` // Supported only for HTTP APIs. You use response parameters to transform the // HTTP response from a backend integration before returning the response to // clients. ResponseParameters map[string]map[string]*string `locationName:"responseParameters" type:"map"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"` // An integer with a value between [50-30000]. TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"` // The TLS configuration for a private integration. If you specify a TLS configuration, // private integration traffic uses the HTTPS protocol. Supported only for HTTP // APIs. TlsConfig *TlsConfigInput `locationName:"tlsConfig" type:"structure"` // contains filtered or unexported fields }
func (s CreateIntegrationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateIntegrationInput) SetApiId(v string) *CreateIntegrationInput
SetApiId sets the ApiId field's value.
func (s *CreateIntegrationInput) SetConnectionId(v string) *CreateIntegrationInput
SetConnectionId sets the ConnectionId field's value.
func (s *CreateIntegrationInput) SetConnectionType(v string) *CreateIntegrationInput
SetConnectionType sets the ConnectionType field's value.
func (s *CreateIntegrationInput) SetContentHandlingStrategy(v string) *CreateIntegrationInput
SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.
func (s *CreateIntegrationInput) SetCredentialsArn(v string) *CreateIntegrationInput
SetCredentialsArn sets the CredentialsArn field's value.
func (s *CreateIntegrationInput) SetDescription(v string) *CreateIntegrationInput
SetDescription sets the Description field's value.
func (s *CreateIntegrationInput) SetIntegrationMethod(v string) *CreateIntegrationInput
SetIntegrationMethod sets the IntegrationMethod field's value.
func (s *CreateIntegrationInput) SetIntegrationSubtype(v string) *CreateIntegrationInput
SetIntegrationSubtype sets the IntegrationSubtype field's value.
func (s *CreateIntegrationInput) SetIntegrationType(v string) *CreateIntegrationInput
SetIntegrationType sets the IntegrationType field's value.
func (s *CreateIntegrationInput) SetIntegrationUri(v string) *CreateIntegrationInput
SetIntegrationUri sets the IntegrationUri field's value.
func (s *CreateIntegrationInput) SetPassthroughBehavior(v string) *CreateIntegrationInput
SetPassthroughBehavior sets the PassthroughBehavior field's value.
func (s *CreateIntegrationInput) SetPayloadFormatVersion(v string) *CreateIntegrationInput
SetPayloadFormatVersion sets the PayloadFormatVersion field's value.
func (s *CreateIntegrationInput) SetRequestParameters(v map[string]*string) *CreateIntegrationInput
SetRequestParameters sets the RequestParameters field's value.
func (s *CreateIntegrationInput) SetRequestTemplates(v map[string]*string) *CreateIntegrationInput
SetRequestTemplates sets the RequestTemplates field's value.
func (s *CreateIntegrationInput) SetResponseParameters(v map[string]map[string]*string) *CreateIntegrationInput
SetResponseParameters sets the ResponseParameters field's value.
func (s *CreateIntegrationInput) SetTemplateSelectionExpression(v string) *CreateIntegrationInput
SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.
func (s *CreateIntegrationInput) SetTimeoutInMillis(v int64) *CreateIntegrationInput
SetTimeoutInMillis sets the TimeoutInMillis field's value.
func (s *CreateIntegrationInput) SetTlsConfig(v *TlsConfigInput) *CreateIntegrationInput
SetTlsConfig sets the TlsConfig field's value.
func (s CreateIntegrationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateIntegrationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateIntegrationOutput struct { ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"` // A string with a length between [1-1024]. ConnectionId *string `locationName:"connectionId" type:"string"` // Represents a connection type. ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"` // Specifies how to handle response payload content type conversions. Supported // only for WebSocket APIs. ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"` // Represents an Amazon Resource Name (ARN). CredentialsArn *string `locationName:"credentialsArn" type:"string"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` // The identifier. IntegrationId *string `locationName:"integrationId" type:"string"` // A string with a length between [1-64]. IntegrationMethod *string `locationName:"integrationMethod" type:"string"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. IntegrationResponseSelectionExpression *string `locationName:"integrationResponseSelectionExpression" type:"string"` // A string with a length between [1-128]. IntegrationSubtype *string `locationName:"integrationSubtype" type:"string"` // Represents an API method integration type. IntegrationType *string `locationName:"integrationType" type:"string" enum:"IntegrationType"` // A string representation of a URI with a length between [1-2048]. IntegrationUri *string `locationName:"integrationUri" type:"string"` // Represents passthrough behavior for an integration response. Supported only // for WebSocket APIs. PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"` // A string with a length between [1-64]. PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"` // For WebSocket APIs, a key-value map specifying request parameters that are // passed from the method request to the backend. The key is an integration // request parameter name and the associated value is a method request parameter // value or static value that must be enclosed within single quotes and pre-encoded // as required by the backend. The method request parameter value must match // the pattern of method.request.{location}.{name} , where {location} is querystring, // path, or header; and {name} must be a valid and unique method request parameter // name. // // For HTTP API integrations with a specified integrationSubtype, request parameters // are a key-value map specifying parameters that are passed to AWS_PROXY integrations. // You can provide static values, or map request data, stage variables, or context // variables that are evaluated at runtime. To learn more, see Working with // AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html). // // For HTTP API integrations without a specified integrationSubtype request // parameters are a key-value map specifying how to transform HTTP requests // before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location> // where action can be append, overwrite or remove. For values, you can provide // static values, or map request data, stage variables, or context variables // that are evaluated at runtime. To learn more, see Transforming API requests // and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html). RequestParameters map[string]*string `locationName:"requestParameters" type:"map"` // A mapping of identifier keys to templates. The value is an actual template // script. The key is typically a SelectionKey which is chosen based on evaluating // a selection expression. RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"` // Supported only for HTTP APIs. You use response parameters to transform the // HTTP response from a backend integration before returning the response to // clients. ResponseParameters map[string]map[string]*string `locationName:"responseParameters" type:"map"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"` // An integer with a value between [50-30000]. TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"` // The TLS configuration for a private integration. If you specify a TLS configuration, // private integration traffic uses the HTTPS protocol. Supported only for HTTP // APIs. TlsConfig *TlsConfig `locationName:"tlsConfig" type:"structure"` // contains filtered or unexported fields }
func (s CreateIntegrationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateIntegrationOutput) SetApiGatewayManaged(v bool) *CreateIntegrationOutput
SetApiGatewayManaged sets the ApiGatewayManaged field's value.
func (s *CreateIntegrationOutput) SetConnectionId(v string) *CreateIntegrationOutput
SetConnectionId sets the ConnectionId field's value.
func (s *CreateIntegrationOutput) SetConnectionType(v string) *CreateIntegrationOutput
SetConnectionType sets the ConnectionType field's value.
func (s *CreateIntegrationOutput) SetContentHandlingStrategy(v string) *CreateIntegrationOutput
SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.
func (s *CreateIntegrationOutput) SetCredentialsArn(v string) *CreateIntegrationOutput
SetCredentialsArn sets the CredentialsArn field's value.
func (s *CreateIntegrationOutput) SetDescription(v string) *CreateIntegrationOutput
SetDescription sets the Description field's value.
func (s *CreateIntegrationOutput) SetIntegrationId(v string) *CreateIntegrationOutput
SetIntegrationId sets the IntegrationId field's value.
func (s *CreateIntegrationOutput) SetIntegrationMethod(v string) *CreateIntegrationOutput
SetIntegrationMethod sets the IntegrationMethod field's value.
func (s *CreateIntegrationOutput) SetIntegrationResponseSelectionExpression(v string) *CreateIntegrationOutput
SetIntegrationResponseSelectionExpression sets the IntegrationResponseSelectionExpression field's value.
func (s *CreateIntegrationOutput) SetIntegrationSubtype(v string) *CreateIntegrationOutput
SetIntegrationSubtype sets the IntegrationSubtype field's value.
func (s *CreateIntegrationOutput) SetIntegrationType(v string) *CreateIntegrationOutput
SetIntegrationType sets the IntegrationType field's value.
func (s *CreateIntegrationOutput) SetIntegrationUri(v string) *CreateIntegrationOutput
SetIntegrationUri sets the IntegrationUri field's value.
func (s *CreateIntegrationOutput) SetPassthroughBehavior(v string) *CreateIntegrationOutput
SetPassthroughBehavior sets the PassthroughBehavior field's value.
func (s *CreateIntegrationOutput) SetPayloadFormatVersion(v string) *CreateIntegrationOutput
SetPayloadFormatVersion sets the PayloadFormatVersion field's value.
func (s *CreateIntegrationOutput) SetRequestParameters(v map[string]*string) *CreateIntegrationOutput
SetRequestParameters sets the RequestParameters field's value.
func (s *CreateIntegrationOutput) SetRequestTemplates(v map[string]*string) *CreateIntegrationOutput
SetRequestTemplates sets the RequestTemplates field's value.
func (s *CreateIntegrationOutput) SetResponseParameters(v map[string]map[string]*string) *CreateIntegrationOutput
SetResponseParameters sets the ResponseParameters field's value.
func (s *CreateIntegrationOutput) SetTemplateSelectionExpression(v string) *CreateIntegrationOutput
SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.
func (s *CreateIntegrationOutput) SetTimeoutInMillis(v int64) *CreateIntegrationOutput
SetTimeoutInMillis sets the TimeoutInMillis field's value.
func (s *CreateIntegrationOutput) SetTlsConfig(v *TlsConfig) *CreateIntegrationOutput
SetTlsConfig sets the TlsConfig field's value.
func (s CreateIntegrationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateIntegrationResponseInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // Specifies how to handle response payload content type conversions. Supported // only for WebSocket APIs. ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"` // IntegrationId is a required field IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. // // IntegrationResponseKey is a required field IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string" required:"true"` // For WebSocket APIs, a key-value map specifying request parameters that are // passed from the method request to the backend. The key is an integration // request parameter name and the associated value is a method request parameter // value or static value that must be enclosed within single quotes and pre-encoded // as required by the backend. The method request parameter value must match // the pattern of method.request.{location}.{name} , where {location} is querystring, // path, or header; and {name} must be a valid and unique method request parameter // name. // // For HTTP API integrations with a specified integrationSubtype, request parameters // are a key-value map specifying parameters that are passed to AWS_PROXY integrations. // You can provide static values, or map request data, stage variables, or context // variables that are evaluated at runtime. To learn more, see Working with // AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html). // // For HTTP API integrations without a specified integrationSubtype request // parameters are a key-value map specifying how to transform HTTP requests // before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location> // where action can be append, overwrite or remove. For values, you can provide // static values, or map request data, stage variables, or context variables // that are evaluated at runtime. To learn more, see Transforming API requests // and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html). ResponseParameters map[string]*string `locationName:"responseParameters" type:"map"` // A mapping of identifier keys to templates. The value is an actual template // script. The key is typically a SelectionKey which is chosen based on evaluating // a selection expression. ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"` // contains filtered or unexported fields }
func (s CreateIntegrationResponseInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateIntegrationResponseInput) SetApiId(v string) *CreateIntegrationResponseInput
SetApiId sets the ApiId field's value.
func (s *CreateIntegrationResponseInput) SetContentHandlingStrategy(v string) *CreateIntegrationResponseInput
SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.
func (s *CreateIntegrationResponseInput) SetIntegrationId(v string) *CreateIntegrationResponseInput
SetIntegrationId sets the IntegrationId field's value.
func (s *CreateIntegrationResponseInput) SetIntegrationResponseKey(v string) *CreateIntegrationResponseInput
SetIntegrationResponseKey sets the IntegrationResponseKey field's value.
func (s *CreateIntegrationResponseInput) SetResponseParameters(v map[string]*string) *CreateIntegrationResponseInput
SetResponseParameters sets the ResponseParameters field's value.
func (s *CreateIntegrationResponseInput) SetResponseTemplates(v map[string]*string) *CreateIntegrationResponseInput
SetResponseTemplates sets the ResponseTemplates field's value.
func (s *CreateIntegrationResponseInput) SetTemplateSelectionExpression(v string) *CreateIntegrationResponseInput
SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.
func (s CreateIntegrationResponseInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateIntegrationResponseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateIntegrationResponseOutput struct { // Specifies how to handle response payload content type conversions. Supported // only for WebSocket APIs. ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"` // The identifier. IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string"` // For WebSocket APIs, a key-value map specifying request parameters that are // passed from the method request to the backend. The key is an integration // request parameter name and the associated value is a method request parameter // value or static value that must be enclosed within single quotes and pre-encoded // as required by the backend. The method request parameter value must match // the pattern of method.request.{location}.{name} , where {location} is querystring, // path, or header; and {name} must be a valid and unique method request parameter // name. // // For HTTP API integrations with a specified integrationSubtype, request parameters // are a key-value map specifying parameters that are passed to AWS_PROXY integrations. // You can provide static values, or map request data, stage variables, or context // variables that are evaluated at runtime. To learn more, see Working with // AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html). // // For HTTP API integrations without a specified integrationSubtype request // parameters are a key-value map specifying how to transform HTTP requests // before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location> // where action can be append, overwrite or remove. For values, you can provide // static values, or map request data, stage variables, or context variables // that are evaluated at runtime. To learn more, see Transforming API requests // and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html). ResponseParameters map[string]*string `locationName:"responseParameters" type:"map"` // A mapping of identifier keys to templates. The value is an actual template // script. The key is typically a SelectionKey which is chosen based on evaluating // a selection expression. ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"` // contains filtered or unexported fields }
func (s CreateIntegrationResponseOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateIntegrationResponseOutput) SetContentHandlingStrategy(v string) *CreateIntegrationResponseOutput
SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.
func (s *CreateIntegrationResponseOutput) SetIntegrationResponseId(v string) *CreateIntegrationResponseOutput
SetIntegrationResponseId sets the IntegrationResponseId field's value.
func (s *CreateIntegrationResponseOutput) SetIntegrationResponseKey(v string) *CreateIntegrationResponseOutput
SetIntegrationResponseKey sets the IntegrationResponseKey field's value.
func (s *CreateIntegrationResponseOutput) SetResponseParameters(v map[string]*string) *CreateIntegrationResponseOutput
SetResponseParameters sets the ResponseParameters field's value.
func (s *CreateIntegrationResponseOutput) SetResponseTemplates(v map[string]*string) *CreateIntegrationResponseOutput
SetResponseTemplates sets the ResponseTemplates field's value.
func (s *CreateIntegrationResponseOutput) SetTemplateSelectionExpression(v string) *CreateIntegrationResponseOutput
SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.
func (s CreateIntegrationResponseOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateModelInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // A string with a length between [1-256]. ContentType *string `locationName:"contentType" type:"string"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` // A string with a length between [1-128]. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // A string with a length between [0-32768]. // // Schema is a required field Schema *string `locationName:"schema" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CreateModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateModelInput) SetApiId(v string) *CreateModelInput
SetApiId sets the ApiId field's value.
func (s *CreateModelInput) SetContentType(v string) *CreateModelInput
SetContentType sets the ContentType field's value.
func (s *CreateModelInput) SetDescription(v string) *CreateModelInput
SetDescription sets the Description field's value.
func (s *CreateModelInput) SetName(v string) *CreateModelInput
SetName sets the Name field's value.
func (s *CreateModelInput) SetSchema(v string) *CreateModelInput
SetSchema sets the Schema field's value.
func (s CreateModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateModelOutput struct { // A string with a length between [1-256]. ContentType *string `locationName:"contentType" type:"string"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` // The identifier. ModelId *string `locationName:"modelId" type:"string"` // A string with a length between [1-128]. Name *string `locationName:"name" type:"string"` // A string with a length between [0-32768]. Schema *string `locationName:"schema" type:"string"` // contains filtered or unexported fields }
func (s CreateModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateModelOutput) SetContentType(v string) *CreateModelOutput
SetContentType sets the ContentType field's value.
func (s *CreateModelOutput) SetDescription(v string) *CreateModelOutput
SetDescription sets the Description field's value.
func (s *CreateModelOutput) SetModelId(v string) *CreateModelOutput
SetModelId sets the ModelId field's value.
func (s *CreateModelOutput) SetName(v string) *CreateModelOutput
SetName sets the Name field's value.
func (s *CreateModelOutput) SetSchema(v string) *CreateModelOutput
SetSchema sets the Schema field's value.
func (s CreateModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateRouteInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"` // A list of authorization scopes configured on a route. The scopes are used // with a JWT authorizer to authorize the method invocation. The authorization // works by matching the route scopes against the scopes parsed from the access // token in the incoming request. The method invocation is authorized if any // route scope matches a claimed scope in the access token. Otherwise, the invocation // is not authorized. When the route scope is configured, the client must provide // an access token instead of an identity token for authorization purposes. AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"` // The authorization type. For WebSocket APIs, valid values are NONE for open // access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda // authorizer. For HTTP APIs, valid values are NONE for open access, JWT for // using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM // for using a Lambda authorizer. AuthorizationType *string `locationName:"authorizationType" type:"string" enum:"AuthorizationType"` // The identifier. AuthorizerId *string `locationName:"authorizerId" type:"string"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"` // A string with a length between [1-64]. OperationName *string `locationName:"operationName" type:"string"` // The route models. RequestModels map[string]*string `locationName:"requestModels" type:"map"` // The route parameters. RequestParameters map[string]*ParameterConstraints `locationName:"requestParameters" type:"map"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. // // RouteKey is a required field RouteKey *string `locationName:"routeKey" type:"string" required:"true"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"` // A string with a length between [1-128]. Target *string `locationName:"target" type:"string"` // contains filtered or unexported fields }
func (s CreateRouteInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateRouteInput) SetApiId(v string) *CreateRouteInput
SetApiId sets the ApiId field's value.
func (s *CreateRouteInput) SetApiKeyRequired(v bool) *CreateRouteInput
SetApiKeyRequired sets the ApiKeyRequired field's value.
func (s *CreateRouteInput) SetAuthorizationScopes(v []*string) *CreateRouteInput
SetAuthorizationScopes sets the AuthorizationScopes field's value.
func (s *CreateRouteInput) SetAuthorizationType(v string) *CreateRouteInput
SetAuthorizationType sets the AuthorizationType field's value.
func (s *CreateRouteInput) SetAuthorizerId(v string) *CreateRouteInput
SetAuthorizerId sets the AuthorizerId field's value.
func (s *CreateRouteInput) SetModelSelectionExpression(v string) *CreateRouteInput
SetModelSelectionExpression sets the ModelSelectionExpression field's value.
func (s *CreateRouteInput) SetOperationName(v string) *CreateRouteInput
SetOperationName sets the OperationName field's value.
func (s *CreateRouteInput) SetRequestModels(v map[string]*string) *CreateRouteInput
SetRequestModels sets the RequestModels field's value.
func (s *CreateRouteInput) SetRequestParameters(v map[string]*ParameterConstraints) *CreateRouteInput
SetRequestParameters sets the RequestParameters field's value.
func (s *CreateRouteInput) SetRouteKey(v string) *CreateRouteInput
SetRouteKey sets the RouteKey field's value.
func (s *CreateRouteInput) SetRouteResponseSelectionExpression(v string) *CreateRouteInput
SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.
func (s *CreateRouteInput) SetTarget(v string) *CreateRouteInput
SetTarget sets the Target field's value.
func (s CreateRouteInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRouteOutput struct { ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"` ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"` // A list of authorization scopes configured on a route. The scopes are used // with a JWT authorizer to authorize the method invocation. The authorization // works by matching the route scopes against the scopes parsed from the access // token in the incoming request. The method invocation is authorized if any // route scope matches a claimed scope in the access token. Otherwise, the invocation // is not authorized. When the route scope is configured, the client must provide // an access token instead of an identity token for authorization purposes. AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"` // The authorization type. For WebSocket APIs, valid values are NONE for open // access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda // authorizer. For HTTP APIs, valid values are NONE for open access, JWT for // using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM // for using a Lambda authorizer. AuthorizationType *string `locationName:"authorizationType" type:"string" enum:"AuthorizationType"` // The identifier. AuthorizerId *string `locationName:"authorizerId" type:"string"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"` // A string with a length between [1-64]. OperationName *string `locationName:"operationName" type:"string"` // The route models. RequestModels map[string]*string `locationName:"requestModels" type:"map"` // The route parameters. RequestParameters map[string]*ParameterConstraints `locationName:"requestParameters" type:"map"` // The identifier. RouteId *string `locationName:"routeId" type:"string"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. RouteKey *string `locationName:"routeKey" type:"string"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"` // A string with a length between [1-128]. Target *string `locationName:"target" type:"string"` // contains filtered or unexported fields }
func (s CreateRouteOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateRouteOutput) SetApiGatewayManaged(v bool) *CreateRouteOutput
SetApiGatewayManaged sets the ApiGatewayManaged field's value.
func (s *CreateRouteOutput) SetApiKeyRequired(v bool) *CreateRouteOutput
SetApiKeyRequired sets the ApiKeyRequired field's value.
func (s *CreateRouteOutput) SetAuthorizationScopes(v []*string) *CreateRouteOutput
SetAuthorizationScopes sets the AuthorizationScopes field's value.
func (s *CreateRouteOutput) SetAuthorizationType(v string) *CreateRouteOutput
SetAuthorizationType sets the AuthorizationType field's value.
func (s *CreateRouteOutput) SetAuthorizerId(v string) *CreateRouteOutput
SetAuthorizerId sets the AuthorizerId field's value.
func (s *CreateRouteOutput) SetModelSelectionExpression(v string) *CreateRouteOutput
SetModelSelectionExpression sets the ModelSelectionExpression field's value.
func (s *CreateRouteOutput) SetOperationName(v string) *CreateRouteOutput
SetOperationName sets the OperationName field's value.
func (s *CreateRouteOutput) SetRequestModels(v map[string]*string) *CreateRouteOutput
SetRequestModels sets the RequestModels field's value.
func (s *CreateRouteOutput) SetRequestParameters(v map[string]*ParameterConstraints) *CreateRouteOutput
SetRequestParameters sets the RequestParameters field's value.
func (s *CreateRouteOutput) SetRouteId(v string) *CreateRouteOutput
SetRouteId sets the RouteId field's value.
func (s *CreateRouteOutput) SetRouteKey(v string) *CreateRouteOutput
SetRouteKey sets the RouteKey field's value.
func (s *CreateRouteOutput) SetRouteResponseSelectionExpression(v string) *CreateRouteOutput
SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.
func (s *CreateRouteOutput) SetTarget(v string) *CreateRouteOutput
SetTarget sets the Target field's value.
func (s CreateRouteOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateRouteResponseInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"` // The route models. ResponseModels map[string]*string `locationName:"responseModels" type:"map"` // The route parameters. ResponseParameters map[string]*ParameterConstraints `locationName:"responseParameters" type:"map"` // RouteId is a required field RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. // // RouteResponseKey is a required field RouteResponseKey *string `locationName:"routeResponseKey" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CreateRouteResponseInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateRouteResponseInput) SetApiId(v string) *CreateRouteResponseInput
SetApiId sets the ApiId field's value.
func (s *CreateRouteResponseInput) SetModelSelectionExpression(v string) *CreateRouteResponseInput
SetModelSelectionExpression sets the ModelSelectionExpression field's value.
func (s *CreateRouteResponseInput) SetResponseModels(v map[string]*string) *CreateRouteResponseInput
SetResponseModels sets the ResponseModels field's value.
func (s *CreateRouteResponseInput) SetResponseParameters(v map[string]*ParameterConstraints) *CreateRouteResponseInput
SetResponseParameters sets the ResponseParameters field's value.
func (s *CreateRouteResponseInput) SetRouteId(v string) *CreateRouteResponseInput
SetRouteId sets the RouteId field's value.
func (s *CreateRouteResponseInput) SetRouteResponseKey(v string) *CreateRouteResponseInput
SetRouteResponseKey sets the RouteResponseKey field's value.
func (s CreateRouteResponseInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateRouteResponseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRouteResponseOutput struct { // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"` // The route models. ResponseModels map[string]*string `locationName:"responseModels" type:"map"` // The route parameters. ResponseParameters map[string]*ParameterConstraints `locationName:"responseParameters" type:"map"` // The identifier. RouteResponseId *string `locationName:"routeResponseId" type:"string"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. RouteResponseKey *string `locationName:"routeResponseKey" type:"string"` // contains filtered or unexported fields }
func (s CreateRouteResponseOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateRouteResponseOutput) SetModelSelectionExpression(v string) *CreateRouteResponseOutput
SetModelSelectionExpression sets the ModelSelectionExpression field's value.
func (s *CreateRouteResponseOutput) SetResponseModels(v map[string]*string) *CreateRouteResponseOutput
SetResponseModels sets the ResponseModels field's value.
func (s *CreateRouteResponseOutput) SetResponseParameters(v map[string]*ParameterConstraints) *CreateRouteResponseOutput
SetResponseParameters sets the ResponseParameters field's value.
func (s *CreateRouteResponseOutput) SetRouteResponseId(v string) *CreateRouteResponseOutput
SetRouteResponseId sets the RouteResponseId field's value.
func (s *CreateRouteResponseOutput) SetRouteResponseKey(v string) *CreateRouteResponseOutput
SetRouteResponseKey sets the RouteResponseKey field's value.
func (s CreateRouteResponseOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateStageInput struct { // Settings for logging access in a stage. AccessLogSettings *AccessLogSettings `locationName:"accessLogSettings" type:"structure"` // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"` // The identifier. ClientCertificateId *string `locationName:"clientCertificateId" type:"string"` // Represents a collection of route settings. DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"` // The identifier. DeploymentId *string `locationName:"deploymentId" type:"string"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` // The route settings map. RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"` // A string with a length between [1-128]. // // StageName is a required field StageName *string `locationName:"stageName" type:"string" required:"true"` // The stage variable map. StageVariables map[string]*string `locationName:"stageVariables" type:"map"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s CreateStageInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateStageInput) SetAccessLogSettings(v *AccessLogSettings) *CreateStageInput
SetAccessLogSettings sets the AccessLogSettings field's value.
func (s *CreateStageInput) SetApiId(v string) *CreateStageInput
SetApiId sets the ApiId field's value.
func (s *CreateStageInput) SetAutoDeploy(v bool) *CreateStageInput
SetAutoDeploy sets the AutoDeploy field's value.
func (s *CreateStageInput) SetClientCertificateId(v string) *CreateStageInput
SetClientCertificateId sets the ClientCertificateId field's value.
func (s *CreateStageInput) SetDefaultRouteSettings(v *RouteSettings) *CreateStageInput
SetDefaultRouteSettings sets the DefaultRouteSettings field's value.
func (s *CreateStageInput) SetDeploymentId(v string) *CreateStageInput
SetDeploymentId sets the DeploymentId field's value.
func (s *CreateStageInput) SetDescription(v string) *CreateStageInput
SetDescription sets the Description field's value.
func (s *CreateStageInput) SetRouteSettings(v map[string]*RouteSettings) *CreateStageInput
SetRouteSettings sets the RouteSettings field's value.
func (s *CreateStageInput) SetStageName(v string) *CreateStageInput
SetStageName sets the StageName field's value.
func (s *CreateStageInput) SetStageVariables(v map[string]*string) *CreateStageInput
SetStageVariables sets the StageVariables field's value.
func (s *CreateStageInput) SetTags(v map[string]*string) *CreateStageInput
SetTags sets the Tags field's value.
func (s CreateStageInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateStageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateStageOutput struct { // Settings for logging access in a stage. AccessLogSettings *AccessLogSettings `locationName:"accessLogSettings" type:"structure"` ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"` AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"` // The identifier. ClientCertificateId *string `locationName:"clientCertificateId" type:"string"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"` // Represents a collection of route settings. DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"` // The identifier. DeploymentId *string `locationName:"deploymentId" type:"string"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` LastDeploymentStatusMessage *string `locationName:"lastDeploymentStatusMessage" type:"string"` LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"` // The route settings map. RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"` // A string with a length between [1-128]. StageName *string `locationName:"stageName" type:"string"` // The stage variable map. StageVariables map[string]*string `locationName:"stageVariables" type:"map"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s CreateStageOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateStageOutput) SetAccessLogSettings(v *AccessLogSettings) *CreateStageOutput
SetAccessLogSettings sets the AccessLogSettings field's value.
func (s *CreateStageOutput) SetApiGatewayManaged(v bool) *CreateStageOutput
SetApiGatewayManaged sets the ApiGatewayManaged field's value.
func (s *CreateStageOutput) SetAutoDeploy(v bool) *CreateStageOutput
SetAutoDeploy sets the AutoDeploy field's value.
func (s *CreateStageOutput) SetClientCertificateId(v string) *CreateStageOutput
SetClientCertificateId sets the ClientCertificateId field's value.
func (s *CreateStageOutput) SetCreatedDate(v time.Time) *CreateStageOutput
SetCreatedDate sets the CreatedDate field's value.
func (s *CreateStageOutput) SetDefaultRouteSettings(v *RouteSettings) *CreateStageOutput
SetDefaultRouteSettings sets the DefaultRouteSettings field's value.
func (s *CreateStageOutput) SetDeploymentId(v string) *CreateStageOutput
SetDeploymentId sets the DeploymentId field's value.
func (s *CreateStageOutput) SetDescription(v string) *CreateStageOutput
SetDescription sets the Description field's value.
func (s *CreateStageOutput) SetLastDeploymentStatusMessage(v string) *CreateStageOutput
SetLastDeploymentStatusMessage sets the LastDeploymentStatusMessage field's value.
func (s *CreateStageOutput) SetLastUpdatedDate(v time.Time) *CreateStageOutput
SetLastUpdatedDate sets the LastUpdatedDate field's value.
func (s *CreateStageOutput) SetRouteSettings(v map[string]*RouteSettings) *CreateStageOutput
SetRouteSettings sets the RouteSettings field's value.
func (s *CreateStageOutput) SetStageName(v string) *CreateStageOutput
SetStageName sets the StageName field's value.
func (s *CreateStageOutput) SetStageVariables(v map[string]*string) *CreateStageOutput
SetStageVariables sets the StageVariables field's value.
func (s *CreateStageOutput) SetTags(v map[string]*string) *CreateStageOutput
SetTags sets the Tags field's value.
func (s CreateStageOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateVpcLinkInput struct { // A string with a length between [1-128]. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // A list of security group IDs for the VPC link. SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` // A list of subnet IDs to include in the VPC link. // // SubnetIds is a required field SubnetIds []*string `locationName:"subnetIds" type:"list" required:"true"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s CreateVpcLinkInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateVpcLinkInput) SetName(v string) *CreateVpcLinkInput
SetName sets the Name field's value.
func (s *CreateVpcLinkInput) SetSecurityGroupIds(v []*string) *CreateVpcLinkInput
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (s *CreateVpcLinkInput) SetSubnetIds(v []*string) *CreateVpcLinkInput
SetSubnetIds sets the SubnetIds field's value.
func (s *CreateVpcLinkInput) SetTags(v map[string]*string) *CreateVpcLinkInput
SetTags sets the Tags field's value.
func (s CreateVpcLinkInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateVpcLinkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVpcLinkOutput struct { CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"` // A string with a length between [1-128]. Name *string `locationName:"name" type:"string"` // A list of security group IDs for the VPC link. SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` // A list of subnet IDs to include in the VPC link. SubnetIds []*string `locationName:"subnetIds" type:"list"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // The identifier. VpcLinkId *string `locationName:"vpcLinkId" type:"string"` // The status of the VPC link. VpcLinkStatus *string `locationName:"vpcLinkStatus" type:"string" enum:"VpcLinkStatus"` // A string with a length between [0-1024]. VpcLinkStatusMessage *string `locationName:"vpcLinkStatusMessage" type:"string"` // The version of the VPC link. VpcLinkVersion *string `locationName:"vpcLinkVersion" type:"string" enum:"VpcLinkVersion"` // contains filtered or unexported fields }
func (s CreateVpcLinkOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateVpcLinkOutput) SetCreatedDate(v time.Time) *CreateVpcLinkOutput
SetCreatedDate sets the CreatedDate field's value.
func (s *CreateVpcLinkOutput) SetName(v string) *CreateVpcLinkOutput
SetName sets the Name field's value.
func (s *CreateVpcLinkOutput) SetSecurityGroupIds(v []*string) *CreateVpcLinkOutput
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (s *CreateVpcLinkOutput) SetSubnetIds(v []*string) *CreateVpcLinkOutput
SetSubnetIds sets the SubnetIds field's value.
func (s *CreateVpcLinkOutput) SetTags(v map[string]*string) *CreateVpcLinkOutput
SetTags sets the Tags field's value.
func (s *CreateVpcLinkOutput) SetVpcLinkId(v string) *CreateVpcLinkOutput
SetVpcLinkId sets the VpcLinkId field's value.
func (s *CreateVpcLinkOutput) SetVpcLinkStatus(v string) *CreateVpcLinkOutput
SetVpcLinkStatus sets the VpcLinkStatus field's value.
func (s *CreateVpcLinkOutput) SetVpcLinkStatusMessage(v string) *CreateVpcLinkOutput
SetVpcLinkStatusMessage sets the VpcLinkStatusMessage field's value.
func (s *CreateVpcLinkOutput) SetVpcLinkVersion(v string) *CreateVpcLinkOutput
SetVpcLinkVersion sets the VpcLinkVersion field's value.
func (s CreateVpcLinkOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteAccessLogSettingsInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // StageName is a required field StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteAccessLogSettingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAccessLogSettingsInput) SetApiId(v string) *DeleteAccessLogSettingsInput
SetApiId sets the ApiId field's value.
func (s *DeleteAccessLogSettingsInput) SetStageName(v string) *DeleteAccessLogSettingsInput
SetStageName sets the StageName field's value.
func (s DeleteAccessLogSettingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAccessLogSettingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAccessLogSettingsOutput struct {
// contains filtered or unexported fields
}
func (s DeleteAccessLogSettingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteAccessLogSettingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteApiInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteApiInput) SetApiId(v string) *DeleteApiInput
SetApiId sets the ApiId field's value.
func (s DeleteApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApiMappingInput struct { // ApiMappingId is a required field ApiMappingId *string `location:"uri" locationName:"apiMappingId" type:"string" required:"true"` // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteApiMappingInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteApiMappingInput) SetApiMappingId(v string) *DeleteApiMappingInput
SetApiMappingId sets the ApiMappingId field's value.
func (s *DeleteApiMappingInput) SetDomainName(v string) *DeleteApiMappingInput
SetDomainName sets the DomainName field's value.
func (s DeleteApiMappingInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteApiMappingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApiMappingOutput struct {
// contains filtered or unexported fields
}
func (s DeleteApiMappingOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteApiMappingOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteApiOutput struct {
// contains filtered or unexported fields
}
func (s DeleteApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteAuthorizerInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // AuthorizerId is a required field AuthorizerId *string `location:"uri" locationName:"authorizerId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteAuthorizerInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAuthorizerInput) SetApiId(v string) *DeleteAuthorizerInput
SetApiId sets the ApiId field's value.
func (s *DeleteAuthorizerInput) SetAuthorizerId(v string) *DeleteAuthorizerInput
SetAuthorizerId sets the AuthorizerId field's value.
func (s DeleteAuthorizerInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAuthorizerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAuthorizerOutput struct {
// contains filtered or unexported fields
}
func (s DeleteAuthorizerOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteAuthorizerOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteCorsConfigurationInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteCorsConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteCorsConfigurationInput) SetApiId(v string) *DeleteCorsConfigurationInput
SetApiId sets the ApiId field's value.
func (s DeleteCorsConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteCorsConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCorsConfigurationOutput struct {
// contains filtered or unexported fields
}
func (s DeleteCorsConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteCorsConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteDeploymentInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // DeploymentId is a required field DeploymentId *string `location:"uri" locationName:"deploymentId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteDeploymentInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteDeploymentInput) SetApiId(v string) *DeleteDeploymentInput
SetApiId sets the ApiId field's value.
func (s *DeleteDeploymentInput) SetDeploymentId(v string) *DeleteDeploymentInput
SetDeploymentId sets the DeploymentId field's value.
func (s DeleteDeploymentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteDeploymentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDeploymentOutput struct {
// contains filtered or unexported fields
}
func (s DeleteDeploymentOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteDeploymentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteDomainNameInput struct { // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteDomainNameInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteDomainNameInput) SetDomainName(v string) *DeleteDomainNameInput
SetDomainName sets the DomainName field's value.
func (s DeleteDomainNameInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteDomainNameInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDomainNameOutput struct {
// contains filtered or unexported fields
}
func (s DeleteDomainNameOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteDomainNameOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteIntegrationInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // IntegrationId is a required field IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteIntegrationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteIntegrationInput) SetApiId(v string) *DeleteIntegrationInput
SetApiId sets the ApiId field's value.
func (s *DeleteIntegrationInput) SetIntegrationId(v string) *DeleteIntegrationInput
SetIntegrationId sets the IntegrationId field's value.
func (s DeleteIntegrationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteIntegrationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteIntegrationOutput struct {
// contains filtered or unexported fields
}
func (s DeleteIntegrationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteIntegrationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteIntegrationResponseInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // IntegrationId is a required field IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"` // IntegrationResponseId is a required field IntegrationResponseId *string `location:"uri" locationName:"integrationResponseId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteIntegrationResponseInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteIntegrationResponseInput) SetApiId(v string) *DeleteIntegrationResponseInput
SetApiId sets the ApiId field's value.
func (s *DeleteIntegrationResponseInput) SetIntegrationId(v string) *DeleteIntegrationResponseInput
SetIntegrationId sets the IntegrationId field's value.
func (s *DeleteIntegrationResponseInput) SetIntegrationResponseId(v string) *DeleteIntegrationResponseInput
SetIntegrationResponseId sets the IntegrationResponseId field's value.
func (s DeleteIntegrationResponseInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteIntegrationResponseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteIntegrationResponseOutput struct {
// contains filtered or unexported fields
}
func (s DeleteIntegrationResponseOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteIntegrationResponseOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteModelInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // ModelId is a required field ModelId *string `location:"uri" locationName:"modelId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteModelInput) SetApiId(v string) *DeleteModelInput
SetApiId sets the ApiId field's value.
func (s *DeleteModelInput) SetModelId(v string) *DeleteModelInput
SetModelId sets the ModelId field's value.
func (s DeleteModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteModelOutput struct {
// contains filtered or unexported fields
}
func (s DeleteModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteRouteInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // RouteId is a required field RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteRouteInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteRouteInput) SetApiId(v string) *DeleteRouteInput
SetApiId sets the ApiId field's value.
func (s *DeleteRouteInput) SetRouteId(v string) *DeleteRouteInput
SetRouteId sets the RouteId field's value.
func (s DeleteRouteInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRouteOutput struct {
// contains filtered or unexported fields
}
func (s DeleteRouteOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteRouteOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteRouteRequestParameterInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // RequestParameterKey is a required field RequestParameterKey *string `location:"uri" locationName:"requestParameterKey" type:"string" required:"true"` // RouteId is a required field RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteRouteRequestParameterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteRouteRequestParameterInput) SetApiId(v string) *DeleteRouteRequestParameterInput
SetApiId sets the ApiId field's value.
func (s *DeleteRouteRequestParameterInput) SetRequestParameterKey(v string) *DeleteRouteRequestParameterInput
SetRequestParameterKey sets the RequestParameterKey field's value.
func (s *DeleteRouteRequestParameterInput) SetRouteId(v string) *DeleteRouteRequestParameterInput
SetRouteId sets the RouteId field's value.
func (s DeleteRouteRequestParameterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteRouteRequestParameterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRouteRequestParameterOutput struct {
// contains filtered or unexported fields
}
func (s DeleteRouteRequestParameterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteRouteRequestParameterOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteRouteResponseInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // RouteId is a required field RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"` // RouteResponseId is a required field RouteResponseId *string `location:"uri" locationName:"routeResponseId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteRouteResponseInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteRouteResponseInput) SetApiId(v string) *DeleteRouteResponseInput
SetApiId sets the ApiId field's value.
func (s *DeleteRouteResponseInput) SetRouteId(v string) *DeleteRouteResponseInput
SetRouteId sets the RouteId field's value.
func (s *DeleteRouteResponseInput) SetRouteResponseId(v string) *DeleteRouteResponseInput
SetRouteResponseId sets the RouteResponseId field's value.
func (s DeleteRouteResponseInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteRouteResponseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRouteResponseOutput struct {
// contains filtered or unexported fields
}
func (s DeleteRouteResponseOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteRouteResponseOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteRouteSettingsInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // RouteKey is a required field RouteKey *string `location:"uri" locationName:"routeKey" type:"string" required:"true"` // StageName is a required field StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteRouteSettingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteRouteSettingsInput) SetApiId(v string) *DeleteRouteSettingsInput
SetApiId sets the ApiId field's value.
func (s *DeleteRouteSettingsInput) SetRouteKey(v string) *DeleteRouteSettingsInput
SetRouteKey sets the RouteKey field's value.
func (s *DeleteRouteSettingsInput) SetStageName(v string) *DeleteRouteSettingsInput
SetStageName sets the StageName field's value.
func (s DeleteRouteSettingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteRouteSettingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRouteSettingsOutput struct {
// contains filtered or unexported fields
}
func (s DeleteRouteSettingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteRouteSettingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteStageInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // StageName is a required field StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteStageInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteStageInput) SetApiId(v string) *DeleteStageInput
SetApiId sets the ApiId field's value.
func (s *DeleteStageInput) SetStageName(v string) *DeleteStageInput
SetStageName sets the StageName field's value.
func (s DeleteStageInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteStageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteStageOutput struct {
// contains filtered or unexported fields
}
func (s DeleteStageOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteStageOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteVpcLinkInput struct { // VpcLinkId is a required field VpcLinkId *string `location:"uri" locationName:"vpcLinkId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteVpcLinkInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteVpcLinkInput) SetVpcLinkId(v string) *DeleteVpcLinkInput
SetVpcLinkId sets the VpcLinkId field's value.
func (s DeleteVpcLinkInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteVpcLinkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVpcLinkOutput struct {
// contains filtered or unexported fields
}
func (s DeleteVpcLinkOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteVpcLinkOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Deployment struct { // Specifies whether a deployment was automatically released. AutoDeployed *bool `locationName:"autoDeployed" type:"boolean"` // The date and time when the Deployment resource was created. CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"` // The identifier for the deployment. DeploymentId *string `locationName:"deploymentId" type:"string"` // The status of the deployment: PENDING, FAILED, or SUCCEEDED. DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"` // May contain additional feedback on the status of an API deployment. DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"` // The description for the deployment. Description *string `locationName:"description" type:"string"` // contains filtered or unexported fields }
An immutable representation of an API that can be called by users. A Deployment must be associated with a Stage for it to be callable over the internet.
func (s Deployment) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Deployment) SetAutoDeployed(v bool) *Deployment
SetAutoDeployed sets the AutoDeployed field's value.
func (s *Deployment) SetCreatedDate(v time.Time) *Deployment
SetCreatedDate sets the CreatedDate field's value.
func (s *Deployment) SetDeploymentId(v string) *Deployment
SetDeploymentId sets the DeploymentId field's value.
func (s *Deployment) SetDeploymentStatus(v string) *Deployment
SetDeploymentStatus sets the DeploymentStatus field's value.
func (s *Deployment) SetDeploymentStatusMessage(v string) *Deployment
SetDeploymentStatusMessage sets the DeploymentStatusMessage field's value.
func (s *Deployment) SetDescription(v string) *Deployment
SetDescription sets the Description field's value.
func (s Deployment) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DomainName struct { // The API mapping selection expression. ApiMappingSelectionExpression *string `locationName:"apiMappingSelectionExpression" type:"string"` // The name of the DomainName resource. // // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` // The domain name configurations. DomainNameConfigurations []*DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"` // The mutual TLS authentication configuration for a custom domain name. MutualTlsAuthentication *MutualTlsAuthentication `locationName:"mutualTlsAuthentication" type:"structure"` // The collection of tags associated with a domain name. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Represents a domain name.
func (s DomainName) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DomainName) SetApiMappingSelectionExpression(v string) *DomainName
SetApiMappingSelectionExpression sets the ApiMappingSelectionExpression field's value.
func (s *DomainName) SetDomainName(v string) *DomainName
SetDomainName sets the DomainName field's value.
func (s *DomainName) SetDomainNameConfigurations(v []*DomainNameConfiguration) *DomainName
SetDomainNameConfigurations sets the DomainNameConfigurations field's value.
func (s *DomainName) SetMutualTlsAuthentication(v *MutualTlsAuthentication) *DomainName
SetMutualTlsAuthentication sets the MutualTlsAuthentication field's value.
func (s *DomainName) SetTags(v map[string]*string) *DomainName
SetTags sets the Tags field's value.
func (s DomainName) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DomainNameConfiguration struct { // A domain name for the API. ApiGatewayDomainName *string `locationName:"apiGatewayDomainName" type:"string"` // An AWS-managed certificate that will be used by the edge-optimized endpoint // for this domain name. AWS Certificate Manager is the only supported source. CertificateArn *string `locationName:"certificateArn" type:"string"` // The user-friendly name of the certificate that will be used by the edge-optimized // endpoint for this domain name. CertificateName *string `locationName:"certificateName" type:"string"` // The timestamp when the certificate that was used by edge-optimized endpoint // for this domain name was uploaded. CertificateUploadDate *time.Time `locationName:"certificateUploadDate" type:"timestamp" timestampFormat:"iso8601"` // The status of the domain name migration. The valid values are AVAILABLE, // UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. // If the status is UPDATING, the domain cannot be modified further until the // existing operation is complete. If it is AVAILABLE, the domain can be updated. DomainNameStatus *string `locationName:"domainNameStatus" type:"string" enum:"DomainNameStatus"` // An optional text message containing detailed information about status of // the domain name migration. DomainNameStatusMessage *string `locationName:"domainNameStatusMessage" type:"string"` // The endpoint type. EndpointType *string `locationName:"endpointType" type:"string" enum:"EndpointType"` // The Amazon Route 53 Hosted Zone ID of the endpoint. HostedZoneId *string `locationName:"hostedZoneId" type:"string"` // The ARN of the public certificate issued by ACM to validate ownership of // your custom domain. Only required when configuring mutual TLS and using an // ACM imported or private CA certificate ARN as the regionalCertificateArn OwnershipVerificationCertificateArn *string `locationName:"ownershipVerificationCertificateArn" type:"string"` // The Transport Layer Security (TLS) version of the security policy for this // domain name. The valid values are TLS_1_0 and TLS_1_2. SecurityPolicy *string `locationName:"securityPolicy" type:"string" enum:"SecurityPolicy"` // contains filtered or unexported fields }
The domain name configuration.
func (s DomainNameConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DomainNameConfiguration) SetApiGatewayDomainName(v string) *DomainNameConfiguration
SetApiGatewayDomainName sets the ApiGatewayDomainName field's value.
func (s *DomainNameConfiguration) SetCertificateArn(v string) *DomainNameConfiguration
SetCertificateArn sets the CertificateArn field's value.
func (s *DomainNameConfiguration) SetCertificateName(v string) *DomainNameConfiguration
SetCertificateName sets the CertificateName field's value.
func (s *DomainNameConfiguration) SetCertificateUploadDate(v time.Time) *DomainNameConfiguration
SetCertificateUploadDate sets the CertificateUploadDate field's value.
func (s *DomainNameConfiguration) SetDomainNameStatus(v string) *DomainNameConfiguration
SetDomainNameStatus sets the DomainNameStatus field's value.
func (s *DomainNameConfiguration) SetDomainNameStatusMessage(v string) *DomainNameConfiguration
SetDomainNameStatusMessage sets the DomainNameStatusMessage field's value.
func (s *DomainNameConfiguration) SetEndpointType(v string) *DomainNameConfiguration
SetEndpointType sets the EndpointType field's value.
func (s *DomainNameConfiguration) SetHostedZoneId(v string) *DomainNameConfiguration
SetHostedZoneId sets the HostedZoneId field's value.
func (s *DomainNameConfiguration) SetOwnershipVerificationCertificateArn(v string) *DomainNameConfiguration
SetOwnershipVerificationCertificateArn sets the OwnershipVerificationCertificateArn field's value.
func (s *DomainNameConfiguration) SetSecurityPolicy(v string) *DomainNameConfiguration
SetSecurityPolicy sets the SecurityPolicy field's value.
func (s DomainNameConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExportApiInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` ExportVersion *string `location:"querystring" locationName:"exportVersion" type:"string"` IncludeExtensions *bool `location:"querystring" locationName:"includeExtensions" type:"boolean"` // OutputType is a required field OutputType *string `location:"querystring" locationName:"outputType" type:"string" required:"true"` // Specification is a required field Specification *string `location:"uri" locationName:"specification" type:"string" required:"true"` StageName *string `location:"querystring" locationName:"stageName" type:"string"` // contains filtered or unexported fields }
func (s ExportApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ExportApiInput) SetApiId(v string) *ExportApiInput
SetApiId sets the ApiId field's value.
func (s *ExportApiInput) SetExportVersion(v string) *ExportApiInput
SetExportVersion sets the ExportVersion field's value.
func (s *ExportApiInput) SetIncludeExtensions(v bool) *ExportApiInput
SetIncludeExtensions sets the IncludeExtensions field's value.
func (s *ExportApiInput) SetOutputType(v string) *ExportApiInput
SetOutputType sets the OutputType field's value.
func (s *ExportApiInput) SetSpecification(v string) *ExportApiInput
SetSpecification sets the Specification field's value.
func (s *ExportApiInput) SetStageName(v string) *ExportApiInput
SetStageName sets the StageName field's value.
func (s ExportApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ExportApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportApiOutput struct { // Represents an exported definition of an API in a particular output format, // for example, YAML. The API is serialized to the requested specification, // for example, OpenAPI 3.0. Body []byte `locationName:"body" type:"blob"` // contains filtered or unexported fields }
func (s ExportApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ExportApiOutput) SetBody(v []byte) *ExportApiOutput
SetBody sets the Body field's value.
func (s ExportApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetApiInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiInput) SetApiId(v string) *GetApiInput
SetApiId sets the ApiId field's value.
func (s GetApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetApiMappingInput struct { // ApiMappingId is a required field ApiMappingId *string `location:"uri" locationName:"apiMappingId" type:"string" required:"true"` // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetApiMappingInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiMappingInput) SetApiMappingId(v string) *GetApiMappingInput
SetApiMappingId sets the ApiMappingId field's value.
func (s *GetApiMappingInput) SetDomainName(v string) *GetApiMappingInput
SetDomainName sets the DomainName field's value.
func (s GetApiMappingInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiMappingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetApiMappingOutput struct { // The identifier. ApiId *string `locationName:"apiId" type:"string"` // The identifier. ApiMappingId *string `locationName:"apiMappingId" type:"string"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. ApiMappingKey *string `locationName:"apiMappingKey" type:"string"` // A string with a length between [1-128]. Stage *string `locationName:"stage" type:"string"` // contains filtered or unexported fields }
func (s GetApiMappingOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiMappingOutput) SetApiId(v string) *GetApiMappingOutput
SetApiId sets the ApiId field's value.
func (s *GetApiMappingOutput) SetApiMappingId(v string) *GetApiMappingOutput
SetApiMappingId sets the ApiMappingId field's value.
func (s *GetApiMappingOutput) SetApiMappingKey(v string) *GetApiMappingOutput
SetApiMappingKey sets the ApiMappingKey field's value.
func (s *GetApiMappingOutput) SetStage(v string) *GetApiMappingOutput
SetStage sets the Stage field's value.
func (s GetApiMappingOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetApiMappingsInput struct { // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetApiMappingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiMappingsInput) SetDomainName(v string) *GetApiMappingsInput
SetDomainName sets the DomainName field's value.
func (s *GetApiMappingsInput) SetMaxResults(v string) *GetApiMappingsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetApiMappingsInput) SetNextToken(v string) *GetApiMappingsInput
SetNextToken sets the NextToken field's value.
func (s GetApiMappingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiMappingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetApiMappingsOutput struct { Items []*ApiMapping `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetApiMappingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiMappingsOutput) SetItems(v []*ApiMapping) *GetApiMappingsOutput
SetItems sets the Items field's value.
func (s *GetApiMappingsOutput) SetNextToken(v string) *GetApiMappingsOutput
SetNextToken sets the NextToken field's value.
func (s GetApiMappingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetApiOutput struct { ApiEndpoint *string `locationName:"apiEndpoint" type:"string"` ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"` // The identifier. ApiId *string `locationName:"apiId" type:"string"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"` // Represents a CORS configuration. Supported only for HTTP APIs. See Configuring // CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) // for more information. CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"` DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"` ImportInfo []*string `locationName:"importInfo" type:"list"` // A string with a length between [1-128]. Name *string `locationName:"name" type:"string"` // Represents a protocol type. ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // A string with a length between [1-64]. Version *string `locationName:"version" type:"string"` Warnings []*string `locationName:"warnings" type:"list"` // contains filtered or unexported fields }
func (s GetApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiOutput) SetApiEndpoint(v string) *GetApiOutput
SetApiEndpoint sets the ApiEndpoint field's value.
func (s *GetApiOutput) SetApiGatewayManaged(v bool) *GetApiOutput
SetApiGatewayManaged sets the ApiGatewayManaged field's value.
func (s *GetApiOutput) SetApiId(v string) *GetApiOutput
SetApiId sets the ApiId field's value.
func (s *GetApiOutput) SetApiKeySelectionExpression(v string) *GetApiOutput
SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.
func (s *GetApiOutput) SetCorsConfiguration(v *Cors) *GetApiOutput
SetCorsConfiguration sets the CorsConfiguration field's value.
func (s *GetApiOutput) SetCreatedDate(v time.Time) *GetApiOutput
SetCreatedDate sets the CreatedDate field's value.
func (s *GetApiOutput) SetDescription(v string) *GetApiOutput
SetDescription sets the Description field's value.
func (s *GetApiOutput) SetDisableExecuteApiEndpoint(v bool) *GetApiOutput
SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.
func (s *GetApiOutput) SetDisableSchemaValidation(v bool) *GetApiOutput
SetDisableSchemaValidation sets the DisableSchemaValidation field's value.
func (s *GetApiOutput) SetImportInfo(v []*string) *GetApiOutput
SetImportInfo sets the ImportInfo field's value.
func (s *GetApiOutput) SetName(v string) *GetApiOutput
SetName sets the Name field's value.
func (s *GetApiOutput) SetProtocolType(v string) *GetApiOutput
SetProtocolType sets the ProtocolType field's value.
func (s *GetApiOutput) SetRouteSelectionExpression(v string) *GetApiOutput
SetRouteSelectionExpression sets the RouteSelectionExpression field's value.
func (s *GetApiOutput) SetTags(v map[string]*string) *GetApiOutput
SetTags sets the Tags field's value.
func (s *GetApiOutput) SetVersion(v string) *GetApiOutput
SetVersion sets the Version field's value.
func (s *GetApiOutput) SetWarnings(v []*string) *GetApiOutput
SetWarnings sets the Warnings field's value.
func (s GetApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetApisInput struct {
MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`
NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}
func (s GetApisInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApisInput) SetMaxResults(v string) *GetApisInput
SetMaxResults sets the MaxResults field's value.
func (s *GetApisInput) SetNextToken(v string) *GetApisInput
SetNextToken sets the NextToken field's value.
func (s GetApisInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetApisOutput struct { Items []*Api `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetApisOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApisOutput) SetItems(v []*Api) *GetApisOutput
SetItems sets the Items field's value.
func (s *GetApisOutput) SetNextToken(v string) *GetApisOutput
SetNextToken sets the NextToken field's value.
func (s GetApisOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAuthorizerInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // AuthorizerId is a required field AuthorizerId *string `location:"uri" locationName:"authorizerId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetAuthorizerInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAuthorizerInput) SetApiId(v string) *GetAuthorizerInput
SetApiId sets the ApiId field's value.
func (s *GetAuthorizerInput) SetAuthorizerId(v string) *GetAuthorizerInput
SetAuthorizerId sets the AuthorizerId field's value.
func (s GetAuthorizerInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAuthorizerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAuthorizerOutput struct { // Represents an Amazon Resource Name (ARN). AuthorizerCredentialsArn *string `locationName:"authorizerCredentialsArn" type:"string"` // The identifier. AuthorizerId *string `locationName:"authorizerId" type:"string"` // A string with a length between [1-64]. AuthorizerPayloadFormatVersion *string `locationName:"authorizerPayloadFormatVersion" type:"string"` // An integer with a value between [0-3600]. AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"` // The authorizer type. Specify REQUEST for a Lambda function using incoming // request parameters. Specify JWT to use JSON Web Tokens (supported only for // HTTP APIs). AuthorizerType *string `locationName:"authorizerType" type:"string" enum:"AuthorizerType"` // A string representation of a URI with a length between [1-2048]. AuthorizerUri *string `locationName:"authorizerUri" type:"string"` EnableSimpleResponses *bool `locationName:"enableSimpleResponses" type:"boolean"` // The identity source for which authorization is requested. For the REQUEST // authorizer, this is required when authorization caching is enabled. The value // is a comma-separated string of one or more mapping expressions of the specified // request parameters. For example, if an Auth header, a Name query string parameter // are defined as identity sources, this value is $method.request.header.Auth, // $method.request.querystring.Name. These parameters will be used to derive // the authorization caching key and to perform runtime validation of the REQUEST // authorizer by verifying all of the identity-related request parameters are // present, not null and non-empty. Only when this is true does the authorizer // invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized // response without calling the Lambda function. The valid value is a string // of comma-separated mapping expressions of the specified request parameters. // When the authorization caching is not enabled, this property is optional. IdentitySource []*string `locationName:"identitySource" type:"list"` // A string with a length between [0-1024]. IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"` // Represents the configuration of a JWT authorizer. Required for the JWT authorizer // type. Supported only for HTTP APIs. JwtConfiguration *JWTConfiguration `locationName:"jwtConfiguration" type:"structure"` // A string with a length between [1-128]. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
func (s GetAuthorizerOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAuthorizerOutput) SetAuthorizerCredentialsArn(v string) *GetAuthorizerOutput
SetAuthorizerCredentialsArn sets the AuthorizerCredentialsArn field's value.
func (s *GetAuthorizerOutput) SetAuthorizerId(v string) *GetAuthorizerOutput
SetAuthorizerId sets the AuthorizerId field's value.
func (s *GetAuthorizerOutput) SetAuthorizerPayloadFormatVersion(v string) *GetAuthorizerOutput
SetAuthorizerPayloadFormatVersion sets the AuthorizerPayloadFormatVersion field's value.
func (s *GetAuthorizerOutput) SetAuthorizerResultTtlInSeconds(v int64) *GetAuthorizerOutput
SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.
func (s *GetAuthorizerOutput) SetAuthorizerType(v string) *GetAuthorizerOutput
SetAuthorizerType sets the AuthorizerType field's value.
func (s *GetAuthorizerOutput) SetAuthorizerUri(v string) *GetAuthorizerOutput
SetAuthorizerUri sets the AuthorizerUri field's value.
func (s *GetAuthorizerOutput) SetEnableSimpleResponses(v bool) *GetAuthorizerOutput
SetEnableSimpleResponses sets the EnableSimpleResponses field's value.
func (s *GetAuthorizerOutput) SetIdentitySource(v []*string) *GetAuthorizerOutput
SetIdentitySource sets the IdentitySource field's value.
func (s *GetAuthorizerOutput) SetIdentityValidationExpression(v string) *GetAuthorizerOutput
SetIdentityValidationExpression sets the IdentityValidationExpression field's value.
func (s *GetAuthorizerOutput) SetJwtConfiguration(v *JWTConfiguration) *GetAuthorizerOutput
SetJwtConfiguration sets the JwtConfiguration field's value.
func (s *GetAuthorizerOutput) SetName(v string) *GetAuthorizerOutput
SetName sets the Name field's value.
func (s GetAuthorizerOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAuthorizersInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetAuthorizersInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAuthorizersInput) SetApiId(v string) *GetAuthorizersInput
SetApiId sets the ApiId field's value.
func (s *GetAuthorizersInput) SetMaxResults(v string) *GetAuthorizersInput
SetMaxResults sets the MaxResults field's value.
func (s *GetAuthorizersInput) SetNextToken(v string) *GetAuthorizersInput
SetNextToken sets the NextToken field's value.
func (s GetAuthorizersInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAuthorizersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAuthorizersOutput struct { Items []*Authorizer `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetAuthorizersOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAuthorizersOutput) SetItems(v []*Authorizer) *GetAuthorizersOutput
SetItems sets the Items field's value.
func (s *GetAuthorizersOutput) SetNextToken(v string) *GetAuthorizersOutput
SetNextToken sets the NextToken field's value.
func (s GetAuthorizersOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDeploymentInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // DeploymentId is a required field DeploymentId *string `location:"uri" locationName:"deploymentId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetDeploymentInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDeploymentInput) SetApiId(v string) *GetDeploymentInput
SetApiId sets the ApiId field's value.
func (s *GetDeploymentInput) SetDeploymentId(v string) *GetDeploymentInput
SetDeploymentId sets the DeploymentId field's value.
func (s GetDeploymentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDeploymentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDeploymentOutput struct { AutoDeployed *bool `locationName:"autoDeployed" type:"boolean"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"` // The identifier. DeploymentId *string `locationName:"deploymentId" type:"string"` // Represents a deployment status. DeploymentStatus *string `locationName:"deploymentStatus" type:"string" enum:"DeploymentStatus"` DeploymentStatusMessage *string `locationName:"deploymentStatusMessage" type:"string"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` // contains filtered or unexported fields }
func (s GetDeploymentOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDeploymentOutput) SetAutoDeployed(v bool) *GetDeploymentOutput
SetAutoDeployed sets the AutoDeployed field's value.
func (s *GetDeploymentOutput) SetCreatedDate(v time.Time) *GetDeploymentOutput
SetCreatedDate sets the CreatedDate field's value.
func (s *GetDeploymentOutput) SetDeploymentId(v string) *GetDeploymentOutput
SetDeploymentId sets the DeploymentId field's value.
func (s *GetDeploymentOutput) SetDeploymentStatus(v string) *GetDeploymentOutput
SetDeploymentStatus sets the DeploymentStatus field's value.
func (s *GetDeploymentOutput) SetDeploymentStatusMessage(v string) *GetDeploymentOutput
SetDeploymentStatusMessage sets the DeploymentStatusMessage field's value.
func (s *GetDeploymentOutput) SetDescription(v string) *GetDeploymentOutput
SetDescription sets the Description field's value.
func (s GetDeploymentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDeploymentsInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetDeploymentsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDeploymentsInput) SetApiId(v string) *GetDeploymentsInput
SetApiId sets the ApiId field's value.
func (s *GetDeploymentsInput) SetMaxResults(v string) *GetDeploymentsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetDeploymentsInput) SetNextToken(v string) *GetDeploymentsInput
SetNextToken sets the NextToken field's value.
func (s GetDeploymentsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDeploymentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDeploymentsOutput struct { Items []*Deployment `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetDeploymentsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDeploymentsOutput) SetItems(v []*Deployment) *GetDeploymentsOutput
SetItems sets the Items field's value.
func (s *GetDeploymentsOutput) SetNextToken(v string) *GetDeploymentsOutput
SetNextToken sets the NextToken field's value.
func (s GetDeploymentsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDomainNameInput struct { // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetDomainNameInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDomainNameInput) SetDomainName(v string) *GetDomainNameInput
SetDomainName sets the DomainName field's value.
func (s GetDomainNameInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDomainNameInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDomainNameOutput struct { // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. ApiMappingSelectionExpression *string `locationName:"apiMappingSelectionExpression" type:"string"` // A string with a length between [1-512]. DomainName *string `locationName:"domainName" type:"string"` // The domain name configurations. DomainNameConfigurations []*DomainNameConfiguration `locationName:"domainNameConfigurations" type:"list"` // If specified, API Gateway performs two-way authentication between the client // and the server. Clients must present a trusted certificate to access your // API. MutualTlsAuthentication *MutualTlsAuthentication `locationName:"mutualTlsAuthentication" type:"structure"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s GetDomainNameOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDomainNameOutput) SetApiMappingSelectionExpression(v string) *GetDomainNameOutput
SetApiMappingSelectionExpression sets the ApiMappingSelectionExpression field's value.
func (s *GetDomainNameOutput) SetDomainName(v string) *GetDomainNameOutput
SetDomainName sets the DomainName field's value.
func (s *GetDomainNameOutput) SetDomainNameConfigurations(v []*DomainNameConfiguration) *GetDomainNameOutput
SetDomainNameConfigurations sets the DomainNameConfigurations field's value.
func (s *GetDomainNameOutput) SetMutualTlsAuthentication(v *MutualTlsAuthentication) *GetDomainNameOutput
SetMutualTlsAuthentication sets the MutualTlsAuthentication field's value.
func (s *GetDomainNameOutput) SetTags(v map[string]*string) *GetDomainNameOutput
SetTags sets the Tags field's value.
func (s GetDomainNameOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDomainNamesInput struct {
MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`
NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}
func (s GetDomainNamesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDomainNamesInput) SetMaxResults(v string) *GetDomainNamesInput
SetMaxResults sets the MaxResults field's value.
func (s *GetDomainNamesInput) SetNextToken(v string) *GetDomainNamesInput
SetNextToken sets the NextToken field's value.
func (s GetDomainNamesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDomainNamesOutput struct { Items []*DomainName `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetDomainNamesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDomainNamesOutput) SetItems(v []*DomainName) *GetDomainNamesOutput
SetItems sets the Items field's value.
func (s *GetDomainNamesOutput) SetNextToken(v string) *GetDomainNamesOutput
SetNextToken sets the NextToken field's value.
func (s GetDomainNamesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetIntegrationInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // IntegrationId is a required field IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetIntegrationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntegrationInput) SetApiId(v string) *GetIntegrationInput
SetApiId sets the ApiId field's value.
func (s *GetIntegrationInput) SetIntegrationId(v string) *GetIntegrationInput
SetIntegrationId sets the IntegrationId field's value.
func (s GetIntegrationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntegrationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetIntegrationOutput struct { ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"` // A string with a length between [1-1024]. ConnectionId *string `locationName:"connectionId" type:"string"` // Represents a connection type. ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"` // Specifies how to handle response payload content type conversions. Supported // only for WebSocket APIs. ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"` // Represents an Amazon Resource Name (ARN). CredentialsArn *string `locationName:"credentialsArn" type:"string"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` // The identifier. IntegrationId *string `locationName:"integrationId" type:"string"` // A string with a length between [1-64]. IntegrationMethod *string `locationName:"integrationMethod" type:"string"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. IntegrationResponseSelectionExpression *string `locationName:"integrationResponseSelectionExpression" type:"string"` // A string with a length between [1-128]. IntegrationSubtype *string `locationName:"integrationSubtype" type:"string"` // Represents an API method integration type. IntegrationType *string `locationName:"integrationType" type:"string" enum:"IntegrationType"` // A string representation of a URI with a length between [1-2048]. IntegrationUri *string `locationName:"integrationUri" type:"string"` // Represents passthrough behavior for an integration response. Supported only // for WebSocket APIs. PassthroughBehavior *string `locationName:"passthroughBehavior" type:"string" enum:"PassthroughBehavior"` // A string with a length between [1-64]. PayloadFormatVersion *string `locationName:"payloadFormatVersion" type:"string"` // For WebSocket APIs, a key-value map specifying request parameters that are // passed from the method request to the backend. The key is an integration // request parameter name and the associated value is a method request parameter // value or static value that must be enclosed within single quotes and pre-encoded // as required by the backend. The method request parameter value must match // the pattern of method.request.{location}.{name} , where {location} is querystring, // path, or header; and {name} must be a valid and unique method request parameter // name. // // For HTTP API integrations with a specified integrationSubtype, request parameters // are a key-value map specifying parameters that are passed to AWS_PROXY integrations. // You can provide static values, or map request data, stage variables, or context // variables that are evaluated at runtime. To learn more, see Working with // AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html). // // For HTTP API integrations without a specified integrationSubtype request // parameters are a key-value map specifying how to transform HTTP requests // before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location> // where action can be append, overwrite or remove. For values, you can provide // static values, or map request data, stage variables, or context variables // that are evaluated at runtime. To learn more, see Transforming API requests // and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html). RequestParameters map[string]*string `locationName:"requestParameters" type:"map"` // A mapping of identifier keys to templates. The value is an actual template // script. The key is typically a SelectionKey which is chosen based on evaluating // a selection expression. RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"` // Supported only for HTTP APIs. You use response parameters to transform the // HTTP response from a backend integration before returning the response to // clients. ResponseParameters map[string]map[string]*string `locationName:"responseParameters" type:"map"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"` // An integer with a value between [50-30000]. TimeoutInMillis *int64 `locationName:"timeoutInMillis" min:"50" type:"integer"` // The TLS configuration for a private integration. If you specify a TLS configuration, // private integration traffic uses the HTTPS protocol. Supported only for HTTP // APIs. TlsConfig *TlsConfig `locationName:"tlsConfig" type:"structure"` // contains filtered or unexported fields }
func (s GetIntegrationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntegrationOutput) SetApiGatewayManaged(v bool) *GetIntegrationOutput
SetApiGatewayManaged sets the ApiGatewayManaged field's value.
func (s *GetIntegrationOutput) SetConnectionId(v string) *GetIntegrationOutput
SetConnectionId sets the ConnectionId field's value.
func (s *GetIntegrationOutput) SetConnectionType(v string) *GetIntegrationOutput
SetConnectionType sets the ConnectionType field's value.
func (s *GetIntegrationOutput) SetContentHandlingStrategy(v string) *GetIntegrationOutput
SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.
func (s *GetIntegrationOutput) SetCredentialsArn(v string) *GetIntegrationOutput
SetCredentialsArn sets the CredentialsArn field's value.
func (s *GetIntegrationOutput) SetDescription(v string) *GetIntegrationOutput
SetDescription sets the Description field's value.
func (s *GetIntegrationOutput) SetIntegrationId(v string) *GetIntegrationOutput
SetIntegrationId sets the IntegrationId field's value.
func (s *GetIntegrationOutput) SetIntegrationMethod(v string) *GetIntegrationOutput
SetIntegrationMethod sets the IntegrationMethod field's value.
func (s *GetIntegrationOutput) SetIntegrationResponseSelectionExpression(v string) *GetIntegrationOutput
SetIntegrationResponseSelectionExpression sets the IntegrationResponseSelectionExpression field's value.
func (s *GetIntegrationOutput) SetIntegrationSubtype(v string) *GetIntegrationOutput
SetIntegrationSubtype sets the IntegrationSubtype field's value.
func (s *GetIntegrationOutput) SetIntegrationType(v string) *GetIntegrationOutput
SetIntegrationType sets the IntegrationType field's value.
func (s *GetIntegrationOutput) SetIntegrationUri(v string) *GetIntegrationOutput
SetIntegrationUri sets the IntegrationUri field's value.
func (s *GetIntegrationOutput) SetPassthroughBehavior(v string) *GetIntegrationOutput
SetPassthroughBehavior sets the PassthroughBehavior field's value.
func (s *GetIntegrationOutput) SetPayloadFormatVersion(v string) *GetIntegrationOutput
SetPayloadFormatVersion sets the PayloadFormatVersion field's value.
func (s *GetIntegrationOutput) SetRequestParameters(v map[string]*string) *GetIntegrationOutput
SetRequestParameters sets the RequestParameters field's value.
func (s *GetIntegrationOutput) SetRequestTemplates(v map[string]*string) *GetIntegrationOutput
SetRequestTemplates sets the RequestTemplates field's value.
func (s *GetIntegrationOutput) SetResponseParameters(v map[string]map[string]*string) *GetIntegrationOutput
SetResponseParameters sets the ResponseParameters field's value.
func (s *GetIntegrationOutput) SetTemplateSelectionExpression(v string) *GetIntegrationOutput
SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.
func (s *GetIntegrationOutput) SetTimeoutInMillis(v int64) *GetIntegrationOutput
SetTimeoutInMillis sets the TimeoutInMillis field's value.
func (s *GetIntegrationOutput) SetTlsConfig(v *TlsConfig) *GetIntegrationOutput
SetTlsConfig sets the TlsConfig field's value.
func (s GetIntegrationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetIntegrationResponseInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // IntegrationId is a required field IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"` // IntegrationResponseId is a required field IntegrationResponseId *string `location:"uri" locationName:"integrationResponseId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetIntegrationResponseInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntegrationResponseInput) SetApiId(v string) *GetIntegrationResponseInput
SetApiId sets the ApiId field's value.
func (s *GetIntegrationResponseInput) SetIntegrationId(v string) *GetIntegrationResponseInput
SetIntegrationId sets the IntegrationId field's value.
func (s *GetIntegrationResponseInput) SetIntegrationResponseId(v string) *GetIntegrationResponseInput
SetIntegrationResponseId sets the IntegrationResponseId field's value.
func (s GetIntegrationResponseInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntegrationResponseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetIntegrationResponseOutput struct { // Specifies how to handle response payload content type conversions. Supported // only for WebSocket APIs. ContentHandlingStrategy *string `locationName:"contentHandlingStrategy" type:"string" enum:"ContentHandlingStrategy"` // The identifier. IntegrationResponseId *string `locationName:"integrationResponseId" type:"string"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. IntegrationResponseKey *string `locationName:"integrationResponseKey" type:"string"` // For WebSocket APIs, a key-value map specifying request parameters that are // passed from the method request to the backend. The key is an integration // request parameter name and the associated value is a method request parameter // value or static value that must be enclosed within single quotes and pre-encoded // as required by the backend. The method request parameter value must match // the pattern of method.request.{location}.{name} , where {location} is querystring, // path, or header; and {name} must be a valid and unique method request parameter // name. // // For HTTP API integrations with a specified integrationSubtype, request parameters // are a key-value map specifying parameters that are passed to AWS_PROXY integrations. // You can provide static values, or map request data, stage variables, or context // variables that are evaluated at runtime. To learn more, see Working with // AWS service integrations for HTTP APIs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html). // // For HTTP API integrations without a specified integrationSubtype request // parameters are a key-value map specifying how to transform HTTP requests // before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location> // where action can be append, overwrite or remove. For values, you can provide // static values, or map request data, stage variables, or context variables // that are evaluated at runtime. To learn more, see Transforming API requests // and responses (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html). ResponseParameters map[string]*string `locationName:"responseParameters" type:"map"` // A mapping of identifier keys to templates. The value is an actual template // script. The key is typically a SelectionKey which is chosen based on evaluating // a selection expression. ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. TemplateSelectionExpression *string `locationName:"templateSelectionExpression" type:"string"` // contains filtered or unexported fields }
func (s GetIntegrationResponseOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntegrationResponseOutput) SetContentHandlingStrategy(v string) *GetIntegrationResponseOutput
SetContentHandlingStrategy sets the ContentHandlingStrategy field's value.
func (s *GetIntegrationResponseOutput) SetIntegrationResponseId(v string) *GetIntegrationResponseOutput
SetIntegrationResponseId sets the IntegrationResponseId field's value.
func (s *GetIntegrationResponseOutput) SetIntegrationResponseKey(v string) *GetIntegrationResponseOutput
SetIntegrationResponseKey sets the IntegrationResponseKey field's value.
func (s *GetIntegrationResponseOutput) SetResponseParameters(v map[string]*string) *GetIntegrationResponseOutput
SetResponseParameters sets the ResponseParameters field's value.
func (s *GetIntegrationResponseOutput) SetResponseTemplates(v map[string]*string) *GetIntegrationResponseOutput
SetResponseTemplates sets the ResponseTemplates field's value.
func (s *GetIntegrationResponseOutput) SetTemplateSelectionExpression(v string) *GetIntegrationResponseOutput
SetTemplateSelectionExpression sets the TemplateSelectionExpression field's value.
func (s GetIntegrationResponseOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetIntegrationResponsesInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // IntegrationId is a required field IntegrationId *string `location:"uri" locationName:"integrationId" type:"string" required:"true"` MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetIntegrationResponsesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntegrationResponsesInput) SetApiId(v string) *GetIntegrationResponsesInput
SetApiId sets the ApiId field's value.
func (s *GetIntegrationResponsesInput) SetIntegrationId(v string) *GetIntegrationResponsesInput
SetIntegrationId sets the IntegrationId field's value.
func (s *GetIntegrationResponsesInput) SetMaxResults(v string) *GetIntegrationResponsesInput
SetMaxResults sets the MaxResults field's value.
func (s *GetIntegrationResponsesInput) SetNextToken(v string) *GetIntegrationResponsesInput
SetNextToken sets the NextToken field's value.
func (s GetIntegrationResponsesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntegrationResponsesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetIntegrationResponsesOutput struct { Items []*IntegrationResponse `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetIntegrationResponsesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntegrationResponsesOutput) SetItems(v []*IntegrationResponse) *GetIntegrationResponsesOutput
SetItems sets the Items field's value.
func (s *GetIntegrationResponsesOutput) SetNextToken(v string) *GetIntegrationResponsesOutput
SetNextToken sets the NextToken field's value.
func (s GetIntegrationResponsesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetIntegrationsInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetIntegrationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntegrationsInput) SetApiId(v string) *GetIntegrationsInput
SetApiId sets the ApiId field's value.
func (s *GetIntegrationsInput) SetMaxResults(v string) *GetIntegrationsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetIntegrationsInput) SetNextToken(v string) *GetIntegrationsInput
SetNextToken sets the NextToken field's value.
func (s GetIntegrationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntegrationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetIntegrationsOutput struct { Items []*Integration `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetIntegrationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntegrationsOutput) SetItems(v []*Integration) *GetIntegrationsOutput
SetItems sets the Items field's value.
func (s *GetIntegrationsOutput) SetNextToken(v string) *GetIntegrationsOutput
SetNextToken sets the NextToken field's value.
func (s GetIntegrationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetModelInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // ModelId is a required field ModelId *string `location:"uri" locationName:"modelId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelInput) SetApiId(v string) *GetModelInput
SetApiId sets the ApiId field's value.
func (s *GetModelInput) SetModelId(v string) *GetModelInput
SetModelId sets the ModelId field's value.
func (s GetModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetModelOutput struct { // A string with a length between [1-256]. ContentType *string `locationName:"contentType" type:"string"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` // The identifier. ModelId *string `locationName:"modelId" type:"string"` // A string with a length between [1-128]. Name *string `locationName:"name" type:"string"` // A string with a length between [0-32768]. Schema *string `locationName:"schema" type:"string"` // contains filtered or unexported fields }
func (s GetModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelOutput) SetContentType(v string) *GetModelOutput
SetContentType sets the ContentType field's value.
func (s *GetModelOutput) SetDescription(v string) *GetModelOutput
SetDescription sets the Description field's value.
func (s *GetModelOutput) SetModelId(v string) *GetModelOutput
SetModelId sets the ModelId field's value.
func (s *GetModelOutput) SetName(v string) *GetModelOutput
SetName sets the Name field's value.
func (s *GetModelOutput) SetSchema(v string) *GetModelOutput
SetSchema sets the Schema field's value.
func (s GetModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetModelTemplateInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // ModelId is a required field ModelId *string `location:"uri" locationName:"modelId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetModelTemplateInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelTemplateInput) SetApiId(v string) *GetModelTemplateInput
SetApiId sets the ApiId field's value.
func (s *GetModelTemplateInput) SetModelId(v string) *GetModelTemplateInput
SetModelId sets the ModelId field's value.
func (s GetModelTemplateInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetModelTemplateOutput struct {
Value *string `locationName:"value" type:"string"`
// contains filtered or unexported fields
}
func (s GetModelTemplateOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelTemplateOutput) SetValue(v string) *GetModelTemplateOutput
SetValue sets the Value field's value.
func (s GetModelTemplateOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetModelsInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetModelsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelsInput) SetApiId(v string) *GetModelsInput
SetApiId sets the ApiId field's value.
func (s *GetModelsInput) SetMaxResults(v string) *GetModelsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetModelsInput) SetNextToken(v string) *GetModelsInput
SetNextToken sets the NextToken field's value.
func (s GetModelsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetModelsOutput struct { Items []*Model `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetModelsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetModelsOutput) SetItems(v []*Model) *GetModelsOutput
SetItems sets the Items field's value.
func (s *GetModelsOutput) SetNextToken(v string) *GetModelsOutput
SetNextToken sets the NextToken field's value.
func (s GetModelsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRouteInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // RouteId is a required field RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetRouteInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRouteInput) SetApiId(v string) *GetRouteInput
SetApiId sets the ApiId field's value.
func (s *GetRouteInput) SetRouteId(v string) *GetRouteInput
SetRouteId sets the RouteId field's value.
func (s GetRouteInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRouteOutput struct { ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"` ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"` // A list of authorization scopes configured on a route. The scopes are used // with a JWT authorizer to authorize the method invocation. The authorization // works by matching the route scopes against the scopes parsed from the access // token in the incoming request. The method invocation is authorized if any // route scope matches a claimed scope in the access token. Otherwise, the invocation // is not authorized. When the route scope is configured, the client must provide // an access token instead of an identity token for authorization purposes. AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"` // The authorization type. For WebSocket APIs, valid values are NONE for open // access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda // authorizer. For HTTP APIs, valid values are NONE for open access, JWT for // using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM // for using a Lambda authorizer. AuthorizationType *string `locationName:"authorizationType" type:"string" enum:"AuthorizationType"` // The identifier. AuthorizerId *string `locationName:"authorizerId" type:"string"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"` // A string with a length between [1-64]. OperationName *string `locationName:"operationName" type:"string"` // The route models. RequestModels map[string]*string `locationName:"requestModels" type:"map"` // The route parameters. RequestParameters map[string]*ParameterConstraints `locationName:"requestParameters" type:"map"` // The identifier. RouteId *string `locationName:"routeId" type:"string"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. RouteKey *string `locationName:"routeKey" type:"string"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. RouteResponseSelectionExpression *string `locationName:"routeResponseSelectionExpression" type:"string"` // A string with a length between [1-128]. Target *string `locationName:"target" type:"string"` // contains filtered or unexported fields }
func (s GetRouteOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRouteOutput) SetApiGatewayManaged(v bool) *GetRouteOutput
SetApiGatewayManaged sets the ApiGatewayManaged field's value.
func (s *GetRouteOutput) SetApiKeyRequired(v bool) *GetRouteOutput
SetApiKeyRequired sets the ApiKeyRequired field's value.
func (s *GetRouteOutput) SetAuthorizationScopes(v []*string) *GetRouteOutput
SetAuthorizationScopes sets the AuthorizationScopes field's value.
func (s *GetRouteOutput) SetAuthorizationType(v string) *GetRouteOutput
SetAuthorizationType sets the AuthorizationType field's value.
func (s *GetRouteOutput) SetAuthorizerId(v string) *GetRouteOutput
SetAuthorizerId sets the AuthorizerId field's value.
func (s *GetRouteOutput) SetModelSelectionExpression(v string) *GetRouteOutput
SetModelSelectionExpression sets the ModelSelectionExpression field's value.
func (s *GetRouteOutput) SetOperationName(v string) *GetRouteOutput
SetOperationName sets the OperationName field's value.
func (s *GetRouteOutput) SetRequestModels(v map[string]*string) *GetRouteOutput
SetRequestModels sets the RequestModels field's value.
func (s *GetRouteOutput) SetRequestParameters(v map[string]*ParameterConstraints) *GetRouteOutput
SetRequestParameters sets the RequestParameters field's value.
func (s *GetRouteOutput) SetRouteId(v string) *GetRouteOutput
SetRouteId sets the RouteId field's value.
func (s *GetRouteOutput) SetRouteKey(v string) *GetRouteOutput
SetRouteKey sets the RouteKey field's value.
func (s *GetRouteOutput) SetRouteResponseSelectionExpression(v string) *GetRouteOutput
SetRouteResponseSelectionExpression sets the RouteResponseSelectionExpression field's value.
func (s *GetRouteOutput) SetTarget(v string) *GetRouteOutput
SetTarget sets the Target field's value.
func (s GetRouteOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRouteResponseInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // RouteId is a required field RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"` // RouteResponseId is a required field RouteResponseId *string `location:"uri" locationName:"routeResponseId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetRouteResponseInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRouteResponseInput) SetApiId(v string) *GetRouteResponseInput
SetApiId sets the ApiId field's value.
func (s *GetRouteResponseInput) SetRouteId(v string) *GetRouteResponseInput
SetRouteId sets the RouteId field's value.
func (s *GetRouteResponseInput) SetRouteResponseId(v string) *GetRouteResponseInput
SetRouteResponseId sets the RouteResponseId field's value.
func (s GetRouteResponseInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRouteResponseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRouteResponseOutput struct { // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. ModelSelectionExpression *string `locationName:"modelSelectionExpression" type:"string"` // The route models. ResponseModels map[string]*string `locationName:"responseModels" type:"map"` // The route parameters. ResponseParameters map[string]*ParameterConstraints `locationName:"responseParameters" type:"map"` // The identifier. RouteResponseId *string `locationName:"routeResponseId" type:"string"` // After evaluating a selection expression, the result is compared against one // or more selection keys to find a matching key. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for a list of expressions and each expression's associated selection key // type. RouteResponseKey *string `locationName:"routeResponseKey" type:"string"` // contains filtered or unexported fields }
func (s GetRouteResponseOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRouteResponseOutput) SetModelSelectionExpression(v string) *GetRouteResponseOutput
SetModelSelectionExpression sets the ModelSelectionExpression field's value.
func (s *GetRouteResponseOutput) SetResponseModels(v map[string]*string) *GetRouteResponseOutput
SetResponseModels sets the ResponseModels field's value.
func (s *GetRouteResponseOutput) SetResponseParameters(v map[string]*ParameterConstraints) *GetRouteResponseOutput
SetResponseParameters sets the ResponseParameters field's value.
func (s *GetRouteResponseOutput) SetRouteResponseId(v string) *GetRouteResponseOutput
SetRouteResponseId sets the RouteResponseId field's value.
func (s *GetRouteResponseOutput) SetRouteResponseKey(v string) *GetRouteResponseOutput
SetRouteResponseKey sets the RouteResponseKey field's value.
func (s GetRouteResponseOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRouteResponsesInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // RouteId is a required field RouteId *string `location:"uri" locationName:"routeId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetRouteResponsesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRouteResponsesInput) SetApiId(v string) *GetRouteResponsesInput
SetApiId sets the ApiId field's value.
func (s *GetRouteResponsesInput) SetMaxResults(v string) *GetRouteResponsesInput
SetMaxResults sets the MaxResults field's value.
func (s *GetRouteResponsesInput) SetNextToken(v string) *GetRouteResponsesInput
SetNextToken sets the NextToken field's value.
func (s *GetRouteResponsesInput) SetRouteId(v string) *GetRouteResponsesInput
SetRouteId sets the RouteId field's value.
func (s GetRouteResponsesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRouteResponsesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRouteResponsesOutput struct { Items []*RouteResponse `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetRouteResponsesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRouteResponsesOutput) SetItems(v []*RouteResponse) *GetRouteResponsesOutput
SetItems sets the Items field's value.
func (s *GetRouteResponsesOutput) SetNextToken(v string) *GetRouteResponsesOutput
SetNextToken sets the NextToken field's value.
func (s GetRouteResponsesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRoutesInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetRoutesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRoutesInput) SetApiId(v string) *GetRoutesInput
SetApiId sets the ApiId field's value.
func (s *GetRoutesInput) SetMaxResults(v string) *GetRoutesInput
SetMaxResults sets the MaxResults field's value.
func (s *GetRoutesInput) SetNextToken(v string) *GetRoutesInput
SetNextToken sets the NextToken field's value.
func (s GetRoutesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRoutesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRoutesOutput struct { Items []*Route `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetRoutesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRoutesOutput) SetItems(v []*Route) *GetRoutesOutput
SetItems sets the Items field's value.
func (s *GetRoutesOutput) SetNextToken(v string) *GetRoutesOutput
SetNextToken sets the NextToken field's value.
func (s GetRoutesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetStageInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // StageName is a required field StageName *string `location:"uri" locationName:"stageName" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetStageInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetStageInput) SetApiId(v string) *GetStageInput
SetApiId sets the ApiId field's value.
func (s *GetStageInput) SetStageName(v string) *GetStageInput
SetStageName sets the StageName field's value.
func (s GetStageInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetStageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetStageOutput struct { // Settings for logging access in a stage. AccessLogSettings *AccessLogSettings `locationName:"accessLogSettings" type:"structure"` ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"` AutoDeploy *bool `locationName:"autoDeploy" type:"boolean"` // The identifier. ClientCertificateId *string `locationName:"clientCertificateId" type:"string"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"` // Represents a collection of route settings. DefaultRouteSettings *RouteSettings `locationName:"defaultRouteSettings" type:"structure"` // The identifier. DeploymentId *string `locationName:"deploymentId" type:"string"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` LastDeploymentStatusMessage *string `locationName:"lastDeploymentStatusMessage" type:"string"` LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"iso8601"` // The route settings map. RouteSettings map[string]*RouteSettings `locationName:"routeSettings" type:"map"` // A string with a length between [1-128]. StageName *string `locationName:"stageName" type:"string"` // The stage variable map. StageVariables map[string]*string `locationName:"stageVariables" type:"map"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s GetStageOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetStageOutput) SetAccessLogSettings(v *AccessLogSettings) *GetStageOutput
SetAccessLogSettings sets the AccessLogSettings field's value.
func (s *GetStageOutput) SetApiGatewayManaged(v bool) *GetStageOutput
SetApiGatewayManaged sets the ApiGatewayManaged field's value.
func (s *GetStageOutput) SetAutoDeploy(v bool) *GetStageOutput
SetAutoDeploy sets the AutoDeploy field's value.
func (s *GetStageOutput) SetClientCertificateId(v string) *GetStageOutput
SetClientCertificateId sets the ClientCertificateId field's value.
func (s *GetStageOutput) SetCreatedDate(v time.Time) *GetStageOutput
SetCreatedDate sets the CreatedDate field's value.
func (s *GetStageOutput) SetDefaultRouteSettings(v *RouteSettings) *GetStageOutput
SetDefaultRouteSettings sets the DefaultRouteSettings field's value.
func (s *GetStageOutput) SetDeploymentId(v string) *GetStageOutput
SetDeploymentId sets the DeploymentId field's value.
func (s *GetStageOutput) SetDescription(v string) *GetStageOutput
SetDescription sets the Description field's value.
func (s *GetStageOutput) SetLastDeploymentStatusMessage(v string) *GetStageOutput
SetLastDeploymentStatusMessage sets the LastDeploymentStatusMessage field's value.
func (s *GetStageOutput) SetLastUpdatedDate(v time.Time) *GetStageOutput
SetLastUpdatedDate sets the LastUpdatedDate field's value.
func (s *GetStageOutput) SetRouteSettings(v map[string]*RouteSettings) *GetStageOutput
SetRouteSettings sets the RouteSettings field's value.
func (s *GetStageOutput) SetStageName(v string) *GetStageOutput
SetStageName sets the StageName field's value.
func (s *GetStageOutput) SetStageVariables(v map[string]*string) *GetStageOutput
SetStageVariables sets the StageVariables field's value.
func (s *GetStageOutput) SetTags(v map[string]*string) *GetStageOutput
SetTags sets the Tags field's value.
func (s GetStageOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetStagesInput struct { // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetStagesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetStagesInput) SetApiId(v string) *GetStagesInput
SetApiId sets the ApiId field's value.
func (s *GetStagesInput) SetMaxResults(v string) *GetStagesInput
SetMaxResults sets the MaxResults field's value.
func (s *GetStagesInput) SetNextToken(v string) *GetStagesInput
SetNextToken sets the NextToken field's value.
func (s GetStagesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetStagesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetStagesOutput struct { Items []*Stage `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetStagesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetStagesOutput) SetItems(v []*Stage) *GetStagesOutput
SetItems sets the Items field's value.
func (s *GetStagesOutput) SetNextToken(v string) *GetStagesOutput
SetNextToken sets the NextToken field's value.
func (s GetStagesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetTagsInput struct { // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetTagsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetTagsInput) SetResourceArn(v string) *GetTagsInput
SetResourceArn sets the ResourceArn field's value.
func (s GetTagsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTagsOutput struct { // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s GetTagsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetTagsOutput) SetTags(v map[string]*string) *GetTagsOutput
SetTags sets the Tags field's value.
func (s GetTagsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetVpcLinkInput struct { // VpcLinkId is a required field VpcLinkId *string `location:"uri" locationName:"vpcLinkId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetVpcLinkInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVpcLinkInput) SetVpcLinkId(v string) *GetVpcLinkInput
SetVpcLinkId sets the VpcLinkId field's value.
func (s GetVpcLinkInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVpcLinkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetVpcLinkOutput struct { CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"` // A string with a length between [1-128]. Name *string `locationName:"name" type:"string"` // A list of security group IDs for the VPC link. SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` // A list of subnet IDs to include in the VPC link. SubnetIds []*string `locationName:"subnetIds" type:"list"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // The identifier. VpcLinkId *string `locationName:"vpcLinkId" type:"string"` // The status of the VPC link. VpcLinkStatus *string `locationName:"vpcLinkStatus" type:"string" enum:"VpcLinkStatus"` // A string with a length between [0-1024]. VpcLinkStatusMessage *string `locationName:"vpcLinkStatusMessage" type:"string"` // The version of the VPC link. VpcLinkVersion *string `locationName:"vpcLinkVersion" type:"string" enum:"VpcLinkVersion"` // contains filtered or unexported fields }
func (s GetVpcLinkOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVpcLinkOutput) SetCreatedDate(v time.Time) *GetVpcLinkOutput
SetCreatedDate sets the CreatedDate field's value.
func (s *GetVpcLinkOutput) SetName(v string) *GetVpcLinkOutput
SetName sets the Name field's value.
func (s *GetVpcLinkOutput) SetSecurityGroupIds(v []*string) *GetVpcLinkOutput
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (s *GetVpcLinkOutput) SetSubnetIds(v []*string) *GetVpcLinkOutput
SetSubnetIds sets the SubnetIds field's value.
func (s *GetVpcLinkOutput) SetTags(v map[string]*string) *GetVpcLinkOutput
SetTags sets the Tags field's value.
func (s *GetVpcLinkOutput) SetVpcLinkId(v string) *GetVpcLinkOutput
SetVpcLinkId sets the VpcLinkId field's value.
func (s *GetVpcLinkOutput) SetVpcLinkStatus(v string) *GetVpcLinkOutput
SetVpcLinkStatus sets the VpcLinkStatus field's value.
func (s *GetVpcLinkOutput) SetVpcLinkStatusMessage(v string) *GetVpcLinkOutput
SetVpcLinkStatusMessage sets the VpcLinkStatusMessage field's value.
func (s *GetVpcLinkOutput) SetVpcLinkVersion(v string) *GetVpcLinkOutput
SetVpcLinkVersion sets the VpcLinkVersion field's value.
func (s GetVpcLinkOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetVpcLinksInput struct {
MaxResults *string `location:"querystring" locationName:"maxResults" type:"string"`
NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
// contains filtered or unexported fields
}
func (s GetVpcLinksInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVpcLinksInput) SetMaxResults(v string) *GetVpcLinksInput
SetMaxResults sets the MaxResults field's value.
func (s *GetVpcLinksInput) SetNextToken(v string) *GetVpcLinksInput
SetNextToken sets the NextToken field's value.
func (s GetVpcLinksInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetVpcLinksOutput struct { Items []*VpcLink `locationName:"items" type:"list"` // The next page of elements from this collection. Not valid for the last element // of the collection. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s GetVpcLinksOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVpcLinksOutput) SetItems(v []*VpcLink) *GetVpcLinksOutput
SetItems sets the Items field's value.
func (s *GetVpcLinksOutput) SetNextToken(v string) *GetVpcLinksOutput
SetNextToken sets the NextToken field's value.
func (s GetVpcLinksOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ImportApiInput struct { Basepath *string `location:"querystring" locationName:"basepath" type:"string"` // Body is a required field Body *string `locationName:"body" type:"string" required:"true"` FailOnWarnings *bool `location:"querystring" locationName:"failOnWarnings" type:"boolean"` // contains filtered or unexported fields }
func (s ImportApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ImportApiInput) SetBasepath(v string) *ImportApiInput
SetBasepath sets the Basepath field's value.
func (s *ImportApiInput) SetBody(v string) *ImportApiInput
SetBody sets the Body field's value.
func (s *ImportApiInput) SetFailOnWarnings(v bool) *ImportApiInput
SetFailOnWarnings sets the FailOnWarnings field's value.
func (s ImportApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ImportApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportApiOutput struct { ApiEndpoint *string `locationName:"apiEndpoint" type:"string"` ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"` // The identifier. ApiId *string `locationName:"apiId" type:"string"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. ApiKeySelectionExpression *string `locationName:"apiKeySelectionExpression" type:"string"` // Represents a CORS configuration. Supported only for HTTP APIs. See Configuring // CORS (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) // for more information. CorsConfiguration *Cors `locationName:"corsConfiguration" type:"structure"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"iso8601"` // A string with a length between [0-1024]. Description *string `locationName:"description" type:"string"` DisableExecuteApiEndpoint *bool `locationName:"disableExecuteApiEndpoint" type:"boolean"` DisableSchemaValidation *bool `locationName:"disableSchemaValidation" type:"boolean"` ImportInfo []*string `locationName:"importInfo" type:"list"` // A string with a length between [1-128]. Name *string `locationName:"name" type:"string"` // Represents a protocol type. ProtocolType *string `locationName:"protocolType" type:"string" enum:"ProtocolType"` // An expression used to extract information at runtime. See Selection Expressions // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions) // for more information. RouteSelectionExpression *string `locationName:"routeSelectionExpression" type:"string"` // Represents a collection of tags associated with the resource. Tags map[string]*string `locationName:"tags" type:"map"` // A string with a length between [1-64]. Version *string `locationName:"version" type:"string"` Warnings []*string `locationName:"warnings" type:"list"` // contains filtered or unexported fields }
func (s ImportApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ImportApiOutput) SetApiEndpoint(v string) *ImportApiOutput
SetApiEndpoint sets the ApiEndpoint field's value.
func (s *ImportApiOutput) SetApiGatewayManaged(v bool) *ImportApiOutput
SetApiGatewayManaged sets the ApiGatewayManaged field's value.
func (s *ImportApiOutput) SetApiId(v string) *ImportApiOutput
SetApiId sets the ApiId field's value.
func (s *ImportApiOutput) SetApiKeySelectionExpression(v string) *ImportApiOutput
SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.
func (s *ImportApiOutput) SetCorsConfiguration(v *Cors) *ImportApiOutput
SetCorsConfiguration sets the CorsConfiguration field's value.
func (s *ImportApiOutput) SetCreatedDate(v time.Time) *ImportApiOutput
SetCreatedDate sets the CreatedDate field's value.
func (s *ImportApiOutput) SetDescription(v string) *ImportApiOutput
SetDescription sets the Description field's value.
func (s *ImportApiOutput) SetDisableExecuteApiEndpoint(v bool) *ImportApiOutput
SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.
func (s *ImportApiOutput) SetDisableSchemaValidation(v bool) *ImportApiOutput
SetDisableSchemaValidation sets the DisableSchemaValidation field's value.
func (s *ImportApiOutput) SetImportInfo(v []*string) *ImportApiOutput
SetImportInfo sets the ImportInfo field's value.
func (s *ImportApiOutput) SetName(v string) *ImportApiOutput
SetName sets the Name field's value.
func (s *ImportApiOutput) SetProtocolType(v string) *ImportApiOutput
SetProtocolType sets the ProtocolType field's value.
func (s *ImportApiOutput) SetRouteSelectionExpression(v string) *ImportApiOutput
SetRouteSelectionExpression sets the RouteSelectionExpression field's value.
func (s *ImportApiOutput) SetTags(v map[string]*string) *ImportApiOutput
SetTags sets the Tags field's value.
func (s *ImportApiOutput) SetVersion(v string) *ImportApiOutput
SetVersion sets the Version field's value.
func (s *ImportApiOutput) SetWarnings(v []*string) *ImportApiOutput
SetWarnings sets the Warnings field's value.
func (s ImportApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Integration struct { // Specifies whether an integration is managed by API Gateway. If you created // an API using using quick create, the resulting integration is managed by // API Gateway. You can update a managed integration, but you can't delete it. ApiGatewayManaged *bool `locationName:"apiGatewayManaged" type:"boolean"` // The ID of the VPC link for a private integration. Supported only for HTTP // APIs. ConnectionId *string `locationName:"connectionId" type:"string"` // The type of the network connection to the integration endpoint. Specify INTERNET // for connections through the public routable internet or VPC_LINK for private // connections between API Gateway and resources in a VPC. The default value // is INTERNET. ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"` // Supported only for WebSocket APIs. Specifies how to handle response payload // content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, // with the following behaviors: // // CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string // to the corresponding binary blob. // // CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded // string. // // If t