Documentation ¶
Overview ¶
Package appmesh provides the client and types for making API requests to AWS App Mesh.
AWS App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor and control microservices. App Mesh standardizes how your microservices communicate, giving you end-to-end visibility and helping to ensure high availability for your applications.
App Mesh gives you consistent visibility and network traffic controls for every microservice in an application. You can use App Mesh with AWS Fargate, Amazon ECS, Amazon EKS, Kubernetes on AWS, and Amazon EC2.
App Mesh supports microservice applications that use service discovery naming for their components. For more information about service discovery on Amazon ECS, see Service Discovery (https://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 AwsCloudMapInstanceAttribute
- type AwsCloudMapServiceDiscovery
- type Backend
- type BackendDefaults
- 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 Duration
- type DurationUnit
- type EgressFilter
- type EgressFilterType
- type FileAccessLog
- type GrpcRetryPolicy
- type GrpcRetryPolicyEvent
- type GrpcRoute
- type GrpcRouteAction
- type GrpcRouteMatch
- type GrpcRouteMetadata
- type GrpcRouteMetadataMatchMethod
- type HeaderMatchMethod
- type HealthCheckPolicy
- type HttpMethod
- type HttpRetryPolicy
- type HttpRoute
- type HttpRouteAction
- type HttpRouteHeader
- type HttpRouteMatch
- type HttpScheme
- 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 ListenerTls
- type ListenerTlsAcmCertificate
- type ListenerTlsCertificate
- type ListenerTlsFileCertificate
- type ListenerTlsMode
- type Logging
- type MatchRange
- type MeshData
- type MeshRef
- type MeshSpec
- type MeshStatus
- type MeshStatusCode
- type Policy
- type PolicyTls
- 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 TcpRetryPolicyEvent
- type TcpRoute
- type TcpRouteAction
- type TlsValidationContext
- type TlsValidationContextAcmTrust
- type TlsValidationContextFileTrust
- type TlsValidationContextTrust
- 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-quotas.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 { // An object that represents an access log file. File *FileAccessLog `locationName:"file" type:"structure"` // contains filtered or unexported fields }
An object that represents the access logging information for a virtual node.
func (AccessLog) MarshalFields ¶ added in v0.8.0
func (s AccessLog) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type AwsCloudMapInstanceAttribute ¶ added in v0.10.0
type AwsCloudMapInstanceAttribute struct { // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // Value is a required field Value *string `locationName:"value" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents the AWS Cloud Map attribute information for your virtual node.
func (AwsCloudMapInstanceAttribute) MarshalFields ¶ added in v0.10.0
func (s AwsCloudMapInstanceAttribute) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AwsCloudMapInstanceAttribute) String ¶ added in v0.10.0
func (s AwsCloudMapInstanceAttribute) String() string
String returns the string representation
func (*AwsCloudMapInstanceAttribute) Validate ¶ added in v0.10.0
func (s *AwsCloudMapInstanceAttribute) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AwsCloudMapServiceDiscovery ¶ added in v0.10.0
type AwsCloudMapServiceDiscovery struct { Attributes []AwsCloudMapInstanceAttribute `locationName:"attributes" type:"list"` // NamespaceName is a required field NamespaceName *string `locationName:"namespaceName" min:"1" type:"string" required:"true"` // ServiceName is a required field ServiceName *string `locationName:"serviceName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents the AWS Cloud Map service discovery information for your virtual node.
func (AwsCloudMapServiceDiscovery) MarshalFields ¶ added in v0.10.0
func (s AwsCloudMapServiceDiscovery) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AwsCloudMapServiceDiscovery) String ¶ added in v0.10.0
func (s AwsCloudMapServiceDiscovery) String() string
String returns the string representation
func (*AwsCloudMapServiceDiscovery) Validate ¶ added in v0.10.0
func (s *AwsCloudMapServiceDiscovery) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Backend ¶ added in v0.8.0
type Backend struct { // An object that represents a virtual service backend for a virtual node. VirtualService *VirtualServiceBackend `locationName:"virtualService" type:"structure"` // contains filtered or unexported fields }
An object that represents the backends that a virtual node is expected to send outbound traffic to.
func (Backend) MarshalFields ¶ added in v0.8.0
func (s Backend) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type BackendDefaults ¶ added in v0.20.0
type BackendDefaults struct { // An object that represents a client policy. ClientPolicy *Policy `locationName:"clientPolicy" type:"structure"` // contains filtered or unexported fields }
An object that represents the default properties for a backend.
func (BackendDefaults) MarshalFields ¶ added in v0.20.0
func (s BackendDefaults) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (BackendDefaults) String ¶ added in v0.20.0
func (s BackendDefaults) String() string
String returns the string representation
func (*BackendDefaults) Validate ¶ added in v0.20.0
func (s *BackendDefaults) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 services that are represented by resources within the mesh. 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.
For more information about service meshes, see Service meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/meshes.html).
// 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 route several different protocols and define a retry policy for a route. Traffic can be routed to one or more virtual nodes.
For more information about routes, see Routes (https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html).
// Example sending a request using CreateRouteRequest. req := client.CreateRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute
func (*Client) CreateVirtualNodeRequest ¶ added in v0.9.0
func (c *Client) CreateVirtualNodeRequest(input *CreateVirtualNodeInput) CreateVirtualNodeRequest
CreateVirtualNodeRequest returns a request value for making API operation for AWS App Mesh.
Creates a virtual node within a service mesh.
A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS service or a Kubernetes deployment. When you create a virtual node, you can specify the service discovery information for your task group, and whether the proxy running in a task group will communicate with other proxies using Transport Layer Security (TLS).
You define a listener for any inbound traffic that your virtual node expects. Any virtual service that your virtual node expects to communicate to is 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.
For more information about virtual nodes, see Virtual nodes (https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html).
// 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.
Specify a listener for any inbound traffic that your virtual router receives. Create a virtual router for each protocol and port that you need to route. 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.
For more information about virtual routers, see Virtual routers (https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html).
// 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.
For more information about virtual services, see Virtual services (https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_services.html).
// Example sending a request using CreateVirtualServiceRequest. req := client.CreateVirtualServiceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService
func (*Client) DeleteMeshRequest ¶ added in v0.9.0
func (c *Client) DeleteMeshRequest(input *DeleteMeshInput) DeleteMeshRequest
DeleteMeshRequest returns a request value for making API operation for AWS App Mesh.
Deletes an existing service mesh.
You must delete all resources (virtual services, routes, virtual routers, and virtual nodes) in the service mesh before you can delete the mesh itself.
// Example sending a request using DeleteMeshRequest. req := client.DeleteMeshRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh
func (*Client) DeleteRouteRequest ¶ added in v0.9.0
func (c *Client) DeleteRouteRequest(input *DeleteRouteInput) DeleteRouteRequest
DeleteRouteRequest returns a request value for making API operation for AWS App Mesh.
Deletes an existing route.
// Example sending a request using DeleteRouteRequest. req := client.DeleteRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute
func (*Client) DeleteVirtualNodeRequest ¶ added in v0.9.0
func (c *Client) DeleteVirtualNodeRequest(input *DeleteVirtualNodeInput) DeleteVirtualNodeRequest
DeleteVirtualNodeRequest returns a request value for making API operation for AWS App Mesh.
Deletes an existing virtual node.
You must delete any virtual services that list a virtual node as a service provider before you can delete the virtual node itself.
// Example sending a request using DeleteVirtualNodeRequest. req := client.DeleteVirtualNodeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode
func (*Client) DeleteVirtualRouterRequest ¶ added in v0.9.0
func (c *Client) DeleteVirtualRouterRequest(input *DeleteVirtualRouterInput) DeleteVirtualRouterRequest
DeleteVirtualRouterRequest returns a request value for making API operation for AWS App Mesh.
Deletes an existing virtual router.
You must delete any routes associated with the virtual router before you can delete the router itself.
// Example sending a request using DeleteVirtualRouterRequest. req := client.DeleteVirtualRouterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter
func (*Client) DeleteVirtualServiceRequest ¶ added in v0.9.0
func (c *Client) DeleteVirtualServiceRequest(input *DeleteVirtualServiceInput) DeleteVirtualServiceRequest
DeleteVirtualServiceRequest returns a request value for making API operation for AWS App Mesh.
Deletes an existing virtual service.
// Example sending a request using DeleteVirtualServiceRequest. req := client.DeleteVirtualServiceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService
func (*Client) DescribeMeshRequest ¶ added in v0.9.0
func (c *Client) DescribeMeshRequest(input *DescribeMeshInput) DescribeMeshRequest
DescribeMeshRequest returns a request value for making API operation for AWS App Mesh.
Describes an existing service mesh.
// Example sending a request using DescribeMeshRequest. req := client.DescribeMeshRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh
func (*Client) DescribeRouteRequest ¶ added in v0.9.0
func (c *Client) DescribeRouteRequest(input *DescribeRouteInput) DescribeRouteRequest
DescribeRouteRequest returns a request value for making API operation for AWS App Mesh.
Describes an existing route.
// Example sending a request using DescribeRouteRequest. req := client.DescribeRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute
func (*Client) DescribeVirtualNodeRequest ¶ added in v0.9.0
func (c *Client) DescribeVirtualNodeRequest(input *DescribeVirtualNodeInput) DescribeVirtualNodeRequest
DescribeVirtualNodeRequest returns a request value for making API operation for AWS App Mesh.
Describes an existing virtual node.
// Example sending a request using DescribeVirtualNodeRequest. req := client.DescribeVirtualNodeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode
func (*Client) DescribeVirtualRouterRequest ¶ added in v0.9.0
func (c *Client) DescribeVirtualRouterRequest(input *DescribeVirtualRouterInput) DescribeVirtualRouterRequest
DescribeVirtualRouterRequest returns a request value for making API operation for AWS App Mesh.
Describes an existing virtual router.
// Example sending a request using DescribeVirtualRouterRequest. req := client.DescribeVirtualRouterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter
func (*Client) DescribeVirtualServiceRequest ¶ added in v0.9.0
func (c *Client) DescribeVirtualServiceRequest(input *DescribeVirtualServiceInput) DescribeVirtualServiceRequest
DescribeVirtualServiceRequest returns a request value for making API operation for AWS App Mesh.
Describes an existing virtual service.
// Example sending a request using DescribeVirtualServiceRequest. req := client.DescribeVirtualServiceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService
func (*Client) ListMeshesRequest ¶ added in v0.9.0
func (c *Client) ListMeshesRequest(input *ListMeshesInput) ListMeshesRequest
ListMeshesRequest returns a request value for making API operation for AWS App Mesh.
Returns a list of existing service meshes.
// Example sending a request using ListMeshesRequest. req := client.ListMeshesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes
func (*Client) ListRoutesRequest ¶ added in v0.9.0
func (c *Client) ListRoutesRequest(input *ListRoutesInput) ListRoutesRequest
ListRoutesRequest returns a request value for making API operation for AWS App Mesh.
Returns a list of existing routes in a service mesh.
// Example sending a request using ListRoutesRequest. req := client.ListRoutesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes
func (*Client) ListTagsForResourceRequest ¶ added in v0.9.0
func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for AWS App Mesh.
List the tags for an App Mesh resource.
// Example sending a request using ListTagsForResourceRequest. req := client.ListTagsForResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource
func (*Client) ListVirtualNodesRequest ¶ added in v0.9.0
func (c *Client) ListVirtualNodesRequest(input *ListVirtualNodesInput) ListVirtualNodesRequest
ListVirtualNodesRequest returns a request value for making API operation for AWS App Mesh.
Returns a list of existing virtual nodes.
// Example sending a request using ListVirtualNodesRequest. req := client.ListVirtualNodesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes
func (*Client) ListVirtualRoutersRequest ¶ added in v0.9.0
func (c *Client) ListVirtualRoutersRequest(input *ListVirtualRoutersInput) ListVirtualRoutersRequest
ListVirtualRoutersRequest returns a request value for making API operation for AWS App Mesh.
Returns a list of existing virtual routers in a service mesh.
// Example sending a request using ListVirtualRoutersRequest. req := client.ListVirtualRoutersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters
func (*Client) ListVirtualServicesRequest ¶ added in v0.9.0
func (c *Client) ListVirtualServicesRequest(input *ListVirtualServicesInput) ListVirtualServicesRequest
ListVirtualServicesRequest returns a request value for making API operation for AWS App Mesh.
Returns a list of existing virtual services in a service mesh.
// Example sending a request using ListVirtualServicesRequest. req := client.ListVirtualServicesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices
func (*Client) TagResourceRequest ¶ added in v0.9.0
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for AWS App Mesh.
Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource
func (*Client) UntagResourceRequest ¶ added in v0.9.0
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for AWS App Mesh.
Deletes specified tags from a resource.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource
func (*Client) UpdateMeshRequest ¶ added in v0.9.0
func (c *Client) UpdateMeshRequest(input *UpdateMeshInput) UpdateMeshRequest
UpdateMeshRequest returns a request value for making API operation for AWS App Mesh.
Updates an existing service mesh.
// Example sending a request using UpdateMeshRequest. req := client.UpdateMeshRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh
func (*Client) UpdateRouteRequest ¶ added in v0.9.0
func (c *Client) UpdateRouteRequest(input *UpdateRouteInput) UpdateRouteRequest
UpdateRouteRequest returns a request value for making API operation for AWS App Mesh.
Updates an existing route for a specified service mesh and virtual router.
// Example sending a request using UpdateRouteRequest. req := client.UpdateRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute
func (*Client) UpdateVirtualNodeRequest ¶ added in v0.9.0
func (c *Client) UpdateVirtualNodeRequest(input *UpdateVirtualNodeInput) UpdateVirtualNodeRequest
UpdateVirtualNodeRequest returns a request value for making API operation for AWS App Mesh.
Updates an existing virtual node in a specified service mesh.
// Example sending a request using UpdateVirtualNodeRequest. req := client.UpdateVirtualNodeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode
func (*Client) UpdateVirtualRouterRequest ¶ added in v0.9.0
func (c *Client) UpdateVirtualRouterRequest(input *UpdateVirtualRouterInput) UpdateVirtualRouterRequest
UpdateVirtualRouterRequest returns a request value for making API operation for AWS App Mesh.
Updates an existing virtual router in a specified service mesh.
// Example sending a request using UpdateVirtualRouterRequest. req := client.UpdateVirtualRouterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter
func (*Client) UpdateVirtualServiceRequest ¶ added in v0.9.0
func (c *Client) UpdateVirtualServiceRequest(input *UpdateVirtualServiceInput) UpdateVirtualServiceRequest
UpdateVirtualServiceRequest returns a request value for making API operation for AWS App Mesh.
Updates an existing virtual service in a specified service mesh.
// Example sending a request using UpdateVirtualServiceRequest. req := client.UpdateVirtualServiceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService
type CreateMeshInput ¶
type CreateMeshInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents the specification of a service mesh. Spec *MeshSpec `locationName:"spec" type:"structure"` Tags []TagRef `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateMeshInput) MarshalFields ¶
func (s CreateMeshInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateMeshInput) String ¶
func (s CreateMeshInput) String() string
String returns the string representation
func (*CreateMeshInput) Validate ¶
func (s *CreateMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMeshOutput ¶
type CreateMeshOutput struct { // An object that represents a service mesh returned by a describe operation. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateMeshOutput) MarshalFields ¶
func (s CreateMeshOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateMeshOutput) String ¶
func (s CreateMeshOutput) String() string
String returns the string representation
type CreateMeshRequest ¶
type CreateMeshRequest struct { *aws.Request Input *CreateMeshInput Copy func(*CreateMeshInput) CreateMeshRequest }
CreateMeshRequest is the request type for the CreateMesh API operation.
func (CreateMeshRequest) Send ¶
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 { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // An object that represents a route specification. Specify one route type. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` Tags []TagRef `locationName:"tags" type:"list"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateRouteInput) MarshalFields ¶
func (s CreateRouteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateRouteInput) String ¶
func (s CreateRouteInput) String() string
String returns the string representation
func (*CreateRouteInput) Validate ¶
func (s *CreateRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRouteOutput ¶
type CreateRouteOutput struct { // An object that represents a route returned by a describe operation. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateRouteOutput) MarshalFields ¶
func (s CreateRouteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateRouteOutput) String ¶
func (s CreateRouteOutput) String() string
String returns the string representation
type CreateRouteRequest ¶
type CreateRouteRequest struct { *aws.Request Input *CreateRouteInput Copy func(*CreateRouteInput) CreateRouteRequest }
CreateRouteRequest is the request type for the CreateRoute API operation.
func (CreateRouteRequest) Send ¶
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 { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // An object that represents the specification of a virtual node. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` Tags []TagRef `locationName:"tags" type:"list"` // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualNodeInput) MarshalFields ¶
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 { // An object that represents a virtual node returned by a describe operation. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualNodeOutput) MarshalFields ¶
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 { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // An object that represents the specification of a virtual router. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` Tags []TagRef `locationName:"tags" type:"list"` // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualRouterInput) MarshalFields ¶
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 { // An object that represents a virtual router returned by a describe operation. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualRouterOutput) MarshalFields ¶
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 { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // An object that represents the specification of a virtual service. // // Spec is a required field Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"` Tags []TagRef `locationName:"tags" type:"list"` // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualServiceInput) MarshalFields ¶ added in v0.8.0
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 { // An object that represents a virtual service returned by a describe operation. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualServiceOutput) MarshalFields ¶ added in v0.8.0
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 { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteMeshInput) MarshalFields ¶
func (s DeleteMeshInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteMeshInput) String ¶
func (s DeleteMeshInput) String() string
String returns the string representation
func (*DeleteMeshInput) Validate ¶
func (s *DeleteMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMeshOutput ¶
type DeleteMeshOutput struct { // An object that represents a service mesh returned by a describe operation. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteMeshOutput) MarshalFields ¶
func (s DeleteMeshOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteMeshOutput) String ¶
func (s DeleteMeshOutput) String() string
String returns the string representation
type DeleteMeshRequest ¶
type DeleteMeshRequest struct { *aws.Request Input *DeleteMeshInput Copy func(*DeleteMeshInput) DeleteMeshRequest }
DeleteMeshRequest is the request type for the DeleteMesh API operation.
func (DeleteMeshRequest) Send ¶
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 { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteRouteInput) MarshalFields ¶
func (s DeleteRouteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteRouteInput) String ¶
func (s DeleteRouteInput) String() string
String returns the string representation
func (*DeleteRouteInput) Validate ¶
func (s *DeleteRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRouteOutput ¶
type DeleteRouteOutput struct { // An object that represents a route returned by a describe operation. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteRouteOutput) MarshalFields ¶
func (s DeleteRouteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteRouteOutput) String ¶
func (s DeleteRouteOutput) String() string
String returns the string representation
type DeleteRouteRequest ¶
type DeleteRouteRequest struct { *aws.Request Input *DeleteRouteInput Copy func(*DeleteRouteInput) DeleteRouteRequest }
DeleteRouteRequest is the request type for the DeleteRoute API operation.
func (DeleteRouteRequest) Send ¶
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 { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualNodeInput) MarshalFields ¶
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 { // An object that represents a virtual node returned by a describe operation. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualNodeOutput) MarshalFields ¶
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 { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (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 { // An object that represents a virtual router returned by a describe operation. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualRouterOutput) MarshalFields ¶
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 { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // VirtualServiceName is a required field VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualServiceInput) MarshalFields ¶ added in v0.8.0
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 { // An object that represents a virtual service returned by a describe operation. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualServiceOutput) MarshalFields ¶ added in v0.8.0
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 { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // contains filtered or unexported fields }
func (DescribeMeshInput) MarshalFields ¶
func (s DescribeMeshInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeMeshInput) String ¶
func (s DescribeMeshInput) String() string
String returns the string representation
func (*DescribeMeshInput) Validate ¶
func (s *DescribeMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeMeshOutput ¶
type DescribeMeshOutput struct { // An object that represents a service mesh returned by a describe operation. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeMeshOutput) MarshalFields ¶
func (s DescribeMeshOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeMeshOutput) String ¶
func (s DescribeMeshOutput) String() string
String returns the string representation
type DescribeMeshRequest ¶
type DescribeMeshRequest struct { *aws.Request Input *DescribeMeshInput Copy func(*DescribeMeshInput) DescribeMeshRequest }
DescribeMeshRequest is the request type for the DescribeMesh API operation.
func (DescribeMeshRequest) Send ¶
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 { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeRouteInput) MarshalFields ¶
func (s DescribeRouteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeRouteInput) String ¶
func (s DescribeRouteInput) String() string
String returns the string representation
func (*DescribeRouteInput) Validate ¶
func (s *DescribeRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRouteOutput ¶
type DescribeRouteOutput struct { // An object that represents a route returned by a describe operation. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeRouteOutput) MarshalFields ¶
func (s DescribeRouteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeRouteOutput) String ¶
func (s DescribeRouteOutput) String() string
String returns the string representation
type DescribeRouteRequest ¶
type DescribeRouteRequest struct { *aws.Request Input *DescribeRouteInput Copy func(*DescribeRouteInput) DescribeRouteRequest }
DescribeRouteRequest is the request type for the DescribeRoute API operation.
func (DescribeRouteRequest) Send ¶
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 { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualNodeInput) MarshalFields ¶
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 { // An object that represents a virtual node returned by a describe operation. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualNodeOutput) MarshalFields ¶
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 { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (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 { // An object that represents a virtual router returned by a describe operation. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualRouterOutput) MarshalFields ¶
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 { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // VirtualServiceName is a required field VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualServiceInput) MarshalFields ¶ added in v0.8.0
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 { // An object that represents a virtual service returned by a describe operation. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualServiceOutput) MarshalFields ¶ added in v0.8.0
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 { // Hostname is a required field Hostname *string `locationName:"hostname" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents the DNS service discovery information for your virtual node.
func (DnsServiceDiscovery) MarshalFields ¶
func (s DnsServiceDiscovery) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DnsServiceDiscovery) String ¶
func (s DnsServiceDiscovery) String() string
String returns the string representation
func (*DnsServiceDiscovery) Validate ¶ added in v0.8.0
func (s *DnsServiceDiscovery) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Duration ¶ added in v0.12.0
type Duration struct { Unit DurationUnit `locationName:"unit" type:"string" enum:"true"` Value *int64 `locationName:"value" type:"long"` // contains filtered or unexported fields }
An object that represents a duration of time.
func (Duration) MarshalFields ¶ added in v0.12.0
func (s Duration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type DurationUnit ¶ added in v0.12.0
type DurationUnit string
const ( DurationUnitMs DurationUnit = "ms" DurationUnitS DurationUnit = "s" )
Enum values for DurationUnit
func (DurationUnit) MarshalValue ¶ added in v0.12.0
func (enum DurationUnit) MarshalValue() (string, error)
func (DurationUnit) MarshalValueBuf ¶ added in v0.12.0
func (enum DurationUnit) MarshalValueBuf(b []byte) ([]byte, error)
type EgressFilter ¶ added in v0.8.0
type EgressFilter struct { // Type is a required field Type EgressFilterType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents the egress filter rules for a service mesh.
func (EgressFilter) MarshalFields ¶ added in v0.8.0
func (s EgressFilter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EgressFilter) String ¶ added in v0.8.0
func (s EgressFilter) String() string
String returns the string representation
func (*EgressFilter) Validate ¶ added in v0.8.0
func (s *EgressFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EgressFilterType ¶ added in v0.8.0
type EgressFilterType string
const ( EgressFilterTypeAllowAll EgressFilterType = "ALLOW_ALL" EgressFilterTypeDropAll EgressFilterType = "DROP_ALL" )
Enum values for EgressFilterType
func (EgressFilterType) MarshalValue ¶ added in v0.8.0
func (enum EgressFilterType) MarshalValue() (string, error)
func (EgressFilterType) MarshalValueBuf ¶ added in v0.8.0
func (enum EgressFilterType) MarshalValueBuf(b []byte) ([]byte, error)
type FileAccessLog ¶ added in v0.8.0
type FileAccessLog struct { // Path is a required field Path *string `locationName:"path" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents an access log file.
func (FileAccessLog) MarshalFields ¶ added in v0.8.0
func (s FileAccessLog) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FileAccessLog) String ¶ added in v0.8.0
func (s FileAccessLog) String() string
String returns the string representation
func (*FileAccessLog) Validate ¶ added in v0.8.0
func (s *FileAccessLog) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GrpcRetryPolicy ¶ added in v0.16.0
type GrpcRetryPolicy struct { GrpcRetryEvents []GrpcRetryPolicyEvent `locationName:"grpcRetryEvents" min:"1" type:"list"` HttpRetryEvents []string `locationName:"httpRetryEvents" min:"1" type:"list"` // MaxRetries is a required field MaxRetries *int64 `locationName:"maxRetries" type:"long" required:"true"` // An object that represents a duration of time. // // PerRetryTimeout is a required field PerRetryTimeout *Duration `locationName:"perRetryTimeout" type:"structure" required:"true"` TcpRetryEvents []TcpRetryPolicyEvent `locationName:"tcpRetryEvents" min:"1" type:"list"` // contains filtered or unexported fields }
An object that represents a retry policy. Specify at least one value for at least one of the types of RetryEvents, a value for maxRetries, and a value for perRetryTimeout.
func (GrpcRetryPolicy) MarshalFields ¶ added in v0.16.0
func (s GrpcRetryPolicy) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GrpcRetryPolicy) String ¶ added in v0.16.0
func (s GrpcRetryPolicy) String() string
String returns the string representation
func (*GrpcRetryPolicy) Validate ¶ added in v0.16.0
func (s *GrpcRetryPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GrpcRetryPolicyEvent ¶ added in v0.16.0
type GrpcRetryPolicyEvent string
const ( GrpcRetryPolicyEventCancelled GrpcRetryPolicyEvent = "cancelled" GrpcRetryPolicyEventDeadlineExceeded GrpcRetryPolicyEvent = "deadline-exceeded" GrpcRetryPolicyEventInternal GrpcRetryPolicyEvent = "internal" GrpcRetryPolicyEventResourceExhausted GrpcRetryPolicyEvent = "resource-exhausted" )
Enum values for GrpcRetryPolicyEvent
func (GrpcRetryPolicyEvent) MarshalValue ¶ added in v0.16.0
func (enum GrpcRetryPolicyEvent) MarshalValue() (string, error)
func (GrpcRetryPolicyEvent) MarshalValueBuf ¶ added in v0.16.0
func (enum GrpcRetryPolicyEvent) MarshalValueBuf(b []byte) ([]byte, error)
type GrpcRoute ¶ added in v0.16.0
type GrpcRoute struct { // An object that represents the action to take if a match is determined. // // Action is a required field Action *GrpcRouteAction `locationName:"action" type:"structure" required:"true"` // An object that represents the criteria for determining a request match. // // Match is a required field Match *GrpcRouteMatch `locationName:"match" type:"structure" required:"true"` // An object that represents a retry policy. Specify at least one value for // at least one of the types of RetryEvents, a value for maxRetries, and a value // for perRetryTimeout. RetryPolicy *GrpcRetryPolicy `locationName:"retryPolicy" type:"structure"` // contains filtered or unexported fields }
An object that represents a gRPC route type.
func (GrpcRoute) MarshalFields ¶ added in v0.16.0
func (s GrpcRoute) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type GrpcRouteAction ¶ added in v0.16.0
type GrpcRouteAction struct { // WeightedTargets is a required field WeightedTargets []WeightedTarget `locationName:"weightedTargets" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
An object that represents the action to take if a match is determined.
func (GrpcRouteAction) MarshalFields ¶ added in v0.16.0
func (s GrpcRouteAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GrpcRouteAction) String ¶ added in v0.16.0
func (s GrpcRouteAction) String() string
String returns the string representation
func (*GrpcRouteAction) Validate ¶ added in v0.16.0
func (s *GrpcRouteAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GrpcRouteMatch ¶ added in v0.16.0
type GrpcRouteMatch struct { Metadata []GrpcRouteMetadata `locationName:"metadata" min:"1" type:"list"` MethodName *string `locationName:"methodName" min:"1" type:"string"` ServiceName *string `locationName:"serviceName" type:"string"` // contains filtered or unexported fields }
An object that represents the criteria for determining a request match.
func (GrpcRouteMatch) MarshalFields ¶ added in v0.16.0
func (s GrpcRouteMatch) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GrpcRouteMatch) String ¶ added in v0.16.0
func (s GrpcRouteMatch) String() string
String returns the string representation
func (*GrpcRouteMatch) Validate ¶ added in v0.16.0
func (s *GrpcRouteMatch) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GrpcRouteMetadata ¶ added in v0.16.0
type GrpcRouteMetadata struct { Invert *bool `locationName:"invert" type:"boolean"` // An object that represents the match method. Specify one of the match values. Match *GrpcRouteMetadataMatchMethod `locationName:"match" type:"structure"` // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents the match metadata for the route.
func (GrpcRouteMetadata) MarshalFields ¶ added in v0.16.0
func (s GrpcRouteMetadata) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GrpcRouteMetadata) String ¶ added in v0.16.0
func (s GrpcRouteMetadata) String() string
String returns the string representation
func (*GrpcRouteMetadata) Validate ¶ added in v0.16.0
func (s *GrpcRouteMetadata) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GrpcRouteMetadataMatchMethod ¶ added in v0.16.0
type GrpcRouteMetadataMatchMethod struct { Exact *string `locationName:"exact" min:"1" type:"string"` Prefix *string `locationName:"prefix" min:"1" type:"string"` // An object that represents the range of values to match on. The first character // of the range is included in the range, though the last character is not. // For example, if the range specified were 1-100, only values 1-99 would be // matched. Range *MatchRange `locationName:"range" type:"structure"` Regex *string `locationName:"regex" min:"1" type:"string"` Suffix *string `locationName:"suffix" min:"1" type:"string"` // contains filtered or unexported fields }
An object that represents the match method. Specify one of the match values.
func (GrpcRouteMetadataMatchMethod) MarshalFields ¶ added in v0.16.0
func (s GrpcRouteMetadataMatchMethod) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GrpcRouteMetadataMatchMethod) String ¶ added in v0.16.0
func (s GrpcRouteMetadataMatchMethod) String() string
String returns the string representation
func (*GrpcRouteMetadataMatchMethod) Validate ¶ added in v0.16.0
func (s *GrpcRouteMetadataMatchMethod) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HeaderMatchMethod ¶ added in v0.11.0
type HeaderMatchMethod struct { Exact *string `locationName:"exact" min:"1" type:"string"` Prefix *string `locationName:"prefix" min:"1" type:"string"` // An object that represents the range of values to match on. The first character // of the range is included in the range, though the last character is not. // For example, if the range specified were 1-100, only values 1-99 would be // matched. Range *MatchRange `locationName:"range" type:"structure"` Regex *string `locationName:"regex" min:"1" type:"string"` Suffix *string `locationName:"suffix" min:"1" type:"string"` // contains filtered or unexported fields }
An object that represents the method and value to match with the header value sent in a request. Specify one match method.
func (HeaderMatchMethod) MarshalFields ¶ added in v0.11.0
func (s HeaderMatchMethod) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HeaderMatchMethod) String ¶ added in v0.11.0
func (s HeaderMatchMethod) String() string
String returns the string representation
func (*HeaderMatchMethod) Validate ¶ added in v0.11.0
func (s *HeaderMatchMethod) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HealthCheckPolicy ¶
type HealthCheckPolicy struct { // HealthyThreshold is a required field HealthyThreshold *int64 `locationName:"healthyThreshold" min:"2" type:"integer" required:"true"` // IntervalMillis is a required field IntervalMillis *int64 `locationName:"intervalMillis" min:"5000" type:"long" required:"true"` Path *string `locationName:"path" type:"string"` Port *int64 `locationName:"port" min:"1" type:"integer"` // Protocol is a required field Protocol PortProtocol `locationName:"protocol" type:"string" required:"true" enum:"true"` // TimeoutMillis is a required field TimeoutMillis *int64 `locationName:"timeoutMillis" min:"2000" type:"long" required:"true"` // UnhealthyThreshold is a required field UnhealthyThreshold *int64 `locationName:"unhealthyThreshold" min:"2" type:"integer" required:"true"` // contains filtered or unexported fields }
An object that represents the health check policy for a virtual node's listener.
func (HealthCheckPolicy) MarshalFields ¶
func (s HealthCheckPolicy) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HealthCheckPolicy) String ¶
func (s HealthCheckPolicy) String() string
String returns the string representation
func (*HealthCheckPolicy) Validate ¶
func (s *HealthCheckPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpMethod ¶ added in v0.11.0
type HttpMethod string
const ( HttpMethodConnect HttpMethod = "CONNECT" HttpMethodDelete HttpMethod = "DELETE" HttpMethodGet HttpMethod = "GET" HttpMethodHead HttpMethod = "HEAD" HttpMethodOptions HttpMethod = "OPTIONS" HttpMethodPatch HttpMethod = "PATCH" HttpMethodPost HttpMethod = "POST" HttpMethodPut HttpMethod = "PUT" HttpMethodTrace HttpMethod = "TRACE" )
Enum values for HttpMethod
func (HttpMethod) MarshalValue ¶ added in v0.11.0
func (enum HttpMethod) MarshalValue() (string, error)
func (HttpMethod) MarshalValueBuf ¶ added in v0.11.0
func (enum HttpMethod) MarshalValueBuf(b []byte) ([]byte, error)
type HttpRetryPolicy ¶ added in v0.12.0
type HttpRetryPolicy struct { HttpRetryEvents []string `locationName:"httpRetryEvents" min:"1" type:"list"` // MaxRetries is a required field MaxRetries *int64 `locationName:"maxRetries" type:"long" required:"true"` // An object that represents a duration of time. // // PerRetryTimeout is a required field PerRetryTimeout *Duration `locationName:"perRetryTimeout" type:"structure" required:"true"` TcpRetryEvents []TcpRetryPolicyEvent `locationName:"tcpRetryEvents" min:"1" type:"list"` // contains filtered or unexported fields }
An object that represents a retry policy. Specify at least one value for at least one of the types of RetryEvents, a value for maxRetries, and a value for perRetryTimeout.
func (HttpRetryPolicy) MarshalFields ¶ added in v0.12.0
func (s HttpRetryPolicy) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HttpRetryPolicy) String ¶ added in v0.12.0
func (s HttpRetryPolicy) String() string
String returns the string representation
func (*HttpRetryPolicy) Validate ¶ added in v0.12.0
func (s *HttpRetryPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpRoute ¶
type HttpRoute struct { // An object that represents the action to take if a match is determined. // // Action is a required field Action *HttpRouteAction `locationName:"action" type:"structure" required:"true"` // An object that represents the requirements for a route to match HTTP requests // for a virtual router. // // Match is a required field Match *HttpRouteMatch `locationName:"match" type:"structure" required:"true"` // An object that represents a retry policy. Specify at least one value for // at least one of the types of RetryEvents, a value for maxRetries, and a value // for perRetryTimeout. RetryPolicy *HttpRetryPolicy `locationName:"retryPolicy" type:"structure"` // contains filtered or unexported fields }
An object that represents an HTTP or HTTP/2 route type.
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 { // WeightedTargets is a required field WeightedTargets []WeightedTarget `locationName:"weightedTargets" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
An object that represents the action to take if a match is determined.
func (HttpRouteAction) MarshalFields ¶
func (s HttpRouteAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HttpRouteAction) String ¶
func (s HttpRouteAction) String() string
String returns the string representation
func (*HttpRouteAction) Validate ¶
func (s *HttpRouteAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpRouteHeader ¶ added in v0.11.0
type HttpRouteHeader struct { Invert *bool `locationName:"invert" type:"boolean"` // An object that represents the method and value to match with the header value // sent in a request. Specify one match method. Match *HeaderMatchMethod `locationName:"match" type:"structure"` // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents the HTTP header in the request.
func (HttpRouteHeader) MarshalFields ¶ added in v0.11.0
func (s HttpRouteHeader) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HttpRouteHeader) String ¶ added in v0.11.0
func (s HttpRouteHeader) String() string
String returns the string representation
func (*HttpRouteHeader) Validate ¶ added in v0.11.0
func (s *HttpRouteHeader) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpRouteMatch ¶
type HttpRouteMatch struct { Headers []HttpRouteHeader `locationName:"headers" min:"1" type:"list"` Method HttpMethod `locationName:"method" type:"string" enum:"true"` // Prefix is a required field Prefix *string `locationName:"prefix" type:"string" required:"true"` Scheme HttpScheme `locationName:"scheme" type:"string" enum:"true"` // contains filtered or unexported fields }
An object that represents the requirements for a route to match HTTP requests for a virtual router.
func (HttpRouteMatch) MarshalFields ¶
func (s HttpRouteMatch) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HttpRouteMatch) String ¶
func (s HttpRouteMatch) String() string
String returns the string representation
func (*HttpRouteMatch) Validate ¶ added in v0.8.0
func (s *HttpRouteMatch) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpScheme ¶ added in v0.11.0
type HttpScheme string
const ( HttpSchemeHttp HttpScheme = "http" HttpSchemeHttps HttpScheme = "https" )
Enum values for HttpScheme
func (HttpScheme) MarshalValue ¶ added in v0.11.0
func (enum HttpScheme) MarshalValue() (string, error)
func (HttpScheme) MarshalValueBuf ¶ added in v0.11.0
func (enum HttpScheme) MarshalValueBuf(b []byte) ([]byte, error)
type ListMeshesInput ¶
type ListMeshesInput struct { Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListMeshesInput) MarshalFields ¶
func (s ListMeshesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListMeshesInput) String ¶
func (s ListMeshesInput) String() string
String returns the string representation
func (*ListMeshesInput) Validate ¶
func (s *ListMeshesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMeshesOutput ¶
type ListMeshesOutput struct { // Meshes is a required field Meshes []MeshRef `locationName:"meshes" type:"list" required:"true"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListMeshesOutput) MarshalFields ¶
func (s ListMeshesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListMeshesOutput) String ¶
func (s ListMeshesOutput) String() string
String returns the string representation
type ListMeshesPaginator ¶ added in v0.9.0
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 { Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListRoutesInput) MarshalFields ¶
func (s ListRoutesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRoutesInput) String ¶
func (s ListRoutesInput) String() string
String returns the string representation
func (*ListRoutesInput) Validate ¶
func (s *ListRoutesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRoutesOutput ¶
type ListRoutesOutput struct { NextToken *string `locationName:"nextToken" type:"string"` // Routes is a required field Routes []RouteRef `locationName:"routes" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListRoutesOutput) MarshalFields ¶
func (s ListRoutesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRoutesOutput) String ¶
func (s ListRoutesOutput) String() string
String returns the string representation
type ListRoutesPaginator ¶ added in v0.9.0
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 { Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) MarshalFields ¶ added in v0.8.0
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 { NextToken *string `locationName:"nextToken" type:"string"` // Tags is a required field Tags []TagRef `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) MarshalFields ¶ added in v0.8.0
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 { Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListVirtualNodesInput) MarshalFields ¶
func (s ListVirtualNodesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListVirtualNodesInput) String ¶
func (s ListVirtualNodesInput) String() string
String returns the string representation
func (*ListVirtualNodesInput) Validate ¶
func (s *ListVirtualNodesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListVirtualNodesOutput ¶
type ListVirtualNodesOutput struct { NextToken *string `locationName:"nextToken" type:"string"` // VirtualNodes is a required field VirtualNodes []VirtualNodeRef `locationName:"virtualNodes" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListVirtualNodesOutput) MarshalFields ¶
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 { Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
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 { NextToken *string `locationName:"nextToken" type:"string"` // VirtualRouters is a required field VirtualRouters []VirtualRouterRef `locationName:"virtualRouters" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListVirtualRoutersOutput) MarshalFields ¶
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 { Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
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 { NextToken *string `locationName:"nextToken" type:"string"` // VirtualServices is a required field VirtualServices []VirtualServiceRef `locationName:"virtualServices" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListVirtualServicesOutput) MarshalFields ¶ added in v0.8.0
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 { // An object that represents the health check policy for a virtual node's listener. HealthCheck *HealthCheckPolicy `locationName:"healthCheck" type:"structure"` // An object that represents a port mapping. // // PortMapping is a required field PortMapping *PortMapping `locationName:"portMapping" type:"structure" required:"true"` // An object that represents the Transport Layer Security (TLS) properties for // a listener. Tls *ListenerTls `locationName:"tls" type:"structure"` // contains filtered or unexported fields }
An object that represents a listener for a virtual node.
func (Listener) MarshalFields ¶
func (s Listener) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type ListenerTls ¶ added in v0.20.0
type ListenerTls struct { // An object that represents a listener's Transport Layer Security (TLS) certificate. // // Certificate is a required field Certificate *ListenerTlsCertificate `locationName:"certificate" type:"structure" required:"true"` // Mode is a required field Mode ListenerTlsMode `locationName:"mode" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents the Transport Layer Security (TLS) properties for a listener.
func (ListenerTls) MarshalFields ¶ added in v0.20.0
func (s ListenerTls) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListenerTls) String ¶ added in v0.20.0
func (s ListenerTls) String() string
String returns the string representation
func (*ListenerTls) Validate ¶ added in v0.20.0
func (s *ListenerTls) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListenerTlsAcmCertificate ¶ added in v0.20.0
type ListenerTlsAcmCertificate struct { // CertificateArn is a required field CertificateArn *string `locationName:"certificateArn" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents an AWS Certicate Manager (ACM) certificate.
func (ListenerTlsAcmCertificate) MarshalFields ¶ added in v0.20.0
func (s ListenerTlsAcmCertificate) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListenerTlsAcmCertificate) String ¶ added in v0.20.0
func (s ListenerTlsAcmCertificate) String() string
String returns the string representation
func (*ListenerTlsAcmCertificate) Validate ¶ added in v0.20.0
func (s *ListenerTlsAcmCertificate) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListenerTlsCertificate ¶ added in v0.20.0
type ListenerTlsCertificate struct { // An object that represents an AWS Certicate Manager (ACM) certificate. Acm *ListenerTlsAcmCertificate `locationName:"acm" type:"structure"` // An object that represents a local file certificate. The certificate must // meet specific requirements and you must have proxy authorization enabled. // For more information, see Transport Layer Security (TLS) (https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html#virtual-node-tls-prerequisites). File *ListenerTlsFileCertificate `locationName:"file" type:"structure"` // contains filtered or unexported fields }
An object that represents a listener's Transport Layer Security (TLS) certificate.
func (ListenerTlsCertificate) MarshalFields ¶ added in v0.20.0
func (s ListenerTlsCertificate) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListenerTlsCertificate) String ¶ added in v0.20.0
func (s ListenerTlsCertificate) String() string
String returns the string representation
func (*ListenerTlsCertificate) Validate ¶ added in v0.20.0
func (s *ListenerTlsCertificate) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListenerTlsFileCertificate ¶ added in v0.20.0
type ListenerTlsFileCertificate struct { // CertificateChain is a required field CertificateChain *string `locationName:"certificateChain" min:"1" type:"string" required:"true"` // PrivateKey is a required field PrivateKey *string `locationName:"privateKey" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a local file certificate. The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS) (https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html#virtual-node-tls-prerequisites).
func (ListenerTlsFileCertificate) MarshalFields ¶ added in v0.20.0
func (s ListenerTlsFileCertificate) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListenerTlsFileCertificate) String ¶ added in v0.20.0
func (s ListenerTlsFileCertificate) String() string
String returns the string representation
func (*ListenerTlsFileCertificate) Validate ¶ added in v0.20.0
func (s *ListenerTlsFileCertificate) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListenerTlsMode ¶ added in v0.20.0
type ListenerTlsMode string
const ( ListenerTlsModeDisabled ListenerTlsMode = "DISABLED" ListenerTlsModePermissive ListenerTlsMode = "PERMISSIVE" ListenerTlsModeStrict ListenerTlsMode = "STRICT" )
Enum values for ListenerTlsMode
func (ListenerTlsMode) MarshalValue ¶ added in v0.20.0
func (enum ListenerTlsMode) MarshalValue() (string, error)
func (ListenerTlsMode) MarshalValueBuf ¶ added in v0.20.0
func (enum ListenerTlsMode) MarshalValueBuf(b []byte) ([]byte, error)
type Logging ¶ added in v0.8.0
type Logging struct { // An object that represents the access logging information for a virtual node. AccessLog *AccessLog `locationName:"accessLog" type:"structure"` // contains filtered or unexported fields }
An object that represents the logging information for a virtual node.
func (Logging) MarshalFields ¶ added in v0.8.0
func (s Logging) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type MatchRange ¶ added in v0.11.0
type MatchRange struct { // End is a required field End *int64 `locationName:"end" type:"long" required:"true"` // Start is a required field Start *int64 `locationName:"start" type:"long" required:"true"` // contains filtered or unexported fields }
An object that represents the range of values to match on. The first character of the range is included in the range, though the last character is not. For example, if the range specified were 1-100, only values 1-99 would be matched.
func (MatchRange) MarshalFields ¶ added in v0.11.0
func (s MatchRange) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MatchRange) String ¶ added in v0.11.0
func (s MatchRange) String() string
String returns the string representation
func (*MatchRange) Validate ¶ added in v0.11.0
func (s *MatchRange) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MeshData ¶
type MeshData struct { // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents metadata for a resource. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // An object that represents the specification of a service mesh. // // Spec is a required field Spec *MeshSpec `locationName:"spec" type:"structure" required:"true"` // An object that represents the status of a service mesh. // // Status is a required field Status *MeshStatus `locationName:"status" type:"structure" required:"true"` // contains filtered or unexported fields }
An object that represents a service mesh returned by a describe operation.
func (MeshData) MarshalFields ¶
func (s MeshData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type MeshRef ¶
type MeshRef struct { // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // LastUpdatedAt is a required field LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" required:"true"` // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // MeshOwner is a required field MeshOwner *string `locationName:"meshOwner" min:"12" type:"string" required:"true"` // ResourceOwner is a required field ResourceOwner *string `locationName:"resourceOwner" min:"12" type:"string" required:"true"` // Version is a required field Version *int64 `locationName:"version" type:"long" required:"true"` // contains filtered or unexported fields }
An object that represents a service mesh returned by a list operation.
func (MeshRef) MarshalFields ¶
func (s MeshRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type MeshSpec ¶ added in v0.8.0
type MeshSpec struct { // An object that represents the egress filter rules for a service mesh. EgressFilter *EgressFilter `locationName:"egressFilter" type:"structure"` // contains filtered or unexported fields }
An object that represents the specification of a service mesh.
func (MeshSpec) MarshalFields ¶ added in v0.8.0
func (s MeshSpec) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type MeshStatus ¶
type MeshStatus struct { Status MeshStatusCode `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
An object that represents the status of a service mesh.
func (MeshStatus) MarshalFields ¶
func (s MeshStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MeshStatus) String ¶
func (s MeshStatus) String() string
String returns the string representation
type MeshStatusCode ¶
type MeshStatusCode string
const ( MeshStatusCodeActive MeshStatusCode = "ACTIVE" MeshStatusCodeDeleted MeshStatusCode = "DELETED" MeshStatusCodeInactive MeshStatusCode = "INACTIVE" )
Enum values for MeshStatusCode
func (MeshStatusCode) MarshalValue ¶
func (enum MeshStatusCode) MarshalValue() (string, error)
func (MeshStatusCode) MarshalValueBuf ¶
func (enum MeshStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type Policy ¶ added in v0.20.0
type Policy struct { // An object that represents a Transport Layer Security (TLS) client policy. Tls *PolicyTls `locationName:"tls" type:"structure"` // contains filtered or unexported fields }
An object that represents a client policy.
func (Policy) MarshalFields ¶ added in v0.20.0
func (s Policy) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type PolicyTls ¶ added in v0.20.0
type PolicyTls struct { Enforce *bool `locationName:"enforce" type:"boolean"` Ports []int64 `locationName:"ports" type:"list"` // An object that represents a Transport Layer Security (TLS) validation context. // // Validation is a required field Validation *TlsValidationContext `locationName:"validation" type:"structure" required:"true"` // contains filtered or unexported fields }
An object that represents a Transport Layer Security (TLS) client policy.
func (PolicyTls) MarshalFields ¶ added in v0.20.0
func (s PolicyTls) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type PortMapping ¶
type PortMapping struct { // Port is a required field Port *int64 `locationName:"port" min:"1" type:"integer" required:"true"` // Protocol is a required field Protocol PortProtocol `locationName:"protocol" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents a port mapping.
func (PortMapping) MarshalFields ¶
func (s PortMapping) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PortMapping) String ¶
func (s PortMapping) String() string
String returns the string representation
func (*PortMapping) Validate ¶
func (s *PortMapping) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PortProtocol ¶
type PortProtocol string
const ( PortProtocolGrpc PortProtocol = "grpc" PortProtocolHttp PortProtocol = "http" PortProtocolHttp2 PortProtocol = "http2" PortProtocolTcp PortProtocol = "tcp" )
Enum values for PortProtocol
func (PortProtocol) MarshalValue ¶
func (enum PortProtocol) MarshalValue() (string, error)
func (PortProtocol) MarshalValueBuf ¶
func (enum PortProtocol) MarshalValueBuf(b []byte) ([]byte, error)
type ResourceMetadata ¶
type ResourceMetadata struct { // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // LastUpdatedAt is a required field LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" required:"true"` // MeshOwner is a required field MeshOwner *string `locationName:"meshOwner" min:"12" type:"string" required:"true"` // ResourceOwner is a required field ResourceOwner *string `locationName:"resourceOwner" min:"12" type:"string" required:"true"` // Uid is a required field Uid *string `locationName:"uid" type:"string" required:"true"` // Version is a required field Version *int64 `locationName:"version" type:"long" required:"true"` // contains filtered or unexported fields }
An object that represents metadata for a resource.
func (ResourceMetadata) MarshalFields ¶
func (s ResourceMetadata) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResourceMetadata) String ¶
func (s ResourceMetadata) String() string
String returns the string representation
type RouteData ¶
type RouteData struct { // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents metadata for a resource. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // An object that represents a route specification. Specify one route type. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // An object that represents the current status of a route. // // Status is a required field Status *RouteStatus `locationName:"status" type:"structure" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a route returned by a describe operation.
func (RouteData) MarshalFields ¶
func (s RouteData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type RouteRef ¶
type RouteRef struct { // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // LastUpdatedAt is a required field LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" required:"true"` // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // MeshOwner is a required field MeshOwner *string `locationName:"meshOwner" min:"12" type:"string" required:"true"` // ResourceOwner is a required field ResourceOwner *string `locationName:"resourceOwner" min:"12" type:"string" required:"true"` // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // Version is a required field Version *int64 `locationName:"version" type:"long" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a route returned by a list operation.
func (RouteRef) MarshalFields ¶
func (s RouteRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type RouteSpec ¶
type RouteSpec struct { // An object that represents a gRPC route type. GrpcRoute *GrpcRoute `locationName:"grpcRoute" type:"structure"` // An object that represents an HTTP or HTTP/2 route type. Http2Route *HttpRoute `locationName:"http2Route" type:"structure"` // An object that represents an HTTP or HTTP/2 route type. HttpRoute *HttpRoute `locationName:"httpRoute" type:"structure"` Priority *int64 `locationName:"priority" type:"integer"` // An object that represents a TCP route type. TcpRoute *TcpRoute `locationName:"tcpRoute" type:"structure"` // contains filtered or unexported fields }
An object that represents a route specification. Specify one route type.
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 { // Status is a required field Status RouteStatusCode `locationName:"status" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents the current status of a route.
func (RouteStatus) MarshalFields ¶
func (s RouteStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RouteStatus) String ¶
func (s RouteStatus) String() string
String returns the string representation
type RouteStatusCode ¶
type RouteStatusCode string
const ( RouteStatusCodeActive RouteStatusCode = "ACTIVE" RouteStatusCodeDeleted RouteStatusCode = "DELETED" RouteStatusCodeInactive RouteStatusCode = "INACTIVE" )
Enum values for RouteStatusCode
func (RouteStatusCode) MarshalValue ¶
func (enum RouteStatusCode) MarshalValue() (string, error)
func (RouteStatusCode) MarshalValueBuf ¶
func (enum RouteStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type ServiceDiscovery ¶
type ServiceDiscovery struct { // An object that represents the AWS Cloud Map service discovery information // for your virtual node. AwsCloudMap *AwsCloudMapServiceDiscovery `locationName:"awsCloudMap" type:"structure"` // An object that represents the DNS service discovery information for your // virtual node. Dns *DnsServiceDiscovery `locationName:"dns" type:"structure"` // contains filtered or unexported fields }
An object that represents the service discovery information for a virtual node.
func (ServiceDiscovery) MarshalFields ¶
func (s ServiceDiscovery) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ServiceDiscovery) String ¶
func (s ServiceDiscovery) String() string
String returns the string representation
func (*ServiceDiscovery) Validate ¶ added in v0.8.0
func (s *ServiceDiscovery) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagRef ¶ added in v0.8.0
type TagRef struct { // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Optional metadata that you apply to a resource to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
func (TagRef) MarshalFields ¶ added in v0.8.0
func (s TagRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type TagResourceInput ¶ added in v0.8.0
type TagResourceInput struct { // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // Tags is a required field Tags []TagRef `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) MarshalFields ¶ added in v0.8.0
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceInput) String ¶ added in v0.8.0
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶ added in v0.8.0
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶ added in v0.8.0
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) MarshalFields ¶ added in v0.8.0
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) String ¶ added in v0.8.0
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶ added in v0.8.0
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶ added in v0.8.0
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 TcpRetryPolicyEvent ¶ added in v0.12.0
type TcpRetryPolicyEvent string
const (
TcpRetryPolicyEventConnectionError TcpRetryPolicyEvent = "connection-error"
)
Enum values for TcpRetryPolicyEvent
func (TcpRetryPolicyEvent) MarshalValue ¶ added in v0.12.0
func (enum TcpRetryPolicyEvent) MarshalValue() (string, error)
func (TcpRetryPolicyEvent) MarshalValueBuf ¶ added in v0.12.0
func (enum TcpRetryPolicyEvent) MarshalValueBuf(b []byte) ([]byte, error)
type TcpRoute ¶ added in v0.8.0
type TcpRoute struct { // An object that represents 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 that represents a TCP route type.
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 { // WeightedTargets is a required field WeightedTargets []WeightedTarget `locationName:"weightedTargets" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
An object that represents the action to take if a match is determined.
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 TlsValidationContext ¶ added in v0.20.0
type TlsValidationContext struct { // An object that represents a Transport Layer Security (TLS) validation context // trust. // // Trust is a required field Trust *TlsValidationContextTrust `locationName:"trust" type:"structure" required:"true"` // contains filtered or unexported fields }
An object that represents a Transport Layer Security (TLS) validation context.
func (TlsValidationContext) MarshalFields ¶ added in v0.20.0
func (s TlsValidationContext) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TlsValidationContext) String ¶ added in v0.20.0
func (s TlsValidationContext) String() string
String returns the string representation
func (*TlsValidationContext) Validate ¶ added in v0.20.0
func (s *TlsValidationContext) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TlsValidationContextAcmTrust ¶ added in v0.20.0
type TlsValidationContextAcmTrust struct { // CertificateAuthorityArns is a required field CertificateAuthorityArns []string `locationName:"certificateAuthorityArns" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
An object that represents a TLS validation context trust for an AWS Certicate Manager (ACM) certificate.
func (TlsValidationContextAcmTrust) MarshalFields ¶ added in v0.20.0
func (s TlsValidationContextAcmTrust) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TlsValidationContextAcmTrust) String ¶ added in v0.20.0
func (s TlsValidationContextAcmTrust) String() string
String returns the string representation
func (*TlsValidationContextAcmTrust) Validate ¶ added in v0.20.0
func (s *TlsValidationContextAcmTrust) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TlsValidationContextFileTrust ¶ added in v0.20.0
type TlsValidationContextFileTrust struct { // CertificateChain is a required field CertificateChain *string `locationName:"certificateChain" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a Transport Layer Security (TLS) validation context trust for a local file.
func (TlsValidationContextFileTrust) MarshalFields ¶ added in v0.20.0
func (s TlsValidationContextFileTrust) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TlsValidationContextFileTrust) String ¶ added in v0.20.0
func (s TlsValidationContextFileTrust) String() string
String returns the string representation
func (*TlsValidationContextFileTrust) Validate ¶ added in v0.20.0
func (s *TlsValidationContextFileTrust) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TlsValidationContextTrust ¶ added in v0.20.0
type TlsValidationContextTrust struct { // An object that represents a TLS validation context trust for an AWS Certicate // Manager (ACM) certificate. Acm *TlsValidationContextAcmTrust `locationName:"acm" type:"structure"` // An object that represents a Transport Layer Security (TLS) validation context // trust for a local file. File *TlsValidationContextFileTrust `locationName:"file" type:"structure"` // contains filtered or unexported fields }
An object that represents a Transport Layer Security (TLS) validation context trust.
func (TlsValidationContextTrust) MarshalFields ¶ added in v0.20.0
func (s TlsValidationContextTrust) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TlsValidationContextTrust) String ¶ added in v0.20.0
func (s TlsValidationContextTrust) String() string
String returns the string representation
func (*TlsValidationContextTrust) Validate ¶ added in v0.20.0
func (s *TlsValidationContextTrust) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceInput ¶ added in v0.8.0
type UntagResourceInput struct { // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // TagKeys is a required field TagKeys []string `locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) MarshalFields ¶ added in v0.8.0
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceInput) String ¶ added in v0.8.0
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶ added in v0.8.0
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶ added in v0.8.0
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) MarshalFields ¶ added in v0.8.0
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) String ¶ added in v0.8.0
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶ added in v0.8.0
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶ added in v0.8.0
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 { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents the specification of a service mesh. Spec *MeshSpec `locationName:"spec" type:"structure"` // contains filtered or unexported fields }
func (UpdateMeshInput) MarshalFields ¶ added in v0.8.0
func (s UpdateMeshInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateMeshInput) String ¶ added in v0.8.0
func (s UpdateMeshInput) String() string
String returns the string representation
func (*UpdateMeshInput) Validate ¶ added in v0.8.0
func (s *UpdateMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateMeshOutput ¶ added in v0.8.0
type UpdateMeshOutput struct { // An object that represents a service mesh returned by a describe operation. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateMeshOutput) MarshalFields ¶ added in v0.8.0
func (s UpdateMeshOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateMeshOutput) String ¶ added in v0.8.0
func (s UpdateMeshOutput) String() string
String returns the string representation
type UpdateMeshRequest ¶ added in v0.8.0
type UpdateMeshRequest struct { *aws.Request Input *UpdateMeshInput Copy func(*UpdateMeshInput) UpdateMeshRequest }
UpdateMeshRequest is the request type for the UpdateMesh API operation.
func (UpdateMeshRequest) Send ¶ added in v0.8.0
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 { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // An object that represents a route specification. Specify one route type. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateRouteInput) MarshalFields ¶
func (s UpdateRouteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateRouteInput) String ¶
func (s UpdateRouteInput) String() string
String returns the string representation
func (*UpdateRouteInput) Validate ¶
func (s *UpdateRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateRouteOutput ¶
type UpdateRouteOutput struct { // An object that represents a route returned by a describe operation. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateRouteOutput) MarshalFields ¶
func (s UpdateRouteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateRouteOutput) String ¶
func (s UpdateRouteOutput) String() string
String returns the string representation
type UpdateRouteRequest ¶
type UpdateRouteRequest struct { *aws.Request Input *UpdateRouteInput Copy func(*UpdateRouteInput) UpdateRouteRequest }
UpdateRouteRequest is the request type for the UpdateRoute API operation.
func (UpdateRouteRequest) Send ¶
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 { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // An object that represents the specification of a virtual node. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualNodeInput) MarshalFields ¶
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 { // An object that represents a virtual node returned by a describe operation. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualNodeOutput) MarshalFields ¶
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 { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // An object that represents the specification of a virtual router. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualRouterInput) MarshalFields ¶
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 { // An object that represents a virtual router returned by a describe operation. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualRouterOutput) MarshalFields ¶
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 { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` MeshOwner *string `location:"querystring" locationName:"meshOwner" min:"12" type:"string"` // An object that represents the specification of a virtual service. // // Spec is a required field Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"` // VirtualServiceName is a required field VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualServiceInput) MarshalFields ¶ added in v0.8.0
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 { // An object that represents a virtual service returned by a describe operation. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualServiceOutput) MarshalFields ¶ added in v0.8.0
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 { // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents metadata for a resource. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // An object that represents the specification of a virtual node. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // An object that represents the current status of the virtual node. // // Status is a required field Status *VirtualNodeStatus `locationName:"status" type:"structure" required:"true"` // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual node returned by a describe operation.
func (VirtualNodeData) MarshalFields ¶
func (s VirtualNodeData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeData) String ¶
func (s VirtualNodeData) String() string
String returns the string representation
type VirtualNodeRef ¶
type VirtualNodeRef struct { // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // LastUpdatedAt is a required field LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" required:"true"` // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // MeshOwner is a required field MeshOwner *string `locationName:"meshOwner" min:"12" type:"string" required:"true"` // ResourceOwner is a required field ResourceOwner *string `locationName:"resourceOwner" min:"12" type:"string" required:"true"` // Version is a required field Version *int64 `locationName:"version" type:"long" required:"true"` // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual node returned by a list operation.
func (VirtualNodeRef) MarshalFields ¶
func (s VirtualNodeRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeRef) String ¶
func (s VirtualNodeRef) String() string
String returns the string representation
type VirtualNodeServiceProvider ¶ added in v0.8.0
type VirtualNodeServiceProvider struct { // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual node service provider.
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 { // An object that represents the default properties for a backend. BackendDefaults *BackendDefaults `locationName:"backendDefaults" type:"structure"` Backends []Backend `locationName:"backends" type:"list"` Listeners []Listener `locationName:"listeners" type:"list"` // An object that represents the logging information for a virtual node. Logging *Logging `locationName:"logging" type:"structure"` // An object that represents the service discovery information for a virtual // node. ServiceDiscovery *ServiceDiscovery `locationName:"serviceDiscovery" type:"structure"` // contains filtered or unexported fields }
An object that represents the specification of a virtual node.
func (VirtualNodeSpec) MarshalFields ¶
func (s VirtualNodeSpec) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeSpec) String ¶
func (s VirtualNodeSpec) String() string
String returns the string representation
func (*VirtualNodeSpec) Validate ¶
func (s *VirtualNodeSpec) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualNodeStatus ¶
type VirtualNodeStatus struct { // Status is a required field Status VirtualNodeStatusCode `locationName:"status" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents the current status of the virtual node.
func (VirtualNodeStatus) MarshalFields ¶
func (s VirtualNodeStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeStatus) String ¶
func (s VirtualNodeStatus) String() string
String returns the string representation
type VirtualNodeStatusCode ¶
type VirtualNodeStatusCode string
const ( VirtualNodeStatusCodeActive VirtualNodeStatusCode = "ACTIVE" VirtualNodeStatusCodeDeleted VirtualNodeStatusCode = "DELETED" VirtualNodeStatusCodeInactive VirtualNodeStatusCode = "INACTIVE" )
Enum values for VirtualNodeStatusCode
func (VirtualNodeStatusCode) MarshalValue ¶
func (enum VirtualNodeStatusCode) MarshalValue() (string, error)
func (VirtualNodeStatusCode) MarshalValueBuf ¶
func (enum VirtualNodeStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type VirtualRouterData ¶
type VirtualRouterData struct { // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents metadata for a resource. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // An object that represents the specification of a virtual router. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // An object that represents the status of a virtual router. // // Status is a required field Status *VirtualRouterStatus `locationName:"status" type:"structure" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual router returned by a describe operation.
func (VirtualRouterData) MarshalFields ¶
func (s VirtualRouterData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualRouterData) String ¶
func (s VirtualRouterData) String() string
String returns the string representation
type VirtualRouterListener ¶ added in v0.8.0
type VirtualRouterListener struct { // An object that represents a port mapping. // // PortMapping is a required field PortMapping *PortMapping `locationName:"portMapping" type:"structure" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual router listener.
func (VirtualRouterListener) MarshalFields ¶ added in v0.8.0
func (s VirtualRouterListener) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualRouterListener) String ¶ added in v0.8.0
func (s VirtualRouterListener) String() string
String returns the string representation
func (*VirtualRouterListener) Validate ¶ added in v0.8.0
func (s *VirtualRouterListener) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualRouterRef ¶
type VirtualRouterRef struct { // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // LastUpdatedAt is a required field LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" required:"true"` // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // MeshOwner is a required field MeshOwner *string `locationName:"meshOwner" min:"12" type:"string" required:"true"` // ResourceOwner is a required field ResourceOwner *string `locationName:"resourceOwner" min:"12" type:"string" required:"true"` // Version is a required field Version *int64 `locationName:"version" type:"long" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual router returned by a list operation.
func (VirtualRouterRef) MarshalFields ¶
func (s VirtualRouterRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualRouterRef) String ¶
func (s VirtualRouterRef) String() string
String returns the string representation
type VirtualRouterServiceProvider ¶ added in v0.8.0
type VirtualRouterServiceProvider struct { // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual node service provider.
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 { Listeners []VirtualRouterListener `locationName:"listeners" min:"1" type:"list"` // contains filtered or unexported fields }
An object that represents the specification of a virtual router.
func (VirtualRouterSpec) MarshalFields ¶
func (s VirtualRouterSpec) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualRouterSpec) String ¶
func (s VirtualRouterSpec) String() string
String returns the string representation
func (*VirtualRouterSpec) Validate ¶ added in v0.8.0
func (s *VirtualRouterSpec) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualRouterStatus ¶
type VirtualRouterStatus struct { // Status is a required field Status VirtualRouterStatusCode `locationName:"status" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents the status of a virtual router.
func (VirtualRouterStatus) MarshalFields ¶
func (s VirtualRouterStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualRouterStatus) String ¶
func (s VirtualRouterStatus) String() string
String returns the string representation
type VirtualRouterStatusCode ¶
type VirtualRouterStatusCode string
const ( VirtualRouterStatusCodeActive VirtualRouterStatusCode = "ACTIVE" VirtualRouterStatusCodeDeleted VirtualRouterStatusCode = "DELETED" VirtualRouterStatusCodeInactive VirtualRouterStatusCode = "INACTIVE" )
Enum values for VirtualRouterStatusCode
func (VirtualRouterStatusCode) MarshalValue ¶
func (enum VirtualRouterStatusCode) MarshalValue() (string, error)
func (VirtualRouterStatusCode) MarshalValueBuf ¶
func (enum VirtualRouterStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type VirtualServiceBackend ¶ added in v0.8.0
type VirtualServiceBackend struct { // An object that represents a client policy. ClientPolicy *Policy `locationName:"clientPolicy" type:"structure"` // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual service backend for a virtual node.
func (VirtualServiceBackend) MarshalFields ¶ added in v0.8.0
func (s VirtualServiceBackend) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualServiceBackend) String ¶ added in v0.8.0
func (s VirtualServiceBackend) String() string
String returns the string representation
func (*VirtualServiceBackend) Validate ¶ added in v0.8.0
func (s *VirtualServiceBackend) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualServiceData ¶ added in v0.8.0
type VirtualServiceData struct { // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents metadata for a resource. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // An object that represents the specification of a virtual service. // // Spec is a required field Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"` // An object that represents the status of a virtual service. // // Status is a required field Status *VirtualServiceStatus `locationName:"status" type:"structure" required:"true"` // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual service returned by a describe operation.
func (VirtualServiceData) MarshalFields ¶ added in v0.8.0
func (s VirtualServiceData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualServiceData) String ¶ added in v0.8.0
func (s VirtualServiceData) String() string
String returns the string representation
type VirtualServiceProvider ¶ added in v0.8.0
type VirtualServiceProvider struct { // An object that represents a virtual node service provider. VirtualNode *VirtualNodeServiceProvider `locationName:"virtualNode" type:"structure"` // An object that represents a virtual node service provider. VirtualRouter *VirtualRouterServiceProvider `locationName:"virtualRouter" type:"structure"` // contains filtered or unexported fields }
An object that represents the provider for a virtual service.
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 { // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // LastUpdatedAt is a required field LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" required:"true"` // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // MeshOwner is a required field MeshOwner *string `locationName:"meshOwner" min:"12" type:"string" required:"true"` // ResourceOwner is a required field ResourceOwner *string `locationName:"resourceOwner" min:"12" type:"string" required:"true"` // Version is a required field Version *int64 `locationName:"version" type:"long" required:"true"` // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual service returned by a list operation.
func (VirtualServiceRef) MarshalFields ¶ added in v0.8.0
func (s VirtualServiceRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualServiceRef) String ¶ added in v0.8.0
func (s VirtualServiceRef) String() string
String returns the string representation
type VirtualServiceSpec ¶ added in v0.8.0
type VirtualServiceSpec struct { // An object that represents the provider for a virtual service. Provider *VirtualServiceProvider `locationName:"provider" type:"structure"` // contains filtered or unexported fields }
An object that represents the specification of a virtual service.
func (VirtualServiceSpec) MarshalFields ¶ added in v0.8.0
func (s VirtualServiceSpec) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualServiceSpec) String ¶ added in v0.8.0
func (s VirtualServiceSpec) String() string
String returns the string representation
func (*VirtualServiceSpec) Validate ¶ added in v0.8.0
func (s *VirtualServiceSpec) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualServiceStatus ¶ added in v0.8.0
type VirtualServiceStatus struct { // Status is a required field Status VirtualServiceStatusCode `locationName:"status" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents the status of a virtual service.
func (VirtualServiceStatus) MarshalFields ¶ added in v0.8.0
func (s VirtualServiceStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualServiceStatus) String ¶ added in v0.8.0
func (s VirtualServiceStatus) String() string
String returns the string representation
type VirtualServiceStatusCode ¶ added in v0.8.0
type VirtualServiceStatusCode string
const ( VirtualServiceStatusCodeActive VirtualServiceStatusCode = "ACTIVE" VirtualServiceStatusCodeDeleted VirtualServiceStatusCode = "DELETED" VirtualServiceStatusCodeInactive VirtualServiceStatusCode = "INACTIVE" )
Enum values for VirtualServiceStatusCode
func (VirtualServiceStatusCode) MarshalValue ¶ added in v0.8.0
func (enum VirtualServiceStatusCode) MarshalValue() (string, error)
func (VirtualServiceStatusCode) MarshalValueBuf ¶ added in v0.8.0
func (enum VirtualServiceStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type WeightedTarget ¶
type WeightedTarget struct { // VirtualNode is a required field VirtualNode *string `locationName:"virtualNode" min:"1" type:"string" required:"true"` // Weight is a required field Weight *int64 `locationName:"weight" type:"integer" required:"true"` // contains filtered or unexported fields }
An object that represents 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. The total weight for all targets combined must be less than or equal to 100.
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. |