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 containerized 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 Amazon ECS (using the Amazon EC2 launch type), Amazon EKS, and Kubernetes on AWS.
App Mesh supports containerized microservice applications that use service discovery naming for their components. To use App Mesh, you must have a containerized application running on Amazon EC2 instances, hosted in either Amazon ECS, Amazon EKS, or Kubernetes on AWS. For more information about service discovery on Amazon ECS, see Service Discovery (http://docs.aws.amazon.com/AmazonECS/latest/developerguideservice-discovery.html) in the Amazon Elastic Container Service Developer Guide. Kubernetes kube-dns is 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-2018-10-01 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 AWS App Mesh with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS App Mesh client AppMesh for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/appmesh/#New
Index ¶
- Constants
- type AppMesh
- func (c *AppMesh) CreateMeshRequest(input *CreateMeshInput) CreateMeshRequest
- func (c *AppMesh) CreateRouteRequest(input *CreateRouteInput) CreateRouteRequest
- func (c *AppMesh) CreateVirtualNodeRequest(input *CreateVirtualNodeInput) CreateVirtualNodeRequest
- func (c *AppMesh) CreateVirtualRouterRequest(input *CreateVirtualRouterInput) CreateVirtualRouterRequest
- func (c *AppMesh) DeleteMeshRequest(input *DeleteMeshInput) DeleteMeshRequest
- func (c *AppMesh) DeleteRouteRequest(input *DeleteRouteInput) DeleteRouteRequest
- func (c *AppMesh) DeleteVirtualNodeRequest(input *DeleteVirtualNodeInput) DeleteVirtualNodeRequest
- func (c *AppMesh) DeleteVirtualRouterRequest(input *DeleteVirtualRouterInput) DeleteVirtualRouterRequest
- func (c *AppMesh) DescribeMeshRequest(input *DescribeMeshInput) DescribeMeshRequest
- func (c *AppMesh) DescribeRouteRequest(input *DescribeRouteInput) DescribeRouteRequest
- func (c *AppMesh) DescribeVirtualNodeRequest(input *DescribeVirtualNodeInput) DescribeVirtualNodeRequest
- func (c *AppMesh) DescribeVirtualRouterRequest(input *DescribeVirtualRouterInput) DescribeVirtualRouterRequest
- func (c *AppMesh) ListMeshesRequest(input *ListMeshesInput) ListMeshesRequest
- func (c *AppMesh) ListRoutesRequest(input *ListRoutesInput) ListRoutesRequest
- func (c *AppMesh) ListVirtualNodesRequest(input *ListVirtualNodesInput) ListVirtualNodesRequest
- func (c *AppMesh) ListVirtualRoutersRequest(input *ListVirtualRoutersInput) ListVirtualRoutersRequest
- func (c *AppMesh) UpdateRouteRequest(input *UpdateRouteInput) UpdateRouteRequest
- func (c *AppMesh) UpdateVirtualNodeRequest(input *UpdateVirtualNodeInput) UpdateVirtualNodeRequest
- func (c *AppMesh) UpdateVirtualRouterRequest(input *UpdateVirtualRouterInput) UpdateVirtualRouterRequest
- type CreateMeshInput
- type CreateMeshOutput
- type CreateMeshRequest
- type CreateRouteInput
- type CreateRouteOutput
- type CreateRouteRequest
- type CreateVirtualNodeInput
- type CreateVirtualNodeOutput
- type CreateVirtualNodeRequest
- type CreateVirtualRouterInput
- type CreateVirtualRouterOutput
- type CreateVirtualRouterRequest
- type DeleteMeshInput
- type DeleteMeshOutput
- type DeleteMeshRequest
- type DeleteRouteInput
- type DeleteRouteOutput
- type DeleteRouteRequest
- type DeleteVirtualNodeInput
- type DeleteVirtualNodeOutput
- type DeleteVirtualNodeRequest
- type DeleteVirtualRouterInput
- type DeleteVirtualRouterOutput
- type DeleteVirtualRouterRequest
- type DescribeMeshInput
- type DescribeMeshOutput
- type DescribeMeshRequest
- type DescribeRouteInput
- type DescribeRouteOutput
- type DescribeRouteRequest
- type DescribeVirtualNodeInput
- type DescribeVirtualNodeOutput
- type DescribeVirtualNodeRequest
- type DescribeVirtualRouterInput
- type DescribeVirtualRouterOutput
- type DescribeVirtualRouterRequest
- type DnsServiceDiscovery
- type HealthCheckPolicy
- type HttpRoute
- type HttpRouteAction
- type HttpRouteMatch
- type ListMeshesInput
- type ListMeshesOutput
- type ListMeshesPager
- type ListMeshesRequest
- type ListRoutesInput
- type ListRoutesOutput
- type ListRoutesPager
- type ListRoutesRequest
- type ListVirtualNodesInput
- type ListVirtualNodesOutput
- type ListVirtualNodesPager
- type ListVirtualNodesRequest
- type ListVirtualRoutersInput
- type ListVirtualRoutersOutput
- type ListVirtualRoutersPager
- type ListVirtualRoutersRequest
- type Listener
- type MeshData
- type MeshRef
- type MeshStatus
- type MeshStatusCode
- type PortMapping
- type PortProtocol
- type ResourceMetadata
- type RouteData
- type RouteRef
- type RouteSpec
- type RouteStatus
- type RouteStatusCode
- type ServiceDiscovery
- type UpdateRouteInput
- type UpdateRouteOutput
- type UpdateRouteRequest
- type UpdateVirtualNodeInput
- type UpdateVirtualNodeOutput
- type UpdateVirtualNodeRequest
- type UpdateVirtualRouterInput
- type UpdateVirtualRouterOutput
- type UpdateVirtualRouterRequest
- type VirtualNodeData
- type VirtualNodeRef
- type VirtualNodeSpec
- type VirtualNodeStatus
- type VirtualNodeStatusCode
- type VirtualRouterData
- type VirtualRouterRef
- type VirtualRouterSpec
- type VirtualRouterStatus
- type VirtualRouterStatusCode
- type WeightedTarget
Constants ¶
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 do not have permissions to perform this action. ErrCodeForbiddenException = "ForbiddenException" // ErrCodeInternalServerErrorException for service response error code // "InternalServerErrorException". // // The request processing has failed because of an unknown error, exception, // or failure. ErrCodeInternalServerErrorException = "InternalServerErrorException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // You have exceeded a service limit for your account. For more information, // see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) // in the AWS App Mesh User Guide. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeNotFoundException for service response error code // "NotFoundException". // // The specified resource does not exist. Check your request syntax and try // again. ErrCodeNotFoundException = "NotFoundException" // ErrCodeResourceInUseException for service response error code // "ResourceInUseException". // // You cannot delete the specified resource because it is 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" )
const ( ServiceName = "appmesh" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppMesh ¶
AppMesh provides the API operation methods for making requests to AWS App Mesh. See this package's package overview docs for details on the service.
AppMesh methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the AppMesh client with a config.
Example:
// Create a AppMesh client from just a config. svc := appmesh.New(myConfig)
func (*AppMesh) CreateMeshRequest ¶
func (c *AppMesh) CreateMeshRequest(input *CreateMeshInput) CreateMeshRequest
CreateMeshRequest returns a request value for making API operation for AWS App Mesh.
Creates a new service mesh. A service mesh is a logical boundary for network traffic between the services that reside within it.
After you create your service mesh, you can create virtual nodes, virtual routers, and routes to distribute traffic between the applications in your mesh.
// Example sending a request using the CreateMeshRequest method. req := client.CreateMeshRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/CreateMesh
func (*AppMesh) CreateRouteRequest ¶
func (c *AppMesh) CreateRouteRequest(input *CreateRouteInput) CreateRouteRequest
CreateRouteRequest returns a request value for making API operation for AWS App Mesh.
Creates a new route that is associated with a virtual router.
You can use the prefix parameter in your route specification for path-based routing of requests. For example, if your virtual router service name is my-service.local, and you want the route to match requests to my-service.local/metrics, then your prefix should be /metrics.
If your route matches a request, you can distribute traffic to one or more target virtual nodes with relative weighting.
// Example sending a request using the CreateRouteRequest method. req := client.CreateRouteRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/CreateRoute
func (*AppMesh) CreateVirtualNodeRequest ¶
func (c *AppMesh) CreateVirtualNodeRequest(input *CreateVirtualNodeInput) CreateVirtualNodeRequest
CreateVirtualNodeRequest returns a request value for making API operation for AWS App Mesh.
Creates a new virtual node within a service mesh.
A virtual node acts as logical pointer to a particular task group, such as an Amazon ECS service or a Kubernetes deployment. When you create a virtual node, you must specify the DNS service discovery name for your task group.
Any inbound traffic that your virtual node expects should be specified as a listener. Any outbound traffic that your virtual node expects to reach should be specified as a backend.
The response metadata for your new virtual node contains the arn that is associated with the virtual node. Set this value (either the full ARN or the truncated resource name, for example, mesh/default/virtualNode/simpleapp, as the APPMESH_VIRTUAL_NODE_NAME environment variable for your task group's Envoy proxy container in your task definition or pod spec. This is then mapped to the node.id and node.cluster Envoy parameters.
If you require your Envoy stats or tracing to use a different name, you can override the node.cluster value that is set by APPMESH_VIRTUAL_NODE_NAME with the APPMESH_VIRTUAL_NODE_CLUSTER environment variable.
// Example sending a request using the CreateVirtualNodeRequest method. req := client.CreateVirtualNodeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/CreateVirtualNode
func (*AppMesh) CreateVirtualRouterRequest ¶
func (c *AppMesh) CreateVirtualRouterRequest(input *CreateVirtualRouterInput) CreateVirtualRouterRequest
CreateVirtualRouterRequest returns a request value for making API operation for AWS App Mesh.
Creates a new virtual router within a service mesh.
Virtual routers handle traffic for one or more service names within your mesh. After you create your virtual router, create and associate routes for your virtual router that direct incoming requests to different virtual nodes.
// Example sending a request using the CreateVirtualRouterRequest method. req := client.CreateVirtualRouterRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/CreateVirtualRouter
func (*AppMesh) DeleteMeshRequest ¶
func (c *AppMesh) 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 (routes, virtual routers, virtual nodes) in the service mesh before you can delete the mesh itself.
// Example sending a request using the DeleteMeshRequest method. req := client.DeleteMeshRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DeleteMesh
func (*AppMesh) DeleteRouteRequest ¶
func (c *AppMesh) 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 the DeleteRouteRequest method. req := client.DeleteRouteRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DeleteRoute
func (*AppMesh) DeleteVirtualNodeRequest ¶
func (c *AppMesh) DeleteVirtualNodeRequest(input *DeleteVirtualNodeInput) DeleteVirtualNodeRequest
DeleteVirtualNodeRequest returns a request value for making API operation for AWS App Mesh.
Deletes an existing virtual node.
// Example sending a request using the DeleteVirtualNodeRequest method. req := client.DeleteVirtualNodeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DeleteVirtualNode
func (*AppMesh) DeleteVirtualRouterRequest ¶
func (c *AppMesh) 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 the DeleteVirtualRouterRequest method. req := client.DeleteVirtualRouterRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DeleteVirtualRouter
func (*AppMesh) DescribeMeshRequest ¶
func (c *AppMesh) DescribeMeshRequest(input *DescribeMeshInput) DescribeMeshRequest
DescribeMeshRequest returns a request value for making API operation for AWS App Mesh.
Describes an existing cluster.
// Example sending a request using the DescribeMeshRequest method. req := client.DescribeMeshRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeMesh
func (*AppMesh) DescribeRouteRequest ¶
func (c *AppMesh) 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 the DescribeRouteRequest method. req := client.DescribeRouteRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeRoute
func (*AppMesh) DescribeVirtualNodeRequest ¶
func (c *AppMesh) 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 the DescribeVirtualNodeRequest method. req := client.DescribeVirtualNodeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeVirtualNode
func (*AppMesh) DescribeVirtualRouterRequest ¶
func (c *AppMesh) 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 the DescribeVirtualRouterRequest method. req := client.DescribeVirtualRouterRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeVirtualRouter
func (*AppMesh) ListMeshesRequest ¶
func (c *AppMesh) 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 the ListMeshesRequest method. req := client.ListMeshesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ListMeshes
func (*AppMesh) ListRoutesRequest ¶
func (c *AppMesh) 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 the ListRoutesRequest method. req := client.ListRoutesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ListRoutes
func (*AppMesh) ListVirtualNodesRequest ¶
func (c *AppMesh) 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 the ListVirtualNodesRequest method. req := client.ListVirtualNodesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ListVirtualNodes
func (*AppMesh) ListVirtualRoutersRequest ¶
func (c *AppMesh) 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 the ListVirtualRoutersRequest method. req := client.ListVirtualRoutersRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ListVirtualRouters
func (*AppMesh) UpdateRouteRequest ¶
func (c *AppMesh) 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 the UpdateRouteRequest method. req := client.UpdateRouteRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/UpdateRoute
func (*AppMesh) UpdateVirtualNodeRequest ¶
func (c *AppMesh) 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 the UpdateVirtualNodeRequest method. req := client.UpdateVirtualNodeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/UpdateVirtualNode
func (*AppMesh) UpdateVirtualRouterRequest ¶
func (c *AppMesh) 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 the UpdateVirtualRouterRequest method. req := client.UpdateVirtualRouterRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/UpdateVirtualRouter
type CreateMeshInput ¶
type CreateMeshInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name to use for the service mesh. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/CreateMeshInput
func (CreateMeshInput) GoString ¶
func (s CreateMeshInput) GoString() string
GoString returns the string representation
func (CreateMeshInput) MarshalFields ¶
func (s CreateMeshInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateMeshInput) String ¶
func (s CreateMeshInput) String() string
String returns the string representation
func (*CreateMeshInput) Validate ¶
func (s *CreateMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMeshOutput ¶
type CreateMeshOutput struct { // The full description of your service mesh following the create call. Mesh *MeshData `locationName:"mesh" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/CreateMeshOutput
func (CreateMeshOutput) GoString ¶
func (s CreateMeshOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s CreateMeshOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateMesh API operation.
func (CreateMeshRequest) Send ¶
func (r CreateMeshRequest) Send() (*CreateMeshOutput, error)
Send marshals and sends the CreateMesh API request.
type CreateRouteInput ¶
type CreateRouteInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh in which to create the route. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name to use for the route. // // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // The route specification to apply. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual router in which to create the route. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/CreateRouteInput
func (CreateRouteInput) GoString ¶
func (s CreateRouteInput) GoString() string
GoString returns the string representation
func (CreateRouteInput) MarshalFields ¶
func (s CreateRouteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateRouteInput) String ¶
func (s CreateRouteInput) String() string
String returns the string representation
func (*CreateRouteInput) Validate ¶
func (s *CreateRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRouteOutput ¶
type CreateRouteOutput struct { // The full description of your mesh following the create call. Route *RouteData `locationName:"route" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/CreateRouteOutput
func (CreateRouteOutput) GoString ¶
func (s CreateRouteOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s CreateRouteOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateRoute API operation.
func (CreateRouteRequest) Send ¶
func (r CreateRouteRequest) Send() (*CreateRouteOutput, error)
Send marshals and sends the CreateRoute API request.
type CreateVirtualNodeInput ¶
type CreateVirtualNodeInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh in which to create the virtual node. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The virtual node specification to apply. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // The name to use for the virtual node. // // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/CreateVirtualNodeInput
func (CreateVirtualNodeInput) GoString ¶
func (s CreateVirtualNodeInput) GoString() string
GoString returns the string representation
func (CreateVirtualNodeInput) MarshalFields ¶
func (s CreateVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateVirtualNodeInput) String ¶
func (s CreateVirtualNodeInput) String() string
String returns the string representation
func (*CreateVirtualNodeInput) Validate ¶
func (s *CreateVirtualNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVirtualNodeOutput ¶
type CreateVirtualNodeOutput struct { // The full description of your virtual node following the create call. VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/CreateVirtualNodeOutput
func (CreateVirtualNodeOutput) GoString ¶
func (s CreateVirtualNodeOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s CreateVirtualNodeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateVirtualNode API operation.
func (CreateVirtualNodeRequest) Send ¶
func (r CreateVirtualNodeRequest) Send() (*CreateVirtualNodeOutput, error)
Send marshals and sends the CreateVirtualNode API request.
type CreateVirtualRouterInput ¶
type CreateVirtualRouterInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh in which to create the virtual router. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The virtual router specification to apply. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // The name to use for the virtual router. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/CreateVirtualRouterInput
func (CreateVirtualRouterInput) GoString ¶
func (s CreateVirtualRouterInput) GoString() string
GoString returns the string representation
func (CreateVirtualRouterInput) MarshalFields ¶
func (s CreateVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateVirtualRouterInput) String ¶
func (s CreateVirtualRouterInput) String() string
String returns the string representation
func (*CreateVirtualRouterInput) Validate ¶
func (s *CreateVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVirtualRouterOutput ¶
type CreateVirtualRouterOutput struct { // The full description of your virtual router following the create call. VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/CreateVirtualRouterOutput
func (CreateVirtualRouterOutput) GoString ¶
func (s CreateVirtualRouterOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s CreateVirtualRouterOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the CreateVirtualRouter API operation.
func (CreateVirtualRouterRequest) Send ¶
func (r CreateVirtualRouterRequest) Send() (*CreateVirtualRouterOutput, error)
Send marshals and sends the CreateVirtualRouter API request.
type DeleteMeshInput ¶
type DeleteMeshInput struct { // The name of the service mesh to delete. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DeleteMeshInput
func (DeleteMeshInput) GoString ¶
func (s DeleteMeshInput) GoString() string
GoString returns the string representation
func (DeleteMeshInput) MarshalFields ¶
func (s DeleteMeshInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteMeshInput) String ¶
func (s DeleteMeshInput) String() string
String returns the string representation
func (*DeleteMeshInput) Validate ¶
func (s *DeleteMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMeshOutput ¶
type DeleteMeshOutput struct { // The service mesh that was deleted. Mesh *MeshData `locationName:"mesh" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DeleteMeshOutput
func (DeleteMeshOutput) GoString ¶
func (s DeleteMeshOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s DeleteMeshOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteMesh API operation.
func (DeleteMeshRequest) Send ¶
func (r DeleteMeshRequest) Send() (*DeleteMeshOutput, error)
Send marshals and sends the DeleteMesh API request.
type DeleteRouteInput ¶
type DeleteRouteInput struct { // The name of the service mesh in which to delete the route. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route to delete. // // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // The name of the virtual router in which to delete the route. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DeleteRouteInput
func (DeleteRouteInput) GoString ¶
func (s DeleteRouteInput) GoString() string
GoString returns the string representation
func (DeleteRouteInput) MarshalFields ¶
func (s DeleteRouteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteRouteInput) String ¶
func (s DeleteRouteInput) String() string
String returns the string representation
func (*DeleteRouteInput) Validate ¶
func (s *DeleteRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRouteOutput ¶
type DeleteRouteOutput struct { // The route that was deleted. Route *RouteData `locationName:"route" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DeleteRouteOutput
func (DeleteRouteOutput) GoString ¶
func (s DeleteRouteOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s DeleteRouteOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteRoute API operation.
func (DeleteRouteRequest) Send ¶
func (r DeleteRouteRequest) Send() (*DeleteRouteOutput, error)
Send marshals and sends the DeleteRoute API request.
type DeleteVirtualNodeInput ¶
type DeleteVirtualNodeInput struct { // The name of the service mesh in which to delete the virtual node. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual node to delete. // // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DeleteVirtualNodeInput
func (DeleteVirtualNodeInput) GoString ¶
func (s DeleteVirtualNodeInput) GoString() string
GoString returns the string representation
func (DeleteVirtualNodeInput) MarshalFields ¶
func (s DeleteVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteVirtualNodeInput) String ¶
func (s DeleteVirtualNodeInput) String() string
String returns the string representation
func (*DeleteVirtualNodeInput) Validate ¶
func (s *DeleteVirtualNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVirtualNodeOutput ¶
type DeleteVirtualNodeOutput struct { // The virtual node that was deleted. VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DeleteVirtualNodeOutput
func (DeleteVirtualNodeOutput) GoString ¶
func (s DeleteVirtualNodeOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s DeleteVirtualNodeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteVirtualNode API operation.
func (DeleteVirtualNodeRequest) Send ¶
func (r DeleteVirtualNodeRequest) Send() (*DeleteVirtualNodeOutput, error)
Send marshals and sends the DeleteVirtualNode API request.
type DeleteVirtualRouterInput ¶
type DeleteVirtualRouterInput struct { // The name of the service mesh in which to delete the virtual router. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual router to delete. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DeleteVirtualRouterInput
func (DeleteVirtualRouterInput) GoString ¶
func (s DeleteVirtualRouterInput) GoString() string
GoString returns the string representation
func (DeleteVirtualRouterInput) MarshalFields ¶
func (s DeleteVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteVirtualRouterInput) String ¶
func (s DeleteVirtualRouterInput) String() string
String returns the string representation
func (*DeleteVirtualRouterInput) Validate ¶
func (s *DeleteVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVirtualRouterOutput ¶
type DeleteVirtualRouterOutput struct { // The virtual router that was deleted. VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DeleteVirtualRouterOutput
func (DeleteVirtualRouterOutput) GoString ¶
func (s DeleteVirtualRouterOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s DeleteVirtualRouterOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DeleteVirtualRouter API operation.
func (DeleteVirtualRouterRequest) Send ¶
func (r DeleteVirtualRouterRequest) Send() (*DeleteVirtualRouterOutput, error)
Send marshals and sends the DeleteVirtualRouter API request.
type DescribeMeshInput ¶
type DescribeMeshInput struct { // The name of the service mesh to describe. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeMeshInput
func (DescribeMeshInput) GoString ¶
func (s DescribeMeshInput) GoString() string
GoString returns the string representation
func (DescribeMeshInput) MarshalFields ¶
func (s DescribeMeshInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeMeshInput) String ¶
func (s DescribeMeshInput) String() string
String returns the string representation
func (*DescribeMeshInput) Validate ¶
func (s *DescribeMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeMeshOutput ¶
type DescribeMeshOutput struct { // The full description of your service mesh. Mesh *MeshData `locationName:"mesh" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeMeshOutput
func (DescribeMeshOutput) GoString ¶
func (s DescribeMeshOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s DescribeMeshOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DescribeMesh API operation.
func (DescribeMeshRequest) Send ¶
func (r DescribeMeshRequest) Send() (*DescribeMeshOutput, error)
Send marshals and sends the DescribeMesh API request.
type DescribeRouteInput ¶
type DescribeRouteInput struct { // The name of the service mesh in which the route resides. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route to describe. // // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // The name of the virtual router with which the route is associated. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeRouteInput
func (DescribeRouteInput) GoString ¶
func (s DescribeRouteInput) GoString() string
GoString returns the string representation
func (DescribeRouteInput) MarshalFields ¶
func (s DescribeRouteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeRouteInput) String ¶
func (s DescribeRouteInput) String() string
String returns the string representation
func (*DescribeRouteInput) Validate ¶
func (s *DescribeRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRouteOutput ¶
type DescribeRouteOutput struct { // The full description of your route. Route *RouteData `locationName:"route" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeRouteOutput
func (DescribeRouteOutput) GoString ¶
func (s DescribeRouteOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s DescribeRouteOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DescribeRoute API operation.
func (DescribeRouteRequest) Send ¶
func (r DescribeRouteRequest) Send() (*DescribeRouteOutput, error)
Send marshals and sends the DescribeRoute API request.
type DescribeVirtualNodeInput ¶
type DescribeVirtualNodeInput struct { // The name of the service mesh in which the virtual node resides. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual node to describe. // // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeVirtualNodeInput
func (DescribeVirtualNodeInput) GoString ¶
func (s DescribeVirtualNodeInput) GoString() string
GoString returns the string representation
func (DescribeVirtualNodeInput) MarshalFields ¶
func (s DescribeVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeVirtualNodeInput) String ¶
func (s DescribeVirtualNodeInput) String() string
String returns the string representation
func (*DescribeVirtualNodeInput) Validate ¶
func (s *DescribeVirtualNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVirtualNodeOutput ¶
type DescribeVirtualNodeOutput struct { // The full description of your virtual node. VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeVirtualNodeOutput
func (DescribeVirtualNodeOutput) GoString ¶
func (s DescribeVirtualNodeOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s DescribeVirtualNodeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DescribeVirtualNode API operation.
func (DescribeVirtualNodeRequest) Send ¶
func (r DescribeVirtualNodeRequest) Send() (*DescribeVirtualNodeOutput, error)
Send marshals and sends the DescribeVirtualNode API request.
type DescribeVirtualRouterInput ¶
type DescribeVirtualRouterInput struct { // The name of the service mesh in which the virtual router resides. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual router to describe. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeVirtualRouterInput
func (DescribeVirtualRouterInput) GoString ¶
func (s DescribeVirtualRouterInput) GoString() string
GoString returns the string representation
func (DescribeVirtualRouterInput) MarshalFields ¶
func (s DescribeVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeVirtualRouterInput) String ¶
func (s DescribeVirtualRouterInput) String() string
String returns the string representation
func (*DescribeVirtualRouterInput) Validate ¶
func (s *DescribeVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVirtualRouterOutput ¶
type DescribeVirtualRouterOutput struct { // The full description of your virtual router. VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeVirtualRouterOutput
func (DescribeVirtualRouterOutput) GoString ¶
func (s DescribeVirtualRouterOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s DescribeVirtualRouterOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the DescribeVirtualRouter API operation.
func (DescribeVirtualRouterRequest) Send ¶
func (r DescribeVirtualRouterRequest) Send() (*DescribeVirtualRouterOutput, error)
Send marshals and sends the DescribeVirtualRouter API request.
type DnsServiceDiscovery ¶
type DnsServiceDiscovery struct { // The DNS service name for your virtual node. ServiceName *string `locationName:"serviceName" type:"string"` // contains filtered or unexported fields }
The DNS service discovery information for your virtual node. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DnsServiceDiscovery
func (DnsServiceDiscovery) GoString ¶
func (s DnsServiceDiscovery) GoString() string
GoString returns the string representation
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
type HealthCheckPolicy ¶
type HealthCheckPolicy struct { // The number of consecutive successful health checks that must occur before // declaring listener healthy. HealthyThreshold *int64 `locationName:"healthyThreshold" type:"integer"` // The time period in milliseconds between each health check execution. IntervalMillis *int64 `locationName:"intervalMillis" type:"long"` // The destination path for the health check request. Path *string `locationName:"path" type:"string"` // The destination port for the health check request. Port *int64 `locationName:"port" min:"1" type:"integer"` // The protocol for the health check request. Protocol PortProtocol `locationName:"protocol" type:"string" enum:"true"` // The amount of time to wait when receiving a response from the health check, // in milliseconds. TimeoutMillis *int64 `locationName:"timeoutMillis" type:"long"` // The number of consecutive failed health checks that must occur before declaring // a virtual node unhealthy. UnhealthyThreshold *int64 `locationName:"unhealthyThreshold" type:"integer"` // contains filtered or unexported fields }
An object representing the health check policy for a virtual node's listener.
Listener health checks are not available during the App Mesh preview. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/HealthCheckPolicy
func (HealthCheckPolicy) GoString ¶
func (s HealthCheckPolicy) GoString() string
GoString returns the string representation
func (HealthCheckPolicy) MarshalFields ¶
func (s HealthCheckPolicy) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HealthCheckPolicy) String ¶
func (s HealthCheckPolicy) String() string
String returns the string representation
func (*HealthCheckPolicy) Validate ¶
func (s *HealthCheckPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpRoute ¶
type HttpRoute struct { // The action to take if a match is determined. Action *HttpRouteAction `locationName:"action" type:"structure"` // The criteria for determining an HTTP request match. Match *HttpRouteMatch `locationName:"match" type:"structure"` // contains filtered or unexported fields }
An object representing the HTTP routing specification for a route. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/HttpRoute
func (HttpRoute) MarshalFields ¶
func (s HttpRoute) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type HttpRouteAction ¶
type HttpRouteAction struct { // The targets that traffic is routed to when a request matches the route. You // can specify one or more targets and their relative weights with which to // distribute traffic. WeightedTargets []WeightedTarget `locationName:"weightedTargets" type:"list"` // contains filtered or unexported fields }
An object representing the traffic distribution requirements for matched HTTP requests. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/HttpRouteAction
func (HttpRouteAction) GoString ¶
func (s HttpRouteAction) GoString() string
GoString returns the string representation
func (HttpRouteAction) MarshalFields ¶
func (s HttpRouteAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HttpRouteAction) String ¶
func (s HttpRouteAction) String() string
String returns the string representation
func (*HttpRouteAction) Validate ¶
func (s *HttpRouteAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpRouteMatch ¶
type HttpRouteMatch struct { // Specifies the path with which to match requests. This parameter must always // start with /, which by itself matches all requests to the virtual router // service name. You can also match for path-based routing of requests. For // example, if your virtual router service name is my-service.local, and you // want the route to match requests to my-service.local/metrics, then your prefix // should be /metrics. Prefix *string `locationName:"prefix" type:"string"` // contains filtered or unexported fields }
An object representing the requirements for a route to match HTTP requests for a virtual router. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/HttpRouteMatch
func (HttpRouteMatch) GoString ¶
func (s HttpRouteMatch) GoString() string
GoString returns the string representation
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
type ListMeshesInput ¶
type ListMeshesInput struct { // The maximum number of mesh results returned by ListMeshes in paginated output. // When this parameter is used, ListMeshes only returns limit results in a single // page along with a nextToken response element. The remaining results of the // initial request can be seen by sending another ListMeshes request with the // returned nextToken value. This value can be between 1 and 100. If this parameter // is not used, then ListMeshes returns up to 100 results and a nextToken value // if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The nextToken value returned from a previous paginated ListMeshes request // where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. // // This token should be treated as an opaque identifier that is only used to // retrieve the next items in a list and not for other programmatic purposes. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ListMeshesInput
func (ListMeshesInput) GoString ¶
func (s ListMeshesInput) GoString() string
GoString returns the string representation
func (ListMeshesInput) MarshalFields ¶
func (s ListMeshesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListMeshesInput) String ¶
func (s ListMeshesInput) String() string
String returns the string representation
func (*ListMeshesInput) Validate ¶
func (s *ListMeshesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMeshesOutput ¶
type ListMeshesOutput struct { // The list of existing service meshes. // // Meshes is a required field Meshes []MeshRef `locationName:"meshes" type:"list" required:"true"` // The nextToken value to include in a future ListMeshes request. When the results // of a ListMeshes request exceed limit, this value can be used to retrieve // the next page of results. This value is null when there are no more results // to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ListMeshesOutput
func (ListMeshesOutput) GoString ¶
func (s ListMeshesOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s ListMeshesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListMeshesOutput) String ¶
func (s ListMeshesOutput) String() string
String returns the string representation
type ListMeshesPager ¶
ListMeshesPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListMeshesPager) CurrentPage ¶
func (p *ListMeshesPager) CurrentPage() *ListMeshesOutput
type ListMeshesRequest ¶
type ListMeshesRequest struct { *aws.Request Input *ListMeshesInput Copy func(*ListMeshesInput) ListMeshesRequest }
ListMeshesRequest is a API request type for the ListMeshes API operation.
func (*ListMeshesRequest) Paginate ¶
func (p *ListMeshesRequest) Paginate(opts ...aws.Option) ListMeshesPager
Paginate pages iterates over the pages of a ListMeshesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListMeshes operation. req := client.ListMeshesRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListMeshesRequest) Send ¶
func (r ListMeshesRequest) Send() (*ListMeshesOutput, error)
Send marshals and sends the ListMeshes API request.
type ListRoutesInput ¶
type ListRoutesInput struct { // The maximum number of mesh results returned by ListRoutes in paginated output. // When this parameter is used, ListRoutes only returns limit results in a single // page along with a nextToken response element. The remaining results of the // initial request can be seen by sending another ListRoutes request with the // returned nextToken value. This value can be between 1 and 100. If this parameter // is not used, then ListRoutes returns up to 100 results and a nextToken value // if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh in which to list routes. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListRoutes request // where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The name of the virtual router in which to list routes. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ListRoutesInput
func (ListRoutesInput) GoString ¶
func (s ListRoutesInput) GoString() string
GoString returns the string representation
func (ListRoutesInput) MarshalFields ¶
func (s ListRoutesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRoutesInput) String ¶
func (s ListRoutesInput) String() string
String returns the string representation
func (*ListRoutesInput) Validate ¶
func (s *ListRoutesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRoutesOutput ¶
type ListRoutesOutput struct { // The nextToken value to include in a future ListRoutes request. When the results // of a ListRoutes request exceed limit, this value can be used to retrieve // the next page of results. This value is null when there are no more results // to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing routes for the specified service mesh and virtual router. // // Routes is a required field Routes []RouteRef `locationName:"routes" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ListRoutesOutput
func (ListRoutesOutput) GoString ¶
func (s ListRoutesOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s ListRoutesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListRoutesOutput) String ¶
func (s ListRoutesOutput) String() string
String returns the string representation
type ListRoutesPager ¶
ListRoutesPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListRoutesPager) CurrentPage ¶
func (p *ListRoutesPager) CurrentPage() *ListRoutesOutput
type ListRoutesRequest ¶
type ListRoutesRequest struct { *aws.Request Input *ListRoutesInput Copy func(*ListRoutesInput) ListRoutesRequest }
ListRoutesRequest is a API request type for the ListRoutes API operation.
func (*ListRoutesRequest) Paginate ¶
func (p *ListRoutesRequest) Paginate(opts ...aws.Option) ListRoutesPager
Paginate pages iterates over the pages of a ListRoutesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListRoutes operation. req := client.ListRoutesRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListRoutesRequest) Send ¶
func (r ListRoutesRequest) Send() (*ListRoutesOutput, error)
Send marshals and sends the ListRoutes API request.
type ListVirtualNodesInput ¶
type ListVirtualNodesInput struct { // The maximum number of mesh results returned by ListVirtualNodes in paginated // output. When this parameter is used, ListVirtualNodes only returns limit // results in a single page along with a nextToken response element. The remaining // results of the initial request can be seen by sending another ListVirtualNodes // request with the returned nextToken value. This value can be between 1 and // 100. If this parameter is not used, then ListVirtualNodes returns up to 100 // results and a nextToken value if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh in which to list virtual nodes. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListVirtualNodes request // where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ListVirtualNodesInput
func (ListVirtualNodesInput) GoString ¶
func (s ListVirtualNodesInput) GoString() string
GoString returns the string representation
func (ListVirtualNodesInput) MarshalFields ¶
func (s ListVirtualNodesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListVirtualNodesInput) String ¶
func (s ListVirtualNodesInput) String() string
String returns the string representation
func (*ListVirtualNodesInput) Validate ¶
func (s *ListVirtualNodesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListVirtualNodesOutput ¶
type ListVirtualNodesOutput struct { // The nextToken value to include in a future ListVirtualNodes request. When // the results of a ListVirtualNodes request exceed limit, this value can be // used to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing virtual nodes for the specified service mesh. // // VirtualNodes is a required field VirtualNodes []VirtualNodeRef `locationName:"virtualNodes" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ListVirtualNodesOutput
func (ListVirtualNodesOutput) GoString ¶
func (s ListVirtualNodesOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s ListVirtualNodesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListVirtualNodesOutput) String ¶
func (s ListVirtualNodesOutput) String() string
String returns the string representation
type ListVirtualNodesPager ¶
ListVirtualNodesPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListVirtualNodesPager) CurrentPage ¶
func (p *ListVirtualNodesPager) CurrentPage() *ListVirtualNodesOutput
type ListVirtualNodesRequest ¶
type ListVirtualNodesRequest struct { *aws.Request Input *ListVirtualNodesInput Copy func(*ListVirtualNodesInput) ListVirtualNodesRequest }
ListVirtualNodesRequest is a API request type for the ListVirtualNodes API operation.
func (*ListVirtualNodesRequest) Paginate ¶
func (p *ListVirtualNodesRequest) Paginate(opts ...aws.Option) ListVirtualNodesPager
Paginate pages iterates over the pages of a ListVirtualNodesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListVirtualNodes operation. req := client.ListVirtualNodesRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListVirtualNodesRequest) Send ¶
func (r ListVirtualNodesRequest) Send() (*ListVirtualNodesOutput, error)
Send marshals and sends the ListVirtualNodes API request.
type ListVirtualRoutersInput ¶
type ListVirtualRoutersInput struct { // The maximum number of mesh results returned by ListVirtualRouters in paginated // output. When this parameter is used, ListVirtualRouters only returns limit // results in a single page along with a nextToken response element. The remaining // results of the initial request can be seen by sending another ListVirtualRouters // request with the returned nextToken value. This value can be between 1 and // 100. If this parameter is not used, then ListVirtualRouters returns up to // 100 results and a nextToken value if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh in which to list virtual routers. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListVirtualRouters // request where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ListVirtualRoutersInput
func (ListVirtualRoutersInput) GoString ¶
func (s ListVirtualRoutersInput) GoString() string
GoString returns the string representation
func (ListVirtualRoutersInput) MarshalFields ¶
func (s ListVirtualRoutersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListVirtualRoutersInput) String ¶
func (s ListVirtualRoutersInput) String() string
String returns the string representation
func (*ListVirtualRoutersInput) Validate ¶
func (s *ListVirtualRoutersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListVirtualRoutersOutput ¶
type ListVirtualRoutersOutput struct { // The nextToken value to include in a future ListVirtualRouters request. When // the results of a ListVirtualRouters request exceed limit, this value can // be used to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing virtual routers for the specified service mesh. // // VirtualRouters is a required field VirtualRouters []VirtualRouterRef `locationName:"virtualRouters" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ListVirtualRoutersOutput
func (ListVirtualRoutersOutput) GoString ¶
func (s ListVirtualRoutersOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s ListVirtualRoutersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListVirtualRoutersOutput) String ¶
func (s ListVirtualRoutersOutput) String() string
String returns the string representation
type ListVirtualRoutersPager ¶
ListVirtualRoutersPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListVirtualRoutersPager) CurrentPage ¶
func (p *ListVirtualRoutersPager) CurrentPage() *ListVirtualRoutersOutput
type ListVirtualRoutersRequest ¶
type ListVirtualRoutersRequest struct { *aws.Request Input *ListVirtualRoutersInput Copy func(*ListVirtualRoutersInput) ListVirtualRoutersRequest }
ListVirtualRoutersRequest is a API request type for the ListVirtualRouters API operation.
func (*ListVirtualRoutersRequest) Paginate ¶
func (p *ListVirtualRoutersRequest) Paginate(opts ...aws.Option) ListVirtualRoutersPager
Paginate pages iterates over the pages of a ListVirtualRoutersRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListVirtualRouters operation. req := client.ListVirtualRoutersRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListVirtualRoutersRequest) Send ¶
func (r ListVirtualRoutersRequest) Send() (*ListVirtualRoutersOutput, error)
Send marshals and sends the ListVirtualRouters API request.
type Listener ¶
type Listener struct { // The health check information for the listener. // // Listener health checks are not available during the App Mesh preview. HealthCheck *HealthCheckPolicy `locationName:"healthCheck" type:"structure"` // The port mapping information for the listener. PortMapping *PortMapping `locationName:"portMapping" type:"structure"` // contains filtered or unexported fields }
An object representing a listener for a virtual node. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/Listener
func (Listener) MarshalFields ¶
func (s Listener) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type MeshData ¶
type MeshData struct { // The name of the service mesh. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the service mesh. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // The status of the service mesh. Status *MeshStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
An object representing a service mesh returned by a describe operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/MeshData
func (MeshData) MarshalFields ¶
func (s MeshData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type MeshRef ¶
type MeshRef struct { // The full Amazon Resource Name (ARN) of the service mesh. Arn *string `locationName:"arn" type:"string"` // The name of the service mesh. MeshName *string `locationName:"meshName" min:"1" type:"string"` // contains filtered or unexported fields }
An object representing a service mesh returned by a list operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/MeshRef
func (MeshRef) MarshalFields ¶
func (s MeshRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type MeshStatus ¶
type MeshStatus struct { // The current mesh status. Status MeshStatusCode `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
An object representing the status of a service mesh. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/MeshStatus
func (MeshStatus) GoString ¶
func (s MeshStatus) GoString() string
GoString returns the string representation
func (MeshStatus) MarshalFields ¶
func (s MeshStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MeshStatus) String ¶
func (s MeshStatus) String() string
String returns the string representation
type MeshStatusCode ¶
type MeshStatusCode string
const ( MeshStatusCodeActive MeshStatusCode = "ACTIVE" MeshStatusCodeDeleted MeshStatusCode = "DELETED" MeshStatusCodeInactive MeshStatusCode = "INACTIVE" )
Enum values for MeshStatusCode
func (MeshStatusCode) MarshalValue ¶
func (enum MeshStatusCode) MarshalValue() (string, error)
func (MeshStatusCode) MarshalValueBuf ¶
func (enum MeshStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type PortMapping ¶
type PortMapping struct { // The port used for the port mapping. Port *int64 `locationName:"port" min:"1" type:"integer"` // The protocol used for the port mapping. Protocol PortProtocol `locationName:"protocol" type:"string" enum:"true"` // contains filtered or unexported fields }
An object representing a virtual node listener port mapping. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/PortMapping
func (PortMapping) GoString ¶
func (s PortMapping) GoString() string
GoString returns the string representation
func (PortMapping) MarshalFields ¶
func (s PortMapping) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PortMapping) String ¶
func (s PortMapping) String() string
String returns the string representation
func (*PortMapping) Validate ¶
func (s *PortMapping) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PortProtocol ¶
type PortProtocol string
const ( PortProtocolHttp PortProtocol = "http" PortProtocolTcp PortProtocol = "tcp" )
Enum values for PortProtocol
func (PortProtocol) MarshalValue ¶
func (enum PortProtocol) MarshalValue() (string, error)
func (PortProtocol) MarshalValueBuf ¶
func (enum PortProtocol) MarshalValueBuf(b []byte) ([]byte, error)
type ResourceMetadata ¶
type ResourceMetadata struct { // The full Amazon Resource Name (ARN) for the resource. // // After you create a 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. Arn *string `locationName:"arn" type:"string"` // The Unix epoch timestamp in seconds for when the cluster was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The Unix epoch timestamp in seconds for when the cluster was last updated. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"` // The unique identifier for the resource. Uid *string `locationName:"uid" type:"string"` // The version of the resource. Resources are created at version 1, and this // version is incremented each time they are updated. Version *int64 `locationName:"version" type:"long"` // contains filtered or unexported fields }
An object representing metadata for a resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ResourceMetadata
func (ResourceMetadata) GoString ¶
func (s ResourceMetadata) GoString() string
GoString returns the string representation
func (ResourceMetadata) MarshalFields ¶
func (s ResourceMetadata) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResourceMetadata) String ¶
func (s ResourceMetadata) String() string
String returns the string representation
type RouteData ¶
type RouteData struct { // The name of the service mesh in which the route resides. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the route. Metadata *ResourceMetadata `locationName:"metadata" type:"structure"` // The name of the route. // // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // The specifications of the route. Spec *RouteSpec `locationName:"spec" type:"structure"` // The status of the route. Status *RouteStatus `locationName:"status" type:"structure"` // The virtual router with which the route is associated. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a route returned by a describe operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/RouteData
func (RouteData) MarshalFields ¶
func (s RouteData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type RouteRef ¶
type RouteRef struct { // The full Amazon Resource Name (ARN) for the route. Arn *string `locationName:"arn" type:"string"` // The name of the service mesh in which the route resides. MeshName *string `locationName:"meshName" min:"1" type:"string"` // The name of the route. RouteName *string `locationName:"routeName" min:"1" type:"string"` // The virtual router with which the route is associated. VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string"` // contains filtered or unexported fields }
An object representing a route returned by a list operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/RouteRef
func (RouteRef) MarshalFields ¶
func (s RouteRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type RouteSpec ¶
type RouteSpec struct { // The HTTP routing information for the route. HttpRoute *HttpRoute `locationName:"httpRoute" type:"structure"` // contains filtered or unexported fields }
An object representing the specification of a route. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/RouteSpec
func (RouteSpec) MarshalFields ¶
func (s RouteSpec) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type RouteStatus ¶
type RouteStatus struct { // The current status for the route. Status RouteStatusCode `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
An object representing the current status of a route. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/RouteStatus
func (RouteStatus) GoString ¶
func (s RouteStatus) GoString() string
GoString returns the string representation
func (RouteStatus) MarshalFields ¶
func (s RouteStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RouteStatus) String ¶
func (s RouteStatus) String() string
String returns the string representation
type RouteStatusCode ¶
type RouteStatusCode string
const ( RouteStatusCodeActive RouteStatusCode = "ACTIVE" RouteStatusCodeDeleted RouteStatusCode = "DELETED" RouteStatusCodeInactive RouteStatusCode = "INACTIVE" )
Enum values for RouteStatusCode
func (RouteStatusCode) MarshalValue ¶
func (enum RouteStatusCode) MarshalValue() (string, error)
func (RouteStatusCode) MarshalValueBuf ¶
func (enum RouteStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type ServiceDiscovery ¶
type ServiceDiscovery struct { // Specifies the DNS service name for the virtual node. Dns *DnsServiceDiscovery `locationName:"dns" type:"structure"` // contains filtered or unexported fields }
An object representing the service discovery information for a virtual node. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/ServiceDiscovery
func (ServiceDiscovery) GoString ¶
func (s ServiceDiscovery) GoString() string
GoString returns the string representation
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
type UpdateRouteInput ¶
type UpdateRouteInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh in which the route resides. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route to update. // // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // The new route specification to apply. This overwrites the existing data. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual router with which the route is associated. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/UpdateRouteInput
func (UpdateRouteInput) GoString ¶
func (s UpdateRouteInput) GoString() string
GoString returns the string representation
func (UpdateRouteInput) MarshalFields ¶
func (s UpdateRouteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateRouteInput) String ¶
func (s UpdateRouteInput) String() string
String returns the string representation
func (*UpdateRouteInput) Validate ¶
func (s *UpdateRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateRouteOutput ¶
type UpdateRouteOutput struct { // A full description of the route that was updated. Route *RouteData `locationName:"route" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/UpdateRouteOutput
func (UpdateRouteOutput) GoString ¶
func (s UpdateRouteOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s UpdateRouteOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateRoute API operation.
func (UpdateRouteRequest) Send ¶
func (r UpdateRouteRequest) Send() (*UpdateRouteOutput, error)
Send marshals and sends the UpdateRoute API request.
type UpdateVirtualNodeInput ¶
type UpdateVirtualNodeInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh in which the virtual node resides. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The new virtual node specification to apply. This overwrites the existing // data. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual node to update. // // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/UpdateVirtualNodeInput
func (UpdateVirtualNodeInput) GoString ¶
func (s UpdateVirtualNodeInput) GoString() string
GoString returns the string representation
func (UpdateVirtualNodeInput) MarshalFields ¶
func (s UpdateVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateVirtualNodeInput) String ¶
func (s UpdateVirtualNodeInput) String() string
String returns the string representation
func (*UpdateVirtualNodeInput) Validate ¶
func (s *UpdateVirtualNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateVirtualNodeOutput ¶
type UpdateVirtualNodeOutput struct { // A full description of the virtual node that was updated. VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/UpdateVirtualNodeOutput
func (UpdateVirtualNodeOutput) GoString ¶
func (s UpdateVirtualNodeOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s UpdateVirtualNodeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateVirtualNode API operation.
func (UpdateVirtualNodeRequest) Send ¶
func (r UpdateVirtualNodeRequest) Send() (*UpdateVirtualNodeOutput, error)
Send marshals and sends the UpdateVirtualNode API request.
type UpdateVirtualRouterInput ¶
type UpdateVirtualRouterInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh in which the virtual router resides. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The new virtual router specification to apply. This overwrites the existing // data. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual router to update. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/UpdateVirtualRouterInput
func (UpdateVirtualRouterInput) GoString ¶
func (s UpdateVirtualRouterInput) GoString() string
GoString returns the string representation
func (UpdateVirtualRouterInput) MarshalFields ¶
func (s UpdateVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateVirtualRouterInput) String ¶
func (s UpdateVirtualRouterInput) String() string
String returns the string representation
func (*UpdateVirtualRouterInput) Validate ¶
func (s *UpdateVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateVirtualRouterOutput ¶
type UpdateVirtualRouterOutput struct { // A full description of the virtual router that was updated. VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/UpdateVirtualRouterOutput
func (UpdateVirtualRouterOutput) GoString ¶
func (s UpdateVirtualRouterOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s UpdateVirtualRouterOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the UpdateVirtualRouter API operation.
func (UpdateVirtualRouterRequest) Send ¶
func (r UpdateVirtualRouterRequest) Send() (*UpdateVirtualRouterOutput, error)
Send marshals and sends the UpdateVirtualRouter API request.
type VirtualNodeData ¶
type VirtualNodeData struct { // The name of the service mesh in which the virtual node resides. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the virtual node. Metadata *ResourceMetadata `locationName:"metadata" type:"structure"` // The specifications of the virtual node. Spec *VirtualNodeSpec `locationName:"spec" type:"structure"` // The current status for the virtual node. Status *VirtualNodeStatus `locationName:"status" type:"structure"` // The name of the virtual node. // // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual node returned by a describe operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/VirtualNodeData
func (VirtualNodeData) GoString ¶
func (s VirtualNodeData) GoString() string
GoString returns the string representation
func (VirtualNodeData) MarshalFields ¶
func (s VirtualNodeData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeData) String ¶
func (s VirtualNodeData) String() string
String returns the string representation
type VirtualNodeRef ¶
type VirtualNodeRef struct { // The full Amazon Resource Name (ARN) for the virtual node. Arn *string `locationName:"arn" type:"string"` // The name of the service mesh in which the virtual node resides. MeshName *string `locationName:"meshName" min:"1" type:"string"` // The name of the virtual node. VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string"` // contains filtered or unexported fields }
An object representing a virtual node returned by a list operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/VirtualNodeRef
func (VirtualNodeRef) GoString ¶
func (s VirtualNodeRef) GoString() string
GoString returns the string representation
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 VirtualNodeSpec ¶
type VirtualNodeSpec struct { // The backends to which the virtual node is expected to send outbound traffic. Backends []string `locationName:"backends" type:"list"` // The listeners from which the virtual node is expected to receive inbound // traffic. Listeners []Listener `locationName:"listeners" type:"list"` // The service discovery information for the virtual node. ServiceDiscovery *ServiceDiscovery `locationName:"serviceDiscovery" type:"structure"` // contains filtered or unexported fields }
An object representing the specification of a virtual node. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/VirtualNodeSpec
func (VirtualNodeSpec) GoString ¶
func (s VirtualNodeSpec) GoString() string
GoString returns the string representation
func (VirtualNodeSpec) MarshalFields ¶
func (s VirtualNodeSpec) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeSpec) String ¶
func (s VirtualNodeSpec) String() string
String returns the string representation
func (*VirtualNodeSpec) Validate ¶
func (s *VirtualNodeSpec) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualNodeStatus ¶
type VirtualNodeStatus struct { // The current status of the virtual node. Status VirtualNodeStatusCode `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
An object representing the current status of the virtual node. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/VirtualNodeStatus
func (VirtualNodeStatus) GoString ¶
func (s VirtualNodeStatus) GoString() string
GoString returns the string representation
func (VirtualNodeStatus) MarshalFields ¶
func (s VirtualNodeStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeStatus) String ¶
func (s VirtualNodeStatus) String() string
String returns the string representation
type VirtualNodeStatusCode ¶
type VirtualNodeStatusCode string
const ( VirtualNodeStatusCodeActive VirtualNodeStatusCode = "ACTIVE" VirtualNodeStatusCodeDeleted VirtualNodeStatusCode = "DELETED" VirtualNodeStatusCodeInactive VirtualNodeStatusCode = "INACTIVE" )
Enum values for VirtualNodeStatusCode
func (VirtualNodeStatusCode) MarshalValue ¶
func (enum VirtualNodeStatusCode) MarshalValue() (string, error)
func (VirtualNodeStatusCode) MarshalValueBuf ¶
func (enum VirtualNodeStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type VirtualRouterData ¶
type VirtualRouterData struct { // The name of the service mesh in which the virtual router resides. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the virtual router. Metadata *ResourceMetadata `locationName:"metadata" type:"structure"` // The specifications of the virtual router. Spec *VirtualRouterSpec `locationName:"spec" type:"structure"` // The current status of the virtual router. Status *VirtualRouterStatus `locationName:"status" type:"structure"` // The name of the virtual router. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual router returned by a describe operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/VirtualRouterData
func (VirtualRouterData) GoString ¶
func (s VirtualRouterData) GoString() string
GoString returns the string representation
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 VirtualRouterRef ¶
type VirtualRouterRef struct { // The full Amazon Resource Name (ARN) for the virtual router. Arn *string `locationName:"arn" type:"string"` // The name of the service mesh in which the virtual router resides. MeshName *string `locationName:"meshName" min:"1" type:"string"` // The name of the virtual router. VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string"` // contains filtered or unexported fields }
An object representing a virtual router returned by a list operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/VirtualRouterRef
func (VirtualRouterRef) GoString ¶
func (s VirtualRouterRef) GoString() string
GoString returns the string representation
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 VirtualRouterSpec ¶
type VirtualRouterSpec struct { // The service mesh service names to associate with the virtual router. ServiceNames []string `locationName:"serviceNames" type:"list"` // contains filtered or unexported fields }
An object representing the specification of a virtual router. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/VirtualRouterSpec
func (VirtualRouterSpec) GoString ¶
func (s VirtualRouterSpec) GoString() string
GoString returns the string representation
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
type VirtualRouterStatus ¶
type VirtualRouterStatus struct { // The current status of the virtual router. Status VirtualRouterStatusCode `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
An object representing the status of a virtual router. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/VirtualRouterStatus
func (VirtualRouterStatus) GoString ¶
func (s VirtualRouterStatus) GoString() string
GoString returns the string representation
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 WeightedTarget ¶
type WeightedTarget struct { // The virtual node to associate with the weighted target. VirtualNode *string `locationName:"virtualNode" min:"1" type:"string"` // The relative weight of the weighted target. Weight *int64 `locationName:"weight" type:"integer"` // contains filtered or unexported fields }
An object representing a target and its relative weight. Traffic is distributed across targets according to their relative weight. For example, a weighted target with a relative weight of 50 receives five times as much traffic as one with a relative weight of 10. Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/WeightedTarget
func (WeightedTarget) GoString ¶
func (s WeightedTarget) GoString() string
GoString returns the string representation
func (WeightedTarget) MarshalFields ¶
func (s WeightedTarget) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (WeightedTarget) String ¶
func (s WeightedTarget) String() string
String returns the string representation
func (*WeightedTarget) Validate ¶
func (s *WeightedTarget) Validate() error
Validate inspects the fields of the type to determine if they are valid.
Directories ¶
Path | Synopsis |
---|---|
Package appmeshiface provides an interface to enable mocking the AWS App Mesh service client for testing your code.
|
Package appmeshiface provides an interface to enable mocking the AWS App Mesh service client for testing your code. |