appmesh

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: Apache-2.0 Imports: 8 Imported by: 26

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 use 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 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 (
	ServiceName = "AWS App Mesh" // Service's name
	ServiceID   = "AppMesh"      // Service's identifier
	EndpointsID = "appmesh"      // Service's Endpoint identifier
)
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"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLog added in v0.8.0

type AccessLog struct {

	// An object representing an access log file.
	File *FileAccessLog `locationName:"file" type:"structure"`
	// contains filtered or unexported fields
}

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

func (AccessLog) MarshalFields added in v0.8.0

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

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

func (AccessLog) String added in v0.8.0

func (s AccessLog) String() string

String returns the string representation

func (*AccessLog) Validate added in v0.8.0

func (s *AccessLog) Validate() error

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

type AwsCloudMapInstanceAttribute added in v0.10.0

type AwsCloudMapInstanceAttribute struct {

	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

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

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

func (AwsCloudMapInstanceAttribute) String added in v0.10.0

String returns the string representation

func (*AwsCloudMapInstanceAttribute) Validate added in v0.10.0

func (s *AwsCloudMapInstanceAttribute) Validate() error

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

type AwsCloudMapServiceDiscovery added in v0.10.0

type AwsCloudMapServiceDiscovery struct {
	Attributes []AwsCloudMapInstanceAttribute `locationName:"attributes" type:"list"`

	// NamespaceName is a required field
	NamespaceName *string `locationName:"namespaceName" min:"1" type:"string" required:"true"`

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

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

func (AwsCloudMapServiceDiscovery) String added in v0.10.0

String returns the string representation

func (*AwsCloudMapServiceDiscovery) Validate added in v0.10.0

func (s *AwsCloudMapServiceDiscovery) Validate() error

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

type Backend added in v0.8.0

type Backend struct {

	// An object representing a virtual service 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) MarshalFields added in v0.8.0

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

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

func (Backend) String added in v0.8.0

func (s Backend) String() string

String returns the string representation

func (*Backend) Validate added in v0.8.0

func (s *Backend) Validate() error

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

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Client

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

Example:

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

func (*Client) CreateMeshRequest added in v0.9.0

func (c *Client) CreateMeshRequest(input *CreateMeshInput) CreateMeshRequest

CreateMeshRequest returns a request value for making 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.

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

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

func (*Client) CreateRouteRequest added in v0.9.0

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

CreateRouteRequest returns a request value for making API operation for 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.

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

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

func (*Client) CreateVirtualNodeRequest added in v0.9.0

func (c *Client) CreateVirtualNodeRequest(input *CreateVirtualNodeInput) CreateVirtualNodeRequest

CreateVirtualNodeRequest returns a request value for making 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.

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

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

func (*Client) CreateVirtualRouterRequest added in v0.9.0

func (c *Client) CreateVirtualRouterRequest(input *CreateVirtualRouterInput) CreateVirtualRouterRequest

CreateVirtualRouterRequest returns a request value for making 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.

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

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

func (*Client) CreateVirtualServiceRequest added in v0.9.0

func (c *Client) CreateVirtualServiceRequest(input *CreateVirtualServiceInput) CreateVirtualServiceRequest

CreateVirtualServiceRequest returns a request value for making 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.

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

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

func (*Client) DeleteMeshRequest added in v0.9.0

func (c *Client) DeleteMeshRequest(input *DeleteMeshInput) DeleteMeshRequest

DeleteMeshRequest returns a request value for making 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.

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

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

func (*Client) DeleteRouteRequest added in v0.9.0

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

DeleteRouteRequest returns a request value for making API operation for AWS App Mesh.

Deletes an existing route.

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

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

func (*Client) DeleteVirtualNodeRequest added in v0.9.0

func (c *Client) DeleteVirtualNodeRequest(input *DeleteVirtualNodeInput) DeleteVirtualNodeRequest

DeleteVirtualNodeRequest returns a request value for making 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.

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

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

func (*Client) DeleteVirtualRouterRequest added in v0.9.0

func (c *Client) DeleteVirtualRouterRequest(input *DeleteVirtualRouterInput) DeleteVirtualRouterRequest

DeleteVirtualRouterRequest returns a request value for making 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.

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

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

func (*Client) DeleteVirtualServiceRequest added in v0.9.0

func (c *Client) DeleteVirtualServiceRequest(input *DeleteVirtualServiceInput) DeleteVirtualServiceRequest

DeleteVirtualServiceRequest returns a request value for making API operation for AWS App Mesh.

Deletes an existing virtual service.

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

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

func (*Client) DescribeMeshRequest added in v0.9.0

func (c *Client) DescribeMeshRequest(input *DescribeMeshInput) DescribeMeshRequest

DescribeMeshRequest returns a request value for making API operation for AWS App Mesh.

Describes an existing service mesh.

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

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

func (*Client) DescribeRouteRequest added in v0.9.0

func (c *Client) DescribeRouteRequest(input *DescribeRouteInput) DescribeRouteRequest

DescribeRouteRequest returns a request value for making API operation for AWS App Mesh.

Describes an existing route.

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

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

func (*Client) DescribeVirtualNodeRequest added in v0.9.0

func (c *Client) DescribeVirtualNodeRequest(input *DescribeVirtualNodeInput) DescribeVirtualNodeRequest

DescribeVirtualNodeRequest returns a request value for making API operation for AWS App Mesh.

Describes an existing virtual node.

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

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

func (*Client) DescribeVirtualRouterRequest added in v0.9.0

func (c *Client) DescribeVirtualRouterRequest(input *DescribeVirtualRouterInput) DescribeVirtualRouterRequest

DescribeVirtualRouterRequest returns a request value for making API operation for AWS App Mesh.

Describes an existing virtual router.

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

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

func (*Client) DescribeVirtualServiceRequest added in v0.9.0

func (c *Client) DescribeVirtualServiceRequest(input *DescribeVirtualServiceInput) DescribeVirtualServiceRequest

DescribeVirtualServiceRequest returns a request value for making API operation for AWS App Mesh.

Describes an existing virtual service.

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

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

func (*Client) ListMeshesRequest added in v0.9.0

func (c *Client) ListMeshesRequest(input *ListMeshesInput) ListMeshesRequest

ListMeshesRequest returns a request value for making API operation for AWS App Mesh.

Returns a list of existing service meshes.

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

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

func (*Client) ListRoutesRequest added in v0.9.0

func (c *Client) ListRoutesRequest(input *ListRoutesInput) ListRoutesRequest

ListRoutesRequest returns a request value for making API operation for AWS App Mesh.

Returns a list of existing routes in a service mesh.

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

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

func (*Client) ListTagsForResourceRequest added in v0.9.0

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for AWS App Mesh.

List the tags for an App Mesh resource.

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

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

func (*Client) ListVirtualNodesRequest added in v0.9.0

func (c *Client) ListVirtualNodesRequest(input *ListVirtualNodesInput) ListVirtualNodesRequest

ListVirtualNodesRequest returns a request value for making API operation for AWS App Mesh.

Returns a list of existing virtual nodes.

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

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

func (*Client) ListVirtualRoutersRequest added in v0.9.0

func (c *Client) ListVirtualRoutersRequest(input *ListVirtualRoutersInput) ListVirtualRoutersRequest

ListVirtualRoutersRequest returns a request value for making API operation for AWS App Mesh.

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

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

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

func (*Client) ListVirtualServicesRequest added in v0.9.0

func (c *Client) ListVirtualServicesRequest(input *ListVirtualServicesInput) ListVirtualServicesRequest

ListVirtualServicesRequest returns a request value for making API operation for AWS App Mesh.

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

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

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

func (*Client) TagResourceRequest added in v0.9.0

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

TagResourceRequest returns a request value for making 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.

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

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

func (*Client) UntagResourceRequest added in v0.9.0

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

UntagResourceRequest returns a request value for making API operation for AWS App Mesh.

Deletes specified tags from a resource.

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

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

func (*Client) UpdateMeshRequest added in v0.9.0

func (c *Client) UpdateMeshRequest(input *UpdateMeshInput) UpdateMeshRequest

UpdateMeshRequest returns a request value for making API operation for AWS App Mesh.

Updates an existing service mesh.

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

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

func (*Client) UpdateRouteRequest added in v0.9.0

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

UpdateRouteRequest returns a request value for making API operation for AWS App Mesh.

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

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

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

func (*Client) UpdateVirtualNodeRequest added in v0.9.0

func (c *Client) UpdateVirtualNodeRequest(input *UpdateVirtualNodeInput) UpdateVirtualNodeRequest

UpdateVirtualNodeRequest returns a request value for making API operation for AWS App Mesh.

Updates an existing virtual node in a specified service mesh.

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

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

func (*Client) UpdateVirtualRouterRequest added in v0.9.0

func (c *Client) UpdateVirtualRouterRequest(input *UpdateVirtualRouterInput) UpdateVirtualRouterRequest

UpdateVirtualRouterRequest returns a request value for making API operation for AWS App Mesh.

Updates an existing virtual router in a specified service mesh.

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

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

func (*Client) UpdateVirtualServiceRequest added in v0.9.0

func (c *Client) UpdateVirtualServiceRequest(input *UpdateVirtualServiceInput) UpdateVirtualServiceRequest

UpdateVirtualServiceRequest returns a request value for making API operation for AWS App Mesh.

Updates an existing virtual service in a specified service mesh.

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

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

type CreateMeshInput

type CreateMeshInput struct {
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

	// An object representing the specification of a service mesh.
	Spec *MeshSpec `locationName:"spec" type:"structure"`

	Tags []TagRef `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateMeshInput) MarshalFields

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

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

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 {

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

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

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

func (CreateMeshOutput) String

func (s CreateMeshOutput) String() string

String returns the string representation

type CreateMeshRequest

type CreateMeshRequest struct {
	*aws.Request
	Input *CreateMeshInput
	Copy  func(*CreateMeshInput) CreateMeshRequest
}

CreateMeshRequest is the request type for the CreateMesh API operation.

func (CreateMeshRequest) Send

Send marshals and sends the CreateMesh API request.

type CreateMeshResponse added in v0.9.0

type CreateMeshResponse struct {
	*CreateMeshOutput
	// contains filtered or unexported fields
}

CreateMeshResponse is the response type for the CreateMesh API operation.

func (*CreateMeshResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateMesh request.

type CreateRouteInput

type CreateRouteInput struct {
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// RouteName is a required field
	RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"`

	// An object representing the specification of a route.
	//
	// Spec is a required field
	Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"`

	Tags []TagRef `locationName:"tags" type:"list"`

	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateRouteInput) MarshalFields

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

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

func (CreateRouteInput) String

func (s CreateRouteInput) String() string

String returns the string representation

func (*CreateRouteInput) Validate

func (s *CreateRouteInput) Validate() error

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

type CreateRouteOutput

type CreateRouteOutput struct {

	// An object representing a route returned by a describe operation.
	//
	// Route is a required field
	Route *RouteData `locationName:"route" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateRouteOutput) MarshalFields

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

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

func (CreateRouteOutput) String

func (s CreateRouteOutput) String() string

String returns the string representation

type CreateRouteRequest

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

CreateRouteRequest is the request type for the CreateRoute API operation.

func (CreateRouteRequest) Send

Send marshals and sends the CreateRoute API request.

type CreateRouteResponse added in v0.9.0

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

CreateRouteResponse is the response type for the CreateRoute API operation.

func (*CreateRouteResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateRoute request.

type CreateVirtualNodeInput

type CreateVirtualNodeInput struct {
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// An object representing the specification of a virtual node.
	//
	// Spec is a required field
	Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"`

	Tags []TagRef `locationName:"tags" type:"list"`

	// VirtualNodeName is a required field
	VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVirtualNodeInput) MarshalFields

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

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 {

	// An object representing a virtual node returned by a describe operation.
	//
	// VirtualNode is a required field
	VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVirtualNodeOutput) MarshalFields

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

func (CreateVirtualNodeOutput) String

func (s CreateVirtualNodeOutput) String() string

String returns the string representation

type CreateVirtualNodeRequest

type CreateVirtualNodeRequest struct {
	*aws.Request
	Input *CreateVirtualNodeInput
	Copy  func(*CreateVirtualNodeInput) CreateVirtualNodeRequest
}

CreateVirtualNodeRequest is the request type for the CreateVirtualNode API operation.

func (CreateVirtualNodeRequest) Send

Send marshals and sends the CreateVirtualNode API request.

type CreateVirtualNodeResponse added in v0.9.0

type CreateVirtualNodeResponse struct {
	*CreateVirtualNodeOutput
	// contains filtered or unexported fields
}

CreateVirtualNodeResponse is the response type for the CreateVirtualNode API operation.

func (*CreateVirtualNodeResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateVirtualNode request.

type CreateVirtualRouterInput

type CreateVirtualRouterInput struct {
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// An object representing the specification of a virtual router.
	//
	// Spec is a required field
	Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"`

	Tags []TagRef `locationName:"tags" type:"list"`

	// VirtualRouterName is a required field
	VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVirtualRouterInput) MarshalFields

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

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 {

	// An object representing a virtual router returned by a describe operation.
	//
	// VirtualRouter is a required field
	VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVirtualRouterOutput) MarshalFields

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

func (CreateVirtualRouterOutput) String

func (s CreateVirtualRouterOutput) String() string

String returns the string representation

type CreateVirtualRouterRequest

type CreateVirtualRouterRequest struct {
	*aws.Request
	Input *CreateVirtualRouterInput
	Copy  func(*CreateVirtualRouterInput) CreateVirtualRouterRequest
}

CreateVirtualRouterRequest is the request type for the CreateVirtualRouter API operation.

func (CreateVirtualRouterRequest) Send

Send marshals and sends the CreateVirtualRouter API request.

type CreateVirtualRouterResponse added in v0.9.0

type CreateVirtualRouterResponse struct {
	*CreateVirtualRouterOutput
	// contains filtered or unexported fields
}

CreateVirtualRouterResponse is the response type for the CreateVirtualRouter API operation.

func (*CreateVirtualRouterResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateVirtualRouter request.

type CreateVirtualServiceInput added in v0.8.0

type CreateVirtualServiceInput struct {
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// An object representing the specification of a virtual service.
	//
	// Spec is a required field
	Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"`

	Tags []TagRef `locationName:"tags" type:"list"`

	// VirtualServiceName is a required field
	VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVirtualServiceInput) MarshalFields added in v0.8.0

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

func (CreateVirtualServiceInput) String added in v0.8.0

func (s CreateVirtualServiceInput) String() string

String returns the string representation

func (*CreateVirtualServiceInput) Validate added in v0.8.0

func (s *CreateVirtualServiceInput) Validate() error

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

type CreateVirtualServiceOutput added in v0.8.0

type CreateVirtualServiceOutput struct {

	// An object representing a virtual service returned by a describe operation.
	//
	// VirtualService is a required field
	VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVirtualServiceOutput) MarshalFields added in v0.8.0

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

func (CreateVirtualServiceOutput) String added in v0.8.0

String returns the string representation

type CreateVirtualServiceRequest added in v0.8.0

type CreateVirtualServiceRequest struct {
	*aws.Request
	Input *CreateVirtualServiceInput
	Copy  func(*CreateVirtualServiceInput) CreateVirtualServiceRequest
}

CreateVirtualServiceRequest is the request type for the CreateVirtualService API operation.

func (CreateVirtualServiceRequest) Send added in v0.8.0

Send marshals and sends the CreateVirtualService API request.

type CreateVirtualServiceResponse added in v0.9.0

type CreateVirtualServiceResponse struct {
	*CreateVirtualServiceOutput
	// contains filtered or unexported fields
}

CreateVirtualServiceResponse is the response type for the CreateVirtualService API operation.

func (*CreateVirtualServiceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateVirtualService request.

type DeleteMeshInput

type DeleteMeshInput struct {

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMeshInput) MarshalFields

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

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

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 {

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

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

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

func (DeleteMeshOutput) String

func (s DeleteMeshOutput) String() string

String returns the string representation

type DeleteMeshRequest

type DeleteMeshRequest struct {
	*aws.Request
	Input *DeleteMeshInput
	Copy  func(*DeleteMeshInput) DeleteMeshRequest
}

DeleteMeshRequest is the request type for the DeleteMesh API operation.

func (DeleteMeshRequest) Send

Send marshals and sends the DeleteMesh API request.

type DeleteMeshResponse added in v0.9.0

type DeleteMeshResponse struct {
	*DeleteMeshOutput
	// contains filtered or unexported fields
}

DeleteMeshResponse is the response type for the DeleteMesh API operation.

func (*DeleteMeshResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteMesh request.

type DeleteRouteInput

type DeleteRouteInput struct {

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// RouteName is a required field
	RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"`

	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRouteInput) MarshalFields

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

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

func (DeleteRouteInput) String

func (s DeleteRouteInput) String() string

String returns the string representation

func (*DeleteRouteInput) Validate

func (s *DeleteRouteInput) Validate() error

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

type DeleteRouteOutput

type DeleteRouteOutput struct {

	// An object representing a route returned by a describe operation.
	//
	// Route is a required field
	Route *RouteData `locationName:"route" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRouteOutput) MarshalFields

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

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

func (DeleteRouteOutput) String

func (s DeleteRouteOutput) String() string

String returns the string representation

type DeleteRouteRequest

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

DeleteRouteRequest is the request type for the DeleteRoute API operation.

func (DeleteRouteRequest) Send

Send marshals and sends the DeleteRoute API request.

type DeleteRouteResponse added in v0.9.0

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

DeleteRouteResponse is the response type for the DeleteRoute API operation.

func (*DeleteRouteResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteRoute request.

type DeleteVirtualNodeInput

type DeleteVirtualNodeInput struct {

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// VirtualNodeName is a required field
	VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVirtualNodeInput) MarshalFields

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

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 {

	// An object representing a virtual node returned by a describe operation.
	//
	// VirtualNode is a required field
	VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVirtualNodeOutput) MarshalFields

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

func (DeleteVirtualNodeOutput) String

func (s DeleteVirtualNodeOutput) String() string

String returns the string representation

type DeleteVirtualNodeRequest

type DeleteVirtualNodeRequest struct {
	*aws.Request
	Input *DeleteVirtualNodeInput
	Copy  func(*DeleteVirtualNodeInput) DeleteVirtualNodeRequest
}

DeleteVirtualNodeRequest is the request type for the DeleteVirtualNode API operation.

func (DeleteVirtualNodeRequest) Send

Send marshals and sends the DeleteVirtualNode API request.

type DeleteVirtualNodeResponse added in v0.9.0

type DeleteVirtualNodeResponse struct {
	*DeleteVirtualNodeOutput
	// contains filtered or unexported fields
}

DeleteVirtualNodeResponse is the response type for the DeleteVirtualNode API operation.

func (*DeleteVirtualNodeResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteVirtualNode request.

type DeleteVirtualRouterInput

type DeleteVirtualRouterInput struct {

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVirtualRouterInput) MarshalFields

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

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 {

	// An object representing a virtual router returned by a describe operation.
	//
	// VirtualRouter is a required field
	VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVirtualRouterOutput) MarshalFields

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

func (DeleteVirtualRouterOutput) String

func (s DeleteVirtualRouterOutput) String() string

String returns the string representation

type DeleteVirtualRouterRequest

type DeleteVirtualRouterRequest struct {
	*aws.Request
	Input *DeleteVirtualRouterInput
	Copy  func(*DeleteVirtualRouterInput) DeleteVirtualRouterRequest
}

DeleteVirtualRouterRequest is the request type for the DeleteVirtualRouter API operation.

func (DeleteVirtualRouterRequest) Send

Send marshals and sends the DeleteVirtualRouter API request.

type DeleteVirtualRouterResponse added in v0.9.0

type DeleteVirtualRouterResponse struct {
	*DeleteVirtualRouterOutput
	// contains filtered or unexported fields
}

DeleteVirtualRouterResponse is the response type for the DeleteVirtualRouter API operation.

func (*DeleteVirtualRouterResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteVirtualRouter request.

type DeleteVirtualServiceInput added in v0.8.0

type DeleteVirtualServiceInput struct {

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

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

func (DeleteVirtualServiceInput) MarshalFields added in v0.8.0

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

func (DeleteVirtualServiceInput) String added in v0.8.0

func (s DeleteVirtualServiceInput) String() string

String returns the string representation

func (*DeleteVirtualServiceInput) Validate added in v0.8.0

func (s *DeleteVirtualServiceInput) Validate() error

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

type DeleteVirtualServiceOutput added in v0.8.0

type DeleteVirtualServiceOutput struct {

	// An object representing a virtual service returned by a describe operation.
	//
	// VirtualService is a required field
	VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVirtualServiceOutput) MarshalFields added in v0.8.0

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

func (DeleteVirtualServiceOutput) String added in v0.8.0

String returns the string representation

type DeleteVirtualServiceRequest added in v0.8.0

type DeleteVirtualServiceRequest struct {
	*aws.Request
	Input *DeleteVirtualServiceInput
	Copy  func(*DeleteVirtualServiceInput) DeleteVirtualServiceRequest
}

DeleteVirtualServiceRequest is the request type for the DeleteVirtualService API operation.

func (DeleteVirtualServiceRequest) Send added in v0.8.0

Send marshals and sends the DeleteVirtualService API request.

type DeleteVirtualServiceResponse added in v0.9.0

type DeleteVirtualServiceResponse struct {
	*DeleteVirtualServiceOutput
	// contains filtered or unexported fields
}

DeleteVirtualServiceResponse is the response type for the DeleteVirtualService API operation.

func (*DeleteVirtualServiceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteVirtualService request.

type DescribeMeshInput

type DescribeMeshInput struct {

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeMeshInput) MarshalFields

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

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

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 {

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

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

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

func (DescribeMeshOutput) String

func (s DescribeMeshOutput) String() string

String returns the string representation

type DescribeMeshRequest

type DescribeMeshRequest struct {
	*aws.Request
	Input *DescribeMeshInput
	Copy  func(*DescribeMeshInput) DescribeMeshRequest
}

DescribeMeshRequest is the request type for the DescribeMesh API operation.

func (DescribeMeshRequest) Send

Send marshals and sends the DescribeMesh API request.

type DescribeMeshResponse added in v0.9.0

type DescribeMeshResponse struct {
	*DescribeMeshOutput
	// contains filtered or unexported fields
}

DescribeMeshResponse is the response type for the DescribeMesh API operation.

func (*DescribeMeshResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeMesh request.

type DescribeRouteInput

type DescribeRouteInput struct {

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// RouteName is a required field
	RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"`

	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRouteInput) MarshalFields

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

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

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 {

	// An object representing a route returned by a describe operation.
	//
	// Route is a required field
	Route *RouteData `locationName:"route" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRouteOutput) MarshalFields

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

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

func (DescribeRouteOutput) String

func (s DescribeRouteOutput) String() string

String returns the string representation

type DescribeRouteRequest

type DescribeRouteRequest struct {
	*aws.Request
	Input *DescribeRouteInput
	Copy  func(*DescribeRouteInput) DescribeRouteRequest
}

DescribeRouteRequest is the request type for the DescribeRoute API operation.

func (DescribeRouteRequest) Send

Send marshals and sends the DescribeRoute API request.

type DescribeRouteResponse added in v0.9.0

type DescribeRouteResponse struct {
	*DescribeRouteOutput
	// contains filtered or unexported fields
}

DescribeRouteResponse is the response type for the DescribeRoute API operation.

func (*DescribeRouteResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeRoute request.

type DescribeVirtualNodeInput

type DescribeVirtualNodeInput struct {

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// VirtualNodeName is a required field
	VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVirtualNodeInput) MarshalFields

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

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 {

	// An object representing a virtual node returned by a describe operation.
	//
	// VirtualNode is a required field
	VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVirtualNodeOutput) MarshalFields

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

func (DescribeVirtualNodeOutput) String

func (s DescribeVirtualNodeOutput) String() string

String returns the string representation

type DescribeVirtualNodeRequest

type DescribeVirtualNodeRequest struct {
	*aws.Request
	Input *DescribeVirtualNodeInput
	Copy  func(*DescribeVirtualNodeInput) DescribeVirtualNodeRequest
}

DescribeVirtualNodeRequest is the request type for the DescribeVirtualNode API operation.

func (DescribeVirtualNodeRequest) Send

Send marshals and sends the DescribeVirtualNode API request.

type DescribeVirtualNodeResponse added in v0.9.0

type DescribeVirtualNodeResponse struct {
	*DescribeVirtualNodeOutput
	// contains filtered or unexported fields
}

DescribeVirtualNodeResponse is the response type for the DescribeVirtualNode API operation.

func (*DescribeVirtualNodeResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeVirtualNode request.

type DescribeVirtualRouterInput

type DescribeVirtualRouterInput struct {

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVirtualRouterInput) MarshalFields

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

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 {

	// An object representing a virtual router returned by a describe operation.
	//
	// VirtualRouter is a required field
	VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVirtualRouterOutput) MarshalFields

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

func (DescribeVirtualRouterOutput) String

String returns the string representation

type DescribeVirtualRouterRequest

type DescribeVirtualRouterRequest struct {
	*aws.Request
	Input *DescribeVirtualRouterInput
	Copy  func(*DescribeVirtualRouterInput) DescribeVirtualRouterRequest
}

DescribeVirtualRouterRequest is the request type for the DescribeVirtualRouter API operation.

func (DescribeVirtualRouterRequest) Send

Send marshals and sends the DescribeVirtualRouter API request.

type DescribeVirtualRouterResponse added in v0.9.0

type DescribeVirtualRouterResponse struct {
	*DescribeVirtualRouterOutput
	// contains filtered or unexported fields
}

DescribeVirtualRouterResponse is the response type for the DescribeVirtualRouter API operation.

func (*DescribeVirtualRouterResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeVirtualRouter request.

type DescribeVirtualServiceInput added in v0.8.0

type DescribeVirtualServiceInput struct {

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

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

func (DescribeVirtualServiceInput) MarshalFields added in v0.8.0

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

func (DescribeVirtualServiceInput) String added in v0.8.0

String returns the string representation

func (*DescribeVirtualServiceInput) Validate added in v0.8.0

func (s *DescribeVirtualServiceInput) Validate() error

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

type DescribeVirtualServiceOutput added in v0.8.0

type DescribeVirtualServiceOutput struct {

	// An object representing a virtual service returned by a describe operation.
	//
	// VirtualService is a required field
	VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVirtualServiceOutput) MarshalFields added in v0.8.0

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

func (DescribeVirtualServiceOutput) String added in v0.8.0

String returns the string representation

type DescribeVirtualServiceRequest added in v0.8.0

type DescribeVirtualServiceRequest struct {
	*aws.Request
	Input *DescribeVirtualServiceInput
	Copy  func(*DescribeVirtualServiceInput) DescribeVirtualServiceRequest
}

DescribeVirtualServiceRequest is the request type for the DescribeVirtualService API operation.

func (DescribeVirtualServiceRequest) Send added in v0.8.0

Send marshals and sends the DescribeVirtualService API request.

type DescribeVirtualServiceResponse added in v0.9.0

type DescribeVirtualServiceResponse struct {
	*DescribeVirtualServiceOutput
	// contains filtered or unexported fields
}

DescribeVirtualServiceResponse is the response type for the DescribeVirtualService API operation.

func (*DescribeVirtualServiceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeVirtualService request.

type DnsServiceDiscovery

type DnsServiceDiscovery struct {

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

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

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

func (DnsServiceDiscovery) String

func (s DnsServiceDiscovery) String() string

String returns the string representation

func (*DnsServiceDiscovery) Validate added in v0.8.0

func (s *DnsServiceDiscovery) Validate() error

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

type Duration added in v0.12.0

type Duration struct {
	Unit DurationUnit `locationName:"unit" type:"string" enum:"true"`

	Value *int64 `locationName:"value" type:"long"`
	// contains filtered or unexported fields
}

An object representing the duration between retry attempts.

func (Duration) MarshalFields added in v0.12.0

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

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

func (Duration) String added in v0.12.0

func (s Duration) String() string

String returns the string representation

type DurationUnit added in v0.12.0

type DurationUnit string
const (
	DurationUnitMs DurationUnit = "ms"
	DurationUnitS  DurationUnit = "s"
)

Enum values for DurationUnit

func (DurationUnit) MarshalValue added in v0.12.0

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

func (DurationUnit) MarshalValueBuf added in v0.12.0

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

type EgressFilter added in v0.8.0

type EgressFilter struct {

	// Type is a required field
	Type EgressFilterType `locationName:"type" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

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

func (EgressFilter) MarshalFields added in v0.8.0

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

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

func (EgressFilter) String added in v0.8.0

func (s EgressFilter) String() string

String returns the string representation

func (*EgressFilter) Validate added in v0.8.0

func (s *EgressFilter) Validate() error

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

type EgressFilterType added in v0.8.0

type EgressFilterType string
const (
	EgressFilterTypeAllowAll EgressFilterType = "ALLOW_ALL"
	EgressFilterTypeDropAll  EgressFilterType = "DROP_ALL"
)

Enum values for EgressFilterType

func (EgressFilterType) MarshalValue added in v0.8.0

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

func (EgressFilterType) MarshalValueBuf added in v0.8.0

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

type FileAccessLog added in v0.8.0

type FileAccessLog struct {

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

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

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

func (FileAccessLog) String added in v0.8.0

func (s FileAccessLog) String() string

String returns the string representation

func (*FileAccessLog) Validate added in v0.8.0

func (s *FileAccessLog) Validate() error

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

type HeaderMatchMethod added in v0.11.0

type HeaderMatchMethod struct {
	Exact *string `locationName:"exact" min:"1" type:"string"`

	Prefix *string `locationName:"prefix" min:"1" type:"string"`

	// The range of values to match on. The first character of the range is included
	// in the range, though the last character is not. For example, if the range
	// specified were 1-100, only values 1-99 would be matched.
	Range *MatchRange `locationName:"range" type:"structure"`

	Regex *string `locationName:"regex" min:"1" type:"string"`

	Suffix *string `locationName:"suffix" min:"1" type:"string"`
	// contains filtered or unexported fields
}

An object representing the method and value to match the header value sent with a request. Specify one match method.

func (HeaderMatchMethod) MarshalFields added in v0.11.0

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

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

func (HeaderMatchMethod) String added in v0.11.0

func (s HeaderMatchMethod) String() string

String returns the string representation

func (*HeaderMatchMethod) Validate added in v0.11.0

func (s *HeaderMatchMethod) Validate() error

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

type HealthCheckPolicy

type HealthCheckPolicy struct {

	// HealthyThreshold is a required field
	HealthyThreshold *int64 `locationName:"healthyThreshold" min:"2" type:"integer" required:"true"`

	// IntervalMillis is a required field
	IntervalMillis *int64 `locationName:"intervalMillis" min:"5000" type:"long" required:"true"`

	Path *string `locationName:"path" type:"string"`

	Port *int64 `locationName:"port" min:"1" type:"integer"`

	// Protocol is a required field
	Protocol PortProtocol `locationName:"protocol" type:"string" required:"true" enum:"true"`

	// TimeoutMillis is a required field
	TimeoutMillis *int64 `locationName:"timeoutMillis" min:"2000" type:"long" required:"true"`

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

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

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

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 HttpMethod added in v0.11.0

type HttpMethod string
const (
	HttpMethodConnect HttpMethod = "CONNECT"
	HttpMethodDelete  HttpMethod = "DELETE"
	HttpMethodGet     HttpMethod = "GET"
	HttpMethodHead    HttpMethod = "HEAD"
	HttpMethodOptions HttpMethod = "OPTIONS"
	HttpMethodPatch   HttpMethod = "PATCH"
	HttpMethodPost    HttpMethod = "POST"
	HttpMethodPut     HttpMethod = "PUT"
	HttpMethodTrace   HttpMethod = "TRACE"
)

Enum values for HttpMethod

func (HttpMethod) MarshalValue added in v0.11.0

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

func (HttpMethod) MarshalValueBuf added in v0.11.0

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

type HttpRetryPolicy added in v0.12.0

type HttpRetryPolicy struct {
	HttpRetryEvents []string `locationName:"httpRetryEvents" min:"1" type:"list"`

	// MaxRetries is a required field
	MaxRetries *int64 `locationName:"maxRetries" type:"long" required:"true"`

	// An object representing the duration between retry attempts.
	//
	// PerRetryTimeout is a required field
	PerRetryTimeout *Duration `locationName:"perRetryTimeout" type:"structure" required:"true"`

	TcpRetryEvents []TcpRetryPolicyEvent `locationName:"tcpRetryEvents" min:"1" type:"list"`
	// contains filtered or unexported fields
}

An object that represents a retry policy.

func (HttpRetryPolicy) MarshalFields added in v0.12.0

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

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

func (HttpRetryPolicy) String added in v0.12.0

func (s HttpRetryPolicy) String() string

String returns the string representation

func (*HttpRetryPolicy) Validate added in v0.12.0

func (s *HttpRetryPolicy) Validate() error

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

type HttpRoute

type HttpRoute struct {

	// An object representing the traffic distribution requirements for matched
	// HTTP requests.
	//
	// Action is a required field
	Action *HttpRouteAction `locationName:"action" type:"structure" required:"true"`

	// An object representing the requirements for a route to match HTTP requests
	// for a virtual router.
	//
	// Match is a required field
	Match *HttpRouteMatch `locationName:"match" type:"structure" required:"true"`

	// An object that represents a retry policy.
	RetryPolicy *HttpRetryPolicy `locationName:"retryPolicy" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the HTTP routing specification for a route.

func (HttpRoute) MarshalFields

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

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

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 {

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

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

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

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 HttpRouteHeader added in v0.11.0

type HttpRouteHeader struct {
	Invert *bool `locationName:"invert" type:"boolean"`

	// An object representing the method and value to match the header value sent
	// with a request. Specify one match method.
	Match *HeaderMatchMethod `locationName:"match" type:"structure"`

	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing the HTTP header in the request.

func (HttpRouteHeader) MarshalFields added in v0.11.0

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

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

func (HttpRouteHeader) String added in v0.11.0

func (s HttpRouteHeader) String() string

String returns the string representation

func (*HttpRouteHeader) Validate added in v0.11.0

func (s *HttpRouteHeader) Validate() error

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

type HttpRouteMatch

type HttpRouteMatch struct {
	Headers []HttpRouteHeader `locationName:"headers" min:"1" type:"list"`

	Method HttpMethod `locationName:"method" type:"string" enum:"true"`

	// Prefix is a required field
	Prefix *string `locationName:"prefix" type:"string" required:"true"`

	Scheme HttpScheme `locationName:"scheme" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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

func (HttpRouteMatch) MarshalFields

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

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

func (HttpRouteMatch) String

func (s HttpRouteMatch) String() string

String returns the string representation

func (*HttpRouteMatch) Validate added in v0.8.0

func (s *HttpRouteMatch) Validate() error

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

type HttpScheme added in v0.11.0

type HttpScheme string
const (
	HttpSchemeHttp  HttpScheme = "http"
	HttpSchemeHttps HttpScheme = "https"
)

Enum values for HttpScheme

func (HttpScheme) MarshalValue added in v0.11.0

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

func (HttpScheme) MarshalValueBuf added in v0.11.0

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

type ListMeshesInput

type ListMeshesInput struct {
	Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"`

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

func (ListMeshesInput) MarshalFields

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

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

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 {

	// Meshes is a required field
	Meshes []MeshRef `locationName:"meshes" type:"list" required:"true"`

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

func (ListMeshesOutput) MarshalFields

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

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

func (ListMeshesOutput) String

func (s ListMeshesOutput) String() string

String returns the string representation

type ListMeshesPaginator added in v0.9.0

type ListMeshesPaginator struct {
	aws.Pager
}

ListMeshesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListMeshesPaginator added in v0.9.0

func NewListMeshesPaginator(req ListMeshesRequest) ListMeshesPaginator

NewListMeshesRequestPaginator returns a paginator for ListMeshes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListMeshesRequest(input)
p := appmesh.NewListMeshesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListMeshesPaginator) CurrentPage added in v0.9.0

func (p *ListMeshesPaginator) CurrentPage() *ListMeshesOutput

type ListMeshesRequest

type ListMeshesRequest struct {
	*aws.Request
	Input *ListMeshesInput
	Copy  func(*ListMeshesInput) ListMeshesRequest
}

ListMeshesRequest is the request type for the ListMeshes API operation.

func (ListMeshesRequest) Send

Send marshals and sends the ListMeshes API request.

type ListMeshesResponse added in v0.9.0

type ListMeshesResponse struct {
	*ListMeshesOutput
	// contains filtered or unexported fields
}

ListMeshesResponse is the response type for the ListMeshes API operation.

func (*ListMeshesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListMeshes request.

type ListRoutesInput

type ListRoutesInput struct {
	Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListRoutesInput) MarshalFields

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

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

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 {
	NextToken *string `locationName:"nextToken" type:"string"`

	// Routes is a required field
	Routes []RouteRef `locationName:"routes" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListRoutesOutput) MarshalFields

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

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

func (ListRoutesOutput) String

func (s ListRoutesOutput) String() string

String returns the string representation

type ListRoutesPaginator added in v0.9.0

type ListRoutesPaginator struct {
	aws.Pager
}

ListRoutesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListRoutesPaginator added in v0.9.0

func NewListRoutesPaginator(req ListRoutesRequest) ListRoutesPaginator

NewListRoutesRequestPaginator returns a paginator for ListRoutes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListRoutesRequest(input)
p := appmesh.NewListRoutesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListRoutesPaginator) CurrentPage added in v0.9.0

func (p *ListRoutesPaginator) CurrentPage() *ListRoutesOutput

type ListRoutesRequest

type ListRoutesRequest struct {
	*aws.Request
	Input *ListRoutesInput
	Copy  func(*ListRoutesInput) ListRoutesRequest
}

ListRoutesRequest is the request type for the ListRoutes API operation.

func (ListRoutesRequest) Send

Send marshals and sends the ListRoutes API request.

type ListRoutesResponse added in v0.9.0

type ListRoutesResponse struct {
	*ListRoutesOutput
	// contains filtered or unexported fields
}

ListRoutesResponse is the response type for the ListRoutes API operation.

func (*ListRoutesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListRoutes request.

type ListTagsForResourceInput added in v0.8.0

type ListTagsForResourceInput struct {
	Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) MarshalFields added in v0.8.0

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

func (ListTagsForResourceInput) String added in v0.8.0

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v0.8.0

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v0.8.0

type ListTagsForResourceOutput struct {
	NextToken *string `locationName:"nextToken" type:"string"`

	// Tags is a required field
	Tags []TagRef `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) MarshalFields added in v0.8.0

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

func (ListTagsForResourceOutput) String added in v0.8.0

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourcePaginator added in v0.9.0

type ListTagsForResourcePaginator struct {
	aws.Pager
}

ListTagsForResourcePaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListTagsForResourcePaginator added in v0.9.0

func NewListTagsForResourcePaginator(req ListTagsForResourceRequest) ListTagsForResourcePaginator

NewListTagsForResourceRequestPaginator returns a paginator for ListTagsForResource. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListTagsForResourceRequest(input)
p := appmesh.NewListTagsForResourceRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListTagsForResourcePaginator) CurrentPage added in v0.9.0

type ListTagsForResourceRequest added in v0.8.0

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send added in v0.8.0

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse added in v0.9.0

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type ListVirtualNodesInput

type ListVirtualNodesInput struct {
	Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

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

func (ListVirtualNodesInput) MarshalFields

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

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

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 {
	NextToken *string `locationName:"nextToken" type:"string"`

	// VirtualNodes is a required field
	VirtualNodes []VirtualNodeRef `locationName:"virtualNodes" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListVirtualNodesOutput) MarshalFields

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

func (ListVirtualNodesOutput) String

func (s ListVirtualNodesOutput) String() string

String returns the string representation

type ListVirtualNodesPaginator added in v0.9.0

type ListVirtualNodesPaginator struct {
	aws.Pager
}

ListVirtualNodesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListVirtualNodesPaginator added in v0.9.0

func NewListVirtualNodesPaginator(req ListVirtualNodesRequest) ListVirtualNodesPaginator

NewListVirtualNodesRequestPaginator returns a paginator for ListVirtualNodes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListVirtualNodesRequest(input)
p := appmesh.NewListVirtualNodesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListVirtualNodesPaginator) CurrentPage added in v0.9.0

type ListVirtualNodesRequest

type ListVirtualNodesRequest struct {
	*aws.Request
	Input *ListVirtualNodesInput
	Copy  func(*ListVirtualNodesInput) ListVirtualNodesRequest
}

ListVirtualNodesRequest is the request type for the ListVirtualNodes API operation.

func (ListVirtualNodesRequest) Send

Send marshals and sends the ListVirtualNodes API request.

type ListVirtualNodesResponse added in v0.9.0

type ListVirtualNodesResponse struct {
	*ListVirtualNodesOutput
	// contains filtered or unexported fields
}

ListVirtualNodesResponse is the response type for the ListVirtualNodes API operation.

func (*ListVirtualNodesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListVirtualNodes request.

type ListVirtualRoutersInput

type ListVirtualRoutersInput struct {
	Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

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

func (ListVirtualRoutersInput) MarshalFields

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

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 {
	NextToken *string `locationName:"nextToken" type:"string"`

	// VirtualRouters is a required field
	VirtualRouters []VirtualRouterRef `locationName:"virtualRouters" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListVirtualRoutersOutput) MarshalFields

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

func (ListVirtualRoutersOutput) String

func (s ListVirtualRoutersOutput) String() string

String returns the string representation

type ListVirtualRoutersPaginator added in v0.9.0

type ListVirtualRoutersPaginator struct {
	aws.Pager
}

ListVirtualRoutersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListVirtualRoutersPaginator added in v0.9.0

func NewListVirtualRoutersPaginator(req ListVirtualRoutersRequest) ListVirtualRoutersPaginator

NewListVirtualRoutersRequestPaginator returns a paginator for ListVirtualRouters. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListVirtualRoutersRequest(input)
p := appmesh.NewListVirtualRoutersRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListVirtualRoutersPaginator) CurrentPage added in v0.9.0

type ListVirtualRoutersRequest

type ListVirtualRoutersRequest struct {
	*aws.Request
	Input *ListVirtualRoutersInput
	Copy  func(*ListVirtualRoutersInput) ListVirtualRoutersRequest
}

ListVirtualRoutersRequest is the request type for the ListVirtualRouters API operation.

func (ListVirtualRoutersRequest) Send

Send marshals and sends the ListVirtualRouters API request.

type ListVirtualRoutersResponse added in v0.9.0

type ListVirtualRoutersResponse struct {
	*ListVirtualRoutersOutput
	// contains filtered or unexported fields
}

ListVirtualRoutersResponse is the response type for the ListVirtualRouters API operation.

func (*ListVirtualRoutersResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListVirtualRouters request.

type ListVirtualServicesInput added in v0.8.0

type ListVirtualServicesInput struct {
	Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

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

func (ListVirtualServicesInput) MarshalFields added in v0.8.0

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

func (ListVirtualServicesInput) String added in v0.8.0

func (s ListVirtualServicesInput) String() string

String returns the string representation

func (*ListVirtualServicesInput) Validate added in v0.8.0

func (s *ListVirtualServicesInput) Validate() error

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

type ListVirtualServicesOutput added in v0.8.0

type ListVirtualServicesOutput struct {
	NextToken *string `locationName:"nextToken" type:"string"`

	// VirtualServices is a required field
	VirtualServices []VirtualServiceRef `locationName:"virtualServices" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListVirtualServicesOutput) MarshalFields added in v0.8.0

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

func (ListVirtualServicesOutput) String added in v0.8.0

func (s ListVirtualServicesOutput) String() string

String returns the string representation

type ListVirtualServicesPaginator added in v0.9.0

type ListVirtualServicesPaginator struct {
	aws.Pager
}

ListVirtualServicesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListVirtualServicesPaginator added in v0.9.0

func NewListVirtualServicesPaginator(req ListVirtualServicesRequest) ListVirtualServicesPaginator

NewListVirtualServicesRequestPaginator returns a paginator for ListVirtualServices. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListVirtualServicesRequest(input)
p := appmesh.NewListVirtualServicesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListVirtualServicesPaginator) CurrentPage added in v0.9.0

type ListVirtualServicesRequest added in v0.8.0

type ListVirtualServicesRequest struct {
	*aws.Request
	Input *ListVirtualServicesInput
	Copy  func(*ListVirtualServicesInput) ListVirtualServicesRequest
}

ListVirtualServicesRequest is the request type for the ListVirtualServices API operation.

func (ListVirtualServicesRequest) Send added in v0.8.0

Send marshals and sends the ListVirtualServices API request.

type ListVirtualServicesResponse added in v0.9.0

type ListVirtualServicesResponse struct {
	*ListVirtualServicesOutput
	// contains filtered or unexported fields
}

ListVirtualServicesResponse is the response type for the ListVirtualServices API operation.

func (*ListVirtualServicesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListVirtualServices request.

type Listener

type Listener struct {

	// An object representing the health check policy for a virtual node's listener.
	HealthCheck *HealthCheckPolicy `locationName:"healthCheck" type:"structure"`

	// 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 listener for a virtual node.

func (Listener) MarshalFields

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

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

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

type Logging struct {

	// An object representing the access logging information 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) MarshalFields added in v0.8.0

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

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

func (Logging) String added in v0.8.0

func (s Logging) String() string

String returns the string representation

func (*Logging) Validate added in v0.8.0

func (s *Logging) Validate() error

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

type MatchRange added in v0.11.0

type MatchRange struct {

	// End is a required field
	End *int64 `locationName:"end" type:"long" required:"true"`

	// Start is a required field
	Start *int64 `locationName:"start" type:"long" required:"true"`
	// contains filtered or unexported fields
}

The range of values to match on. The first character of the range is included in the range, though the last character is not. For example, if the range specified were 1-100, only values 1-99 would be matched.

func (MatchRange) MarshalFields added in v0.11.0

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

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

func (MatchRange) String added in v0.11.0

func (s MatchRange) String() string

String returns the string representation

func (*MatchRange) Validate added in v0.11.0

func (s *MatchRange) Validate() error

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

type MeshData

type MeshData struct {

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

	// An object representing the specification of a service mesh.
	//
	// Spec is a required field
	Spec *MeshSpec `locationName:"spec" type:"structure" required:"true"`

	// An object representing the status of a 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) MarshalFields

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

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

func (MeshData) String

func (s MeshData) String() string

String returns the string representation

type MeshRef

type MeshRef struct {

	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

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

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

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

func (MeshRef) String

func (s MeshRef) String() string

String returns the string representation

type MeshSpec added in v0.8.0

type MeshSpec struct {

	// An object representing the egress filter rules for a service mesh.
	EgressFilter *EgressFilter `locationName:"egressFilter" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the specification of a service mesh.

func (MeshSpec) MarshalFields added in v0.8.0

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

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

func (MeshSpec) String added in v0.8.0

func (s MeshSpec) String() string

String returns the string representation

func (*MeshSpec) Validate added in v0.8.0

func (s *MeshSpec) Validate() error

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

type MeshStatus

type MeshStatus struct {
	Status MeshStatusCode `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

An object representing the status of a service mesh.

func (MeshStatus) MarshalFields

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

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

func (MeshStatus) String

func (s MeshStatus) String() string

String returns the string representation

type MeshStatusCode

type MeshStatusCode string
const (
	MeshStatusCodeActive   MeshStatusCode = "ACTIVE"
	MeshStatusCodeDeleted  MeshStatusCode = "DELETED"
	MeshStatusCodeInactive MeshStatusCode = "INACTIVE"
)

Enum values for MeshStatusCode

func (MeshStatusCode) MarshalValue

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

func (MeshStatusCode) MarshalValueBuf

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

type PortMapping

type PortMapping struct {

	// Port is a required field
	Port *int64 `locationName:"port" min:"1" type:"integer" required:"true"`

	// Protocol is a required field
	Protocol PortProtocol `locationName:"protocol" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

An object representing a virtual node or virtual router listener port mapping.

func (PortMapping) MarshalFields

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

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

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 PortProtocol

type PortProtocol string
const (
	PortProtocolHttp PortProtocol = "http"
	PortProtocolTcp  PortProtocol = "tcp"
)

Enum values for PortProtocol

func (PortProtocol) MarshalValue

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

func (PortProtocol) MarshalValueBuf

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

type ResourceMetadata

type ResourceMetadata struct {

	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// CreatedAt is a required field
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"`

	// LastUpdatedAt is a required field
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" required:"true"`

	// Uid is a required field
	Uid *string `locationName:"uid" type:"string" required:"true"`

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

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

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

func (ResourceMetadata) String

func (s ResourceMetadata) String() string

String returns the string representation

type RouteData

type RouteData struct {

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

	// RouteName is a required field
	RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"`

	// An object representing the specification of a route.
	//
	// Spec is a required field
	Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"`

	// An object representing the current status of a route.
	//
	// Status is a required field
	Status *RouteStatus `locationName:"status" type:"structure" required:"true"`

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

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

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

func (RouteData) String

func (s RouteData) String() string

String returns the string representation

type RouteRef

type RouteRef struct {

	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

	// RouteName is a required field
	RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"`

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

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

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

func (RouteRef) String

func (s RouteRef) String() string

String returns the string representation

type RouteSpec

type RouteSpec struct {

	// An object representing the HTTP routing specification for a route.
	HttpRoute *HttpRoute `locationName:"httpRoute" type:"structure"`

	Priority *int64 `locationName:"priority" type:"integer"`

	// An object representing the TCP routing specification for a route.
	TcpRoute *TcpRoute `locationName:"tcpRoute" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the specification of a route.

func (RouteSpec) MarshalFields

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

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

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 {

	// Status is a required field
	Status RouteStatusCode `locationName:"status" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

An object representing the current status of a route.

func (RouteStatus) MarshalFields

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

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

func (RouteStatus) String

func (s RouteStatus) String() string

String returns the string representation

type RouteStatusCode

type RouteStatusCode string
const (
	RouteStatusCodeActive   RouteStatusCode = "ACTIVE"
	RouteStatusCodeDeleted  RouteStatusCode = "DELETED"
	RouteStatusCodeInactive RouteStatusCode = "INACTIVE"
)

Enum values for RouteStatusCode

func (RouteStatusCode) MarshalValue

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

func (RouteStatusCode) MarshalValueBuf

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

type ServiceDiscovery

type ServiceDiscovery struct {

	// An object representing the AWS Cloud Map service discovery information for
	// your virtual node.
	AwsCloudMap *AwsCloudMapServiceDiscovery `locationName:"awsCloudMap" type:"structure"`

	// An object representing the DNS service discovery information for your 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) MarshalFields

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

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

func (ServiceDiscovery) String

func (s ServiceDiscovery) String() string

String returns the string representation

func (*ServiceDiscovery) Validate added in v0.8.0

func (s *ServiceDiscovery) Validate() error

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

type TagRef added in v0.8.0

type TagRef struct {

	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

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

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

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

func (TagRef) String added in v0.8.0

func (s TagRef) String() string

String returns the string representation

func (*TagRef) Validate added in v0.8.0

func (s *TagRef) Validate() error

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

type TagResourceInput added in v0.8.0

type TagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"`

	// Tags is a required field
	Tags []TagRef `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) MarshalFields added in v0.8.0

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

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

func (TagResourceInput) String added in v0.8.0

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v0.8.0

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v0.8.0

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

func (TagResourceOutput) MarshalFields added in v0.8.0

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

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

func (TagResourceOutput) String added in v0.8.0

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest added in v0.8.0

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send added in v0.8.0

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.9.0

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the TagResource request.

type TcpRetryPolicyEvent added in v0.12.0

type TcpRetryPolicyEvent string
const (
	TcpRetryPolicyEventConnectionError TcpRetryPolicyEvent = "connection-error"
)

Enum values for TcpRetryPolicyEvent

func (TcpRetryPolicyEvent) MarshalValue added in v0.12.0

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

func (TcpRetryPolicyEvent) MarshalValueBuf added in v0.12.0

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

type TcpRoute added in v0.8.0

type TcpRoute struct {

	// An object representing the traffic distribution requirements for matched
	// TCP requests.
	//
	// 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) MarshalFields added in v0.8.0

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

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

func (TcpRoute) String added in v0.8.0

func (s TcpRoute) String() string

String returns the string representation

func (*TcpRoute) Validate added in v0.8.0

func (s *TcpRoute) Validate() error

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

type TcpRouteAction added in v0.8.0

type TcpRouteAction struct {

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

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

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

func (TcpRouteAction) String added in v0.8.0

func (s TcpRouteAction) String() string

String returns the string representation

func (*TcpRouteAction) Validate added in v0.8.0

func (s *TcpRouteAction) Validate() error

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

type UntagResourceInput added in v0.8.0

type UntagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"`

	// TagKeys is a required field
	TagKeys []string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) MarshalFields added in v0.8.0

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

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

func (UntagResourceInput) String added in v0.8.0

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v0.8.0

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v0.8.0

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

func (UntagResourceOutput) MarshalFields added in v0.8.0

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

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

func (UntagResourceOutput) String added in v0.8.0

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest added in v0.8.0

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send added in v0.8.0

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.9.0

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateMeshInput added in v0.8.0

type UpdateMeshInput struct {
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// An object representing the specification of a service mesh.
	Spec *MeshSpec `locationName:"spec" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateMeshInput) MarshalFields added in v0.8.0

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

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

func (UpdateMeshInput) String added in v0.8.0

func (s UpdateMeshInput) String() string

String returns the string representation

func (*UpdateMeshInput) Validate added in v0.8.0

func (s *UpdateMeshInput) Validate() error

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

type UpdateMeshOutput added in v0.8.0

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

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

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

func (UpdateMeshOutput) String added in v0.8.0

func (s UpdateMeshOutput) String() string

String returns the string representation

type UpdateMeshRequest added in v0.8.0

type UpdateMeshRequest struct {
	*aws.Request
	Input *UpdateMeshInput
	Copy  func(*UpdateMeshInput) UpdateMeshRequest
}

UpdateMeshRequest is the request type for the UpdateMesh API operation.

func (UpdateMeshRequest) Send added in v0.8.0

Send marshals and sends the UpdateMesh API request.

type UpdateMeshResponse added in v0.9.0

type UpdateMeshResponse struct {
	*UpdateMeshOutput
	// contains filtered or unexported fields
}

UpdateMeshResponse is the response type for the UpdateMesh API operation.

func (*UpdateMeshResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateMesh request.

type UpdateRouteInput

type UpdateRouteInput struct {
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// RouteName is a required field
	RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"`

	// An object representing the specification of a route.
	//
	// Spec is a required field
	Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"`

	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateRouteInput) MarshalFields

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

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

func (UpdateRouteInput) String

func (s UpdateRouteInput) String() string

String returns the string representation

func (*UpdateRouteInput) Validate

func (s *UpdateRouteInput) Validate() error

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

type UpdateRouteOutput

type UpdateRouteOutput struct {

	// An object representing a route returned by a describe operation.
	//
	// Route is a required field
	Route *RouteData `locationName:"route" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateRouteOutput) MarshalFields

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

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

func (UpdateRouteOutput) String

func (s UpdateRouteOutput) String() string

String returns the string representation

type UpdateRouteRequest

type UpdateRouteRequest struct {
	*aws.Request
	Input *UpdateRouteInput
	Copy  func(*UpdateRouteInput) UpdateRouteRequest
}

UpdateRouteRequest is the request type for the UpdateRoute API operation.

func (UpdateRouteRequest) Send

Send marshals and sends the UpdateRoute API request.

type UpdateRouteResponse added in v0.9.0

type UpdateRouteResponse struct {
	*UpdateRouteOutput
	// contains filtered or unexported fields
}

UpdateRouteResponse is the response type for the UpdateRoute API operation.

func (*UpdateRouteResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateRoute request.

type UpdateVirtualNodeInput

type UpdateVirtualNodeInput struct {
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// An object representing the specification of a virtual node.
	//
	// Spec is a required field
	Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"`

	// VirtualNodeName is a required field
	VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVirtualNodeInput) MarshalFields

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

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 {

	// An object representing a virtual node returned by a describe operation.
	//
	// VirtualNode is a required field
	VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVirtualNodeOutput) MarshalFields

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

func (UpdateVirtualNodeOutput) String

func (s UpdateVirtualNodeOutput) String() string

String returns the string representation

type UpdateVirtualNodeRequest

type UpdateVirtualNodeRequest struct {
	*aws.Request
	Input *UpdateVirtualNodeInput
	Copy  func(*UpdateVirtualNodeInput) UpdateVirtualNodeRequest
}

UpdateVirtualNodeRequest is the request type for the UpdateVirtualNode API operation.

func (UpdateVirtualNodeRequest) Send

Send marshals and sends the UpdateVirtualNode API request.

type UpdateVirtualNodeResponse added in v0.9.0

type UpdateVirtualNodeResponse struct {
	*UpdateVirtualNodeOutput
	// contains filtered or unexported fields
}

UpdateVirtualNodeResponse is the response type for the UpdateVirtualNode API operation.

func (*UpdateVirtualNodeResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateVirtualNode request.

type UpdateVirtualRouterInput

type UpdateVirtualRouterInput struct {
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// An object representing the specification of a virtual router.
	//
	// Spec is a required field
	Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"`

	// VirtualRouterName is a required field
	VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVirtualRouterInput) MarshalFields

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

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 {

	// An object representing a virtual router returned by a describe operation.
	//
	// VirtualRouter is a required field
	VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVirtualRouterOutput) MarshalFields

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

func (UpdateVirtualRouterOutput) String

func (s UpdateVirtualRouterOutput) String() string

String returns the string representation

type UpdateVirtualRouterRequest

type UpdateVirtualRouterRequest struct {
	*aws.Request
	Input *UpdateVirtualRouterInput
	Copy  func(*UpdateVirtualRouterInput) UpdateVirtualRouterRequest
}

UpdateVirtualRouterRequest is the request type for the UpdateVirtualRouter API operation.

func (UpdateVirtualRouterRequest) Send

Send marshals and sends the UpdateVirtualRouter API request.

type UpdateVirtualRouterResponse added in v0.9.0

type UpdateVirtualRouterResponse struct {
	*UpdateVirtualRouterOutput
	// contains filtered or unexported fields
}

UpdateVirtualRouterResponse is the response type for the UpdateVirtualRouter API operation.

func (*UpdateVirtualRouterResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateVirtualRouter request.

type UpdateVirtualServiceInput added in v0.8.0

type UpdateVirtualServiceInput struct {
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// MeshName is a required field
	MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"`

	// An object representing the specification of a virtual service.
	//
	// Spec is a required field
	Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"`

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

func (UpdateVirtualServiceInput) MarshalFields added in v0.8.0

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

func (UpdateVirtualServiceInput) String added in v0.8.0

func (s UpdateVirtualServiceInput) String() string

String returns the string representation

func (*UpdateVirtualServiceInput) Validate added in v0.8.0

func (s *UpdateVirtualServiceInput) Validate() error

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

type UpdateVirtualServiceOutput added in v0.8.0

type UpdateVirtualServiceOutput struct {

	// An object representing a virtual service returned by a describe operation.
	//
	// VirtualService is a required field
	VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVirtualServiceOutput) MarshalFields added in v0.8.0

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

func (UpdateVirtualServiceOutput) String added in v0.8.0

String returns the string representation

type UpdateVirtualServiceRequest added in v0.8.0

type UpdateVirtualServiceRequest struct {
	*aws.Request
	Input *UpdateVirtualServiceInput
	Copy  func(*UpdateVirtualServiceInput) UpdateVirtualServiceRequest
}

UpdateVirtualServiceRequest is the request type for the UpdateVirtualService API operation.

func (UpdateVirtualServiceRequest) Send added in v0.8.0

Send marshals and sends the UpdateVirtualService API request.

type UpdateVirtualServiceResponse added in v0.9.0

type UpdateVirtualServiceResponse struct {
	*UpdateVirtualServiceOutput
	// contains filtered or unexported fields
}

UpdateVirtualServiceResponse is the response type for the UpdateVirtualService API operation.

func (*UpdateVirtualServiceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateVirtualService request.

type VirtualNodeData

type VirtualNodeData struct {

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

	// An object representing the specification of a virtual node.
	//
	// Spec is a required field
	Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"`

	// An object representing the current status of the virtual node.
	//
	// Status is a required field
	Status *VirtualNodeStatus `locationName:"status" type:"structure" required:"true"`

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

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

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

func (VirtualNodeData) String

func (s VirtualNodeData) String() string

String returns the string representation

type VirtualNodeRef

type VirtualNodeRef struct {

	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

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

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

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

func (VirtualNodeRef) String

func (s VirtualNodeRef) String() string

String returns the string representation

type VirtualNodeServiceProvider added in v0.8.0

type VirtualNodeServiceProvider struct {

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

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

func (VirtualNodeServiceProvider) String added in v0.8.0

String returns the string representation

func (*VirtualNodeServiceProvider) Validate added in v0.8.0

func (s *VirtualNodeServiceProvider) Validate() error

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

type VirtualNodeSpec

type VirtualNodeSpec struct {
	Backends []Backend `locationName:"backends" type:"list"`

	Listeners []Listener `locationName:"listeners" type:"list"`

	// An object representing the logging information for a virtual node.
	Logging *Logging `locationName:"logging" type:"structure"`

	// An object representing the service discovery information for a virtual node.
	ServiceDiscovery *ServiceDiscovery `locationName:"serviceDiscovery" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the specification of a virtual node.

func (VirtualNodeSpec) MarshalFields

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

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

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 {

	// Status is a required field
	Status VirtualNodeStatusCode `locationName:"status" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

An object representing the current status of the virtual node.

func (VirtualNodeStatus) MarshalFields

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

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

func (VirtualNodeStatus) String

func (s VirtualNodeStatus) String() string

String returns the string representation

type VirtualNodeStatusCode

type VirtualNodeStatusCode string
const (
	VirtualNodeStatusCodeActive   VirtualNodeStatusCode = "ACTIVE"
	VirtualNodeStatusCodeDeleted  VirtualNodeStatusCode = "DELETED"
	VirtualNodeStatusCodeInactive VirtualNodeStatusCode = "INACTIVE"
)

Enum values for VirtualNodeStatusCode

func (VirtualNodeStatusCode) MarshalValue

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

func (VirtualNodeStatusCode) MarshalValueBuf

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

type VirtualRouterData

type VirtualRouterData struct {

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

	// An object representing the specification of a virtual router.
	//
	// Spec is a required field
	Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"`

	// An object representing the status of a virtual router.
	//
	// Status is a required field
	Status *VirtualRouterStatus `locationName:"status" type:"structure" required:"true"`

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

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

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

func (VirtualRouterData) String

func (s VirtualRouterData) String() string

String returns the string representation

type VirtualRouterListener added in v0.8.0

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

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

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

func (VirtualRouterListener) String added in v0.8.0

func (s VirtualRouterListener) String() string

String returns the string representation

func (*VirtualRouterListener) Validate added in v0.8.0

func (s *VirtualRouterListener) Validate() error

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

type VirtualRouterRef

type VirtualRouterRef struct {

	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

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

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

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

func (VirtualRouterRef) String

func (s VirtualRouterRef) String() string

String returns the string representation

type VirtualRouterServiceProvider added in v0.8.0

type VirtualRouterServiceProvider struct {

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

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

func (VirtualRouterServiceProvider) String added in v0.8.0

String returns the string representation

func (*VirtualRouterServiceProvider) Validate added in v0.8.0

func (s *VirtualRouterServiceProvider) Validate() error

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

type VirtualRouterSpec

type VirtualRouterSpec struct {
	Listeners []VirtualRouterListener `locationName:"listeners" min:"1" type:"list"`
	// contains filtered or unexported fields
}

An object representing the specification of a virtual router.

func (VirtualRouterSpec) MarshalFields

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

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

func (VirtualRouterSpec) String

func (s VirtualRouterSpec) String() string

String returns the string representation

func (*VirtualRouterSpec) Validate added in v0.8.0

func (s *VirtualRouterSpec) Validate() error

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

type VirtualRouterStatus

type VirtualRouterStatus struct {

	// Status is a required field
	Status VirtualRouterStatusCode `locationName:"status" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

An object representing the status of a virtual router.

func (VirtualRouterStatus) MarshalFields

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

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

func (VirtualRouterStatus) String

func (s VirtualRouterStatus) String() string

String returns the string representation

type VirtualRouterStatusCode

type VirtualRouterStatusCode string
const (
	VirtualRouterStatusCodeActive   VirtualRouterStatusCode = "ACTIVE"
	VirtualRouterStatusCodeDeleted  VirtualRouterStatusCode = "DELETED"
	VirtualRouterStatusCodeInactive VirtualRouterStatusCode = "INACTIVE"
)

Enum values for VirtualRouterStatusCode

func (VirtualRouterStatusCode) MarshalValue

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

func (VirtualRouterStatusCode) MarshalValueBuf

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

type VirtualServiceBackend added in v0.8.0

type VirtualServiceBackend struct {

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

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

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

func (VirtualServiceBackend) String added in v0.8.0

func (s VirtualServiceBackend) String() string

String returns the string representation

func (*VirtualServiceBackend) Validate added in v0.8.0

func (s *VirtualServiceBackend) Validate() error

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

type VirtualServiceData added in v0.8.0

type VirtualServiceData struct {

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

	// An object representing the specification of a virtual service.
	//
	// Spec is a required field
	Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"`

	// An object representing the status of a virtual service.
	//
	// Status is a required field
	Status *VirtualServiceStatus `locationName:"status" type:"structure" required:"true"`

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

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

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

func (VirtualServiceData) String added in v0.8.0

func (s VirtualServiceData) String() string

String returns the string representation

type VirtualServiceProvider added in v0.8.0

type VirtualServiceProvider struct {

	// An object representing a virtual node service provider.
	VirtualNode *VirtualNodeServiceProvider `locationName:"virtualNode" type:"structure"`

	// An object representing a virtual node service provider.
	VirtualRouter *VirtualRouterServiceProvider `locationName:"virtualRouter" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the provider for a virtual service.

func (VirtualServiceProvider) MarshalFields added in v0.8.0

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

func (VirtualServiceProvider) String added in v0.8.0

func (s VirtualServiceProvider) String() string

String returns the string representation

func (*VirtualServiceProvider) Validate added in v0.8.0

func (s *VirtualServiceProvider) Validate() error

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

type VirtualServiceRef added in v0.8.0

type VirtualServiceRef struct {

	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// MeshName is a required field
	MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"`

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

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

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

func (VirtualServiceRef) String added in v0.8.0

func (s VirtualServiceRef) String() string

String returns the string representation

type VirtualServiceSpec added in v0.8.0

type VirtualServiceSpec struct {

	// An object representing the provider for a virtual service.
	Provider *VirtualServiceProvider `locationName:"provider" type:"structure"`
	// contains filtered or unexported fields
}

An object representing the specification of a virtual service.

func (VirtualServiceSpec) MarshalFields added in v0.8.0

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

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

func (VirtualServiceSpec) String added in v0.8.0

func (s VirtualServiceSpec) String() string

String returns the string representation

func (*VirtualServiceSpec) Validate added in v0.8.0

func (s *VirtualServiceSpec) Validate() error

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

type VirtualServiceStatus added in v0.8.0

type VirtualServiceStatus struct {

	// Status is a required field
	Status VirtualServiceStatusCode `locationName:"status" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

An object representing the status of a virtual service.

func (VirtualServiceStatus) MarshalFields added in v0.8.0

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

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

func (VirtualServiceStatus) String added in v0.8.0

func (s VirtualServiceStatus) String() string

String returns the string representation

type VirtualServiceStatusCode added in v0.8.0

type VirtualServiceStatusCode string
const (
	VirtualServiceStatusCodeActive   VirtualServiceStatusCode = "ACTIVE"
	VirtualServiceStatusCodeDeleted  VirtualServiceStatusCode = "DELETED"
	VirtualServiceStatusCodeInactive VirtualServiceStatusCode = "INACTIVE"
)

Enum values for VirtualServiceStatusCode

func (VirtualServiceStatusCode) MarshalValue added in v0.8.0

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

func (VirtualServiceStatusCode) MarshalValueBuf added in v0.8.0

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

type WeightedTarget

type WeightedTarget struct {

	// VirtualNode is a required field
	VirtualNode *string `locationName:"virtualNode" min:"1" type:"string" required:"true"`

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

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

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

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