Documentation ¶
Overview ¶
Package appmesh provides the client and types for making API requests to AWS App Mesh.
AWS App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor and control containerized microservices. App Mesh standardizes how your microservices communicate, giving you end-to-end visibility and helping to ensure high-availability for your applications.
App Mesh gives you consistent visibility and network traffic controls for every microservice in an application. You can use App Mesh with Amazon ECS (using the Amazon EC2 launch type), Amazon EKS, and Kubernetes on AWS.
App Mesh supports containerized microservice applications that use service discovery naming for their components. To use App Mesh, you must have a containerized application running on Amazon EC2 instances, hosted in either Amazon ECS, Amazon EKS, or Kubernetes on AWS. For more information about service discovery on Amazon ECS, see Service Discovery (http://docs.aws.amazon.com/AmazonECS/latest/developerguideservice-discovery.html) in the Amazon Elastic Container Service Developer Guide. Kubernetes kube-dns is supported. For more information, see DNS for Services and Pods (https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/) in the Kubernetes documentation.
See https://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01 for more information on this service.
See appmesh package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/appmesh/
Using the Client ¶
To 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 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) 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) 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) 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) 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) 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)
- type CreateMeshInput
- 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) 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) 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) SetVirtualRouterName(v string) *CreateVirtualRouterInput
- func (s CreateVirtualRouterInput) String() string
- func (s *CreateVirtualRouterInput) Validate() error
- type CreateVirtualRouterOutput
- 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 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 DnsServiceDiscovery
- 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 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 Listener
- type MeshData
- type MeshRef
- 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 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 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 VirtualNodeSpec
- func (s VirtualNodeSpec) GoString() string
- func (s *VirtualNodeSpec) SetBackends(v []*string) *VirtualNodeSpec
- func (s *VirtualNodeSpec) SetListeners(v []*Listener) *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 VirtualRouterRef
- type VirtualRouterSpec
- type VirtualRouterStatus
- type WeightedTarget
Constants ¶
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 ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // // The request syntax was malformed. Check your request syntax and try again. ErrCodeBadRequestException = "BadRequestException" // ErrCodeConflictException for service response error code // "ConflictException". // // The request contains a client token that was used for a previous update resource // call with different specifications. Try the request again with a new client // token. ErrCodeConflictException = "ConflictException" // ErrCodeForbiddenException for service response error code // "ForbiddenException". // // You do not have permissions to perform this action. ErrCodeForbiddenException = "ForbiddenException" // ErrCodeInternalServerErrorException for service response error code // "InternalServerErrorException". // // The request processing has failed because of an unknown error, exception, // or failure. ErrCodeInternalServerErrorException = "InternalServerErrorException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // You have exceeded a service limit for your account. For more information, // see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service_limits.html) // in the AWS App Mesh User Guide. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeNotFoundException for service response error code // "NotFoundException". // // The specified resource does not exist. Check your request syntax and try // again. ErrCodeNotFoundException = "NotFoundException" // ErrCodeResourceInUseException for service response error code // "ResourceInUseException". // // You cannot delete the specified resource because it is in use or required // by another resource. ErrCodeResourceInUseException = "ResourceInUseException" // "ServiceUnavailableException". // // The request has failed due to a temporary failure of the service. ErrCodeServiceUnavailableException = "ServiceUnavailableException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". // // The maximum request rate permitted by the App Mesh APIs has been exceeded // for your account. For best results, use an increasing or variable sleep interval // between requests. ErrCodeTooManyRequestsException = "TooManyRequestsException" )
const ( ServiceName = "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 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 new service mesh. A service mesh is a logical boundary for network traffic between the services that reside within it.
After you create your service mesh, you can create virtual nodes, virtual routers, and routes to distribute traffic between the applications in your mesh.
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 do not 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 does not 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-2018-10-01/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-2018-10-01/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 new route that is associated with a virtual router.
You can use the prefix parameter in your route specification for path-based routing of requests. For example, if your virtual router service name is my-service.local, and you want the route to match requests to my-service.local/metrics, then your prefix should be /metrics.
If your route matches a request, you can distribute traffic to one or more target virtual nodes with relative weighting.
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 do not 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 does not 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-2018-10-01/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-2018-10-01/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 new virtual node within a service mesh.
A virtual node acts as logical pointer to a particular task group, such as an Amazon ECS service or a Kubernetes deployment. When you create a virtual node, you must specify the DNS service discovery name for your task group.
Any inbound traffic that your virtual node expects should be specified as a listener. Any outbound traffic that your virtual node expects to reach should be specified as a backend.
The response metadata for your new virtual node contains the arn that is associated with the virtual node. Set this value (either the full ARN or the truncated resource name, for example, mesh/default/virtualNode/simpleapp, as the APPMESH_VIRTUAL_NODE_NAME environment variable for your task group's Envoy proxy container in your task definition or pod spec. This is then mapped to the node.id and node.cluster Envoy parameters.
If you require your Envoy stats or tracing to use a different name, you can override the node.cluster value that is set by APPMESH_VIRTUAL_NODE_NAME with the APPMESH_VIRTUAL_NODE_CLUSTER environment variable.
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 do not 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 does not 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-2018-10-01/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-2018-10-01/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 new virtual router within a service mesh.
Virtual routers handle traffic for one or more service names within your mesh. After you create your virtual router, create and associate routes for your virtual router that direct incoming requests to different virtual nodes.
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 do not 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 does not 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-2018-10-01/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-2018-10-01/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) 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 (routes, virtual routers, 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 do not 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 does not exist. Check your request syntax and try again.
ErrCodeResourceInUseException "ResourceInUseException" You cannot delete the specified resource because it is 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-2018-10-01/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-2018-10-01/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 do not 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 does not exist. Check your request syntax and try again.
ErrCodeResourceInUseException "ResourceInUseException" You cannot delete the specified resource because it is 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-2018-10-01/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-2018-10-01/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.
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 do not 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 does not exist. Check your request syntax and try again.
ErrCodeResourceInUseException "ResourceInUseException" You cannot delete the specified resource because it is 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-2018-10-01/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-2018-10-01/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 do not 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 does not exist. Check your request syntax and try again.
ErrCodeResourceInUseException "ResourceInUseException" You cannot delete the specified resource because it is 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-2018-10-01/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-2018-10-01/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) DescribeMesh ¶
func (c *AppMesh) DescribeMesh(input *DescribeMeshInput) (*DescribeMeshOutput, error)
DescribeMesh API operation for AWS App Mesh.
Describes an existing cluster.
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 do not 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 does not 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-2018-10-01/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-2018-10-01/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 do not 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 does not 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-2018-10-01/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-2018-10-01/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 do not 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 does not 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-2018-10-01/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-2018-10-01/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 do not 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 does not 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-2018-10-01/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-2018-10-01/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) 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 do not 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 does not 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-2018-10-01/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 *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-2018-10-01/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 do not 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 does not 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-2018-10-01/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 *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-2018-10-01/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) 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 do not 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 does not 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-2018-10-01/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 *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-2018-10-01/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 do not 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 does not 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-2018-10-01/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 *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-2018-10-01/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) 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 do not 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 does not 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-2018-10-01/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-2018-10-01/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 do not 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 does not 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-2018-10-01/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-2018-10-01/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 do not 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 does not 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-2018-10-01/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-2018-10-01/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.
type CreateMeshInput ¶
type CreateMeshInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name to use for the service mesh. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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) String ¶
func (s CreateMeshInput) String() string
String returns the string representation
func (*CreateMeshInput) Validate ¶
func (s *CreateMeshInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMeshOutput ¶
type CreateMeshOutput struct { // The full description of your service mesh following the create call. Mesh *MeshData `locationName:"mesh" type:"structure"` // contains filtered or unexported fields }
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 in which to create the route. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name to use for the route. // // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // The route specification to apply. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual router in which to create the route. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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) 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 *RouteData `locationName:"route" type:"structure"` // 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 in which to create the virtual node. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The virtual node specification to apply. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // The name to use for the virtual node. // // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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) 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 *VirtualNodeData `locationName:"virtualNode" type:"structure"` // 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 in which to create the virtual router. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The virtual router specification to apply. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // The name to use for the virtual router. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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) 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 *VirtualRouterData `locationName:"virtualRouter" type:"structure"` // 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 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 *MeshData `locationName:"mesh" type:"structure"` // 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 in which to delete the route. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route to delete. // // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // The name of the virtual router in which to delete the route. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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 *RouteData `locationName:"route" type:"structure"` // 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 in which to delete the virtual node. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual node to delete. // // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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 *VirtualNodeData `locationName:"virtualNode" type:"structure"` // 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 in which to delete the virtual router. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual router to delete. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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 *VirtualRouterData `locationName:"virtualRouter" type:"structure"` // 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 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 *MeshData `locationName:"mesh" type:"structure"` // 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 in which the route resides. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route to describe. // // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // The name of the virtual router with which the route is associated. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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 *RouteData `locationName:"route" type:"structure"` // 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 in which the virtual node resides. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual node to describe. // // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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 *VirtualNodeData `locationName:"virtualNode" type:"structure"` // 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 in which the virtual router resides. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the virtual router to describe. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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 *VirtualRouterData `locationName:"virtualRouter" type:"structure"` // 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 DnsServiceDiscovery ¶
type DnsServiceDiscovery struct { // The DNS service name for your virtual node. ServiceName *string `locationName:"serviceName" type:"string"` // contains filtered or unexported fields }
The DNS service discovery information for your virtual node.
func (DnsServiceDiscovery) GoString ¶
func (s DnsServiceDiscovery) GoString() string
GoString returns the string representation
func (*DnsServiceDiscovery) SetServiceName ¶
func (s *DnsServiceDiscovery) SetServiceName(v string) *DnsServiceDiscovery
SetServiceName sets the ServiceName field's value.
func (DnsServiceDiscovery) String ¶
func (s DnsServiceDiscovery) String() string
String returns the string representation
type HealthCheckPolicy ¶
type HealthCheckPolicy struct { // The number of consecutive successful health checks that must occur before // declaring listener healthy. HealthyThreshold *int64 `locationName:"healthyThreshold" type:"integer"` // The time period in milliseconds between each health check execution. IntervalMillis *int64 `locationName:"intervalMillis" type:"long"` // The destination path for the health check request. Path *string `locationName:"path" type:"string"` // The destination port for the health check request. Port *int64 `locationName:"port" min:"1" type:"integer"` // The protocol for the health check request. Protocol *string `locationName:"protocol" type:"string" enum:"PortProtocol"` // The amount of time to wait when receiving a response from the health check, // in milliseconds. TimeoutMillis *int64 `locationName:"timeoutMillis" type:"long"` // The number of consecutive failed health checks that must occur before declaring // a virtual node unhealthy. UnhealthyThreshold *int64 `locationName:"unhealthyThreshold" type:"integer"` // contains filtered or unexported fields }
An object representing the health check policy for a virtual node's listener.
Listener health checks are not available during the App Mesh preview.
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 *HttpRouteAction `locationName:"action" type:"structure"` // The criteria for determining an HTTP request match. Match *HttpRouteMatch `locationName:"match" type:"structure"` // contains filtered or unexported fields }
An object representing the HTTP routing specification for a route.
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 with which to // distribute traffic. WeightedTargets []*WeightedTarget `locationName:"weightedTargets" type:"list"` // contains filtered or unexported fields }
An object representing the traffic distribution requirements for matched HTTP requests.
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 with which to match requests. This parameter must always // start with /, which by itself matches all requests to the virtual router // service name. You can also match for path-based routing of requests. For // example, if your virtual router service name is my-service.local, and you // want the route to match requests to my-service.local/metrics, then your prefix // should be /metrics. Prefix *string `locationName:"prefix" type:"string"` // contains filtered or unexported fields }
An object representing the requirements for a route to match HTTP requests for a virtual router.
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
type ListMeshesInput ¶
type ListMeshesInput struct { // The maximum number of mesh results returned by ListMeshes in paginated output. // When this parameter is used, ListMeshes only returns limit results in a single // page along with a nextToken response element. The remaining results of the // initial request can be seen by sending another ListMeshes request with the // returned nextToken value. This value can be between 1 and 100. If this parameter // is not used, then ListMeshes returns up to 100 results and a nextToken value // if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The nextToken value returned from a previous paginated ListMeshes request // where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. // // This token should be treated as an opaque identifier that is only used to // retrieve the next items in a list and not for other programmatic purposes. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
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, this value can be used to retrieve // the next page of results. This value is null when there are no more results // to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
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 mesh results returned by ListRoutes in paginated output. // When this parameter is used, ListRoutes only returns limit results in a single // page along with a nextToken response element. The remaining results of the // initial request can be seen by sending another ListRoutes request with the // returned nextToken value. This value can be between 1 and 100. If this parameter // is not used, then ListRoutes returns up to 100 results and a nextToken value // if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh in which to list routes. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListRoutes request // where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The name of the virtual router in which to list routes. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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, this value can be used to retrieve // the next page of results. This value is null when there are no more results // to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing routes for the specified service mesh and virtual router. // // Routes is a required field Routes []*RouteRef `locationName:"routes" type:"list" required:"true"` // contains filtered or unexported fields }
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 ListVirtualNodesInput ¶
type ListVirtualNodesInput struct { // The maximum number of mesh results returned by ListVirtualNodes in paginated // output. When this parameter is used, ListVirtualNodes only returns limit // results in a single page along with a nextToken response element. The remaining // results of the initial request can be seen by sending another ListVirtualNodes // request with the returned nextToken value. This value can be between 1 and // 100. If this parameter is not used, then ListVirtualNodes returns up to 100 // results and a nextToken value if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh in which to list virtual nodes. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListVirtualNodes request // where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
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, this value can be // used to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing virtual nodes for the specified service mesh. // // VirtualNodes is a required field VirtualNodes []*VirtualNodeRef `locationName:"virtualNodes" type:"list" required:"true"` // contains filtered or unexported fields }
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 mesh results returned by ListVirtualRouters in paginated // output. When this parameter is used, ListVirtualRouters only returns limit // results in a single page along with a nextToken response element. The remaining // results of the initial request can be seen by sending another ListVirtualRouters // request with the returned nextToken value. This value can be between 1 and // 100. If this parameter is not used, then ListVirtualRouters returns up to // 100 results and a nextToken value if applicable. Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` // The name of the service mesh in which to list virtual routers. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The nextToken value returned from a previous paginated ListVirtualRouters // request where limit was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
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, this value can // be used to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing virtual routers for the specified service mesh. // // VirtualRouters is a required field VirtualRouters []*VirtualRouterRef `locationName:"virtualRouters" type:"list" required:"true"` // contains filtered or unexported fields }
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 Listener ¶
type Listener struct { // The health check information for the listener. // // Listener health checks are not available during the App Mesh preview. HealthCheck *HealthCheckPolicy `locationName:"healthCheck" type:"structure"` // The port mapping information for the listener. PortMapping *PortMapping `locationName:"portMapping" type:"structure"` // contains filtered or unexported fields }
An object representing a listener for a virtual node.
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 MeshData ¶
type MeshData struct { // The name of the service mesh. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the service mesh. // // Metadata is a required field Metadata *ResourceMetadata `locationName:"metadata" type:"structure" required:"true"` // The status of the service mesh. Status *MeshStatus `locationName:"status" type:"structure"` // contains filtered or unexported fields }
An object representing a service mesh returned by a describe operation.
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 *string `locationName:"arn" type:"string"` // The name of the service mesh. MeshName *string `locationName:"meshName" min:"1" type:"string"` // contains filtered or unexported fields }
An object representing a service mesh returned by a list operation.
func (*MeshRef) SetMeshName ¶
SetMeshName sets the MeshName 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 *int64 `locationName:"port" min:"1" type:"integer"` // The protocol used for the port mapping. Protocol *string `locationName:"protocol" type:"string" enum:"PortProtocol"` // contains filtered or unexported fields }
An object representing a virtual node 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. // // After you create a virtual node, set this value (either the full ARN or the // truncated resource name, for example, mesh/default/virtualNode/simpleapp, // as the APPMESH_VIRTUAL_NODE_NAME environment variable for your task group's // Envoy proxy container in your task definition or pod spec. This is then mapped // to the node.id and node.cluster Envoy parameters. // // If you require your Envoy stats or tracing to use a different name, you can // override the node.cluster value that is set by APPMESH_VIRTUAL_NODE_NAME // with the APPMESH_VIRTUAL_NODE_CLUSTER environment variable. Arn *string `locationName:"arn" type:"string"` // The Unix epoch timestamp in seconds for when the cluster was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` // The Unix epoch timestamp in seconds for when the cluster was last updated. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"` // The unique identifier for the resource. Uid *string `locationName:"uid" type:"string"` // The version of the resource. Resources are created at version 1, and this // version is incremented each time they are updated. Version *int64 `locationName:"version" type:"long"` // contains filtered or unexported fields }
An object representing metadata for a resource.
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 in which the route resides. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the route. Metadata *ResourceMetadata `locationName:"metadata" type:"structure"` // The name of the route. // // RouteName is a required field RouteName *string `locationName:"routeName" min:"1" type:"string" required:"true"` // The specifications of the route. Spec *RouteSpec `locationName:"spec" type:"structure"` // The status of the route. Status *RouteStatus `locationName:"status" type:"structure"` // The virtual router with which the route is associated. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a route returned by a describe operation.
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 *string `locationName:"arn" type:"string"` // The name of the service mesh in which the route resides. MeshName *string `locationName:"meshName" min:"1" type:"string"` // The name of the route. RouteName *string `locationName:"routeName" min:"1" type:"string"` // The virtual router with which the route is associated. VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string"` // contains filtered or unexported fields }
An object representing a route returned by a list operation.
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"` // contains filtered or unexported fields }
An object representing the specification of a route.
func (*RouteSpec) SetHttpRoute ¶
SetHttpRoute sets the HttpRoute field's value.
type RouteStatus ¶
type RouteStatus struct { // The current status for the route. Status *string `locationName:"status" type:"string" 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 the DNS service name for the virtual node. Dns *DnsServiceDiscovery `locationName:"dns" type:"structure"` // contains filtered or unexported fields }
An object representing the service discovery information for a virtual node.
func (ServiceDiscovery) GoString ¶
func (s ServiceDiscovery) GoString() string
GoString returns the string representation
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
type UpdateRouteInput ¶
type UpdateRouteInput struct { // Unique, case-sensitive identifier that you provide to ensure the idempotency // of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The name of the service mesh in which the route resides. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The name of the route to update. // // RouteName is a required field RouteName *string `location:"uri" locationName:"routeName" min:"1" type:"string" required:"true"` // The new route specification to apply. This overwrites the existing data. // // Spec is a required field Spec *RouteSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual router with which the route is associated. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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 *RouteData `locationName:"route" type:"structure"` // 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 in which the virtual node resides. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The new virtual node specification to apply. This overwrites the existing // data. // // Spec is a required field Spec *VirtualNodeSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual node to update. // // VirtualNodeName is a required field VirtualNodeName *string `location:"uri" locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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 *VirtualNodeData `locationName:"virtualNode" type:"structure"` // 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 in which the virtual router resides. // // MeshName is a required field MeshName *string `location:"uri" locationName:"meshName" min:"1" type:"string" required:"true"` // The new virtual router specification to apply. This overwrites the existing // data. // // Spec is a required field Spec *VirtualRouterSpec `locationName:"spec" type:"structure" required:"true"` // The name of the virtual router to update. // // VirtualRouterName is a required field VirtualRouterName *string `location:"uri" locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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 *VirtualRouterData `locationName:"virtualRouter" type:"structure"` // 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 VirtualNodeData ¶
type VirtualNodeData struct { // The name of the service mesh in which the virtual node resides. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the virtual node. Metadata *ResourceMetadata `locationName:"metadata" type:"structure"` // The specifications of the virtual node. Spec *VirtualNodeSpec `locationName:"spec" type:"structure"` // The current status for the virtual node. Status *VirtualNodeStatus `locationName:"status" type:"structure"` // The name of the virtual node. // // VirtualNodeName is a required field VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual node returned by a describe operation.
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 *string `locationName:"arn" type:"string"` // The name of the service mesh in which the virtual node resides. MeshName *string `locationName:"meshName" min:"1" type:"string"` // The name of the virtual node. VirtualNodeName *string `locationName:"virtualNodeName" min:"1" type:"string"` // contains filtered or unexported fields }
An object representing a virtual node returned by a list operation.
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 VirtualNodeSpec ¶
type VirtualNodeSpec struct { // The backends to which the virtual node is expected to send outbound traffic. Backends []*string `locationName:"backends" type:"list"` // The listeners from which the virtual node is expected to receive inbound // traffic. Listeners []*Listener `locationName:"listeners" type:"list"` // The service discovery information for the virtual node. ServiceDiscovery *ServiceDiscovery `locationName:"serviceDiscovery" type:"structure"` // contains filtered or unexported fields }
An object representing the specification of a virtual node.
func (VirtualNodeSpec) GoString ¶
func (s VirtualNodeSpec) GoString() string
GoString returns the string representation
func (*VirtualNodeSpec) SetBackends ¶
func (s *VirtualNodeSpec) SetBackends(v []*string) *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) 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 *string `locationName:"status" type:"string" 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 in which the virtual router resides. // // MeshName is a required field MeshName *string `locationName:"meshName" min:"1" type:"string" required:"true"` // The associated metadata for the virtual router. Metadata *ResourceMetadata `locationName:"metadata" type:"structure"` // The specifications of the virtual router. Spec *VirtualRouterSpec `locationName:"spec" type:"structure"` // The current status of the virtual router. Status *VirtualRouterStatus `locationName:"status" type:"structure"` // The name of the virtual router. // // VirtualRouterName is a required field VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An object representing a virtual router returned by a describe operation.
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 VirtualRouterRef ¶
type VirtualRouterRef struct { // The full Amazon Resource Name (ARN) for the virtual router. Arn *string `locationName:"arn" type:"string"` // The name of the service mesh in which the virtual router resides. MeshName *string `locationName:"meshName" min:"1" type:"string"` // The name of the virtual router. VirtualRouterName *string `locationName:"virtualRouterName" min:"1" type:"string"` // contains filtered or unexported fields }
An object representing a virtual router returned by a list operation.
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 VirtualRouterSpec ¶
type VirtualRouterSpec struct { // The service mesh service names to associate with the virtual router. ServiceNames []*string `locationName:"serviceNames" type:"list"` // contains filtered or unexported fields }
An object representing the specification of a virtual router.
func (VirtualRouterSpec) GoString ¶
func (s VirtualRouterSpec) GoString() string
GoString returns the string representation
func (*VirtualRouterSpec) SetServiceNames ¶
func (s *VirtualRouterSpec) SetServiceNames(v []*string) *VirtualRouterSpec
SetServiceNames sets the ServiceNames field's value.
func (VirtualRouterSpec) String ¶
func (s VirtualRouterSpec) String() string
String returns the string representation
type VirtualRouterStatus ¶
type VirtualRouterStatus struct { // The current status of the virtual router. Status *string `locationName:"status" type:"string" 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 WeightedTarget ¶
type WeightedTarget struct { // The virtual node to associate with the weighted target. VirtualNode *string `locationName:"virtualNode" min:"1" type:"string"` // The relative weight of the weighted target. Weight *int64 `locationName:"weight" type:"integer"` // contains filtered or unexported fields }
An object representing a target and its relative weight. Traffic is distributed across targets according to their relative weight. For example, a weighted target with a relative weight of 50 receives five times as much traffic as one with a relative weight of 10.
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. |