apigatewayv2

package
Version: v1.44.71 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 70

Documentation

Overview

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

Amazon API Gateway V2

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

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

Using the Client

To contact AmazonApiGatewayV2 with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AmazonApiGatewayV2 client ApiGatewayV2 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/apigatewayv2/#New

Index

Constants

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

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

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

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

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

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

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

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

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

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

Represents a connection type.

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

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

Specifies how to handle response payload content type conversions. Supported only for WebSocket APIs.

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

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

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

Represents a deployment status.

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

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

	// DomainNameStatusPendingCertificateReimport is a DomainNameStatus enum value
	DomainNameStatusPendingCertificateReimport = "PENDING_CERTIFICATE_REIMPORT"

	// DomainNameStatusPendingOwnershipVerification is a DomainNameStatus enum value
	DomainNameStatusPendingOwnershipVerification = "PENDING_OWNERSHIP_VERIFICATION"
)

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.

View Source
const (
	// EndpointTypeRegional is a EndpointType enum value
	EndpointTypeRegional = "REGIONAL"

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

Represents an endpoint type.

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

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

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

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

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

Represents an API method integration type.

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

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

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

The logging level.

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

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

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

Represents passthrough behavior for an integration response. Supported only for WebSocket APIs.

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

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

Represents a protocol type.

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

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

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

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

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

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

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

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

The status of the VPC link.

View Source
const (

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

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

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

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

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

Service information constants

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

The version of the VPC link.

Variables

This section is empty.

Functions

func AuthorizationType_Values added in v1.34.3

func AuthorizationType_Values() []string

AuthorizationType_Values returns all elements of the AuthorizationType enum

func AuthorizerType_Values added in v1.34.3

func AuthorizerType_Values() []string

AuthorizerType_Values returns all elements of the AuthorizerType enum

func ConnectionType_Values added in v1.34.3

func ConnectionType_Values() []string

ConnectionType_Values returns all elements of the ConnectionType enum

func ContentHandlingStrategy_Values added in v1.34.3

func ContentHandlingStrategy_Values() []string

ContentHandlingStrategy_Values returns all elements of the ContentHandlingStrategy enum

func DeploymentStatus_Values added in v1.34.3

func DeploymentStatus_Values() []string

DeploymentStatus_Values returns all elements of the DeploymentStatus enum

func DomainNameStatus_Values added in v1.34.3

func DomainNameStatus_Values() []string

DomainNameStatus_Values returns all elements of the DomainNameStatus enum

func EndpointType_Values added in v1.34.3

func EndpointType_Values() []string

EndpointType_Values returns all elements of the EndpointType enum

func IntegrationType_Values added in v1.34.3

func IntegrationType_Values() []string

IntegrationType_Values returns all elements of the IntegrationType enum

func LoggingLevel_Values added in v1.34.3

func LoggingLevel_Values() []string

LoggingLevel_Values returns all elements of the LoggingLevel enum

func PassthroughBehavior_Values added in v1.34.3

func PassthroughBehavior_Values() []string

PassthroughBehavior_Values returns all elements of the PassthroughBehavior enum

func ProtocolType_Values added in v1.34.3

func ProtocolType_Values() []string

ProtocolType_Values returns all elements of the ProtocolType enum

func SecurityPolicy_Values added in v1.34.3

func SecurityPolicy_Values() []string

SecurityPolicy_Values returns all elements of the SecurityPolicy enum

func VpcLinkStatus_Values added in v1.34.3

func VpcLinkStatus_Values() []string

VpcLinkStatus_Values returns all elements of the VpcLinkStatus enum

func VpcLinkVersion_Values added in v1.34.3

func VpcLinkVersion_Values() []string

VpcLinkVersion_Values returns all elements of the VpcLinkVersion enum

Types

type AccessDeniedException added in v1.28.0

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

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

func (*AccessDeniedException) Code added in v1.28.0

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error added in v1.28.0

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString added in v1.28.0

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 (*AccessDeniedException) Message added in v1.28.0

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr added in v1.28.0

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID added in v1.28.0

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode added in v1.28.0

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String added in v1.28.0

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

type AccessLogSettings struct {

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

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

Settings for logging access in a stage.

func (AccessLogSettings) GoString

func (s AccessLogSettings) GoString() string

GoString returns the string representation.

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 (*AccessLogSettings) SetDestinationArn

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

SetDestinationArn sets the DestinationArn field's value.

func (*AccessLogSettings) SetFormat

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

SetFormat sets the Format field's value.

func (AccessLogSettings) String

func (s AccessLogSettings) String() string

String returns the string representation.

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

type Api struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Represents an API.

func (Api) GoString

func (s Api) GoString() string

GoString returns the string representation.

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 (*Api) SetApiEndpoint

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

SetApiEndpoint sets the ApiEndpoint field's value.

func (*Api) SetApiGatewayManaged added in v1.34.9

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

SetApiGatewayManaged sets the ApiGatewayManaged field's value.

func (*Api) SetApiId

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

SetApiId sets the ApiId field's value.

func (*Api) SetApiKeySelectionExpression

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

SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value.

func (*Api) SetCorsConfiguration added in v1.25.48

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

SetCorsConfiguration sets the CorsConfiguration field's value.

func (*Api) SetCreatedDate

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

SetCreatedDate sets the CreatedDate field's value.

func (*Api) SetDescription

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

SetDescription sets the Description field's value.

func (*Api) SetDisableExecuteApiEndpoint added in v1.34.26

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

SetDisableExecuteApiEndpoint sets the DisableExecuteApiEndpoint field's value.

func (*Api) SetDisableSchemaValidation

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

SetDisableSchemaValidation sets the DisableSchemaValidation field's value.

func (*Api) SetImportInfo added in v1.25.48

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

SetImportInfo sets the ImportInfo field's value.

func (*Api) SetName

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

SetName sets the Name field's value.

func (*Api) SetProtocolType

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

SetProtocolType sets the ProtocolType field's value.

func (*Api) SetRouteSelectionExpression

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

SetRouteSelectionExpression sets the RouteSelectionExpression field's value.

func (*Api) SetTags added in v1.20.9

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

SetTags sets the Tags field's value.

func (*Api) SetVersion

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

SetVersion sets the Version field's value.

func (*Api) SetWarnings

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

SetWarnings sets the Warnings field's value.

func (Api) String

func (s Api) String() string

String returns the string representation.

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

type ApiGatewayV2 struct {
	*client.Client
}

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

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

func New

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

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

Example:

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

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

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

func (*ApiGatewayV2) CreateApi

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

CreateApi API operation for AmazonApiGatewayV2.

Creates an Api resource.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateApiMapping

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

CreateApiMapping API operation for AmazonApiGatewayV2.

Creates an API mapping.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateApiMappingRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateApiMappingWithContext

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

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

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

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

func (*ApiGatewayV2) CreateApiRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateApiWithContext

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

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

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

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

func (*ApiGatewayV2) CreateAuthorizer

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

CreateAuthorizer API operation for AmazonApiGatewayV2.

Creates an Authorizer for an API.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateAuthorizerRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateAuthorizerWithContext

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

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

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

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

func (*ApiGatewayV2) CreateDeployment

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

CreateDeployment API operation for AmazonApiGatewayV2.

Creates a Deployment for an API.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateDeploymentRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateDeploymentWithContext

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

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

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

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

func (*ApiGatewayV2) CreateDomainName

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

CreateDomainName API operation for AmazonApiGatewayV2.

Creates a domain name.

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

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

Returned Error Types:

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

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

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

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

  • AccessDeniedException

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

func (*ApiGatewayV2) CreateDomainNameRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateDomainNameWithContext

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

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

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

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

func (*ApiGatewayV2) CreateIntegration

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

CreateIntegration API operation for AmazonApiGatewayV2.

Creates an Integration.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateIntegrationRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateIntegrationResponse

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

CreateIntegrationResponse API operation for AmazonApiGatewayV2.

Creates an IntegrationResponses.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateIntegrationResponseRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateIntegrationResponseWithContext

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

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

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

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

func (*ApiGatewayV2) CreateIntegrationWithContext

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

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

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

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

func (*ApiGatewayV2) CreateModel

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

CreateModel API operation for AmazonApiGatewayV2.

Creates a Model for an API.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateModelRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateModelWithContext

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

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

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

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

func (*ApiGatewayV2) CreateRoute

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

CreateRoute API operation for AmazonApiGatewayV2.

Creates a Route for an API.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateRouteRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateRouteResponse

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

CreateRouteResponse API operation for AmazonApiGatewayV2.

Creates a RouteResponse for a Route.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateRouteResponseRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateRouteResponseWithContext

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

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

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

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

func (*ApiGatewayV2) CreateRouteWithContext

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

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

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

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

func (*ApiGatewayV2) CreateStage

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

CreateStage API operation for AmazonApiGatewayV2.

Creates a Stage for an API.

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

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

Returned Error Types:

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

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

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

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

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

func (*ApiGatewayV2) CreateStageRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateStageWithContext

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

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

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

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

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

CreateVpcLink API operation for AmazonApiGatewayV2.

Creates a VPC link.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) CreateVpcLinkRequest added in v1.29.23

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) CreateVpcLinkWithContext added in v1.29.23

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

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

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

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

func (*ApiGatewayV2) DeleteAccessLogSettings added in v1.29.23

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

DeleteAccessLogSettings API operation for AmazonApiGatewayV2.

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

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteAccessLogSettingsRequest added in v1.29.23

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteAccessLogSettingsWithContext added in v1.29.23

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

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

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

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

func (*ApiGatewayV2) DeleteApi

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

DeleteApi API operation for AmazonApiGatewayV2.

Deletes an Api resource.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteApiMapping

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

DeleteApiMapping API operation for AmazonApiGatewayV2.

Deletes an API mapping.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) DeleteApiMappingRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteApiMappingWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteApiRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteApiWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteAuthorizer

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

DeleteAuthorizer API operation for AmazonApiGatewayV2.

Deletes an Authorizer.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteAuthorizerRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteAuthorizerWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteCorsConfiguration added in v1.25.48

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

DeleteCorsConfiguration API operation for AmazonApiGatewayV2.

Deletes a CORS configuration.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteCorsConfigurationRequest added in v1.25.48

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteCorsConfigurationWithContext added in v1.25.48

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

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

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

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

func (*ApiGatewayV2) DeleteDeployment

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

DeleteDeployment API operation for AmazonApiGatewayV2.

Deletes a Deployment.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteDeploymentRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteDeploymentWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteDomainName

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

DeleteDomainName API operation for AmazonApiGatewayV2.

Deletes a domain name.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteDomainNameRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteDomainNameWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteIntegration

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

DeleteIntegration API operation for AmazonApiGatewayV2.

Deletes an Integration.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteIntegrationRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteIntegrationResponse

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

DeleteIntegrationResponse API operation for AmazonApiGatewayV2.

Deletes an IntegrationResponses.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteIntegrationResponseRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteIntegrationResponseWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteIntegrationWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteModel

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

DeleteModel API operation for AmazonApiGatewayV2.

Deletes a Model.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteModelRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteModelWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteRoute

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

DeleteRoute API operation for AmazonApiGatewayV2.

Deletes a Route.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteRouteRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteRouteRequestParameter added in v1.29.23

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

DeleteRouteRequestParameter API operation for AmazonApiGatewayV2.

Deletes a route request parameter.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteRouteRequestParameterRequest added in v1.29.23

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteRouteRequestParameterWithContext added in v1.29.23

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

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

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

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

func (*ApiGatewayV2) DeleteRouteResponse

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

DeleteRouteResponse API operation for AmazonApiGatewayV2.

Deletes a RouteResponse.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteRouteResponseRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteRouteResponseWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteRouteSettings added in v1.25.48

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

DeleteRouteSettings API operation for AmazonApiGatewayV2.

Deletes the RouteSettings for a stage.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteRouteSettingsRequest added in v1.25.48

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteRouteSettingsWithContext added in v1.25.48

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

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

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

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

func (*ApiGatewayV2) DeleteRouteWithContext

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

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

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

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

func (*ApiGatewayV2) DeleteStage

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

DeleteStage API operation for AmazonApiGatewayV2.

Deletes a Stage.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteStageRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteStageWithContext

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

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

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

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

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

DeleteVpcLink API operation for AmazonApiGatewayV2.

Deletes a VPC link.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) DeleteVpcLinkRequest added in v1.29.23

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) DeleteVpcLinkWithContext added in v1.29.23

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

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

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

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

func (*ApiGatewayV2) ExportApi added in v1.30.10

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

ExportApi API operation for AmazonApiGatewayV2.

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

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) ExportApiRequest added in v1.30.10

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) ExportApiWithContext added in v1.30.10

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

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

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

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

func (*ApiGatewayV2) GetApi

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

GetApi API operation for AmazonApiGatewayV2.

Gets an Api resource.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) GetApiMapping

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

GetApiMapping API operation for AmazonApiGatewayV2.

Gets an API mapping.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) GetApiMappingRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetApiMappingWithContext

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

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

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

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

func (*ApiGatewayV2) GetApiMappings

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

GetApiMappings API operation for AmazonApiGatewayV2.

Gets API mappings.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) GetApiMappingsRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetApiMappingsWithContext

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

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

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

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

func (*ApiGatewayV2) GetApiRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetApiWithContext

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

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

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

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

func (*ApiGatewayV2) GetApis

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

GetApis API operation for AmazonApiGatewayV2.

Gets a collection of Api resources.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) GetApisRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetApisWithContext

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

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

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

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

func (*ApiGatewayV2) GetAuthorizer

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

GetAuthorizer API operation for AmazonApiGatewayV2.

Gets an Authorizer.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) GetAuthorizerRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetAuthorizerWithContext

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

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

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

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

func (*ApiGatewayV2) GetAuthorizers

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

GetAuthorizers API operation for AmazonApiGatewayV2.

Gets the Authorizers for an API.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) GetAuthorizersRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetAuthorizersWithContext

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

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

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

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

func (*ApiGatewayV2) GetDeployment

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

GetDeployment API operation for AmazonApiGatewayV2.

Gets a Deployment.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) GetDeploymentRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetDeploymentWithContext

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

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

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

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

func (*ApiGatewayV2) GetDeployments

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

GetDeployments API operation for AmazonApiGatewayV2.

Gets the Deployments for an API.

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

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

Returned Error Types:

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

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

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

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

func (*ApiGatewayV2) GetDeploymentsRequest

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

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

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

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

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

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

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

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

func (*ApiGatewayV2) GetDeploymentsWithContext

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

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

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

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

func (*ApiGatewayV2) GetDomainName

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

GetDomainName API operation for AmazonApiGatewayV2.

Gets a domain name.

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

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

Returned Error Types:

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

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

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

func (*ApiGatewayV2) GetDomainNameRequest

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

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

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDomainName for more information on using the GetDomainName API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDomainNameRequest method.
req, resp := client.GetDomainNameRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName

func (*ApiGatewayV2) GetDomainNameWithContext

func (c *ApiGatewayV2) GetDomainNameWithContext(ctx aws.Context, input *GetDomainNameInput, opts ...request.Option) (*GetDomainNameOutput, error)

GetDomainNameWithContext is the same as GetDomainName with the addition of the ability to pass a context and additional request options.

See GetDomainName for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApiGatewayV2) GetDomainNames

func (c *ApiGatewayV2) GetDomainNames(input *GetDomainNamesInput) (*GetDomainNamesOutput, error)

GetDomainNames API operation for AmazonApiGatewayV2.

Gets the domain names for an AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonApiGatewayV2's API operation GetDomainNames for usage and error information.

Returned Error Types:

  • NotFoundException The resource specified in the request was not found. See the message field for more information.

  • TooManyRequestsException A limit has been exceeded. See the accompanying error message for details.

  • BadRequestException The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames

func (*ApiGatewayV2) GetDomainNamesRequest

func (c *ApiGatewayV2) GetDomainNamesRequest(input *GetDomainNamesInput) (req *request.Request, output *GetDomainNamesOutput)

GetDomainNamesRequest generates a "aws/request.Request" representing the client's request for the GetDomainNames operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send"