package appmesh
import "github.com/aws/aws-sdk-go-v2/service/appmesh"
Package appmesh provides the client and types for making API requests to AWS App Mesh.
AWS App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor and control microservices. App Mesh standardizes how your microservices communicate, giving you end-to-end visibility and helping to ensure high availability for your applications.
App Mesh gives you consistent visibility and network traffic controls for every microservice in an application. You can use App Mesh with AWS Fargate, Amazon ECS, Amazon EKS, Kubernetes on AWS, and Amazon EC2.
App Mesh supports microservice applications that use service discovery naming for their components. For more information about service discovery on Amazon ECS, see Service Discovery (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html) in the Amazon Elastic Container Service Developer Guide. Kubernetes kube-dns and coredns are supported. For more information, see DNS for Services and Pods (https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/) in the Kubernetes documentation.
See https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25 for more information on this service.
See appmesh package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/appmesh/
Using the Client
To use AWS App Mesh with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS App Mesh client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/appmesh/#New
Index ΒΆ
- Constants
- type AccessLog
- func (s AccessLog) MarshalFields(e protocol.FieldEncoder) error
- func (s AccessLog) String() string
- func (s *AccessLog) Validate() error
- type AwsCloudMapInstanceAttribute
- func (s AwsCloudMapInstanceAttribute) MarshalFields(e protocol.FieldEncoder) error
- func (s AwsCloudMapInstanceAttribute) String() string
- func (s *AwsCloudMapInstanceAttribute) Validate() error
- type AwsCloudMapServiceDiscovery
- func (s AwsCloudMapServiceDiscovery) MarshalFields(e protocol.FieldEncoder) error
- func (s AwsCloudMapServiceDiscovery) String() string
- func (s *AwsCloudMapServiceDiscovery) Validate() error
- type Backend
- func (s Backend) MarshalFields(e protocol.FieldEncoder) error
- func (s Backend) String() string
- func (s *Backend) Validate() error
- type Client
- func New(config aws.Config) *Client
- func (c *Client) CreateMeshRequest(input *CreateMeshInput) CreateMeshRequest
- func (c *Client) CreateRouteRequest(input *CreateRouteInput) CreateRouteRequest
- func (c *Client) CreateVirtualNodeRequest(input *CreateVirtualNodeInput) CreateVirtualNodeRequest
- func (c *Client) CreateVirtualRouterRequest(input *CreateVirtualRouterInput) CreateVirtualRouterRequest
- func (c *Client) CreateVirtualServiceRequest(input *CreateVirtualServiceInput) CreateVirtualServiceRequest
- func (c *Client) DeleteMeshRequest(input *DeleteMeshInput) DeleteMeshRequest
- func (c *Client) DeleteRouteRequest(input *DeleteRouteInput) DeleteRouteRequest
- func (c *Client) DeleteVirtualNodeRequest(input *DeleteVirtualNodeInput) DeleteVirtualNodeRequest
- func (c *Client) DeleteVirtualRouterRequest(input *DeleteVirtualRouterInput) DeleteVirtualRouterRequest
- func (c *Client) DeleteVirtualServiceRequest(input *DeleteVirtualServiceInput) DeleteVirtualServiceRequest
- func (c *Client) DescribeMeshRequest(input *DescribeMeshInput) DescribeMeshRequest
- func (c *Client) DescribeRouteRequest(input *DescribeRouteInput) DescribeRouteRequest
- func (c *Client) DescribeVirtualNodeRequest(input *DescribeVirtualNodeInput) DescribeVirtualNodeRequest
- func (c *Client) DescribeVirtualRouterRequest(input *DescribeVirtualRouterInput) DescribeVirtualRouterRequest
- func (c *Client) DescribeVirtualServiceRequest(input *DescribeVirtualServiceInput) DescribeVirtualServiceRequest
- func (c *Client) ListMeshesRequest(input *ListMeshesInput) ListMeshesRequest
- func (c *Client) ListRoutesRequest(input *ListRoutesInput) ListRoutesRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) ListVirtualNodesRequest(input *ListVirtualNodesInput) ListVirtualNodesRequest
- func (c *Client) ListVirtualRoutersRequest(input *ListVirtualRoutersInput) ListVirtualRoutersRequest
- func (c *Client) ListVirtualServicesRequest(input *ListVirtualServicesInput) ListVirtualServicesRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UpdateMeshRequest(input *UpdateMeshInput) UpdateMeshRequest
- func (c *Client) UpdateRouteRequest(input *UpdateRouteInput) UpdateRouteRequest
- func (c *Client) UpdateVirtualNodeRequest(input *UpdateVirtualNodeInput) UpdateVirtualNodeRequest
- func (c *Client) UpdateVirtualRouterRequest(input *UpdateVirtualRouterInput) UpdateVirtualRouterRequest
- func (c *Client) UpdateVirtualServiceRequest(input *UpdateVirtualServiceInput) UpdateVirtualServiceRequest
- type CreateMeshInput
- func (s CreateMeshInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateMeshInput) String() string
- func (s *CreateMeshInput) Validate() error
- type CreateMeshOutput
- func (s CreateMeshOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateMeshOutput) String() string
- type CreateMeshRequest
- type CreateMeshResponse
- type CreateRouteInput
- func (s CreateRouteInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateRouteInput) String() string
- func (s *CreateRouteInput) Validate() error
- type CreateRouteOutput
- func (s CreateRouteOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateRouteOutput) String() string
- type CreateRouteRequest
- type CreateRouteResponse
- type CreateVirtualNodeInput
- func (s CreateVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateVirtualNodeInput) String() string
- func (s *CreateVirtualNodeInput) Validate() error
- type CreateVirtualNodeOutput
- func (s CreateVirtualNodeOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateVirtualNodeOutput) String() string
- type CreateVirtualNodeRequest
- type CreateVirtualNodeResponse
- type CreateVirtualRouterInput
- func (s CreateVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateVirtualRouterInput) String() string
- func (s *CreateVirtualRouterInput) Validate() error
- type CreateVirtualRouterOutput
- func (s CreateVirtualRouterOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateVirtualRouterOutput) String() string
- type CreateVirtualRouterRequest
- type CreateVirtualRouterResponse
- type CreateVirtualServiceInput
- func (s CreateVirtualServiceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateVirtualServiceInput) String() string
- func (s *CreateVirtualServiceInput) Validate() error
- type CreateVirtualServiceOutput
- func (s CreateVirtualServiceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateVirtualServiceOutput) String() string
- type CreateVirtualServiceRequest
- type CreateVirtualServiceResponse
- type DeleteMeshInput
- func (s DeleteMeshInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteMeshInput) String() string
- func (s *DeleteMeshInput) Validate() error
- type DeleteMeshOutput
- func (s DeleteMeshOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteMeshOutput) String() string
- type DeleteMeshRequest
- type DeleteMeshResponse
- type DeleteRouteInput
- func (s DeleteRouteInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteRouteInput) String() string
- func (s *DeleteRouteInput) Validate() error
- type DeleteRouteOutput
- func (s DeleteRouteOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteRouteOutput) String() string
- type DeleteRouteRequest
- type DeleteRouteResponse
- type DeleteVirtualNodeInput
- func (s DeleteVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteVirtualNodeInput) String() string
- func (s *DeleteVirtualNodeInput) Validate() error
- type DeleteVirtualNodeOutput
- func (s DeleteVirtualNodeOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteVirtualNodeOutput) String() string
- type DeleteVirtualNodeRequest
- type DeleteVirtualNodeResponse
- type DeleteVirtualRouterInput
- func (s DeleteVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteVirtualRouterInput) String() string
- func (s *DeleteVirtualRouterInput) Validate() error
- type DeleteVirtualRouterOutput
- func (s DeleteVirtualRouterOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteVirtualRouterOutput) String() string
- type DeleteVirtualRouterRequest
- type DeleteVirtualRouterResponse
- type DeleteVirtualServiceInput
- func (s DeleteVirtualServiceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteVirtualServiceInput) String() string
- func (s *DeleteVirtualServiceInput) Validate() error
- type DeleteVirtualServiceOutput
- func (s DeleteVirtualServiceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteVirtualServiceOutput) String() string
- type DeleteVirtualServiceRequest
- type DeleteVirtualServiceResponse
- type DescribeMeshInput
- func (s DescribeMeshInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeMeshInput) String() string
- func (s *DescribeMeshInput) Validate() error
- type DescribeMeshOutput
- func (s DescribeMeshOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeMeshOutput) String() string
- type DescribeMeshRequest
- type DescribeMeshResponse
- type DescribeRouteInput
- func (s DescribeRouteInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeRouteInput) String() string
- func (s *DescribeRouteInput) Validate() error
- type DescribeRouteOutput
- func (s DescribeRouteOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeRouteOutput) String() string
- type DescribeRouteRequest
- type DescribeRouteResponse
- type DescribeVirtualNodeInput
- func (s DescribeVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeVirtualNodeInput) String() string
- func (s *DescribeVirtualNodeInput) Validate() error
- type DescribeVirtualNodeOutput
- func (s DescribeVirtualNodeOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeVirtualNodeOutput) String() string
- type DescribeVirtualNodeRequest
- type DescribeVirtualNodeResponse
- type DescribeVirtualRouterInput
- func (s DescribeVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeVirtualRouterInput) String() string
- func (s *DescribeVirtualRouterInput) Validate() error
- type DescribeVirtualRouterOutput
- func (s DescribeVirtualRouterOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeVirtualRouterOutput) String() string
- type DescribeVirtualRouterRequest
- type DescribeVirtualRouterResponse
- type DescribeVirtualServiceInput
- func (s DescribeVirtualServiceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeVirtualServiceInput) String() string
- func (s *DescribeVirtualServiceInput) Validate() error
- type DescribeVirtualServiceOutput
- func (s DescribeVirtualServiceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeVirtualServiceOutput) String() string
- type DescribeVirtualServiceRequest
- type DescribeVirtualServiceResponse
- type DnsServiceDiscovery
- func (s DnsServiceDiscovery) MarshalFields(e protocol.FieldEncoder) error
- func (s DnsServiceDiscovery) String() string
- func (s *DnsServiceDiscovery) Validate() error
- type Duration
- type DurationUnit
- func (enum DurationUnit) MarshalValue() (string, error)
- func (enum DurationUnit) MarshalValueBuf(b []byte) ([]byte, error)
- type EgressFilter
- func (s EgressFilter) MarshalFields(e protocol.FieldEncoder) error
- func (s EgressFilter) String() string
- func (s *EgressFilter) Validate() error
- type EgressFilterType
- func (enum EgressFilterType) MarshalValue() (string, error)
- func (enum EgressFilterType) MarshalValueBuf(b []byte) ([]byte, error)
- type FileAccessLog
- func (s FileAccessLog) MarshalFields(e protocol.FieldEncoder) error
- func (s FileAccessLog) String() string
- func (s *FileAccessLog) Validate() error
- type GrpcRetryPolicy
- func (s GrpcRetryPolicy) MarshalFields(e protocol.FieldEncoder) error
- func (s GrpcRetryPolicy) String() string
- func (s *GrpcRetryPolicy) Validate() error
- type GrpcRetryPolicyEvent
- func (enum GrpcRetryPolicyEvent) MarshalValue() (string, error)
- func (enum GrpcRetryPolicyEvent) MarshalValueBuf(b []byte) ([]byte, error)
- type GrpcRoute
- func (s GrpcRoute) MarshalFields(e protocol.FieldEncoder) error
- func (s GrpcRoute) String() string
- func (s *GrpcRoute) Validate() error
- type GrpcRouteAction
- func (s GrpcRouteAction) MarshalFields(e protocol.FieldEncoder) error
- func (s GrpcRouteAction) String() string
- func (s *GrpcRouteAction) Validate() error
- type GrpcRouteMatch
- func (s GrpcRouteMatch) MarshalFields(e protocol.FieldEncoder) error
- func (s GrpcRouteMatch) String() string
- func (s *GrpcRouteMatch) Validate() error
- type GrpcRouteMetadata
- func (s GrpcRouteMetadata) MarshalFields(e protocol.FieldEncoder) error
- func (s GrpcRouteMetadata) String() string
- func (s *GrpcRouteMetadata) Validate() error
- type GrpcRouteMetadataMatchMethod
- func (s GrpcRouteMetadataMatchMethod) MarshalFields(e protocol.FieldEncoder) error
- func (s GrpcRouteMetadataMatchMethod) String() string
- func (s *GrpcRouteMetadataMatchMethod) Validate() error
- type HeaderMatchMethod
- func (s HeaderMatchMethod) MarshalFields(e protocol.FieldEncoder) error
- func (s HeaderMatchMethod) String() string
- func (s *HeaderMatchMethod) Validate() error
- type HealthCheckPolicy
- func (s HealthCheckPolicy) MarshalFields(e protocol.FieldEncoder) error
- func (s HealthCheckPolicy) String() string
- func (s *HealthCheckPolicy) Validate() error
- type HttpMethod
- func (enum HttpMethod) MarshalValue() (string, error)
- func (enum HttpMethod) MarshalValueBuf(b []byte) ([]byte, error)
- type HttpRetryPolicy
- func (s HttpRetryPolicy) MarshalFields(e protocol.FieldEncoder) error
- func (s HttpRetryPolicy) String() string
- func (s *HttpRetryPolicy) Validate() error
- type HttpRoute
- func (s HttpRoute) MarshalFields(e protocol.FieldEncoder) error
- func (s HttpRoute) String() string
- func (s *HttpRoute) Validate() error
- type HttpRouteAction
- func (s HttpRouteAction) MarshalFields(e protocol.FieldEncoder) error
- func (s HttpRouteAction) String() string
- func (s *HttpRouteAction) Validate() error
- type HttpRouteHeader
- func (s HttpRouteHeader) MarshalFields(e protocol.FieldEncoder) error
- func (s HttpRouteHeader) String() string
- func (s *HttpRouteHeader) Validate() error
- type HttpRouteMatch
- func (s HttpRouteMatch) MarshalFields(e protocol.FieldEncoder) error
- func (s HttpRouteMatch) String() string
- func (s *HttpRouteMatch) Validate() error
- type HttpScheme
- func (enum HttpScheme) MarshalValue() (string, error)
- func (enum HttpScheme) MarshalValueBuf(b []byte) ([]byte, error)
- type ListMeshesInput
- func (s ListMeshesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListMeshesInput) String() string
- func (s *ListMeshesInput) Validate() error
- type ListMeshesOutput
- func (s ListMeshesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListMeshesOutput) String() string
- type ListMeshesPaginator
- func NewListMeshesPaginator(req ListMeshesRequest) ListMeshesPaginator
- func (p *ListMeshesPaginator) CurrentPage() *ListMeshesOutput
- type ListMeshesRequest
- type ListMeshesResponse
- type ListRoutesInput
- func (s ListRoutesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListRoutesInput) String() string
- func (s *ListRoutesInput) Validate() error
- type ListRoutesOutput
- func (s ListRoutesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListRoutesOutput) String() string
- type ListRoutesPaginator
- func NewListRoutesPaginator(req ListRoutesRequest) ListRoutesPaginator
- func (p *ListRoutesPaginator) CurrentPage() *ListRoutesOutput
- type ListRoutesRequest
- type ListRoutesResponse
- type ListTagsForResourceInput
- func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForResourceInput) String() string
- func (s *ListTagsForResourceInput) Validate() error
- type ListTagsForResourceOutput
- func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForResourceOutput) String() string
- type ListTagsForResourcePaginator
- func NewListTagsForResourcePaginator(req ListTagsForResourceRequest) ListTagsForResourcePaginator
- func (p *ListTagsForResourcePaginator) CurrentPage() *ListTagsForResourceOutput
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type ListVirtualNodesInput
- func (s ListVirtualNodesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListVirtualNodesInput) String() string
- func (s *ListVirtualNodesInput) Validate() error
- type ListVirtualNodesOutput
- func (s ListVirtualNodesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListVirtualNodesOutput) String() string
- type ListVirtualNodesPaginator
- func NewListVirtualNodesPaginator(req ListVirtualNodesRequest) ListVirtualNodesPaginator
- func (p *ListVirtualNodesPaginator) CurrentPage() *ListVirtualNodesOutput
- type ListVirtualNodesRequest
- type ListVirtualNodesResponse
- type ListVirtualRoutersInput
- func (s ListVirtualRoutersInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListVirtualRoutersInput) String() string
- func (s *ListVirtualRoutersInput) Validate() error
- type ListVirtualRoutersOutput
- func (s ListVirtualRoutersOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListVirtualRoutersOutput) String() string
- type ListVirtualRoutersPaginator
- func NewListVirtualRoutersPaginator(req ListVirtualRoutersRequest) ListVirtualRoutersPaginator
- func (p *ListVirtualRoutersPaginator) CurrentPage() *ListVirtualRoutersOutput
- type ListVirtualRoutersRequest
- type ListVirtualRoutersResponse
- type ListVirtualServicesInput
- func (s ListVirtualServicesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListVirtualServicesInput) String() string
- func (s *ListVirtualServicesInput) Validate() error
- type ListVirtualServicesOutput
- func (s ListVirtualServicesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListVirtualServicesOutput) String() string
- type ListVirtualServicesPaginator
- func NewListVirtualServicesPaginator(req ListVirtualServicesRequest) ListVirtualServicesPaginator
- func (p *ListVirtualServicesPaginator) CurrentPage() *ListVirtualServicesOutput
- type ListVirtualServicesRequest
- type ListVirtualServicesResponse
- type Listener
- func (s Listener) MarshalFields(e protocol.FieldEncoder) error
- func (s Listener) String() string
- func (s *Listener) Validate() error
- type Logging
- func (s Logging) MarshalFields(e protocol.FieldEncoder) error
- func (s Logging) String() string
- func (s *Logging) Validate() error
- type MatchRange
- func (s MatchRange) MarshalFields(e protocol.FieldEncoder) error
- func (s MatchRange) String() string
- func (s *MatchRange) Validate() error
- type MeshData
- type MeshRef
- type MeshSpec
- func (s MeshSpec) MarshalFields(e protocol.FieldEncoder) error
- func (s MeshSpec) String() string
- func (s *MeshSpec) Validate() error
- type MeshStatus
- func (s MeshStatus) MarshalFields(e protocol.FieldEncoder) error
- func (s MeshStatus) String() string
- type MeshStatusCode
- func (enum MeshStatusCode) MarshalValue() (string, error)
- func (enum MeshStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
- type PortMapping
- func (s PortMapping) MarshalFields(e protocol.FieldEncoder) error
- func (s PortMapping) String() string
- func (s *PortMapping) Validate() error
- type PortProtocol
- func (enum PortProtocol) MarshalValue() (string, error)
- func (enum PortProtocol) MarshalValueBuf(b []byte) ([]byte, error)
- type ResourceMetadata
- func (s ResourceMetadata) MarshalFields(e protocol.FieldEncoder) error
- func (s ResourceMetadata) String() string
- type RouteData
- type RouteRef
- type RouteSpec
- func (s RouteSpec) MarshalFields(e protocol.FieldEncoder) error
- func (s RouteSpec) String() string
- func (s *RouteSpec) Validate() error
- type RouteStatus
- func (s RouteStatus) MarshalFields(e protocol.FieldEncoder) error
- func (s RouteStatus) String() string
- type RouteStatusCode
- func (enum RouteStatusCode) MarshalValue() (string, error)
- func (enum RouteStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
- type ServiceDiscovery
- func (s ServiceDiscovery) MarshalFields(e protocol.FieldEncoder) error
- func (s ServiceDiscovery) String() string
- func (s *ServiceDiscovery) Validate() error
- type TagRef
- func (s TagRef) MarshalFields(e protocol.FieldEncoder) error
- func (s TagRef) String() string
- func (s *TagRef) Validate() error
- type TagResourceInput
- func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceInput) String() string
- func (s *TagResourceInput) Validate() error
- type TagResourceOutput
- func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceOutput) String() string
- type TagResourceRequest
- type TagResourceResponse
- type TcpRetryPolicyEvent
- func (enum TcpRetryPolicyEvent) MarshalValue() (string, error)
- func (enum TcpRetryPolicyEvent) MarshalValueBuf(b []byte) ([]byte, error)
- type TcpRoute
- func (s TcpRoute) MarshalFields(e protocol.FieldEncoder) error
- func (s TcpRoute) String() string
- func (s *TcpRoute) Validate() error
- type TcpRouteAction
- func (s TcpRouteAction) MarshalFields(e protocol.FieldEncoder) error
- func (s TcpRouteAction) String() string
- func (s *TcpRouteAction) Validate() error
- type UntagResourceInput
- func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceInput) String() string
- func (s *UntagResourceInput) Validate() error
- type UntagResourceOutput
- func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceOutput) String() string
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateMeshInput
- func (s UpdateMeshInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateMeshInput) String() string
- func (s *UpdateMeshInput) Validate() error
- type UpdateMeshOutput
- func (s UpdateMeshOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateMeshOutput) String() string
- type UpdateMeshRequest
- type UpdateMeshResponse
- type UpdateRouteInput
- func (s UpdateRouteInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateRouteInput) String() string
- func (s *UpdateRouteInput) Validate() error
- type UpdateRouteOutput
- func (s UpdateRouteOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateRouteOutput) String() string
- type UpdateRouteRequest
- type UpdateRouteResponse
- type UpdateVirtualNodeInput
- func (s UpdateVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateVirtualNodeInput) String() string
- func (s *UpdateVirtualNodeInput) Validate() error
- type UpdateVirtualNodeOutput
- func (s UpdateVirtualNodeOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateVirtualNodeOutput) String() string
- type UpdateVirtualNodeRequest
- type UpdateVirtualNodeResponse
- type UpdateVirtualRouterInput
- func (s UpdateVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateVirtualRouterInput) String() string
- func (s *UpdateVirtualRouterInput) Validate() error
- type UpdateVirtualRouterOutput
- func (s UpdateVirtualRouterOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateVirtualRouterOutput) String() string
- type UpdateVirtualRouterRequest
- type UpdateVirtualRouterResponse
- type UpdateVirtualServiceInput
- func (s UpdateVirtualServiceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateVirtualServiceInput) String() string
- func (s *UpdateVirtualServiceInput) Validate() error
- type UpdateVirtualServiceOutput
- func (s UpdateVirtualServiceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateVirtualServiceOutput) String() string
- type UpdateVirtualServiceRequest
- type UpdateVirtualServiceResponse
- type VirtualNodeData
- func (s VirtualNodeData) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualNodeData) String() string
- type VirtualNodeRef
- func (s VirtualNodeRef) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualNodeRef) String() string
- type VirtualNodeServiceProvider
- func (s VirtualNodeServiceProvider) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualNodeServiceProvider) String() string
- func (s *VirtualNodeServiceProvider) Validate() error
- type VirtualNodeSpec
- func (s VirtualNodeSpec) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualNodeSpec) String() string
- func (s *VirtualNodeSpec) Validate() error
- type VirtualNodeStatus
- func (s VirtualNodeStatus) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualNodeStatus) String() string
- type VirtualNodeStatusCode
- func (enum VirtualNodeStatusCode) MarshalValue() (string, error)
- func (enum VirtualNodeStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
- type VirtualRouterData
- func (s VirtualRouterData) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualRouterData) String() string
- type VirtualRouterListener
- func (s VirtualRouterListener) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualRouterListener) String() string
- func (s *VirtualRouterListener) Validate() error
- type VirtualRouterRef
- func (s VirtualRouterRef) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualRouterRef) String() string
- type VirtualRouterServiceProvider
- func (s VirtualRouterServiceProvider) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualRouterServiceProvider) String() string
- func (s *VirtualRouterServiceProvider) Validate() error
- type VirtualRouterSpec
- func (s VirtualRouterSpec) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualRouterSpec) String() string
- func (s *VirtualRouterSpec) Validate() error
- type VirtualRouterStatus
- func (s VirtualRouterStatus) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualRouterStatus) String() string
- type VirtualRouterStatusCode
- func (enum VirtualRouterStatusCode) MarshalValue() (string, error)
- func (enum VirtualRouterStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
- type VirtualServiceBackend
- func (s VirtualServiceBackend) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualServiceBackend) String() string
- func (s *VirtualServiceBackend) Validate() error
- type VirtualServiceData
- func (s VirtualServiceData) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualServiceData) String() string
- type VirtualServiceProvider
- func (s VirtualServiceProvider) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualServiceProvider) String() string
- func (s *VirtualServiceProvider) Validate() error
- type VirtualServiceRef
- func (s VirtualServiceRef) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualServiceRef) String() string
- type VirtualServiceSpec
- func (s VirtualServiceSpec) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualServiceSpec) String() string
- func (s *VirtualServiceSpec) Validate() error
- type VirtualServiceStatus
- func (s VirtualServiceStatus) MarshalFields(e protocol.FieldEncoder) error
- func (s VirtualServiceStatus) String() string
- type VirtualServiceStatusCode
- func (enum VirtualServiceStatusCode) MarshalValue() (string, error)
- func (enum VirtualServiceStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
- type WeightedTarget
Constants ΒΆ
const ( ServiceName = "AWS App Mesh" // Service's name ServiceID = "AppMesh" // Service's identifier EndpointsID = "appmesh" // Service's Endpoint identifier )
const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // // The request syntax was malformed. Check your request syntax and try again. ErrCodeBadRequestException = "BadRequestException" // ErrCodeConflictException for service response error code // "ConflictException". // // The request contains a client token that was used for a previous update resource // call with different specifications. Try the request again with a new client // token. ErrCodeConflictException = "ConflictException" // ErrCodeForbiddenException for service response error code // "ForbiddenException". // // You don't have permissions to perform this action. ErrCodeForbiddenException = "ForbiddenException" // ErrCodeInternalServerErrorException for service response error code // "InternalServerErrorException". // // The request processing has failed because of an unknown error, exception, // or failure. ErrCodeInternalServerErrorException = "InternalServerErrorException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // You have exceeded a service limit for your account. For more information, // see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) // in the AWS App Mesh User Guide. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeNotFoundException for service response error code // "NotFoundException". // // The specified resource doesn't exist. Check your request syntax and try again. ErrCodeNotFoundException = "NotFoundException" // ErrCodeResourceInUseException for service response error code // "ResourceInUseException". // // You can't delete the specified resource because it's in use or required by // another resource. ErrCodeResourceInUseException = "ResourceInUseException" // ErrCodeServiceUnavailableException for service response error code // "ServiceUnavailableException". // // The request has failed due to a temporary failure of the service. = "ServiceUnavailableException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". // // The maximum request rate permitted by the App Mesh APIs has been exceeded // for your account. For best results, use an increasing or variable sleep interval // between requests. ErrCodeTooManyRequestsException = "TooManyRequestsException" // ErrCodeTooManyTagsException for service response error code // "TooManyTagsException". // // The request exceeds the maximum allowed number of tags allowed per resource. // The current limit is 50 user tags per resource. You must reduce the number // of tags in the request. None of the tags in this request were applied. ErrCodeTooManyTagsException = "TooManyTagsException" )
Types ΒΆ
type AccessLog ΒΆ
type AccessLog struct { // An object that represents an access log file. File *FileAccessLog `locationName:"file" type:"structure"` // contains filtered or unexported fields }
An object that represents the access logging information for a virtual node.
func (AccessLog) MarshalFields ΒΆ
func (s AccessLog) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AccessLog) String ΒΆ
String returns the string representation
func (*AccessLog) Validate ΒΆ
Validate inspects the fields of the type to determine if they are valid.
type AwsCloudMapInstanceAttribute ΒΆ
type AwsCloudMapInstanceAttribute struct { // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // Value is a required field Value *string `locationName:"value" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents the AWS Cloud Map attribute information for your virtual node.
func (AwsCloudMapInstanceAttribute) MarshalFields ΒΆ
func (s AwsCloudMapInstanceAttribute) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AwsCloudMapInstanceAttribute) String ΒΆ
func (s AwsCloudMapInstanceAttribute) String() string
String returns the string representation
func (*AwsCloudMapInstanceAttribute) Validate ΒΆ
func (s *AwsCloudMapInstanceAttribute) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AwsCloudMapServiceDiscovery ΒΆ
type AwsCloudMapServiceDiscovery struct { Attributes []AwsCloudMapInstanceAttribute `locationName:"attributes" type:"list"` // NamespaceName is a required field NamespaceName *string `locationName:"namespaceName" min:"1" type:"string" required:"true"` // ServiceName is a required field ServiceName *string `locationName:"serviceName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents the AWS Cloud Map service discovery information for your virtual node.
func (AwsCloudMapServiceDiscovery) MarshalFields ΒΆ
func (s AwsCloudMapServiceDiscovery) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AwsCloudMapServiceDiscovery) String ΒΆ
func (s AwsCloudMapServiceDiscovery) String() string
String returns the string representation
func (*AwsCloudMapServiceDiscovery) Validate ΒΆ
func (s *AwsCloudMapServiceDiscovery) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Backend ΒΆ
type Backend struct { // An object that represents a virtual service backend for a virtual node. VirtualService *VirtualServiceBackend `locationName:"virtualService" type:"structure"` // contains filtered or unexported fields }
An object that represents the backends that a virtual node is expected to send outbound traffic to.
func (Backend) MarshalFields ΒΆ
func (s Backend) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Backend) String ΒΆ
String returns the string representation
func (*Backend) Validate ΒΆ
Validate inspects the fields of the type to determine if they are valid.
type Client ΒΆ
Client provides the API operation methods for making requests to AWS App Mesh. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ΒΆ
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := appmesh.New(myConfig)
func (*Client) CreateMeshRequest ΒΆ
func (c *Client) CreateMeshRequest(input *CreateMeshInput) CreateMeshRequest
CreateMeshRequest returns a request value for making API operation for AWS App Mesh.
Creates a service mesh. A service mesh is a logical boundary for network traffic between the services that reside within it.
After you create your service mesh, you can create virtual services, virtual nodes, virtual routers, and routes to distribute traffic between the applications in your mesh.
// Example sending a request using CreateMeshRequest. req := client.CreateMeshRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh
func (*Client) CreateRouteRequest ΒΆ
func (c *Client) CreateRouteRequest(input *CreateRouteInput) CreateRouteRequest
CreateRouteRequest returns a request value for making API operation for AWS App Mesh.
Creates a route that is associated with a virtual router.
You can use the prefix parameter in your route specification for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.
If your route matches a request, you can distribute traffic to one or more target virtual nodes with relative weighting.
// Example sending a request using CreateRouteRequest. req := client.CreateRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute
func (*Client) CreateVirtualNodeRequest ΒΆ
func (c *Client) CreateVirtualNodeRequest(input *CreateVirtualNodeInput) CreateVirtualNodeRequest
CreateVirtualNodeRequest returns a request value for making API operation for AWS App Mesh.
Creates a virtual node within a service mesh.
A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS service or a Kubernetes deployment. When you create a virtual node, you can specify the service discovery information for your task group.
Any inbound traffic that your virtual node expects should be specified as a listener. Any outbound traffic that your virtual node expects to reach should be specified as a backend.
The response metadata for your new virtual node contains the arn that is associated with the virtual node. Set this value (either the full ARN or the truncated resource name: for example, mesh/default/virtualNode/simpleapp) as the APPMESH_VIRTUAL_NODE_NAME environment variable for your task group's Envoy proxy container in your task definition or pod spec. This is then mapped to the node.id and node.cluster Envoy parameters.
If you require your Envoy stats or tracing to use a different name, you can override the node.cluster value that is set by APPMESH_VIRTUAL_NODE_NAME with the APPMESH_VIRTUAL_NODE_CLUSTER environment variable.
// Example sending a request using CreateVirtualNodeRequest. req := client.CreateVirtualNodeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode
func (*Client) CreateVirtualRouterRequest ΒΆ
func (c *Client) CreateVirtualRouterRequest(input *CreateVirtualRouterInput) CreateVirtualRouterRequest
CreateVirtualRouterRequest returns a request value for making API operation for AWS App Mesh.
Creates a virtual router within a service mesh.
Any inbound traffic that your virtual router expects should be specified as a listener.
Virtual routers handle traffic for one or more virtual services within your mesh. After you create your virtual router, create and associate routes for your virtual router that direct incoming requests to different virtual nodes.
// Example sending a request using CreateVirtualRouterRequest. req := client.CreateVirtualRouterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter
func (*Client) CreateVirtualServiceRequest ΒΆ
func (c *Client) CreateVirtualServiceRequest(input *CreateVirtualServiceInput) CreateVirtualServiceRequest
CreateVirtualServiceRequest returns a request value for making API operation for AWS App Mesh.
Creates a virtual service within a service mesh.
A virtual service is an abstraction of a real service that is provided by a virtual node directly or indirectly by means of a virtual router. Dependent services call your virtual service by its virtualServiceName, and those requests are routed to the virtual node or virtual router that is specified as the provider for the virtual service.
// Example sending a request using CreateVirtualServiceRequest. req := client.CreateVirtualServiceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService
func (*Client) DeleteMeshRequest ΒΆ
func (c *Client) DeleteMeshRequest(input *DeleteMeshInput) DeleteMeshRequest
DeleteMeshRequest returns a request value for making API operation for AWS App Mesh.
Deletes an existing service mesh.
You must delete all resources (virtual services, routes, virtual routers, and virtual nodes) in the service mesh before you can delete the mesh itself.
// Example sending a request using DeleteMeshRequest. req := client.DeleteMeshRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh
func (*Client) DeleteRouteRequest ΒΆ
func (c *Client) DeleteRouteRequest(input *DeleteRouteInput) DeleteRouteRequest
DeleteRouteRequest returns a request value for making API operation for AWS App Mesh.
Deletes an existing route.
// Example sending a request using DeleteRouteRequest. req := client.DeleteRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute
func (*Client) DeleteVirtualNodeRequest ΒΆ
func (c *Client) DeleteVirtualNodeRequest(input *DeleteVirtualNodeInput) DeleteVirtualNodeRequest
DeleteVirtualNodeRequest returns a request value for making API operation for AWS App Mesh.
Deletes an existing virtual node.
You must delete any virtual services that list a virtual node as a service provider before you can delete the virtual node itself.
// Example sending a request using DeleteVirtualNodeRequest. req := client.DeleteVirtualNodeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode
func (*Client) DeleteVirtualRouterRequest ΒΆ
func (c *Client) DeleteVirtualRouterRequest(input *DeleteVirtualRouterInput) DeleteVirtualRouterRequest
DeleteVirtualRouterRequest returns a request value for making API operation for AWS App Mesh.
Deletes an existing virtual router.
You must delete any routes associated with the virtual router before you can delete the router itself.
// Example sending a request using DeleteVirtualRouterRequest. req := client.DeleteVirtualRouterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter
func (*Client) DeleteVirtualServiceRequest ΒΆ
func (c *Client) DeleteVirtualServiceRequest(input *DeleteVirtualServiceInput) DeleteVirtualServiceRequest
DeleteVirtualServiceRequest returns a request value for making API operation for AWS App Mesh.
Deletes an existing virtual service.
// Example sending a request using DeleteVirtualServiceRequest. req := client.DeleteVirtualServiceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService
func (*Client) DescribeMeshRequest ΒΆ
func (c *Client) DescribeMeshRequest(input *DescribeMeshInput) DescribeMeshRequest
DescribeMeshRequest returns a request value for making API operation for AWS App Mesh.
Describes an existing service mesh.
// Example sending a request using DescribeMeshRequest. req := client.DescribeMeshRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh
func (*Client) DescribeRouteRequest ΒΆ
func (c *Client) DescribeRouteRequest(input *DescribeRouteInput) DescribeRouteRequest
DescribeRouteRequest returns a request value for making API operation for AWS App Mesh.
Describes an existing route.
// Example sending a request using DescribeRouteRequest. req := client.DescribeRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute
func (*Client) DescribeVirtualNodeRequest ΒΆ
func (c *Client) DescribeVirtualNodeRequest(input *DescribeVirtualNodeInput) DescribeVirtualNodeRequest
DescribeVirtualNodeRequest returns a request value for making API operation for AWS App Mesh.
Describes an existing virtual node.
// Example sending a request using DescribeVirtualNodeRequest. req := client.DescribeVirtualNodeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode
func (*Client) DescribeVirtualRouterRequest ΒΆ
func (c *Client) DescribeVirtualRouterRequest(input *DescribeVirtualRouterInput) DescribeVirtualRouterRequest
DescribeVirtualRouterRequest returns a request value for making API operation for AWS App Mesh.
Describes an existing virtual router.
// Example sending a request using DescribeVirtualRouterRequest. req := client.DescribeVirtualRouterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter
func (*Client) DescribeVirtualServiceRequest ΒΆ
func (c *Client) DescribeVirtualServiceRequest(input *DescribeVirtualServiceInput) DescribeVirtualServiceRequest
DescribeVirtualServiceRequest returns a request value for making API operation for AWS App Mesh.
Describes an existing virtual service.
// Example sending a request using DescribeVirtualServiceRequest. req := client.DescribeVirtualServiceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService
func (*Client) ListMeshesRequest ΒΆ
func (c *Client) ListMeshesRequest(input *ListMeshesInput) ListMeshesRequest
ListMeshesRequest returns a request value for making API operation for AWS App Mesh.
Returns a list of existing service meshes.
// Example sending a request using ListMeshesRequest. req := client.ListMeshesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes
func (*Client) ListRoutesRequest ΒΆ
func (c *Client) ListRoutesRequest(input *ListRoutesInput) ListRoutesRequest
ListRoutesRequest returns a request value for making API operation for AWS App Mesh.
Returns a list of existing routes in a service mesh.
// Example sending a request using ListRoutesRequest. req := client.ListRoutesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes
func (*Client) ListTagsForResourceRequest ΒΆ
func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for AWS App Mesh.
List the tags for an App Mesh resource.
// Example sending a request using ListTagsForResourceRequest. req := client.ListTagsForResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource
func (*Client) ListVirtualNodesRequest ΒΆ
func (c *Client) ListVirtualNodesRequest(input *ListVirtualNodesInput) ListVirtualNodesRequest
ListVirtualNodesRequest returns a request value for making API operation for AWS App Mesh.
Returns a list of existing virtual nodes.
// Example sending a request using ListVirtualNodesRequest. req := client.ListVirtualNodesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes
func (*Client) ListVirtualRoutersRequest ΒΆ
func (c *Client) ListVirtualRoutersRequest(input *ListVirtualRoutersInput) ListVirtualRoutersRequest
ListVirtualRoutersRequest returns a request value for making API operation for AWS App Mesh.
Returns a list of existing virtual routers in a service mesh.
// Example sending a request using ListVirtualRoutersRequest. req := client.ListVirtualRoutersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters
func (*Client) ListVirtualServicesRequest ΒΆ
func (c *Client) ListVirtualServicesRequest(input *ListVirtualServicesInput) ListVirtualServicesRequest
ListVirtualServicesRequest returns a request value for making API operation for AWS App Mesh.
Returns a list of existing virtual services in a service mesh.
// Example sending a request using ListVirtualServicesRequest. req := client.ListVirtualServicesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices
func (*Client) TagResourceRequest ΒΆ
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for AWS App Mesh.
Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource
func (*Client) UntagResourceRequest ΒΆ
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for AWS App Mesh.
Deletes specified tags from a resource.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource
func (*Client) UpdateMeshRequest ΒΆ
func (c *Client) UpdateMeshRequest(input *UpdateMeshInput) UpdateMeshRequest
UpdateMeshRequest returns a request value for making API operation for AWS App Mesh.
Updates an existing service mesh.
// Example sending a request using UpdateMeshRequest. req := client.UpdateMeshRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh
func (*Client) UpdateRouteRequest ΒΆ
func (c *Client) UpdateRouteRequest(input *UpdateRouteInput) UpdateRouteRequest
UpdateRouteRequest returns a request value for making API operation for AWS App Mesh.
Updates an existing route for a specified service mesh and virtual router.
// Example sending a request using UpdateRouteRequest. req := client.UpdateRouteRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute
func (*Client) UpdateVirtualNodeRequest ΒΆ
func (c *Client) UpdateVirtualNodeRequest(input *UpdateVirtualNodeInput) UpdateVirtualNodeRequest
UpdateVirtualNodeRequest returns a request value for making API operation for AWS App Mesh.
Updates an existing virtual node in a specified service mesh.
// Example sending a request using UpdateVirtualNodeRequest. req := client.UpdateVirtualNodeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode
func (*Client) UpdateVirtualRouterRequest ΒΆ
func (c *Client) UpdateVirtualRouterRequest(input *UpdateVirtualRouterInput) UpdateVirtualRouterRequest
UpdateVirtualRouterRequest returns a request value for making API operation for AWS App Mesh.
Updates an existing virtual router in a specified service mesh.
// Example sending a request using UpdateVirtualRouterRequest. req := client.UpdateVirtualRouterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter
func (*Client) UpdateVirtualServiceRequest ΒΆ
func (c *Client) UpdateVirtualServiceRequest(input *UpdateVirtualServiceInput) UpdateVirtualServiceRequest
UpdateVirtualServiceRequest returns a request value for making API operation for AWS App Mesh.
Updates an existing virtual service in a specified service mesh.
// Example sending a request using UpdateVirtualServiceRequest. req := client.UpdateVirtualServiceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService
type CreateMeshInput ΒΆ
type CreateMeshInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents the specification of a service mesh. Spec *MeshSpec `locationName:"spec" type:"structure"` Tags []TagRef `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateMeshInput) MarshalFields ΒΆ
func (s CreateMeshInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateMeshInput) String ΒΆ
func (s CreateMeshInput) String() string
String returns the string representation
func (*CreateMeshInput) Validate ΒΆ
func (s *CreateMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMeshOutput ΒΆ
type CreateMeshOutput struct { // An object that represents a service mesh returned by a describe operation. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateMeshOutput) MarshalFields ΒΆ
func (s CreateMeshOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateMeshOutput) String ΒΆ
func (s CreateMeshOutput) String() string
String returns the string representation
type CreateMeshRequest ΒΆ
type CreateMeshRequest struct { *aws.Request Input *CreateMeshInput Copy func(*CreateMeshInput) CreateMeshRequest }
CreateMeshRequest is the request type for the CreateMesh API operation.
func (CreateMeshRequest) Send ΒΆ
func (r CreateMeshRequest) Send(ctx context.Context) (*CreateMeshResponse, error)
Send marshals and sends the CreateMesh API request.
type CreateMeshResponse ΒΆ
type CreateMeshResponse struct { *CreateMeshOutput // contains filtered or unexported fields }
CreateMeshResponse is the response type for the CreateMesh API operation.
func (*CreateMeshResponse) SDKResponseMetdata ΒΆ
func (r *CreateMeshResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateMesh request.
type CreateRouteInput ΒΆ
type CreateRouteInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // An object that represents a route specification. Specify one route type. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` Tags []TagRef `locationName:"tags" type:"list"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateRouteInput) MarshalFields ΒΆ
func (s CreateRouteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateRouteInput) String ΒΆ
func (s CreateRouteInput) String() string
String returns the string representation
func (*CreateRouteInput) Validate ΒΆ
func (s *CreateRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRouteOutput ΒΆ
type CreateRouteOutput struct { // An object that represents a route returned by a describe operation. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateRouteOutput) MarshalFields ΒΆ
func (s CreateRouteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateRouteOutput) String ΒΆ
func (s CreateRouteOutput) String() string
String returns the string representation
type CreateRouteRequest ΒΆ
type CreateRouteRequest struct { *aws.Request Input *CreateRouteInput Copy func(*CreateRouteInput) CreateRouteRequest }
CreateRouteRequest is the request type for the CreateRoute API operation.
func (CreateRouteRequest) Send ΒΆ
func (r CreateRouteRequest) Send(ctx context.Context) (*CreateRouteResponse, error)
Send marshals and sends the CreateRoute API request.
type CreateRouteResponse ΒΆ
type CreateRouteResponse struct { *CreateRouteOutput // contains filtered or unexported fields }
CreateRouteResponse is the response type for the CreateRoute API operation.
func (*CreateRouteResponse) SDKResponseMetdata ΒΆ
func (r *CreateRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateRoute request.
type CreateVirtualNodeInput ΒΆ
type CreateVirtualNodeInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents the specification of a virtual node. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` Tags []TagRef `locationName:"tags" type:"list"` // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualNodeInput) MarshalFields ΒΆ
func (s CreateVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateVirtualNodeInput) String ΒΆ
func (s CreateVirtualNodeInput) String() string
String returns the string representation
func (*CreateVirtualNodeInput) Validate ΒΆ
func (s *CreateVirtualNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVirtualNodeOutput ΒΆ
type CreateVirtualNodeOutput struct { // An object that represents a virtual node returned by a describe operation. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualNodeOutput) MarshalFields ΒΆ
func (s CreateVirtualNodeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateVirtualNodeOutput) String ΒΆ
func (s CreateVirtualNodeOutput) String() string
String returns the string representation
type CreateVirtualNodeRequest ΒΆ
type CreateVirtualNodeRequest struct { *aws.Request Input *CreateVirtualNodeInput Copy func(*CreateVirtualNodeInput) CreateVirtualNodeRequest }
CreateVirtualNodeRequest is the request type for the CreateVirtualNode API operation.
func (CreateVirtualNodeRequest) Send ΒΆ
func (r CreateVirtualNodeRequest) Send(ctx context.Context) (*CreateVirtualNodeResponse, error)
Send marshals and sends the CreateVirtualNode API request.
type CreateVirtualNodeResponse ΒΆ
type CreateVirtualNodeResponse struct { *CreateVirtualNodeOutput // contains filtered or unexported fields }
CreateVirtualNodeResponse is the response type for the CreateVirtualNode API operation.
func (*CreateVirtualNodeResponse) SDKResponseMetdata ΒΆ
func (r *CreateVirtualNodeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateVirtualNode request.
type CreateVirtualRouterInput ΒΆ
type CreateVirtualRouterInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents the specification of a virtual router. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` Tags []TagRef `locationName:"tags" type:"list"` // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualRouterInput) MarshalFields ΒΆ
func (s CreateVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateVirtualRouterInput) String ΒΆ
func (s CreateVirtualRouterInput) String() string
String returns the string representation
func (*CreateVirtualRouterInput) Validate ΒΆ
func (s *CreateVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVirtualRouterOutput ΒΆ
type CreateVirtualRouterOutput struct { // An object that represents a virtual router returned by a describe operation. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualRouterOutput) MarshalFields ΒΆ
func (s CreateVirtualRouterOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateVirtualRouterOutput) String ΒΆ
func (s CreateVirtualRouterOutput) String() string
String returns the string representation
type CreateVirtualRouterRequest ΒΆ
type CreateVirtualRouterRequest struct { *aws.Request Input *CreateVirtualRouterInput Copy func(*CreateVirtualRouterInput) CreateVirtualRouterRequest }
CreateVirtualRouterRequest is the request type for the CreateVirtualRouter API operation.
func (CreateVirtualRouterRequest) Send ΒΆ
func (r CreateVirtualRouterRequest) Send(ctx context.Context) (*CreateVirtualRouterResponse, error)
Send marshals and sends the CreateVirtualRouter API request.
type CreateVirtualRouterResponse ΒΆ
type CreateVirtualRouterResponse struct { *CreateVirtualRouterOutput // contains filtered or unexported fields }
CreateVirtualRouterResponse is the response type for the CreateVirtualRouter API operation.
func (*CreateVirtualRouterResponse) SDKResponseMetdata ΒΆ
func (r *CreateVirtualRouterResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateVirtualRouter request.
type CreateVirtualServiceInput ΒΆ
type CreateVirtualServiceInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents the specification of a virtual service. // // Spec is a required field Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"` Tags []TagRef `locationName:"tags" type:"list"` // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualServiceInput) MarshalFields ΒΆ
func (s CreateVirtualServiceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateVirtualServiceInput) String ΒΆ
func (s CreateVirtualServiceInput) String() string
String returns the string representation
func (*CreateVirtualServiceInput) Validate ΒΆ
func (s *CreateVirtualServiceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVirtualServiceOutput ΒΆ
type CreateVirtualServiceOutput struct { // An object that represents a virtual service returned by a describe operation. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualServiceOutput) MarshalFields ΒΆ
func (s CreateVirtualServiceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateVirtualServiceOutput) String ΒΆ
func (s CreateVirtualServiceOutput) String() string
String returns the string representation
type CreateVirtualServiceRequest ΒΆ
type CreateVirtualServiceRequest struct { *aws.Request Input *CreateVirtualServiceInput Copy func(*CreateVirtualServiceInput) CreateVirtualServiceRequest }
CreateVirtualServiceRequest is the request type for the CreateVirtualService API operation.
func (CreateVirtualServiceRequest) Send ΒΆ
func (r CreateVirtualServiceRequest) Send(ctx context.Context) (*CreateVirtualServiceResponse, error)
Send marshals and sends the CreateVirtualService API request.
type CreateVirtualServiceResponse ΒΆ
type CreateVirtualServiceResponse struct { *CreateVirtualServiceOutput // contains filtered or unexported fields }
CreateVirtualServiceResponse is the response type for the CreateVirtualService API operation.
func (*CreateVirtualServiceResponse) SDKResponseMetdata ΒΆ
func (r *CreateVirtualServiceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateVirtualService request.
type DeleteMeshInput ΒΆ
type DeleteMeshInput struct { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteMeshInput) MarshalFields ΒΆ
func (s DeleteMeshInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteMeshInput) String ΒΆ
func (s DeleteMeshInput) String() string
String returns the string representation
func (*DeleteMeshInput) Validate ΒΆ
func (s *DeleteMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMeshOutput ΒΆ
type DeleteMeshOutput struct { // An object that represents a service mesh returned by a describe operation. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteMeshOutput) MarshalFields ΒΆ
func (s DeleteMeshOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteMeshOutput) String ΒΆ
func (s DeleteMeshOutput) String() string
String returns the string representation
type DeleteMeshRequest ΒΆ
type DeleteMeshRequest struct { *aws.Request Input *DeleteMeshInput Copy func(*DeleteMeshInput) DeleteMeshRequest }
DeleteMeshRequest is the request type for the DeleteMesh API operation.
func (DeleteMeshRequest) Send ΒΆ
func (r DeleteMeshRequest) Send(ctx context.Context) (*DeleteMeshResponse, error)
Send marshals and sends the DeleteMesh API request.
type DeleteMeshResponse ΒΆ
type DeleteMeshResponse struct { *DeleteMeshOutput // contains filtered or unexported fields }
DeleteMeshResponse is the response type for the DeleteMesh API operation.
func (*DeleteMeshResponse) SDKResponseMetdata ΒΆ
func (r *DeleteMeshResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteMesh request.
type DeleteRouteInput ΒΆ
type DeleteRouteInput struct { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteRouteInput) MarshalFields ΒΆ
func (s DeleteRouteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteRouteInput) String ΒΆ
func (s DeleteRouteInput) String() string
String returns the string representation
func (*DeleteRouteInput) Validate ΒΆ
func (s *DeleteRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRouteOutput ΒΆ
type DeleteRouteOutput struct { // An object that represents a route returned by a describe operation. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteRouteOutput) MarshalFields ΒΆ
func (s DeleteRouteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteRouteOutput) String ΒΆ
func (s DeleteRouteOutput) String() string
String returns the string representation
type DeleteRouteRequest ΒΆ
type DeleteRouteRequest struct { *aws.Request Input *DeleteRouteInput Copy func(*DeleteRouteInput) DeleteRouteRequest }
DeleteRouteRequest is the request type for the DeleteRoute API operation.
func (DeleteRouteRequest) Send ΒΆ
func (r DeleteRouteRequest) Send(ctx context.Context) (*DeleteRouteResponse, error)
Send marshals and sends the DeleteRoute API request.
type DeleteRouteResponse ΒΆ
type DeleteRouteResponse struct { *DeleteRouteOutput // contains filtered or unexported fields }
DeleteRouteResponse is the response type for the DeleteRoute API operation.
func (*DeleteRouteResponse) SDKResponseMetdata ΒΆ
func (r *DeleteRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteRoute request.
type DeleteVirtualNodeInput ΒΆ
type DeleteVirtualNodeInput struct { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualNodeInput) MarshalFields ΒΆ
func (s DeleteVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteVirtualNodeInput) String ΒΆ
func (s DeleteVirtualNodeInput) String() string
String returns the string representation
func (*DeleteVirtualNodeInput) Validate ΒΆ
func (s *DeleteVirtualNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVirtualNodeOutput ΒΆ
type DeleteVirtualNodeOutput struct { // An object that represents a virtual node returned by a describe operation. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualNodeOutput) MarshalFields ΒΆ
func (s DeleteVirtualNodeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteVirtualNodeOutput) String ΒΆ
func (s DeleteVirtualNodeOutput) String() string
String returns the string representation
type DeleteVirtualNodeRequest ΒΆ
type DeleteVirtualNodeRequest struct { *aws.Request Input *DeleteVirtualNodeInput Copy func(*DeleteVirtualNodeInput) DeleteVirtualNodeRequest }
DeleteVirtualNodeRequest is the request type for the DeleteVirtualNode API operation.
func (DeleteVirtualNodeRequest) Send ΒΆ
func (r DeleteVirtualNodeRequest) Send(ctx context.Context) (*DeleteVirtualNodeResponse, error)
Send marshals and sends the DeleteVirtualNode API request.
type DeleteVirtualNodeResponse ΒΆ
type DeleteVirtualNodeResponse struct { *DeleteVirtualNodeOutput // contains filtered or unexported fields }
DeleteVirtualNodeResponse is the response type for the DeleteVirtualNode API operation.
func (*DeleteVirtualNodeResponse) SDKResponseMetdata ΒΆ
func (r *DeleteVirtualNodeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteVirtualNode request.
type DeleteVirtualRouterInput ΒΆ
type DeleteVirtualRouterInput struct { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualRouterInput) MarshalFields ΒΆ
func (s DeleteVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteVirtualRouterInput) String ΒΆ
func (s DeleteVirtualRouterInput) String() string
String returns the string representation
func (*DeleteVirtualRouterInput) Validate ΒΆ
func (s *DeleteVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVirtualRouterOutput ΒΆ
type DeleteVirtualRouterOutput struct { // An object that represents a virtual router returned by a describe operation. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualRouterOutput) MarshalFields ΒΆ
func (s DeleteVirtualRouterOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteVirtualRouterOutput) String ΒΆ
func (s DeleteVirtualRouterOutput) String() string
String returns the string representation
type DeleteVirtualRouterRequest ΒΆ
type DeleteVirtualRouterRequest struct { *aws.Request Input *DeleteVirtualRouterInput Copy func(*DeleteVirtualRouterInput) DeleteVirtualRouterRequest }
DeleteVirtualRouterRequest is the request type for the DeleteVirtualRouter API operation.
func (DeleteVirtualRouterRequest) Send ΒΆ
func (r DeleteVirtualRouterRequest) Send(ctx context.Context) (*DeleteVirtualRouterResponse, error)
Send marshals and sends the DeleteVirtualRouter API request.
type DeleteVirtualRouterResponse ΒΆ
type DeleteVirtualRouterResponse struct { *DeleteVirtualRouterOutput // contains filtered or unexported fields }
DeleteVirtualRouterResponse is the response type for the DeleteVirtualRouter API operation.
func (*DeleteVirtualRouterResponse) SDKResponseMetdata ΒΆ
func (r *DeleteVirtualRouterResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteVirtualRouter request.
type DeleteVirtualServiceInput ΒΆ
type DeleteVirtualServiceInput struct { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // VirtualServiceName is a required field VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualServiceInput) MarshalFields ΒΆ
func (s DeleteVirtualServiceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteVirtualServiceInput) String ΒΆ
func (s DeleteVirtualServiceInput) String() string
String returns the string representation
func (*DeleteVirtualServiceInput) Validate ΒΆ
func (s *DeleteVirtualServiceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVirtualServiceOutput ΒΆ
type DeleteVirtualServiceOutput struct { // An object that represents a virtual service returned by a describe operation. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualServiceOutput) MarshalFields ΒΆ
func (s DeleteVirtualServiceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteVirtualServiceOutput) String ΒΆ
func (s DeleteVirtualServiceOutput) String() string
String returns the string representation
type DeleteVirtualServiceRequest ΒΆ
type DeleteVirtualServiceRequest struct { *aws.Request Input *DeleteVirtualServiceInput Copy func(*DeleteVirtualServiceInput) DeleteVirtualServiceRequest }
DeleteVirtualServiceRequest is the request type for the DeleteVirtualService API operation.
func (DeleteVirtualServiceRequest) Send ΒΆ
func (r DeleteVirtualServiceRequest) Send(ctx context.Context) (*DeleteVirtualServiceResponse, error)
Send marshals and sends the DeleteVirtualService API request.
type DeleteVirtualServiceResponse ΒΆ
type DeleteVirtualServiceResponse struct { *DeleteVirtualServiceOutput // contains filtered or unexported fields }
DeleteVirtualServiceResponse is the response type for the DeleteVirtualService API operation.
func (*DeleteVirtualServiceResponse) SDKResponseMetdata ΒΆ
func (r *DeleteVirtualServiceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteVirtualService request.
type DescribeMeshInput ΒΆ
type DescribeMeshInput struct { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeMeshInput) MarshalFields ΒΆ
func (s DescribeMeshInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeMeshInput) String ΒΆ
func (s DescribeMeshInput) String() string
String returns the string representation
func (*DescribeMeshInput) Validate ΒΆ
func (s *DescribeMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeMeshOutput ΒΆ
type DescribeMeshOutput struct { // An object that represents a service mesh returned by a describe operation. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeMeshOutput) MarshalFields ΒΆ
func (s DescribeMeshOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeMeshOutput) String ΒΆ
func (s DescribeMeshOutput) String() string
String returns the string representation
type DescribeMeshRequest ΒΆ
type DescribeMeshRequest struct { *aws.Request Input *DescribeMeshInput Copy func(*DescribeMeshInput) DescribeMeshRequest }
DescribeMeshRequest is the request type for the DescribeMesh API operation.
func (DescribeMeshRequest) Send ΒΆ
func (r DescribeMeshRequest) Send(ctx context.Context) (*DescribeMeshResponse, error)
Send marshals and sends the DescribeMesh API request.
type DescribeMeshResponse ΒΆ
type DescribeMeshResponse struct { *DescribeMeshOutput // contains filtered or unexported fields }
DescribeMeshResponse is the response type for the DescribeMesh API operation.
func (*DescribeMeshResponse) SDKResponseMetdata ΒΆ
func (r *DescribeMeshResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeMesh request.
type DescribeRouteInput ΒΆ
type DescribeRouteInput struct { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeRouteInput) MarshalFields ΒΆ
func (s DescribeRouteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeRouteInput) String ΒΆ
func (s DescribeRouteInput) String() string
String returns the string representation
func (*DescribeRouteInput) Validate ΒΆ
func (s *DescribeRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRouteOutput ΒΆ
type DescribeRouteOutput struct { // An object that represents a route returned by a describe operation. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeRouteOutput) MarshalFields ΒΆ
func (s DescribeRouteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeRouteOutput) String ΒΆ
func (s DescribeRouteOutput) String() string
String returns the string representation
type DescribeRouteRequest ΒΆ
type DescribeRouteRequest struct { *aws.Request Input *DescribeRouteInput Copy func(*DescribeRouteInput) DescribeRouteRequest }
DescribeRouteRequest is the request type for the DescribeRoute API operation.
func (DescribeRouteRequest) Send ΒΆ
func (r DescribeRouteRequest) Send(ctx context.Context) (*DescribeRouteResponse, error)
Send marshals and sends the DescribeRoute API request.
type DescribeRouteResponse ΒΆ
type DescribeRouteResponse struct { *DescribeRouteOutput // contains filtered or unexported fields }
DescribeRouteResponse is the response type for the DescribeRoute API operation.
func (*DescribeRouteResponse) SDKResponseMetdata ΒΆ
func (r *DescribeRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeRoute request.
type DescribeVirtualNodeInput ΒΆ
type DescribeVirtualNodeInput struct { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualNodeInput) MarshalFields ΒΆ
func (s DescribeVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeVirtualNodeInput) String ΒΆ
func (s DescribeVirtualNodeInput) String() string
String returns the string representation
func (*DescribeVirtualNodeInput) Validate ΒΆ
func (s *DescribeVirtualNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVirtualNodeOutput ΒΆ
type DescribeVirtualNodeOutput struct { // An object that represents a virtual node returned by a describe operation. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualNodeOutput) MarshalFields ΒΆ
func (s DescribeVirtualNodeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeVirtualNodeOutput) String ΒΆ
func (s DescribeVirtualNodeOutput) String() string
String returns the string representation
type DescribeVirtualNodeRequest ΒΆ
type DescribeVirtualNodeRequest struct { *aws.Request Input *DescribeVirtualNodeInput Copy func(*DescribeVirtualNodeInput) DescribeVirtualNodeRequest }
DescribeVirtualNodeRequest is the request type for the DescribeVirtualNode API operation.
func (DescribeVirtualNodeRequest) Send ΒΆ
func (r DescribeVirtualNodeRequest) Send(ctx context.Context) (*DescribeVirtualNodeResponse, error)
Send marshals and sends the DescribeVirtualNode API request.
type DescribeVirtualNodeResponse ΒΆ
type DescribeVirtualNodeResponse struct { *DescribeVirtualNodeOutput // contains filtered or unexported fields }
DescribeVirtualNodeResponse is the response type for the DescribeVirtualNode API operation.
func (*DescribeVirtualNodeResponse) SDKResponseMetdata ΒΆ
func (r *DescribeVirtualNodeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVirtualNode request.
type DescribeVirtualRouterInput ΒΆ
type DescribeVirtualRouterInput struct { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualRouterInput) MarshalFields ΒΆ
func (s DescribeVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeVirtualRouterInput) String ΒΆ
func (s DescribeVirtualRouterInput) String() string
String returns the string representation
func (*DescribeVirtualRouterInput) Validate ΒΆ
func (s *DescribeVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVirtualRouterOutput ΒΆ
type DescribeVirtualRouterOutput struct { // An object that represents a virtual router returned by a describe operation. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualRouterOutput) MarshalFields ΒΆ
func (s DescribeVirtualRouterOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeVirtualRouterOutput) String ΒΆ
func (s DescribeVirtualRouterOutput) String() string
String returns the string representation
type DescribeVirtualRouterRequest ΒΆ
type DescribeVirtualRouterRequest struct { *aws.Request Input *DescribeVirtualRouterInput Copy func(*DescribeVirtualRouterInput) DescribeVirtualRouterRequest }
DescribeVirtualRouterRequest is the request type for the DescribeVirtualRouter API operation.
func (DescribeVirtualRouterRequest) Send ΒΆ
func (r DescribeVirtualRouterRequest) Send(ctx context.Context) (*DescribeVirtualRouterResponse, error)
Send marshals and sends the DescribeVirtualRouter API request.
type DescribeVirtualRouterResponse ΒΆ
type DescribeVirtualRouterResponse struct { *DescribeVirtualRouterOutput // contains filtered or unexported fields }
DescribeVirtualRouterResponse is the response type for the DescribeVirtualRouter API operation.
func (*DescribeVirtualRouterResponse) SDKResponseMetdata ΒΆ
func (r *DescribeVirtualRouterResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVirtualRouter request.
type DescribeVirtualServiceInput ΒΆ
type DescribeVirtualServiceInput struct { // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // VirtualServiceName is a required field VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualServiceInput) MarshalFields ΒΆ
func (s DescribeVirtualServiceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeVirtualServiceInput) String ΒΆ
func (s DescribeVirtualServiceInput) String() string
String returns the string representation
func (*DescribeVirtualServiceInput) Validate ΒΆ
func (s *DescribeVirtualServiceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVirtualServiceOutput ΒΆ
type DescribeVirtualServiceOutput struct { // An object that represents a virtual service returned by a describe operation. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualServiceOutput) MarshalFields ΒΆ
func (s DescribeVirtualServiceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeVirtualServiceOutput) String ΒΆ
func (s DescribeVirtualServiceOutput) String() string
String returns the string representation
type DescribeVirtualServiceRequest ΒΆ
type DescribeVirtualServiceRequest struct { *aws.Request Input *DescribeVirtualServiceInput Copy func(*DescribeVirtualServiceInput) DescribeVirtualServiceRequest }
DescribeVirtualServiceRequest is the request type for the DescribeVirtualService API operation.
func (DescribeVirtualServiceRequest) Send ΒΆ
func (r DescribeVirtualServiceRequest) Send(ctx context.Context) (*DescribeVirtualServiceResponse, error)
Send marshals and sends the DescribeVirtualService API request.
type DescribeVirtualServiceResponse ΒΆ
type DescribeVirtualServiceResponse struct { *DescribeVirtualServiceOutput // contains filtered or unexported fields }
DescribeVirtualServiceResponse is the response type for the DescribeVirtualService API operation.
func (*DescribeVirtualServiceResponse) SDKResponseMetdata ΒΆ
func (r *DescribeVirtualServiceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeVirtualService request.
type DnsServiceDiscovery ΒΆ
type DnsServiceDiscovery struct { // Hostname is a required field Hostname *string `locationName:"hostname" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents the DNS service discovery information for your virtual node.
func (DnsServiceDiscovery) MarshalFields ΒΆ
func (s DnsServiceDiscovery) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DnsServiceDiscovery) String ΒΆ
func (s DnsServiceDiscovery) String() string
String returns the string representation
func (*DnsServiceDiscovery) Validate ΒΆ
func (s *DnsServiceDiscovery) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Duration ΒΆ
type Duration struct { Unit DurationUnit `locationName:"unit" type:"string" enum:"true"` Value *int64 `locationName:"value" type:"long"` // contains filtered or unexported fields }
An object that represents a duration of time.
func (Duration) MarshalFields ΒΆ
func (s Duration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Duration) String ΒΆ
String returns the string representation
type DurationUnit ΒΆ
type DurationUnit string
const ( DurationUnitMs DurationUnit = "ms" DurationUnitS DurationUnit = "s" )
Enum values for DurationUnit
func (DurationUnit) MarshalValue ΒΆ
func (enum DurationUnit) MarshalValue() (string, error)
func (DurationUnit) MarshalValueBuf ΒΆ
func (enum DurationUnit) MarshalValueBuf(b []byte) ([]byte, error)
type EgressFilter ΒΆ
type EgressFilter struct { // Type is a required field Type EgressFilterType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents the egress filter rules for a service mesh.
func (EgressFilter) MarshalFields ΒΆ
func (s EgressFilter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EgressFilter) String ΒΆ
func (s EgressFilter) String() string
String returns the string representation
func (*EgressFilter) Validate ΒΆ
func (s *EgressFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EgressFilterType ΒΆ
type EgressFilterType string
const ( EgressFilterTypeAllowAll EgressFilterType = "ALLOW_ALL" EgressFilterTypeDropAll EgressFilterType = "DROP_ALL" )
Enum values for EgressFilterType
func (EgressFilterType) MarshalValue ΒΆ
func (enum EgressFilterType) MarshalValue() (string, error)
func (EgressFilterType) MarshalValueBuf ΒΆ
func (enum EgressFilterType) MarshalValueBuf(b []byte) ([]byte, error)
type FileAccessLog ΒΆ
type FileAccessLog struct { // Path is a required field Path *string `locationName:"path" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents an access log file.
func (FileAccessLog) MarshalFields ΒΆ
func (s FileAccessLog) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FileAccessLog) String ΒΆ
func (s FileAccessLog) String() string
String returns the string representation
func (*FileAccessLog) Validate ΒΆ
func (s *FileAccessLog) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GrpcRetryPolicy ΒΆ
type GrpcRetryPolicy struct { GrpcRetryEvents []GrpcRetryPolicyEvent `locationName:"grpcRetryEvents" min:"1" type:"list"` HttpRetryEvents []string `locationName:"httpRetryEvents" min:"1" type:"list"` // MaxRetries is a required field MaxRetries *int64 `locationName:"maxRetries" type:"long" required:"true"` // An object that represents a duration of time. // // PerRetryTimeout is a required field PerRetryTimeout *Duration `locationName:"perRetryTimeout" type:"structure" required:"true"` TcpRetryEvents []TcpRetryPolicyEvent `locationName:"tcpRetryEvents" min:"1" type:"list"` // contains filtered or unexported fields }
An object that represents a retry policy. Specify at least one value for at least one of the types of RetryEvents, a value for maxRetries, and a value for perRetryTimeout.
func (GrpcRetryPolicy) MarshalFields ΒΆ
func (s GrpcRetryPolicy) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GrpcRetryPolicy) String ΒΆ
func (s GrpcRetryPolicy) String() string
String returns the string representation
func (*GrpcRetryPolicy) Validate ΒΆ
func (s *GrpcRetryPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GrpcRetryPolicyEvent ΒΆ
type GrpcRetryPolicyEvent string
const ( GrpcRetryPolicyEventCancelled GrpcRetryPolicyEvent = "cancelled" GrpcRetryPolicyEventDeadlineExceeded GrpcRetryPolicyEvent = "deadline-exceeded" GrpcRetryPolicyEventInternal GrpcRetryPolicyEvent = "internal" GrpcRetryPolicyEventResourceExhausted GrpcRetryPolicyEvent = "resource-exhausted" GrpcRetryPolicyEvent = "unavailable" )
Enum values for GrpcRetryPolicyEvent
func (GrpcRetryPolicyEvent) MarshalValue ΒΆ
func (enum GrpcRetryPolicyEvent) MarshalValue() (string, error)
func (GrpcRetryPolicyEvent) MarshalValueBuf ΒΆ
func (enum GrpcRetryPolicyEvent) MarshalValueBuf(b []byte) ([]byte, error)
type GrpcRoute ΒΆ
type GrpcRoute struct { // An object that represents the action to take if a match is determined. // // Action is a required field Action *GrpcRouteAction `locationName:"action" type:"structure" required:"true"` // An object that represents the criteria for determining a request match. // // Match is a required field Match *GrpcRouteMatch `locationName:"match" type:"structure" required:"true"` // An object that represents a retry policy. Specify at least one value for // at least one of the types of RetryEvents, a value for maxRetries, and a value // for perRetryTimeout. RetryPolicy *GrpcRetryPolicy `locationName:"retryPolicy" type:"structure"` // contains filtered or unexported fields }
An object that represents a GRPC route type.
func (GrpcRoute) MarshalFields ΒΆ
func (s GrpcRoute) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GrpcRoute) String ΒΆ
String returns the string representation
func (*GrpcRoute) Validate ΒΆ
Validate inspects the fields of the type to determine if they are valid.
type GrpcRouteAction ΒΆ
type GrpcRouteAction struct { // WeightedTargets is a required field WeightedTargets []WeightedTarget `locationName:"weightedTargets" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
An object that represents the action to take if a match is determined.
func (GrpcRouteAction) MarshalFields ΒΆ
func (s GrpcRouteAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GrpcRouteAction) String ΒΆ
func (s GrpcRouteAction) String() string
String returns the string representation
func (*GrpcRouteAction) Validate ΒΆ
func (s *GrpcRouteAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GrpcRouteMatch ΒΆ
type GrpcRouteMatch struct { Metadata []GrpcRouteMetadata `locationName:"metadata" min:"1" type:"list"` MethodName *string `locationName:"methodName" min:"1" type:"string"` ServiceName *string `locationName:"serviceName" type:"string"` // contains filtered or unexported fields }
An object that represents the criteria for determining a request match.
func (GrpcRouteMatch) MarshalFields ΒΆ
func (s GrpcRouteMatch) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GrpcRouteMatch) String ΒΆ
func (s GrpcRouteMatch) String() string
String returns the string representation
func (*GrpcRouteMatch) Validate ΒΆ
func (s *GrpcRouteMatch) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GrpcRouteMetadata ΒΆ
type GrpcRouteMetadata struct { Invert *bool `locationName:"invert" type:"boolean"` // An object that represents the match method. Specify one of the match values. Match *GrpcRouteMetadataMatchMethod `locationName:"match" type:"structure"` // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents the match metadata for the route.
func (GrpcRouteMetadata) MarshalFields ΒΆ
func (s GrpcRouteMetadata) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GrpcRouteMetadata) String ΒΆ
func (s GrpcRouteMetadata) String() string
String returns the string representation
func (*GrpcRouteMetadata) Validate ΒΆ
func (s *GrpcRouteMetadata) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GrpcRouteMetadataMatchMethod ΒΆ
type GrpcRouteMetadataMatchMethod struct { Exact *string `locationName:"exact" min:"1" type:"string"` Prefix *string `locationName:"prefix" min:"1" type:"string"` // An object that represents the range of values to match on. The first character // of the range is included in the range, though the last character is not. // For example, if the range specified were 1-100, only values 1-99 would be // matched. Range *MatchRange `locationName:"range" type:"structure"` Regex *string `locationName:"regex" min:"1" type:"string"` Suffix *string `locationName:"suffix" min:"1" type:"string"` // contains filtered or unexported fields }
An object that represents the match method. Specify one of the match values.
func (GrpcRouteMetadataMatchMethod) MarshalFields ΒΆ
func (s GrpcRouteMetadataMatchMethod) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GrpcRouteMetadataMatchMethod) String ΒΆ
func (s GrpcRouteMetadataMatchMethod) String() string
String returns the string representation
func (*GrpcRouteMetadataMatchMethod) Validate ΒΆ
func (s *GrpcRouteMetadataMatchMethod) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HeaderMatchMethod ΒΆ
type HeaderMatchMethod struct { Exact *string `locationName:"exact" min:"1" type:"string"` Prefix *string `locationName:"prefix" min:"1" type:"string"` // An object that represents the range of values to match on. The first character // of the range is included in the range, though the last character is not. // For example, if the range specified were 1-100, only values 1-99 would be // matched. Range *MatchRange `locationName:"range" type:"structure"` Regex *string `locationName:"regex" min:"1" type:"string"` Suffix *string `locationName:"suffix" min:"1" type:"string"` // contains filtered or unexported fields }
An object that represents the method and value to match with the header value sent in a request. Specify one match method.
func (HeaderMatchMethod) MarshalFields ΒΆ
func (s HeaderMatchMethod) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HeaderMatchMethod) String ΒΆ
func (s HeaderMatchMethod) String() string
String returns the string representation
func (*HeaderMatchMethod) Validate ΒΆ
func (s *HeaderMatchMethod) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HealthCheckPolicy ΒΆ
type HealthCheckPolicy struct { // HealthyThreshold is a required field HealthyThreshold *int64 `locationName:"healthyThreshold" min:"2" type:"integer" required:"true"` // IntervalMillis is a required field IntervalMillis *int64 `locationName:"intervalMillis" min:"5000" type:"long" required:"true"` Path *string `locationName:"path" type:"string"` Port *int64 `locationName:"port" min:"1" type:"integer"` // Protocol is a required field Protocol PortProtocol `locationName:"protocol" type:"string" required:"true" enum:"true"` // TimeoutMillis is a required field TimeoutMillis *int64 `locationName:"timeoutMillis" min:"2000" type:"long" required:"true"` // UnhealthyThreshold is a required field UnhealthyThreshold *int64 `locationName:"unhealthyThreshold" min:"2" type:"integer" required:"true"` // contains filtered or unexported fields }
An object that represents the health check policy for a virtual node's listener.
func (HealthCheckPolicy) MarshalFields ΒΆ
func (s HealthCheckPolicy) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HealthCheckPolicy) String ΒΆ
func (s HealthCheckPolicy) String() string
String returns the string representation
func (*HealthCheckPolicy) Validate ΒΆ
func (s *HealthCheckPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpMethod ΒΆ
type HttpMethod string
const ( HttpMethodConnect HttpMethod = "CONNECT" HttpMethodDelete HttpMethod = "DELETE" HttpMethodGet HttpMethod = "GET" HttpMethodHead HttpMethod = "HEAD" HttpMethodOptions HttpMethod = "OPTIONS" HttpMethodPatch HttpMethod = "PATCH" HttpMethodPost HttpMethod = "POST" HttpMethodPut HttpMethod = "PUT" HttpMethodTrace HttpMethod = "TRACE" )
Enum values for HttpMethod
func (HttpMethod) MarshalValue ΒΆ
func (enum HttpMethod) MarshalValue() (string, error)
func (HttpMethod) MarshalValueBuf ΒΆ
func (enum HttpMethod) MarshalValueBuf(b []byte) ([]byte, error)
type HttpRetryPolicy ΒΆ
type HttpRetryPolicy struct { HttpRetryEvents []string `locationName:"httpRetryEvents" min:"1" type:"list"` // MaxRetries is a required field MaxRetries *int64 `locationName:"maxRetries" type:"long" required:"true"` // An object that represents a duration of time. // // PerRetryTimeout is a required field PerRetryTimeout *Duration `locationName:"perRetryTimeout" type:"structure" required:"true"` TcpRetryEvents []TcpRetryPolicyEvent `locationName:"tcpRetryEvents" min:"1" type:"list"` // contains filtered or unexported fields }
An object that represents a retry policy. Specify at least one value for at least one of the types of RetryEvents, a value for maxRetries, and a value for perRetryTimeout.
func (HttpRetryPolicy) MarshalFields ΒΆ
func (s HttpRetryPolicy) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HttpRetryPolicy) String ΒΆ
func (s HttpRetryPolicy) String() string
String returns the string representation
func (*HttpRetryPolicy) Validate ΒΆ
func (s *HttpRetryPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpRoute ΒΆ
type HttpRoute struct { // An object that represents the action to take if a match is determined. // // Action is a required field Action *HttpRouteAction `locationName:"action" type:"structure" required:"true"` // An object that represents the requirements for a route to match HTTP requests // for a virtual router. // // Match is a required field Match *HttpRouteMatch `locationName:"match" type:"structure" required:"true"` // An object that represents a retry policy. Specify at least one value for // at least one of the types of RetryEvents, a value for maxRetries, and a value // for perRetryTimeout. RetryPolicy *HttpRetryPolicy `locationName:"retryPolicy" type:"structure"` // contains filtered or unexported fields }
An object that represents an HTTP or HTTP2 route type.
func (HttpRoute) MarshalFields ΒΆ
func (s HttpRoute) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HttpRoute) String ΒΆ
String returns the string representation
func (*HttpRoute) Validate ΒΆ
Validate inspects the fields of the type to determine if they are valid.
type HttpRouteAction ΒΆ
type HttpRouteAction struct { // WeightedTargets is a required field WeightedTargets []WeightedTarget `locationName:"weightedTargets" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
An object that represents the action to take if a match is determined.
func (HttpRouteAction) MarshalFields ΒΆ
func (s HttpRouteAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HttpRouteAction) String ΒΆ
func (s HttpRouteAction) String() string
String returns the string representation
func (*HttpRouteAction) Validate ΒΆ
func (s *HttpRouteAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpRouteHeader ΒΆ
type HttpRouteHeader struct { Invert *bool `locationName:"invert" type:"boolean"` // An object that represents the method and value to match with the header value // sent in a request. Specify one match method. Match *HeaderMatchMethod `locationName:"match" type:"structure"` // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents the HTTP header in the request.
func (HttpRouteHeader) MarshalFields ΒΆ
func (s HttpRouteHeader) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HttpRouteHeader) String ΒΆ
func (s HttpRouteHeader) String() string
String returns the string representation
func (*HttpRouteHeader) Validate ΒΆ
func (s *HttpRouteHeader) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpRouteMatch ΒΆ
type HttpRouteMatch struct { Headers []HttpRouteHeader `locationName:"headers" min:"1" type:"list"` Method HttpMethod `locationName:"method" type:"string" enum:"true"` // Prefix is a required field Prefix *string `locationName:"prefix" type:"string" required:"true"` Scheme HttpScheme `locationName:"scheme" type:"string" enum:"true"` // contains filtered or unexported fields }
An object that represents the requirements for a route to match HTTP requests for a virtual router.
func (HttpRouteMatch) MarshalFields ΒΆ
func (s HttpRouteMatch) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HttpRouteMatch) String ΒΆ
func (s HttpRouteMatch) String() string
String returns the string representation
func (*HttpRouteMatch) Validate ΒΆ
func (s *HttpRouteMatch) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpScheme ΒΆ
type HttpScheme string
const ( HttpSchemeHttp HttpScheme = "http" HttpSchemeHttps HttpScheme = "https" )
Enum values for HttpScheme
func (HttpScheme) MarshalValue ΒΆ
func (enum HttpScheme) MarshalValue() (string, error)
func (HttpScheme) MarshalValueBuf ΒΆ
func (enum HttpScheme) MarshalValueBuf(b []byte) ([]byte, error)
type ListMeshesInput ΒΆ
type ListMeshesInput struct { Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListMeshesInput) MarshalFields ΒΆ
func (s ListMeshesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListMeshesInput) String ΒΆ
func (s ListMeshesInput) String() string
String returns the string representation
func (*ListMeshesInput) Validate ΒΆ
func (s *ListMeshesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMeshesOutput ΒΆ
type ListMeshesOutput struct { // Meshes is a required field Meshes []MeshRef `locationName:"meshes" type:"list" required:"true"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListMeshesOutput) MarshalFields ΒΆ
func (s ListMeshesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListMeshesOutput) String ΒΆ
func (s ListMeshesOutput) String() string
String returns the string representation
type ListMeshesPaginator ΒΆ
ListMeshesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListMeshesPaginator ΒΆ
func NewListMeshesPaginator(req ListMeshesRequest) ListMeshesPaginator
NewListMeshesRequestPaginator returns a paginator for ListMeshes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListMeshesRequest(input) p := appmesh.NewListMeshesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListMeshesPaginator) CurrentPage ΒΆ
func (p *ListMeshesPaginator) CurrentPage() *ListMeshesOutput
type ListMeshesRequest ΒΆ
type ListMeshesRequest struct { *aws.Request Input *ListMeshesInput Copy func(*ListMeshesInput) ListMeshesRequest }
ListMeshesRequest is the request type for the ListMeshes API operation.
func (ListMeshesRequest) Send ΒΆ
func (r ListMeshesRequest) Send(ctx context.Context) (*ListMeshesResponse, error)
Send marshals and sends the ListMeshes API request.
type ListMeshesResponse ΒΆ
type ListMeshesResponse struct { *ListMeshesOutput // contains filtered or unexported fields }
ListMeshesResponse is the response type for the ListMeshes API operation.
func (*ListMeshesResponse) SDKResponseMetdata ΒΆ
func (r *ListMeshesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListMeshes request.
type ListRoutesInput ΒΆ
type ListRoutesInput struct { Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListRoutesInput) MarshalFields ΒΆ
func (s ListRoutesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRoutesInput) String ΒΆ
func (s ListRoutesInput) String() string
String returns the string representation
func (*ListRoutesInput) Validate ΒΆ
func (s *ListRoutesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRoutesOutput ΒΆ
type ListRoutesOutput struct { NextToken *string `locationName:"nextToken" type:"string"` // Routes is a required field Routes []RouteRef `locationName:"routes" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListRoutesOutput) MarshalFields ΒΆ
func (s ListRoutesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRoutesOutput) String ΒΆ
func (s ListRoutesOutput) String() string
String returns the string representation
type ListRoutesPaginator ΒΆ
ListRoutesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListRoutesPaginator ΒΆ
func NewListRoutesPaginator(req ListRoutesRequest) ListRoutesPaginator
NewListRoutesRequestPaginator returns a paginator for ListRoutes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListRoutesRequest(input) p := appmesh.NewListRoutesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListRoutesPaginator) CurrentPage ΒΆ
func (p *ListRoutesPaginator) CurrentPage() *ListRoutesOutput
type ListRoutesRequest ΒΆ
type ListRoutesRequest struct { *aws.Request Input *ListRoutesInput Copy func(*ListRoutesInput) ListRoutesRequest }
ListRoutesRequest is the request type for the ListRoutes API operation.
func (ListRoutesRequest) Send ΒΆ
func (r ListRoutesRequest) Send(ctx context.Context) (*ListRoutesResponse, error)
Send marshals and sends the ListRoutes API request.
type ListRoutesResponse ΒΆ
type ListRoutesResponse struct { *ListRoutesOutput // contains filtered or unexported fields }
ListRoutesResponse is the response type for the ListRoutes API operation.
func (*ListRoutesResponse) SDKResponseMetdata ΒΆ
func (r *ListRoutesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListRoutes request.
type ListTagsForResourceInput ΒΆ
type ListTagsForResourceInput struct { Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) MarshalFields ΒΆ
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceInput) String ΒΆ
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ΒΆ
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ΒΆ
type ListTagsForResourceOutput struct { NextToken *string `locationName:"nextToken" type:"string"` // Tags is a required field Tags []TagRef `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) MarshalFields ΒΆ
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceOutput) String ΒΆ
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourcePaginator ΒΆ
ListTagsForResourcePaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListTagsForResourcePaginator ΒΆ
func NewListTagsForResourcePaginator(req ListTagsForResourceRequest) ListTagsForResourcePaginator
NewListTagsForResourceRequestPaginator returns a paginator for ListTagsForResource. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListTagsForResourceRequest(input) p := appmesh.NewListTagsForResourceRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListTagsForResourcePaginator) CurrentPage ΒΆ
func (p *ListTagsForResourcePaginator) CurrentPage() *ListTagsForResourceOutput
type ListTagsForResourceRequest ΒΆ
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ΒΆ
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
Send marshals and sends the ListTagsForResource API request.
type ListTagsForResourceResponse ΒΆ
type ListTagsForResourceResponse struct { *ListTagsForResourceOutput // contains filtered or unexported fields }
ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.
func (*ListTagsForResourceResponse) SDKResponseMetdata ΒΆ
func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForResource request.
type ListVirtualNodesInput ΒΆ
type ListVirtualNodesInput struct { Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListVirtualNodesInput) MarshalFields ΒΆ
func (s ListVirtualNodesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListVirtualNodesInput) String ΒΆ
func (s ListVirtualNodesInput) String() string
String returns the string representation
func (*ListVirtualNodesInput) Validate ΒΆ
func (s *ListVirtualNodesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListVirtualNodesOutput ΒΆ
type ListVirtualNodesOutput struct { NextToken *string `locationName:"nextToken" type:"string"` // VirtualNodes is a required field VirtualNodes []VirtualNodeRef `locationName:"virtualNodes" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListVirtualNodesOutput) MarshalFields ΒΆ
func (s ListVirtualNodesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListVirtualNodesOutput) String ΒΆ
func (s ListVirtualNodesOutput) String() string
String returns the string representation
type ListVirtualNodesPaginator ΒΆ
ListVirtualNodesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListVirtualNodesPaginator ΒΆ
func NewListVirtualNodesPaginator(req ListVirtualNodesRequest) ListVirtualNodesPaginator
NewListVirtualNodesRequestPaginator returns a paginator for ListVirtualNodes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListVirtualNodesRequest(input) p := appmesh.NewListVirtualNodesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListVirtualNodesPaginator) CurrentPage ΒΆ
func (p *ListVirtualNodesPaginator) CurrentPage() *ListVirtualNodesOutput
type ListVirtualNodesRequest ΒΆ
type ListVirtualNodesRequest struct { *aws.Request Input *ListVirtualNodesInput Copy func(*ListVirtualNodesInput) ListVirtualNodesRequest }
ListVirtualNodesRequest is the request type for the ListVirtualNodes API operation.
func (ListVirtualNodesRequest) Send ΒΆ
func (r ListVirtualNodesRequest) Send(ctx context.Context) (*ListVirtualNodesResponse, error)
Send marshals and sends the ListVirtualNodes API request.
type ListVirtualNodesResponse ΒΆ
type ListVirtualNodesResponse struct { *ListVirtualNodesOutput // contains filtered or unexported fields }
ListVirtualNodesResponse is the response type for the ListVirtualNodes API operation.
func (*ListVirtualNodesResponse) SDKResponseMetdata ΒΆ
func (r *ListVirtualNodesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListVirtualNodes request.
type ListVirtualRoutersInput ΒΆ
type ListVirtualRoutersInput struct { Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListVirtualRoutersInput) MarshalFields ΒΆ
func (s ListVirtualRoutersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListVirtualRoutersInput) String ΒΆ
func (s ListVirtualRoutersInput) String() string
String returns the string representation
func (*ListVirtualRoutersInput) Validate ΒΆ
func (s *ListVirtualRoutersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListVirtualRoutersOutput ΒΆ
type ListVirtualRoutersOutput struct { NextToken *string `locationName:"nextToken" type:"string"` // VirtualRouters is a required field VirtualRouters []VirtualRouterRef `locationName:"virtualRouters" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListVirtualRoutersOutput) MarshalFields ΒΆ
func (s ListVirtualRoutersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListVirtualRoutersOutput) String ΒΆ
func (s ListVirtualRoutersOutput) String() string
String returns the string representation
type ListVirtualRoutersPaginator ΒΆ
ListVirtualRoutersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListVirtualRoutersPaginator ΒΆ
func NewListVirtualRoutersPaginator(req ListVirtualRoutersRequest) ListVirtualRoutersPaginator
NewListVirtualRoutersRequestPaginator returns a paginator for ListVirtualRouters. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListVirtualRoutersRequest(input) p := appmesh.NewListVirtualRoutersRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListVirtualRoutersPaginator) CurrentPage ΒΆ
func (p *ListVirtualRoutersPaginator) CurrentPage() *ListVirtualRoutersOutput
type ListVirtualRoutersRequest ΒΆ
type ListVirtualRoutersRequest struct { *aws.Request Input *ListVirtualRoutersInput Copy func(*ListVirtualRoutersInput) ListVirtualRoutersRequest }
ListVirtualRoutersRequest is the request type for the ListVirtualRouters API operation.
func (ListVirtualRoutersRequest) Send ΒΆ
func (r ListVirtualRoutersRequest) Send(ctx context.Context) (*ListVirtualRoutersResponse, error)
Send marshals and sends the ListVirtualRouters API request.
type ListVirtualRoutersResponse ΒΆ
type ListVirtualRoutersResponse struct { *ListVirtualRoutersOutput // contains filtered or unexported fields }
ListVirtualRoutersResponse is the response type for the ListVirtualRouters API operation.
func (*ListVirtualRoutersResponse) SDKResponseMetdata ΒΆ
func (r *ListVirtualRoutersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListVirtualRouters request.
type ListVirtualServicesInput ΒΆ
type ListVirtualServicesInput struct { Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListVirtualServicesInput) MarshalFields ΒΆ
func (s ListVirtualServicesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListVirtualServicesInput) String ΒΆ
func (s ListVirtualServicesInput) String() string
String returns the string representation
func (*ListVirtualServicesInput) Validate ΒΆ
func (s *ListVirtualServicesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListVirtualServicesOutput ΒΆ
type ListVirtualServicesOutput struct { NextToken *string `locationName:"nextToken" type:"string"` // VirtualServices is a required field VirtualServices []VirtualServiceRef `locationName:"virtualServices" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListVirtualServicesOutput) MarshalFields ΒΆ
func (s ListVirtualServicesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListVirtualServicesOutput) String ΒΆ
func (s ListVirtualServicesOutput) String() string
String returns the string representation
type ListVirtualServicesPaginator ΒΆ
ListVirtualServicesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListVirtualServicesPaginator ΒΆ
func NewListVirtualServicesPaginator(req ListVirtualServicesRequest) ListVirtualServicesPaginator
NewListVirtualServicesRequestPaginator returns a paginator for ListVirtualServices. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListVirtualServicesRequest(input) p := appmesh.NewListVirtualServicesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListVirtualServicesPaginator) CurrentPage ΒΆ
func (p *ListVirtualServicesPaginator) CurrentPage() *ListVirtualServicesOutput
type ListVirtualServicesRequest ΒΆ
type ListVirtualServicesRequest struct { *aws.Request Input *ListVirtualServicesInput Copy func(*ListVirtualServicesInput) ListVirtualServicesRequest }
ListVirtualServicesRequest is the request type for the ListVirtualServices API operation.
func (ListVirtualServicesRequest) Send ΒΆ
func (r ListVirtualServicesRequest) Send(ctx context.Context) (*ListVirtualServicesResponse, error)
Send marshals and sends the ListVirtualServices API request.
type ListVirtualServicesResponse ΒΆ
type ListVirtualServicesResponse struct { *ListVirtualServicesOutput // contains filtered or unexported fields }
ListVirtualServicesResponse is the response type for the ListVirtualServices API operation.
func (*ListVirtualServicesResponse) SDKResponseMetdata ΒΆ
func (r *ListVirtualServicesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListVirtualServices request.
type Listener ΒΆ
type Listener struct { // An object that represents the health check policy for a virtual node's listener. HealthCheck *HealthCheckPolicy `locationName:"healthCheck" type:"structure"` // An object that represents a port mapping. // // PortMapping is a required field PortMapping *PortMapping `locationName:"portMapping" type:"structure" required:"true"` // contains filtered or unexported fields }
An object that represents a listener for a virtual node.
func (Listener) MarshalFields ΒΆ
func (s Listener) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Listener) String ΒΆ
String returns the string representation
func (*Listener) Validate ΒΆ
Validate inspects the fields of the type to determine if they are valid.
type Logging ΒΆ
type Logging struct { // An object that represents the access logging information for a virtual node. AccessLog *AccessLog `locationName:"accessLog" type:"structure"` // contains filtered or unexported fields }
An object that represents the logging information for a virtual node.
func (Logging) MarshalFields ΒΆ
func (s Logging) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Logging) String ΒΆ
String returns the string representation
func (*Logging) Validate ΒΆ
Validate inspects the fields of the type to determine if they are valid.
type MatchRange ΒΆ
type MatchRange struct { // End is a required field End *int64 `locationName:"end" type:"long" required:"true"` // Start is a required field Start *int64 `locationName:"start" type:"long" required:"true"` // contains filtered or unexported fields }
An object that represents the range of values to match on. The first character of the range is included in the range, though the last character is not. For example, if the range specified were 1-100, only values 1-99 would be matched.
func (MatchRange) MarshalFields ΒΆ
func (s MatchRange) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MatchRange) String ΒΆ
func (s MatchRange) String() string
String returns the string representation
func (*MatchRange) Validate ΒΆ
func (s *MatchRange) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MeshData ΒΆ
type MeshData struct { // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents metadata for a resource. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // An object that represents the specification of a service mesh. // // Spec is a required field Spec *MeshSpec `locationName:"spec" type:"structure" required:"true"` // An object that represents the status of a service mesh. // // Status is a required field Status *MeshStatus `locationName:"status" type:"structure" required:"true"` // contains filtered or unexported fields }
An object that represents a service mesh returned by a describe operation.
func (MeshData) MarshalFields ΒΆ
func (s MeshData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MeshData) String ΒΆ
String returns the string representation
type MeshRef ΒΆ
type MeshRef struct { // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a service mesh returned by a list operation.
func (MeshRef) MarshalFields ΒΆ
func (s MeshRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MeshRef) String ΒΆ
String returns the string representation
type MeshSpec ΒΆ
type MeshSpec struct { // An object that represents the egress filter rules for a service mesh. EgressFilter *EgressFilter `locationName:"egressFilter" type:"structure"` // contains filtered or unexported fields }
An object that represents the specification of a service mesh.
func (MeshSpec) MarshalFields ΒΆ
func (s MeshSpec) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MeshSpec) String ΒΆ
String returns the string representation
func (*MeshSpec) Validate ΒΆ
Validate inspects the fields of the type to determine if they are valid.
type MeshStatus ΒΆ
type MeshStatus struct { Status MeshStatusCode `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
An object that represents the status of a service mesh.
func (MeshStatus) MarshalFields ΒΆ
func (s MeshStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MeshStatus) String ΒΆ
func (s MeshStatus) String() string
String returns the string representation
type MeshStatusCode ΒΆ
type MeshStatusCode string
const ( MeshStatusCodeActive MeshStatusCode = "ACTIVE" MeshStatusCodeDeleted MeshStatusCode = "DELETED" MeshStatusCodeInactive MeshStatusCode = "INACTIVE" )
Enum values for MeshStatusCode
func (MeshStatusCode) MarshalValue ΒΆ
func (enum MeshStatusCode) MarshalValue() (string, error)
func (MeshStatusCode) MarshalValueBuf ΒΆ
func (enum MeshStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type PortMapping ΒΆ
type PortMapping struct { // Port is a required field Port *int64 `locationName:"port" min:"1" type:"integer" required:"true"` // Protocol is a required field Protocol PortProtocol `locationName:"protocol" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents a port mapping.
func (PortMapping) MarshalFields ΒΆ
func (s PortMapping) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PortMapping) String ΒΆ
func (s PortMapping) String() string
String returns the string representation
func (*PortMapping) Validate ΒΆ
func (s *PortMapping) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PortProtocol ΒΆ
type PortProtocol string
const ( PortProtocolGrpc PortProtocol = "grpc" PortProtocolHttp PortProtocol = "http" PortProtocolHttp2 PortProtocol = "http2" PortProtocolTcp PortProtocol = "tcp" )
Enum values for PortProtocol
func (PortProtocol) MarshalValue ΒΆ
func (enum PortProtocol) MarshalValue() (string, error)
func (PortProtocol) MarshalValueBuf ΒΆ
func (enum PortProtocol) MarshalValueBuf(b []byte) ([]byte, error)
type ResourceMetadata ΒΆ
type ResourceMetadata struct { // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // LastUpdatedAt is a required field LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" required:"true"` // Uid is a required field Uid *string `locationName:"uid" type:"string" required:"true"` // Version is a required field Version *int64 `locationName:"version" type:"long" required:"true"` // contains filtered or unexported fields }
An object that represents metadata for a resource.
func (ResourceMetadata) MarshalFields ΒΆ
func (s ResourceMetadata) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResourceMetadata) String ΒΆ
func (s ResourceMetadata) String() string
String returns the string representation
type RouteData ΒΆ
type RouteData struct { // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents metadata for a resource. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // An object that represents a route specification. Specify one route type. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // An object that represents the current status of a route. // // Status is a required field Status *RouteStatus `locationName:"status" type:"structure" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a route returned by a describe operation.
func (RouteData) MarshalFields ΒΆ
func (s RouteData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RouteData) String ΒΆ
String returns the string representation
type RouteRef ΒΆ
type RouteRef struct { // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a route returned by a list operation.
func (RouteRef) MarshalFields ΒΆ
func (s RouteRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RouteRef) String ΒΆ
String returns the string representation
type RouteSpec ΒΆ
type RouteSpec struct { // An object that represents a GRPC route type. GrpcRoute *GrpcRoute `locationName:"grpcRoute" type:"structure"` // An object that represents an HTTP or HTTP2 route type. Http2Route *HttpRoute `locationName:"http2Route" type:"structure"` // An object that represents an HTTP or HTTP2 route type. HttpRoute *HttpRoute `locationName:"httpRoute" type:"structure"` Priority *int64 `locationName:"priority" type:"integer"` // An object that represents a TCP route type. TcpRoute *TcpRoute `locationName:"tcpRoute" type:"structure"` // contains filtered or unexported fields }
An object that represents a route specification. Specify one route type.
func (RouteSpec) MarshalFields ΒΆ
func (s RouteSpec) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RouteSpec) String ΒΆ
String returns the string representation
func (*RouteSpec) Validate ΒΆ
Validate inspects the fields of the type to determine if they are valid.
type RouteStatus ΒΆ
type RouteStatus struct { // Status is a required field Status RouteStatusCode `locationName:"status" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents the current status of a route.
func (RouteStatus) MarshalFields ΒΆ
func (s RouteStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RouteStatus) String ΒΆ
func (s RouteStatus) String() string
String returns the string representation
type RouteStatusCode ΒΆ
type RouteStatusCode string
const ( RouteStatusCodeActive RouteStatusCode = "ACTIVE" RouteStatusCodeDeleted RouteStatusCode = "DELETED" RouteStatusCodeInactive RouteStatusCode = "INACTIVE" )
Enum values for RouteStatusCode
func (RouteStatusCode) MarshalValue ΒΆ
func (enum RouteStatusCode) MarshalValue() (string, error)
func (RouteStatusCode) MarshalValueBuf ΒΆ
func (enum RouteStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type ServiceDiscovery ΒΆ
type ServiceDiscovery struct { // An object that represents the AWS Cloud Map service discovery information // for your virtual node. AwsCloudMap *AwsCloudMapServiceDiscovery `locationName:"awsCloudMap" type:"structure"` // An object that represents the DNS service discovery information for your // virtual node. Dns *DnsServiceDiscovery `locationName:"dns" type:"structure"` // contains filtered or unexported fields }
An object that represents the service discovery information for a virtual node.
func (ServiceDiscovery) MarshalFields ΒΆ
func (s ServiceDiscovery) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ServiceDiscovery) String ΒΆ
func (s ServiceDiscovery) String() string
String returns the string representation
func (*ServiceDiscovery) Validate ΒΆ
func (s *ServiceDiscovery) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagRef ΒΆ
type TagRef struct { // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Optional metadata that you apply to a resource to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
func (TagRef) MarshalFields ΒΆ
func (s TagRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagRef) String ΒΆ
String returns the string representation
func (*TagRef) Validate ΒΆ
Validate inspects the fields of the type to determine if they are valid.
type TagResourceInput ΒΆ
type TagResourceInput struct { // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // Tags is a required field Tags []TagRef `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) MarshalFields ΒΆ
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceInput) String ΒΆ
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ΒΆ
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ΒΆ
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) MarshalFields ΒΆ
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) String ΒΆ
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ΒΆ
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ΒΆ
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ΒΆ
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ΒΆ
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
type TcpRetryPolicyEvent ΒΆ
type TcpRetryPolicyEvent string
const ( TcpRetryPolicyEventConnectionError TcpRetryPolicyEvent = "connection-error" )
Enum values for TcpRetryPolicyEvent
func (TcpRetryPolicyEvent) MarshalValue ΒΆ
func (enum TcpRetryPolicyEvent) MarshalValue() (string, error)
func (TcpRetryPolicyEvent) MarshalValueBuf ΒΆ
func (enum TcpRetryPolicyEvent) MarshalValueBuf(b []byte) ([]byte, error)
type TcpRoute ΒΆ
type TcpRoute struct { // An object that represents the action to take if a match is determined. // // Action is a required field Action *TcpRouteAction `locationName:"action" type:"structure" required:"true"` // contains filtered or unexported fields }
An object that represents a TCP route type.
func (TcpRoute) MarshalFields ΒΆ
func (s TcpRoute) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TcpRoute) String ΒΆ
String returns the string representation
func (*TcpRoute) Validate ΒΆ
Validate inspects the fields of the type to determine if they are valid.
type TcpRouteAction ΒΆ
type TcpRouteAction struct { // WeightedTargets is a required field WeightedTargets []WeightedTarget `locationName:"weightedTargets" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
An object that represents the action to take if a match is determined.
func (TcpRouteAction) MarshalFields ΒΆ
func (s TcpRouteAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TcpRouteAction) String ΒΆ
func (s TcpRouteAction) String() string
String returns the string representation
func (*TcpRouteAction) Validate ΒΆ
func (s *TcpRouteAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceInput ΒΆ
type UntagResourceInput struct { // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // TagKeys is a required field TagKeys []string `locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) MarshalFields ΒΆ
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceInput) String ΒΆ
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ΒΆ
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ΒΆ
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) MarshalFields ΒΆ
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) String ΒΆ
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ΒΆ
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ΒΆ
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ΒΆ
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ΒΆ
func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagResource request.
type UpdateMeshInput ΒΆ
type UpdateMeshInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents the specification of a service mesh. Spec *MeshSpec `locationName:"spec" type:"structure"` // contains filtered or unexported fields }
func (UpdateMeshInput) MarshalFields ΒΆ
func (s UpdateMeshInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateMeshInput) String ΒΆ
func (s UpdateMeshInput) String() string
String returns the string representation
func (*UpdateMeshInput) Validate ΒΆ
func (s *UpdateMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateMeshOutput ΒΆ
type UpdateMeshOutput struct { // An object that represents a service mesh returned by a describe operation. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateMeshOutput) MarshalFields ΒΆ
func (s UpdateMeshOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateMeshOutput) String ΒΆ
func (s UpdateMeshOutput) String() string
String returns the string representation
type UpdateMeshRequest ΒΆ
type UpdateMeshRequest struct { *aws.Request Input *UpdateMeshInput Copy func(*UpdateMeshInput) UpdateMeshRequest }
UpdateMeshRequest is the request type for the UpdateMesh API operation.
func (UpdateMeshRequest) Send ΒΆ
func (r UpdateMeshRequest) Send(ctx context.Context) (*UpdateMeshResponse, error)
Send marshals and sends the UpdateMesh API request.
type UpdateMeshResponse ΒΆ
type UpdateMeshResponse struct { *UpdateMeshOutput // contains filtered or unexported fields }
UpdateMeshResponse is the response type for the UpdateMesh API operation.
func (*UpdateMeshResponse) SDKResponseMetdata ΒΆ
func (r *UpdateMeshResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateMesh request.
type UpdateRouteInput ΒΆ
type UpdateRouteInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // An object that represents a route specification. Specify one route type. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateRouteInput) MarshalFields ΒΆ
func (s UpdateRouteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateRouteInput) String ΒΆ
func (s UpdateRouteInput) String() string
String returns the string representation
func (*UpdateRouteInput) Validate ΒΆ
func (s *UpdateRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateRouteOutput ΒΆ
type UpdateRouteOutput struct { // An object that represents a route returned by a describe operation. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateRouteOutput) MarshalFields ΒΆ
func (s UpdateRouteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateRouteOutput) String ΒΆ
func (s UpdateRouteOutput) String() string
String returns the string representation
type UpdateRouteRequest ΒΆ
type UpdateRouteRequest struct { *aws.Request Input *UpdateRouteInput Copy func(*UpdateRouteInput) UpdateRouteRequest }
UpdateRouteRequest is the request type for the UpdateRoute API operation.
func (UpdateRouteRequest) Send ΒΆ
func (r UpdateRouteRequest) Send(ctx context.Context) (*UpdateRouteResponse, error)
Send marshals and sends the UpdateRoute API request.
type UpdateRouteResponse ΒΆ
type UpdateRouteResponse struct { *UpdateRouteOutput // contains filtered or unexported fields }
UpdateRouteResponse is the response type for the UpdateRoute API operation.
func (*UpdateRouteResponse) SDKResponseMetdata ΒΆ
func (r *UpdateRouteResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateRoute request.
type UpdateVirtualNodeInput ΒΆ
type UpdateVirtualNodeInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents the specification of a virtual node. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualNodeInput) MarshalFields ΒΆ
func (s UpdateVirtualNodeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateVirtualNodeInput) String ΒΆ
func (s UpdateVirtualNodeInput) String() string
String returns the string representation
func (*UpdateVirtualNodeInput) Validate ΒΆ
func (s *UpdateVirtualNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateVirtualNodeOutput ΒΆ
type UpdateVirtualNodeOutput struct { // An object that represents a virtual node returned by a describe operation. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualNodeOutput) MarshalFields ΒΆ
func (s UpdateVirtualNodeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateVirtualNodeOutput) String ΒΆ
func (s UpdateVirtualNodeOutput) String() string
String returns the string representation
type UpdateVirtualNodeRequest ΒΆ
type UpdateVirtualNodeRequest struct { *aws.Request Input *UpdateVirtualNodeInput Copy func(*UpdateVirtualNodeInput) UpdateVirtualNodeRequest }
UpdateVirtualNodeRequest is the request type for the UpdateVirtualNode API operation.
func (UpdateVirtualNodeRequest) Send ΒΆ
func (r UpdateVirtualNodeRequest) Send(ctx context.Context) (*UpdateVirtualNodeResponse, error)
Send marshals and sends the UpdateVirtualNode API request.
type UpdateVirtualNodeResponse ΒΆ
type UpdateVirtualNodeResponse struct { *UpdateVirtualNodeOutput // contains filtered or unexported fields }
UpdateVirtualNodeResponse is the response type for the UpdateVirtualNode API operation.
func (*UpdateVirtualNodeResponse) SDKResponseMetdata ΒΆ
func (r *UpdateVirtualNodeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateVirtualNode request.
type UpdateVirtualRouterInput ΒΆ
type UpdateVirtualRouterInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents the specification of a virtual router. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualRouterInput) MarshalFields ΒΆ
func (s UpdateVirtualRouterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateVirtualRouterInput) String ΒΆ
func (s UpdateVirtualRouterInput) String() string
String returns the string representation
func (*UpdateVirtualRouterInput) Validate ΒΆ
func (s *UpdateVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateVirtualRouterOutput ΒΆ
type UpdateVirtualRouterOutput struct { // An object that represents a virtual router returned by a describe operation. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualRouterOutput) MarshalFields ΒΆ
func (s UpdateVirtualRouterOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateVirtualRouterOutput) String ΒΆ
func (s UpdateVirtualRouterOutput) String() string
String returns the string representation
type UpdateVirtualRouterRequest ΒΆ
type UpdateVirtualRouterRequest struct { *aws.Request Input *UpdateVirtualRouterInput Copy func(*UpdateVirtualRouterInput) UpdateVirtualRouterRequest }
UpdateVirtualRouterRequest is the request type for the UpdateVirtualRouter API operation.
func (UpdateVirtualRouterRequest) Send ΒΆ
func (r UpdateVirtualRouterRequest) Send(ctx context.Context) (*UpdateVirtualRouterResponse, error)
Send marshals and sends the UpdateVirtualRouter API request.
type UpdateVirtualRouterResponse ΒΆ
type UpdateVirtualRouterResponse struct { *UpdateVirtualRouterOutput // contains filtered or unexported fields }
UpdateVirtualRouterResponse is the response type for the UpdateVirtualRouter API operation.
func (*UpdateVirtualRouterResponse) SDKResponseMetdata ΒΆ
func (r *UpdateVirtualRouterResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateVirtualRouter request.
type UpdateVirtualServiceInput ΒΆ
type UpdateVirtualServiceInput struct { ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents the specification of a virtual service. // // Spec is a required field Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"` // VirtualServiceName is a required field VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualServiceInput) MarshalFields ΒΆ
func (s UpdateVirtualServiceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateVirtualServiceInput) String ΒΆ
func (s UpdateVirtualServiceInput) String() string
String returns the string representation
func (*UpdateVirtualServiceInput) Validate ΒΆ
func (s *UpdateVirtualServiceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateVirtualServiceOutput ΒΆ
type UpdateVirtualServiceOutput struct { // An object that represents a virtual service returned by a describe operation. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualServiceOutput) MarshalFields ΒΆ
func (s UpdateVirtualServiceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateVirtualServiceOutput) String ΒΆ
func (s UpdateVirtualServiceOutput) String() string
String returns the string representation
type UpdateVirtualServiceRequest ΒΆ
type UpdateVirtualServiceRequest struct { *aws.Request Input *UpdateVirtualServiceInput Copy func(*UpdateVirtualServiceInput) UpdateVirtualServiceRequest }
UpdateVirtualServiceRequest is the request type for the UpdateVirtualService API operation.
func (UpdateVirtualServiceRequest) Send ΒΆ
func (r UpdateVirtualServiceRequest) Send(ctx context.Context) (*UpdateVirtualServiceResponse, error)
Send marshals and sends the UpdateVirtualService API request.
type UpdateVirtualServiceResponse ΒΆ
type UpdateVirtualServiceResponse struct { *UpdateVirtualServiceOutput // contains filtered or unexported fields }
UpdateVirtualServiceResponse is the response type for the UpdateVirtualService API operation.
func (*UpdateVirtualServiceResponse) SDKResponseMetdata ΒΆ
func (r *UpdateVirtualServiceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateVirtualService request.
type VirtualNodeData ΒΆ
type VirtualNodeData struct { // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents metadata for a resource. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // An object that represents the specification of a virtual node. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // An object that represents the current status of the virtual node. // // Status is a required field Status *VirtualNodeStatus `locationName:"status" type:"structure" required:"true"` // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual node returned by a describe operation.
func (VirtualNodeData) MarshalFields ΒΆ
func (s VirtualNodeData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeData) String ΒΆ
func (s VirtualNodeData) String() string
String returns the string representation
type VirtualNodeRef ΒΆ
type VirtualNodeRef struct { // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual node returned by a list operation.
func (VirtualNodeRef) MarshalFields ΒΆ
func (s VirtualNodeRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeRef) String ΒΆ
func (s VirtualNodeRef) String() string
String returns the string representation
type VirtualNodeServiceProvider ΒΆ
type VirtualNodeServiceProvider struct { // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual node service provider.
func (VirtualNodeServiceProvider) MarshalFields ΒΆ
func (s VirtualNodeServiceProvider) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeServiceProvider) String ΒΆ
func (s VirtualNodeServiceProvider) String() string
String returns the string representation
func (*VirtualNodeServiceProvider) Validate ΒΆ
func (s *VirtualNodeServiceProvider) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualNodeSpec ΒΆ
type VirtualNodeSpec struct { Backends []Backend `locationName:"backends" type:"list"` Listeners []Listener `locationName:"listeners" type:"list"` // An object that represents the logging information for a virtual node. Logging *Logging `locationName:"logging" type:"structure"` // An object that represents the service discovery information for a virtual // node. ServiceDiscovery *ServiceDiscovery `locationName:"serviceDiscovery" type:"structure"` // contains filtered or unexported fields }
An object that represents the specification of a virtual node.
func (VirtualNodeSpec) MarshalFields ΒΆ
func (s VirtualNodeSpec) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeSpec) String ΒΆ
func (s VirtualNodeSpec) String() string
String returns the string representation
func (*VirtualNodeSpec) Validate ΒΆ
func (s *VirtualNodeSpec) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualNodeStatus ΒΆ
type VirtualNodeStatus struct { // Status is a required field Status VirtualNodeStatusCode `locationName:"status" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents the current status of the virtual node.
func (VirtualNodeStatus) MarshalFields ΒΆ
func (s VirtualNodeStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualNodeStatus) String ΒΆ
func (s VirtualNodeStatus) String() string
String returns the string representation
type VirtualNodeStatusCode ΒΆ
type VirtualNodeStatusCode string
const ( VirtualNodeStatusCodeActive VirtualNodeStatusCode = "ACTIVE" VirtualNodeStatusCodeDeleted VirtualNodeStatusCode = "DELETED" VirtualNodeStatusCodeInactive VirtualNodeStatusCode = "INACTIVE" )
Enum values for VirtualNodeStatusCode
func (VirtualNodeStatusCode) MarshalValue ΒΆ
func (enum VirtualNodeStatusCode) MarshalValue() (string, error)
func (VirtualNodeStatusCode) MarshalValueBuf ΒΆ
func (enum VirtualNodeStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type VirtualRouterData ΒΆ
type VirtualRouterData struct { // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents metadata for a resource. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // An object that represents the specification of a virtual router. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // An object that represents the status of a virtual router. // // Status is a required field Status *VirtualRouterStatus `locationName:"status" type:"structure" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual router returned by a describe operation.
func (VirtualRouterData) MarshalFields ΒΆ
func (s VirtualRouterData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualRouterData) String ΒΆ
func (s VirtualRouterData) String() string
String returns the string representation
type VirtualRouterListener ΒΆ
type VirtualRouterListener struct { // An object that represents a port mapping. // // PortMapping is a required field PortMapping *PortMapping `locationName:"portMapping" type:"structure" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual router listener.
func (VirtualRouterListener) MarshalFields ΒΆ
func (s VirtualRouterListener) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualRouterListener) String ΒΆ
func (s VirtualRouterListener) String() string
String returns the string representation
func (*VirtualRouterListener) Validate ΒΆ
func (s *VirtualRouterListener) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualRouterRef ΒΆ
type VirtualRouterRef struct { // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual router returned by a list operation.
func (VirtualRouterRef) MarshalFields ΒΆ
func (s VirtualRouterRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualRouterRef) String ΒΆ
func (s VirtualRouterRef) String() string
String returns the string representation
type VirtualRouterServiceProvider ΒΆ
type VirtualRouterServiceProvider struct { // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual node service provider.
func (VirtualRouterServiceProvider) MarshalFields ΒΆ
func (s VirtualRouterServiceProvider) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualRouterServiceProvider) String ΒΆ
func (s VirtualRouterServiceProvider) String() string
String returns the string representation
func (*VirtualRouterServiceProvider) Validate ΒΆ
func (s *VirtualRouterServiceProvider) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualRouterSpec ΒΆ
type VirtualRouterSpec struct { Listeners []VirtualRouterListener `locationName:"listeners" min:"1" type:"list"` // contains filtered or unexported fields }
An object that represents the specification of a virtual router.
func (VirtualRouterSpec) MarshalFields ΒΆ
func (s VirtualRouterSpec) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualRouterSpec) String ΒΆ
func (s VirtualRouterSpec) String() string
String returns the string representation
func (*VirtualRouterSpec) Validate ΒΆ
func (s *VirtualRouterSpec) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualRouterStatus ΒΆ
type VirtualRouterStatus struct { // Status is a required field Status VirtualRouterStatusCode `locationName:"status" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents the status of a virtual router.
func (VirtualRouterStatus) MarshalFields ΒΆ
func (s VirtualRouterStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualRouterStatus) String ΒΆ
func (s VirtualRouterStatus) String() string
String returns the string representation
type VirtualRouterStatusCode ΒΆ
type VirtualRouterStatusCode string
const ( VirtualRouterStatusCodeActive VirtualRouterStatusCode = "ACTIVE" VirtualRouterStatusCodeDeleted VirtualRouterStatusCode = "DELETED" VirtualRouterStatusCodeInactive VirtualRouterStatusCode = "INACTIVE" )
Enum values for VirtualRouterStatusCode
func (VirtualRouterStatusCode) MarshalValue ΒΆ
func (enum VirtualRouterStatusCode) MarshalValue() (string, error)
func (VirtualRouterStatusCode) MarshalValueBuf ΒΆ
func (enum VirtualRouterStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type VirtualServiceBackend ΒΆ
type VirtualServiceBackend struct { // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual service backend for a virtual node.
func (VirtualServiceBackend) MarshalFields ΒΆ
func (s VirtualServiceBackend) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualServiceBackend) String ΒΆ
func (s VirtualServiceBackend) String() string
String returns the string representation
func (*VirtualServiceBackend) Validate ΒΆ
func (s *VirtualServiceBackend) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualServiceData ΒΆ
type VirtualServiceData struct { // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object that represents metadata for a resource. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // An object that represents the specification of a virtual service. // // Spec is a required field Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"` // An object that represents the status of a virtual service. // // Status is a required field Status *VirtualServiceStatus `locationName:"status" type:"structure" required:"true"` // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual service returned by a describe operation.
func (VirtualServiceData) MarshalFields ΒΆ
func (s VirtualServiceData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualServiceData) String ΒΆ
func (s VirtualServiceData) String() string
String returns the string representation
type VirtualServiceProvider ΒΆ
type VirtualServiceProvider struct { // An object that represents a virtual node service provider. VirtualNode *VirtualNodeServiceProvider `locationName:"virtualNode" type:"structure"` // An object that represents a virtual node service provider. VirtualRouter *VirtualRouterServiceProvider `locationName:"virtualRouter" type:"structure"` // contains filtered or unexported fields }
An object that represents the provider for a virtual service.
func (VirtualServiceProvider) MarshalFields ΒΆ
func (s VirtualServiceProvider) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualServiceProvider) String ΒΆ
func (s VirtualServiceProvider) String() string
String returns the string representation
func (*VirtualServiceProvider) Validate ΒΆ
func (s *VirtualServiceProvider) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualServiceRef ΒΆ
type VirtualServiceRef struct { // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents a virtual service returned by a list operation.
func (VirtualServiceRef) MarshalFields ΒΆ
func (s VirtualServiceRef) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualServiceRef) String ΒΆ
func (s VirtualServiceRef) String() string
String returns the string representation
type VirtualServiceSpec ΒΆ
type VirtualServiceSpec struct { // An object that represents the provider for a virtual service. Provider *VirtualServiceProvider `locationName:"provider" type:"structure"` // contains filtered or unexported fields }
An object that represents the specification of a virtual service.
func (VirtualServiceSpec) MarshalFields ΒΆ
func (s VirtualServiceSpec) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualServiceSpec) String ΒΆ
func (s VirtualServiceSpec) String() string
String returns the string representation
func (*VirtualServiceSpec) Validate ΒΆ
func (s *VirtualServiceSpec) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualServiceStatus ΒΆ
type VirtualServiceStatus struct { // Status is a required field Status VirtualServiceStatusCode `locationName:"status" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
An object that represents the status of a virtual service.
func (VirtualServiceStatus) MarshalFields ΒΆ
func (s VirtualServiceStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VirtualServiceStatus) String ΒΆ
func (s VirtualServiceStatus) String() string
String returns the string representation
type VirtualServiceStatusCode ΒΆ
type VirtualServiceStatusCode string
const ( VirtualServiceStatusCodeActive VirtualServiceStatusCode = "ACTIVE" VirtualServiceStatusCodeDeleted VirtualServiceStatusCode = "DELETED" VirtualServiceStatusCodeInactive VirtualServiceStatusCode = "INACTIVE" )
Enum values for VirtualServiceStatusCode
func (VirtualServiceStatusCode) MarshalValue ΒΆ
func (enum VirtualServiceStatusCode) MarshalValue() (string, error)
func (VirtualServiceStatusCode) MarshalValueBuf ΒΆ
func (enum VirtualServiceStatusCode) MarshalValueBuf(b []byte) ([]byte, error)
type WeightedTarget ΒΆ
type WeightedTarget struct { // VirtualNode is a required field VirtualNode *string `locationName:"virtualNode" min:"1" type:"string" required:"true"` // Weight is a required field Weight *int64 `locationName:"weight" type:"integer" required:"true"` // contains filtered or unexported fields }
An object that represents a target and its relative weight. Traffic is distributed across targets according to their relative weight. For example, a weighted target with a relative weight of 50 receives five times as much traffic as one with a relative weight of 10. The total weight for all targets combined must be less than or equal to 100.
func (WeightedTarget) MarshalFields ΒΆ
func (s WeightedTarget) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (WeightedTarget) String ΒΆ
func (s WeightedTarget) String() string
String returns the string representation
func (*WeightedTarget) Validate ΒΆ
func (s *WeightedTarget) Validate() error
Validate inspects the fields of the type to determine if they are valid.
Source Files ΒΆ
api_client.go api_doc.go api_enums.go api_errors.go api_op_CreateMesh.go api_op_CreateRoute.go api_op_CreateVirtualNode.go api_op_CreateVirtualRouter.go api_op_CreateVirtualService.go api_op_DeleteMesh.go api_op_DeleteRoute.go api_op_DeleteVirtualNode.go api_op_DeleteVirtualRouter.go api_op_DeleteVirtualService.go api_op_DescribeMesh.go api_op_DescribeRoute.go api_op_DescribeVirtualNode.go api_op_DescribeVirtualRouter.go api_op_DescribeVirtualService.go api_op_ListMeshes.go api_op_ListRoutes.go api_op_ListTagsForResource.go api_op_ListVirtualNodes.go api_op_ListVirtualRouters.go api_op_ListVirtualServices.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateMesh.go api_op_UpdateRoute.go api_op_UpdateVirtualNode.go api_op_UpdateVirtualRouter.go api_op_UpdateVirtualService.go api_types.go
Directories ΒΆ
Path | Synopsis |
---|---|
service/appmesh/appmeshiface | Package appmeshiface provides an interface to enable mocking the AWS App Mesh service client for testing your code. |
- Version
- v0.19.0
- Published
- Jan 30, 2020
- Platform
- windows/amd64
- Imports
- 8 packages
- Last checked
- 2 minutes ago –
Tools for package owners.