Documentation ¶
Overview ¶
Package appmesh provides the client and types for making API requests to AWS App Mesh.
AWS App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor and control microservices. App Mesh standardizes how your microservices communicate, giving you end-to-end visibility and helping to ensure high availability for your applications.
App Mesh gives you consistent visibility and network traffic controls for every microservice in an application. You can use App Mesh with AWS Fargate, Amazon ECS, Amazon EKS, Kubernetes on AWS, and Amazon EC2.
App Mesh supports microservice applications that use service discovery naming for their components. For more information about service discovery on Amazon ECS, see Service Discovery (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html) in the Amazon Elastic Container Service Developer Guide. Kubernetes kube-dns and coredns are supported. For more information, see DNS for Services and Pods (https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/) in the Kubernetes documentation.
See https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25 for more information on this service.
See appmesh package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/appmesh/
Using the Client ¶
To contact AWS App Mesh with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS App Mesh client AppMesh for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/appmesh/#New
Index ¶
- Constants
- type AccessLog
- type AppMesh
- func (c *AppMesh) CreateMesh(input *CreateMeshInput) (*CreateMeshOutput, error)
- func (c *AppMesh) CreateMeshRequest(input *CreateMeshInput) (req *request.Request, output *CreateMeshOutput)
- func (c *AppMesh) CreateMeshWithContext(ctx aws.Context, input *CreateMeshInput, opts ...request.Option) (*CreateMeshOutput, error)
- func (c *AppMesh) CreateRoute(input *CreateRouteInput) (*CreateRouteOutput, error)
- func (c *AppMesh) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, output *CreateRouteOutput)
- func (c *AppMesh) CreateRouteWithContext(ctx aws.Context, input *CreateRouteInput, opts ...request.Option) (*CreateRouteOutput, error)
- func (c *AppMesh) CreateVirtualNode(input *CreateVirtualNodeInput) (*CreateVirtualNodeOutput, error)
- func (c *AppMesh) CreateVirtualNodeRequest(input *CreateVirtualNodeInput) (req *request.Request, output *CreateVirtualNodeOutput)
- func (c *AppMesh) CreateVirtualNodeWithContext(ctx aws.Context, input *CreateVirtualNodeInput, opts ...request.Option) (*CreateVirtualNodeOutput, error)
- func (c *AppMesh) CreateVirtualRouter(input *CreateVirtualRouterInput) (*CreateVirtualRouterOutput, error)
- func (c *AppMesh) CreateVirtualRouterRequest(input *CreateVirtualRouterInput) (req *request.Request, output *CreateVirtualRouterOutput)
- func (c *AppMesh) CreateVirtualRouterWithContext(ctx aws.Context, input *CreateVirtualRouterInput, opts ...request.Option) (*CreateVirtualRouterOutput, error)
- func (c *AppMesh) CreateVirtualService(input *CreateVirtualServiceInput) (*CreateVirtualServiceOutput, error)
- func (c *AppMesh) CreateVirtualServiceRequest(input *CreateVirtualServiceInput) (req *request.Request, output *CreateVirtualServiceOutput)
- func (c *AppMesh) CreateVirtualServiceWithContext(ctx aws.Context, input *CreateVirtualServiceInput, opts ...request.Option) (*CreateVirtualServiceOutput, error)
- func (c *AppMesh) DeleteMesh(input *DeleteMeshInput) (*DeleteMeshOutput, error)
- func (c *AppMesh) DeleteMeshRequest(input *DeleteMeshInput) (req *request.Request, output *DeleteMeshOutput)
- func (c *AppMesh) DeleteMeshWithContext(ctx aws.Context, input *DeleteMeshInput, opts ...request.Option) (*DeleteMeshOutput, error)
- func (c *AppMesh) DeleteRoute(input *DeleteRouteInput) (*DeleteRouteOutput, error)
- func (c *AppMesh) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, output *DeleteRouteOutput)
- func (c *AppMesh) DeleteRouteWithContext(ctx aws.Context, input *DeleteRouteInput, opts ...request.Option) (*DeleteRouteOutput, error)
- func (c *AppMesh) DeleteVirtualNode(input *DeleteVirtualNodeInput) (*DeleteVirtualNodeOutput, error)
- func (c *AppMesh) DeleteVirtualNodeRequest(input *DeleteVirtualNodeInput) (req *request.Request, output *DeleteVirtualNodeOutput)
- func (c *AppMesh) DeleteVirtualNodeWithContext(ctx aws.Context, input *DeleteVirtualNodeInput, opts ...request.Option) (*DeleteVirtualNodeOutput, error)
- func (c *AppMesh) DeleteVirtualRouter(input *DeleteVirtualRouterInput) (*DeleteVirtualRouterOutput, error)
- func (c *AppMesh) DeleteVirtualRouterRequest(input *DeleteVirtualRouterInput) (req *request.Request, output *DeleteVirtualRouterOutput)
- func (c *AppMesh) DeleteVirtualRouterWithContext(ctx aws.Context, input *DeleteVirtualRouterInput, opts ...request.Option) (*DeleteVirtualRouterOutput, error)
- func (c *AppMesh) DeleteVirtualService(input *DeleteVirtualServiceInput) (*DeleteVirtualServiceOutput, error)
- func (c *AppMesh) DeleteVirtualServiceRequest(input *DeleteVirtualServiceInput) (req *request.Request, output *DeleteVirtualServiceOutput)
- func (c *AppMesh) DeleteVirtualServiceWithContext(ctx aws.Context, input *DeleteVirtualServiceInput, opts ...request.Option) (*DeleteVirtualServiceOutput, error)
- func (c *AppMesh) DescribeMesh(input *DescribeMeshInput) (*DescribeMeshOutput, error)
- func (c *AppMesh) DescribeMeshRequest(input *DescribeMeshInput) (req *request.Request, output *DescribeMeshOutput)
- func (c *AppMesh) DescribeMeshWithContext(ctx aws.Context, input *DescribeMeshInput, opts ...request.Option) (*DescribeMeshOutput, error)
- func (c *AppMesh) DescribeRoute(input *DescribeRouteInput) (*DescribeRouteOutput, error)
- func (c *AppMesh) DescribeRouteRequest(input *DescribeRouteInput) (req *request.Request, output *DescribeRouteOutput)
- func (c *AppMesh) DescribeRouteWithContext(ctx aws.Context, input *DescribeRouteInput, opts ...request.Option) (*DescribeRouteOutput, error)
- func (c *AppMesh) DescribeVirtualNode(input *DescribeVirtualNodeInput) (*DescribeVirtualNodeOutput, error)
- func (c *AppMesh) DescribeVirtualNodeRequest(input *DescribeVirtualNodeInput) (req *request.Request, output *DescribeVirtualNodeOutput)
- func (c *AppMesh) DescribeVirtualNodeWithContext(ctx aws.Context, input *DescribeVirtualNodeInput, opts ...request.Option) (*DescribeVirtualNodeOutput, error)
- func (c *AppMesh) DescribeVirtualRouter(input *DescribeVirtualRouterInput) (*DescribeVirtualRouterOutput, error)
- func (c *AppMesh) DescribeVirtualRouterRequest(input *DescribeVirtualRouterInput) (req *request.Request, output *DescribeVirtualRouterOutput)
- func (c *AppMesh) DescribeVirtualRouterWithContext(ctx aws.Context, input *DescribeVirtualRouterInput, opts ...request.Option) (*DescribeVirtualRouterOutput, error)
- func (c *AppMesh) DescribeVirtualService(input *DescribeVirtualServiceInput) (*DescribeVirtualServiceOutput, error)
- func (c *AppMesh) DescribeVirtualServiceRequest(input *DescribeVirtualServiceInput) (req *request.Request, output *DescribeVirtualServiceOutput)
- func (c *AppMesh) DescribeVirtualServiceWithContext(ctx aws.Context, input *DescribeVirtualServiceInput, opts ...request.Option) (*DescribeVirtualServiceOutput, error)
- func (c *AppMesh) ListMeshes(input *ListMeshesInput) (*ListMeshesOutput, error)
- func (c *AppMesh) ListMeshesPages(input *ListMeshesInput, fn func(*ListMeshesOutput, bool) bool) error
- func (c *AppMesh) ListMeshesPagesWithContext(ctx aws.Context, input *ListMeshesInput, fn func(*ListMeshesOutput, bool) bool, ...) error
- func (c *AppMesh) ListMeshesRequest(input *ListMeshesInput) (req *request.Request, output *ListMeshesOutput)
- func (c *AppMesh) ListMeshesWithContext(ctx aws.Context, input *ListMeshesInput, opts ...request.Option) (*ListMeshesOutput, error)
- func (c *AppMesh) ListRoutes(input *ListRoutesInput) (*ListRoutesOutput, error)
- func (c *AppMesh) ListRoutesPages(input *ListRoutesInput, fn func(*ListRoutesOutput, bool) bool) error
- func (c *AppMesh) ListRoutesPagesWithContext(ctx aws.Context, input *ListRoutesInput, fn func(*ListRoutesOutput, bool) bool, ...) error
- func (c *AppMesh) ListRoutesRequest(input *ListRoutesInput) (req *request.Request, output *ListRoutesOutput)
- func (c *AppMesh) ListRoutesWithContext(ctx aws.Context, input *ListRoutesInput, opts ...request.Option) (*ListRoutesOutput, error)
- func (c *AppMesh) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *AppMesh) ListTagsForResourcePages(input *ListTagsForResourceInput, ...) error
- func (c *AppMesh) ListTagsForResourcePagesWithContext(ctx aws.Context, input *ListTagsForResourceInput, ...) error
- func (c *AppMesh) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *AppMesh) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *AppMesh) ListVirtualNodes(input *ListVirtualNodesInput) (*ListVirtualNodesOutput, error)
- func (c *AppMesh) ListVirtualNodesPages(input *ListVirtualNodesInput, fn func(*ListVirtualNodesOutput, bool) bool) error
- func (c *AppMesh) ListVirtualNodesPagesWithContext(ctx aws.Context, input *ListVirtualNodesInput, ...) error
- func (c *AppMesh) ListVirtualNodesRequest(input *ListVirtualNodesInput) (req *request.Request, output *ListVirtualNodesOutput)
- func (c *AppMesh) ListVirtualNodesWithContext(ctx aws.Context, input *ListVirtualNodesInput, opts ...request.Option) (*ListVirtualNodesOutput, error)
- func (c *AppMesh) ListVirtualRouters(input *ListVirtualRoutersInput) (*ListVirtualRoutersOutput, error)
- func (c *AppMesh) ListVirtualRoutersPages(input *ListVirtualRoutersInput, fn func(*ListVirtualRoutersOutput, bool) bool) error
- func (c *AppMesh) ListVirtualRoutersPagesWithContext(ctx aws.Context, input *ListVirtualRoutersInput, ...) error
- func (c *AppMesh) ListVirtualRoutersRequest(input *ListVirtualRoutersInput) (req *request.Request, output *ListVirtualRoutersOutput)
- func (c *AppMesh) ListVirtualRoutersWithContext(ctx aws.Context, input *ListVirtualRoutersInput, opts ...request.Option) (*ListVirtualRoutersOutput, error)
- func (c *AppMesh) ListVirtualServices(input *ListVirtualServicesInput) (*ListVirtualServicesOutput, error)
- func (c *AppMesh) ListVirtualServicesPages(input *ListVirtualServicesInput, ...) error
- func (c *AppMesh) ListVirtualServicesPagesWithContext(ctx aws.Context, input *ListVirtualServicesInput, ...) error
- func (c *AppMesh) ListVirtualServicesRequest(input *ListVirtualServicesInput) (req *request.Request, output *ListVirtualServicesOutput)
- func (c *AppMesh) ListVirtualServicesWithContext(ctx aws.Context, input *ListVirtualServicesInput, opts ...request.Option) (*ListVirtualServicesOutput, error)
- func (c *AppMesh) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *AppMesh) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *AppMesh) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *AppMesh) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *AppMesh) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *AppMesh) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *AppMesh) UpdateMesh(input *UpdateMeshInput) (*UpdateMeshOutput, error)
- func (c *AppMesh) UpdateMeshRequest(input *UpdateMeshInput) (req *request.Request, output *UpdateMeshOutput)
- func (c *AppMesh) UpdateMeshWithContext(ctx aws.Context, input *UpdateMeshInput, opts ...request.Option) (*UpdateMeshOutput, error)
- func (c *AppMesh) UpdateRoute(input *UpdateRouteInput) (*UpdateRouteOutput, error)
- func (c *AppMesh) UpdateRouteRequest(input *UpdateRouteInput) (req *request.Request, output *UpdateRouteOutput)
- func (c *AppMesh) UpdateRouteWithContext(ctx aws.Context, input *UpdateRouteInput, opts ...request.Option) (*UpdateRouteOutput, error)
- func (c *AppMesh) UpdateVirtualNode(input *UpdateVirtualNodeInput) (*UpdateVirtualNodeOutput, error)
- func (c *AppMesh) UpdateVirtualNodeRequest(input *UpdateVirtualNodeInput) (req *request.Request, output *UpdateVirtualNodeOutput)
- func (c *AppMesh) UpdateVirtualNodeWithContext(ctx aws.Context, input *UpdateVirtualNodeInput, opts ...request.Option) (*UpdateVirtualNodeOutput, error)
- func (c *AppMesh) UpdateVirtualRouter(input *UpdateVirtualRouterInput) (*UpdateVirtualRouterOutput, error)
- func (c *AppMesh) UpdateVirtualRouterRequest(input *UpdateVirtualRouterInput) (req *request.Request, output *UpdateVirtualRouterOutput)
- func (c *AppMesh) UpdateVirtualRouterWithContext(ctx aws.Context, input *UpdateVirtualRouterInput, opts ...request.Option) (*UpdateVirtualRouterOutput, error)
- func (c *AppMesh) UpdateVirtualService(input *UpdateVirtualServiceInput) (*UpdateVirtualServiceOutput, error)
- func (c *AppMesh) UpdateVirtualServiceRequest(input *UpdateVirtualServiceInput) (req *request.Request, output *UpdateVirtualServiceOutput)
- func (c *AppMesh) UpdateVirtualServiceWithContext(ctx aws.Context, input *UpdateVirtualServiceInput, opts ...request.Option) (*UpdateVirtualServiceOutput, error)
- type AwsCloudMapInstanceAttribute
- func (s AwsCloudMapInstanceAttribute) GoString() string
- func (s *AwsCloudMapInstanceAttribute) SetKey(v string) *AwsCloudMapInstanceAttribute
- func (s *AwsCloudMapInstanceAttribute) SetValue(v string) *AwsCloudMapInstanceAttribute
- func (s AwsCloudMapInstanceAttribute) String() string
- func (s *AwsCloudMapInstanceAttribute) Validate() error
- type AwsCloudMapServiceDiscovery
- func (s AwsCloudMapServiceDiscovery) GoString() string
- func (s *AwsCloudMapServiceDiscovery) SetAttributes(v []*AwsCloudMapInstanceAttribute) *AwsCloudMapServiceDiscovery
- func (s *AwsCloudMapServiceDiscovery) SetNamespaceName(v string) *AwsCloudMapServiceDiscovery
- func (s *AwsCloudMapServiceDiscovery) SetServiceName(v string) *AwsCloudMapServiceDiscovery
- func (s AwsCloudMapServiceDiscovery) String() string
- func (s *AwsCloudMapServiceDiscovery) Validate() error
- type Backend
- type CreateMeshInput
- func (s CreateMeshInput) GoString() string
- func (s *CreateMeshInput) SetClientToken(v string) *CreateMeshInput
- func (s *CreateMeshInput) SetMeshName(v string) *CreateMeshInput
- func (s *CreateMeshInput) SetSpec(v *MeshSpec) *CreateMeshInput
- func (s *CreateMeshInput) SetTags(v []*TagRef) *CreateMeshInput
- func (s CreateMeshInput) String() string
- func (s *CreateMeshInput) Validate() error
- type CreateMeshOutput
- type CreateRouteInput
- func (s CreateRouteInput) GoString() string
- func (s *CreateRouteInput) SetClientToken(v string) *CreateRouteInput
- func (s *CreateRouteInput) SetMeshName(v string) *CreateRouteInput
- func (s *CreateRouteInput) SetRouteName(v string) *CreateRouteInput
- func (s *CreateRouteInput) SetSpec(v *RouteSpec) *CreateRouteInput
- func (s *CreateRouteInput) SetTags(v []*TagRef) *CreateRouteInput
- func (s *CreateRouteInput) SetVirtualRouterName(v string) *CreateRouteInput
- func (s CreateRouteInput) String() string
- func (s *CreateRouteInput) Validate() error
- type CreateRouteOutput
- type CreateVirtualNodeInput
- func (s CreateVirtualNodeInput) GoString() string
- func (s *CreateVirtualNodeInput) SetClientToken(v string) *CreateVirtualNodeInput
- func (s *CreateVirtualNodeInput) SetMeshName(v string) *CreateVirtualNodeInput
- func (s *CreateVirtualNodeInput) SetSpec(v *VirtualNodeSpec) *CreateVirtualNodeInput
- func (s *CreateVirtualNodeInput) SetTags(v []*TagRef) *CreateVirtualNodeInput
- func (s *CreateVirtualNodeInput) SetVirtualNodeName(v string) *CreateVirtualNodeInput
- func (s CreateVirtualNodeInput) String() string
- func (s *CreateVirtualNodeInput) Validate() error
- type CreateVirtualNodeOutput
- type CreateVirtualRouterInput
- func (s CreateVirtualRouterInput) GoString() string
- func (s *CreateVirtualRouterInput) SetClientToken(v string) *CreateVirtualRouterInput
- func (s *CreateVirtualRouterInput) SetMeshName(v string) *CreateVirtualRouterInput
- func (s *CreateVirtualRouterInput) SetSpec(v *VirtualRouterSpec) *CreateVirtualRouterInput
- func (s *CreateVirtualRouterInput) SetTags(v []*TagRef) *CreateVirtualRouterInput
- func (s *CreateVirtualRouterInput) SetVirtualRouterName(v string) *CreateVirtualRouterInput
- func (s CreateVirtualRouterInput) String() string
- func (s *CreateVirtualRouterInput) Validate() error
- type CreateVirtualRouterOutput
- type CreateVirtualServiceInput
- func (s CreateVirtualServiceInput) GoString() string
- func (s *CreateVirtualServiceInput) SetClientToken(v string) *CreateVirtualServiceInput
- func (s *CreateVirtualServiceInput) SetMeshName(v string) *CreateVirtualServiceInput
- func (s *CreateVirtualServiceInput) SetSpec(v *VirtualServiceSpec) *CreateVirtualServiceInput
- func (s *CreateVirtualServiceInput) SetTags(v []*TagRef) *CreateVirtualServiceInput
- func (s *CreateVirtualServiceInput) SetVirtualServiceName(v string) *CreateVirtualServiceInput
- func (s CreateVirtualServiceInput) String() string
- func (s *CreateVirtualServiceInput) Validate() error
- type CreateVirtualServiceOutput
- type DeleteMeshInput
- type DeleteMeshOutput
- type DeleteRouteInput
- func (s DeleteRouteInput) GoString() string
- func (s *DeleteRouteInput) SetMeshName(v string) *DeleteRouteInput
- func (s *DeleteRouteInput) SetRouteName(v string) *DeleteRouteInput
- func (s *DeleteRouteInput) SetVirtualRouterName(v string) *DeleteRouteInput
- func (s DeleteRouteInput) String() string
- func (s *DeleteRouteInput) Validate() error
- type DeleteRouteOutput
- type DeleteVirtualNodeInput
- func (s DeleteVirtualNodeInput) GoString() string
- func (s *DeleteVirtualNodeInput) SetMeshName(v string) *DeleteVirtualNodeInput
- func (s *DeleteVirtualNodeInput) SetVirtualNodeName(v string) *DeleteVirtualNodeInput
- func (s DeleteVirtualNodeInput) String() string
- func (s *DeleteVirtualNodeInput) Validate() error
- type DeleteVirtualNodeOutput
- type DeleteVirtualRouterInput
- func (s DeleteVirtualRouterInput) GoString() string
- func (s *DeleteVirtualRouterInput) SetMeshName(v string) *DeleteVirtualRouterInput
- func (s *DeleteVirtualRouterInput) SetVirtualRouterName(v string) *DeleteVirtualRouterInput
- func (s DeleteVirtualRouterInput) String() string
- func (s *DeleteVirtualRouterInput) Validate() error
- type DeleteVirtualRouterOutput
- type DeleteVirtualServiceInput
- func (s DeleteVirtualServiceInput) GoString() string
- func (s *DeleteVirtualServiceInput) SetMeshName(v string) *DeleteVirtualServiceInput
- func (s *DeleteVirtualServiceInput) SetVirtualServiceName(v string) *DeleteVirtualServiceInput
- func (s DeleteVirtualServiceInput) String() string
- func (s *DeleteVirtualServiceInput) Validate() error
- type DeleteVirtualServiceOutput
- type DescribeMeshInput
- type DescribeMeshOutput
- type DescribeRouteInput
- func (s DescribeRouteInput) GoString() string
- func (s *DescribeRouteInput) SetMeshName(v string) *DescribeRouteInput
- func (s *DescribeRouteInput) SetRouteName(v string) *DescribeRouteInput
- func (s *DescribeRouteInput) SetVirtualRouterName(v string) *DescribeRouteInput
- func (s DescribeRouteInput) String() string
- func (s *DescribeRouteInput) Validate() error
- type DescribeRouteOutput
- type DescribeVirtualNodeInput
- func (s DescribeVirtualNodeInput) GoString() string
- func (s *DescribeVirtualNodeInput) SetMeshName(v string) *DescribeVirtualNodeInput
- func (s *DescribeVirtualNodeInput) SetVirtualNodeName(v string) *DescribeVirtualNodeInput
- func (s DescribeVirtualNodeInput) String() string
- func (s *DescribeVirtualNodeInput) Validate() error
- type DescribeVirtualNodeOutput
- type DescribeVirtualRouterInput
- func (s DescribeVirtualRouterInput) GoString() string
- func (s *DescribeVirtualRouterInput) SetMeshName(v string) *DescribeVirtualRouterInput
- func (s *DescribeVirtualRouterInput) SetVirtualRouterName(v string) *DescribeVirtualRouterInput
- func (s DescribeVirtualRouterInput) String() string
- func (s *DescribeVirtualRouterInput) Validate() error
- type DescribeVirtualRouterOutput
- type DescribeVirtualServiceInput
- func (s DescribeVirtualServiceInput) GoString() string
- func (s *DescribeVirtualServiceInput) SetMeshName(v string) *DescribeVirtualServiceInput
- func (s *DescribeVirtualServiceInput) SetVirtualServiceName(v string) *DescribeVirtualServiceInput
- func (s DescribeVirtualServiceInput) String() string
- func (s *DescribeVirtualServiceInput) Validate() error
- type DescribeVirtualServiceOutput
- type DnsServiceDiscovery
- type EgressFilter
- type FileAccessLog
- type HealthCheckPolicy
- func (s HealthCheckPolicy) GoString() string
- func (s *HealthCheckPolicy) SetHealthyThreshold(v int64) *HealthCheckPolicy
- func (s *HealthCheckPolicy) SetIntervalMillis(v int64) *HealthCheckPolicy
- func (s *HealthCheckPolicy) SetPath(v string) *HealthCheckPolicy
- func (s *HealthCheckPolicy) SetPort(v int64) *HealthCheckPolicy
- func (s *HealthCheckPolicy) SetProtocol(v string) *HealthCheckPolicy
- func (s *HealthCheckPolicy) SetTimeoutMillis(v int64) *HealthCheckPolicy
- func (s *HealthCheckPolicy) SetUnhealthyThreshold(v int64) *HealthCheckPolicy
- func (s HealthCheckPolicy) String() string
- func (s *HealthCheckPolicy) Validate() error
- type HttpRoute
- type HttpRouteAction
- type HttpRouteMatch
- type ListMeshesInput
- type ListMeshesOutput
- type ListRoutesInput
- func (s ListRoutesInput) GoString() string
- func (s *ListRoutesInput) SetLimit(v int64) *ListRoutesInput
- func (s *ListRoutesInput) SetMeshName(v string) *ListRoutesInput
- func (s *ListRoutesInput) SetNextToken(v string) *ListRoutesInput
- func (s *ListRoutesInput) SetVirtualRouterName(v string) *ListRoutesInput
- func (s ListRoutesInput) String() string
- func (s *ListRoutesInput) Validate() error
- type ListRoutesOutput
- type ListTagsForResourceInput
- func (s ListTagsForResourceInput) GoString() string
- func (s *ListTagsForResourceInput) SetLimit(v int64) *ListTagsForResourceInput
- func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput
- func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
- func (s ListTagsForResourceInput) String() string
- func (s *ListTagsForResourceInput) Validate() error
- type ListTagsForResourceOutput
- type ListVirtualNodesInput
- func (s ListVirtualNodesInput) GoString() string
- func (s *ListVirtualNodesInput) SetLimit(v int64) *ListVirtualNodesInput
- func (s *ListVirtualNodesInput) SetMeshName(v string) *ListVirtualNodesInput
- func (s *ListVirtualNodesInput) SetNextToken(v string) *ListVirtualNodesInput
- func (s ListVirtualNodesInput) String() string
- func (s *ListVirtualNodesInput) Validate() error
- type ListVirtualNodesOutput
- type ListVirtualRoutersInput
- func (s ListVirtualRoutersInput) GoString() string
- func (s *ListVirtualRoutersInput) SetLimit(v int64) *ListVirtualRoutersInput
- func (s *ListVirtualRoutersInput) SetMeshName(v string) *ListVirtualRoutersInput
- func (s *ListVirtualRoutersInput) SetNextToken(v string) *ListVirtualRoutersInput
- func (s ListVirtualRoutersInput) String() string
- func (s *ListVirtualRoutersInput) Validate() error
- type ListVirtualRoutersOutput
- type ListVirtualServicesInput
- func (s ListVirtualServicesInput) GoString() string
- func (s *ListVirtualServicesInput) SetLimit(v int64) *ListVirtualServicesInput
- func (s *ListVirtualServicesInput) SetMeshName(v string) *ListVirtualServicesInput
- func (s *ListVirtualServicesInput) SetNextToken(v string) *ListVirtualServicesInput
- func (s ListVirtualServicesInput) String() string
- func (s *ListVirtualServicesInput) Validate() error
- type ListVirtualServicesOutput
- type Listener
- type Logging
- type MeshData
- type MeshRef
- type MeshSpec
- type MeshStatus
- type PortMapping
- type ResourceMetadata
- func (s ResourceMetadata) GoString() string
- func (s *ResourceMetadata) SetArn(v string) *ResourceMetadata
- func (s *ResourceMetadata) SetCreatedAt(v time.Time) *ResourceMetadata
- func (s *ResourceMetadata) SetLastUpdatedAt(v time.Time) *ResourceMetadata
- func (s *ResourceMetadata) SetUid(v string) *ResourceMetadata
- func (s *ResourceMetadata) SetVersion(v int64) *ResourceMetadata
- func (s ResourceMetadata) String() string
- type RouteData
- func (s RouteData) GoString() string
- func (s *RouteData) SetMeshName(v string) *RouteData
- func (s *RouteData) SetMetadata(v *ResourceMetadata) *RouteData
- func (s *RouteData) SetRouteName(v string) *RouteData
- func (s *RouteData) SetSpec(v *RouteSpec) *RouteData
- func (s *RouteData) SetStatus(v *RouteStatus) *RouteData
- func (s *RouteData) SetVirtualRouterName(v string) *RouteData
- func (s RouteData) String() string
- type RouteRef
- type RouteSpec
- type RouteStatus
- type ServiceDiscovery
- type TagRef
- type TagResourceInput
- type TagResourceOutput
- type TcpRoute
- type TcpRouteAction
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateMeshInput
- func (s UpdateMeshInput) GoString() string
- func (s *UpdateMeshInput) SetClientToken(v string) *UpdateMeshInput
- func (s *UpdateMeshInput) SetMeshName(v string) *UpdateMeshInput
- func (s *UpdateMeshInput) SetSpec(v *MeshSpec) *UpdateMeshInput
- func (s UpdateMeshInput) String() string
- func (s *UpdateMeshInput) Validate() error
- type UpdateMeshOutput
- type UpdateRouteInput
- func (s UpdateRouteInput) GoString() string
- func (s *UpdateRouteInput) SetClientToken(v string) *UpdateRouteInput
- func (s *UpdateRouteInput) SetMeshName(v string) *UpdateRouteInput
- func (s *UpdateRouteInput) SetRouteName(v string) *UpdateRouteInput
- func (s *UpdateRouteInput) SetSpec(v *RouteSpec) *UpdateRouteInput
- func (s *UpdateRouteInput) SetVirtualRouterName(v string) *UpdateRouteInput
- func (s UpdateRouteInput) String() string
- func (s *UpdateRouteInput) Validate() error
- type UpdateRouteOutput
- type UpdateVirtualNodeInput
- func (s UpdateVirtualNodeInput) GoString() string
- func (s *UpdateVirtualNodeInput) SetClientToken(v string) *UpdateVirtualNodeInput
- func (s *UpdateVirtualNodeInput) SetMeshName(v string) *UpdateVirtualNodeInput
- func (s *UpdateVirtualNodeInput) SetSpec(v *VirtualNodeSpec) *UpdateVirtualNodeInput
- func (s *UpdateVirtualNodeInput) SetVirtualNodeName(v string) *UpdateVirtualNodeInput
- func (s UpdateVirtualNodeInput) String() string
- func (s *UpdateVirtualNodeInput) Validate() error
- type UpdateVirtualNodeOutput
- type UpdateVirtualRouterInput
- func (s UpdateVirtualRouterInput) GoString() string
- func (s *UpdateVirtualRouterInput) SetClientToken(v string) *UpdateVirtualRouterInput
- func (s *UpdateVirtualRouterInput) SetMeshName(v string) *UpdateVirtualRouterInput
- func (s *UpdateVirtualRouterInput) SetSpec(v *VirtualRouterSpec) *UpdateVirtualRouterInput
- func (s *UpdateVirtualRouterInput) SetVirtualRouterName(v string) *UpdateVirtualRouterInput
- func (s UpdateVirtualRouterInput) String() string
- func (s *UpdateVirtualRouterInput) Validate() error
- type UpdateVirtualRouterOutput
- type UpdateVirtualServiceInput
- func (s UpdateVirtualServiceInput) GoString() string
- func (s *UpdateVirtualServiceInput) SetClientToken(v string) *UpdateVirtualServiceInput
- func (s *UpdateVirtualServiceInput) SetMeshName(v string) *UpdateVirtualServiceInput
- func (s *UpdateVirtualServiceInput) SetSpec(v *VirtualServiceSpec) *UpdateVirtualServiceInput
- func (s *UpdateVirtualServiceInput) SetVirtualServiceName(v string) *UpdateVirtualServiceInput
- func (s UpdateVirtualServiceInput) String() string
- func (s *UpdateVirtualServiceInput) Validate() error
- type UpdateVirtualServiceOutput
- type VirtualNodeData
- func (s VirtualNodeData) GoString() string
- func (s *VirtualNodeData) SetMeshName(v string) *VirtualNodeData
- func (s *VirtualNodeData) SetMetadata(v *ResourceMetadata) *VirtualNodeData
- func (s *VirtualNodeData) SetSpec(v *VirtualNodeSpec) *VirtualNodeData
- func (s *VirtualNodeData) SetStatus(v *VirtualNodeStatus) *VirtualNodeData
- func (s *VirtualNodeData) SetVirtualNodeName(v string) *VirtualNodeData
- func (s VirtualNodeData) String() string
- type VirtualNodeRef
- type VirtualNodeServiceProvider
- type VirtualNodeSpec
- func (s VirtualNodeSpec) GoString() string
- func (s *VirtualNodeSpec) SetBackends(v []*Backend) *VirtualNodeSpec
- func (s *VirtualNodeSpec) SetListeners(v []*Listener) *VirtualNodeSpec
- func (s *VirtualNodeSpec) SetLogging(v *Logging) *VirtualNodeSpec
- func (s *VirtualNodeSpec) SetServiceDiscovery(v *ServiceDiscovery) *VirtualNodeSpec
- func (s VirtualNodeSpec) String() string
- func (s *VirtualNodeSpec) Validate() error
- type VirtualNodeStatus
- type VirtualRouterData
- func (s VirtualRouterData) GoString() string
- func (s *VirtualRouterData) SetMeshName(v string) *VirtualRouterData
- func (s *VirtualRouterData) SetMetadata(v *ResourceMetadata) *VirtualRouterData
- func (s *VirtualRouterData) SetSpec(v *VirtualRouterSpec) *VirtualRouterData
- func (s *VirtualRouterData) SetStatus(v *VirtualRouterStatus) *VirtualRouterData
- func (s *VirtualRouterData) SetVirtualRouterName(v string) *VirtualRouterData
- func (s VirtualRouterData) String() string
- type VirtualRouterListener
- type VirtualRouterRef
- type VirtualRouterServiceProvider
- type VirtualRouterSpec
- type VirtualRouterStatus
- type VirtualServiceBackend
- type VirtualServiceData
- func (s VirtualServiceData) GoString() string
- func (s *VirtualServiceData) SetMeshName(v string) *VirtualServiceData
- func (s *VirtualServiceData) SetMetadata(v *ResourceMetadata) *VirtualServiceData
- func (s *VirtualServiceData) SetSpec(v *VirtualServiceSpec) *VirtualServiceData
- func (s *VirtualServiceData) SetStatus(v *VirtualServiceStatus) *VirtualServiceData
- func (s *VirtualServiceData) SetVirtualServiceName(v string) *VirtualServiceData
- func (s VirtualServiceData) String() string
- type VirtualServiceProvider
- func (s VirtualServiceProvider) GoString() string
- func (s *VirtualServiceProvider) SetVirtualNode(v *VirtualNodeServiceProvider) *VirtualServiceProvider
- func (s *VirtualServiceProvider) SetVirtualRouter(v *VirtualRouterServiceProvider) *VirtualServiceProvider
- func (s VirtualServiceProvider) String() string
- func (s *VirtualServiceProvider) Validate() error
- type VirtualServiceRef
- type VirtualServiceSpec
- type VirtualServiceStatus
- type WeightedTarget
Constants ¶
const ( // EgressFilterTypeAllowAll is a EgressFilterType enum value EgressFilterTypeAllowAll = "ALLOW_ALL" // EgressFilterTypeDropAll is a EgressFilterType enum value EgressFilterTypeDropAll = "DROP_ALL" )
const ( // MeshStatusCodeActive is a MeshStatusCode enum value MeshStatusCodeActive = "ACTIVE" // MeshStatusCodeDeleted is a MeshStatusCode enum value MeshStatusCodeDeleted = "DELETED" // MeshStatusCodeInactive is a MeshStatusCode enum value MeshStatusCodeInactive = "INACTIVE" )
const ( // PortProtocolHttp is a PortProtocol enum value PortProtocolHttp = "http" // PortProtocolTcp is a PortProtocol enum value PortProtocolTcp = "tcp" )
const ( // RouteStatusCodeActive is a RouteStatusCode enum value RouteStatusCodeActive = "ACTIVE" // RouteStatusCodeDeleted is a RouteStatusCode enum value RouteStatusCodeDeleted = "DELETED" // RouteStatusCodeInactive is a RouteStatusCode enum value RouteStatusCodeInactive = "INACTIVE" )
const ( // VirtualNodeStatusCodeActive is a VirtualNodeStatusCode enum value VirtualNodeStatusCodeActive = "ACTIVE" // VirtualNodeStatusCodeDeleted is a VirtualNodeStatusCode enum value VirtualNodeStatusCodeDeleted = "DELETED" // VirtualNodeStatusCodeInactive is a VirtualNodeStatusCode enum value VirtualNodeStatusCodeInactive = "INACTIVE" )
const ( // VirtualRouterStatusCodeActive is a VirtualRouterStatusCode enum value VirtualRouterStatusCodeActive = "ACTIVE" // VirtualRouterStatusCodeDeleted is a VirtualRouterStatusCode enum value VirtualRouterStatusCodeDeleted = "DELETED" // VirtualRouterStatusCodeInactive is a VirtualRouterStatusCode enum value VirtualRouterStatusCodeInactive = "INACTIVE" )
const ( // VirtualServiceStatusCodeActive is a VirtualServiceStatusCode enum value VirtualServiceStatusCodeActive = "ACTIVE" // VirtualServiceStatusCodeDeleted is a VirtualServiceStatusCode enum value VirtualServiceStatusCodeDeleted = "DELETED" // VirtualServiceStatusCodeInactive is a VirtualServiceStatusCode enum value VirtualServiceStatusCodeInactive = "INACTIVE" )
const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // // The request syntax was malformed. Check your request syntax and try again. ErrCodeBadRequestException = "BadRequestException" // ErrCodeConflictException for service response error code // "ConflictException". // // The request contains a client token that was used for a previous update resource // call with different specifications. Try the request again with a new client // token. ErrCodeConflictException = "ConflictException" // ErrCodeForbiddenException for service response error code // "ForbiddenException". // // You don't have permissions to perform this action. ErrCodeForbiddenException = "ForbiddenException" // ErrCodeInternalServerErrorException for service response error code // "InternalServerErrorException". // // The request processing has failed because of an unknown error, exception, // or failure. ErrCodeInternalServerErrorException = "InternalServerErrorException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // You have exceeded a service limit for your account. For more information, // see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) // in the AWS App Mesh User Guide. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeNotFoundException for service response error code // "NotFoundException". // // The specified resource doesn't exist. Check your request syntax and try again. ErrCodeNotFoundException = "NotFoundException" // ErrCodeResourceInUseException for service response error code // "ResourceInUseException". // // You can't delete the specified resource because it's in use or required by // another resource. ErrCodeResourceInUseException = "ResourceInUseException" // "ServiceUnavailableException". // // The request has failed due to a temporary failure of the service. ErrCodeServiceUnavailableException = "ServiceUnavailableException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". // // The maximum request rate permitted by the App Mesh APIs has been exceeded // for your account. For best results, use an increasing or variable sleep interval // between requests. ErrCodeTooManyRequestsException = "TooManyRequestsException" // ErrCodeTooManyTagsException for service response error code // "TooManyTagsException". // // The request exceeds the maximum allowed number of tags allowed per resource. // The current limit is 50 user tags per resource. You must reduce the number // of tags in the request. None of the tags in this request were applied. ErrCodeTooManyTagsException = "TooManyTagsException" )
const ( ServiceName = "App Mesh" // Name of service. EndpointsID = "appmesh" // ID to lookup a service endpoint with. ServiceID = "App Mesh" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessLog ¶
type AccessLog struct { // The file object to send virtual node access logs to. File *FileAccessLog `locationName:"file" type:"structure"` // contains filtered or unexported fields }
An object representing the access logging information for a virtual node.
func (*AccessLog) SetFile ¶
func (s *AccessLog) SetFile(v *FileAccessLog) *AccessLog
SetFile sets the File field's value.
type AppMesh ¶
AppMesh provides the API operation methods for making requests to AWS App Mesh. See this package's package overview docs for details on the service.
AppMesh methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppMesh
New creates a new instance of the AppMesh client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a AppMesh client from just a session. svc := appmesh.New(mySession) // Create a AppMesh client with additional configuration svc := appmesh.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*AppMesh) CreateMesh ¶
func (c *AppMesh) CreateMesh(input *CreateMeshInput) (*CreateMeshOutput, error)
CreateMesh 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation CreateMesh for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeConflictException "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.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeLimitExceededException "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.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh
func (*AppMesh) CreateMeshRequest ¶
func (c *AppMesh) CreateMeshRequest(input *CreateMeshInput) (req *request.Request, output *CreateMeshOutput)
CreateMeshRequest generates a "aws/request.Request" representing the client's request for the CreateMesh operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateMesh for more information on using the CreateMesh API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateMeshRequest method. req, resp := client.CreateMeshRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh
func (*AppMesh) CreateMeshWithContext ¶
func (c *AppMesh) CreateMeshWithContext(ctx aws.Context, input *CreateMeshInput, opts ...request.Option) (*CreateMeshOutput, error)
CreateMeshWithContext is the same as CreateMesh with the addition of the ability to pass a context and additional request options.
See CreateMesh for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) CreateRoute ¶
func (c *AppMesh) CreateRoute(input *CreateRouteInput) (*CreateRouteOutput, error)
CreateRoute 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation CreateRoute for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeConflictException "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.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeLimitExceededException "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.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute
func (*AppMesh) CreateRouteRequest ¶
func (c *AppMesh) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, output *CreateRouteOutput)
CreateRouteRequest generates a "aws/request.Request" representing the client's request for the CreateRoute operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateRoute for more information on using the CreateRoute API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateRouteRequest method. req, resp := client.CreateRouteRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute
func (*AppMesh) CreateRouteWithContext ¶
func (c *AppMesh) CreateRouteWithContext(ctx aws.Context, input *CreateRouteInput, opts ...request.Option) (*CreateRouteOutput, error)
CreateRouteWithContext is the same as CreateRoute with the addition of the ability to pass a context and additional request options.
See CreateRoute for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) CreateVirtualNode ¶
func (c *AppMesh) CreateVirtualNode(input *CreateVirtualNodeInput) (*CreateVirtualNodeOutput, error)
CreateVirtualNode 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation CreateVirtualNode for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeConflictException "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.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeLimitExceededException "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.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode
func (*AppMesh) CreateVirtualNodeRequest ¶
func (c *AppMesh) CreateVirtualNodeRequest(input *CreateVirtualNodeInput) (req *request.Request, output *CreateVirtualNodeOutput)
CreateVirtualNodeRequest generates a "aws/request.Request" representing the client's request for the CreateVirtualNode operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateVirtualNode for more information on using the CreateVirtualNode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateVirtualNodeRequest method. req, resp := client.CreateVirtualNodeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode
func (*AppMesh) CreateVirtualNodeWithContext ¶
func (c *AppMesh) CreateVirtualNodeWithContext(ctx aws.Context, input *CreateVirtualNodeInput, opts ...request.Option) (*CreateVirtualNodeOutput, error)
CreateVirtualNodeWithContext is the same as CreateVirtualNode with the addition of the ability to pass a context and additional request options.
See CreateVirtualNode for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) CreateVirtualRouter ¶
func (c *AppMesh) CreateVirtualRouter(input *CreateVirtualRouterInput) (*CreateVirtualRouterOutput, error)
CreateVirtualRouter 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation CreateVirtualRouter for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeConflictException "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.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeLimitExceededException "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.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter
func (*AppMesh) CreateVirtualRouterRequest ¶
func (c *AppMesh) CreateVirtualRouterRequest(input *CreateVirtualRouterInput) (req *request.Request, output *CreateVirtualRouterOutput)
CreateVirtualRouterRequest generates a "aws/request.Request" representing the client's request for the CreateVirtualRouter operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateVirtualRouter for more information on using the CreateVirtualRouter API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateVirtualRouterRequest method. req, resp := client.CreateVirtualRouterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter
func (*AppMesh) CreateVirtualRouterWithContext ¶
func (c *AppMesh) CreateVirtualRouterWithContext(ctx aws.Context, input *CreateVirtualRouterInput, opts ...request.Option) (*CreateVirtualRouterOutput, error)
CreateVirtualRouterWithContext is the same as CreateVirtualRouter with the addition of the ability to pass a context and additional request options.
See CreateVirtualRouter for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) CreateVirtualService ¶
func (c *AppMesh) CreateVirtualService(input *CreateVirtualServiceInput) (*CreateVirtualServiceOutput, error)
CreateVirtualService 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation CreateVirtualService for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeConflictException "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.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeLimitExceededException "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.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService
func (*AppMesh) CreateVirtualServiceRequest ¶
func (c *AppMesh) CreateVirtualServiceRequest(input *CreateVirtualServiceInput) (req *request.Request, output *CreateVirtualServiceOutput)
CreateVirtualServiceRequest generates a "aws/request.Request" representing the client's request for the CreateVirtualService operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateVirtualService for more information on using the CreateVirtualService API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateVirtualServiceRequest method. req, resp := client.CreateVirtualServiceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService
func (*AppMesh) CreateVirtualServiceWithContext ¶
func (c *AppMesh) CreateVirtualServiceWithContext(ctx aws.Context, input *CreateVirtualServiceInput, opts ...request.Option) (*CreateVirtualServiceOutput, error)
CreateVirtualServiceWithContext is the same as CreateVirtualService with the addition of the ability to pass a context and additional request options.
See CreateVirtualService for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) DeleteMesh ¶
func (c *AppMesh) DeleteMesh(input *DeleteMeshInput) (*DeleteMeshOutput, error)
DeleteMesh 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation DeleteMesh for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeResourceInUseException "ResourceInUseException" You can't delete the specified resource because it's in use or required by another resource.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh
func (*AppMesh) DeleteMeshRequest ¶
func (c *AppMesh) DeleteMeshRequest(input *DeleteMeshInput) (req *request.Request, output *DeleteMeshOutput)
DeleteMeshRequest generates a "aws/request.Request" representing the client's request for the DeleteMesh operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteMesh for more information on using the DeleteMesh API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteMeshRequest method. req, resp := client.DeleteMeshRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh
func (*AppMesh) DeleteMeshWithContext ¶
func (c *AppMesh) DeleteMeshWithContext(ctx aws.Context, input *DeleteMeshInput, opts ...request.Option) (*DeleteMeshOutput, error)
DeleteMeshWithContext is the same as DeleteMesh with the addition of the ability to pass a context and additional request options.
See DeleteMesh for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) DeleteRoute ¶
func (c *AppMesh) DeleteRoute(input *DeleteRouteInput) (*DeleteRouteOutput, error)
DeleteRoute API operation for AWS App Mesh.
Deletes an existing route.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation DeleteRoute for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeResourceInUseException "ResourceInUseException" You can't delete the specified resource because it's in use or required by another resource.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute
func (*AppMesh) DeleteRouteRequest ¶
func (c *AppMesh) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, output *DeleteRouteOutput)
DeleteRouteRequest generates a "aws/request.Request" representing the client's request for the DeleteRoute operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteRoute for more information on using the DeleteRoute API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteRouteRequest method. req, resp := client.DeleteRouteRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute
func (*AppMesh) DeleteRouteWithContext ¶
func (c *AppMesh) DeleteRouteWithContext(ctx aws.Context, input *DeleteRouteInput, opts ...request.Option) (*DeleteRouteOutput, error)
DeleteRouteWithContext is the same as DeleteRoute with the addition of the ability to pass a context and additional request options.
See DeleteRoute for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) DeleteVirtualNode ¶
func (c *AppMesh) DeleteVirtualNode(input *DeleteVirtualNodeInput) (*DeleteVirtualNodeOutput, error)
DeleteVirtualNode 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation DeleteVirtualNode for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeResourceInUseException "ResourceInUseException" You can't delete the specified resource because it's in use or required by another resource.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode
func (*AppMesh) DeleteVirtualNodeRequest ¶
func (c *AppMesh) DeleteVirtualNodeRequest(input *DeleteVirtualNodeInput) (req *request.Request, output *DeleteVirtualNodeOutput)
DeleteVirtualNodeRequest generates a "aws/request.Request" representing the client's request for the DeleteVirtualNode operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteVirtualNode for more information on using the DeleteVirtualNode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteVirtualNodeRequest method. req, resp := client.DeleteVirtualNodeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode
func (*AppMesh) DeleteVirtualNodeWithContext ¶
func (c *AppMesh) DeleteVirtualNodeWithContext(ctx aws.Context, input *DeleteVirtualNodeInput, opts ...request.Option) (*DeleteVirtualNodeOutput, error)
DeleteVirtualNodeWithContext is the same as DeleteVirtualNode with the addition of the ability to pass a context and additional request options.
See DeleteVirtualNode for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) DeleteVirtualRouter ¶
func (c *AppMesh) DeleteVirtualRouter(input *DeleteVirtualRouterInput) (*DeleteVirtualRouterOutput, error)
DeleteVirtualRouter 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation DeleteVirtualRouter for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeResourceInUseException "ResourceInUseException" You can't delete the specified resource because it's in use or required by another resource.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter
func (*AppMesh) DeleteVirtualRouterRequest ¶
func (c *AppMesh) DeleteVirtualRouterRequest(input *DeleteVirtualRouterInput) (req *request.Request, output *DeleteVirtualRouterOutput)
DeleteVirtualRouterRequest generates a "aws/request.Request" representing the client's request for the DeleteVirtualRouter operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteVirtualRouter for more information on using the DeleteVirtualRouter API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteVirtualRouterRequest method. req, resp := client.DeleteVirtualRouterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter
func (*AppMesh) DeleteVirtualRouterWithContext ¶
func (c *AppMesh) DeleteVirtualRouterWithContext(ctx aws.Context, input *DeleteVirtualRouterInput, opts ...request.Option) (*DeleteVirtualRouterOutput, error)
DeleteVirtualRouterWithContext is the same as DeleteVirtualRouter with the addition of the ability to pass a context and additional request options.
See DeleteVirtualRouter for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) DeleteVirtualService ¶
func (c *AppMesh) DeleteVirtualService(input *DeleteVirtualServiceInput) (*DeleteVirtualServiceOutput, error)
DeleteVirtualService API operation for AWS App Mesh.
Deletes an existing virtual service.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation DeleteVirtualService for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService
func (*AppMesh) DeleteVirtualServiceRequest ¶
func (c *AppMesh) DeleteVirtualServiceRequest(input *DeleteVirtualServiceInput) (req *request.Request, output *DeleteVirtualServiceOutput)
DeleteVirtualServiceRequest generates a "aws/request.Request" representing the client's request for the DeleteVirtualService operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteVirtualService for more information on using the DeleteVirtualService API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteVirtualServiceRequest method. req, resp := client.DeleteVirtualServiceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService
func (*AppMesh) DeleteVirtualServiceWithContext ¶
func (c *AppMesh) DeleteVirtualServiceWithContext(ctx aws.Context, input *DeleteVirtualServiceInput, opts ...request.Option) (*DeleteVirtualServiceOutput, error)
DeleteVirtualServiceWithContext is the same as DeleteVirtualService with the addition of the ability to pass a context and additional request options.
See DeleteVirtualService for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) DescribeMesh ¶
func (c *AppMesh) DescribeMesh(input *DescribeMeshInput) (*DescribeMeshOutput, error)
DescribeMesh API operation for AWS App Mesh.
Describes an existing service mesh.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation DescribeMesh for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh
func (*AppMesh) DescribeMeshRequest ¶
func (c *AppMesh) DescribeMeshRequest(input *DescribeMeshInput) (req *request.Request, output *DescribeMeshOutput)
DescribeMeshRequest generates a "aws/request.Request" representing the client's request for the DescribeMesh operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeMesh for more information on using the DescribeMesh API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeMeshRequest method. req, resp := client.DescribeMeshRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh
func (*AppMesh) DescribeMeshWithContext ¶
func (c *AppMesh) DescribeMeshWithContext(ctx aws.Context, input *DescribeMeshInput, opts ...request.Option) (*DescribeMeshOutput, error)
DescribeMeshWithContext is the same as DescribeMesh with the addition of the ability to pass a context and additional request options.
See DescribeMesh for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) DescribeRoute ¶
func (c *AppMesh) DescribeRoute(input *DescribeRouteInput) (*DescribeRouteOutput, error)
DescribeRoute API operation for AWS App Mesh.
Describes an existing route.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation DescribeRoute for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute
func (*AppMesh) DescribeRouteRequest ¶
func (c *AppMesh) DescribeRouteRequest(input *DescribeRouteInput) (req *request.Request, output *DescribeRouteOutput)
DescribeRouteRequest generates a "aws/request.Request" representing the client's request for the DescribeRoute operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeRoute for more information on using the DescribeRoute API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeRouteRequest method. req, resp := client.DescribeRouteRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute
func (*AppMesh) DescribeRouteWithContext ¶
func (c *AppMesh) DescribeRouteWithContext(ctx aws.Context, input *DescribeRouteInput, opts ...request.Option) (*DescribeRouteOutput, error)
DescribeRouteWithContext is the same as DescribeRoute with the addition of the ability to pass a context and additional request options.
See DescribeRoute for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) DescribeVirtualNode ¶
func (c *AppMesh) DescribeVirtualNode(input *DescribeVirtualNodeInput) (*DescribeVirtualNodeOutput, error)
DescribeVirtualNode API operation for AWS App Mesh.
Describes an existing virtual node.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation DescribeVirtualNode for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode
func (*AppMesh) DescribeVirtualNodeRequest ¶
func (c *AppMesh) DescribeVirtualNodeRequest(input *DescribeVirtualNodeInput) (req *request.Request, output *DescribeVirtualNodeOutput)
DescribeVirtualNodeRequest generates a "aws/request.Request" representing the client's request for the DescribeVirtualNode operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeVirtualNode for more information on using the DescribeVirtualNode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeVirtualNodeRequest method. req, resp := client.DescribeVirtualNodeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode
func (*AppMesh) DescribeVirtualNodeWithContext ¶
func (c *AppMesh) DescribeVirtualNodeWithContext(ctx aws.Context, input *DescribeVirtualNodeInput, opts ...request.Option) (*DescribeVirtualNodeOutput, error)
DescribeVirtualNodeWithContext is the same as DescribeVirtualNode with the addition of the ability to pass a context and additional request options.
See DescribeVirtualNode for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) DescribeVirtualRouter ¶
func (c *AppMesh) DescribeVirtualRouter(input *DescribeVirtualRouterInput) (*DescribeVirtualRouterOutput, error)
DescribeVirtualRouter API operation for AWS App Mesh.
Describes an existing virtual router.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation DescribeVirtualRouter for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter
func (*AppMesh) DescribeVirtualRouterRequest ¶
func (c *AppMesh) DescribeVirtualRouterRequest(input *DescribeVirtualRouterInput) (req *request.Request, output *DescribeVirtualRouterOutput)
DescribeVirtualRouterRequest generates a "aws/request.Request" representing the client's request for the DescribeVirtualRouter operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeVirtualRouter for more information on using the DescribeVirtualRouter API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeVirtualRouterRequest method. req, resp := client.DescribeVirtualRouterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter
func (*AppMesh) DescribeVirtualRouterWithContext ¶
func (c *AppMesh) DescribeVirtualRouterWithContext(ctx aws.Context, input *DescribeVirtualRouterInput, opts ...request.Option) (*DescribeVirtualRouterOutput, error)
DescribeVirtualRouterWithContext is the same as DescribeVirtualRouter with the addition of the ability to pass a context and additional request options.
See DescribeVirtualRouter for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) DescribeVirtualService ¶
func (c *AppMesh) DescribeVirtualService(input *DescribeVirtualServiceInput) (*DescribeVirtualServiceOutput, error)
DescribeVirtualService API operation for AWS App Mesh.
Describes an existing virtual service.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation DescribeVirtualService for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService
func (*AppMesh) DescribeVirtualServiceRequest ¶
func (c *AppMesh) DescribeVirtualServiceRequest(input *DescribeVirtualServiceInput) (req *request.Request, output *DescribeVirtualServiceOutput)
DescribeVirtualServiceRequest generates a "aws/request.Request" representing the client's request for the DescribeVirtualService operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeVirtualService for more information on using the DescribeVirtualService API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeVirtualServiceRequest method. req, resp := client.DescribeVirtualServiceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService
func (*AppMesh) DescribeVirtualServiceWithContext ¶
func (c *AppMesh) DescribeVirtualServiceWithContext(ctx aws.Context, input *DescribeVirtualServiceInput, opts ...request.Option) (*DescribeVirtualServiceOutput, error)
DescribeVirtualServiceWithContext is the same as DescribeVirtualService with the addition of the ability to pass a context and additional request options.
See DescribeVirtualService for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) ListMeshes ¶
func (c *AppMesh) ListMeshes(input *ListMeshesInput) (*ListMeshesOutput, error)
ListMeshes API operation for AWS App Mesh.
Returns a list of existing service meshes.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation ListMeshes for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes
func (*AppMesh) ListMeshesPages ¶
func (c *AppMesh) ListMeshesPages(input *ListMeshesInput, fn func(*ListMeshesOutput, bool) bool) error
ListMeshesPages iterates over the pages of a ListMeshes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListMeshes method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListMeshes operation. pageNum := 0 err := client.ListMeshesPages(params, func(page *appmesh.ListMeshesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*AppMesh) ListMeshesPagesWithContext ¶
func (c *AppMesh) ListMeshesPagesWithContext(ctx aws.Context, input *ListMeshesInput, fn func(*ListMeshesOutput, bool) bool, opts ...request.Option) error
ListMeshesPagesWithContext same as ListMeshesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) ListMeshesRequest ¶
func (c *AppMesh) ListMeshesRequest(input *ListMeshesInput) (req *request.Request, output *ListMeshesOutput)
ListMeshesRequest generates a "aws/request.Request" representing the client's request for the ListMeshes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListMeshes for more information on using the ListMeshes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListMeshesRequest method. req, resp := client.ListMeshesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes
func (*AppMesh) ListMeshesWithContext ¶
func (c *AppMesh) ListMeshesWithContext(ctx aws.Context, input *ListMeshesInput, opts ...request.Option) (*ListMeshesOutput, error)
ListMeshesWithContext is the same as ListMeshes with the addition of the ability to pass a context and additional request options.
See ListMeshes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) ListRoutes ¶
func (c *AppMesh) ListRoutes(input *ListRoutesInput) (*ListRoutesOutput, error)
ListRoutes API operation for AWS App Mesh.
Returns a list of existing routes in a service mesh.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation ListRoutes for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes
func (*AppMesh) ListRoutesPages ¶
func (c *AppMesh) ListRoutesPages(input *ListRoutesInput, fn func(*ListRoutesOutput, bool) bool) error
ListRoutesPages iterates over the pages of a ListRoutes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListRoutes method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListRoutes operation. pageNum := 0 err := client.ListRoutesPages(params, func(page *appmesh.ListRoutesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*AppMesh) ListRoutesPagesWithContext ¶
func (c *AppMesh) ListRoutesPagesWithContext(ctx aws.Context, input *ListRoutesInput, fn func(*ListRoutesOutput, bool) bool, opts ...request.Option) error
ListRoutesPagesWithContext same as ListRoutesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) ListRoutesRequest ¶
func (c *AppMesh) ListRoutesRequest(input *ListRoutesInput) (req *request.Request, output *ListRoutesOutput)
ListRoutesRequest generates a "aws/request.Request" representing the client's request for the ListRoutes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListRoutes for more information on using the ListRoutes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListRoutesRequest method. req, resp := client.ListRoutesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes
func (*AppMesh) ListRoutesWithContext ¶
func (c *AppMesh) ListRoutesWithContext(ctx aws.Context, input *ListRoutesInput, opts ...request.Option) (*ListRoutesOutput, error)
ListRoutesWithContext is the same as ListRoutes with the addition of the ability to pass a context and additional request options.
See ListRoutes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) ListTagsForResource ¶
func (c *AppMesh) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for AWS App Mesh.
List the tags for an App Mesh resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation ListTagsForResource for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource
func (*AppMesh) ListTagsForResourcePages ¶
func (c *AppMesh) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error
ListTagsForResourcePages iterates over the pages of a ListTagsForResource operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTagsForResource method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListTagsForResource operation. pageNum := 0 err := client.ListTagsForResourcePages(params, func(page *appmesh.ListTagsForResourceOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*AppMesh) ListTagsForResourcePagesWithContext ¶
func (c *AppMesh) ListTagsForResourcePagesWithContext(ctx aws.Context, input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool, opts ...request.Option) error
ListTagsForResourcePagesWithContext same as ListTagsForResourcePages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) ListTagsForResourceRequest ¶
func (c *AppMesh) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource
func (*AppMesh) ListTagsForResourceWithContext ¶
func (c *AppMesh) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) ListVirtualNodes ¶
func (c *AppMesh) ListVirtualNodes(input *ListVirtualNodesInput) (*ListVirtualNodesOutput, error)
ListVirtualNodes API operation for AWS App Mesh.
Returns a list of existing virtual nodes.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation ListVirtualNodes for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes
func (*AppMesh) ListVirtualNodesPages ¶
func (c *AppMesh) ListVirtualNodesPages(input *ListVirtualNodesInput, fn func(*ListVirtualNodesOutput, bool) bool) error
ListVirtualNodesPages iterates over the pages of a ListVirtualNodes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListVirtualNodes method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListVirtualNodes operation. pageNum := 0 err := client.ListVirtualNodesPages(params, func(page *appmesh.ListVirtualNodesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*AppMesh) ListVirtualNodesPagesWithContext ¶
func (c *AppMesh) ListVirtualNodesPagesWithContext(ctx aws.Context, input *ListVirtualNodesInput, fn func(*ListVirtualNodesOutput, bool) bool, opts ...request.Option) error
ListVirtualNodesPagesWithContext same as ListVirtualNodesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) ListVirtualNodesRequest ¶
func (c *AppMesh) ListVirtualNodesRequest(input *ListVirtualNodesInput) (req *request.Request, output *ListVirtualNodesOutput)
ListVirtualNodesRequest generates a "aws/request.Request" representing the client's request for the ListVirtualNodes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListVirtualNodes for more information on using the ListVirtualNodes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListVirtualNodesRequest method. req, resp := client.ListVirtualNodesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes
func (*AppMesh) ListVirtualNodesWithContext ¶
func (c *AppMesh) ListVirtualNodesWithContext(ctx aws.Context, input *ListVirtualNodesInput, opts ...request.Option) (*ListVirtualNodesOutput, error)
ListVirtualNodesWithContext is the same as ListVirtualNodes with the addition of the ability to pass a context and additional request options.
See ListVirtualNodes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) ListVirtualRouters ¶
func (c *AppMesh) ListVirtualRouters(input *ListVirtualRoutersInput) (*ListVirtualRoutersOutput, error)
ListVirtualRouters API operation for AWS App Mesh.
Returns a list of existing virtual routers in a service mesh.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation ListVirtualRouters for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters
func (*AppMesh) ListVirtualRoutersPages ¶
func (c *AppMesh) ListVirtualRoutersPages(input *ListVirtualRoutersInput, fn func(*ListVirtualRoutersOutput, bool) bool) error
ListVirtualRoutersPages iterates over the pages of a ListVirtualRouters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListVirtualRouters method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListVirtualRouters operation. pageNum := 0 err := client.ListVirtualRoutersPages(params, func(page *appmesh.ListVirtualRoutersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*AppMesh) ListVirtualRoutersPagesWithContext ¶
func (c *AppMesh) ListVirtualRoutersPagesWithContext(ctx aws.Context, input *ListVirtualRoutersInput, fn func(*ListVirtualRoutersOutput, bool) bool, opts ...request.Option) error
ListVirtualRoutersPagesWithContext same as ListVirtualRoutersPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) ListVirtualRoutersRequest ¶
func (c *AppMesh) ListVirtualRoutersRequest(input *ListVirtualRoutersInput) (req *request.Request, output *ListVirtualRoutersOutput)
ListVirtualRoutersRequest generates a "aws/request.Request" representing the client's request for the ListVirtualRouters operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListVirtualRouters for more information on using the ListVirtualRouters API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListVirtualRoutersRequest method. req, resp := client.ListVirtualRoutersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters
func (*AppMesh) ListVirtualRoutersWithContext ¶
func (c *AppMesh) ListVirtualRoutersWithContext(ctx aws.Context, input *ListVirtualRoutersInput, opts ...request.Option) (*ListVirtualRoutersOutput, error)
ListVirtualRoutersWithContext is the same as ListVirtualRouters with the addition of the ability to pass a context and additional request options.
See ListVirtualRouters for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) ListVirtualServices ¶
func (c *AppMesh) ListVirtualServices(input *ListVirtualServicesInput) (*ListVirtualServicesOutput, error)
ListVirtualServices API operation for AWS App Mesh.
Returns a list of existing virtual services in a service mesh.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation ListVirtualServices for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices
func (*AppMesh) ListVirtualServicesPages ¶
func (c *AppMesh) ListVirtualServicesPages(input *ListVirtualServicesInput, fn func(*ListVirtualServicesOutput, bool) bool) error
ListVirtualServicesPages iterates over the pages of a ListVirtualServices operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListVirtualServices method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListVirtualServices operation. pageNum := 0 err := client.ListVirtualServicesPages(params, func(page *appmesh.ListVirtualServicesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*AppMesh) ListVirtualServicesPagesWithContext ¶
func (c *AppMesh) ListVirtualServicesPagesWithContext(ctx aws.Context, input *ListVirtualServicesInput, fn func(*ListVirtualServicesOutput, bool) bool, opts ...request.Option) error
ListVirtualServicesPagesWithContext same as ListVirtualServicesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) ListVirtualServicesRequest ¶
func (c *AppMesh) ListVirtualServicesRequest(input *ListVirtualServicesInput) (req *request.Request, output *ListVirtualServicesOutput)
ListVirtualServicesRequest generates a "aws/request.Request" representing the client's request for the ListVirtualServices operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListVirtualServices for more information on using the ListVirtualServices API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListVirtualServicesRequest method. req, resp := client.ListVirtualServicesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices
func (*AppMesh) ListVirtualServicesWithContext ¶
func (c *AppMesh) ListVirtualServicesWithContext(ctx aws.Context, input *ListVirtualServicesInput, opts ...request.Option) (*ListVirtualServicesOutput, error)
ListVirtualServicesWithContext is the same as ListVirtualServices with the addition of the ability to pass a context and additional request options.
See ListVirtualServices for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) TagResource ¶
func (c *AppMesh) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation TagResource for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyTagsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource
func (*AppMesh) TagResourceRequest ¶
func (c *AppMesh) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource
func (*AppMesh) TagResourceWithContext ¶
func (c *AppMesh) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) UntagResource ¶
func (c *AppMesh) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for AWS App Mesh.
Deletes specified tags from a resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation UntagResource for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource
func (*AppMesh) UntagResourceRequest ¶
func (c *AppMesh) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource
func (*AppMesh) UntagResourceWithContext ¶
func (c *AppMesh) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) UpdateMesh ¶
func (c *AppMesh) UpdateMesh(input *UpdateMeshInput) (*UpdateMeshOutput, error)
UpdateMesh API operation for AWS App Mesh.
Updates an existing service mesh.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation UpdateMesh for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeConflictException "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.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh
func (*AppMesh) UpdateMeshRequest ¶
func (c *AppMesh) UpdateMeshRequest(input *UpdateMeshInput) (req *request.Request, output *UpdateMeshOutput)
UpdateMeshRequest generates a "aws/request.Request" representing the client's request for the UpdateMesh operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateMesh for more information on using the UpdateMesh API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateMeshRequest method. req, resp := client.UpdateMeshRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh
func (*AppMesh) UpdateMeshWithContext ¶
func (c *AppMesh) UpdateMeshWithContext(ctx aws.Context, input *UpdateMeshInput, opts ...request.Option) (*UpdateMeshOutput, error)
UpdateMeshWithContext is the same as UpdateMesh with the addition of the ability to pass a context and additional request options.
See UpdateMesh for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) UpdateRoute ¶
func (c *AppMesh) UpdateRoute(input *UpdateRouteInput) (*UpdateRouteOutput, error)
UpdateRoute API operation for AWS App Mesh.
Updates an existing route for a specified service mesh and virtual router.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation UpdateRoute for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeConflictException "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.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeLimitExceededException "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.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute
func (*AppMesh) UpdateRouteRequest ¶
func (c *AppMesh) UpdateRouteRequest(input *UpdateRouteInput) (req *request.Request, output *UpdateRouteOutput)
UpdateRouteRequest generates a "aws/request.Request" representing the client's request for the UpdateRoute operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateRoute for more information on using the UpdateRoute API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateRouteRequest method. req, resp := client.UpdateRouteRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute
func (*AppMesh) UpdateRouteWithContext ¶
func (c *AppMesh) UpdateRouteWithContext(ctx aws.Context, input *UpdateRouteInput, opts ...request.Option) (*UpdateRouteOutput, error)
UpdateRouteWithContext is the same as UpdateRoute with the addition of the ability to pass a context and additional request options.
See UpdateRoute for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) UpdateVirtualNode ¶
func (c *AppMesh) UpdateVirtualNode(input *UpdateVirtualNodeInput) (*UpdateVirtualNodeOutput, error)
UpdateVirtualNode API operation for AWS App Mesh.
Updates an existing virtual node in a specified service mesh.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation UpdateVirtualNode for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeConflictException "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.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeLimitExceededException "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.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode
func (*AppMesh) UpdateVirtualNodeRequest ¶
func (c *AppMesh) UpdateVirtualNodeRequest(input *UpdateVirtualNodeInput) (req *request.Request, output *UpdateVirtualNodeOutput)
UpdateVirtualNodeRequest generates a "aws/request.Request" representing the client's request for the UpdateVirtualNode operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateVirtualNode for more information on using the UpdateVirtualNode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateVirtualNodeRequest method. req, resp := client.UpdateVirtualNodeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode
func (*AppMesh) UpdateVirtualNodeWithContext ¶
func (c *AppMesh) UpdateVirtualNodeWithContext(ctx aws.Context, input *UpdateVirtualNodeInput, opts ...request.Option) (*UpdateVirtualNodeOutput, error)
UpdateVirtualNodeWithContext is the same as UpdateVirtualNode with the addition of the ability to pass a context and additional request options.
See UpdateVirtualNode for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) UpdateVirtualRouter ¶
func (c *AppMesh) UpdateVirtualRouter(input *UpdateVirtualRouterInput) (*UpdateVirtualRouterOutput, error)
UpdateVirtualRouter API operation for AWS App Mesh.
Updates an existing virtual router in a specified service mesh.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation UpdateVirtualRouter for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeConflictException "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.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeLimitExceededException "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.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter
func (*AppMesh) UpdateVirtualRouterRequest ¶
func (c *AppMesh) UpdateVirtualRouterRequest(input *UpdateVirtualRouterInput) (req *request.Request, output *UpdateVirtualRouterOutput)
UpdateVirtualRouterRequest generates a "aws/request.Request" representing the client's request for the UpdateVirtualRouter operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateVirtualRouter for more information on using the UpdateVirtualRouter API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateVirtualRouterRequest method. req, resp := client.UpdateVirtualRouterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter
func (*AppMesh) UpdateVirtualRouterWithContext ¶
func (c *AppMesh) UpdateVirtualRouterWithContext(ctx aws.Context, input *UpdateVirtualRouterInput, opts ...request.Option) (*UpdateVirtualRouterOutput, error)
UpdateVirtualRouterWithContext is the same as UpdateVirtualRouter with the addition of the ability to pass a context and additional request options.
See UpdateVirtualRouter for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AppMesh) UpdateVirtualService ¶
func (c *AppMesh) UpdateVirtualService(input *UpdateVirtualServiceInput) (*UpdateVirtualServiceOutput, error)
UpdateVirtualService API operation for AWS App Mesh.
Updates an existing virtual service in a specified service mesh.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS App Mesh's API operation UpdateVirtualService for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" The request syntax was malformed. Check your request syntax and try again.
ErrCodeConflictException "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.
ErrCodeForbiddenException "ForbiddenException" You don't have permissions to perform this action.
ErrCodeInternalServerErrorException "InternalServerErrorException" The request processing has failed because of an unknown error, exception, or failure.
ErrCodeLimitExceededException "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.
ErrCodeNotFoundException "NotFoundException" The specified resource doesn't exist. Check your request syntax and try again.
ErrCodeServiceUnavailableException "ServiceUnavailableException" The request has failed due to a temporary failure of the service.
ErrCodeTooManyRequestsException "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.
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService
func (*AppMesh) UpdateVirtualServiceRequest ¶
func (c *AppMesh) UpdateVirtualServiceRequest(input *UpdateVirtualServiceInput) (req *request.Request, output *UpdateVirtualServiceOutput)
UpdateVirtualServiceRequest generates a "aws/request.Request" representing the client's request for the UpdateVirtualService operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateVirtualService for more information on using the UpdateVirtualService API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateVirtualServiceRequest method. req, resp := client.UpdateVirtualServiceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService
func (*AppMesh) UpdateVirtualServiceWithContext ¶
func (c *AppMesh) UpdateVirtualServiceWithContext(ctx aws.Context, input *UpdateVirtualServiceInput, opts ...request.Option) (*UpdateVirtualServiceOutput, error)
UpdateVirtualServiceWithContext is the same as UpdateVirtualService with the addition of the ability to pass a context and additional request options.
See UpdateVirtualService for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type AwsCloudMapInstanceAttribute ¶
type AwsCloudMapInstanceAttribute struct { // The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud // Map service instance that contains the specified key and value is returned. // // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // The value of an AWS Cloud Map service instance attribute key. Any AWS Cloud // Map service instance that contains the specified key and value is returned. // // Value is a required field Value *string `locationName:"value" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing the AWS Cloud Map attribute information for your virtual node.
func (AwsCloudMapInstanceAttribute) GoString ¶
func (s AwsCloudMapInstanceAttribute) GoString() string
GoString returns the string representation
func (*AwsCloudMapInstanceAttribute) SetKey ¶
func (s *AwsCloudMapInstanceAttribute) SetKey(v string) *AwsCloudMapInstanceAttribute
SetKey sets the Key field's value.
func (*AwsCloudMapInstanceAttribute) SetValue ¶
func (s *AwsCloudMapInstanceAttribute) SetValue(v string) *AwsCloudMapInstanceAttribute
SetValue sets the Value field's value.
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 { // A string map that contains attributes with values that you can use to filter // instances by any custom attribute that you specified when you registered // the instance. Only instances that match all of the specified key/value pairs // will be returned. Attributes []*AwsCloudMapInstanceAttribute `locationName:"attributes" type:"list"` // The name of the AWS Cloud Map namespace to use. // // NamespaceName is a required field NamespaceName *string `locationName:"namespaceName" min:"1" type:"string" required:"true"` // The name of the AWS Cloud Map service to use. // // ServiceName is a required field ServiceName *string `locationName:"serviceName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing the AWS Cloud Map service discovery information for your virtual node.
func (AwsCloudMapServiceDiscovery) GoString ¶
func (s AwsCloudMapServiceDiscovery) GoString() string
GoString returns the string representation
func (*AwsCloudMapServiceDiscovery) SetAttributes ¶
func (s *AwsCloudMapServiceDiscovery) SetAttributes(v []*AwsCloudMapInstanceAttribute) *AwsCloudMapServiceDiscovery
SetAttributes sets the Attributes field's value.
func (*AwsCloudMapServiceDiscovery) SetNamespaceName ¶
func (s *AwsCloudMapServiceDiscovery) SetNamespaceName(v string) *AwsCloudMapServiceDiscovery
SetNamespaceName sets the NamespaceName field's value.
func (*AwsCloudMapServiceDiscovery) SetServiceName ¶
func (s *AwsCloudMapServiceDiscovery) SetServiceName(v string) *AwsCloudMapServiceDiscovery
SetServiceName sets the ServiceName field's value.
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 { // Specifies a virtual service to use as a backend for a virtual node. VirtualService *VirtualServiceBackend `locationName:"virtualService" type:"structure"` // contains filtered or unexported fields }
An object representing the backends that a virtual node is expected to send outbound traffic to.
func (*Backend) SetVirtualService ¶
func (s *Backend) SetVirtualService(v *VirtualServiceBackend) *Backend
SetVirtualService sets the VirtualService field's value.
type CreateMeshInput ¶
type CreateMeshInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name to use for the service mesh. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The service mesh specification to apply. Spec *MeshSpec `locationName:"spec" type:"structure"` // Optional metadata that you can apply to the service mesh to assist with categorization // and organization. Each tag consists of a key and an optional value, both // of which you define. Tag keys can have a maximum character length of 128 // characters, and tag values can have a maximum length of 256 characters. Tags []*TagRef `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateMeshInput) GoString ¶
func (s CreateMeshInput) GoString() string
GoString returns the string representation
func (*CreateMeshInput) SetClientToken ¶
func (s *CreateMeshInput) SetClientToken(v string) *CreateMeshInput
SetClientToken sets the ClientToken field's value.
func (*CreateMeshInput) SetMeshName ¶
func (s *CreateMeshInput) SetMeshName(v string) *CreateMeshInput
SetMeshName sets the MeshName field's value.
func (*CreateMeshInput) SetSpec ¶
func (s *CreateMeshInput) SetSpec(v *MeshSpec) *CreateMeshInput
SetSpec sets the Spec field's value.
func (*CreateMeshInput) SetTags ¶
func (s *CreateMeshInput) SetTags(v []*TagRef) *CreateMeshInput
SetTags sets the Tags field's value.
func (CreateMeshInput) String ¶
func (s CreateMeshInput) String() string
String returns the string representation
func (*CreateMeshInput) Validate ¶
func (s *CreateMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMeshOutput ¶
type CreateMeshOutput struct { // The full description of your service mesh following the create call. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateMeshOutput) GoString ¶
func (s CreateMeshOutput) GoString() string
GoString returns the string representation
func (*CreateMeshOutput) SetMesh ¶
func (s *CreateMeshOutput) SetMesh(v *MeshData) *CreateMeshOutput
SetMesh sets the Mesh field's value.
func (CreateMeshOutput) String ¶
func (s CreateMeshOutput) String() string
String returns the string representation
type CreateRouteInput ¶
type CreateRouteInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh to create the route in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name to use for the route. // // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // The route specification to apply. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // Optional metadata that you can apply to the route to assist with categorization // and organization. Each tag consists of a key and an optional value, both // of which you define. Tag keys can have a maximum character length of 128 // characters, and tag values can have a maximum length of 256 characters. Tags []*TagRef `locationName:"tags" type:"list"` // The name of the virtual router in which to create the route. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateRouteInput) GoString ¶
func (s CreateRouteInput) GoString() string
GoString returns the string representation
func (*CreateRouteInput) SetClientToken ¶
func (s *CreateRouteInput) SetClientToken(v string) *CreateRouteInput
SetClientToken sets the ClientToken field's value.
func (*CreateRouteInput) SetMeshName ¶
func (s *CreateRouteInput) SetMeshName(v string) *CreateRouteInput
SetMeshName sets the MeshName field's value.
func (*CreateRouteInput) SetRouteName ¶
func (s *CreateRouteInput) SetRouteName(v string) *CreateRouteInput
SetRouteName sets the RouteName field's value.
func (*CreateRouteInput) SetSpec ¶
func (s *CreateRouteInput) SetSpec(v *RouteSpec) *CreateRouteInput
SetSpec sets the Spec field's value.
func (*CreateRouteInput) SetTags ¶
func (s *CreateRouteInput) SetTags(v []*TagRef) *CreateRouteInput
SetTags sets the Tags field's value.
func (*CreateRouteInput) SetVirtualRouterName ¶
func (s *CreateRouteInput) SetVirtualRouterName(v string) *CreateRouteInput
SetVirtualRouterName sets the VirtualRouterName field's value.
func (CreateRouteInput) String ¶
func (s CreateRouteInput) String() string
String returns the string representation
func (*CreateRouteInput) Validate ¶
func (s *CreateRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRouteOutput ¶
type CreateRouteOutput struct { // The full description of your mesh following the create call. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateRouteOutput) GoString ¶
func (s CreateRouteOutput) GoString() string
GoString returns the string representation
func (*CreateRouteOutput) SetRoute ¶
func (s *CreateRouteOutput) SetRoute(v *RouteData) *CreateRouteOutput
SetRoute sets the Route field's value.
func (CreateRouteOutput) String ¶
func (s CreateRouteOutput) String() string
String returns the string representation
type CreateVirtualNodeInput ¶
type CreateVirtualNodeInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh to create the virtual node in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The virtual node specification to apply. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // Optional metadata that you can apply to the virtual node to assist with categorization // and organization. Each tag consists of a key and an optional value, both // of which you define. Tag keys can have a maximum character length of 128 // characters, and tag values can have a maximum length of 256 characters. Tags []*TagRef `locationName:"tags" type:"list"` // The name to use for the virtual node. // // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualNodeInput) GoString ¶
func (s CreateVirtualNodeInput) GoString() string
GoString returns the string representation
func (*CreateVirtualNodeInput) SetClientToken ¶
func (s *CreateVirtualNodeInput) SetClientToken(v string) *CreateVirtualNodeInput
SetClientToken sets the ClientToken field's value.
func (*CreateVirtualNodeInput) SetMeshName ¶
func (s *CreateVirtualNodeInput) SetMeshName(v string) *CreateVirtualNodeInput
SetMeshName sets the MeshName field's value.
func (*CreateVirtualNodeInput) SetSpec ¶
func (s *CreateVirtualNodeInput) SetSpec(v *VirtualNodeSpec) *CreateVirtualNodeInput
SetSpec sets the Spec field's value.
func (*CreateVirtualNodeInput) SetTags ¶
func (s *CreateVirtualNodeInput) SetTags(v []*TagRef) *CreateVirtualNodeInput
SetTags sets the Tags field's value.
func (*CreateVirtualNodeInput) SetVirtualNodeName ¶
func (s *CreateVirtualNodeInput) SetVirtualNodeName(v string) *CreateVirtualNodeInput
SetVirtualNodeName sets the VirtualNodeName field's value.
func (CreateVirtualNodeInput) String ¶
func (s CreateVirtualNodeInput) String() string
String returns the string representation
func (*CreateVirtualNodeInput) Validate ¶
func (s *CreateVirtualNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVirtualNodeOutput ¶
type CreateVirtualNodeOutput struct { // The full description of your virtual node following the create call. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualNodeOutput) GoString ¶
func (s CreateVirtualNodeOutput) GoString() string
GoString returns the string representation
func (*CreateVirtualNodeOutput) SetVirtualNode ¶
func (s *CreateVirtualNodeOutput) SetVirtualNode(v *VirtualNodeData) *CreateVirtualNodeOutput
SetVirtualNode sets the VirtualNode field's value.
func (CreateVirtualNodeOutput) String ¶
func (s CreateVirtualNodeOutput) String() string
String returns the string representation
type CreateVirtualRouterInput ¶
type CreateVirtualRouterInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh to create the virtual router in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The virtual router specification to apply. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // Optional metadata that you can apply to the virtual router to assist with // categorization and organization. Each tag consists of a key and an optional // value, both of which you define. Tag keys can have a maximum character length // of 128 characters, and tag values can have a maximum length of 256 characters. Tags []*TagRef `locationName:"tags" type:"list"` // The name to use for the virtual router. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualRouterInput) GoString ¶
func (s CreateVirtualRouterInput) GoString() string
GoString returns the string representation
func (*CreateVirtualRouterInput) SetClientToken ¶
func (s *CreateVirtualRouterInput) SetClientToken(v string) *CreateVirtualRouterInput
SetClientToken sets the ClientToken field's value.
func (*CreateVirtualRouterInput) SetMeshName ¶
func (s *CreateVirtualRouterInput) SetMeshName(v string) *CreateVirtualRouterInput
SetMeshName sets the MeshName field's value.
func (*CreateVirtualRouterInput) SetSpec ¶
func (s *CreateVirtualRouterInput) SetSpec(v *VirtualRouterSpec) *CreateVirtualRouterInput
SetSpec sets the Spec field's value.
func (*CreateVirtualRouterInput) SetTags ¶
func (s *CreateVirtualRouterInput) SetTags(v []*TagRef) *CreateVirtualRouterInput
SetTags sets the Tags field's value.
func (*CreateVirtualRouterInput) SetVirtualRouterName ¶
func (s *CreateVirtualRouterInput) SetVirtualRouterName(v string) *CreateVirtualRouterInput
SetVirtualRouterName sets the VirtualRouterName field's value.
func (CreateVirtualRouterInput) String ¶
func (s CreateVirtualRouterInput) String() string
String returns the string representation
func (*CreateVirtualRouterInput) Validate ¶
func (s *CreateVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVirtualRouterOutput ¶
type CreateVirtualRouterOutput struct { // The full description of your virtual router following the create call. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualRouterOutput) GoString ¶
func (s CreateVirtualRouterOutput) GoString() string
GoString returns the string representation
func (*CreateVirtualRouterOutput) SetVirtualRouter ¶
func (s *CreateVirtualRouterOutput) SetVirtualRouter(v *VirtualRouterData) *CreateVirtualRouterOutput
SetVirtualRouter sets the VirtualRouter field's value.
func (CreateVirtualRouterOutput) String ¶
func (s CreateVirtualRouterOutput) String() string
String returns the string representation
type CreateVirtualServiceInput ¶
type CreateVirtualServiceInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh to create the virtual service in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The virtual service specification to apply. // // Spec is a required field Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"` // Optional metadata that you can apply to the virtual service to assist with // categorization and organization. Each tag consists of a key and an optional // value, both of which you define. Tag keys can have a maximum character length // of 128 characters, and tag values can have a maximum length of 256 characters. Tags []*TagRef `locationName:"tags" type:"list"` // The name to use for the virtual service. // // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualServiceInput) GoString ¶
func (s CreateVirtualServiceInput) GoString() string
GoString returns the string representation
func (*CreateVirtualServiceInput) SetClientToken ¶
func (s *CreateVirtualServiceInput) SetClientToken(v string) *CreateVirtualServiceInput
SetClientToken sets the ClientToken field's value.
func (*CreateVirtualServiceInput) SetMeshName ¶
func (s *CreateVirtualServiceInput) SetMeshName(v string) *CreateVirtualServiceInput
SetMeshName sets the MeshName field's value.
func (*CreateVirtualServiceInput) SetSpec ¶
func (s *CreateVirtualServiceInput) SetSpec(v *VirtualServiceSpec) *CreateVirtualServiceInput
SetSpec sets the Spec field's value.
func (*CreateVirtualServiceInput) SetTags ¶
func (s *CreateVirtualServiceInput) SetTags(v []*TagRef) *CreateVirtualServiceInput
SetTags sets the Tags field's value.
func (*CreateVirtualServiceInput) SetVirtualServiceName ¶
func (s *CreateVirtualServiceInput) SetVirtualServiceName(v string) *CreateVirtualServiceInput
SetVirtualServiceName sets the VirtualServiceName field's value.
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 { // The full description of your virtual service following the create call. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateVirtualServiceOutput) GoString ¶
func (s CreateVirtualServiceOutput) GoString() string
GoString returns the string representation
func (*CreateVirtualServiceOutput) SetVirtualService ¶
func (s *CreateVirtualServiceOutput) SetVirtualService(v *VirtualServiceData) *CreateVirtualServiceOutput
SetVirtualService sets the VirtualService field's value.
func (CreateVirtualServiceOutput) String ¶
func (s CreateVirtualServiceOutput) String() string
String returns the string representation
type DeleteMeshInput ¶
type DeleteMeshInput struct { // The name of the service mesh to delete. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteMeshInput) GoString ¶
func (s DeleteMeshInput) GoString() string
GoString returns the string representation
func (*DeleteMeshInput) SetMeshName ¶
func (s *DeleteMeshInput) SetMeshName(v string) *DeleteMeshInput
SetMeshName sets the MeshName field's value.
func (DeleteMeshInput) String ¶
func (s DeleteMeshInput) String() string
String returns the string representation
func (*DeleteMeshInput) Validate ¶
func (s *DeleteMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMeshOutput ¶
type DeleteMeshOutput struct { // The service mesh that was deleted. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteMeshOutput) GoString ¶
func (s DeleteMeshOutput) GoString() string
GoString returns the string representation
func (*DeleteMeshOutput) SetMesh ¶
func (s *DeleteMeshOutput) SetMesh(v *MeshData) *DeleteMeshOutput
SetMesh sets the Mesh field's value.
func (DeleteMeshOutput) String ¶
func (s DeleteMeshOutput) String() string
String returns the string representation
type DeleteRouteInput ¶
type DeleteRouteInput struct { // The name of the service mesh to delete the route in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route to delete. // // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // The name of the virtual router to delete the route in. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteRouteInput) GoString ¶
func (s DeleteRouteInput) GoString() string
GoString returns the string representation
func (*DeleteRouteInput) SetMeshName ¶
func (s *DeleteRouteInput) SetMeshName(v string) *DeleteRouteInput
SetMeshName sets the MeshName field's value.
func (*DeleteRouteInput) SetRouteName ¶
func (s *DeleteRouteInput) SetRouteName(v string) *DeleteRouteInput
SetRouteName sets the RouteName field's value.
func (*DeleteRouteInput) SetVirtualRouterName ¶
func (s *DeleteRouteInput) SetVirtualRouterName(v string) *DeleteRouteInput
SetVirtualRouterName sets the VirtualRouterName field's value.
func (DeleteRouteInput) String ¶
func (s DeleteRouteInput) String() string
String returns the string representation
func (*DeleteRouteInput) Validate ¶
func (s *DeleteRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRouteOutput ¶
type DeleteRouteOutput struct { // The route that was deleted. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteRouteOutput) GoString ¶
func (s DeleteRouteOutput) GoString() string
GoString returns the string representation
func (*DeleteRouteOutput) SetRoute ¶
func (s *DeleteRouteOutput) SetRoute(v *RouteData) *DeleteRouteOutput
SetRoute sets the Route field's value.
func (DeleteRouteOutput) String ¶
func (s DeleteRouteOutput) String() string
String returns the string representation
type DeleteVirtualNodeInput ¶
type DeleteVirtualNodeInput struct { // The name of the service mesh to delete the virtual node in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual node to delete. // // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualNodeInput) GoString ¶
func (s DeleteVirtualNodeInput) GoString() string
GoString returns the string representation
func (*DeleteVirtualNodeInput) SetMeshName ¶
func (s *DeleteVirtualNodeInput) SetMeshName(v string) *DeleteVirtualNodeInput
SetMeshName sets the MeshName field's value.
func (*DeleteVirtualNodeInput) SetVirtualNodeName ¶
func (s *DeleteVirtualNodeInput) SetVirtualNodeName(v string) *DeleteVirtualNodeInput
SetVirtualNodeName sets the VirtualNodeName field's value.
func (DeleteVirtualNodeInput) String ¶
func (s DeleteVirtualNodeInput) String() string
String returns the string representation
func (*DeleteVirtualNodeInput) Validate ¶
func (s *DeleteVirtualNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVirtualNodeOutput ¶
type DeleteVirtualNodeOutput struct { // The virtual node that was deleted. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualNodeOutput) GoString ¶
func (s DeleteVirtualNodeOutput) GoString() string
GoString returns the string representation
func (*DeleteVirtualNodeOutput) SetVirtualNode ¶
func (s *DeleteVirtualNodeOutput) SetVirtualNode(v *VirtualNodeData) *DeleteVirtualNodeOutput
SetVirtualNode sets the VirtualNode field's value.
func (DeleteVirtualNodeOutput) String ¶
func (s DeleteVirtualNodeOutput) String() string
String returns the string representation
type DeleteVirtualRouterInput ¶
type DeleteVirtualRouterInput struct { // The name of the service mesh to delete the virtual router in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual router to delete. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualRouterInput) GoString ¶
func (s DeleteVirtualRouterInput) GoString() string
GoString returns the string representation
func (*DeleteVirtualRouterInput) SetMeshName ¶
func (s *DeleteVirtualRouterInput) SetMeshName(v string) *DeleteVirtualRouterInput
SetMeshName sets the MeshName field's value.
func (*DeleteVirtualRouterInput) SetVirtualRouterName ¶
func (s *DeleteVirtualRouterInput) SetVirtualRouterName(v string) *DeleteVirtualRouterInput
SetVirtualRouterName sets the VirtualRouterName field's value.
func (DeleteVirtualRouterInput) String ¶
func (s DeleteVirtualRouterInput) String() string
String returns the string representation
func (*DeleteVirtualRouterInput) Validate ¶
func (s *DeleteVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVirtualRouterOutput ¶
type DeleteVirtualRouterOutput struct { // The virtual router that was deleted. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualRouterOutput) GoString ¶
func (s DeleteVirtualRouterOutput) GoString() string
GoString returns the string representation
func (*DeleteVirtualRouterOutput) SetVirtualRouter ¶
func (s *DeleteVirtualRouterOutput) SetVirtualRouter(v *VirtualRouterData) *DeleteVirtualRouterOutput
SetVirtualRouter sets the VirtualRouter field's value.
func (DeleteVirtualRouterOutput) String ¶
func (s DeleteVirtualRouterOutput) String() string
String returns the string representation
type DeleteVirtualServiceInput ¶
type DeleteVirtualServiceInput struct { // The name of the service mesh to delete the virtual service in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual service to delete. // // VirtualServiceName is a required field VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualServiceInput) GoString ¶
func (s DeleteVirtualServiceInput) GoString() string
GoString returns the string representation
func (*DeleteVirtualServiceInput) SetMeshName ¶
func (s *DeleteVirtualServiceInput) SetMeshName(v string) *DeleteVirtualServiceInput
SetMeshName sets the MeshName field's value.
func (*DeleteVirtualServiceInput) SetVirtualServiceName ¶
func (s *DeleteVirtualServiceInput) SetVirtualServiceName(v string) *DeleteVirtualServiceInput
SetVirtualServiceName sets the VirtualServiceName field's value.
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 { // The virtual service that was deleted. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteVirtualServiceOutput) GoString ¶
func (s DeleteVirtualServiceOutput) GoString() string
GoString returns the string representation
func (*DeleteVirtualServiceOutput) SetVirtualService ¶
func (s *DeleteVirtualServiceOutput) SetVirtualService(v *VirtualServiceData) *DeleteVirtualServiceOutput
SetVirtualService sets the VirtualService field's value.
func (DeleteVirtualServiceOutput) String ¶
func (s DeleteVirtualServiceOutput) String() string
String returns the string representation
type DescribeMeshInput ¶
type DescribeMeshInput struct { // The name of the service mesh to describe. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeMeshInput) GoString ¶
func (s DescribeMeshInput) GoString() string
GoString returns the string representation
func (*DescribeMeshInput) SetMeshName ¶
func (s *DescribeMeshInput) SetMeshName(v string) *DescribeMeshInput
SetMeshName sets the MeshName field's value.
func (DescribeMeshInput) String ¶
func (s DescribeMeshInput) String() string
String returns the string representation
func (*DescribeMeshInput) Validate ¶
func (s *DescribeMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeMeshOutput ¶
type DescribeMeshOutput struct { // The full description of your service mesh. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeMeshOutput) GoString ¶
func (s DescribeMeshOutput) GoString() string
GoString returns the string representation
func (*DescribeMeshOutput) SetMesh ¶
func (s *DescribeMeshOutput) SetMesh(v *MeshData) *DescribeMeshOutput
SetMesh sets the Mesh field's value.
func (DescribeMeshOutput) String ¶
func (s DescribeMeshOutput) String() string
String returns the string representation
type DescribeRouteInput ¶
type DescribeRouteInput struct { // The name of the service mesh that the route resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route to describe. // // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // The name of the virtual router that the route is associated with. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeRouteInput) GoString ¶
func (s DescribeRouteInput) GoString() string
GoString returns the string representation
func (*DescribeRouteInput) SetMeshName ¶
func (s *DescribeRouteInput) SetMeshName(v string) *DescribeRouteInput
SetMeshName sets the MeshName field's value.
func (*DescribeRouteInput) SetRouteName ¶
func (s *DescribeRouteInput) SetRouteName(v string) *DescribeRouteInput
SetRouteName sets the RouteName field's value.
func (*DescribeRouteInput) SetVirtualRouterName ¶
func (s *DescribeRouteInput) SetVirtualRouterName(v string) *DescribeRouteInput
SetVirtualRouterName sets the VirtualRouterName field's value.
func (DescribeRouteInput) String ¶
func (s DescribeRouteInput) String() string
String returns the string representation
func (*DescribeRouteInput) Validate ¶
func (s *DescribeRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRouteOutput ¶
type DescribeRouteOutput struct { // The full description of your route. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeRouteOutput) GoString ¶
func (s DescribeRouteOutput) GoString() string
GoString returns the string representation
func (*DescribeRouteOutput) SetRoute ¶
func (s *DescribeRouteOutput) SetRoute(v *RouteData) *DescribeRouteOutput
SetRoute sets the Route field's value.
func (DescribeRouteOutput) String ¶
func (s DescribeRouteOutput) String() string
String returns the string representation
type DescribeVirtualNodeInput ¶
type DescribeVirtualNodeInput struct { // The name of the service mesh that the virtual node resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual node to describe. // // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualNodeInput) GoString ¶
func (s DescribeVirtualNodeInput) GoString() string
GoString returns the string representation
func (*DescribeVirtualNodeInput) SetMeshName ¶
func (s *DescribeVirtualNodeInput) SetMeshName(v string) *DescribeVirtualNodeInput
SetMeshName sets the MeshName field's value.
func (*DescribeVirtualNodeInput) SetVirtualNodeName ¶
func (s *DescribeVirtualNodeInput) SetVirtualNodeName(v string) *DescribeVirtualNodeInput
SetVirtualNodeName sets the VirtualNodeName field's value.
func (DescribeVirtualNodeInput) String ¶
func (s DescribeVirtualNodeInput) String() string
String returns the string representation
func (*DescribeVirtualNodeInput) Validate ¶
func (s *DescribeVirtualNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVirtualNodeOutput ¶
type DescribeVirtualNodeOutput struct { // The full description of your virtual node. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualNodeOutput) GoString ¶
func (s DescribeVirtualNodeOutput) GoString() string
GoString returns the string representation
func (*DescribeVirtualNodeOutput) SetVirtualNode ¶
func (s *DescribeVirtualNodeOutput) SetVirtualNode(v *VirtualNodeData) *DescribeVirtualNodeOutput
SetVirtualNode sets the VirtualNode field's value.
func (DescribeVirtualNodeOutput) String ¶
func (s DescribeVirtualNodeOutput) String() string
String returns the string representation
type DescribeVirtualRouterInput ¶
type DescribeVirtualRouterInput struct { // The name of the service mesh that the virtual router resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual router to describe. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualRouterInput) GoString ¶
func (s DescribeVirtualRouterInput) GoString() string
GoString returns the string representation
func (*DescribeVirtualRouterInput) SetMeshName ¶
func (s *DescribeVirtualRouterInput) SetMeshName(v string) *DescribeVirtualRouterInput
SetMeshName sets the MeshName field's value.
func (*DescribeVirtualRouterInput) SetVirtualRouterName ¶
func (s *DescribeVirtualRouterInput) SetVirtualRouterName(v string) *DescribeVirtualRouterInput
SetVirtualRouterName sets the VirtualRouterName field's value.
func (DescribeVirtualRouterInput) String ¶
func (s DescribeVirtualRouterInput) String() string
String returns the string representation
func (*DescribeVirtualRouterInput) Validate ¶
func (s *DescribeVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVirtualRouterOutput ¶
type DescribeVirtualRouterOutput struct { // The full description of your virtual router. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualRouterOutput) GoString ¶
func (s DescribeVirtualRouterOutput) GoString() string
GoString returns the string representation
func (*DescribeVirtualRouterOutput) SetVirtualRouter ¶
func (s *DescribeVirtualRouterOutput) SetVirtualRouter(v *VirtualRouterData) *DescribeVirtualRouterOutput
SetVirtualRouter sets the VirtualRouter field's value.
func (DescribeVirtualRouterOutput) String ¶
func (s DescribeVirtualRouterOutput) String() string
String returns the string representation
type DescribeVirtualServiceInput ¶
type DescribeVirtualServiceInput struct { // The name of the service mesh that the virtual service resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual service to describe. // // VirtualServiceName is a required field VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualServiceInput) GoString ¶
func (s DescribeVirtualServiceInput) GoString() string
GoString returns the string representation
func (*DescribeVirtualServiceInput) SetMeshName ¶
func (s *DescribeVirtualServiceInput) SetMeshName(v string) *DescribeVirtualServiceInput
SetMeshName sets the MeshName field's value.
func (*DescribeVirtualServiceInput) SetVirtualServiceName ¶
func (s *DescribeVirtualServiceInput) SetVirtualServiceName(v string) *DescribeVirtualServiceInput
SetVirtualServiceName sets the VirtualServiceName field's value.
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 { // The full description of your virtual service. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeVirtualServiceOutput) GoString ¶
func (s DescribeVirtualServiceOutput) GoString() string
GoString returns the string representation
func (*DescribeVirtualServiceOutput) SetVirtualService ¶
func (s *DescribeVirtualServiceOutput) SetVirtualService(v *VirtualServiceData) *DescribeVirtualServiceOutput
SetVirtualService sets the VirtualService field's value.
func (DescribeVirtualServiceOutput) String ¶
func (s DescribeVirtualServiceOutput) String() string
String returns the string representation
type DnsServiceDiscovery ¶
type DnsServiceDiscovery struct { // Specifies the DNS service discovery hostname for the virtual node. // // Hostname is a required field Hostname *string `locationName:"hostname" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing the DNS service discovery information for your virtual node.
func (DnsServiceDiscovery) GoString ¶
func (s DnsServiceDiscovery) GoString() string
GoString returns the string representation
func (*DnsServiceDiscovery) SetHostname ¶
func (s *DnsServiceDiscovery) SetHostname(v string) *DnsServiceDiscovery
SetHostname sets the Hostname field's value.
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 EgressFilter ¶
type EgressFilter struct { // The egress filter type. By default, the type is DROP_ALL, which allows egress // only from virtual nodes to other defined resources in the service mesh (and // any traffic to *.amazonaws.com for AWS API calls). You can set the egress // filter type to ALLOW_ALL to allow egress to any endpoint inside or outside // of the service mesh. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"EgressFilterType"` // contains filtered or unexported fields }
An object representing the egress filter rules for a service mesh.
func (EgressFilter) GoString ¶
func (s EgressFilter) GoString() string
GoString returns the string representation
func (*EgressFilter) SetType ¶
func (s *EgressFilter) SetType(v string) *EgressFilter
SetType sets the Type field's value.
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 FileAccessLog ¶
type FileAccessLog struct { // The file path to write access logs to. You can use /dev/stdout to send access // logs to standard out and configure your Envoy container to use a log driver, // such as awslogs, to export the access logs to a log storage service such // as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's // file system to write the files to disk. // // The Envoy process must have write permissions to the path that you specify // here. Otherwise, Envoy fails to bootstrap properly. // // Path is a required field Path *string `locationName:"path" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing an access log file.
func (FileAccessLog) GoString ¶
func (s FileAccessLog) GoString() string
GoString returns the string representation
func (*FileAccessLog) SetPath ¶
func (s *FileAccessLog) SetPath(v string) *FileAccessLog
SetPath sets the Path field's value.
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 HealthCheckPolicy ¶
type HealthCheckPolicy struct { // The number of consecutive successful health checks that must occur before // declaring listener healthy. // // HealthyThreshold is a required field HealthyThreshold *int64 `locationName:"healthyThreshold" min:"2" type:"integer" required:"true"` // The time period in milliseconds between each health check execution. // // IntervalMillis is a required field IntervalMillis *int64 `locationName:"intervalMillis" min:"5000" type:"long" required:"true"` // The destination path for the health check request. This is required only // if the specified protocol is HTTP. If the protocol is TCP, this parameter // is ignored. Path *string `locationName:"path" type:"string"` // The destination port for the health check request. This port must match the // port defined in the PortMapping for the listener. Port *int64 `locationName:"port" min:"1" type:"integer"` // The protocol for the health check request. // // Protocol is a required field Protocol *string `locationName:"protocol" type:"string" required:"true" enum:"PortProtocol"` // The amount of time to wait when receiving a response from the health check, // in milliseconds. // // TimeoutMillis is a required field TimeoutMillis *int64 `locationName:"timeoutMillis" min:"2000" type:"long" required:"true"` // The number of consecutive failed health checks that must occur before declaring // a virtual node unhealthy. // // UnhealthyThreshold is a required field UnhealthyThreshold *int64 `locationName:"unhealthyThreshold" min:"2" type:"integer" required:"true"` // contains filtered or unexported fields }
An object representing the health check policy for a virtual node's listener.
func (HealthCheckPolicy) GoString ¶
func (s HealthCheckPolicy) GoString() string
GoString returns the string representation
func (*HealthCheckPolicy) SetHealthyThreshold ¶
func (s *HealthCheckPolicy) SetHealthyThreshold(v int64) *HealthCheckPolicy
SetHealthyThreshold sets the HealthyThreshold field's value.
func (*HealthCheckPolicy) SetIntervalMillis ¶
func (s *HealthCheckPolicy) SetIntervalMillis(v int64) *HealthCheckPolicy
SetIntervalMillis sets the IntervalMillis field's value.
func (*HealthCheckPolicy) SetPath ¶
func (s *HealthCheckPolicy) SetPath(v string) *HealthCheckPolicy
SetPath sets the Path field's value.
func (*HealthCheckPolicy) SetPort ¶
func (s *HealthCheckPolicy) SetPort(v int64) *HealthCheckPolicy
SetPort sets the Port field's value.
func (*HealthCheckPolicy) SetProtocol ¶
func (s *HealthCheckPolicy) SetProtocol(v string) *HealthCheckPolicy
SetProtocol sets the Protocol field's value.
func (*HealthCheckPolicy) SetTimeoutMillis ¶
func (s *HealthCheckPolicy) SetTimeoutMillis(v int64) *HealthCheckPolicy
SetTimeoutMillis sets the TimeoutMillis field's value.
func (*HealthCheckPolicy) SetUnhealthyThreshold ¶
func (s *HealthCheckPolicy) SetUnhealthyThreshold(v int64) *HealthCheckPolicy
SetUnhealthyThreshold sets the UnhealthyThreshold field's value.
func (HealthCheckPolicy) String ¶
func (s HealthCheckPolicy) String() string
String returns the string representation
func (*HealthCheckPolicy) Validate ¶
func (s *HealthCheckPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpRoute ¶
type HttpRoute struct { // The action to take if a match is determined. // // Action is a required field Action *HttpRouteAction `locationName:"action" type:"structure" required:"true"` // The criteria for determining an HTTP request match. // // Match is a required field Match *HttpRouteMatch `locationName:"match" type:"structure" required:"true"` // contains filtered or unexported fields }
An object representing the HTTP routing specification for a route.
func (*HttpRoute) SetAction ¶
func (s *HttpRoute) SetAction(v *HttpRouteAction) *HttpRoute
SetAction sets the Action field's value.
func (*HttpRoute) SetMatch ¶
func (s *HttpRoute) SetMatch(v *HttpRouteMatch) *HttpRoute
SetMatch sets the Match field's value.
type HttpRouteAction ¶
type HttpRouteAction struct { // The targets that traffic is routed to when a request matches the route. You // can specify one or more targets and their relative weights to distribute // traffic with. // // WeightedTargets is a required field WeightedTargets []*WeightedTarget `locationName:"weightedTargets" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
An object representing the traffic distribution requirements for matched HTTP requests.
func (HttpRouteAction) GoString ¶
func (s HttpRouteAction) GoString() string
GoString returns the string representation
func (*HttpRouteAction) SetWeightedTargets ¶
func (s *HttpRouteAction) SetWeightedTargets(v []*WeightedTarget) *HttpRouteAction
SetWeightedTargets sets the WeightedTargets field's value.
func (HttpRouteAction) String ¶
func (s HttpRouteAction) String() string
String returns the string representation
func (*HttpRouteAction) Validate ¶
func (s *HttpRouteAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HttpRouteMatch ¶
type HttpRouteMatch struct { // Specifies the path to match requests with. This parameter must always start // with /, which by itself matches all requests to the virtual service name. // You can also match for path-based routing of requests. For example, if your // virtual service name is my-service.local and you want the route to match // requests to my-service.local/metrics, your prefix should be /metrics. // // Prefix is a required field Prefix *string `locationName:"prefix" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing the requirements for a route to match HTTP requests for a virtual router.
func (HttpRouteMatch) GoString ¶
func (s HttpRouteMatch) GoString() string
GoString returns the string representation
func (*HttpRouteMatch) SetPrefix ¶
func (s *HttpRouteMatch) SetPrefix(v string) *HttpRouteMatch
SetPrefix sets the Prefix field's value.
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 ListMeshesInput ¶
type ListMeshesInput struct { // The maximum number of results returned by ListMeshes in paginated output. // When you use this parameter, ListMeshes returns only limit results in a single // page along with a nextToken response element. You can see the remaining results // of the initial request by sending another ListMeshes request with the returned // nextToken value. This value can be between 1 and 100. If you don't use this // parameter, ListMeshes returns up to 100 results and a nextToken value if // applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The nextToken value returned from a previous paginated ListMeshes request // where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. // // This token should be treated as an opaque identifier that is used only to // retrieve the next items in a list and not for other programmatic purposes. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListMeshesInput) GoString ¶
func (s ListMeshesInput) GoString() string
GoString returns the string representation
func (*ListMeshesInput) SetLimit ¶
func (s *ListMeshesInput) SetLimit(v int64) *ListMeshesInput
SetLimit sets the Limit field's value.
func (*ListMeshesInput) SetNextToken ¶
func (s *ListMeshesInput) SetNextToken(v string) *ListMeshesInput
SetNextToken sets the NextToken field's value.
func (ListMeshesInput) String ¶
func (s ListMeshesInput) String() string
String returns the string representation
func (*ListMeshesInput) Validate ¶
func (s *ListMeshesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMeshesOutput ¶
type ListMeshesOutput struct { // The list of existing service meshes. // // Meshes is a required field Meshes []*MeshRef `locationName:"meshes" type:"list" required:"true"` // The nextToken value to include in a future ListMeshes request. When the results // of a ListMeshes request exceed limit, you can use this value to retrieve // the next page of results. This value is null when there are no more results // to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListMeshesOutput) GoString ¶
func (s ListMeshesOutput) GoString() string
GoString returns the string representation
func (*ListMeshesOutput) SetMeshes ¶
func (s *ListMeshesOutput) SetMeshes(v []*MeshRef) *ListMeshesOutput
SetMeshes sets the Meshes field's value.
func (*ListMeshesOutput) SetNextToken ¶
func (s *ListMeshesOutput) SetNextToken(v string) *ListMeshesOutput
SetNextToken sets the NextToken field's value.
func (ListMeshesOutput) String ¶
func (s ListMeshesOutput) String() string
String returns the string representation
type ListRoutesInput ¶
type ListRoutesInput struct { // The maximum number of results returned by ListRoutes in paginated output. // When you use this parameter, ListRoutes returns only limit results in a single // page along with a nextToken response element. You can see the remaining results // of the initial request by sending another ListRoutes request with the returned // nextToken value. This value can be between 1 and 100. If you don't use this // parameter, ListRoutes returns up to 100 results and a nextToken value if // applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh to list routes in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListRoutes request // where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The name of the virtual router to list routes in. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListRoutesInput) GoString ¶
func (s ListRoutesInput) GoString() string
GoString returns the string representation
func (*ListRoutesInput) SetLimit ¶
func (s *ListRoutesInput) SetLimit(v int64) *ListRoutesInput
SetLimit sets the Limit field's value.
func (*ListRoutesInput) SetMeshName ¶
func (s *ListRoutesInput) SetMeshName(v string) *ListRoutesInput
SetMeshName sets the MeshName field's value.
func (*ListRoutesInput) SetNextToken ¶
func (s *ListRoutesInput) SetNextToken(v string) *ListRoutesInput
SetNextToken sets the NextToken field's value.
func (*ListRoutesInput) SetVirtualRouterName ¶
func (s *ListRoutesInput) SetVirtualRouterName(v string) *ListRoutesInput
SetVirtualRouterName sets the VirtualRouterName field's value.
func (ListRoutesInput) String ¶
func (s ListRoutesInput) String() string
String returns the string representation
func (*ListRoutesInput) Validate ¶
func (s *ListRoutesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRoutesOutput ¶
type ListRoutesOutput struct { // The nextToken value to include in a future ListRoutes request. When the results // of a ListRoutes request exceed limit, you can use this value to retrieve // the next page of results. This value is null when there are no more results // to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing routes for the specified service mesh and virtual router. // // Routes is a required field Routes []*RouteRef `locationName:"routes" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListRoutesOutput) GoString ¶
func (s ListRoutesOutput) GoString() string
GoString returns the string representation
func (*ListRoutesOutput) SetNextToken ¶
func (s *ListRoutesOutput) SetNextToken(v string) *ListRoutesOutput
SetNextToken sets the NextToken field's value.
func (*ListRoutesOutput) SetRoutes ¶
func (s *ListRoutesOutput) SetRoutes(v []*RouteRef) *ListRoutesOutput
SetRoutes sets the Routes field's value.
func (ListRoutesOutput) String ¶
func (s ListRoutesOutput) String() string
String returns the string representation
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The maximum number of tag results returned by ListTagsForResource in paginated // output. When this parameter is used, ListTagsForResource returns only limit // results in a single page along with a nextToken response element. You can // see the remaining results of the initial request by sending another ListTagsForResource // request with the returned nextToken value. This value can be between 1 and // 100. If you don't use this parameter, ListTagsForResource returns up to 100 // results and a nextToken value if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The nextToken value returned from a previous paginated ListTagsForResource // request where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The Amazon Resource Name (ARN) that identifies the resource to list the tags // for. // // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) GoString ¶
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation
func (*ListTagsForResourceInput) SetLimit ¶
func (s *ListTagsForResourceInput) SetLimit(v int64) *ListTagsForResourceInput
SetLimit sets the Limit field's value.
func (*ListTagsForResourceInput) SetNextToken ¶
func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput
SetNextToken sets the NextToken field's value.
func (*ListTagsForResourceInput) SetResourceArn ¶
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
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 { // The nextToken value to include in a future ListTagsForResource request. When // the results of a ListTagsForResource request exceed limit, you can use this // value to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The tags for the resource. // // Tags is a required field Tags []*TagRef `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) GoString ¶
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation
func (*ListTagsForResourceOutput) SetNextToken ¶
func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput
SetNextToken sets the NextToken field's value.
func (*ListTagsForResourceOutput) SetTags ¶
func (s *ListTagsForResourceOutput) SetTags(v []*TagRef) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListVirtualNodesInput ¶
type ListVirtualNodesInput struct { // The maximum number of results returned by ListVirtualNodes in paginated output. // When you use this parameter, ListVirtualNodes returns only limit results // in a single page along with a nextToken response element. You can see the // remaining results of the initial request by sending another ListVirtualNodes // request with the returned nextToken value. This value can be between 1 and // 100. If you don't use this parameter, ListVirtualNodes returns up to 100 // results and a nextToken value if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh to list virtual nodes in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListVirtualNodes request // where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListVirtualNodesInput) GoString ¶
func (s ListVirtualNodesInput) GoString() string
GoString returns the string representation
func (*ListVirtualNodesInput) SetLimit ¶
func (s *ListVirtualNodesInput) SetLimit(v int64) *ListVirtualNodesInput
SetLimit sets the Limit field's value.
func (*ListVirtualNodesInput) SetMeshName ¶
func (s *ListVirtualNodesInput) SetMeshName(v string) *ListVirtualNodesInput
SetMeshName sets the MeshName field's value.
func (*ListVirtualNodesInput) SetNextToken ¶
func (s *ListVirtualNodesInput) SetNextToken(v string) *ListVirtualNodesInput
SetNextToken sets the NextToken field's value.
func (ListVirtualNodesInput) String ¶
func (s ListVirtualNodesInput) String() string
String returns the string representation
func (*ListVirtualNodesInput) Validate ¶
func (s *ListVirtualNodesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListVirtualNodesOutput ¶
type ListVirtualNodesOutput struct { // The nextToken value to include in a future ListVirtualNodes request. When // the results of a ListVirtualNodes request exceed limit, you can use this // value to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing virtual nodes for the specified service mesh. // // VirtualNodes is a required field VirtualNodes []*VirtualNodeRef `locationName:"virtualNodes" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListVirtualNodesOutput) GoString ¶
func (s ListVirtualNodesOutput) GoString() string
GoString returns the string representation
func (*ListVirtualNodesOutput) SetNextToken ¶
func (s *ListVirtualNodesOutput) SetNextToken(v string) *ListVirtualNodesOutput
SetNextToken sets the NextToken field's value.
func (*ListVirtualNodesOutput) SetVirtualNodes ¶
func (s *ListVirtualNodesOutput) SetVirtualNodes(v []*VirtualNodeRef) *ListVirtualNodesOutput
SetVirtualNodes sets the VirtualNodes field's value.
func (ListVirtualNodesOutput) String ¶
func (s ListVirtualNodesOutput) String() string
String returns the string representation
type ListVirtualRoutersInput ¶
type ListVirtualRoutersInput struct { // The maximum number of results returned by ListVirtualRouters in paginated // output. When you use this parameter, ListVirtualRouters returns only limit // results in a single page along with a nextToken response element. You can // see the remaining results of the initial request by sending another ListVirtualRouters // request with the returned nextToken value. This value can be between 1 and // 100. If you don't use this parameter, ListVirtualRouters returns up to 100 // results and a nextToken value if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh to list virtual routers in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListVirtualRouters // request where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListVirtualRoutersInput) GoString ¶
func (s ListVirtualRoutersInput) GoString() string
GoString returns the string representation
func (*ListVirtualRoutersInput) SetLimit ¶
func (s *ListVirtualRoutersInput) SetLimit(v int64) *ListVirtualRoutersInput
SetLimit sets the Limit field's value.
func (*ListVirtualRoutersInput) SetMeshName ¶
func (s *ListVirtualRoutersInput) SetMeshName(v string) *ListVirtualRoutersInput
SetMeshName sets the MeshName field's value.
func (*ListVirtualRoutersInput) SetNextToken ¶
func (s *ListVirtualRoutersInput) SetNextToken(v string) *ListVirtualRoutersInput
SetNextToken sets the NextToken field's value.
func (ListVirtualRoutersInput) String ¶
func (s ListVirtualRoutersInput) String() string
String returns the string representation
func (*ListVirtualRoutersInput) Validate ¶
func (s *ListVirtualRoutersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListVirtualRoutersOutput ¶
type ListVirtualRoutersOutput struct { // The nextToken value to include in a future ListVirtualRouters request. When // the results of a ListVirtualRouters request exceed limit, you can use this // value to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing virtual routers for the specified service mesh. // // VirtualRouters is a required field VirtualRouters []*VirtualRouterRef `locationName:"virtualRouters" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListVirtualRoutersOutput) GoString ¶
func (s ListVirtualRoutersOutput) GoString() string
GoString returns the string representation
func (*ListVirtualRoutersOutput) SetNextToken ¶
func (s *ListVirtualRoutersOutput) SetNextToken(v string) *ListVirtualRoutersOutput
SetNextToken sets the NextToken field's value.
func (*ListVirtualRoutersOutput) SetVirtualRouters ¶
func (s *ListVirtualRoutersOutput) SetVirtualRouters(v []*VirtualRouterRef) *ListVirtualRoutersOutput
SetVirtualRouters sets the VirtualRouters field's value.
func (ListVirtualRoutersOutput) String ¶
func (s ListVirtualRoutersOutput) String() string
String returns the string representation
type ListVirtualServicesInput ¶
type ListVirtualServicesInput struct { // The maximum number of results returned by ListVirtualServices in paginated // output. When you use this parameter, ListVirtualServices returns only limit // results in a single page along with a nextToken response element. You can // see the remaining results of the initial request by sending another ListVirtualServices // request with the returned nextToken value. This value can be between 1 and // 100. If you don't use this parameter, ListVirtualServices returns up to 100 // results and a nextToken value if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh to list virtual services in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListVirtualServices // request where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListVirtualServicesInput) GoString ¶
func (s ListVirtualServicesInput) GoString() string
GoString returns the string representation
func (*ListVirtualServicesInput) SetLimit ¶
func (s *ListVirtualServicesInput) SetLimit(v int64) *ListVirtualServicesInput
SetLimit sets the Limit field's value.
func (*ListVirtualServicesInput) SetMeshName ¶
func (s *ListVirtualServicesInput) SetMeshName(v string) *ListVirtualServicesInput
SetMeshName sets the MeshName field's value.
func (*ListVirtualServicesInput) SetNextToken ¶
func (s *ListVirtualServicesInput) SetNextToken(v string) *ListVirtualServicesInput
SetNextToken sets the NextToken field's value.
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 { // The nextToken value to include in a future ListVirtualServices request. When // the results of a ListVirtualServices request exceed limit, you can use this // value to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing virtual services for the specified service mesh. // // VirtualServices is a required field VirtualServices []*VirtualServiceRef `locationName:"virtualServices" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListVirtualServicesOutput) GoString ¶
func (s ListVirtualServicesOutput) GoString() string
GoString returns the string representation
func (*ListVirtualServicesOutput) SetNextToken ¶
func (s *ListVirtualServicesOutput) SetNextToken(v string) *ListVirtualServicesOutput
SetNextToken sets the NextToken field's value.
func (*ListVirtualServicesOutput) SetVirtualServices ¶
func (s *ListVirtualServicesOutput) SetVirtualServices(v []*VirtualServiceRef) *ListVirtualServicesOutput
SetVirtualServices sets the VirtualServices field's value.
func (ListVirtualServicesOutput) String ¶
func (s ListVirtualServicesOutput) String() string
String returns the string representation
type Listener ¶
type Listener struct { // The health check information for the listener. HealthCheck *HealthCheckPolicy `locationName:"healthCheck" type:"structure"` // The port mapping information for the listener. // // PortMapping is a required field PortMapping *PortMapping `locationName:"portMapping" type:"structure" required:"true"` // contains filtered or unexported fields }
An object representing a listener for a virtual node.
func (*Listener) SetHealthCheck ¶
func (s *Listener) SetHealthCheck(v *HealthCheckPolicy) *Listener
SetHealthCheck sets the HealthCheck field's value.
func (*Listener) SetPortMapping ¶
func (s *Listener) SetPortMapping(v *PortMapping) *Listener
SetPortMapping sets the PortMapping field's value.
type Logging ¶
type Logging struct { // The access log configuration for a virtual node. AccessLog *AccessLog `locationName:"accessLog" type:"structure"` // contains filtered or unexported fields }
An object representing the logging information for a virtual node.
func (*Logging) SetAccessLog ¶
SetAccessLog sets the AccessLog field's value.
type MeshData ¶
type MeshData struct { // The name of the service mesh. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the service mesh. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // The associated specification for the service mesh. // // Spec is a required field Spec *MeshSpec `locationName:"spec" type:"structure" required:"true"` // The status of the service mesh. // // Status is a required field Status *MeshStatus `locationName:"status" type:"structure" required:"true"` // contains filtered or unexported fields }
An object representing a service mesh returned by a describe operation.
func (*MeshData) SetMeshName ¶
SetMeshName sets the MeshName field's value.
func (*MeshData) SetMetadata ¶
func (s *MeshData) SetMetadata(v *ResourceMetadata) *MeshData
SetMetadata sets the Metadata field's value.
func (*MeshData) SetStatus ¶
func (s *MeshData) SetStatus(v *MeshStatus) *MeshData
SetStatus sets the Status field's value.
type MeshRef ¶
type MeshRef struct { // The full Amazon Resource Name (ARN) of the service mesh. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The name of the service mesh. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a service mesh returned by a list operation.
func (*MeshRef) SetMeshName ¶
SetMeshName sets the MeshName field's value.
type MeshSpec ¶
type MeshSpec struct { // The egress filter rules for the service mesh. EgressFilter *EgressFilter `locationName:"egressFilter" type:"structure"` // contains filtered or unexported fields }
An object representing the specification of a service mesh.
func (*MeshSpec) SetEgressFilter ¶
func (s *MeshSpec) SetEgressFilter(v *EgressFilter) *MeshSpec
SetEgressFilter sets the EgressFilter field's value.
type MeshStatus ¶
type MeshStatus struct { // The current mesh status. Status *string `locationName:"status" type:"string" enum:"MeshStatusCode"` // contains filtered or unexported fields }
An object representing the status of a service mesh.
func (MeshStatus) GoString ¶
func (s MeshStatus) GoString() string
GoString returns the string representation
func (*MeshStatus) SetStatus ¶
func (s *MeshStatus) SetStatus(v string) *MeshStatus
SetStatus sets the Status field's value.
func (MeshStatus) String ¶
func (s MeshStatus) String() string
String returns the string representation
type PortMapping ¶
type PortMapping struct { // The port used for the port mapping. // // Port is a required field Port *int64 `locationName:"port" min:"1" type:"integer" required:"true"` // The protocol used for the port mapping. // // Protocol is a required field Protocol *string `locationName:"protocol" type:"string" required:"true" enum:"PortProtocol"` // contains filtered or unexported fields }
An object representing a virtual node or virtual router listener port mapping.
func (PortMapping) GoString ¶
func (s PortMapping) GoString() string
GoString returns the string representation
func (*PortMapping) SetPort ¶
func (s *PortMapping) SetPort(v int64) *PortMapping
SetPort sets the Port field's value.
func (*PortMapping) SetProtocol ¶
func (s *PortMapping) SetProtocol(v string) *PortMapping
SetProtocol sets the Protocol field's value.
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 ResourceMetadata ¶
type ResourceMetadata struct { // The full Amazon Resource Name (ARN) for the resource. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The Unix epoch timestamp in seconds for when the resource was created. // // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // The Unix epoch timestamp in seconds for when the resource was last updated. // // LastUpdatedAt is a required field LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" required:"true"` // The unique identifier for the resource. // // Uid is a required field Uid *string `locationName:"uid" type:"string" required:"true"` // The version of the resource. Resources are created at version 1, and this // version is incremented each time that they're updated. // // Version is a required field Version *int64 `locationName:"version" type:"long" required:"true"` // contains filtered or unexported fields }
An object representing metadata for a resource.
func (ResourceMetadata) GoString ¶
func (s ResourceMetadata) GoString() string
GoString returns the string representation
func (*ResourceMetadata) SetArn ¶
func (s *ResourceMetadata) SetArn(v string) *ResourceMetadata
SetArn sets the Arn field's value.
func (*ResourceMetadata) SetCreatedAt ¶
func (s *ResourceMetadata) SetCreatedAt(v time.Time) *ResourceMetadata
SetCreatedAt sets the CreatedAt field's value.
func (*ResourceMetadata) SetLastUpdatedAt ¶
func (s *ResourceMetadata) SetLastUpdatedAt(v time.Time) *ResourceMetadata
SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (*ResourceMetadata) SetUid ¶
func (s *ResourceMetadata) SetUid(v string) *ResourceMetadata
SetUid sets the Uid field's value.
func (*ResourceMetadata) SetVersion ¶
func (s *ResourceMetadata) SetVersion(v int64) *ResourceMetadata
SetVersion sets the Version field's value.
func (ResourceMetadata) String ¶
func (s ResourceMetadata) String() string
String returns the string representation
type RouteData ¶
type RouteData struct { // The name of the service mesh that the route resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the route. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // The name of the route. // // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // The specifications of the route. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // The status of the route. // // Status is a required field Status *RouteStatus `locationName:"status" type:"structure" required:"true"` // The virtual router that the route is associated with. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a route returned by a describe operation.
func (*RouteData) SetMeshName ¶
SetMeshName sets the MeshName field's value.
func (*RouteData) SetMetadata ¶
func (s *RouteData) SetMetadata(v *ResourceMetadata) *RouteData
SetMetadata sets the Metadata field's value.
func (*RouteData) SetRouteName ¶
SetRouteName sets the RouteName field's value.
func (*RouteData) SetStatus ¶
func (s *RouteData) SetStatus(v *RouteStatus) *RouteData
SetStatus sets the Status field's value.
func (*RouteData) SetVirtualRouterName ¶
SetVirtualRouterName sets the VirtualRouterName field's value.
type RouteRef ¶
type RouteRef struct { // The full Amazon Resource Name (ARN) for the route. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The name of the service mesh that the route resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route. // // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // The virtual router that the route is associated with. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a route returned by a list operation.
func (*RouteRef) SetMeshName ¶
SetMeshName sets the MeshName field's value.
func (*RouteRef) SetRouteName ¶
SetRouteName sets the RouteName field's value.
func (*RouteRef) SetVirtualRouterName ¶
SetVirtualRouterName sets the VirtualRouterName field's value.
type RouteSpec ¶
type RouteSpec struct { // The HTTP routing information for the route. HttpRoute *HttpRoute `locationName:"httpRoute" type:"structure"` // The TCP routing information for the route. TcpRoute *TcpRoute `locationName:"tcpRoute" type:"structure"` // contains filtered or unexported fields }
An object representing the specification of a route.
func (*RouteSpec) SetHttpRoute ¶
SetHttpRoute sets the HttpRoute field's value.
func (*RouteSpec) SetTcpRoute ¶
SetTcpRoute sets the TcpRoute field's value.
type RouteStatus ¶
type RouteStatus struct { // The current status for the route. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"RouteStatusCode"` // contains filtered or unexported fields }
An object representing the current status of a route.
func (RouteStatus) GoString ¶
func (s RouteStatus) GoString() string
GoString returns the string representation
func (*RouteStatus) SetStatus ¶
func (s *RouteStatus) SetStatus(v string) *RouteStatus
SetStatus sets the Status field's value.
func (RouteStatus) String ¶
func (s RouteStatus) String() string
String returns the string representation
type ServiceDiscovery ¶
type ServiceDiscovery struct { // Specifies any AWS Cloud Map information for the virtual node. AwsCloudMap *AwsCloudMapServiceDiscovery `locationName:"awsCloudMap" type:"structure"` // Specifies the DNS information for the virtual node. Dns *DnsServiceDiscovery `locationName:"dns" type:"structure"` // contains filtered or unexported fields }
An object representing the service discovery information for a virtual node.
func (ServiceDiscovery) GoString ¶
func (s ServiceDiscovery) GoString() string
GoString returns the string representation
func (*ServiceDiscovery) SetAwsCloudMap ¶
func (s *ServiceDiscovery) SetAwsCloudMap(v *AwsCloudMapServiceDiscovery) *ServiceDiscovery
SetAwsCloudMap sets the AwsCloudMap field's value.
func (*ServiceDiscovery) SetDns ¶
func (s *ServiceDiscovery) SetDns(v *DnsServiceDiscovery) *ServiceDiscovery
SetDns sets the Dns field's value.
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 { // One part of a key-value pair that make up a tag. A key is a general label // that acts like a category for more specific tag values. // // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // The optional part of a key-value pair that make up a tag. A value acts as // a descriptor within a tag category (key). Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Optional metadata that you apply to a resource to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource to add tags to. // // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // The tags to add to the resource. A tag is an array of key-value pairs. Tag // keys can have a maximum character length of 128 characters, and tag values // can have a maximum length of 256 characters. // // Tags is a required field Tags []*TagRef `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation
func (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v []*TagRef) *TagResourceInput
SetTags sets the Tags field's value.
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) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TcpRoute ¶
type TcpRoute struct { // The action to take if a match is determined. // // Action is a required field Action *TcpRouteAction `locationName:"action" type:"structure" required:"true"` // contains filtered or unexported fields }
An object representing the TCP routing specification for a route.
func (*TcpRoute) SetAction ¶
func (s *TcpRoute) SetAction(v *TcpRouteAction) *TcpRoute
SetAction sets the Action field's value.
type TcpRouteAction ¶
type TcpRouteAction struct { // The targets that traffic is routed to when a request matches the route. You // can specify one or more targets and their relative weights to distribute // traffic with. // // WeightedTargets is a required field WeightedTargets []*WeightedTarget `locationName:"weightedTargets" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
An object representing the traffic distribution requirements for matched TCP requests.
func (TcpRouteAction) GoString ¶
func (s TcpRouteAction) GoString() string
GoString returns the string representation
func (*TcpRouteAction) SetWeightedTargets ¶
func (s *TcpRouteAction) SetWeightedTargets(v []*WeightedTarget) *TcpRouteAction
SetWeightedTargets sets the WeightedTargets field's value.
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 { // The Amazon Resource Name (ARN) of the resource to delete tags from. // // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // The keys of the tags to be removed. // // TagKeys is a required field TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
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) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UpdateMeshInput ¶
type UpdateMeshInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh to update. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The service mesh specification to apply. Spec *MeshSpec `locationName:"spec" type:"structure"` // contains filtered or unexported fields }
func (UpdateMeshInput) GoString ¶
func (s UpdateMeshInput) GoString() string
GoString returns the string representation
func (*UpdateMeshInput) SetClientToken ¶
func (s *UpdateMeshInput) SetClientToken(v string) *UpdateMeshInput
SetClientToken sets the ClientToken field's value.
func (*UpdateMeshInput) SetMeshName ¶
func (s *UpdateMeshInput) SetMeshName(v string) *UpdateMeshInput
SetMeshName sets the MeshName field's value.
func (*UpdateMeshInput) SetSpec ¶
func (s *UpdateMeshInput) SetSpec(v *MeshSpec) *UpdateMeshInput
SetSpec sets the Spec field's value.
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 representing a service mesh returned by a describe operation. // // Mesh is a required field Mesh *MeshData `locationName:"mesh" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateMeshOutput) GoString ¶
func (s UpdateMeshOutput) GoString() string
GoString returns the string representation
func (*UpdateMeshOutput) SetMesh ¶
func (s *UpdateMeshOutput) SetMesh(v *MeshData) *UpdateMeshOutput
SetMesh sets the Mesh field's value.
func (UpdateMeshOutput) String ¶
func (s UpdateMeshOutput) String() string
String returns the string representation
type UpdateRouteInput ¶
type UpdateRouteInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh that the route resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route to update. // // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // The new route specification to apply. This overwrites the existing data. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual router that the route is associated with. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateRouteInput) GoString ¶
func (s UpdateRouteInput) GoString() string
GoString returns the string representation
func (*UpdateRouteInput) SetClientToken ¶
func (s *UpdateRouteInput) SetClientToken(v string) *UpdateRouteInput
SetClientToken sets the ClientToken field's value.
func (*UpdateRouteInput) SetMeshName ¶
func (s *UpdateRouteInput) SetMeshName(v string) *UpdateRouteInput
SetMeshName sets the MeshName field's value.
func (*UpdateRouteInput) SetRouteName ¶
func (s *UpdateRouteInput) SetRouteName(v string) *UpdateRouteInput
SetRouteName sets the RouteName field's value.
func (*UpdateRouteInput) SetSpec ¶
func (s *UpdateRouteInput) SetSpec(v *RouteSpec) *UpdateRouteInput
SetSpec sets the Spec field's value.
func (*UpdateRouteInput) SetVirtualRouterName ¶
func (s *UpdateRouteInput) SetVirtualRouterName(v string) *UpdateRouteInput
SetVirtualRouterName sets the VirtualRouterName field's value.
func (UpdateRouteInput) String ¶
func (s UpdateRouteInput) String() string
String returns the string representation
func (*UpdateRouteInput) Validate ¶
func (s *UpdateRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateRouteOutput ¶
type UpdateRouteOutput struct { // A full description of the route that was updated. // // Route is a required field Route *RouteData `locationName:"route" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateRouteOutput) GoString ¶
func (s UpdateRouteOutput) GoString() string
GoString returns the string representation
func (*UpdateRouteOutput) SetRoute ¶
func (s *UpdateRouteOutput) SetRoute(v *RouteData) *UpdateRouteOutput
SetRoute sets the Route field's value.
func (UpdateRouteOutput) String ¶
func (s UpdateRouteOutput) String() string
String returns the string representation
type UpdateVirtualNodeInput ¶
type UpdateVirtualNodeInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh that the virtual node resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The new virtual node specification to apply. This overwrites the existing // data. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual node to update. // // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualNodeInput) GoString ¶
func (s UpdateVirtualNodeInput) GoString() string
GoString returns the string representation
func (*UpdateVirtualNodeInput) SetClientToken ¶
func (s *UpdateVirtualNodeInput) SetClientToken(v string) *UpdateVirtualNodeInput
SetClientToken sets the ClientToken field's value.
func (*UpdateVirtualNodeInput) SetMeshName ¶
func (s *UpdateVirtualNodeInput) SetMeshName(v string) *UpdateVirtualNodeInput
SetMeshName sets the MeshName field's value.
func (*UpdateVirtualNodeInput) SetSpec ¶
func (s *UpdateVirtualNodeInput) SetSpec(v *VirtualNodeSpec) *UpdateVirtualNodeInput
SetSpec sets the Spec field's value.
func (*UpdateVirtualNodeInput) SetVirtualNodeName ¶
func (s *UpdateVirtualNodeInput) SetVirtualNodeName(v string) *UpdateVirtualNodeInput
SetVirtualNodeName sets the VirtualNodeName field's value.
func (UpdateVirtualNodeInput) String ¶
func (s UpdateVirtualNodeInput) String() string
String returns the string representation
func (*UpdateVirtualNodeInput) Validate ¶
func (s *UpdateVirtualNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateVirtualNodeOutput ¶
type UpdateVirtualNodeOutput struct { // A full description of the virtual node that was updated. // // VirtualNode is a required field VirtualNode *VirtualNodeData `locationName:"virtualNode" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualNodeOutput) GoString ¶
func (s UpdateVirtualNodeOutput) GoString() string
GoString returns the string representation
func (*UpdateVirtualNodeOutput) SetVirtualNode ¶
func (s *UpdateVirtualNodeOutput) SetVirtualNode(v *VirtualNodeData) *UpdateVirtualNodeOutput
SetVirtualNode sets the VirtualNode field's value.
func (UpdateVirtualNodeOutput) String ¶
func (s UpdateVirtualNodeOutput) String() string
String returns the string representation
type UpdateVirtualRouterInput ¶
type UpdateVirtualRouterInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh that the virtual router resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The new virtual router specification to apply. This overwrites the existing // data. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual router to update. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualRouterInput) GoString ¶
func (s UpdateVirtualRouterInput) GoString() string
GoString returns the string representation
func (*UpdateVirtualRouterInput) SetClientToken ¶
func (s *UpdateVirtualRouterInput) SetClientToken(v string) *UpdateVirtualRouterInput
SetClientToken sets the ClientToken field's value.
func (*UpdateVirtualRouterInput) SetMeshName ¶
func (s *UpdateVirtualRouterInput) SetMeshName(v string) *UpdateVirtualRouterInput
SetMeshName sets the MeshName field's value.
func (*UpdateVirtualRouterInput) SetSpec ¶
func (s *UpdateVirtualRouterInput) SetSpec(v *VirtualRouterSpec) *UpdateVirtualRouterInput
SetSpec sets the Spec field's value.
func (*UpdateVirtualRouterInput) SetVirtualRouterName ¶
func (s *UpdateVirtualRouterInput) SetVirtualRouterName(v string) *UpdateVirtualRouterInput
SetVirtualRouterName sets the VirtualRouterName field's value.
func (UpdateVirtualRouterInput) String ¶
func (s UpdateVirtualRouterInput) String() string
String returns the string representation
func (*UpdateVirtualRouterInput) Validate ¶
func (s *UpdateVirtualRouterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateVirtualRouterOutput ¶
type UpdateVirtualRouterOutput struct { // A full description of the virtual router that was updated. // // VirtualRouter is a required field VirtualRouter *VirtualRouterData `locationName:"virtualRouter" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualRouterOutput) GoString ¶
func (s UpdateVirtualRouterOutput) GoString() string
GoString returns the string representation
func (*UpdateVirtualRouterOutput) SetVirtualRouter ¶
func (s *UpdateVirtualRouterOutput) SetVirtualRouter(v *VirtualRouterData) *UpdateVirtualRouterOutput
SetVirtualRouter sets the VirtualRouter field's value.
func (UpdateVirtualRouterOutput) String ¶
func (s UpdateVirtualRouterOutput) String() string
String returns the string representation
type UpdateVirtualServiceInput ¶
type UpdateVirtualServiceInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh that the virtual service resides in. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The new virtual service specification to apply. This overwrites the existing // data. // // Spec is a required field Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual service to update. // // VirtualServiceName is a required field VirtualServiceName *string `location:"uri" locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualServiceInput) GoString ¶
func (s UpdateVirtualServiceInput) GoString() string
GoString returns the string representation
func (*UpdateVirtualServiceInput) SetClientToken ¶
func (s *UpdateVirtualServiceInput) SetClientToken(v string) *UpdateVirtualServiceInput
SetClientToken sets the ClientToken field's value.
func (*UpdateVirtualServiceInput) SetMeshName ¶
func (s *UpdateVirtualServiceInput) SetMeshName(v string) *UpdateVirtualServiceInput
SetMeshName sets the MeshName field's value.
func (*UpdateVirtualServiceInput) SetSpec ¶
func (s *UpdateVirtualServiceInput) SetSpec(v *VirtualServiceSpec) *UpdateVirtualServiceInput
SetSpec sets the Spec field's value.
func (*UpdateVirtualServiceInput) SetVirtualServiceName ¶
func (s *UpdateVirtualServiceInput) SetVirtualServiceName(v string) *UpdateVirtualServiceInput
SetVirtualServiceName sets the VirtualServiceName field's value.
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 { // A full description of the virtual service that was updated. // // VirtualService is a required field VirtualService *VirtualServiceData `locationName:"virtualService" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateVirtualServiceOutput) GoString ¶
func (s UpdateVirtualServiceOutput) GoString() string
GoString returns the string representation
func (*UpdateVirtualServiceOutput) SetVirtualService ¶
func (s *UpdateVirtualServiceOutput) SetVirtualService(v *VirtualServiceData) *UpdateVirtualServiceOutput
SetVirtualService sets the VirtualService field's value.
func (UpdateVirtualServiceOutput) String ¶
func (s UpdateVirtualServiceOutput) String() string
String returns the string representation
type VirtualNodeData ¶
type VirtualNodeData struct { // The name of the service mesh that the virtual node resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the virtual node. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // The specifications of the virtual node. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // The current status for the virtual node. // // Status is a required field Status *VirtualNodeStatus `locationName:"status" type:"structure" required:"true"` // The name of the virtual node. // // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual node returned by a describe operation.
func (VirtualNodeData) GoString ¶
func (s VirtualNodeData) GoString() string
GoString returns the string representation
func (*VirtualNodeData) SetMeshName ¶
func (s *VirtualNodeData) SetMeshName(v string) *VirtualNodeData
SetMeshName sets the MeshName field's value.
func (*VirtualNodeData) SetMetadata ¶
func (s *VirtualNodeData) SetMetadata(v *ResourceMetadata) *VirtualNodeData
SetMetadata sets the Metadata field's value.
func (*VirtualNodeData) SetSpec ¶
func (s *VirtualNodeData) SetSpec(v *VirtualNodeSpec) *VirtualNodeData
SetSpec sets the Spec field's value.
func (*VirtualNodeData) SetStatus ¶
func (s *VirtualNodeData) SetStatus(v *VirtualNodeStatus) *VirtualNodeData
SetStatus sets the Status field's value.
func (*VirtualNodeData) SetVirtualNodeName ¶
func (s *VirtualNodeData) SetVirtualNodeName(v string) *VirtualNodeData
SetVirtualNodeName sets the VirtualNodeName field's value.
func (VirtualNodeData) String ¶
func (s VirtualNodeData) String() string
String returns the string representation
type VirtualNodeRef ¶
type VirtualNodeRef struct { // The full Amazon Resource Name (ARN) for the virtual node. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The name of the service mesh that the virtual node resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual node. // // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual node returned by a list operation.
func (VirtualNodeRef) GoString ¶
func (s VirtualNodeRef) GoString() string
GoString returns the string representation
func (*VirtualNodeRef) SetArn ¶
func (s *VirtualNodeRef) SetArn(v string) *VirtualNodeRef
SetArn sets the Arn field's value.
func (*VirtualNodeRef) SetMeshName ¶
func (s *VirtualNodeRef) SetMeshName(v string) *VirtualNodeRef
SetMeshName sets the MeshName field's value.
func (*VirtualNodeRef) SetVirtualNodeName ¶
func (s *VirtualNodeRef) SetVirtualNodeName(v string) *VirtualNodeRef
SetVirtualNodeName sets the VirtualNodeName field's value.
func (VirtualNodeRef) String ¶
func (s VirtualNodeRef) String() string
String returns the string representation
type VirtualNodeServiceProvider ¶
type VirtualNodeServiceProvider struct { // The name of the virtual node that is acting as a service provider. // // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual node service provider.
func (VirtualNodeServiceProvider) GoString ¶
func (s VirtualNodeServiceProvider) GoString() string
GoString returns the string representation
func (*VirtualNodeServiceProvider) SetVirtualNodeName ¶
func (s *VirtualNodeServiceProvider) SetVirtualNodeName(v string) *VirtualNodeServiceProvider
SetVirtualNodeName sets the VirtualNodeName field's value.
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 { // The backends that the virtual node is expected to send outbound traffic to. Backends []*Backend `locationName:"backends" type:"list"` // The listeners that the virtual node is expected to receive inbound traffic // from. Currently only one listener is supported per virtual node. Listeners []*Listener `locationName:"listeners" type:"list"` // The inbound and outbound access logging information for the virtual node. Logging *Logging `locationName:"logging" type:"structure"` // The service discovery information for the virtual node. If your virtual node // does not expect ingress traffic, you can omit this parameter. ServiceDiscovery *ServiceDiscovery `locationName:"serviceDiscovery" type:"structure"` // contains filtered or unexported fields }
An object representing the specification of a virtual node.
func (VirtualNodeSpec) GoString ¶
func (s VirtualNodeSpec) GoString() string
GoString returns the string representation
func (*VirtualNodeSpec) SetBackends ¶
func (s *VirtualNodeSpec) SetBackends(v []*Backend) *VirtualNodeSpec
SetBackends sets the Backends field's value.
func (*VirtualNodeSpec) SetListeners ¶
func (s *VirtualNodeSpec) SetListeners(v []*Listener) *VirtualNodeSpec
SetListeners sets the Listeners field's value.
func (*VirtualNodeSpec) SetLogging ¶
func (s *VirtualNodeSpec) SetLogging(v *Logging) *VirtualNodeSpec
SetLogging sets the Logging field's value.
func (*VirtualNodeSpec) SetServiceDiscovery ¶
func (s *VirtualNodeSpec) SetServiceDiscovery(v *ServiceDiscovery) *VirtualNodeSpec
SetServiceDiscovery sets the ServiceDiscovery field's value.
func (VirtualNodeSpec) String ¶
func (s VirtualNodeSpec) String() string
String returns the string representation
func (*VirtualNodeSpec) Validate ¶
func (s *VirtualNodeSpec) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VirtualNodeStatus ¶
type VirtualNodeStatus struct { // The current status of the virtual node. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"VirtualNodeStatusCode"` // contains filtered or unexported fields }
An object representing the current status of the virtual node.
func (VirtualNodeStatus) GoString ¶
func (s VirtualNodeStatus) GoString() string
GoString returns the string representation
func (*VirtualNodeStatus) SetStatus ¶
func (s *VirtualNodeStatus) SetStatus(v string) *VirtualNodeStatus
SetStatus sets the Status field's value.
func (VirtualNodeStatus) String ¶
func (s VirtualNodeStatus) String() string
String returns the string representation
type VirtualRouterData ¶
type VirtualRouterData struct { // The name of the service mesh that the virtual router resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the virtual router. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // The specifications of the virtual router. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // The current status of the virtual router. // // Status is a required field Status *VirtualRouterStatus `locationName:"status" type:"structure" required:"true"` // The name of the virtual router. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual router returned by a describe operation.
func (VirtualRouterData) GoString ¶
func (s VirtualRouterData) GoString() string
GoString returns the string representation
func (*VirtualRouterData) SetMeshName ¶
func (s *VirtualRouterData) SetMeshName(v string) *VirtualRouterData
SetMeshName sets the MeshName field's value.
func (*VirtualRouterData) SetMetadata ¶
func (s *VirtualRouterData) SetMetadata(v *ResourceMetadata) *VirtualRouterData
SetMetadata sets the Metadata field's value.
func (*VirtualRouterData) SetSpec ¶
func (s *VirtualRouterData) SetSpec(v *VirtualRouterSpec) *VirtualRouterData
SetSpec sets the Spec field's value.
func (*VirtualRouterData) SetStatus ¶
func (s *VirtualRouterData) SetStatus(v *VirtualRouterStatus) *VirtualRouterData
SetStatus sets the Status field's value.
func (*VirtualRouterData) SetVirtualRouterName ¶
func (s *VirtualRouterData) SetVirtualRouterName(v string) *VirtualRouterData
SetVirtualRouterName sets the VirtualRouterName field's value.
func (VirtualRouterData) String ¶
func (s VirtualRouterData) String() string
String returns the string representation
type VirtualRouterListener ¶
type VirtualRouterListener struct { // An object representing a virtual node or virtual router listener port mapping. // // PortMapping is a required field PortMapping *PortMapping `locationName:"portMapping" type:"structure" required:"true"` // contains filtered or unexported fields }
An object representing a virtual router listener.
func (VirtualRouterListener) GoString ¶
func (s VirtualRouterListener) GoString() string
GoString returns the string representation
func (*VirtualRouterListener) SetPortMapping ¶
func (s *VirtualRouterListener) SetPortMapping(v *PortMapping) *VirtualRouterListener
SetPortMapping sets the PortMapping field's value.
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 { // The full Amazon Resource Name (ARN) for the virtual router. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The name of the service mesh that the virtual router resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual router. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual router returned by a list operation.
func (VirtualRouterRef) GoString ¶
func (s VirtualRouterRef) GoString() string
GoString returns the string representation
func (*VirtualRouterRef) SetArn ¶
func (s *VirtualRouterRef) SetArn(v string) *VirtualRouterRef
SetArn sets the Arn field's value.
func (*VirtualRouterRef) SetMeshName ¶
func (s *VirtualRouterRef) SetMeshName(v string) *VirtualRouterRef
SetMeshName sets the MeshName field's value.
func (*VirtualRouterRef) SetVirtualRouterName ¶
func (s *VirtualRouterRef) SetVirtualRouterName(v string) *VirtualRouterRef
SetVirtualRouterName sets the VirtualRouterName field's value.
func (VirtualRouterRef) String ¶
func (s VirtualRouterRef) String() string
String returns the string representation
type VirtualRouterServiceProvider ¶
type VirtualRouterServiceProvider struct { // The name of the virtual router that is acting as a service provider. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual node service provider.
func (VirtualRouterServiceProvider) GoString ¶
func (s VirtualRouterServiceProvider) GoString() string
GoString returns the string representation
func (*VirtualRouterServiceProvider) SetVirtualRouterName ¶
func (s *VirtualRouterServiceProvider) SetVirtualRouterName(v string) *VirtualRouterServiceProvider
SetVirtualRouterName sets the VirtualRouterName field's value.
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 { // The listeners that the virtual router is expected to receive inbound traffic // from. Currently only one listener is supported per virtual router. Listeners []*VirtualRouterListener `locationName:"listeners" min:"1" type:"list"` // contains filtered or unexported fields }
An object representing the specification of a virtual router.
func (VirtualRouterSpec) GoString ¶
func (s VirtualRouterSpec) GoString() string
GoString returns the string representation
func (*VirtualRouterSpec) SetListeners ¶
func (s *VirtualRouterSpec) SetListeners(v []*VirtualRouterListener) *VirtualRouterSpec
SetListeners sets the Listeners field's value.
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 { // The current status of the virtual router. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"VirtualRouterStatusCode"` // contains filtered or unexported fields }
An object representing the status of a virtual router.
func (VirtualRouterStatus) GoString ¶
func (s VirtualRouterStatus) GoString() string
GoString returns the string representation
func (*VirtualRouterStatus) SetStatus ¶
func (s *VirtualRouterStatus) SetStatus(v string) *VirtualRouterStatus
SetStatus sets the Status field's value.
func (VirtualRouterStatus) String ¶
func (s VirtualRouterStatus) String() string
String returns the string representation
type VirtualServiceBackend ¶
type VirtualServiceBackend struct { // The name of the virtual service that is acting as a virtual node backend. // // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual service backend for a virtual node.
func (VirtualServiceBackend) GoString ¶
func (s VirtualServiceBackend) GoString() string
GoString returns the string representation
func (*VirtualServiceBackend) SetVirtualServiceName ¶
func (s *VirtualServiceBackend) SetVirtualServiceName(v string) *VirtualServiceBackend
SetVirtualServiceName sets the VirtualServiceName field's value.
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 { // The name of the service mesh that the virtual service resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // An object representing metadata for a resource. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // The specifications of the virtual service. // // Spec is a required field Spec *VirtualServiceSpec `locationName:"spec" type:"structure" required:"true"` // The current status of the virtual service. // // Status is a required field Status *VirtualServiceStatus `locationName:"status" type:"structure" required:"true"` // The name of the virtual service. // // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual service returned by a describe operation.
func (VirtualServiceData) GoString ¶
func (s VirtualServiceData) GoString() string
GoString returns the string representation
func (*VirtualServiceData) SetMeshName ¶
func (s *VirtualServiceData) SetMeshName(v string) *VirtualServiceData
SetMeshName sets the MeshName field's value.
func (*VirtualServiceData) SetMetadata ¶
func (s *VirtualServiceData) SetMetadata(v *ResourceMetadata) *VirtualServiceData
SetMetadata sets the Metadata field's value.
func (*VirtualServiceData) SetSpec ¶
func (s *VirtualServiceData) SetSpec(v *VirtualServiceSpec) *VirtualServiceData
SetSpec sets the Spec field's value.
func (*VirtualServiceData) SetStatus ¶
func (s *VirtualServiceData) SetStatus(v *VirtualServiceStatus) *VirtualServiceData
SetStatus sets the Status field's value.
func (*VirtualServiceData) SetVirtualServiceName ¶
func (s *VirtualServiceData) SetVirtualServiceName(v string) *VirtualServiceData
SetVirtualServiceName sets the VirtualServiceName field's value.
func (VirtualServiceData) String ¶
func (s VirtualServiceData) String() string
String returns the string representation
type VirtualServiceProvider ¶
type VirtualServiceProvider struct { // The virtual node associated with a virtual service. VirtualNode *VirtualNodeServiceProvider `locationName:"virtualNode" type:"structure"` // The virtual router associated with a virtual service. VirtualRouter *VirtualRouterServiceProvider `locationName:"virtualRouter" type:"structure"` // contains filtered or unexported fields }
An object representing the provider for a virtual service.
func (VirtualServiceProvider) GoString ¶
func (s VirtualServiceProvider) GoString() string
GoString returns the string representation
func (*VirtualServiceProvider) SetVirtualNode ¶
func (s *VirtualServiceProvider) SetVirtualNode(v *VirtualNodeServiceProvider) *VirtualServiceProvider
SetVirtualNode sets the VirtualNode field's value.
func (*VirtualServiceProvider) SetVirtualRouter ¶
func (s *VirtualServiceProvider) SetVirtualRouter(v *VirtualRouterServiceProvider) *VirtualServiceProvider
SetVirtualRouter sets the VirtualRouter field's value.
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 { // The full Amazon Resource Name (ARN) for the virtual service. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The name of the service mesh that the virtual service resides in. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual service. // // VirtualServiceName is a required field VirtualServiceName *string `locationName:"virtualServiceName" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual service returned by a list operation.
func (VirtualServiceRef) GoString ¶
func (s VirtualServiceRef) GoString() string
GoString returns the string representation
func (*VirtualServiceRef) SetArn ¶
func (s *VirtualServiceRef) SetArn(v string) *VirtualServiceRef
SetArn sets the Arn field's value.
func (*VirtualServiceRef) SetMeshName ¶
func (s *VirtualServiceRef) SetMeshName(v string) *VirtualServiceRef
SetMeshName sets the MeshName field's value.
func (*VirtualServiceRef) SetVirtualServiceName ¶
func (s *VirtualServiceRef) SetVirtualServiceName(v string) *VirtualServiceRef
SetVirtualServiceName sets the VirtualServiceName field's value.
func (VirtualServiceRef) String ¶
func (s VirtualServiceRef) String() string
String returns the string representation
type VirtualServiceSpec ¶
type VirtualServiceSpec struct { // The App Mesh object that is acting as the provider for a virtual service. // You can specify a single virtual node or virtual router. Provider *VirtualServiceProvider `locationName:"provider" type:"structure"` // contains filtered or unexported fields }
An object representing the specification of a virtual service.
func (VirtualServiceSpec) GoString ¶
func (s VirtualServiceSpec) GoString() string
GoString returns the string representation
func (*VirtualServiceSpec) SetProvider ¶
func (s *VirtualServiceSpec) SetProvider(v *VirtualServiceProvider) *VirtualServiceSpec
SetProvider sets the Provider field's value.
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 { // The current status of the virtual service. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"VirtualServiceStatusCode"` // contains filtered or unexported fields }
An object representing the status of a virtual service.
func (VirtualServiceStatus) GoString ¶
func (s VirtualServiceStatus) GoString() string
GoString returns the string representation
func (*VirtualServiceStatus) SetStatus ¶
func (s *VirtualServiceStatus) SetStatus(v string) *VirtualServiceStatus
SetStatus sets the Status field's value.
func (VirtualServiceStatus) String ¶
func (s VirtualServiceStatus) String() string
String returns the string representation
type WeightedTarget ¶
type WeightedTarget struct { // The virtual node to associate with the weighted target. // // VirtualNode is a required field VirtualNode *string `locationName:"virtualNode" min:"1" type:"string" required:"true"` // The relative weight of the weighted target. // // Weight is a required field Weight *int64 `locationName:"weight" type:"integer" required:"true"` // contains filtered or unexported fields }
An object representing a target and its relative weight. Traffic is distributed across targets according to their relative weight. For example, a weighted target with a relative weight of 50 receives five times as much traffic as one with a relative weight of 10.
func (WeightedTarget) GoString ¶
func (s WeightedTarget) GoString() string
GoString returns the string representation
func (*WeightedTarget) SetVirtualNode ¶
func (s *WeightedTarget) SetVirtualNode(v string) *WeightedTarget
SetVirtualNode sets the VirtualNode field's value.
func (*WeightedTarget) SetWeight ¶
func (s *WeightedTarget) SetWeight(v int64) *WeightedTarget
SetWeight sets the Weight field's value.
func (WeightedTarget) String ¶
func (s WeightedTarget) String() string
String returns the string representation
func (*WeightedTarget) Validate ¶
func (s *WeightedTarget) Validate() error
Validate inspects the fields of the type to determine if they are valid.
Directories ¶
Path | Synopsis |
---|---|
Package appmeshiface provides an interface to enable mocking the AWS App Mesh service client for testing your code.
|
Package appmeshiface provides an interface to enable mocking the AWS App Mesh service client for testing your code. |