Struct aws_sdk_appmesh::client::Client
source · [−]pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Client for AWS App Mesh
Client for invoking operations on AWS App Mesh. Each operation on AWS App Mesh is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_appmesh::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_appmesh::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_appmesh::Client::from_conf(config);
Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the CreateGatewayRoute
operation.
- The fluent builder is configurable:
gateway_route_name(impl Into<String>)
/set_gateway_route_name(Option<String>)
:The name to use for the gateway route.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the gateway route in.
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to associate the gateway route with. If the virtual gateway is in a shared mesh, then you must be the owner of the virtual gateway resource.
spec(GatewayRouteSpec)
/set_spec(Option<GatewayRouteSpec>)
:The gateway route specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the gateway route to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
CreateGatewayRouteOutput
with field(s):gateway_route(Option<GatewayRouteData>)
:The full description of your gateway route following the create call.
- On failure, responds with
SdkError<CreateGatewayRouteError>
Constructs a fluent builder for the CreateMesh
operation.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name to use for the service mesh.
spec(MeshSpec)
/set_spec(Option<MeshSpec>)
:The service mesh specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the service mesh to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
- On success, responds with
CreateMeshOutput
with field(s):mesh(Option<MeshData>)
:The full description of your service mesh following the create call.
- On failure, responds with
SdkError<CreateMeshError>
Constructs a fluent builder for the CreateRoute
operation.
- The fluent builder is configurable:
route_name(impl Into<String>)
/set_route_name(Option<String>)
:The name to use for the route.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the route in.
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router in which to create the route. If the virtual router is in a shared mesh, then you must be the owner of the virtual router resource.
spec(RouteSpec)
/set_spec(Option<RouteSpec>)
:The route specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the route to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
CreateRouteOutput
with field(s):route(Option<RouteData>)
:The full description of your mesh following the create call.
- On failure, responds with
SdkError<CreateRouteError>
Constructs a fluent builder for the CreateVirtualGateway
operation.
- The fluent builder is configurable:
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name to use for the virtual gateway.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the virtual gateway in.
spec(VirtualGatewaySpec)
/set_spec(Option<VirtualGatewaySpec>)
:The virtual gateway specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the virtual gateway to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
CreateVirtualGatewayOutput
with field(s):virtual_gateway(Option<VirtualGatewayData>)
:The full description of your virtual gateway following the create call.
- On failure, responds with
SdkError<CreateVirtualGatewayError>
Constructs a fluent builder for the CreateVirtualNode
operation.
- The fluent builder is configurable:
virtual_node_name(impl Into<String>)
/set_virtual_node_name(Option<String>)
:The name to use for the virtual node.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the virtual node in.
spec(VirtualNodeSpec)
/set_spec(Option<VirtualNodeSpec>)
:The virtual node specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the virtual node to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
CreateVirtualNodeOutput
with field(s):virtual_node(Option<VirtualNodeData>)
:The full description of your virtual node following the create call.
- On failure, responds with
SdkError<CreateVirtualNodeError>
Constructs a fluent builder for the CreateVirtualRouter
operation.
- The fluent builder is configurable:
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name to use for the virtual router.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the virtual router in.
spec(VirtualRouterSpec)
/set_spec(Option<VirtualRouterSpec>)
:The virtual router specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the virtual router to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
CreateVirtualRouterOutput
with field(s):virtual_router(Option<VirtualRouterData>)
:The full description of your virtual router following the create call.
- On failure, responds with
SdkError<CreateVirtualRouterError>
Constructs a fluent builder for the CreateVirtualService
operation.
- The fluent builder is configurable:
virtual_service_name(impl Into<String>)
/set_virtual_service_name(Option<String>)
:The name to use for the virtual service.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the virtual service in.
spec(VirtualServiceSpec)
/set_spec(Option<VirtualServiceSpec>)
:The virtual service specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the virtual service to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
CreateVirtualServiceOutput
with field(s):virtual_service(Option<VirtualServiceData>)
:The full description of your virtual service following the create call.
- On failure, responds with
SdkError<CreateVirtualServiceError>
Constructs a fluent builder for the DeleteGatewayRoute
operation.
- The fluent builder is configurable:
gateway_route_name(impl Into<String>)
/set_gateway_route_name(Option<String>)
:The name of the gateway route to delete.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the gateway route from.
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to delete the route from.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DeleteGatewayRouteOutput
with field(s):gateway_route(Option<GatewayRouteData>)
:The gateway route that was deleted.
- On failure, responds with
SdkError<DeleteGatewayRouteError>
Constructs a fluent builder for the DeleteMesh
operation.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete.
- On success, responds with
DeleteMeshOutput
with field(s):mesh(Option<MeshData>)
:The service mesh that was deleted.
- On failure, responds with
SdkError<DeleteMeshError>
Constructs a fluent builder for the DeleteRoute
operation.
- The fluent builder is configurable:
route_name(impl Into<String>)
/set_route_name(Option<String>)
:The name of the route to delete.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the route in.
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to delete the route in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DeleteRouteOutput
with field(s):route(Option<RouteData>)
:The route that was deleted.
- On failure, responds with
SdkError<DeleteRouteError>
Constructs a fluent builder for the DeleteVirtualGateway
operation.
- The fluent builder is configurable:
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to delete.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the virtual gateway from.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DeleteVirtualGatewayOutput
with field(s):virtual_gateway(Option<VirtualGatewayData>)
:The virtual gateway that was deleted.
- On failure, responds with
SdkError<DeleteVirtualGatewayError>
Constructs a fluent builder for the DeleteVirtualNode
operation.
- The fluent builder is configurable:
virtual_node_name(impl Into<String>)
/set_virtual_node_name(Option<String>)
:The name of the virtual node to delete.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the virtual node in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DeleteVirtualNodeOutput
with field(s):virtual_node(Option<VirtualNodeData>)
:The virtual node that was deleted.
- On failure, responds with
SdkError<DeleteVirtualNodeError>
Constructs a fluent builder for the DeleteVirtualRouter
operation.
- The fluent builder is configurable:
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to delete.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the virtual router in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DeleteVirtualRouterOutput
with field(s):virtual_router(Option<VirtualRouterData>)
:The virtual router that was deleted.
- On failure, responds with
SdkError<DeleteVirtualRouterError>
Constructs a fluent builder for the DeleteVirtualService
operation.
- The fluent builder is configurable:
virtual_service_name(impl Into<String>)
/set_virtual_service_name(Option<String>)
:The name of the virtual service to delete.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the virtual service in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DeleteVirtualServiceOutput
with field(s):virtual_service(Option<VirtualServiceData>)
:The virtual service that was deleted.
- On failure, responds with
SdkError<DeleteVirtualServiceError>
Constructs a fluent builder for the DescribeGatewayRoute
operation.
- The fluent builder is configurable:
gateway_route_name(impl Into<String>)
/set_gateway_route_name(Option<String>)
:The name of the gateway route to describe.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the gateway route resides in.
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway that the gateway route is associated with.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DescribeGatewayRouteOutput
with field(s):gateway_route(Option<GatewayRouteData>)
:The full description of your gateway route.
- On failure, responds with
SdkError<DescribeGatewayRouteError>
Constructs a fluent builder for the DescribeMesh
operation.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to describe.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DescribeMeshOutput
with field(s):mesh(Option<MeshData>)
:The full description of your service mesh.
- On failure, responds with
SdkError<DescribeMeshError>
Constructs a fluent builder for the DescribeRoute
operation.
- The fluent builder is configurable:
route_name(impl Into<String>)
/set_route_name(Option<String>)
:The name of the route to describe.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the route resides in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router that the route is associated with.
- On success, responds with
DescribeRouteOutput
with field(s):route(Option<RouteData>)
:The full description of your route.
- On failure, responds with
SdkError<DescribeRouteError>
Constructs a fluent builder for the DescribeVirtualGateway
operation.
- The fluent builder is configurable:
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to describe.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the gateway route resides in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DescribeVirtualGatewayOutput
with field(s):virtual_gateway(Option<VirtualGatewayData>)
:The full description of your virtual gateway.
- On failure, responds with
SdkError<DescribeVirtualGatewayError>
Constructs a fluent builder for the DescribeVirtualNode
operation.
- The fluent builder is configurable:
virtual_node_name(impl Into<String>)
/set_virtual_node_name(Option<String>)
:The name of the virtual node to describe.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual node resides in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DescribeVirtualNodeOutput
with field(s):virtual_node(Option<VirtualNodeData>)
:The full description of your virtual node.
- On failure, responds with
SdkError<DescribeVirtualNodeError>
Constructs a fluent builder for the DescribeVirtualRouter
operation.
- The fluent builder is configurable:
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to describe.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual router resides in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DescribeVirtualRouterOutput
with field(s):virtual_router(Option<VirtualRouterData>)
:The full description of your virtual router.
- On failure, responds with
SdkError<DescribeVirtualRouterError>
Constructs a fluent builder for the DescribeVirtualService
operation.
- The fluent builder is configurable:
virtual_service_name(impl Into<String>)
/set_virtual_service_name(Option<String>)
:The name of the virtual service to describe.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual service resides in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DescribeVirtualServiceOutput
with field(s):virtual_service(Option<VirtualServiceData>)
:The full description of your virtual service.
- On failure, responds with
SdkError<DescribeVirtualServiceError>
Constructs a fluent builder for the ListGatewayRoutes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list gateway routes in.
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to list gateway routes in.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListGatewayRoutes
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListGatewayRoutes
in paginated output. When you use this parameter,ListGatewayRoutes
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListGatewayRoutes
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListGatewayRoutes
returns up to 100 results and anextToken
value if applicable.mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
ListGatewayRoutesOutput
with field(s):gateway_routes(Option<Vec<GatewayRouteRef>>)
:The list of existing gateway routes for the specified service mesh and virtual gateway.
next_token(Option<String>)
:The
nextToken
value to include in a futureListGatewayRoutes
request. When the results of aListGatewayRoutes
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListGatewayRoutesError>
Constructs a fluent builder for the ListMeshes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListMeshes
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListMeshes
in paginated output. When you use this parameter,ListMeshes
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListMeshes
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListMeshes
returns up to 100 results and anextToken
value if applicable.
- On success, responds with
ListMeshesOutput
with field(s):meshes(Option<Vec<MeshRef>>)
:The list of existing service meshes.
next_token(Option<String>)
:The
nextToken
value to include in a futureListMeshes
request. When the results of aListMeshes
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListMeshesError>
Constructs a fluent builder for the ListRoutes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list routes in.
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to list routes in.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListRoutes
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListRoutes
in paginated output. When you use this parameter,ListRoutes
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListRoutes
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListRoutes
returns up to 100 results and anextToken
value if applicable.mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
ListRoutesOutput
with field(s):routes(Option<Vec<RouteRef>>)
:The list of existing routes for the specified service mesh and virtual router.
next_token(Option<String>)
:The
nextToken
value to include in a futureListRoutes
request. When the results of aListRoutes
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListRoutesError>
Constructs a fluent builder for the ListTagsForResource
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListTagsForResource
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of tag results returned by
ListTagsForResource
in paginated output. When this parameter is used,ListTagsForResource
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListTagsForResource
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListTagsForResource
returns up to 100 results and anextToken
value if applicable.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<Vec<TagRef>>)
:The tags for the resource.
next_token(Option<String>)
:The
nextToken
value to include in a futureListTagsForResource
request. When the results of aListTagsForResource
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListTagsForResourceError>
Constructs a fluent builder for the ListVirtualGateways
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list virtual gateways in.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListVirtualGateways
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListVirtualGateways
in paginated output. When you use this parameter,ListVirtualGateways
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListVirtualGateways
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListVirtualGateways
returns up to 100 results and anextToken
value if applicable.mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
ListVirtualGatewaysOutput
with field(s):virtual_gateways(Option<Vec<VirtualGatewayRef>>)
:The list of existing virtual gateways for the specified service mesh.
next_token(Option<String>)
:The
nextToken
value to include in a futureListVirtualGateways
request. When the results of aListVirtualGateways
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListVirtualGatewaysError>
Constructs a fluent builder for the ListVirtualNodes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list virtual nodes in.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListVirtualNodes
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListVirtualNodes
in paginated output. When you use this parameter,ListVirtualNodes
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListVirtualNodes
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListVirtualNodes
returns up to 100 results and anextToken
value if applicable.mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
ListVirtualNodesOutput
with field(s):virtual_nodes(Option<Vec<VirtualNodeRef>>)
:The list of existing virtual nodes for the specified service mesh.
next_token(Option<String>)
:The
nextToken
value to include in a futureListVirtualNodes
request. When the results of aListVirtualNodes
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListVirtualNodesError>
Constructs a fluent builder for the ListVirtualRouters
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list virtual routers in.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListVirtualRouters
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListVirtualRouters
in paginated output. When you use this parameter,ListVirtualRouters
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListVirtualRouters
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListVirtualRouters
returns up to 100 results and anextToken
value if applicable.mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
ListVirtualRoutersOutput
with field(s):virtual_routers(Option<Vec<VirtualRouterRef>>)
:The list of existing virtual routers for the specified service mesh.
next_token(Option<String>)
:The
nextToken
value to include in a futureListVirtualRouters
request. When the results of aListVirtualRouters
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListVirtualRoutersError>
Constructs a fluent builder for the ListVirtualServices
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list virtual services in.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListVirtualServices
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListVirtualServices
in paginated output. When you use this parameter,ListVirtualServices
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListVirtualServices
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListVirtualServices
returns up to 100 results and anextToken
value if applicable.mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
ListVirtualServicesOutput
with field(s):virtual_services(Option<Vec<VirtualServiceRef>>)
:The list of existing virtual services for the specified service mesh.
next_token(Option<String>)
:The
nextToken
value to include in a futureListVirtualServices
request. When the results of aListVirtualServices
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListVirtualServicesError>
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource to add tags to.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource to delete tags from.
tag_keys(Vec<String>)
/set_tag_keys(Option<Vec<String>>)
:The keys of the tags to be removed.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
Constructs a fluent builder for the UpdateGatewayRoute
operation.
- The fluent builder is configurable:
gateway_route_name(impl Into<String>)
/set_gateway_route_name(Option<String>)
:The name of the gateway route to update.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the gateway route resides in.
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway that the gateway route is associated with.
spec(GatewayRouteSpec)
/set_spec(Option<GatewayRouteSpec>)
:The new gateway route specification to apply. This overwrites the existing data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
UpdateGatewayRouteOutput
with field(s):gateway_route(Option<GatewayRouteData>)
:A full description of the gateway route that was updated.
- On failure, responds with
SdkError<UpdateGatewayRouteError>
Constructs a fluent builder for the UpdateMesh
operation.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to update.
spec(MeshSpec)
/set_spec(Option<MeshSpec>)
:The service mesh specification to apply.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
- On success, responds with
UpdateMeshOutput
with field(s):mesh(Option<MeshData>)
:An object that represents a service mesh returned by a describe operation.
- On failure, responds with
SdkError<UpdateMeshError>
Constructs a fluent builder for the UpdateRoute
operation.
- The fluent builder is configurable:
route_name(impl Into<String>)
/set_route_name(Option<String>)
:The name of the route to update.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the route resides in.
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router that the route is associated with.
spec(RouteSpec)
/set_spec(Option<RouteSpec>)
:The new route specification to apply. This overwrites the existing data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
UpdateRouteOutput
with field(s):route(Option<RouteData>)
:A full description of the route that was updated.
- On failure, responds with
SdkError<UpdateRouteError>
Constructs a fluent builder for the UpdateVirtualGateway
operation.
- The fluent builder is configurable:
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to update.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual gateway resides in.
spec(VirtualGatewaySpec)
/set_spec(Option<VirtualGatewaySpec>)
:The new virtual gateway specification to apply. This overwrites the existing data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
UpdateVirtualGatewayOutput
with field(s):virtual_gateway(Option<VirtualGatewayData>)
:A full description of the virtual gateway that was updated.
- On failure, responds with
SdkError<UpdateVirtualGatewayError>
Constructs a fluent builder for the UpdateVirtualNode
operation.
- The fluent builder is configurable:
virtual_node_name(impl Into<String>)
/set_virtual_node_name(Option<String>)
:The name of the virtual node to update.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual node resides in.
spec(VirtualNodeSpec)
/set_spec(Option<VirtualNodeSpec>)
:The new virtual node specification to apply. This overwrites the existing data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
UpdateVirtualNodeOutput
with field(s):virtual_node(Option<VirtualNodeData>)
:A full description of the virtual node that was updated.
- On failure, responds with
SdkError<UpdateVirtualNodeError>
Constructs a fluent builder for the UpdateVirtualRouter
operation.
- The fluent builder is configurable:
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to update.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual router resides in.
spec(VirtualRouterSpec)
/set_spec(Option<VirtualRouterSpec>)
:The new virtual router specification to apply. This overwrites the existing data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
UpdateVirtualRouterOutput
with field(s):virtual_router(Option<VirtualRouterData>)
:A full description of the virtual router that was updated.
- On failure, responds with
SdkError<UpdateVirtualRouterError>
Constructs a fluent builder for the UpdateVirtualService
operation.
- The fluent builder is configurable:
virtual_service_name(impl Into<String>)
/set_virtual_service_name(Option<String>)
:The name of the virtual service to update.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual service resides in.
spec(VirtualServiceSpec)
/set_spec(Option<VirtualServiceSpec>)
:The new virtual service specification to apply. This overwrites the existing data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
UpdateVirtualServiceOutput
with field(s):virtual_service(Option<VirtualServiceData>)
:A full description of the virtual service that was updated.
- On failure, responds with
SdkError<UpdateVirtualServiceError>
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more