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, and Kubernetes on AWS.
App Mesh supports microservice applications that use service discovery naming for their components. To use App Mesh, you must have an application running on Amazon EC2 instances, hosted in either Amazon ECS, Amazon EKS, or Kubernetes on AWS. 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
- type AccessLog
- type Backend
- type Client
- func (c *Client) CreateMeshRequest(input *CreateMeshInput) CreateMeshRequest
- func (c *Client) CreateRouteRequest(input *CreateRouteInput) CreateRouteRequest
- func (c *Client) CreateVirtualNodeRequest(input *CreateVirtualNodeInput) CreateVirtualNodeRequest
- func (c *Client) CreateVirtualRouterRequest(input *CreateVirtualRouterInput) CreateVirtualRouterRequest
- func (c *Client) CreateVirtualServiceRequest(input *CreateVirtualServiceInput) CreateVirtualServiceRequest
- func (c *Client) DeleteMeshRequest(input *DeleteMeshInput) DeleteMeshRequest
- func (c *Client) DeleteRouteRequest(input *DeleteRouteInput) DeleteRouteRequest
- func (c *Client) DeleteVirtualNodeRequest(input *DeleteVirtualNodeInput) DeleteVirtualNodeRequest
- func (c *Client) DeleteVirtualRouterRequest(input *DeleteVirtualRouterInput) DeleteVirtualRouterRequest
- func (c *Client) DeleteVirtualServiceRequest(input *DeleteVirtualServiceInput) DeleteVirtualServiceRequest
- func (c *Client) DescribeMeshRequest(input *DescribeMeshInput) DescribeMeshRequest
- func (c *Client) DescribeRouteRequest(input *DescribeRouteInput) DescribeRouteRequest
- func (c *Client) DescribeVirtualNodeRequest(input *DescribeVirtualNodeInput) DescribeVirtualNodeRequest
- func (c *Client) DescribeVirtualRouterRequest(input *DescribeVirtualRouterInput) DescribeVirtualRouterRequest
- func (c *Client) DescribeVirtualServiceRequest(input *DescribeVirtualServiceInput) DescribeVirtualServiceRequest
- func (c *Client) ListMeshesRequest(input *ListMeshesInput) ListMeshesRequest
- func (c *Client) ListRoutesRequest(input *ListRoutesInput) ListRoutesRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) ListVirtualNodesRequest(input *ListVirtualNodesInput) ListVirtualNodesRequest
- func (c *Client) ListVirtualRoutersRequest(input *ListVirtualRoutersInput) ListVirtualRoutersRequest
- func (c *Client) ListVirtualServicesRequest(input *ListVirtualServicesInput) ListVirtualServicesRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UpdateMeshRequest(input *UpdateMeshInput) UpdateMeshRequest
- func (c *Client) UpdateRouteRequest(input *UpdateRouteInput) UpdateRouteRequest
- func (c *Client) UpdateVirtualNodeRequest(input *UpdateVirtualNodeInput) UpdateVirtualNodeRequest
- func (c *Client) UpdateVirtualRouterRequest(input *UpdateVirtualRouterInput) UpdateVirtualRouterRequest
- func (c *Client) UpdateVirtualServiceRequest(input *UpdateVirtualServiceInput) UpdateVirtualServiceRequest
- type CreateMeshInput
- type CreateMeshOutput
- type CreateMeshRequest
- type CreateMeshResponse
- type CreateRouteInput
- type CreateRouteOutput
- type CreateRouteRequest
- type CreateRouteResponse
- type CreateVirtualNodeInput
- type CreateVirtualNodeOutput
- type CreateVirtualNodeRequest
- type CreateVirtualNodeResponse
- type CreateVirtualRouterInput
- type CreateVirtualRouterOutput
- type CreateVirtualRouterRequest
- type CreateVirtualRouterResponse
- type CreateVirtualServiceInput
- type CreateVirtualServiceOutput
- type CreateVirtualServiceRequest
- type CreateVirtualServiceResponse
- type DeleteMeshInput
- type DeleteMeshOutput
- type DeleteMeshRequest
- type DeleteMeshResponse
- type DeleteRouteInput
- type DeleteRouteOutput
- type DeleteRouteRequest
- type DeleteRouteResponse
- type DeleteVirtualNodeInput
- type DeleteVirtualNodeOutput
- type DeleteVirtualNodeRequest
- type DeleteVirtualNodeResponse
- type DeleteVirtualRouterInput
- type DeleteVirtualRouterOutput
- type DeleteVirtualRouterRequest
- type DeleteVirtualRouterResponse
- type DeleteVirtualServiceInput
- type DeleteVirtualServiceOutput
- type DeleteVirtualServiceRequest
- type DeleteVirtualServiceResponse
- type DescribeMeshInput
- type DescribeMeshOutput
- type DescribeMeshRequest
- type DescribeMeshResponse
- type DescribeRouteInput
- type DescribeRouteOutput
- type DescribeRouteRequest
- type DescribeRouteResponse
- type DescribeVirtualNodeInput
- type DescribeVirtualNodeOutput
- type DescribeVirtualNodeRequest
- type DescribeVirtualNodeResponse
- type DescribeVirtualRouterInput
- type DescribeVirtualRouterOutput
- type DescribeVirtualRouterRequest
- type DescribeVirtualRouterResponse
- type DescribeVirtualServiceInput
- type DescribeVirtualServiceOutput
- type DescribeVirtualServiceRequest
- type DescribeVirtualServiceResponse
- type DnsServiceDiscovery
- type EgressFilter
- type EgressFilterType
- type FileAccessLog
- type HealthCheckPolicy
- type HttpRoute
- type HttpRouteAction
- type HttpRouteMatch
- type ListMeshesInput
- type ListMeshesOutput
- type ListMeshesPaginator
- type ListMeshesRequest
- type ListMeshesResponse
- type ListRoutesInput
- type ListRoutesOutput
- type ListRoutesPaginator
- type ListRoutesRequest
- type ListRoutesResponse
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForResourcePaginator
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type ListVirtualNodesInput
- type ListVirtualNodesOutput
- type ListVirtualNodesPaginator
- type ListVirtualNodesRequest
- type ListVirtualNodesResponse
- type ListVirtualRoutersInput
- type ListVirtualRoutersOutput
- type ListVirtualRoutersPaginator
- type ListVirtualRoutersRequest
- type ListVirtualRoutersResponse
- type ListVirtualServicesInput
- type ListVirtualServicesOutput
- type ListVirtualServicesPaginator
- type ListVirtualServicesRequest
- type ListVirtualServicesResponse
- type Listener
- type Logging
- type MeshData
- type MeshRef
- type MeshSpec
- type MeshStatus
- type MeshStatusCode
- type PortMapping
- type PortProtocol
- type ResourceMetadata
- type RouteData
- type RouteRef
- type RouteSpec
- type RouteStatus
- type RouteStatusCode
- type ServiceDiscovery
- type TagRef
- type TagResourceInput
- type TagResourceOutput
- type TagResourceRequest
- type TagResourceResponse
- type TcpRoute
- type TcpRouteAction
- type UntagResourceInput
- type UntagResourceOutput
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateMeshInput
- type UpdateMeshOutput
- type UpdateMeshRequest
- type UpdateMeshResponse
- type UpdateRouteInput
- type UpdateRouteOutput
- type UpdateRouteRequest
- type UpdateRouteResponse
- type UpdateVirtualNodeInput
- type UpdateVirtualNodeOutput
- type UpdateVirtualNodeRequest
- type UpdateVirtualNodeResponse
- type UpdateVirtualRouterInput
- type UpdateVirtualRouterOutput
- type UpdateVirtualRouterRequest
- type UpdateVirtualRouterResponse
- type UpdateVirtualServiceInput
- type UpdateVirtualServiceOutput
- type UpdateVirtualServiceRequest
- type UpdateVirtualServiceResponse
- type VirtualNodeData
- type VirtualNodeRef
- type VirtualNodeServiceProvider
- type VirtualNodeSpec
- type VirtualNodeStatus
- type VirtualNodeStatusCode
- type VirtualRouterData
- type VirtualRouterListener
- type VirtualRouterRef
- type VirtualRouterServiceProvider
- type VirtualRouterSpec
- type VirtualRouterStatus
- type VirtualRouterStatusCode
- type VirtualServiceBackend
- type VirtualServiceData
- type VirtualServiceProvider
- type VirtualServiceRef
- type VirtualServiceSpec
- type VirtualServiceStatus
- type VirtualServiceStatusCode
- type WeightedTarget
Constants ¶
const ( ServiceName = "AWS App Mesh" // Service's name ServiceID = "AppMesh" // Service's identifier EndpointsID = "appmesh" // Service's Endpoint identifier )
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" // "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 { // The file object to send virtual node access logs to. File *FileAccessLog `locationName:"file" type:"structure"` // contains filtered or unexported fields }
An object representing the access logging information for a virtual node. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/AccessLog
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.
type Backend ¶ added in v0.8.0
type Backend struct { // Specifies a virtual service to use as a backend for a virtual node. VirtualService *VirtualServiceBackend `locationName:"virtualService" type:"structure"` // contains filtered or unexported fields }
An object representing the backends that a virtual node is expected to send outbound traffic to. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/Backend
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.
type Client ¶ added in v0.9.0
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 ¶
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 must specify the DNS service discovery hostname 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 { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name to use for the service mesh. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The service mesh specification to apply. Spec *MeshSpec `locationName:"spec" type:"structure"` // Optional metadata that you can apply to the service mesh to assist with categorization // and organization. Each tag consists of a key and an optional value, both // of which you define. Tag keys can have a maximum character length of 128 // characters, and tag values can have a maximum length of 256 characters. Tags []TagRef `locationName:"tags" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMeshInput
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 { // The full description of your service mesh following the create call. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMeshOutput
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 ¶
func (r CreateMeshRequest) Send(ctx context.Context) (*CreateMeshResponse, error)
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 { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh to create the route in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name to use for the route. // // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // The route specification to apply. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // Optional metadata that you can apply to the route to assist with categorization // and organization. Each tag consists of a key and an optional value, both // of which you define. Tag keys can have a maximum character length of 128 // characters, and tag values can have a maximum length of 256 characters. Tags []TagRef `locationName:"tags" type:"list"` // The name of the virtual router in which to create the route. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRouteInput
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 { // The full description of your mesh following the create call. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRouteOutput
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 ¶
func (r CreateRouteRequest) Send(ctx context.Context) (*CreateRouteResponse, error)
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 { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh to create the virtual node in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The virtual node specification to apply. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // Optional metadata that you can apply to the virtual node to assist with categorization // and organization. Each tag consists of a key and an optional value, both // of which you define. Tag keys can have a maximum character length of 128 // characters, and tag values can have a maximum length of 256 characters. Tags []TagRef `locationName:"tags" type:"list"` // The name to use for the virtual node. // // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNodeInput
func (CreateVirtualNodeInput) MarshalFields ¶
func (s CreateVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
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 { // The full description of your virtual node following the create call. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNodeOutput
func (CreateVirtualNodeOutput) MarshalFields ¶
func (s CreateVirtualNodeOutput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
func (r CreateVirtualNodeRequest) Send(ctx context.Context) (*CreateVirtualNodeResponse, error)
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 { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh to create the virtual router in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The virtual router specification to apply. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // Optional metadata that you can apply to the virtual router to assist with // categorization and organization. Each tag consists of a key and an optional // value, both of which you define. Tag keys can have a maximum character length // of 128 characters, and tag values can have a maximum length of 256 characters. Tags []TagRef `locationName:"tags" type:"list"` // The name to use for the virtual router. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouterInput
func (CreateVirtualRouterInput) MarshalFields ¶
func (s CreateVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
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 { // The full description of your virtual router following the create call. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouterOutput
func (CreateVirtualRouterOutput) MarshalFields ¶
func (s CreateVirtualRouterOutput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
func (r CreateVirtualRouterRequest) Send(ctx context.Context) (*CreateVirtualRouterResponse, error)
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 { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh to create the virtual service in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The virtual service specification to apply. // // Spec is a required field Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"` // Optional metadata that you can apply to the virtual service to assist with // categorization and organization. Each tag consists of a key and an optional // value, both of which you define. Tag keys can have a maximum character length // of 128 characters, and tag values can have a maximum length of 256 characters. Tags []TagRef `locationName:"tags" type:"list"` // The name to use for the virtual service. // // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualServiceInput
func (CreateVirtualServiceInput) MarshalFields ¶ added in v0.8.0
func (s CreateVirtualServiceInput) MarshalFields(e protocol.FieldEncoder) error
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 { // The full description of your virtual service following the create call. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualServiceOutput
func (CreateVirtualServiceOutput) MarshalFields ¶ added in v0.8.0
func (s CreateVirtualServiceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateVirtualServiceOutput) String ¶ added in v0.8.0
func (s CreateVirtualServiceOutput) String() string
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
func (r CreateVirtualServiceRequest) Send(ctx context.Context) (*CreateVirtualServiceResponse, error)
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 { // The name of the service mesh to delete. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMeshInput
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 { // The service mesh that was deleted. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMeshOutput
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 ¶
func (r DeleteMeshRequest) Send(ctx context.Context) (*DeleteMeshResponse, error)
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 { // The name of the service mesh to delete the route in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route to delete. // // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // The name of the virtual router to delete the route in. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRouteInput
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 { // The route that was deleted. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRouteOutput
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 ¶
func (r DeleteRouteRequest) Send(ctx context.Context) (*DeleteRouteResponse, error)
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 { // The name of the service mesh to delete the virtual node in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual node to delete. // // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNodeInput
func (DeleteVirtualNodeInput) MarshalFields ¶
func (s DeleteVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
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 { // The virtual node that was deleted. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNodeOutput
func (DeleteVirtualNodeOutput) MarshalFields ¶
func (s DeleteVirtualNodeOutput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
func (r DeleteVirtualNodeRequest) Send(ctx context.Context) (*DeleteVirtualNodeResponse, error)
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 { // The name of the service mesh to delete the virtual router in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual router to delete. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouterInput
func (DeleteVirtualRouterInput) MarshalFields ¶
func (s DeleteVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
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 { // The virtual router that was deleted. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouterOutput
func (DeleteVirtualRouterOutput) MarshalFields ¶
func (s DeleteVirtualRouterOutput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
func (r DeleteVirtualRouterRequest) Send(ctx context.Context) (*DeleteVirtualRouterResponse, error)
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 { // The name of the service mesh to delete the virtual service in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual service to delete. // // VirtualServiceName is a required field VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualServiceInput
func (DeleteVirtualServiceInput) MarshalFields ¶ added in v0.8.0
func (s DeleteVirtualServiceInput) MarshalFields(e protocol.FieldEncoder) error
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 { // The virtual service that was deleted. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualServiceOutput
func (DeleteVirtualServiceOutput) MarshalFields ¶ added in v0.8.0
func (s DeleteVirtualServiceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteVirtualServiceOutput) String ¶ added in v0.8.0
func (s DeleteVirtualServiceOutput) String() string
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
func (r DeleteVirtualServiceRequest) Send(ctx context.Context) (*DeleteVirtualServiceResponse, error)
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 { // The name of the service mesh to describe. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMeshInput
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 { // The full description of your service mesh. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMeshOutput
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 ¶
func (r DescribeMeshRequest) Send(ctx context.Context) (*DescribeMeshResponse, error)
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 { // The name of the service mesh that the route resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route to describe. // // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // The name of the virtual router that the route is associated with. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRouteInput
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 { // The full description of your route. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRouteOutput
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 ¶
func (r DescribeRouteRequest) Send(ctx context.Context) (*DescribeRouteResponse, error)
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 { // The name of the service mesh that the virtual node resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual node to describe. // // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNodeInput
func (DescribeVirtualNodeInput) MarshalFields ¶
func (s DescribeVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
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 { // The full description of your virtual node. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNodeOutput
func (DescribeVirtualNodeOutput) MarshalFields ¶
func (s DescribeVirtualNodeOutput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
func (r DescribeVirtualNodeRequest) Send(ctx context.Context) (*DescribeVirtualNodeResponse, error)
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 { // The name of the service mesh that the virtual router resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual router to describe. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouterInput
func (DescribeVirtualRouterInput) MarshalFields ¶
func (s DescribeVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeVirtualRouterInput) String ¶
func (s DescribeVirtualRouterInput) String() string
String returns the string representation
func (*DescribeVirtualRouterInput) Validate ¶
func (s *DescribeVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVirtualRouterOutput ¶
type DescribeVirtualRouterOutput struct { // The full description of your virtual router. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouterOutput
func (DescribeVirtualRouterOutput) MarshalFields ¶
func (s DescribeVirtualRouterOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeVirtualRouterOutput) String ¶
func (s DescribeVirtualRouterOutput) String() 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 ¶
func (r DescribeVirtualRouterRequest) Send(ctx context.Context) (*DescribeVirtualRouterResponse, error)
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 { // The name of the service mesh that the virtual service resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual service to describe. // // VirtualServiceName is a required field VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualServiceInput
func (DescribeVirtualServiceInput) MarshalFields ¶ added in v0.8.0
func (s DescribeVirtualServiceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeVirtualServiceInput) String ¶ added in v0.8.0
func (s DescribeVirtualServiceInput) String() string
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 { // The full description of your virtual service. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualServiceOutput
func (DescribeVirtualServiceOutput) MarshalFields ¶ added in v0.8.0
func (s DescribeVirtualServiceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeVirtualServiceOutput) String ¶ added in v0.8.0
func (s DescribeVirtualServiceOutput) String() string
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
func (r DescribeVirtualServiceRequest) Send(ctx context.Context) (*DescribeVirtualServiceResponse, error)
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 { // Specifies the DNS service discovery hostname for the virtual node. // // Hostname is a required field Hostname *string `locationName:"hostname" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing the DNS service discovery information for your virtual node. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DnsServiceDiscovery
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 EgressFilter ¶ added in v0.8.0
type EgressFilter struct { // The egress filter type. By default, the type is DROP_ALL, which allows egress // only from virtual nodes to other defined resources in the service mesh (and // any traffic to *.amazonaws.com for AWS API calls). You can set the egress // filter type to ALLOW_ALL to allow egress to any endpoint inside or outside // of the service mesh. // // Type is a required field Type 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/EgressFilter
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 { // The file path to write access logs to. You can use /dev/stdout to send access // logs to standard out and configure your Envoy container to use a log driver, // such as awslogs, to export the access logs to a log storage service such // as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's // file system to write the files to disk. // // The Envoy process must have write permissions to the path that you specify // here. Otherwise, Envoy fails to bootstrap properly. // // Path is a required field Path *string `locationName:"path" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing an access log file. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/FileAccessLog
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 HealthCheckPolicy ¶
type HealthCheckPolicy struct { // The number of consecutive successful health checks that must occur before // declaring listener healthy. // // HealthyThreshold is a required field HealthyThreshold *int64 `locationName:"healthyThreshold" min:"2" type:"integer" required:"true"` // The time period in milliseconds between each health check execution. // // IntervalMillis is a required field IntervalMillis *int64 `locationName:"intervalMillis" min:"5000" type:"long" required:"true"` // The destination path for the health check request. This is required only // if the specified protocol is HTTP. If the protocol is TCP, this parameter // is ignored. Path *string `locationName:"path" type:"string"` // The destination port for the health check request. This port must match the // port defined in the PortMapping for the listener. Port *int64 `locationName:"port" min:"1" type:"integer"` // The protocol for the health check request. // // Protocol is a required field Protocol PortProtocol `locationName:"protocol" type:"string" required:"true" enum:"true"` // The amount of time to wait when receiving a response from the health check, // in milliseconds. // // TimeoutMillis is a required field TimeoutMillis *int64 `locationName:"timeoutMillis" min:"2000" type:"long" required:"true"` // The number of consecutive failed health checks that must occur before declaring // a virtual node unhealthy. // // UnhealthyThreshold is a required field UnhealthyThreshold *int64 `locationName:"unhealthyThreshold" min:"2" type:"integer" required:"true"` // contains filtered or unexported fields }
An object representing the health check policy for a virtual node's listener. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/HealthCheckPolicy
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 HttpRoute ¶
type HttpRoute struct { // The action to take if a match is determined. // // Action is a required field Action *HttpRouteAction `locationName:"action" type:"structure" required:"true"` // The criteria for determining an HTTP request match. // // Match is a required field Match *HttpRouteMatch `locationName:"match" type:"structure" required:"true"` // contains filtered or unexported fields }
An object representing the HTTP routing specification for a route. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/HttpRoute
func (HttpRoute) MarshalFields ¶
func (s HttpRoute) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type HttpRouteAction ¶
type HttpRouteAction struct { // The targets that traffic is routed to when a request matches the route. You // can specify one or more targets and their relative weights to distribute // traffic with. // // WeightedTargets is a required field WeightedTargets []WeightedTarget `locationName:"weightedTargets" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
An object representing the traffic distribution requirements for matched HTTP requests. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/HttpRouteAction
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 HttpRouteMatch ¶
type HttpRouteMatch struct { // Specifies the path to match requests with. This parameter must always start // with /, which by itself matches all requests to the virtual service name. // You can also match for path-based routing of requests. For example, if your // virtual service name is my-service.local and you want the route to match // requests to my-service.local/metrics, your prefix should be /metrics. // // Prefix is a required field Prefix *string `locationName:"prefix" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing the requirements for a route to match HTTP requests for a virtual router. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/HttpRouteMatch
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 ListMeshesInput ¶
type ListMeshesInput struct { // The maximum number of results returned by ListMeshes in paginated output. // When you use this parameter, ListMeshes returns only limit results in a single // page along with a nextToken response element. You can see the remaining results // of the initial request by sending another ListMeshes request with the returned // nextToken value. This value can be between 1 and 100. If you don't use this // parameter, ListMeshes returns up to 100 results and a nextToken value if // applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The nextToken value returned from a previous paginated ListMeshes request // where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. // // This token should be treated as an opaque identifier that is used only to // retrieve the next items in a list and not for other programmatic purposes. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshesInput
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 { // The list of existing service meshes. // // Meshes is a required field Meshes []MeshRef `locationName:"meshes" type:"list" required:"true"` // The nextToken value to include in a future ListMeshes request. When the results // of a ListMeshes request exceed limit, you can use this value to retrieve // the next page of results. This value is null when there are no more results // to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshesOutput
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
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 ¶
func (r ListMeshesRequest) Send(ctx context.Context) (*ListMeshesResponse, error)
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 { // The maximum number of results returned by ListRoutes in paginated output. // When you use this parameter, ListRoutes returns only limit results in a single // page along with a nextToken response element. You can see the remaining results // of the initial request by sending another ListRoutes request with the returned // nextToken value. This value can be between 1 and 100. If you don't use this // parameter, ListRoutes returns up to 100 results and a nextToken value if // applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh to list routes in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListRoutes request // where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The name of the virtual router to list routes in. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutesInput
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 { // The nextToken value to include in a future ListRoutes request. When the results // of a ListRoutes request exceed limit, you can use this value to retrieve // the next page of results. This value is null when there are no more results // to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing routes for the specified service mesh and virtual router. // // Routes is a required field Routes []RouteRef `locationName:"routes" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutesOutput
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
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 ¶
func (r ListRoutesRequest) Send(ctx context.Context) (*ListRoutesResponse, error)
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 { // The maximum number of tag results returned by ListTagsForResource in paginated // output. When this parameter is used, ListTagsForResource returns only limit // results in a single page along with a nextToken response element. You can // see the remaining results of the initial request by sending another ListTagsForResource // request with the returned nextToken value. This value can be between 1 and // 100. If you don't use this parameter, ListTagsForResource returns up to 100 // results and a nextToken value if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The nextToken value returned from a previous paginated ListTagsForResource // request where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The Amazon Resource Name (ARN) that identifies the resource to list the tags // for. // // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResourceInput
func (ListTagsForResourceInput) MarshalFields ¶ added in v0.8.0
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
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 { // The nextToken value to include in a future ListTagsForResource request. When // the results of a ListTagsForResource request exceed limit, you can use this // value to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The tags for the resource. // // Tags is a required field Tags []TagRef `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResourceOutput
func (ListTagsForResourceOutput) MarshalFields ¶ added in v0.8.0
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
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
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
func (p *ListTagsForResourcePaginator) CurrentPage() *ListTagsForResourceOutput
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
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
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 { // The maximum number of results returned by ListVirtualNodes in paginated output. // When you use this parameter, ListVirtualNodes returns only limit results // in a single page along with a nextToken response element. You can see the // remaining results of the initial request by sending another ListVirtualNodes // request with the returned nextToken value. This value can be between 1 and // 100. If you don't use this parameter, ListVirtualNodes returns up to 100 // results and a nextToken value if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh to list virtual nodes in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListVirtualNodes request // where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodesInput
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 { // The nextToken value to include in a future ListVirtualNodes request. When // the results of a ListVirtualNodes request exceed limit, you can use this // value to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing virtual nodes for the specified service mesh. // // VirtualNodes is a required field VirtualNodes []VirtualNodeRef `locationName:"virtualNodes" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodesOutput
func (ListVirtualNodesOutput) MarshalFields ¶
func (s ListVirtualNodesOutput) MarshalFields(e protocol.FieldEncoder) error
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
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
func (p *ListVirtualNodesPaginator) CurrentPage() *ListVirtualNodesOutput
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 ¶
func (r ListVirtualNodesRequest) Send(ctx context.Context) (*ListVirtualNodesResponse, error)
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 { // The maximum number of results returned by ListVirtualRouters in paginated // output. When you use this parameter, ListVirtualRouters returns only limit // results in a single page along with a nextToken response element. You can // see the remaining results of the initial request by sending another ListVirtualRouters // request with the returned nextToken value. This value can be between 1 and // 100. If you don't use this parameter, ListVirtualRouters returns up to 100 // results and a nextToken value if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh to list virtual routers in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListVirtualRouters // request where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRoutersInput
func (ListVirtualRoutersInput) MarshalFields ¶
func (s ListVirtualRoutersInput) MarshalFields(e protocol.FieldEncoder) error
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 { // The nextToken value to include in a future ListVirtualRouters request. When // the results of a ListVirtualRouters request exceed limit, you can use this // value to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing virtual routers for the specified service mesh. // // VirtualRouters is a required field VirtualRouters []VirtualRouterRef `locationName:"virtualRouters" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRoutersOutput
func (ListVirtualRoutersOutput) MarshalFields ¶
func (s ListVirtualRoutersOutput) MarshalFields(e protocol.FieldEncoder) error
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
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
func (p *ListVirtualRoutersPaginator) CurrentPage() *ListVirtualRoutersOutput
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 ¶
func (r ListVirtualRoutersRequest) Send(ctx context.Context) (*ListVirtualRoutersResponse, error)
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 { // The maximum number of results returned by ListVirtualServices in paginated // output. When you use this parameter, ListVirtualServices returns only limit // results in a single page along with a nextToken response element. You can // see the remaining results of the initial request by sending another ListVirtualServices // request with the returned nextToken value. This value can be between 1 and // 100. If you don't use this parameter, ListVirtualServices returns up to 100 // results and a nextToken value if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh to list virtual services in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListVirtualServices // request where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServicesInput
func (ListVirtualServicesInput) MarshalFields ¶ added in v0.8.0
func (s ListVirtualServicesInput) MarshalFields(e protocol.FieldEncoder) error
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 { // The nextToken value to include in a future ListVirtualServices request. When // the results of a ListVirtualServices request exceed limit, you can use this // value to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing virtual services for the specified service mesh. // // VirtualServices is a required field VirtualServices []VirtualServiceRef `locationName:"virtualServices" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServicesOutput
func (ListVirtualServicesOutput) MarshalFields ¶ added in v0.8.0
func (s ListVirtualServicesOutput) MarshalFields(e protocol.FieldEncoder) error
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
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
func (p *ListVirtualServicesPaginator) CurrentPage() *ListVirtualServicesOutput
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
func (r ListVirtualServicesRequest) Send(ctx context.Context) (*ListVirtualServicesResponse, error)
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 { // The health check information for the listener. HealthCheck *HealthCheckPolicy `locationName:"healthCheck" type:"structure"` // The port mapping information for the listener. // // PortMapping is a required field PortMapping *PortMapping `locationName:"portMapping" type:"structure" required:"true"` // contains filtered or unexported fields }
An object representing a listener for a virtual node. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/Listener
func (Listener) MarshalFields ¶
func (s Listener) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type Logging ¶ added in v0.8.0
type Logging struct { // The access log configuration for a virtual node. AccessLog *AccessLog `locationName:"accessLog" type:"structure"` // contains filtered or unexported fields }
An object representing the logging information for a virtual node. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/Logging
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.
type MeshData ¶
type MeshData struct { // The name of the service mesh. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the service mesh. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // The associated specification for the service mesh. // // Spec is a required field Spec *MeshSpec `locationName:"spec" type:"structure" required:"true"` // The status of the service mesh. // // Status is a required field Status *MeshStatus `locationName:"status" type:"structure" required:"true"` // contains filtered or unexported fields }
An object representing a service mesh returned by a describe operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/MeshData
func (MeshData) MarshalFields ¶
func (s MeshData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type MeshRef ¶
type MeshRef struct { // The full Amazon Resource Name (ARN) of the service mesh. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The name of the service mesh. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a service mesh returned by a list operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/MeshRef
func (MeshRef) MarshalFields ¶
func (s MeshRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type MeshSpec ¶ added in v0.8.0
type MeshSpec struct { // The egress filter rules for the service mesh. EgressFilter *EgressFilter `locationName:"egressFilter" type:"structure"` // contains filtered or unexported fields }
An object representing the specification of a service mesh. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/MeshSpec
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.
type MeshStatus ¶
type MeshStatus struct { // The current mesh status. Status MeshStatusCode `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
An object representing the status of a service mesh. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/MeshStatus
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 { // The port used for the port mapping. // // Port is a required field Port *int64 `locationName:"port" min:"1" type:"integer" required:"true"` // The protocol used for the port mapping. // // Protocol is a required field Protocol 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/PortMapping
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 { // The full Amazon Resource Name (ARN) for the resource. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The Unix epoch timestamp in seconds for when the resource was created. // // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix" required:"true"` // The Unix epoch timestamp in seconds for when the resource was last updated. // // LastUpdatedAt is a required field LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix" required:"true"` // The unique identifier for the resource. // // Uid is a required field Uid *string `locationName:"uid" type:"string" required:"true"` // The version of the resource. Resources are created at version 1, and this // version is incremented each time that they're updated. // // Version is a required field Version *int64 `locationName:"version" type:"long" required:"true"` // contains filtered or unexported fields }
An object representing metadata for a resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ResourceMetadata
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 { // The name of the service mesh that the route resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the route. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // The name of the route. // // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // The specifications of the route. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // The status of the route. // // Status is a required field Status *RouteStatus `locationName:"status" type:"structure" required:"true"` // The virtual router that the route is associated with. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a route returned by a describe operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/RouteData
func (RouteData) MarshalFields ¶
func (s RouteData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type RouteRef ¶
type RouteRef struct { // The full Amazon Resource Name (ARN) for the route. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The name of the service mesh that the route resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route. // // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // The virtual router that the route is associated with. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a route returned by a list operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/RouteRef
func (RouteRef) MarshalFields ¶
func (s RouteRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type RouteSpec ¶
type RouteSpec struct { // The HTTP routing information for the route. HttpRoute *HttpRoute `locationName:"httpRoute" type:"structure"` // The TCP routing information for the route. TcpRoute *TcpRoute `locationName:"tcpRoute" type:"structure"` // contains filtered or unexported fields }
An object representing the specification of a route. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/RouteSpec
func (RouteSpec) MarshalFields ¶
func (s RouteSpec) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type RouteStatus ¶
type RouteStatus struct { // The current status for the route. // // 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/RouteStatus
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 { // Specifies the DNS information for the virtual node. Dns *DnsServiceDiscovery `locationName:"dns" type:"structure"` // contains filtered or unexported fields }
An object representing the service discovery information for a virtual node. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ServiceDiscovery
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 { // One part of a key-value pair that make up a tag. A key is a general label // that acts like a category for more specific tag values. // // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // The optional part of a key-value pair that make up a tag. A value acts as // a descriptor within a tag category (key). Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Optional metadata that you apply to a resource to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagRef
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.
type TagResourceInput ¶ added in v0.8.0
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource to add tags to. // // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // The tags to add to the resource. A tag is an array of key-value pairs. Tag // keys can have a maximum character length of 128 characters, and tag values // can have a maximum length of 256 characters. // // Tags is a required field Tags []TagRef `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResourceInput
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResourceOutput
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
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
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 TcpRoute ¶ added in v0.8.0
type TcpRoute struct { // The action to take if a match is determined. // // Action is a required field Action *TcpRouteAction `locationName:"action" type:"structure" required:"true"` // contains filtered or unexported fields }
An object representing the TCP routing specification for a route. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TcpRoute
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.
type TcpRouteAction ¶ added in v0.8.0
type TcpRouteAction struct { // The targets that traffic is routed to when a request matches the route. You // can specify one or more targets and their relative weights to distribute // traffic with. // // WeightedTargets is a required field WeightedTargets []WeightedTarget `locationName:"weightedTargets" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
An object representing the traffic distribution requirements for matched TCP requests. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TcpRouteAction
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 { // The Amazon Resource Name (ARN) of the resource to delete tags from. // // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // The keys of the tags to be removed. // // TagKeys is a required field TagKeys []string `locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResourceInput
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResourceOutput
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
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
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 { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh to update. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The service mesh specification to apply. Spec *MeshSpec `locationName:"spec" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMeshInput
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMeshOutput
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
func (r UpdateMeshRequest) Send(ctx context.Context) (*UpdateMeshResponse, error)
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 { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh that the route resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route to update. // // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // The new route specification to apply. This overwrites the existing data. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual router that the route is associated with. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRouteInput
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 { // A full description of the route that was updated. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRouteOutput
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 ¶
func (r UpdateRouteRequest) Send(ctx context.Context) (*UpdateRouteResponse, error)
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 { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh that the virtual node resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The new virtual node specification to apply. This overwrites the existing // data. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual node to update. // // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNodeInput
func (UpdateVirtualNodeInput) MarshalFields ¶
func (s UpdateVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
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 { // A full description of the virtual node that was updated. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNodeOutput
func (UpdateVirtualNodeOutput) MarshalFields ¶
func (s UpdateVirtualNodeOutput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
func (r UpdateVirtualNodeRequest) Send(ctx context.Context) (*UpdateVirtualNodeResponse, error)
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 { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh that the virtual router resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The new virtual router specification to apply. This overwrites the existing // data. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual router to update. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouterInput
func (UpdateVirtualRouterInput) MarshalFields ¶
func (s UpdateVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
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 { // A full description of the virtual router that was updated. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouterOutput
func (UpdateVirtualRouterOutput) MarshalFields ¶
func (s UpdateVirtualRouterOutput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
func (r UpdateVirtualRouterRequest) Send(ctx context.Context) (*UpdateVirtualRouterResponse, error)
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 { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh that the virtual service resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The new virtual service specification to apply. This overwrites the existing // data. // // Spec is a required field Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual service to update. // // VirtualServiceName is a required field VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualServiceInput
func (UpdateVirtualServiceInput) MarshalFields ¶ added in v0.8.0
func (s UpdateVirtualServiceInput) MarshalFields(e protocol.FieldEncoder) error
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 { // A full description of the virtual service that was updated. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualServiceOutput
func (UpdateVirtualServiceOutput) MarshalFields ¶ added in v0.8.0
func (s UpdateVirtualServiceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateVirtualServiceOutput) String ¶ added in v0.8.0
func (s UpdateVirtualServiceOutput) String() string
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
func (r UpdateVirtualServiceRequest) Send(ctx context.Context) (*UpdateVirtualServiceResponse, error)
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 { // The name of the service mesh that the virtual node resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the virtual node. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // The specifications of the virtual node. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // The current status for the virtual node. // // Status is a required field Status *VirtualNodeStatus `locationName:"status" type:"structure" required:"true"` // The name of the virtual node. // // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual node returned by a describe operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualNodeData
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 { // The full Amazon Resource Name (ARN) for the virtual node. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The name of the service mesh that the virtual node resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual node. // // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual node returned by a list operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualNodeRef
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 { // The name of the virtual node that is acting as a service provider. // // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual node service provider. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualNodeServiceProvider
func (VirtualNodeServiceProvider) MarshalFields ¶ added in v0.8.0
func (s VirtualNodeServiceProvider) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeServiceProvider) String ¶ added in v0.8.0
func (s VirtualNodeServiceProvider) String() string
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 { // The backends that the virtual node is expected to send outbound traffic to. Backends []Backend `locationName:"backends" type:"list"` // The listeners that the virtual node is expected to receive inbound traffic // from. Currently only one listener is supported per virtual node. Listeners []Listener `locationName:"listeners" type:"list"` // The inbound and outbound access logging information for the virtual node. Logging *Logging `locationName:"logging" type:"structure"` // The service discovery information for the virtual node. If your virtual node // does not expect ingress traffic, you can omit this parameter. ServiceDiscovery *ServiceDiscovery `locationName:"serviceDiscovery" type:"structure"` // contains filtered or unexported fields }
An object representing the specification of a virtual node. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualNodeSpec
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 { // The current status of the virtual node. // // 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualNodeStatus
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 { // The name of the service mesh that the virtual router resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the virtual router. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // The specifications of the virtual router. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // The current status of the virtual router. // // Status is a required field Status *VirtualRouterStatus `locationName:"status" type:"structure" required:"true"` // The name of the virtual router. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual router returned by a describe operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualRouterData
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualRouterListener
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 { // The full Amazon Resource Name (ARN) for the virtual router. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The name of the service mesh that the virtual router resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual router. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual router returned by a list operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualRouterRef
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 { // The name of the virtual router that is acting as a service provider. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual node service provider. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualRouterServiceProvider
func (VirtualRouterServiceProvider) MarshalFields ¶ added in v0.8.0
func (s VirtualRouterServiceProvider) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualRouterServiceProvider) String ¶ added in v0.8.0
func (s VirtualRouterServiceProvider) String() string
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 { // The listeners that the virtual router is expected to receive inbound traffic // from. Currently only one listener is supported per virtual router. // // Listeners is a required field Listeners []VirtualRouterListener `locationName:"listeners" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
An object representing the specification of a virtual router. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualRouterSpec
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 { // The current status of the virtual router. // // 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualRouterStatus
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 { // The name of the virtual service that is acting as a virtual node backend. // // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual service backend for a virtual node. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualServiceBackend
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 { // The name of the service mesh that the virtual service resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object representing metadata for a resource. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // The specifications of the virtual service. // // Spec is a required field Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"` // The current status of the virtual service. // // Status is a required field Status *VirtualServiceStatus `locationName:"status" type:"structure" required:"true"` // The name of the virtual service. // // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual service returned by a describe operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualServiceData
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 { // The virtual node associated with a virtual service. VirtualNode *VirtualNodeServiceProvider `locationName:"virtualNode" type:"structure"` // The virtual router associated with a virtual service. VirtualRouter *VirtualRouterServiceProvider `locationName:"virtualRouter" type:"structure"` // contains filtered or unexported fields }
An object representing the provider for a virtual service. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualServiceProvider
func (VirtualServiceProvider) MarshalFields ¶ added in v0.8.0
func (s VirtualServiceProvider) MarshalFields(e protocol.FieldEncoder) error
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 { // The full Amazon Resource Name (ARN) for the virtual service. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The name of the service mesh that the virtual service resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual service. // // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual service returned by a list operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualServiceRef
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 { // The App Mesh object that is acting as the provider for a virtual service. // You can specify a single virtual node or virtual router. Provider *VirtualServiceProvider `locationName:"provider" type:"structure"` // contains filtered or unexported fields }
An object representing the specification of a virtual service. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualServiceSpec
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 { // The current status of the virtual service. // // 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualServiceStatus
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 { // The virtual node to associate with the weighted target. // // VirtualNode is a required field VirtualNode *string `locationName:"virtualNode" min:"1" type:"string" required:"true"` // The relative weight of the weighted target. // // Weight is a required field Weight *int64 `locationName:"weight" type:"integer" required:"true"` // contains filtered or unexported fields }
An object representing a target and its relative weight. Traffic is distributed across targets according to their relative weight. For example, a weighted target with a relative weight of 50 receives five times as much traffic as one with a relative weight of 10. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/WeightedTarget
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.
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_CreateMesh.go
- api_op_CreateRoute.go
- api_op_CreateVirtualNode.go
- api_op_CreateVirtualRouter.go
- api_op_CreateVirtualService.go
- api_op_DeleteMesh.go
- api_op_DeleteRoute.go
- api_op_DeleteVirtualNode.go
- api_op_DeleteVirtualRouter.go
- api_op_DeleteVirtualService.go
- api_op_DescribeMesh.go
- api_op_DescribeRoute.go
- api_op_DescribeVirtualNode.go
- api_op_DescribeVirtualRouter.go
- api_op_DescribeVirtualService.go
- api_op_ListMeshes.go
- api_op_ListRoutes.go
- api_op_ListTagsForResource.go
- api_op_ListVirtualNodes.go
- api_op_ListVirtualRouters.go
- api_op_ListVirtualServices.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateMesh.go
- api_op_UpdateRoute.go
- api_op_UpdateVirtualNode.go
- api_op_UpdateVirtualRouter.go
- api_op_UpdateVirtualService.go
- api_types.go
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. |