appmesh

package
v1.99.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package appmesh provides the client and types for making API requests to AWS App Mesh.

AWS App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor and control microservices. App Mesh standardizes how your microservices communicate, giving you end-to-end visibility and helping to ensure high availability for your applications.

App Mesh gives you consistent visibility and network traffic controls for every microservice in an application. You can use App Mesh with AWS Fargate, Amazon ECS, Amazon EKS, Kubernetes on AWS, and Amazon EC2.

App Mesh supports microservice applications that use service discovery naming for their components. For more information about service discovery on Amazon ECS, see Service Discovery (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html) in the Amazon Elastic Container Service Developer Guide. Kubernetes kube-dns and coredns are supported. For more information, see DNS for Services and Pods (https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/) in the Kubernetes documentation.

See https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25 for more information on this service.

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

Using the Client

To contact AWS App Mesh 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 AWS App Mesh client AppMesh for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/appmesh/#New

Index

Constants

View Source
const (
	// EgressFilterTypeAllowAll is a EgressFilterType enum value
	EgressFilterTypeAllowAll = "ALLOW_ALL"

	// EgressFilterTypeDropAll is a EgressFilterType enum value
	EgressFilterTypeDropAll = "DROP_ALL"
)
View Source
const (
	// MeshStatusCodeActive is a MeshStatusCode enum value
	MeshStatusCodeActive = "ACTIVE"

	// MeshStatusCodeDeleted is a MeshStatusCode enum value
	MeshStatusCodeDeleted = "DELETED"

	// MeshStatusCodeInactive is a MeshStatusCode enum value
	MeshStatusCodeInactive = "INACTIVE"
)
View Source
const (
	// PortProtocolHttp is a PortProtocol enum value
	PortProtocolHttp = "http"

	// PortProtocolTcp is a PortProtocol enum value
	PortProtocolTcp = "tcp"
)
View Source
const (
	// RouteStatusCodeActive is a RouteStatusCode enum value
	RouteStatusCodeActive = "ACTIVE"

	// RouteStatusCodeDeleted is a RouteStatusCode enum value
	RouteStatusCodeDeleted = "DELETED"

	// RouteStatusCodeInactive is a RouteStatusCode enum value
	RouteStatusCodeInactive = "INACTIVE"
)
View Source
const (
	// VirtualNodeStatusCodeActive is a VirtualNodeStatusCode enum value
	VirtualNodeStatusCodeActive = "ACTIVE"

	// VirtualNodeStatusCodeDeleted is a VirtualNodeStatusCode enum value
	VirtualNodeStatusCodeDeleted = "DELETED"

	// VirtualNodeStatusCodeInactive is a VirtualNodeStatusCode enum value
	VirtualNodeStatusCodeInactive = "INACTIVE"
)
View Source
const (
	// VirtualRouterStatusCodeActive is a VirtualRouterStatusCode enum value
	VirtualRouterStatusCodeActive = "ACTIVE"

	// VirtualRouterStatusCodeDeleted is a VirtualRouterStatusCode enum value
	VirtualRouterStatusCodeDeleted = "DELETED"

	// VirtualRouterStatusCodeInactive is a VirtualRouterStatusCode enum value
	VirtualRouterStatusCodeInactive = "INACTIVE"
)
View Source
const (
	// VirtualServiceStatusCodeActive is a VirtualServiceStatusCode enum value
	VirtualServiceStatusCodeActive = "ACTIVE"

	// VirtualServiceStatusCodeDeleted is a VirtualServiceStatusCode enum value
	VirtualServiceStatusCodeDeleted = "DELETED"

	// VirtualServiceStatusCodeInactive is a VirtualServiceStatusCode enum value
	VirtualServiceStatusCodeInactive = "INACTIVE"
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// The request syntax was malformed. Check your request syntax and try again.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The request contains a client token that was used for a previous update resource
	// call with different specifications. Try the request again with a new client
	// token.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeForbiddenException for service response error code
	// "ForbiddenException".
	//
	// You don't have permissions to perform this action.
	ErrCodeForbiddenException = "ForbiddenException"

	// ErrCodeInternalServerErrorException for service response error code
	// "InternalServerErrorException".
	//
	// The request processing has failed because of an unknown error, exception,
	// or failure.
	ErrCodeInternalServerErrorException = "InternalServerErrorException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// You have exceeded a service limit for your account. For more information,
	// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html)
	// in the AWS App Mesh User Guide.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// The specified resource doesn't exist. Check your request syntax and try again.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeResourceInUseException for service response error code
	// "ResourceInUseException".
	//
	// You can't delete the specified resource because it's in use or required by
	// another resource.
	ErrCodeResourceInUseException = "ResourceInUseException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	//
	// The request has failed due to a temporary failure of the service.
	ErrCodeServiceUnavailableException = "ServiceUnavailableException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	//
	// The maximum request rate permitted by the App Mesh APIs has been exceeded
	// for your account. For best results, use an increasing or variable sleep interval
	// between requests.
	ErrCodeTooManyRequestsException = "TooManyRequestsException"

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTagsException".
	//
	// The request exceeds the maximum allowed number of tags allowed per resource.
	// The current limit is 50 user tags per resource. You must reduce the number
	// of tags in the request. None of the tags in this request were applied.
	ErrCodeTooManyTagsException = "TooManyTagsException"
)
View Source
const (
	ServiceName = "App Mesh" // Name of service.
	EndpointsID = "appmesh"  // ID to lookup a service endpoint with.
	ServiceID   = "App Mesh" // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLog

type AccessLog struct {

	// The file object to send virtual node access logs to.
	File *FileAccessLog `locationName:"file" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the access logging information for a virtual node.

func (AccessLog) GoString

func (s AccessLog) GoString() string

GoString returns the string representation

func (*AccessLog) SetFile

func (s *AccessLog) SetFile(v *FileAccessLog) *AccessLog

SetFile sets the File field's value.

func (AccessLog) String

func (s AccessLog) String() string

String returns the string representation

func (*AccessLog) Validate

func (s *AccessLog) Validate() error

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

type AppMesh

type AppMesh struct {
	*client.Client
}

AppMesh provides the API operation methods for making requests to AWS App Mesh. See this package's package overview docs for details on the service.

AppMesh 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) *AppMesh

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

Example:

// Create a AppMesh client from just a session.
svc := appmesh.New(mySession)

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

func (*AppMesh) CreateMesh

func (c *AppMesh) CreateMesh(input *CreateMeshInput) (*CreateMeshOutput, error)

CreateMesh API operation for AWS App Mesh.

Creates a service mesh. A service mesh is a logical boundary for network traffic between the services that reside within it.

After you create your service mesh, you can create virtual services, virtual nodes, virtual routers, and routes to distribute traffic between the applications in your mesh.

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 AWS App Mesh's API operation CreateMesh for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeConflictException "ConflictException" The request contains a client token that was used for a previous update resource call with different specifications. Try the request again with a new client token.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeLimitExceededException "LimitExceededException" You have exceeded a service limit for your account. For more information, see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) in the AWS App Mesh User Guide.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh

func (*AppMesh) CreateMeshRequest

func (c *AppMesh) CreateMeshRequest(input *CreateMeshInput) (req *request.Request, output *CreateMeshOutput)

CreateMeshRequest generates a "aws/request.Request" representing the client's request for the CreateMesh 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 CreateMesh for more information on using the CreateMesh 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 CreateMeshRequest method.
req, resp := client.CreateMeshRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh

func (*AppMesh) CreateMeshWithContext

func (c *AppMesh) CreateMeshWithContext(ctx aws.Context, input *CreateMeshInput, opts ...request.Option) (*CreateMeshOutput, error)

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

See CreateMesh 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 (*AppMesh) CreateRoute

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

CreateRoute API operation for AWS App Mesh.

Creates a route that is associated with a virtual router.

You can use the prefix parameter in your route specification for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

If your route matches a request, you can distribute traffic to one or more target virtual nodes with relative weighting.

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 AWS App Mesh's API operation CreateRoute for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeConflictException "ConflictException" The request contains a client token that was used for a previous update resource call with different specifications. Try the request again with a new client token.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeLimitExceededException "LimitExceededException" You have exceeded a service limit for your account. For more information, see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) in the AWS App Mesh User Guide.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute

func (*AppMesh) CreateRouteRequest

func (c *AppMesh) 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/appmesh-2019-01-25/CreateRoute

func (*AppMesh) CreateRouteWithContext

func (c *AppMesh) 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 (*AppMesh) CreateVirtualNode

func (c *AppMesh) CreateVirtualNode(input *CreateVirtualNodeInput) (*CreateVirtualNodeOutput, error)

CreateVirtualNode API operation for AWS App Mesh.

Creates a virtual node within a service mesh.

A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS service or a Kubernetes deployment. When you create a virtual node, you can specify the service discovery information for your task group.

Any inbound traffic that your virtual node expects should be specified as a listener. Any outbound traffic that your virtual node expects to reach should be specified as a backend.

The response metadata for your new virtual node contains the arn that is associated with the virtual node. Set this value (either the full ARN or the truncated resource name: for example, mesh/default/virtualNode/simpleapp) as the APPMESH_VIRTUAL_NODE_NAME environment variable for your task group's Envoy proxy container in your task definition or pod spec. This is then mapped to the node.id and node.cluster Envoy parameters.

If you require your Envoy stats or tracing to use a different name, you can override the node.cluster value that is set by APPMESH_VIRTUAL_NODE_NAME with the APPMESH_VIRTUAL_NODE_CLUSTER environment variable.

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 AWS App Mesh's API operation CreateVirtualNode for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeConflictException "ConflictException" The request contains a client token that was used for a previous update resource call with different specifications. Try the request again with a new client token.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeLimitExceededException "LimitExceededException" You have exceeded a service limit for your account. For more information, see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) in the AWS App Mesh User Guide.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode

func (*AppMesh) CreateVirtualNodeRequest

func (c *AppMesh) CreateVirtualNodeRequest(input *CreateVirtualNodeInput) (req *request.Request, output *CreateVirtualNodeOutput)

CreateVirtualNodeRequest generates a "aws/request.Request" representing the client's request for the CreateVirtualNode 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 CreateVirtualNode for more information on using the CreateVirtualNode 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 CreateVirtualNodeRequest method.
req, resp := client.CreateVirtualNodeRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode

func (*AppMesh) CreateVirtualNodeWithContext

func (c *AppMesh) CreateVirtualNodeWithContext(ctx aws.Context, input *CreateVirtualNodeInput, opts ...request.Option) (*CreateVirtualNodeOutput, error)

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

See CreateVirtualNode 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 (*AppMesh) CreateVirtualRouter

func (c *AppMesh) CreateVirtualRouter(input *CreateVirtualRouterInput) (*CreateVirtualRouterOutput, error)

CreateVirtualRouter API operation for AWS App Mesh.

Creates a virtual router within a service mesh.

Any inbound traffic that your virtual router expects should be specified as a listener.

Virtual routers handle traffic for one or more virtual services within your mesh. After you create your virtual router, create and associate routes for your virtual router that direct incoming requests to different virtual nodes.

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 AWS App Mesh's API operation CreateVirtualRouter for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeConflictException "ConflictException" The request contains a client token that was used for a previous update resource call with different specifications. Try the request again with a new client token.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeLimitExceededException "LimitExceededException" You have exceeded a service limit for your account. For more information, see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) in the AWS App Mesh User Guide.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter

func (*AppMesh) CreateVirtualRouterRequest

func (c *AppMesh) CreateVirtualRouterRequest(input *CreateVirtualRouterInput) (req *request.Request, output *CreateVirtualRouterOutput)

CreateVirtualRouterRequest generates a "aws/request.Request" representing the client's request for the CreateVirtualRouter 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 CreateVirtualRouter for more information on using the CreateVirtualRouter 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 CreateVirtualRouterRequest method.
req, resp := client.CreateVirtualRouterRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter

func (*AppMesh) CreateVirtualRouterWithContext

func (c *AppMesh) CreateVirtualRouterWithContext(ctx aws.Context, input *CreateVirtualRouterInput, opts ...request.Option) (*CreateVirtualRouterOutput, error)

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

See CreateVirtualRouter 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 (*AppMesh) CreateVirtualService

func (c *AppMesh) CreateVirtualService(input *CreateVirtualServiceInput) (*CreateVirtualServiceOutput, error)

CreateVirtualService API operation for AWS App Mesh.

Creates a virtual service within a service mesh.

A virtual service is an abstraction of a real service that is provided by a virtual node directly or indirectly by means of a virtual router. Dependent services call your virtual service by its virtualServiceName, and those requests are routed to the virtual node or virtual router that is specified as the provider for the virtual service.

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 AWS App Mesh's API operation CreateVirtualService for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeConflictException "ConflictException" The request contains a client token that was used for a previous update resource call with different specifications. Try the request again with a new client token.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeLimitExceededException "LimitExceededException" You have exceeded a service limit for your account. For more information, see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) in the AWS App Mesh User Guide.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService

func (*AppMesh) CreateVirtualServiceRequest

func (c *AppMesh) CreateVirtualServiceRequest(input *CreateVirtualServiceInput) (req *request.Request, output *CreateVirtualServiceOutput)

CreateVirtualServiceRequest generates a "aws/request.Request" representing the client's request for the CreateVirtualService 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 CreateVirtualService for more information on using the CreateVirtualService 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 CreateVirtualServiceRequest method.
req, resp := client.CreateVirtualServiceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService

func (*AppMesh) CreateVirtualServiceWithContext

func (c *AppMesh) CreateVirtualServiceWithContext(ctx aws.Context, input *CreateVirtualServiceInput, opts ...request.Option) (*CreateVirtualServiceOutput, error)

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

See CreateVirtualService 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 (*AppMesh) DeleteMesh

func (c *AppMesh) DeleteMesh(input *DeleteMeshInput) (*DeleteMeshOutput, error)

DeleteMesh API operation for AWS App Mesh.

Deletes an existing service mesh.

You must delete all resources (virtual services, routes, virtual routers, and virtual nodes) in the service mesh before you can delete the mesh itself.

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 AWS App Mesh's API operation DeleteMesh for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeResourceInUseException "ResourceInUseException" You can't delete the specified resource because it's in use or required by another resource.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh

func (*AppMesh) DeleteMeshRequest

func (c *AppMesh) DeleteMeshRequest(input *DeleteMeshInput) (req *request.Request, output *DeleteMeshOutput)

DeleteMeshRequest generates a "aws/request.Request" representing the client's request for the DeleteMesh 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 DeleteMesh for more information on using the DeleteMesh 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 DeleteMeshRequest method.
req, resp := client.DeleteMeshRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh

func (*AppMesh) DeleteMeshWithContext

func (c *AppMesh) DeleteMeshWithContext(ctx aws.Context, input *DeleteMeshInput, opts ...request.Option) (*DeleteMeshOutput, error)

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

See DeleteMesh 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 (*AppMesh) DeleteRoute

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

DeleteRoute API operation for AWS App Mesh.

Deletes an existing 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 AWS App Mesh's API operation DeleteRoute for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeResourceInUseException "ResourceInUseException" You can't delete the specified resource because it's in use or required by another resource.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute

func (*AppMesh) DeleteRouteRequest

func (c *AppMesh) 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/appmesh-2019-01-25/DeleteRoute

func (*AppMesh) DeleteRouteWithContext

func (c *AppMesh) 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 (*AppMesh) DeleteVirtualNode

func (c *AppMesh) DeleteVirtualNode(input *DeleteVirtualNodeInput) (*DeleteVirtualNodeOutput, error)

DeleteVirtualNode API operation for AWS App Mesh.

Deletes an existing virtual node.

You must delete any virtual services that list a virtual node as a service provider before you can delete the virtual node itself.

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 AWS App Mesh's API operation DeleteVirtualNode for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeResourceInUseException "ResourceInUseException" You can't delete the specified resource because it's in use or required by another resource.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode

func (*AppMesh) DeleteVirtualNodeRequest

func (c *AppMesh) DeleteVirtualNodeRequest(input *DeleteVirtualNodeInput) (req *request.Request, output *DeleteVirtualNodeOutput)

DeleteVirtualNodeRequest generates a "aws/request.Request" representing the client's request for the DeleteVirtualNode 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 DeleteVirtualNode for more information on using the DeleteVirtualNode 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 DeleteVirtualNodeRequest method.
req, resp := client.DeleteVirtualNodeRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode

func (*AppMesh) DeleteVirtualNodeWithContext

func (c *AppMesh) DeleteVirtualNodeWithContext(ctx aws.Context, input *DeleteVirtualNodeInput, opts ...request.Option) (*DeleteVirtualNodeOutput, error)

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

See DeleteVirtualNode 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 (*AppMesh) DeleteVirtualRouter

func (c *AppMesh) DeleteVirtualRouter(input *DeleteVirtualRouterInput) (*DeleteVirtualRouterOutput, error)

DeleteVirtualRouter API operation for AWS App Mesh.

Deletes an existing virtual router.

You must delete any routes associated with the virtual router before you can delete the router itself.

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 AWS App Mesh's API operation DeleteVirtualRouter for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeResourceInUseException "ResourceInUseException" You can't delete the specified resource because it's in use or required by another resource.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter

func (*AppMesh) DeleteVirtualRouterRequest

func (c *AppMesh) DeleteVirtualRouterRequest(input *DeleteVirtualRouterInput) (req *request.Request, output *DeleteVirtualRouterOutput)

DeleteVirtualRouterRequest generates a "aws/request.Request" representing the client's request for the DeleteVirtualRouter 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 DeleteVirtualRouter for more information on using the DeleteVirtualRouter 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 DeleteVirtualRouterRequest method.
req, resp := client.DeleteVirtualRouterRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter

func (*AppMesh) DeleteVirtualRouterWithContext

func (c *AppMesh) DeleteVirtualRouterWithContext(ctx aws.Context, input *DeleteVirtualRouterInput, opts ...request.Option) (*DeleteVirtualRouterOutput, error)

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

See DeleteVirtualRouter 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 (*AppMesh) DeleteVirtualService

func (c *AppMesh) DeleteVirtualService(input *DeleteVirtualServiceInput) (*DeleteVirtualServiceOutput, error)

DeleteVirtualService API operation for AWS App Mesh.

Deletes an existing virtual service.

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 AWS App Mesh's API operation DeleteVirtualService for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService

func (*AppMesh) DeleteVirtualServiceRequest

func (c *AppMesh) DeleteVirtualServiceRequest(input *DeleteVirtualServiceInput) (req *request.Request, output *DeleteVirtualServiceOutput)

DeleteVirtualServiceRequest generates a "aws/request.Request" representing the client's request for the DeleteVirtualService 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 DeleteVirtualService for more information on using the DeleteVirtualService 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 DeleteVirtualServiceRequest method.
req, resp := client.DeleteVirtualServiceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService

func (*AppMesh) DeleteVirtualServiceWithContext

func (c *AppMesh) DeleteVirtualServiceWithContext(ctx aws.Context, input *DeleteVirtualServiceInput, opts ...request.Option) (*DeleteVirtualServiceOutput, error)

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

See DeleteVirtualService 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 (*AppMesh) DescribeMesh

func (c *AppMesh) DescribeMesh(input *DescribeMeshInput) (*DescribeMeshOutput, error)

DescribeMesh API operation for AWS App Mesh.

Describes an existing service mesh.

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 AWS App Mesh's API operation DescribeMesh for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh

func (*AppMesh) DescribeMeshRequest

func (c *AppMesh) DescribeMeshRequest(input *DescribeMeshInput) (req *request.Request, output *DescribeMeshOutput)

DescribeMeshRequest generates a "aws/request.Request" representing the client's request for the DescribeMesh 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 DescribeMesh for more information on using the DescribeMesh 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 DescribeMeshRequest method.
req, resp := client.DescribeMeshRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh

func (*AppMesh) DescribeMeshWithContext

func (c *AppMesh) DescribeMeshWithContext(ctx aws.Context, input *DescribeMeshInput, opts ...request.Option) (*DescribeMeshOutput, error)

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

See DescribeMesh 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 (*AppMesh) DescribeRoute

func (c *AppMesh) DescribeRoute(input *DescribeRouteInput) (*DescribeRouteOutput, error)

DescribeRoute API operation for AWS App Mesh.

Describes an existing 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 AWS App Mesh's API operation DescribeRoute for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute

func (*AppMesh) DescribeRouteRequest

func (c *AppMesh) DescribeRouteRequest(input *DescribeRouteInput) (req *request.Request, output *DescribeRouteOutput)

DescribeRouteRequest generates a "aws/request.Request" representing the client's request for the DescribeRoute 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 DescribeRoute for more information on using the DescribeRoute 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 DescribeRouteRequest method.
req, resp := client.DescribeRouteRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute

func (*AppMesh) DescribeRouteWithContext

func (c *AppMesh) DescribeRouteWithContext(ctx aws.Context, input *DescribeRouteInput, opts ...request.Option) (*DescribeRouteOutput, error)

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

See DescribeRoute 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 (*AppMesh) DescribeVirtualNode

func (c *AppMesh) DescribeVirtualNode(input *DescribeVirtualNodeInput) (*DescribeVirtualNodeOutput, error)

DescribeVirtualNode API operation for AWS App Mesh.

Describes an existing virtual node.

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 AWS App Mesh's API operation DescribeVirtualNode for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode

func (*AppMesh) DescribeVirtualNodeRequest

func (c *AppMesh) DescribeVirtualNodeRequest(input *DescribeVirtualNodeInput) (req *request.Request, output *DescribeVirtualNodeOutput)

DescribeVirtualNodeRequest generates a "aws/request.Request" representing the client's request for the DescribeVirtualNode 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 DescribeVirtualNode for more information on using the DescribeVirtualNode 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 DescribeVirtualNodeRequest method.
req, resp := client.DescribeVirtualNodeRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode

func (*AppMesh) DescribeVirtualNodeWithContext

func (c *AppMesh) DescribeVirtualNodeWithContext(ctx aws.Context, input *DescribeVirtualNodeInput, opts ...request.Option) (*DescribeVirtualNodeOutput, error)

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

See DescribeVirtualNode 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 (*AppMesh) DescribeVirtualRouter

func (c *AppMesh) DescribeVirtualRouter(input *DescribeVirtualRouterInput) (*DescribeVirtualRouterOutput, error)

DescribeVirtualRouter API operation for AWS App Mesh.

Describes an existing virtual router.

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 AWS App Mesh's API operation DescribeVirtualRouter for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter

func (*AppMesh) DescribeVirtualRouterRequest

func (c *AppMesh) DescribeVirtualRouterRequest(input *DescribeVirtualRouterInput) (req *request.Request, output *DescribeVirtualRouterOutput)

DescribeVirtualRouterRequest generates a "aws/request.Request" representing the client's request for the DescribeVirtualRouter 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 DescribeVirtualRouter for more information on using the DescribeVirtualRouter 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 DescribeVirtualRouterRequest method.
req, resp := client.DescribeVirtualRouterRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter

func (*AppMesh) DescribeVirtualRouterWithContext

func (c *AppMesh) DescribeVirtualRouterWithContext(ctx aws.Context, input *DescribeVirtualRouterInput, opts ...request.Option) (*DescribeVirtualRouterOutput, error)

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

See DescribeVirtualRouter 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 (*AppMesh) DescribeVirtualService

func (c *AppMesh) DescribeVirtualService(input *DescribeVirtualServiceInput) (*DescribeVirtualServiceOutput, error)

DescribeVirtualService API operation for AWS App Mesh.

Describes an existing virtual service.

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 AWS App Mesh's API operation DescribeVirtualService for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService

func (*AppMesh) DescribeVirtualServiceRequest

func (c *AppMesh) DescribeVirtualServiceRequest(input *DescribeVirtualServiceInput) (req *request.Request, output *DescribeVirtualServiceOutput)

DescribeVirtualServiceRequest generates a "aws/request.Request" representing the client's request for the DescribeVirtualService 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 DescribeVirtualService for more information on using the DescribeVirtualService 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 DescribeVirtualServiceRequest method.
req, resp := client.DescribeVirtualServiceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService

func (*AppMesh) DescribeVirtualServiceWithContext

func (c *AppMesh) DescribeVirtualServiceWithContext(ctx aws.Context, input *DescribeVirtualServiceInput, opts ...request.Option) (*DescribeVirtualServiceOutput, error)

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

See DescribeVirtualService 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 (*AppMesh) ListMeshes

func (c *AppMesh) ListMeshes(input *ListMeshesInput) (*ListMeshesOutput, error)

ListMeshes API operation for AWS App Mesh.

Returns a list of existing service meshes.

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 AWS App Mesh's API operation ListMeshes for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes

func (*AppMesh) ListMeshesPages

func (c *AppMesh) ListMeshesPages(input *ListMeshesInput, fn func(*ListMeshesOutput, bool) bool) error

ListMeshesPages iterates over the pages of a ListMeshes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMeshes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListMeshes operation.
pageNum := 0
err := client.ListMeshesPages(params,
    func(page *appmesh.ListMeshesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*AppMesh) ListMeshesPagesWithContext

func (c *AppMesh) ListMeshesPagesWithContext(ctx aws.Context, input *ListMeshesInput, fn func(*ListMeshesOutput, bool) bool, opts ...request.Option) error

ListMeshesPagesWithContext same as ListMeshesPages except it takes a Context and allows setting request options on the pages.

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 (*AppMesh) ListMeshesRequest

func (c *AppMesh) ListMeshesRequest(input *ListMeshesInput) (req *request.Request, output *ListMeshesOutput)

ListMeshesRequest generates a "aws/request.Request" representing the client's request for the ListMeshes 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 ListMeshes for more information on using the ListMeshes 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 ListMeshesRequest method.
req, resp := client.ListMeshesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes

func (*AppMesh) ListMeshesWithContext

func (c *AppMesh) ListMeshesWithContext(ctx aws.Context, input *ListMeshesInput, opts ...request.Option) (*ListMeshesOutput, error)

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

See ListMeshes 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 (*AppMesh) ListRoutes

func (c *AppMesh) ListRoutes(input *ListRoutesInput) (*ListRoutesOutput, error)

ListRoutes API operation for AWS App Mesh.

Returns a list of existing routes in a service mesh.

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 AWS App Mesh's API operation ListRoutes for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes

func (*AppMesh) ListRoutesPages

func (c *AppMesh) ListRoutesPages(input *ListRoutesInput, fn func(*ListRoutesOutput, bool) bool) error

ListRoutesPages iterates over the pages of a ListRoutes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRoutes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRoutes operation.
pageNum := 0
err := client.ListRoutesPages(params,
    func(page *appmesh.ListRoutesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*AppMesh) ListRoutesPagesWithContext

func (c *AppMesh) ListRoutesPagesWithContext(ctx aws.Context, input *ListRoutesInput, fn func(*ListRoutesOutput, bool) bool, opts ...request.Option) error

ListRoutesPagesWithContext same as ListRoutesPages except it takes a Context and allows setting request options on the pages.

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 (*AppMesh) ListRoutesRequest

func (c *AppMesh) ListRoutesRequest(input *ListRoutesInput) (req *request.Request, output *ListRoutesOutput)

ListRoutesRequest generates a "aws/request.Request" representing the client's request for the ListRoutes 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 ListRoutes for more information on using the ListRoutes 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 ListRoutesRequest method.
req, resp := client.ListRoutesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes

func (*AppMesh) ListRoutesWithContext

func (c *AppMesh) ListRoutesWithContext(ctx aws.Context, input *ListRoutesInput, opts ...request.Option) (*ListRoutesOutput, error)

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

See ListRoutes 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 (*AppMesh) ListTagsForResource

func (c *AppMesh) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS App Mesh.

List the tags for an App Mesh 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 AWS App Mesh's API operation ListTagsForResource for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource

func (*AppMesh) ListTagsForResourcePages

func (c *AppMesh) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error

ListTagsForResourcePages iterates over the pages of a ListTagsForResource operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTagsForResource method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTagsForResource operation.
pageNum := 0
err := client.ListTagsForResourcePages(params,
    func(page *appmesh.ListTagsForResourceOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*AppMesh) ListTagsForResourcePagesWithContext

func (c *AppMesh) ListTagsForResourcePagesWithContext(ctx aws.Context, input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool, opts ...request.Option) error

ListTagsForResourcePagesWithContext same as ListTagsForResourcePages except it takes a Context and allows setting request options on the pages.

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 (*AppMesh) ListTagsForResourceRequest

func (c *AppMesh) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource 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 ListTagsForResource for more information on using the ListTagsForResource 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 ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource

func (*AppMesh) ListTagsForResourceWithContext

func (c *AppMesh) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

See ListTagsForResource 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 (*AppMesh) ListVirtualNodes

func (c *AppMesh) ListVirtualNodes(input *ListVirtualNodesInput) (*ListVirtualNodesOutput, error)

ListVirtualNodes API operation for AWS App Mesh.

Returns a list of existing virtual nodes.

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 AWS App Mesh's API operation ListVirtualNodes for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes

func (*AppMesh) ListVirtualNodesPages

func (c *AppMesh) ListVirtualNodesPages(input *ListVirtualNodesInput, fn func(*ListVirtualNodesOutput, bool) bool) error

ListVirtualNodesPages iterates over the pages of a ListVirtualNodes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListVirtualNodes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListVirtualNodes operation.
pageNum := 0
err := client.ListVirtualNodesPages(params,
    func(page *appmesh.ListVirtualNodesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*AppMesh) ListVirtualNodesPagesWithContext

func (c *AppMesh) ListVirtualNodesPagesWithContext(ctx aws.Context, input *ListVirtualNodesInput, fn func(*ListVirtualNodesOutput, bool) bool, opts ...request.Option) error

ListVirtualNodesPagesWithContext same as ListVirtualNodesPages except it takes a Context and allows setting request options on the pages.

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 (*AppMesh) ListVirtualNodesRequest

func (c *AppMesh) ListVirtualNodesRequest(input *ListVirtualNodesInput) (req *request.Request, output *ListVirtualNodesOutput)

ListVirtualNodesRequest generates a "aws/request.Request" representing the client's request for the ListVirtualNodes 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 ListVirtualNodes for more information on using the ListVirtualNodes 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 ListVirtualNodesRequest method.
req, resp := client.ListVirtualNodesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes

func (*AppMesh) ListVirtualNodesWithContext

func (c *AppMesh) ListVirtualNodesWithContext(ctx aws.Context, input *ListVirtualNodesInput, opts ...request.Option) (*ListVirtualNodesOutput, error)

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

See ListVirtualNodes 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 (*AppMesh) ListVirtualRouters

func (c *AppMesh) ListVirtualRouters(input *ListVirtualRoutersInput) (*ListVirtualRoutersOutput, error)

ListVirtualRouters API operation for AWS App Mesh.

Returns a list of existing virtual routers in a service mesh.

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 AWS App Mesh's API operation ListVirtualRouters for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters

func (*AppMesh) ListVirtualRoutersPages

func (c *AppMesh) ListVirtualRoutersPages(input *ListVirtualRoutersInput, fn func(*ListVirtualRoutersOutput, bool) bool) error

ListVirtualRoutersPages iterates over the pages of a ListVirtualRouters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListVirtualRouters method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListVirtualRouters operation.
pageNum := 0
err := client.ListVirtualRoutersPages(params,
    func(page *appmesh.ListVirtualRoutersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*AppMesh) ListVirtualRoutersPagesWithContext

func (c *AppMesh) ListVirtualRoutersPagesWithContext(ctx aws.Context, input *ListVirtualRoutersInput, fn func(*ListVirtualRoutersOutput, bool) bool, opts ...request.Option) error

ListVirtualRoutersPagesWithContext same as ListVirtualRoutersPages except it takes a Context and allows setting request options on the pages.

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 (*AppMesh) ListVirtualRoutersRequest

func (c *AppMesh) ListVirtualRoutersRequest(input *ListVirtualRoutersInput) (req *request.Request, output *ListVirtualRoutersOutput)

ListVirtualRoutersRequest generates a "aws/request.Request" representing the client's request for the ListVirtualRouters 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 ListVirtualRouters for more information on using the ListVirtualRouters 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 ListVirtualRoutersRequest method.
req, resp := client.ListVirtualRoutersRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters

func (*AppMesh) ListVirtualRoutersWithContext

func (c *AppMesh) ListVirtualRoutersWithContext(ctx aws.Context, input *ListVirtualRoutersInput, opts ...request.Option) (*ListVirtualRoutersOutput, error)

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

See ListVirtualRouters 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 (*AppMesh) ListVirtualServices

func (c *AppMesh) ListVirtualServices(input *ListVirtualServicesInput) (*ListVirtualServicesOutput, error)

ListVirtualServices API operation for AWS App Mesh.

Returns a list of existing virtual services in a service mesh.

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 AWS App Mesh's API operation ListVirtualServices for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices

func (*AppMesh) ListVirtualServicesPages

func (c *AppMesh) ListVirtualServicesPages(input *ListVirtualServicesInput, fn func(*ListVirtualServicesOutput, bool) bool) error

ListVirtualServicesPages iterates over the pages of a ListVirtualServices operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListVirtualServices method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListVirtualServices operation.
pageNum := 0
err := client.ListVirtualServicesPages(params,
    func(page *appmesh.ListVirtualServicesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*AppMesh) ListVirtualServicesPagesWithContext

func (c *AppMesh) ListVirtualServicesPagesWithContext(ctx aws.Context, input *ListVirtualServicesInput, fn func(*ListVirtualServicesOutput, bool) bool, opts ...request.Option) error

ListVirtualServicesPagesWithContext same as ListVirtualServicesPages except it takes a Context and allows setting request options on the pages.

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 (*AppMesh) ListVirtualServicesRequest

func (c *AppMesh) ListVirtualServicesRequest(input *ListVirtualServicesInput) (req *request.Request, output *ListVirtualServicesOutput)

ListVirtualServicesRequest generates a "aws/request.Request" representing the client's request for the ListVirtualServices 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 ListVirtualServices for more information on using the ListVirtualServices 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 ListVirtualServicesRequest method.
req, resp := client.ListVirtualServicesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices

func (*AppMesh) ListVirtualServicesWithContext

func (c *AppMesh) ListVirtualServicesWithContext(ctx aws.Context, input *ListVirtualServicesInput, opts ...request.Option) (*ListVirtualServicesOutput, error)

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

See ListVirtualServices 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 (*AppMesh) TagResource

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

TagResource API operation for AWS App Mesh.

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted.

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 AWS App Mesh's API operation TagResource for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyTagsException "TooManyTagsException" The request exceeds the maximum allowed number of tags allowed per resource. The current limit is 50 user tags per resource. You must reduce the number of tags in the request. None of the tags in this request were applied.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource

func (*AppMesh) TagResourceRequest

func (c *AppMesh) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource

func (*AppMesh) TagResourceWithContext

func (c *AppMesh) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

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

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

func (*AppMesh) UntagResource

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

UntagResource API operation for AWS App Mesh.

Deletes specified tags from a resource.

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

See the AWS API reference guide for AWS App Mesh's API operation UntagResource for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource

func (*AppMesh) UntagResourceRequest

func (c *AppMesh) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource

func (*AppMesh) UntagResourceWithContext

func (c *AppMesh) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

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

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

func (*AppMesh) UpdateMesh

func (c *AppMesh) UpdateMesh(input *UpdateMeshInput) (*UpdateMeshOutput, error)

UpdateMesh API operation for AWS App Mesh.

Updates an existing service mesh.

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 AWS App Mesh's API operation UpdateMesh for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeConflictException "ConflictException" The request contains a client token that was used for a previous update resource call with different specifications. Try the request again with a new client token.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh

func (*AppMesh) UpdateMeshRequest

func (c *AppMesh) UpdateMeshRequest(input *UpdateMeshInput) (req *request.Request, output *UpdateMeshOutput)

UpdateMeshRequest generates a "aws/request.Request" representing the client's request for the UpdateMesh 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 UpdateMesh for more information on using the UpdateMesh 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 UpdateMeshRequest method.
req, resp := client.UpdateMeshRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh

func (*AppMesh) UpdateMeshWithContext

func (c *AppMesh) UpdateMeshWithContext(ctx aws.Context, input *UpdateMeshInput, opts ...request.Option) (*UpdateMeshOutput, error)

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

See UpdateMesh 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 (*AppMesh) UpdateRoute

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

UpdateRoute API operation for AWS App Mesh.

Updates an existing route for a specified service mesh and virtual router.

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 AWS App Mesh's API operation UpdateRoute for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeConflictException "ConflictException" The request contains a client token that was used for a previous update resource call with different specifications. Try the request again with a new client token.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeLimitExceededException "LimitExceededException" You have exceeded a service limit for your account. For more information, see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) in the AWS App Mesh User Guide.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute

func (*AppMesh) UpdateRouteRequest

func (c *AppMesh) UpdateRouteRequest(input *UpdateRouteInput) (req *request.Request, output *UpdateRouteOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute

func (*AppMesh) UpdateRouteWithContext

func (c *AppMesh) UpdateRouteWithContext(ctx aws.Context, input *UpdateRouteInput, opts ...request.Option) (*UpdateRouteOutput, error)

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

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

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

func (*AppMesh) UpdateVirtualNode

func (c *AppMesh) UpdateVirtualNode(input *UpdateVirtualNodeInput) (*UpdateVirtualNodeOutput, error)

UpdateVirtualNode API operation for AWS App Mesh.

Updates an existing virtual node in a specified service mesh.

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 AWS App Mesh's API operation UpdateVirtualNode for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeConflictException "ConflictException" The request contains a client token that was used for a previous update resource call with different specifications. Try the request again with a new client token.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeLimitExceededException "LimitExceededException" You have exceeded a service limit for your account. For more information, see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) in the AWS App Mesh User Guide.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode

func (*AppMesh) UpdateVirtualNodeRequest

func (c *AppMesh) UpdateVirtualNodeRequest(input *UpdateVirtualNodeInput) (req *request.Request, output *UpdateVirtualNodeOutput)

UpdateVirtualNodeRequest generates a "aws/request.Request" representing the client's request for the UpdateVirtualNode 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 UpdateVirtualNode for more information on using the UpdateVirtualNode 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 UpdateVirtualNodeRequest method.
req, resp := client.UpdateVirtualNodeRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode

func (*AppMesh) UpdateVirtualNodeWithContext

func (c *AppMesh) UpdateVirtualNodeWithContext(ctx aws.Context, input *UpdateVirtualNodeInput, opts ...request.Option) (*UpdateVirtualNodeOutput, error)

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

See UpdateVirtualNode 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 (*AppMesh) UpdateVirtualRouter

func (c *AppMesh) UpdateVirtualRouter(input *UpdateVirtualRouterInput) (*UpdateVirtualRouterOutput, error)

UpdateVirtualRouter API operation for AWS App Mesh.

Updates an existing virtual router in a specified service mesh.

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 AWS App Mesh's API operation UpdateVirtualRouter for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeConflictException "ConflictException" The request contains a client token that was used for a previous update resource call with different specifications. Try the request again with a new client token.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeLimitExceededException "LimitExceededException" You have exceeded a service limit for your account. For more information, see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) in the AWS App Mesh User Guide.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter

func (*AppMesh) UpdateVirtualRouterRequest

func (c *AppMesh) UpdateVirtualRouterRequest(input *UpdateVirtualRouterInput) (req *request.Request, output *UpdateVirtualRouterOutput)

UpdateVirtualRouterRequest generates a "aws/request.Request" representing the client's request for the UpdateVirtualRouter 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 UpdateVirtualRouter for more information on using the UpdateVirtualRouter 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 UpdateVirtualRouterRequest method.
req, resp := client.UpdateVirtualRouterRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter

func (*AppMesh) UpdateVirtualRouterWithContext

func (c *AppMesh) UpdateVirtualRouterWithContext(ctx aws.Context, input *UpdateVirtualRouterInput, opts ...request.Option) (*UpdateVirtualRouterOutput, error)

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

See UpdateVirtualRouter 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 (*AppMesh) UpdateVirtualService

func (c *AppMesh) UpdateVirtualService(input *UpdateVirtualServiceInput) (*UpdateVirtualServiceOutput, error)

UpdateVirtualService API operation for AWS App Mesh.

Updates an existing virtual service in a specified service mesh.

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 AWS App Mesh's API operation UpdateVirtualService for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.

  • ErrCodeConflictException "ConflictException" The request contains a client token that was used for a previous update resource call with different specifications. Try the request again with a new client token.

  • ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.

  • ErrCodeLimitExceededException "LimitExceededException" You have exceeded a service limit for your account. For more information, see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) in the AWS App Mesh User Guide.

  • ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService

func (*AppMesh) UpdateVirtualServiceRequest

func (c *AppMesh) UpdateVirtualServiceRequest(input *UpdateVirtualServiceInput) (req *request.Request, output *UpdateVirtualServiceOutput)

UpdateVirtualServiceRequest generates a "aws/request.Request" representing the client's request for the UpdateVirtualService 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 UpdateVirtualService for more information on using the UpdateVirtualService 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 UpdateVirtualServiceRequest method.
req, resp := client.UpdateVirtualServiceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService

func (*AppMesh) UpdateVirtualServiceWithContext

func (c *AppMesh) UpdateVirtualServiceWithContext(ctx aws.Context, input *UpdateVirtualServiceInput, opts ...request.Option) (*UpdateVirtualServiceOutput, error)

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

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

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

type AwsCloudMapInstanceAttribute

type AwsCloudMapInstanceAttribute struct {

	// The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud
	// Map service instance that contains the specified key and value is returned.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

	// The value of an AWS Cloud Map service instance attribute key. Any AWS Cloud
	// Map service instance that contains the specified key and value is returned.
	//
	// Value is a required field
	Value *string `locationName:"value" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing the AWS Cloud Map attribute information for your virtual node.

func (AwsCloudMapInstanceAttribute) GoString

func (s AwsCloudMapInstanceAttribute) GoString() string

GoString returns the string representation

func (*AwsCloudMapInstanceAttribute) SetKey

SetKey sets the Key field's value.

func (*AwsCloudMapInstanceAttribute) SetValue

SetValue sets the Value field's value.

func (AwsCloudMapInstanceAttribute) String

String returns the string representation

func (*AwsCloudMapInstanceAttribute) Validate

func (s *AwsCloudMapInstanceAttribute) Validate() error

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

type AwsCloudMapServiceDiscovery

type AwsCloudMapServiceDiscovery struct {

	// A string map that contains attributes with values that you can use to filter
	// instances by any custom attribute that you specified when you registered
	// the instance. Only instances that match all of the specified key/value pairs
	// will be returned.
	Attributes []*AwsCloudMapInstanceAttribute `locationName:"attributes" type:"list"`

	// The name of the AWS Cloud Map namespace to use.
	//
	// NamespaceName is a required field
	NamespaceName *string `locationName:"namespaceName" min:"1" type:"string" required:"true"`

	// The name of the AWS Cloud Map service to use.
	//
	// ServiceName is a required field
	ServiceName *string `locationName:"serviceName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing the AWS Cloud Map service discovery information for your virtual node.

func (AwsCloudMapServiceDiscovery) GoString

func (s AwsCloudMapServiceDiscovery) GoString() string

GoString returns the string representation

func (*AwsCloudMapServiceDiscovery) SetAttributes

SetAttributes sets the Attributes field's value.

func (*AwsCloudMapServiceDiscovery) SetNamespaceName

SetNamespaceName sets the NamespaceName field's value.

func (*AwsCloudMapServiceDiscovery) SetServiceName

SetServiceName sets the ServiceName field's value.

func (AwsCloudMapServiceDiscovery) String

String returns the string representation

func (*AwsCloudMapServiceDiscovery) Validate

func (s *AwsCloudMapServiceDiscovery) Validate() error

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

type Backend

type Backend struct {

	// Specifies a virtual service to use as a backend for a virtual node.
	VirtualService *VirtualServiceBackend `locationName:"virtualService" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the backends that a virtual node is expected to send outbound traffic to.

func (Backend) GoString

func (s Backend) GoString() string

GoString returns the string representation

func (*Backend) SetVirtualService

func (s *Backend) SetVirtualService(v *VirtualServiceBackend) *Backend

SetVirtualService sets the VirtualService field's value.

func (Backend) String

func (s Backend) String() string

String returns the string representation

func (*Backend) Validate

func (s *Backend) Validate() error

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

type CreateMeshInput

type CreateMeshInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// The name to use for the service mesh.
	//
	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

	// The service mesh specification to apply.
	Spec *MeshSpec `locationName:"spec" type:"structure"`

	// Optional metadata that you can apply to the service mesh to assist with categorization
	// and organization. Each tag consists of a key and an optional value, both
	// of which you define. Tag keys can have a maximum character length of 128
	// characters, and tag values can have a maximum length of 256 characters.
	Tags []*TagRef `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateMeshInput) GoString

func (s CreateMeshInput) GoString() string

GoString returns the string representation

func (*CreateMeshInput) SetClientToken

func (s *CreateMeshInput) SetClientToken(v string) *CreateMeshInput

SetClientToken sets the ClientToken field's value.

func (*CreateMeshInput) SetMeshName

func (s *CreateMeshInput) SetMeshName(v string) *CreateMeshInput

SetMeshName sets the MeshName field's value.

func (*CreateMeshInput) SetSpec

func (s *CreateMeshInput) SetSpec(v *MeshSpec) *CreateMeshInput

SetSpec sets the Spec field's value.

func (*CreateMeshInput) SetTags

func (s *CreateMeshInput) SetTags(v []*TagRef) *CreateMeshInput

SetTags sets the Tags field's value.

func (CreateMeshInput) String

func (s CreateMeshInput) String() string

String returns the string representation

func (*CreateMeshInput) Validate

func (s *CreateMeshInput) Validate() error

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

type CreateMeshOutput

type CreateMeshOutput struct {

	// The full description of your service mesh following the create call.
	//
	// Mesh is a required field
	Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateMeshOutput) GoString

func (s CreateMeshOutput) GoString() string

GoString returns the string representation

func (*CreateMeshOutput) SetMesh

func (s *CreateMeshOutput) SetMesh(v *MeshData) *CreateMeshOutput

SetMesh sets the Mesh field's value.

func (CreateMeshOutput) String

func (s CreateMeshOutput) String() string

String returns the string representation

type CreateRouteInput

type CreateRouteInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// The name of the service mesh to create the route in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name to use for the route.
	//
	// RouteName is a required field
	RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"`

	// The route specification to apply.
	//
	// Spec is a required field
	Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"`

	// Optional metadata that you can apply to the route to assist with categorization
	// and organization. Each tag consists of a key and an optional value, both
	// of which you define. Tag keys can have a maximum character length of 128
	// characters, and tag values can have a maximum length of 256 characters.
	Tags []*TagRef `locationName:"tags" type:"list"`

	// The name of the virtual router in which to create the route.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateRouteInput) GoString

func (s CreateRouteInput) GoString() string

GoString returns the string representation

func (*CreateRouteInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*CreateRouteInput) SetMeshName

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

SetMeshName sets the MeshName field's value.

func (*CreateRouteInput) SetRouteName

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

SetRouteName sets the RouteName field's value.

func (*CreateRouteInput) SetSpec

SetSpec sets the Spec field's value.

func (*CreateRouteInput) SetTags

func (s *CreateRouteInput) SetTags(v []*TagRef) *CreateRouteInput

SetTags sets the Tags field's value.

func (*CreateRouteInput) SetVirtualRouterName

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

SetVirtualRouterName sets the VirtualRouterName field's value.

func (CreateRouteInput) String

func (s CreateRouteInput) String() string

String returns the string representation

func (*CreateRouteInput) Validate

func (s *CreateRouteInput) Validate() error

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

type CreateRouteOutput

type CreateRouteOutput struct {

	// The full description of your mesh following the create call.
	//
	// Route is a required field
	Route *RouteData `locationName:"route" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateRouteOutput) GoString

func (s CreateRouteOutput) GoString() string

GoString returns the string representation

func (*CreateRouteOutput) SetRoute

SetRoute sets the Route field's value.

func (CreateRouteOutput) String

func (s CreateRouteOutput) String() string

String returns the string representation

type CreateVirtualNodeInput

type CreateVirtualNodeInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// The name of the service mesh to create the virtual node in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The virtual node specification to apply.
	//
	// Spec is a required field
	Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"`

	// Optional metadata that you can apply to the virtual node to assist with categorization
	// and organization. Each tag consists of a key and an optional value, both
	// of which you define. Tag keys can have a maximum character length of 128
	// characters, and tag values can have a maximum length of 256 characters.
	Tags []*TagRef `locationName:"tags" type:"list"`

	// The name to use for the virtual node.
	//
	// VirtualNodeName is a required field
	VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVirtualNodeInput) GoString

func (s CreateVirtualNodeInput) GoString() string

GoString returns the string representation

func (*CreateVirtualNodeInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateVirtualNodeInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*CreateVirtualNodeInput) SetSpec

SetSpec sets the Spec field's value.

func (*CreateVirtualNodeInput) SetTags

SetTags sets the Tags field's value.

func (*CreateVirtualNodeInput) SetVirtualNodeName

func (s *CreateVirtualNodeInput) SetVirtualNodeName(v string) *CreateVirtualNodeInput

SetVirtualNodeName sets the VirtualNodeName field's value.

func (CreateVirtualNodeInput) String

func (s CreateVirtualNodeInput) String() string

String returns the string representation

func (*CreateVirtualNodeInput) Validate

func (s *CreateVirtualNodeInput) Validate() error

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

type CreateVirtualNodeOutput

type CreateVirtualNodeOutput struct {

	// The full description of your virtual node following the create call.
	//
	// VirtualNode is a required field
	VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVirtualNodeOutput) GoString

func (s CreateVirtualNodeOutput) GoString() string

GoString returns the string representation

func (*CreateVirtualNodeOutput) SetVirtualNode

SetVirtualNode sets the VirtualNode field's value.

func (CreateVirtualNodeOutput) String

func (s CreateVirtualNodeOutput) String() string

String returns the string representation

type CreateVirtualRouterInput

type CreateVirtualRouterInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// The name of the service mesh to create the virtual router in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The virtual router specification to apply.
	//
	// Spec is a required field
	Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"`

	// Optional metadata that you can apply to the virtual router to assist with
	// categorization and organization. Each tag consists of a key and an optional
	// value, both of which you define. Tag keys can have a maximum character length
	// of 128 characters, and tag values can have a maximum length of 256 characters.
	Tags []*TagRef `locationName:"tags" type:"list"`

	// The name to use for the virtual router.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVirtualRouterInput) GoString

func (s CreateVirtualRouterInput) GoString() string

GoString returns the string representation

func (*CreateVirtualRouterInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateVirtualRouterInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*CreateVirtualRouterInput) SetSpec

SetSpec sets the Spec field's value.

func (*CreateVirtualRouterInput) SetTags

SetTags sets the Tags field's value.

func (*CreateVirtualRouterInput) SetVirtualRouterName

func (s *CreateVirtualRouterInput) SetVirtualRouterName(v string) *CreateVirtualRouterInput

SetVirtualRouterName sets the VirtualRouterName field's value.

func (CreateVirtualRouterInput) String

func (s CreateVirtualRouterInput) String() string

String returns the string representation

func (*CreateVirtualRouterInput) Validate

func (s *CreateVirtualRouterInput) Validate() error

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

type CreateVirtualRouterOutput

type CreateVirtualRouterOutput struct {

	// The full description of your virtual router following the create call.
	//
	// VirtualRouter is a required field
	VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVirtualRouterOutput) GoString

func (s CreateVirtualRouterOutput) GoString() string

GoString returns the string representation

func (*CreateVirtualRouterOutput) SetVirtualRouter

SetVirtualRouter sets the VirtualRouter field's value.

func (CreateVirtualRouterOutput) String

func (s CreateVirtualRouterOutput) String() string

String returns the string representation

type CreateVirtualServiceInput

type CreateVirtualServiceInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// The name of the service mesh to create the virtual service in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The virtual service specification to apply.
	//
	// Spec is a required field
	Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"`

	// Optional metadata that you can apply to the virtual service to assist with
	// categorization and organization. Each tag consists of a key and an optional
	// value, both of which you define. Tag keys can have a maximum character length
	// of 128 characters, and tag values can have a maximum length of 256 characters.
	Tags []*TagRef `locationName:"tags" type:"list"`

	// The name to use for the virtual service.
	//
	// VirtualServiceName is a required field
	VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVirtualServiceInput) GoString

func (s CreateVirtualServiceInput) GoString() string

GoString returns the string representation

func (*CreateVirtualServiceInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateVirtualServiceInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*CreateVirtualServiceInput) SetSpec

SetSpec sets the Spec field's value.

func (*CreateVirtualServiceInput) SetTags

SetTags sets the Tags field's value.

func (*CreateVirtualServiceInput) SetVirtualServiceName

func (s *CreateVirtualServiceInput) SetVirtualServiceName(v string) *CreateVirtualServiceInput

SetVirtualServiceName sets the VirtualServiceName field's value.

func (CreateVirtualServiceInput) String

func (s CreateVirtualServiceInput) String() string

String returns the string representation

func (*CreateVirtualServiceInput) Validate

func (s *CreateVirtualServiceInput) Validate() error

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

type CreateVirtualServiceOutput

type CreateVirtualServiceOutput struct {

	// The full description of your virtual service following the create call.
	//
	// VirtualService is a required field
	VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVirtualServiceOutput) GoString

func (s CreateVirtualServiceOutput) GoString() string

GoString returns the string representation

func (*CreateVirtualServiceOutput) SetVirtualService

SetVirtualService sets the VirtualService field's value.

func (CreateVirtualServiceOutput) String

String returns the string representation

type DeleteMeshInput

type DeleteMeshInput struct {

	// The name of the service mesh to delete.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMeshInput) GoString

func (s DeleteMeshInput) GoString() string

GoString returns the string representation

func (*DeleteMeshInput) SetMeshName

func (s *DeleteMeshInput) SetMeshName(v string) *DeleteMeshInput

SetMeshName sets the MeshName field's value.

func (DeleteMeshInput) String

func (s DeleteMeshInput) String() string

String returns the string representation

func (*DeleteMeshInput) Validate

func (s *DeleteMeshInput) Validate() error

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

type DeleteMeshOutput

type DeleteMeshOutput struct {

	// The service mesh that was deleted.
	//
	// Mesh is a required field
	Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMeshOutput) GoString

func (s DeleteMeshOutput) GoString() string

GoString returns the string representation

func (*DeleteMeshOutput) SetMesh

func (s *DeleteMeshOutput) SetMesh(v *MeshData) *DeleteMeshOutput

SetMesh sets the Mesh field's value.

func (DeleteMeshOutput) String

func (s DeleteMeshOutput) String() string

String returns the string representation

type DeleteRouteInput

type DeleteRouteInput struct {

	// The name of the service mesh to delete the route in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the route to delete.
	//
	// RouteName is a required field
	RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"`

	// The name of the virtual router to delete the route in.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRouteInput) GoString

func (s DeleteRouteInput) GoString() string

GoString returns the string representation

func (*DeleteRouteInput) SetMeshName

func (s *DeleteRouteInput) SetMeshName(v string) *DeleteRouteInput

SetMeshName sets the MeshName field's value.

func (*DeleteRouteInput) SetRouteName

func (s *DeleteRouteInput) SetRouteName(v string) *DeleteRouteInput

SetRouteName sets the RouteName field's value.

func (*DeleteRouteInput) SetVirtualRouterName

func (s *DeleteRouteInput) SetVirtualRouterName(v string) *DeleteRouteInput

SetVirtualRouterName sets the VirtualRouterName field's value.

func (DeleteRouteInput) String

func (s DeleteRouteInput) String() string

String returns the string representation

func (*DeleteRouteInput) Validate

func (s *DeleteRouteInput) Validate() error

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

type DeleteRouteOutput

type DeleteRouteOutput struct {

	// The route that was deleted.
	//
	// Route is a required field
	Route *RouteData `locationName:"route" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRouteOutput) GoString

func (s DeleteRouteOutput) GoString() string

GoString returns the string representation

func (*DeleteRouteOutput) SetRoute

SetRoute sets the Route field's value.

func (DeleteRouteOutput) String

func (s DeleteRouteOutput) String() string

String returns the string representation

type DeleteVirtualNodeInput

type DeleteVirtualNodeInput struct {

	// The name of the service mesh to delete the virtual node in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the virtual node to delete.
	//
	// VirtualNodeName is a required field
	VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVirtualNodeInput) GoString

func (s DeleteVirtualNodeInput) GoString() string

GoString returns the string representation

func (*DeleteVirtualNodeInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*DeleteVirtualNodeInput) SetVirtualNodeName

func (s *DeleteVirtualNodeInput) SetVirtualNodeName(v string) *DeleteVirtualNodeInput

SetVirtualNodeName sets the VirtualNodeName field's value.

func (DeleteVirtualNodeInput) String

func (s DeleteVirtualNodeInput) String() string

String returns the string representation

func (*DeleteVirtualNodeInput) Validate

func (s *DeleteVirtualNodeInput) Validate() error

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

type DeleteVirtualNodeOutput

type DeleteVirtualNodeOutput struct {

	// The virtual node that was deleted.
	//
	// VirtualNode is a required field
	VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVirtualNodeOutput) GoString

func (s DeleteVirtualNodeOutput) GoString() string

GoString returns the string representation

func (*DeleteVirtualNodeOutput) SetVirtualNode

SetVirtualNode sets the VirtualNode field's value.

func (DeleteVirtualNodeOutput) String

func (s DeleteVirtualNodeOutput) String() string

String returns the string representation

type DeleteVirtualRouterInput

type DeleteVirtualRouterInput struct {

	// The name of the service mesh to delete the virtual router in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the virtual router to delete.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVirtualRouterInput) GoString

func (s DeleteVirtualRouterInput) GoString() string

GoString returns the string representation

func (*DeleteVirtualRouterInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*DeleteVirtualRouterInput) SetVirtualRouterName

func (s *DeleteVirtualRouterInput) SetVirtualRouterName(v string) *DeleteVirtualRouterInput

SetVirtualRouterName sets the VirtualRouterName field's value.

func (DeleteVirtualRouterInput) String

func (s DeleteVirtualRouterInput) String() string

String returns the string representation

func (*DeleteVirtualRouterInput) Validate

func (s *DeleteVirtualRouterInput) Validate() error

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

type DeleteVirtualRouterOutput

type DeleteVirtualRouterOutput struct {

	// The virtual router that was deleted.
	//
	// VirtualRouter is a required field
	VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVirtualRouterOutput) GoString

func (s DeleteVirtualRouterOutput) GoString() string

GoString returns the string representation

func (*DeleteVirtualRouterOutput) SetVirtualRouter

SetVirtualRouter sets the VirtualRouter field's value.

func (DeleteVirtualRouterOutput) String

func (s DeleteVirtualRouterOutput) String() string

String returns the string representation

type DeleteVirtualServiceInput

type DeleteVirtualServiceInput struct {

	// The name of the service mesh to delete the virtual service in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the virtual service to delete.
	//
	// VirtualServiceName is a required field
	VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVirtualServiceInput) GoString

func (s DeleteVirtualServiceInput) GoString() string

GoString returns the string representation

func (*DeleteVirtualServiceInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*DeleteVirtualServiceInput) SetVirtualServiceName

func (s *DeleteVirtualServiceInput) SetVirtualServiceName(v string) *DeleteVirtualServiceInput

SetVirtualServiceName sets the VirtualServiceName field's value.

func (DeleteVirtualServiceInput) String

func (s DeleteVirtualServiceInput) String() string

String returns the string representation

func (*DeleteVirtualServiceInput) Validate

func (s *DeleteVirtualServiceInput) Validate() error

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

type DeleteVirtualServiceOutput

type DeleteVirtualServiceOutput struct {

	// The virtual service that was deleted.
	//
	// VirtualService is a required field
	VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVirtualServiceOutput) GoString

func (s DeleteVirtualServiceOutput) GoString() string

GoString returns the string representation

func (*DeleteVirtualServiceOutput) SetVirtualService

SetVirtualService sets the VirtualService field's value.

func (DeleteVirtualServiceOutput) String

String returns the string representation

type DescribeMeshInput

type DescribeMeshInput struct {

	// The name of the service mesh to describe.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeMeshInput) GoString

func (s DescribeMeshInput) GoString() string

GoString returns the string representation

func (*DescribeMeshInput) SetMeshName

func (s *DescribeMeshInput) SetMeshName(v string) *DescribeMeshInput

SetMeshName sets the MeshName field's value.

func (DescribeMeshInput) String

func (s DescribeMeshInput) String() string

String returns the string representation

func (*DescribeMeshInput) Validate

func (s *DescribeMeshInput) Validate() error

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

type DescribeMeshOutput

type DescribeMeshOutput struct {

	// The full description of your service mesh.
	//
	// Mesh is a required field
	Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeMeshOutput) GoString

func (s DescribeMeshOutput) GoString() string

GoString returns the string representation

func (*DescribeMeshOutput) SetMesh

SetMesh sets the Mesh field's value.

func (DescribeMeshOutput) String

func (s DescribeMeshOutput) String() string

String returns the string representation

type DescribeRouteInput

type DescribeRouteInput struct {

	// The name of the service mesh that the route resides in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the route to describe.
	//
	// RouteName is a required field
	RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"`

	// The name of the virtual router that the route is associated with.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRouteInput) GoString

func (s DescribeRouteInput) GoString() string

GoString returns the string representation

func (*DescribeRouteInput) SetMeshName

func (s *DescribeRouteInput) SetMeshName(v string) *DescribeRouteInput

SetMeshName sets the MeshName field's value.

func (*DescribeRouteInput) SetRouteName

func (s *DescribeRouteInput) SetRouteName(v string) *DescribeRouteInput

SetRouteName sets the RouteName field's value.

func (*DescribeRouteInput) SetVirtualRouterName

func (s *DescribeRouteInput) SetVirtualRouterName(v string) *DescribeRouteInput

SetVirtualRouterName sets the VirtualRouterName field's value.

func (DescribeRouteInput) String

func (s DescribeRouteInput) String() string

String returns the string representation

func (*DescribeRouteInput) Validate

func (s *DescribeRouteInput) Validate() error

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

type DescribeRouteOutput

type DescribeRouteOutput struct {

	// The full description of your route.
	//
	// Route is a required field
	Route *RouteData `locationName:"route" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRouteOutput) GoString

func (s DescribeRouteOutput) GoString() string

GoString returns the string representation

func (*DescribeRouteOutput) SetRoute

SetRoute sets the Route field's value.

func (DescribeRouteOutput) String

func (s DescribeRouteOutput) String() string

String returns the string representation

type DescribeVirtualNodeInput

type DescribeVirtualNodeInput struct {

	// The name of the service mesh that the virtual node resides in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the virtual node to describe.
	//
	// VirtualNodeName is a required field
	VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVirtualNodeInput) GoString

func (s DescribeVirtualNodeInput) GoString() string

GoString returns the string representation

func (*DescribeVirtualNodeInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*DescribeVirtualNodeInput) SetVirtualNodeName

func (s *DescribeVirtualNodeInput) SetVirtualNodeName(v string) *DescribeVirtualNodeInput

SetVirtualNodeName sets the VirtualNodeName field's value.

func (DescribeVirtualNodeInput) String

func (s DescribeVirtualNodeInput) String() string

String returns the string representation

func (*DescribeVirtualNodeInput) Validate

func (s *DescribeVirtualNodeInput) Validate() error

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

type DescribeVirtualNodeOutput

type DescribeVirtualNodeOutput struct {

	// The full description of your virtual node.
	//
	// VirtualNode is a required field
	VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVirtualNodeOutput) GoString

func (s DescribeVirtualNodeOutput) GoString() string

GoString returns the string representation

func (*DescribeVirtualNodeOutput) SetVirtualNode

SetVirtualNode sets the VirtualNode field's value.

func (DescribeVirtualNodeOutput) String

func (s DescribeVirtualNodeOutput) String() string

String returns the string representation

type DescribeVirtualRouterInput

type DescribeVirtualRouterInput struct {

	// The name of the service mesh that the virtual router resides in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the virtual router to describe.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVirtualRouterInput) GoString

func (s DescribeVirtualRouterInput) GoString() string

GoString returns the string representation

func (*DescribeVirtualRouterInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*DescribeVirtualRouterInput) SetVirtualRouterName

func (s *DescribeVirtualRouterInput) SetVirtualRouterName(v string) *DescribeVirtualRouterInput

SetVirtualRouterName sets the VirtualRouterName field's value.

func (DescribeVirtualRouterInput) String

String returns the string representation

func (*DescribeVirtualRouterInput) Validate

func (s *DescribeVirtualRouterInput) Validate() error

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

type DescribeVirtualRouterOutput

type DescribeVirtualRouterOutput struct {

	// The full description of your virtual router.
	//
	// VirtualRouter is a required field
	VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVirtualRouterOutput) GoString

func (s DescribeVirtualRouterOutput) GoString() string

GoString returns the string representation

func (*DescribeVirtualRouterOutput) SetVirtualRouter

SetVirtualRouter sets the VirtualRouter field's value.

func (DescribeVirtualRouterOutput) String

String returns the string representation

type DescribeVirtualServiceInput

type DescribeVirtualServiceInput struct {

	// The name of the service mesh that the virtual service resides in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the virtual service to describe.
	//
	// VirtualServiceName is a required field
	VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVirtualServiceInput) GoString

func (s DescribeVirtualServiceInput) GoString() string

GoString returns the string representation

func (*DescribeVirtualServiceInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*DescribeVirtualServiceInput) SetVirtualServiceName

func (s *DescribeVirtualServiceInput) SetVirtualServiceName(v string) *DescribeVirtualServiceInput

SetVirtualServiceName sets the VirtualServiceName field's value.

func (DescribeVirtualServiceInput) String

String returns the string representation

func (*DescribeVirtualServiceInput) Validate

func (s *DescribeVirtualServiceInput) Validate() error

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

type DescribeVirtualServiceOutput

type DescribeVirtualServiceOutput struct {

	// The full description of your virtual service.
	//
	// VirtualService is a required field
	VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVirtualServiceOutput) GoString

func (s DescribeVirtualServiceOutput) GoString() string

GoString returns the string representation

func (*DescribeVirtualServiceOutput) SetVirtualService

SetVirtualService sets the VirtualService field's value.

func (DescribeVirtualServiceOutput) String

String returns the string representation

type DnsServiceDiscovery

type DnsServiceDiscovery struct {

	// Specifies the DNS service discovery hostname for the virtual node.
	//
	// Hostname is a required field
	Hostname *string `locationName:"hostname" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing the DNS service discovery information for your virtual node.

func (DnsServiceDiscovery) GoString

func (s DnsServiceDiscovery) GoString() string

GoString returns the string representation

func (*DnsServiceDiscovery) SetHostname

func (s *DnsServiceDiscovery) SetHostname(v string) *DnsServiceDiscovery

SetHostname sets the Hostname field's value.

func (DnsServiceDiscovery) String

func (s DnsServiceDiscovery) String() string

String returns the string representation

func (*DnsServiceDiscovery) Validate

func (s *DnsServiceDiscovery) Validate() error

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

type EgressFilter

type EgressFilter struct {

	// The egress filter type. By default, the type is DROP_ALL, which allows egress
	// only from virtual nodes to other defined resources in the service mesh (and
	// any traffic to *.amazonaws.com for AWS API calls). You can set the egress
	// filter type to ALLOW_ALL to allow egress to any endpoint inside or outside
	// of the service mesh.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"EgressFilterType"`
	// contains filtered or unexported fields
}

An object representing the egress filter rules for a service mesh.

func (EgressFilter) GoString

func (s EgressFilter) GoString() string

GoString returns the string representation

func (*EgressFilter) SetType

func (s *EgressFilter) SetType(v string) *EgressFilter

SetType sets the Type field's value.

func (EgressFilter) String

func (s EgressFilter) String() string

String returns the string representation

func (*EgressFilter) Validate

func (s *EgressFilter) Validate() error

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

type FileAccessLog

type FileAccessLog struct {

	// The file path to write access logs to. You can use /dev/stdout to send access
	// logs to standard out and configure your Envoy container to use a log driver,
	// such as awslogs, to export the access logs to a log storage service such
	// as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's
	// file system to write the files to disk.
	//
	// The Envoy process must have write permissions to the path that you specify
	// here. Otherwise, Envoy fails to bootstrap properly.
	//
	// Path is a required field
	Path *string `locationName:"path" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing an access log file.

func (FileAccessLog) GoString

func (s FileAccessLog) GoString() string

GoString returns the string representation

func (*FileAccessLog) SetPath

func (s *FileAccessLog) SetPath(v string) *FileAccessLog

SetPath sets the Path field's value.

func (FileAccessLog) String

func (s FileAccessLog) String() string

String returns the string representation

func (*FileAccessLog) Validate

func (s *FileAccessLog) Validate() error

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

type HealthCheckPolicy

type HealthCheckPolicy struct {

	// The number of consecutive successful health checks that must occur before
	// declaring listener healthy.
	//
	// HealthyThreshold is a required field
	HealthyThreshold *int64 `locationName:"healthyThreshold" min:"2" type:"integer" required:"true"`

	// The time period in milliseconds between each health check execution.
	//
	// IntervalMillis is a required field
	IntervalMillis *int64 `locationName:"intervalMillis" min:"5000" type:"long" required:"true"`

	// The destination path for the health check request. This is required only
	// if the specified protocol is HTTP. If the protocol is TCP, this parameter
	// is ignored.
	Path *string `locationName:"path" type:"string"`

	// The destination port for the health check request. This port must match the
	// port defined in the PortMapping for the listener.
	Port *int64 `locationName:"port" min:"1" type:"integer"`

	// The protocol for the health check request.
	//
	// Protocol is a required field
	Protocol *string `locationName:"protocol" type:"string" required:"true" enum:"PortProtocol"`

	// The amount of time to wait when receiving a response from the health check,
	// in milliseconds.
	//
	// TimeoutMillis is a required field
	TimeoutMillis *int64 `locationName:"timeoutMillis" min:"2000" type:"long" required:"true"`

	// The number of consecutive failed health checks that must occur before declaring
	// a virtual node unhealthy.
	//
	// UnhealthyThreshold is a required field
	UnhealthyThreshold *int64 `locationName:"unhealthyThreshold" min:"2" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

An object representing the health check policy for a virtual node's listener.

func (HealthCheckPolicy) GoString

func (s HealthCheckPolicy) GoString() string

GoString returns the string representation

func (*HealthCheckPolicy) SetHealthyThreshold

func (s *HealthCheckPolicy) SetHealthyThreshold(v int64) *HealthCheckPolicy

SetHealthyThreshold sets the HealthyThreshold field's value.

func (*HealthCheckPolicy) SetIntervalMillis

func (s *HealthCheckPolicy) SetIntervalMillis(v int64) *HealthCheckPolicy

SetIntervalMillis sets the IntervalMillis field's value.

func (*HealthCheckPolicy) SetPath

SetPath sets the Path field's value.

func (*HealthCheckPolicy) SetPort

func (s *HealthCheckPolicy) SetPort(v int64) *HealthCheckPolicy

SetPort sets the Port field's value.

func (*HealthCheckPolicy) SetProtocol

func (s *HealthCheckPolicy) SetProtocol(v string) *HealthCheckPolicy

SetProtocol sets the Protocol field's value.

func (*HealthCheckPolicy) SetTimeoutMillis

func (s *HealthCheckPolicy) SetTimeoutMillis(v int64) *HealthCheckPolicy

SetTimeoutMillis sets the TimeoutMillis field's value.

func (*HealthCheckPolicy) SetUnhealthyThreshold

func (s *HealthCheckPolicy) SetUnhealthyThreshold(v int64) *HealthCheckPolicy

SetUnhealthyThreshold sets the UnhealthyThreshold field's value.

func (HealthCheckPolicy) String

func (s HealthCheckPolicy) String() string

String returns the string representation

func (*HealthCheckPolicy) Validate

func (s *HealthCheckPolicy) Validate() error

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

type HttpRoute

type HttpRoute struct {

	// The action to take if a match is determined.
	//
	// Action is a required field
	Action *HttpRouteAction `locationName:"action" type:"structure" required:"true"`

	// The criteria for determining an HTTP request match.
	//
	// Match is a required field
	Match *HttpRouteMatch `locationName:"match" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

An object representing the HTTP routing specification for a route.

func (HttpRoute) GoString

func (s HttpRoute) GoString() string

GoString returns the string representation

func (*HttpRoute) SetAction

func (s *HttpRoute) SetAction(v *HttpRouteAction) *HttpRoute

SetAction sets the Action field's value.

func (*HttpRoute) SetMatch

func (s *HttpRoute) SetMatch(v *HttpRouteMatch) *HttpRoute

SetMatch sets the Match field's value.

func (HttpRoute) String

func (s HttpRoute) String() string

String returns the string representation

func (*HttpRoute) Validate

func (s *HttpRoute) Validate() error

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

type HttpRouteAction

type HttpRouteAction struct {

	// The targets that traffic is routed to when a request matches the route. You
	// can specify one or more targets and their relative weights to distribute
	// traffic with.
	//
	// WeightedTargets is a required field
	WeightedTargets []*WeightedTarget `locationName:"weightedTargets" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

An object representing the traffic distribution requirements for matched HTTP requests.

func (HttpRouteAction) GoString

func (s HttpRouteAction) GoString() string

GoString returns the string representation

func (*HttpRouteAction) SetWeightedTargets

func (s *HttpRouteAction) SetWeightedTargets(v []*WeightedTarget) *HttpRouteAction

SetWeightedTargets sets the WeightedTargets field's value.

func (HttpRouteAction) String

func (s HttpRouteAction) String() string

String returns the string representation

func (*HttpRouteAction) Validate

func (s *HttpRouteAction) Validate() error

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

type HttpRouteMatch

type HttpRouteMatch struct {

	// Specifies the path to match requests with. This parameter must always start
	// with /, which by itself matches all requests to the virtual service name.
	// You can also match for path-based routing of requests. For example, if your
	// virtual service name is my-service.local and you want the route to match
	// requests to my-service.local/metrics, your prefix should be /metrics.
	//
	// Prefix is a required field
	Prefix *string `locationName:"prefix" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing the requirements for a route to match HTTP requests for a virtual router.

func (HttpRouteMatch) GoString

func (s HttpRouteMatch) GoString() string

GoString returns the string representation

func (*HttpRouteMatch) SetPrefix

func (s *HttpRouteMatch) SetPrefix(v string) *HttpRouteMatch

SetPrefix sets the Prefix field's value.

func (HttpRouteMatch) String

func (s HttpRouteMatch) String() string

String returns the string representation

func (*HttpRouteMatch) Validate

func (s *HttpRouteMatch) Validate() error

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

type ListMeshesInput

type ListMeshesInput struct {

	// The maximum number of results returned by ListMeshes in paginated output.
	// When you use this parameter, ListMeshes returns only limit results in a single
	// page along with a nextToken response element. You can see the remaining results
	// of the initial request by sending another ListMeshes request with the returned
	// nextToken value. This value can be between 1 and 100. If you don't use this
	// parameter, ListMeshes returns up to 100 results and a nextToken value if
	// applicable.
	Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"`

	// The nextToken value returned from a previous paginated ListMeshes request
	// where limit was used and the results exceeded the value of that parameter.
	// Pagination continues from the end of the previous results that returned the
	// nextToken value.
	//
	// This token should be treated as an opaque identifier that is used only to
	// retrieve the next items in a list and not for other programmatic purposes.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListMeshesInput) GoString

func (s ListMeshesInput) GoString() string

GoString returns the string representation

func (*ListMeshesInput) SetLimit

func (s *ListMeshesInput) SetLimit(v int64) *ListMeshesInput

SetLimit sets the Limit field's value.

func (*ListMeshesInput) SetNextToken

func (s *ListMeshesInput) SetNextToken(v string) *ListMeshesInput

SetNextToken sets the NextToken field's value.

func (ListMeshesInput) String

func (s ListMeshesInput) String() string

String returns the string representation

func (*ListMeshesInput) Validate

func (s *ListMeshesInput) Validate() error

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

type ListMeshesOutput

type ListMeshesOutput struct {

	// The list of existing service meshes.
	//
	// Meshes is a required field
	Meshes []*MeshRef `locationName:"meshes" type:"list" required:"true"`

	// The nextToken value to include in a future ListMeshes request. When the results
	// of a ListMeshes request exceed limit, you can use this value to retrieve
	// the next page of results. This value is null when there are no more results
	// to return.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListMeshesOutput) GoString

func (s ListMeshesOutput) GoString() string

GoString returns the string representation

func (*ListMeshesOutput) SetMeshes

func (s *ListMeshesOutput) SetMeshes(v []*MeshRef) *ListMeshesOutput

SetMeshes sets the Meshes field's value.

func (*ListMeshesOutput) SetNextToken

func (s *ListMeshesOutput) SetNextToken(v string) *ListMeshesOutput

SetNextToken sets the NextToken field's value.

func (ListMeshesOutput) String

func (s ListMeshesOutput) String() string

String returns the string representation

type ListRoutesInput

type ListRoutesInput struct {

	// The maximum number of results returned by ListRoutes in paginated output.
	// When you use this parameter, ListRoutes returns only limit results in a single
	// page along with a nextToken response element. You can see the remaining results
	// of the initial request by sending another ListRoutes request with the returned
	// nextToken value. This value can be between 1 and 100. If you don't use this
	// parameter, ListRoutes returns up to 100 results and a nextToken value if
	// applicable.
	Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"`

	// The name of the service mesh to list routes in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The nextToken value returned from a previous paginated ListRoutes request
	// where limit was used and the results exceeded the value of that parameter.
	// Pagination continues from the end of the previous results that returned the
	// nextToken value.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The name of the virtual router to list routes in.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListRoutesInput) GoString

func (s ListRoutesInput) GoString() string

GoString returns the string representation

func (*ListRoutesInput) SetLimit

func (s *ListRoutesInput) SetLimit(v int64) *ListRoutesInput

SetLimit sets the Limit field's value.

func (*ListRoutesInput) SetMeshName

func (s *ListRoutesInput) SetMeshName(v string) *ListRoutesInput

SetMeshName sets the MeshName field's value.

func (*ListRoutesInput) SetNextToken

func (s *ListRoutesInput) SetNextToken(v string) *ListRoutesInput

SetNextToken sets the NextToken field's value.

func (*ListRoutesInput) SetVirtualRouterName

func (s *ListRoutesInput) SetVirtualRouterName(v string) *ListRoutesInput

SetVirtualRouterName sets the VirtualRouterName field's value.

func (ListRoutesInput) String

func (s ListRoutesInput) String() string

String returns the string representation

func (*ListRoutesInput) Validate

func (s *ListRoutesInput) Validate() error

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

type ListRoutesOutput

type ListRoutesOutput struct {

	// The nextToken value to include in a future ListRoutes request. When the results
	// of a ListRoutes request exceed limit, you can use this value to retrieve
	// the next page of results. This value is null when there are no more results
	// to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The list of existing routes for the specified service mesh and virtual router.
	//
	// Routes is a required field
	Routes []*RouteRef `locationName:"routes" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListRoutesOutput) GoString

func (s ListRoutesOutput) GoString() string

GoString returns the string representation

func (*ListRoutesOutput) SetNextToken

func (s *ListRoutesOutput) SetNextToken(v string) *ListRoutesOutput

SetNextToken sets the NextToken field's value.

func (*ListRoutesOutput) SetRoutes

func (s *ListRoutesOutput) SetRoutes(v []*RouteRef) *ListRoutesOutput

SetRoutes sets the Routes field's value.

func (ListRoutesOutput) String

func (s ListRoutesOutput) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The maximum number of tag results returned by ListTagsForResource in paginated
	// output. When this parameter is used, ListTagsForResource returns only limit
	// results in a single page along with a nextToken response element. You can
	// see the remaining results of the initial request by sending another ListTagsForResource
	// request with the returned nextToken value. This value can be between 1 and
	// 100. If you don't use this parameter, ListTagsForResource returns up to 100
	// results and a nextToken value if applicable.
	Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"`

	// The nextToken value returned from a previous paginated ListTagsForResource
	// request where limit was used and the results exceeded the value of that parameter.
	// Pagination continues from the end of the previous results that returned the
	// nextToken value.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The Amazon Resource Name (ARN) that identifies the resource to list the tags
	// for.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetLimit

SetLimit sets the Limit field's value.

func (*ListTagsForResourceInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The nextToken value to include in a future ListTagsForResource request. When
	// the results of a ListTagsForResource request exceed limit, you can use this
	// value to retrieve the next page of results. This value is null when there
	// are no more results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The tags for the resource.
	//
	// Tags is a required field
	Tags []*TagRef `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListVirtualNodesInput

type ListVirtualNodesInput struct {

	// The maximum number of results returned by ListVirtualNodes in paginated output.
	// When you use this parameter, ListVirtualNodes returns only limit results
	// in a single page along with a nextToken response element. You can see the
	// remaining results of the initial request by sending another ListVirtualNodes
	// request with the returned nextToken value. This value can be between 1 and
	// 100. If you don't use this parameter, ListVirtualNodes returns up to 100
	// results and a nextToken value if applicable.
	Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"`

	// The name of the service mesh to list virtual nodes in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The nextToken value returned from a previous paginated ListVirtualNodes request
	// where limit was used and the results exceeded the value of that parameter.
	// Pagination continues from the end of the previous results that returned the
	// nextToken value.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListVirtualNodesInput) GoString

func (s ListVirtualNodesInput) GoString() string

GoString returns the string representation

func (*ListVirtualNodesInput) SetLimit

SetLimit sets the Limit field's value.

func (*ListVirtualNodesInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*ListVirtualNodesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListVirtualNodesInput) String

func (s ListVirtualNodesInput) String() string

String returns the string representation

func (*ListVirtualNodesInput) Validate

func (s *ListVirtualNodesInput) Validate() error

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

type ListVirtualNodesOutput

type ListVirtualNodesOutput struct {

	// The nextToken value to include in a future ListVirtualNodes request. When
	// the results of a ListVirtualNodes request exceed limit, you can use this
	// value to retrieve the next page of results. This value is null when there
	// are no more results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The list of existing virtual nodes for the specified service mesh.
	//
	// VirtualNodes is a required field
	VirtualNodes []*VirtualNodeRef `locationName:"virtualNodes" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListVirtualNodesOutput) GoString

func (s ListVirtualNodesOutput) GoString() string

GoString returns the string representation

func (*ListVirtualNodesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListVirtualNodesOutput) SetVirtualNodes

SetVirtualNodes sets the VirtualNodes field's value.

func (ListVirtualNodesOutput) String

func (s ListVirtualNodesOutput) String() string

String returns the string representation

type ListVirtualRoutersInput

type ListVirtualRoutersInput struct {

	// The maximum number of results returned by ListVirtualRouters in paginated
	// output. When you use this parameter, ListVirtualRouters returns only limit
	// results in a single page along with a nextToken response element. You can
	// see the remaining results of the initial request by sending another ListVirtualRouters
	// request with the returned nextToken value. This value can be between 1 and
	// 100. If you don't use this parameter, ListVirtualRouters returns up to 100
	// results and a nextToken value if applicable.
	Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"`

	// The name of the service mesh to list virtual routers in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The nextToken value returned from a previous paginated ListVirtualRouters
	// request where limit was used and the results exceeded the value of that parameter.
	// Pagination continues from the end of the previous results that returned the
	// nextToken value.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListVirtualRoutersInput) GoString

func (s ListVirtualRoutersInput) GoString() string

GoString returns the string representation

func (*ListVirtualRoutersInput) SetLimit

SetLimit sets the Limit field's value.

func (*ListVirtualRoutersInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*ListVirtualRoutersInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListVirtualRoutersInput) String

func (s ListVirtualRoutersInput) String() string

String returns the string representation

func (*ListVirtualRoutersInput) Validate

func (s *ListVirtualRoutersInput) Validate() error

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

type ListVirtualRoutersOutput

type ListVirtualRoutersOutput struct {

	// The nextToken value to include in a future ListVirtualRouters request. When
	// the results of a ListVirtualRouters request exceed limit, you can use this
	// value to retrieve the next page of results. This value is null when there
	// are no more results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The list of existing virtual routers for the specified service mesh.
	//
	// VirtualRouters is a required field
	VirtualRouters []*VirtualRouterRef `locationName:"virtualRouters" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListVirtualRoutersOutput) GoString

func (s ListVirtualRoutersOutput) GoString() string

GoString returns the string representation

func (*ListVirtualRoutersOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListVirtualRoutersOutput) SetVirtualRouters

SetVirtualRouters sets the VirtualRouters field's value.

func (ListVirtualRoutersOutput) String

func (s ListVirtualRoutersOutput) String() string

String returns the string representation

type ListVirtualServicesInput

type ListVirtualServicesInput struct {

	// The maximum number of results returned by ListVirtualServices in paginated
	// output. When you use this parameter, ListVirtualServices returns only limit
	// results in a single page along with a nextToken response element. You can
	// see the remaining results of the initial request by sending another ListVirtualServices
	// request with the returned nextToken value. This value can be between 1 and
	// 100. If you don't use this parameter, ListVirtualServices returns up to 100
	// results and a nextToken value if applicable.
	Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"`

	// The name of the service mesh to list virtual services in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The nextToken value returned from a previous paginated ListVirtualServices
	// request where limit was used and the results exceeded the value of that parameter.
	// Pagination continues from the end of the previous results that returned the
	// nextToken value.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListVirtualServicesInput) GoString

func (s ListVirtualServicesInput) GoString() string

GoString returns the string representation

func (*ListVirtualServicesInput) SetLimit

SetLimit sets the Limit field's value.

func (*ListVirtualServicesInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*ListVirtualServicesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListVirtualServicesInput) String

func (s ListVirtualServicesInput) String() string

String returns the string representation

func (*ListVirtualServicesInput) Validate

func (s *ListVirtualServicesInput) Validate() error

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

type ListVirtualServicesOutput

type ListVirtualServicesOutput struct {

	// The nextToken value to include in a future ListVirtualServices request. When
	// the results of a ListVirtualServices request exceed limit, you can use this
	// value to retrieve the next page of results. This value is null when there
	// are no more results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The list of existing virtual services for the specified service mesh.
	//
	// VirtualServices is a required field
	VirtualServices []*VirtualServiceRef `locationName:"virtualServices" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListVirtualServicesOutput) GoString

func (s ListVirtualServicesOutput) GoString() string

GoString returns the string representation

func (*ListVirtualServicesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListVirtualServicesOutput) SetVirtualServices

SetVirtualServices sets the VirtualServices field's value.

func (ListVirtualServicesOutput) String

func (s ListVirtualServicesOutput) String() string

String returns the string representation

type Listener

type Listener struct {

	// The health check information for the listener.
	HealthCheck *HealthCheckPolicy `locationName:"healthCheck" type:"structure"`

	// The port mapping information for the listener.
	//
	// PortMapping is a required field
	PortMapping *PortMapping `locationName:"portMapping" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

An object representing a listener for a virtual node.

func (Listener) GoString

func (s Listener) GoString() string

GoString returns the string representation

func (*Listener) SetHealthCheck

func (s *Listener) SetHealthCheck(v *HealthCheckPolicy) *Listener

SetHealthCheck sets the HealthCheck field's value.

func (*Listener) SetPortMapping

func (s *Listener) SetPortMapping(v *PortMapping) *Listener

SetPortMapping sets the PortMapping field's value.

func (Listener) String

func (s Listener) String() string

String returns the string representation

func (*Listener) Validate

func (s *Listener) Validate() error

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

type Logging

type Logging struct {

	// The access log configuration for a virtual node.
	AccessLog *AccessLog `locationName:"accessLog" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the logging information for a virtual node.

func (Logging) GoString

func (s Logging) GoString() string

GoString returns the string representation

func (*Logging) SetAccessLog

func (s *Logging) SetAccessLog(v *AccessLog) *Logging

SetAccessLog sets the AccessLog field's value.

func (Logging) String

func (s Logging) String() string

String returns the string representation

func (*Logging) Validate

func (s *Logging) Validate() error

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

type MeshData

type MeshData struct {

	// The name of the service mesh.
	//
	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

	// The associated metadata for the service mesh.
	//
	// Metadata is a required field
	Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"`

	// The associated specification for the service mesh.
	//
	// Spec is a required field
	Spec *MeshSpec `locationName:"spec" type:"structure" required:"true"`

	// The status of the service mesh.
	//
	// Status is a required field
	Status *MeshStatus `locationName:"status" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

An object representing a service mesh returned by a describe operation.

func (MeshData) GoString

func (s MeshData) GoString() string

GoString returns the string representation

func (*MeshData) SetMeshName

func (s *MeshData) SetMeshName(v string) *MeshData

SetMeshName sets the MeshName field's value.

func (*MeshData) SetMetadata

func (s *MeshData) SetMetadata(v *ResourceMetadata) *MeshData

SetMetadata sets the Metadata field's value.

func (*MeshData) SetSpec

func (s *MeshData) SetSpec(v *MeshSpec) *MeshData

SetSpec sets the Spec field's value.

func (*MeshData) SetStatus

func (s *MeshData) SetStatus(v *MeshStatus) *MeshData

SetStatus sets the Status field's value.

func (MeshData) String

func (s MeshData) String() string

String returns the string representation

type MeshRef

type MeshRef struct {

	// The full Amazon Resource Name (ARN) of the service mesh.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// The name of the service mesh.
	//
	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a service mesh returned by a list operation.

func (MeshRef) GoString

func (s MeshRef) GoString() string

GoString returns the string representation

func (*MeshRef) SetArn

func (s *MeshRef) SetArn(v string) *MeshRef

SetArn sets the Arn field's value.

func (*MeshRef) SetMeshName

func (s *MeshRef) SetMeshName(v string) *MeshRef

SetMeshName sets the MeshName field's value.

func (MeshRef) String

func (s MeshRef) String() string

String returns the string representation

type MeshSpec

type MeshSpec struct {

	// The egress filter rules for the service mesh.
	EgressFilter *EgressFilter `locationName:"egressFilter" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the specification of a service mesh.

func (MeshSpec) GoString

func (s MeshSpec) GoString() string

GoString returns the string representation

func (*MeshSpec) SetEgressFilter

func (s *MeshSpec) SetEgressFilter(v *EgressFilter) *MeshSpec

SetEgressFilter sets the EgressFilter field's value.

func (MeshSpec) String

func (s MeshSpec) String() string

String returns the string representation

func (*MeshSpec) Validate

func (s *MeshSpec) Validate() error

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

type MeshStatus

type MeshStatus struct {

	// The current mesh status.
	Status *string `locationName:"status" type:"string" enum:"MeshStatusCode"`
	// contains filtered or unexported fields
}

An object representing the status of a service mesh.

func (MeshStatus) GoString

func (s MeshStatus) GoString() string

GoString returns the string representation

func (*MeshStatus) SetStatus

func (s *MeshStatus) SetStatus(v string) *MeshStatus

SetStatus sets the Status field's value.

func (MeshStatus) String

func (s MeshStatus) String() string

String returns the string representation

type PortMapping

type PortMapping struct {

	// The port used for the port mapping.
	//
	// Port is a required field
	Port *int64 `locationName:"port" min:"1" type:"integer" required:"true"`

	// The protocol used for the port mapping.
	//
	// Protocol is a required field
	Protocol *string `locationName:"protocol" type:"string" required:"true" enum:"PortProtocol"`
	// contains filtered or unexported fields
}

An object representing a virtual node or virtual router listener port mapping.

func (PortMapping) GoString

func (s PortMapping) GoString() string

GoString returns the string representation

func (*PortMapping) SetPort

func (s *PortMapping) SetPort(v int64) *PortMapping

SetPort sets the Port field's value.

func (*PortMapping) SetProtocol

func (s *PortMapping) SetProtocol(v string) *PortMapping

SetProtocol sets the Protocol field's value.

func (PortMapping) String

func (s PortMapping) String() string

String returns the string representation

func (*PortMapping) Validate

func (s *PortMapping) Validate() error

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

type ResourceMetadata

type ResourceMetadata struct {

	// The full Amazon Resource Name (ARN) for the resource.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// The Unix epoch timestamp in seconds for when the resource was created.
	//
	// CreatedAt is a required field
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"`

	// The Unix epoch timestamp in seconds for when the resource was last updated.
	//
	// LastUpdatedAt is a required field
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" required:"true"`

	// The unique identifier for the resource.
	//
	// Uid is a required field
	Uid *string `locationName:"uid" type:"string" required:"true"`

	// The version of the resource. Resources are created at version 1, and this
	// version is incremented each time that they're updated.
	//
	// Version is a required field
	Version *int64 `locationName:"version" type:"long" required:"true"`
	// contains filtered or unexported fields
}

An object representing metadata for a resource.

func (ResourceMetadata) GoString

func (s ResourceMetadata) GoString() string

GoString returns the string representation

func (*ResourceMetadata) SetArn

SetArn sets the Arn field's value.

func (*ResourceMetadata) SetCreatedAt

func (s *ResourceMetadata) SetCreatedAt(v time.Time) *ResourceMetadata

SetCreatedAt sets the CreatedAt field's value.

func (*ResourceMetadata) SetLastUpdatedAt

func (s *ResourceMetadata) SetLastUpdatedAt(v time.Time) *ResourceMetadata

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*ResourceMetadata) SetUid

SetUid sets the Uid field's value.

func (*ResourceMetadata) SetVersion

func (s *ResourceMetadata) SetVersion(v int64) *ResourceMetadata

SetVersion sets the Version field's value.

func (ResourceMetadata) String

func (s ResourceMetadata) String() string

String returns the string representation

type RouteData

type RouteData struct {

	// The name of the service mesh that the route resides in.
	//
	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

	// The associated metadata for the route.
	//
	// Metadata is a required field
	Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"`

	// The name of the route.
	//
	// RouteName is a required field
	RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"`

	// The specifications of the route.
	//
	// Spec is a required field
	Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"`

	// The status of the route.
	//
	// Status is a required field
	Status *RouteStatus `locationName:"status" type:"structure" required:"true"`

	// The virtual router that the route is associated with.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a route returned by a describe operation.

func (RouteData) GoString

func (s RouteData) GoString() string

GoString returns the string representation

func (*RouteData) SetMeshName

func (s *RouteData) SetMeshName(v string) *RouteData

SetMeshName sets the MeshName field's value.

func (*RouteData) SetMetadata

func (s *RouteData) SetMetadata(v *ResourceMetadata) *RouteData

SetMetadata sets the Metadata field's value.

func (*RouteData) SetRouteName

func (s *RouteData) SetRouteName(v string) *RouteData

SetRouteName sets the RouteName field's value.

func (*RouteData) SetSpec

func (s *RouteData) SetSpec(v *RouteSpec) *RouteData

SetSpec sets the Spec field's value.

func (*RouteData) SetStatus

func (s *RouteData) SetStatus(v *RouteStatus) *RouteData

SetStatus sets the Status field's value.

func (*RouteData) SetVirtualRouterName

func (s *RouteData) SetVirtualRouterName(v string) *RouteData

SetVirtualRouterName sets the VirtualRouterName field's value.

func (RouteData) String

func (s RouteData) String() string

String returns the string representation

type RouteRef

type RouteRef struct {

	// The full Amazon Resource Name (ARN) for the route.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// The name of the service mesh that the route resides in.
	//
	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the route.
	//
	// RouteName is a required field
	RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"`

	// The virtual router that the route is associated with.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a route returned by a list operation.

func (RouteRef) GoString

func (s RouteRef) GoString() string

GoString returns the string representation

func (*RouteRef) SetArn

func (s *RouteRef) SetArn(v string) *RouteRef

SetArn sets the Arn field's value.

func (*RouteRef) SetMeshName

func (s *RouteRef) SetMeshName(v string) *RouteRef

SetMeshName sets the MeshName field's value.

func (*RouteRef) SetRouteName

func (s *RouteRef) SetRouteName(v string) *RouteRef

SetRouteName sets the RouteName field's value.

func (*RouteRef) SetVirtualRouterName

func (s *RouteRef) SetVirtualRouterName(v string) *RouteRef

SetVirtualRouterName sets the VirtualRouterName field's value.

func (RouteRef) String

func (s RouteRef) String() string

String returns the string representation

type RouteSpec

type RouteSpec struct {

	// The HTTP routing information for the route.
	HttpRoute *HttpRoute `locationName:"httpRoute" type:"structure"`

	// The TCP routing information for the route.
	TcpRoute *TcpRoute `locationName:"tcpRoute" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the specification of a route.

func (RouteSpec) GoString

func (s RouteSpec) GoString() string

GoString returns the string representation

func (*RouteSpec) SetHttpRoute

func (s *RouteSpec) SetHttpRoute(v *HttpRoute) *RouteSpec

SetHttpRoute sets the HttpRoute field's value.

func (*RouteSpec) SetTcpRoute

func (s *RouteSpec) SetTcpRoute(v *TcpRoute) *RouteSpec

SetTcpRoute sets the TcpRoute field's value.

func (RouteSpec) String

func (s RouteSpec) String() string

String returns the string representation

func (*RouteSpec) Validate

func (s *RouteSpec) Validate() error

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

type RouteStatus

type RouteStatus struct {

	// The current status for the route.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"RouteStatusCode"`
	// contains filtered or unexported fields
}

An object representing the current status of a route.

func (RouteStatus) GoString

func (s RouteStatus) GoString() string

GoString returns the string representation

func (*RouteStatus) SetStatus

func (s *RouteStatus) SetStatus(v string) *RouteStatus

SetStatus sets the Status field's value.

func (RouteStatus) String

func (s RouteStatus) String() string

String returns the string representation

type ServiceDiscovery

type ServiceDiscovery struct {

	// Specifies any AWS Cloud Map information for the virtual node.
	AwsCloudMap *AwsCloudMapServiceDiscovery `locationName:"awsCloudMap" type:"structure"`

	// Specifies the DNS information for the virtual node.
	Dns *DnsServiceDiscovery `locationName:"dns" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the service discovery information for a virtual node.

func (ServiceDiscovery) GoString

func (s ServiceDiscovery) GoString() string

GoString returns the string representation

func (*ServiceDiscovery) SetAwsCloudMap

SetAwsCloudMap sets the AwsCloudMap field's value.

func (*ServiceDiscovery) SetDns

SetDns sets the Dns field's value.

func (ServiceDiscovery) String

func (s ServiceDiscovery) String() string

String returns the string representation

func (*ServiceDiscovery) Validate

func (s *ServiceDiscovery) Validate() error

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

type TagRef

type TagRef struct {

	// One part of a key-value pair that make up a tag. A key is a general label
	// that acts like a category for more specific tag values.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

	// The optional part of a key-value pair that make up a tag. A value acts as
	// a descriptor within a tag category (key).
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

Optional metadata that you apply to a resource to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

func (TagRef) GoString

func (s TagRef) GoString() string

GoString returns the string representation

func (*TagRef) SetKey

func (s *TagRef) SetKey(v string) *TagRef

SetKey sets the Key field's value.

func (*TagRef) SetValue

func (s *TagRef) SetValue(v string) *TagRef

SetValue sets the Value field's value.

func (TagRef) String

func (s TagRef) String() string

String returns the string representation

func (*TagRef) Validate

func (s *TagRef) Validate() error

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

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to add tags to.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"`

	// The tags to add to the resource. A tag is an array of key-value pairs. Tag
	// keys can have a maximum character length of 128 characters, and tag values
	// can have a maximum length of 256 characters.
	//
	// Tags is a required field
	Tags []*TagRef `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v []*TagRef) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TcpRoute

type TcpRoute struct {

	// The action to take if a match is determined.
	//
	// Action is a required field
	Action *TcpRouteAction `locationName:"action" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

An object representing the TCP routing specification for a route.

func (TcpRoute) GoString

func (s TcpRoute) GoString() string

GoString returns the string representation

func (*TcpRoute) SetAction

func (s *TcpRoute) SetAction(v *TcpRouteAction) *TcpRoute

SetAction sets the Action field's value.

func (TcpRoute) String

func (s TcpRoute) String() string

String returns the string representation

func (*TcpRoute) Validate

func (s *TcpRoute) Validate() error

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

type TcpRouteAction

type TcpRouteAction struct {

	// The targets that traffic is routed to when a request matches the route. You
	// can specify one or more targets and their relative weights to distribute
	// traffic with.
	//
	// WeightedTargets is a required field
	WeightedTargets []*WeightedTarget `locationName:"weightedTargets" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

An object representing the traffic distribution requirements for matched TCP requests.

func (TcpRouteAction) GoString

func (s TcpRouteAction) GoString() string

GoString returns the string representation

func (*TcpRouteAction) SetWeightedTargets

func (s *TcpRouteAction) SetWeightedTargets(v []*WeightedTarget) *TcpRouteAction

SetWeightedTargets sets the WeightedTargets field's value.

func (TcpRouteAction) String

func (s TcpRouteAction) String() string

String returns the string representation

func (*TcpRouteAction) Validate

func (s *TcpRouteAction) Validate() error

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

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to delete tags from.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"`

	// The keys of the tags to be removed.
	//
	// TagKeys is a required field
	TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateMeshInput

type UpdateMeshInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// The name of the service mesh to update.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The service mesh specification to apply.
	Spec *MeshSpec `locationName:"spec" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateMeshInput) GoString

func (s UpdateMeshInput) GoString() string

GoString returns the string representation

func (*UpdateMeshInput) SetClientToken

func (s *UpdateMeshInput) SetClientToken(v string) *UpdateMeshInput

SetClientToken sets the ClientToken field's value.

func (*UpdateMeshInput) SetMeshName

func (s *UpdateMeshInput) SetMeshName(v string) *UpdateMeshInput

SetMeshName sets the MeshName field's value.

func (*UpdateMeshInput) SetSpec

func (s *UpdateMeshInput) SetSpec(v *MeshSpec) *UpdateMeshInput

SetSpec sets the Spec field's value.

func (UpdateMeshInput) String

func (s UpdateMeshInput) String() string

String returns the string representation

func (*UpdateMeshInput) Validate

func (s *UpdateMeshInput) Validate() error

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

type UpdateMeshOutput

type UpdateMeshOutput struct {

	// An object representing a service mesh returned by a describe operation.
	//
	// Mesh is a required field
	Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateMeshOutput) GoString

func (s UpdateMeshOutput) GoString() string

GoString returns the string representation

func (*UpdateMeshOutput) SetMesh

func (s *UpdateMeshOutput) SetMesh(v *MeshData) *UpdateMeshOutput

SetMesh sets the Mesh field's value.

func (UpdateMeshOutput) String

func (s UpdateMeshOutput) String() string

String returns the string representation

type UpdateRouteInput

type UpdateRouteInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// The name of the service mesh that the route resides in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the route to update.
	//
	// RouteName is a required field
	RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"`

	// The new route specification to apply. This overwrites the existing data.
	//
	// Spec is a required field
	Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"`

	// The name of the virtual router that the route is associated with.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateRouteInput) GoString

func (s UpdateRouteInput) GoString() string

GoString returns the string representation

func (*UpdateRouteInput) SetClientToken

func (s *UpdateRouteInput) SetClientToken(v string) *UpdateRouteInput

SetClientToken sets the ClientToken field's value.

func (*UpdateRouteInput) SetMeshName

func (s *UpdateRouteInput) SetMeshName(v string) *UpdateRouteInput

SetMeshName sets the MeshName field's value.

func (*UpdateRouteInput) SetRouteName

func (s *UpdateRouteInput) SetRouteName(v string) *UpdateRouteInput

SetRouteName sets the RouteName field's value.

func (*UpdateRouteInput) SetSpec

SetSpec sets the Spec field's value.

func (*UpdateRouteInput) SetVirtualRouterName

func (s *UpdateRouteInput) SetVirtualRouterName(v string) *UpdateRouteInput

SetVirtualRouterName sets the VirtualRouterName field's value.

func (UpdateRouteInput) String

func (s UpdateRouteInput) String() string

String returns the string representation

func (*UpdateRouteInput) Validate

func (s *UpdateRouteInput) Validate() error

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

type UpdateRouteOutput

type UpdateRouteOutput struct {

	// A full description of the route that was updated.
	//
	// Route is a required field
	Route *RouteData `locationName:"route" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateRouteOutput) GoString

func (s UpdateRouteOutput) GoString() string

GoString returns the string representation

func (*UpdateRouteOutput) SetRoute

SetRoute sets the Route field's value.

func (UpdateRouteOutput) String

func (s UpdateRouteOutput) String() string

String returns the string representation

type UpdateVirtualNodeInput

type UpdateVirtualNodeInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// The name of the service mesh that the virtual node resides in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The new virtual node specification to apply. This overwrites the existing
	// data.
	//
	// Spec is a required field
	Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"`

	// The name of the virtual node to update.
	//
	// VirtualNodeName is a required field
	VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVirtualNodeInput) GoString

func (s UpdateVirtualNodeInput) GoString() string

GoString returns the string representation

func (*UpdateVirtualNodeInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*UpdateVirtualNodeInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*UpdateVirtualNodeInput) SetSpec

SetSpec sets the Spec field's value.

func (*UpdateVirtualNodeInput) SetVirtualNodeName

func (s *UpdateVirtualNodeInput) SetVirtualNodeName(v string) *UpdateVirtualNodeInput

SetVirtualNodeName sets the VirtualNodeName field's value.

func (UpdateVirtualNodeInput) String

func (s UpdateVirtualNodeInput) String() string

String returns the string representation

func (*UpdateVirtualNodeInput) Validate

func (s *UpdateVirtualNodeInput) Validate() error

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

type UpdateVirtualNodeOutput

type UpdateVirtualNodeOutput struct {

	// A full description of the virtual node that was updated.
	//
	// VirtualNode is a required field
	VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVirtualNodeOutput) GoString

func (s UpdateVirtualNodeOutput) GoString() string

GoString returns the string representation

func (*UpdateVirtualNodeOutput) SetVirtualNode

SetVirtualNode sets the VirtualNode field's value.

func (UpdateVirtualNodeOutput) String

func (s UpdateVirtualNodeOutput) String() string

String returns the string representation

type UpdateVirtualRouterInput

type UpdateVirtualRouterInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// The name of the service mesh that the virtual router resides in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The new virtual router specification to apply. This overwrites the existing
	// data.
	//
	// Spec is a required field
	Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"`

	// The name of the virtual router to update.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVirtualRouterInput) GoString

func (s UpdateVirtualRouterInput) GoString() string

GoString returns the string representation

func (*UpdateVirtualRouterInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*UpdateVirtualRouterInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*UpdateVirtualRouterInput) SetSpec

SetSpec sets the Spec field's value.

func (*UpdateVirtualRouterInput) SetVirtualRouterName

func (s *UpdateVirtualRouterInput) SetVirtualRouterName(v string) *UpdateVirtualRouterInput

SetVirtualRouterName sets the VirtualRouterName field's value.

func (UpdateVirtualRouterInput) String

func (s UpdateVirtualRouterInput) String() string

String returns the string representation

func (*UpdateVirtualRouterInput) Validate

func (s *UpdateVirtualRouterInput) Validate() error

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

type UpdateVirtualRouterOutput

type UpdateVirtualRouterOutput struct {

	// A full description of the virtual router that was updated.
	//
	// VirtualRouter is a required field
	VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVirtualRouterOutput) GoString

func (s UpdateVirtualRouterOutput) GoString() string

GoString returns the string representation

func (*UpdateVirtualRouterOutput) SetVirtualRouter

SetVirtualRouter sets the VirtualRouter field's value.

func (UpdateVirtualRouterOutput) String

func (s UpdateVirtualRouterOutput) String() string

String returns the string representation

type UpdateVirtualServiceInput

type UpdateVirtualServiceInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// The name of the service mesh that the virtual service resides in.
	//
	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// The new virtual service specification to apply. This overwrites the existing
	// data.
	//
	// Spec is a required field
	Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"`

	// The name of the virtual service to update.
	//
	// VirtualServiceName is a required field
	VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVirtualServiceInput) GoString

func (s UpdateVirtualServiceInput) GoString() string

GoString returns the string representation

func (*UpdateVirtualServiceInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*UpdateVirtualServiceInput) SetMeshName

SetMeshName sets the MeshName field's value.

func (*UpdateVirtualServiceInput) SetSpec

SetSpec sets the Spec field's value.

func (*UpdateVirtualServiceInput) SetVirtualServiceName

func (s *UpdateVirtualServiceInput) SetVirtualServiceName(v string) *UpdateVirtualServiceInput

SetVirtualServiceName sets the VirtualServiceName field's value.

func (UpdateVirtualServiceInput) String

func (s UpdateVirtualServiceInput) String() string

String returns the string representation

func (*UpdateVirtualServiceInput) Validate

func (s *UpdateVirtualServiceInput) Validate() error

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

type UpdateVirtualServiceOutput

type UpdateVirtualServiceOutput struct {

	// A full description of the virtual service that was updated.
	//
	// VirtualService is a required field
	VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVirtualServiceOutput) GoString

func (s UpdateVirtualServiceOutput) GoString() string

GoString returns the string representation

func (*UpdateVirtualServiceOutput) SetVirtualService

SetVirtualService sets the VirtualService field's value.

func (UpdateVirtualServiceOutput) String

String returns the string representation

type VirtualNodeData

type VirtualNodeData struct {

	// The name of the service mesh that the virtual node resides in.
	//
	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

	// The associated metadata for the virtual node.
	//
	// Metadata is a required field
	Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"`

	// The specifications of the virtual node.
	//
	// Spec is a required field
	Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"`

	// The current status for the virtual node.
	//
	// Status is a required field
	Status *VirtualNodeStatus `locationName:"status" type:"structure" required:"true"`

	// The name of the virtual node.
	//
	// VirtualNodeName is a required field
	VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a virtual node returned by a describe operation.

func (VirtualNodeData) GoString

func (s VirtualNodeData) GoString() string

GoString returns the string representation

func (*VirtualNodeData) SetMeshName

func (s *VirtualNodeData) SetMeshName(v string) *VirtualNodeData

SetMeshName sets the MeshName field's value.

func (*VirtualNodeData) SetMetadata

func (s *VirtualNodeData) SetMetadata(v *ResourceMetadata) *VirtualNodeData

SetMetadata sets the Metadata field's value.

func (*VirtualNodeData) SetSpec

SetSpec sets the Spec field's value.

func (*VirtualNodeData) SetStatus

SetStatus sets the Status field's value.

func (*VirtualNodeData) SetVirtualNodeName

func (s *VirtualNodeData) SetVirtualNodeName(v string) *VirtualNodeData

SetVirtualNodeName sets the VirtualNodeName field's value.

func (VirtualNodeData) String

func (s VirtualNodeData) String() string

String returns the string representation

type VirtualNodeRef

type VirtualNodeRef struct {

	// The full Amazon Resource Name (ARN) for the virtual node.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// The name of the service mesh that the virtual node resides in.
	//
	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the virtual node.
	//
	// VirtualNodeName is a required field
	VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a virtual node returned by a list operation.

func (VirtualNodeRef) GoString

func (s VirtualNodeRef) GoString() string

GoString returns the string representation

func (*VirtualNodeRef) SetArn

func (s *VirtualNodeRef) SetArn(v string) *VirtualNodeRef

SetArn sets the Arn field's value.

func (*VirtualNodeRef) SetMeshName

func (s *VirtualNodeRef) SetMeshName(v string) *VirtualNodeRef

SetMeshName sets the MeshName field's value.

func (*VirtualNodeRef) SetVirtualNodeName

func (s *VirtualNodeRef) SetVirtualNodeName(v string) *VirtualNodeRef

SetVirtualNodeName sets the VirtualNodeName field's value.

func (VirtualNodeRef) String

func (s VirtualNodeRef) String() string

String returns the string representation

type VirtualNodeServiceProvider

type VirtualNodeServiceProvider struct {

	// The name of the virtual node that is acting as a service provider.
	//
	// VirtualNodeName is a required field
	VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a virtual node service provider.

func (VirtualNodeServiceProvider) GoString

func (s VirtualNodeServiceProvider) GoString() string

GoString returns the string representation

func (*VirtualNodeServiceProvider) SetVirtualNodeName

SetVirtualNodeName sets the VirtualNodeName field's value.

func (VirtualNodeServiceProvider) String

String returns the string representation

func (*VirtualNodeServiceProvider) Validate

func (s *VirtualNodeServiceProvider) Validate() error

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

type VirtualNodeSpec

type VirtualNodeSpec struct {

	// The backends that the virtual node is expected to send outbound traffic to.
	Backends []*Backend `locationName:"backends" type:"list"`

	// The listeners that the virtual node is expected to receive inbound traffic
	// from. Currently only one listener is supported per virtual node.
	Listeners []*Listener `locationName:"listeners" type:"list"`

	// The inbound and outbound access logging information for the virtual node.
	Logging *Logging `locationName:"logging" type:"structure"`

	// The service discovery information for the virtual node. If your virtual node
	// does not expect ingress traffic, you can omit this parameter.
	ServiceDiscovery *ServiceDiscovery `locationName:"serviceDiscovery" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the specification of a virtual node.

func (VirtualNodeSpec) GoString

func (s VirtualNodeSpec) GoString() string

GoString returns the string representation

func (*VirtualNodeSpec) SetBackends

func (s *VirtualNodeSpec) SetBackends(v []*Backend) *VirtualNodeSpec

SetBackends sets the Backends field's value.

func (*VirtualNodeSpec) SetListeners

func (s *VirtualNodeSpec) SetListeners(v []*Listener) *VirtualNodeSpec

SetListeners sets the Listeners field's value.

func (*VirtualNodeSpec) SetLogging

func (s *VirtualNodeSpec) SetLogging(v *Logging) *VirtualNodeSpec

SetLogging sets the Logging field's value.

func (*VirtualNodeSpec) SetServiceDiscovery

func (s *VirtualNodeSpec) SetServiceDiscovery(v *ServiceDiscovery) *VirtualNodeSpec

SetServiceDiscovery sets the ServiceDiscovery field's value.

func (VirtualNodeSpec) String

func (s VirtualNodeSpec) String() string

String returns the string representation

func (*VirtualNodeSpec) Validate

func (s *VirtualNodeSpec) Validate() error

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

type VirtualNodeStatus

type VirtualNodeStatus struct {

	// The current status of the virtual node.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"VirtualNodeStatusCode"`
	// contains filtered or unexported fields
}

An object representing the current status of the virtual node.

func (VirtualNodeStatus) GoString

func (s VirtualNodeStatus) GoString() string

GoString returns the string representation

func (*VirtualNodeStatus) SetStatus

func (s *VirtualNodeStatus) SetStatus(v string) *VirtualNodeStatus

SetStatus sets the Status field's value.

func (VirtualNodeStatus) String

func (s VirtualNodeStatus) String() string

String returns the string representation

type VirtualRouterData

type VirtualRouterData struct {

	// The name of the service mesh that the virtual router resides in.
	//
	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

	// The associated metadata for the virtual router.
	//
	// Metadata is a required field
	Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"`

	// The specifications of the virtual router.
	//
	// Spec is a required field
	Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"`

	// The current status of the virtual router.
	//
	// Status is a required field
	Status *VirtualRouterStatus `locationName:"status" type:"structure" required:"true"`

	// The name of the virtual router.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a virtual router returned by a describe operation.

func (VirtualRouterData) GoString

func (s VirtualRouterData) GoString() string

GoString returns the string representation

func (*VirtualRouterData) SetMeshName

func (s *VirtualRouterData) SetMeshName(v string) *VirtualRouterData

SetMeshName sets the MeshName field's value.

func (*VirtualRouterData) SetMetadata

SetMetadata sets the Metadata field's value.

func (*VirtualRouterData) SetSpec

SetSpec sets the Spec field's value.

func (*VirtualRouterData) SetStatus

SetStatus sets the Status field's value.

func (*VirtualRouterData) SetVirtualRouterName

func (s *VirtualRouterData) SetVirtualRouterName(v string) *VirtualRouterData

SetVirtualRouterName sets the VirtualRouterName field's value.

func (VirtualRouterData) String

func (s VirtualRouterData) String() string

String returns the string representation

type VirtualRouterListener

type VirtualRouterListener struct {

	// An object representing a virtual node or virtual router listener port mapping.
	//
	// PortMapping is a required field
	PortMapping *PortMapping `locationName:"portMapping" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

An object representing a virtual router listener.

func (VirtualRouterListener) GoString

func (s VirtualRouterListener) GoString() string

GoString returns the string representation

func (*VirtualRouterListener) SetPortMapping

SetPortMapping sets the PortMapping field's value.

func (VirtualRouterListener) String

func (s VirtualRouterListener) String() string

String returns the string representation

func (*VirtualRouterListener) Validate

func (s *VirtualRouterListener) Validate() error

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

type VirtualRouterRef

type VirtualRouterRef struct {

	// The full Amazon Resource Name (ARN) for the virtual router.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// The name of the service mesh that the virtual router resides in.
	//
	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the virtual router.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a virtual router returned by a list operation.

func (VirtualRouterRef) GoString

func (s VirtualRouterRef) GoString() string

GoString returns the string representation

func (*VirtualRouterRef) SetArn

SetArn sets the Arn field's value.

func (*VirtualRouterRef) SetMeshName

func (s *VirtualRouterRef) SetMeshName(v string) *VirtualRouterRef

SetMeshName sets the MeshName field's value.

func (*VirtualRouterRef) SetVirtualRouterName

func (s *VirtualRouterRef) SetVirtualRouterName(v string) *VirtualRouterRef

SetVirtualRouterName sets the VirtualRouterName field's value.

func (VirtualRouterRef) String

func (s VirtualRouterRef) String() string

String returns the string representation

type VirtualRouterServiceProvider

type VirtualRouterServiceProvider struct {

	// The name of the virtual router that is acting as a service provider.
	//
	// VirtualRouterName is a required field
	VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a virtual node service provider.

func (VirtualRouterServiceProvider) GoString

func (s VirtualRouterServiceProvider) GoString() string

GoString returns the string representation

func (*VirtualRouterServiceProvider) SetVirtualRouterName

SetVirtualRouterName sets the VirtualRouterName field's value.

func (VirtualRouterServiceProvider) String

String returns the string representation

func (*VirtualRouterServiceProvider) Validate

func (s *VirtualRouterServiceProvider) Validate() error

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

type VirtualRouterSpec

type VirtualRouterSpec struct {

	// The listeners that the virtual router is expected to receive inbound traffic
	// from. Currently only one listener is supported per virtual router.
	Listeners []*VirtualRouterListener `locationName:"listeners" min:"1" type:"list"`
	// contains filtered or unexported fields
}

An object representing the specification of a virtual router.

func (VirtualRouterSpec) GoString

func (s VirtualRouterSpec) GoString() string

GoString returns the string representation

func (*VirtualRouterSpec) SetListeners

SetListeners sets the Listeners field's value.

func (VirtualRouterSpec) String

func (s VirtualRouterSpec) String() string

String returns the string representation

func (*VirtualRouterSpec) Validate

func (s *VirtualRouterSpec) Validate() error

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

type VirtualRouterStatus

type VirtualRouterStatus struct {

	// The current status of the virtual router.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"VirtualRouterStatusCode"`
	// contains filtered or unexported fields
}

An object representing the status of a virtual router.

func (VirtualRouterStatus) GoString

func (s VirtualRouterStatus) GoString() string

GoString returns the string representation

func (*VirtualRouterStatus) SetStatus

SetStatus sets the Status field's value.

func (VirtualRouterStatus) String

func (s VirtualRouterStatus) String() string

String returns the string representation

type VirtualServiceBackend

type VirtualServiceBackend struct {

	// The name of the virtual service that is acting as a virtual node backend.
	//
	// VirtualServiceName is a required field
	VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a virtual service backend for a virtual node.

func (VirtualServiceBackend) GoString

func (s VirtualServiceBackend) GoString() string

GoString returns the string representation

func (*VirtualServiceBackend) SetVirtualServiceName

func (s *VirtualServiceBackend) SetVirtualServiceName(v string) *VirtualServiceBackend

SetVirtualServiceName sets the VirtualServiceName field's value.

func (VirtualServiceBackend) String

func (s VirtualServiceBackend) String() string

String returns the string representation

func (*VirtualServiceBackend) Validate

func (s *VirtualServiceBackend) Validate() error

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

type VirtualServiceData

type VirtualServiceData struct {

	// The name of the service mesh that the virtual service resides in.
	//
	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

	// An object representing metadata for a resource.
	//
	// Metadata is a required field
	Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"`

	// The specifications of the virtual service.
	//
	// Spec is a required field
	Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"`

	// The current status of the virtual service.
	//
	// Status is a required field
	Status *VirtualServiceStatus `locationName:"status" type:"structure" required:"true"`

	// The name of the virtual service.
	//
	// VirtualServiceName is a required field
	VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a virtual service returned by a describe operation.

func (VirtualServiceData) GoString

func (s VirtualServiceData) GoString() string

GoString returns the string representation

func (*VirtualServiceData) SetMeshName

func (s *VirtualServiceData) SetMeshName(v string) *VirtualServiceData

SetMeshName sets the MeshName field's value.

func (*VirtualServiceData) SetMetadata

SetMetadata sets the Metadata field's value.

func (*VirtualServiceData) SetSpec

SetSpec sets the Spec field's value.

func (*VirtualServiceData) SetStatus

SetStatus sets the Status field's value.

func (*VirtualServiceData) SetVirtualServiceName

func (s *VirtualServiceData) SetVirtualServiceName(v string) *VirtualServiceData

SetVirtualServiceName sets the VirtualServiceName field's value.

func (VirtualServiceData) String

func (s VirtualServiceData) String() string

String returns the string representation

type VirtualServiceProvider

type VirtualServiceProvider struct {

	// The virtual node associated with a virtual service.
	VirtualNode *VirtualNodeServiceProvider `locationName:"virtualNode" type:"structure"`

	// The virtual router associated with a virtual service.
	VirtualRouter *VirtualRouterServiceProvider `locationName:"virtualRouter" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the provider for a virtual service.

func (VirtualServiceProvider) GoString

func (s VirtualServiceProvider) GoString() string

GoString returns the string representation

func (*VirtualServiceProvider) SetVirtualNode

SetVirtualNode sets the VirtualNode field's value.

func (*VirtualServiceProvider) SetVirtualRouter

SetVirtualRouter sets the VirtualRouter field's value.

func (VirtualServiceProvider) String

func (s VirtualServiceProvider) String() string

String returns the string representation

func (*VirtualServiceProvider) Validate

func (s *VirtualServiceProvider) Validate() error

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

type VirtualServiceRef

type VirtualServiceRef struct {

	// The full Amazon Resource Name (ARN) for the virtual service.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// The name of the service mesh that the virtual service resides in.
	//
	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

	// The name of the virtual service.
	//
	// VirtualServiceName is a required field
	VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a virtual service returned by a list operation.

func (VirtualServiceRef) GoString

func (s VirtualServiceRef) GoString() string

GoString returns the string representation

func (*VirtualServiceRef) SetArn

SetArn sets the Arn field's value.

func (*VirtualServiceRef) SetMeshName

func (s *VirtualServiceRef) SetMeshName(v string) *VirtualServiceRef

SetMeshName sets the MeshName field's value.

func (*VirtualServiceRef) SetVirtualServiceName

func (s *VirtualServiceRef) SetVirtualServiceName(v string) *VirtualServiceRef

SetVirtualServiceName sets the VirtualServiceName field's value.

func (VirtualServiceRef) String

func (s VirtualServiceRef) String() string

String returns the string representation

type VirtualServiceSpec

type VirtualServiceSpec struct {

	// The App Mesh object that is acting as the provider for a virtual service.
	// You can specify a single virtual node or virtual router.
	Provider *VirtualServiceProvider `locationName:"provider" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the specification of a virtual service.

func (VirtualServiceSpec) GoString

func (s VirtualServiceSpec) GoString() string

GoString returns the string representation

func (*VirtualServiceSpec) SetProvider

SetProvider sets the Provider field's value.

func (VirtualServiceSpec) String

func (s VirtualServiceSpec) String() string

String returns the string representation

func (*VirtualServiceSpec) Validate

func (s *VirtualServiceSpec) Validate() error

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

type VirtualServiceStatus

type VirtualServiceStatus struct {

	// The current status of the virtual service.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"VirtualServiceStatusCode"`
	// contains filtered or unexported fields
}

An object representing the status of a virtual service.

func (VirtualServiceStatus) GoString

func (s VirtualServiceStatus) GoString() string

GoString returns the string representation

func (*VirtualServiceStatus) SetStatus

SetStatus sets the Status field's value.

func (VirtualServiceStatus) String

func (s VirtualServiceStatus) String() string

String returns the string representation

type WeightedTarget

type WeightedTarget struct {

	// The virtual node to associate with the weighted target.
	//
	// VirtualNode is a required field
	VirtualNode *string `locationName:"virtualNode" min:"1" type:"string" required:"true"`

	// The relative weight of the weighted target.
	//
	// Weight is a required field
	Weight *int64 `locationName:"weight" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

An object representing a target and its relative weight. Traffic is distributed across targets according to their relative weight. For example, a weighted target with a relative weight of 50 receives five times as much traffic as one with a relative weight of 10.

func (WeightedTarget) GoString

func (s WeightedTarget) GoString() string

GoString returns the string representation

func (*WeightedTarget) SetVirtualNode

func (s *WeightedTarget) SetVirtualNode(v string) *WeightedTarget

SetVirtualNode sets the VirtualNode field's value.

func (*WeightedTarget) SetWeight

func (s *WeightedTarget) SetWeight(v int64) *WeightedTarget

SetWeight sets the Weight field's value.

func (WeightedTarget) String

func (s WeightedTarget) String() string

String returns the string representation

func (*WeightedTarget) Validate

func (s *WeightedTarget) Validate() error

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

Directories

Path Synopsis
Package appmeshiface provides an interface to enable mocking the AWS App Mesh service client for testing your code.
Package appmeshiface provides an interface to enable mocking the AWS App Mesh service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL