Struct aws_sdk_appmesh::Client
source · pub struct Client { /* 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.
Constructing a Client
A Config is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env(), since this will resolve an SdkConfig which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env() instead, which returns a ConfigLoader that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_appmesh::Client::new(&config);Occasionally, SDKs may have additional service-specific that can be set on the Config that
is absent from SdkConfig, or slightly different settings for a specific client may be desired.
The Config struct implements From<&SdkConfig>, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_appmesh::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();See the aws-config docs and Config for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
Using the Client
A client has a function for every operation that can be performed by the service.
For example, the ListTagsForResource operation has
a Client::list_tags_for_resource, function which returns a builder for that operation.
The fluent builder ultimately has a send() function that returns an async future that
returns a result, as illustrated below:
let result = client.list_tags_for_resource()
.resource_arn("example")
.send()
.await;The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize module for more
information.
Implementations§
source§impl Client
impl Client
sourcepub fn create_gateway_route(&self) -> CreateGatewayRouteFluentBuilder
pub fn create_gateway_route(&self) -> CreateGatewayRouteFluentBuilder
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(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 Amazon Web Services 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
CreateGatewayRouteOutputwith field(s):gateway_route(Option<GatewayRouteData>):The full description of your gateway route following the create call.
- On failure, responds with
SdkError<CreateGatewayRouteError>
source§impl Client
impl Client
sourcepub fn create_mesh(&self) -> CreateMeshFluentBuilder
pub fn create_mesh(&self) -> CreateMeshFluentBuilder
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(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
CreateMeshOutputwith field(s):mesh(Option<MeshData>):The full description of your service mesh following the create call.
- On failure, responds with
SdkError<CreateMeshError>
source§impl Client
impl Client
sourcepub fn create_route(&self) -> CreateRouteFluentBuilder
pub fn create_route(&self) -> CreateRouteFluentBuilder
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(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 Amazon Web Services 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
CreateRouteOutputwith field(s):route(Option<RouteData>):The full description of your mesh following the create call.
- On failure, responds with
SdkError<CreateRouteError>
source§impl Client
impl Client
sourcepub fn create_virtual_gateway(&self) -> CreateVirtualGatewayFluentBuilder
pub fn create_virtual_gateway(&self) -> CreateVirtualGatewayFluentBuilder
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(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 Amazon Web Services 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
CreateVirtualGatewayOutputwith field(s):virtual_gateway(Option<VirtualGatewayData>):The full description of your virtual gateway following the create call.
- On failure, responds with
SdkError<CreateVirtualGatewayError>
source§impl Client
impl Client
sourcepub fn create_virtual_node(&self) -> CreateVirtualNodeFluentBuilder
pub fn create_virtual_node(&self) -> CreateVirtualNodeFluentBuilder
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(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 Amazon Web Services 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
CreateVirtualNodeOutputwith field(s):virtual_node(Option<VirtualNodeData>):The full description of your virtual node following the create call.
- On failure, responds with
SdkError<CreateVirtualNodeError>
source§impl Client
impl Client
sourcepub fn create_virtual_router(&self) -> CreateVirtualRouterFluentBuilder
pub fn create_virtual_router(&self) -> CreateVirtualRouterFluentBuilder
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(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 Amazon Web Services 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
CreateVirtualRouterOutputwith field(s):virtual_router(Option<VirtualRouterData>):The full description of your virtual router following the create call.
- On failure, responds with
SdkError<CreateVirtualRouterError>
source§impl Client
impl Client
sourcepub fn create_virtual_service(&self) -> CreateVirtualServiceFluentBuilder
pub fn create_virtual_service(&self) -> CreateVirtualServiceFluentBuilder
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(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 Amazon Web Services 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
CreateVirtualServiceOutputwith field(s):virtual_service(Option<VirtualServiceData>):The full description of your virtual service following the create call.
- On failure, responds with
SdkError<CreateVirtualServiceError>
source§impl Client
impl Client
sourcepub fn delete_gateway_route(&self) -> DeleteGatewayRouteFluentBuilder
pub fn delete_gateway_route(&self) -> DeleteGatewayRouteFluentBuilder
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 Amazon Web Services 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
DeleteGatewayRouteOutputwith field(s):gateway_route(Option<GatewayRouteData>):The gateway route that was deleted.
- On failure, responds with
SdkError<DeleteGatewayRouteError>
source§impl Client
impl Client
sourcepub fn delete_mesh(&self) -> DeleteMeshFluentBuilder
pub fn delete_mesh(&self) -> DeleteMeshFluentBuilder
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
DeleteMeshOutputwith field(s):mesh(Option<MeshData>):The service mesh that was deleted.
- On failure, responds with
SdkError<DeleteMeshError>
source§impl Client
impl Client
sourcepub fn delete_route(&self) -> DeleteRouteFluentBuilder
pub fn delete_route(&self) -> DeleteRouteFluentBuilder
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 Amazon Web Services 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
DeleteRouteOutputwith field(s):route(Option<RouteData>):The route that was deleted.
- On failure, responds with
SdkError<DeleteRouteError>
source§impl Client
impl Client
sourcepub fn delete_virtual_gateway(&self) -> DeleteVirtualGatewayFluentBuilder
pub fn delete_virtual_gateway(&self) -> DeleteVirtualGatewayFluentBuilder
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 Amazon Web Services 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
DeleteVirtualGatewayOutputwith field(s):virtual_gateway(Option<VirtualGatewayData>):The virtual gateway that was deleted.
- On failure, responds with
SdkError<DeleteVirtualGatewayError>
source§impl Client
impl Client
sourcepub fn delete_virtual_node(&self) -> DeleteVirtualNodeFluentBuilder
pub fn delete_virtual_node(&self) -> DeleteVirtualNodeFluentBuilder
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 Amazon Web Services 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
DeleteVirtualNodeOutputwith field(s):virtual_node(Option<VirtualNodeData>):The virtual node that was deleted.
- On failure, responds with
SdkError<DeleteVirtualNodeError>
source§impl Client
impl Client
sourcepub fn delete_virtual_router(&self) -> DeleteVirtualRouterFluentBuilder
pub fn delete_virtual_router(&self) -> DeleteVirtualRouterFluentBuilder
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 Amazon Web Services 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
DeleteVirtualRouterOutputwith field(s):virtual_router(Option<VirtualRouterData>):The virtual router that was deleted.
- On failure, responds with
SdkError<DeleteVirtualRouterError>
source§impl Client
impl Client
sourcepub fn delete_virtual_service(&self) -> DeleteVirtualServiceFluentBuilder
pub fn delete_virtual_service(&self) -> DeleteVirtualServiceFluentBuilder
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 Amazon Web Services 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
DeleteVirtualServiceOutputwith field(s):virtual_service(Option<VirtualServiceData>):The virtual service that was deleted.
- On failure, responds with
SdkError<DeleteVirtualServiceError>
source§impl Client
impl Client
sourcepub fn describe_gateway_route(&self) -> DescribeGatewayRouteFluentBuilder
pub fn describe_gateway_route(&self) -> DescribeGatewayRouteFluentBuilder
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 Amazon Web Services 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
DescribeGatewayRouteOutputwith field(s):gateway_route(Option<GatewayRouteData>):The full description of your gateway route.
- On failure, responds with
SdkError<DescribeGatewayRouteError>
source§impl Client
impl Client
sourcepub fn describe_mesh(&self) -> DescribeMeshFluentBuilder
pub fn describe_mesh(&self) -> DescribeMeshFluentBuilder
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 Amazon Web Services 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
DescribeMeshOutputwith field(s):mesh(Option<MeshData>):The full description of your service mesh.
- On failure, responds with
SdkError<DescribeMeshError>
source§impl Client
impl Client
sourcepub fn describe_route(&self) -> DescribeRouteFluentBuilder
pub fn describe_route(&self) -> DescribeRouteFluentBuilder
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 Amazon Web Services 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
DescribeRouteOutputwith field(s):route(Option<RouteData>):The full description of your route.
- On failure, responds with
SdkError<DescribeRouteError>
source§impl Client
impl Client
sourcepub fn describe_virtual_gateway(&self) -> DescribeVirtualGatewayFluentBuilder
pub fn describe_virtual_gateway(&self) -> DescribeVirtualGatewayFluentBuilder
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 Amazon Web Services 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
DescribeVirtualGatewayOutputwith field(s):virtual_gateway(Option<VirtualGatewayData>):The full description of your virtual gateway.
- On failure, responds with
SdkError<DescribeVirtualGatewayError>
source§impl Client
impl Client
sourcepub fn describe_virtual_node(&self) -> DescribeVirtualNodeFluentBuilder
pub fn describe_virtual_node(&self) -> DescribeVirtualNodeFluentBuilder
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 Amazon Web Services 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
DescribeVirtualNodeOutputwith field(s):virtual_node(Option<VirtualNodeData>):The full description of your virtual node.
- On failure, responds with
SdkError<DescribeVirtualNodeError>
source§impl Client
impl Client
sourcepub fn describe_virtual_router(&self) -> DescribeVirtualRouterFluentBuilder
pub fn describe_virtual_router(&self) -> DescribeVirtualRouterFluentBuilder
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 Amazon Web Services 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
DescribeVirtualRouterOutputwith field(s):virtual_router(Option<VirtualRouterData>):The full description of your virtual router.
- On failure, responds with
SdkError<DescribeVirtualRouterError>
source§impl Client
impl Client
sourcepub fn describe_virtual_service(&self) -> DescribeVirtualServiceFluentBuilder
pub fn describe_virtual_service(&self) -> DescribeVirtualServiceFluentBuilder
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 Amazon Web Services 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
DescribeVirtualServiceOutputwith field(s):virtual_service(Option<VirtualServiceData>):The full description of your virtual service.
- On failure, responds with
SdkError<DescribeVirtualServiceError>
source§impl Client
impl Client
sourcepub fn list_gateway_routes(&self) -> ListGatewayRoutesFluentBuilder
pub fn list_gateway_routes(&self) -> ListGatewayRoutesFluentBuilder
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
nextTokenvalue returned from a previous paginatedListGatewayRoutesrequest wherelimitwas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.limit(i32)/set_limit(Option<i32>):The maximum number of results returned by
ListGatewayRoutesin paginated output. When you use this parameter,ListGatewayRoutesreturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListGatewayRoutesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don’t use this parameter,ListGatewayRoutesreturns up to 100 results and anextTokenvalue if applicable.mesh_owner(impl Into<String>)/set_mesh_owner(Option<String>):The Amazon Web Services 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
ListGatewayRoutesOutputwith 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
nextTokenvalue to include in a futureListGatewayRoutesrequest. When the results of aListGatewayRoutesrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.
- On failure, responds with
SdkError<ListGatewayRoutesError>
source§impl Client
impl Client
sourcepub fn list_meshes(&self) -> ListMeshesFluentBuilder
pub fn list_meshes(&self) -> ListMeshesFluentBuilder
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
nextTokenvalue returned from a previous paginatedListMeshesrequest wherelimitwas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.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
ListMeshesin paginated output. When you use this parameter,ListMeshesreturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListMeshesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don’t use this parameter,ListMeshesreturns up to 100 results and anextTokenvalue if applicable.
- On success, responds with
ListMeshesOutputwith field(s):meshes(Option<Vec<MeshRef>>):The list of existing service meshes.
next_token(Option<String>):The
nextTokenvalue to include in a futureListMeshesrequest. When the results of aListMeshesrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.
- On failure, responds with
SdkError<ListMeshesError>
source§impl Client
impl Client
sourcepub fn list_routes(&self) -> ListRoutesFluentBuilder
pub fn list_routes(&self) -> ListRoutesFluentBuilder
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
nextTokenvalue returned from a previous paginatedListRoutesrequest wherelimitwas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.limit(i32)/set_limit(Option<i32>):The maximum number of results returned by
ListRoutesin paginated output. When you use this parameter,ListRoutesreturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListRoutesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don’t use this parameter,ListRoutesreturns up to 100 results and anextTokenvalue if applicable.mesh_owner(impl Into<String>)/set_mesh_owner(Option<String>):The Amazon Web Services 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
ListRoutesOutputwith field(s):routes(Option<Vec<RouteRef>>):The list of existing routes for the specified service mesh and virtual router.
next_token(Option<String>):The
nextTokenvalue to include in a futureListRoutesrequest. When the results of aListRoutesrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.
- On failure, responds with
SdkError<ListRoutesError>
source§impl Client
impl Client
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
nextTokenvalue returned from a previous paginatedListTagsForResourcerequest wherelimitwas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.limit(i32)/set_limit(Option<i32>):The maximum number of tag results returned by
ListTagsForResourcein paginated output. When this parameter is used,ListTagsForResourcereturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListTagsForResourcerequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don’t use this parameter,ListTagsForResourcereturns up to 100 results and anextTokenvalue if applicable.
- On success, responds with
ListTagsForResourceOutputwith field(s):tags(Option<Vec<TagRef>>):The tags for the resource.
next_token(Option<String>):The
nextTokenvalue to include in a futureListTagsForResourcerequest. When the results of aListTagsForResourcerequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.
- On failure, responds with
SdkError<ListTagsForResourceError>
source§impl Client
impl Client
sourcepub fn list_virtual_gateways(&self) -> ListVirtualGatewaysFluentBuilder
pub fn list_virtual_gateways(&self) -> ListVirtualGatewaysFluentBuilder
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
nextTokenvalue returned from a previous paginatedListVirtualGatewaysrequest wherelimitwas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.limit(i32)/set_limit(Option<i32>):The maximum number of results returned by
ListVirtualGatewaysin paginated output. When you use this parameter,ListVirtualGatewaysreturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListVirtualGatewaysrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don’t use this parameter,ListVirtualGatewaysreturns up to 100 results and anextTokenvalue if applicable.mesh_owner(impl Into<String>)/set_mesh_owner(Option<String>):The Amazon Web Services 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
ListVirtualGatewaysOutputwith field(s):virtual_gateways(Option<Vec<VirtualGatewayRef>>):The list of existing virtual gateways for the specified service mesh.
next_token(Option<String>):The
nextTokenvalue to include in a futureListVirtualGatewaysrequest. When the results of aListVirtualGatewaysrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.
- On failure, responds with
SdkError<ListVirtualGatewaysError>
source§impl Client
impl Client
sourcepub fn list_virtual_nodes(&self) -> ListVirtualNodesFluentBuilder
pub fn list_virtual_nodes(&self) -> ListVirtualNodesFluentBuilder
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
nextTokenvalue returned from a previous paginatedListVirtualNodesrequest wherelimitwas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.limit(i32)/set_limit(Option<i32>):The maximum number of results returned by
ListVirtualNodesin paginated output. When you use this parameter,ListVirtualNodesreturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListVirtualNodesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don’t use this parameter,ListVirtualNodesreturns up to 100 results and anextTokenvalue if applicable.mesh_owner(impl Into<String>)/set_mesh_owner(Option<String>):The Amazon Web Services 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
ListVirtualNodesOutputwith field(s):virtual_nodes(Option<Vec<VirtualNodeRef>>):The list of existing virtual nodes for the specified service mesh.
next_token(Option<String>):The
nextTokenvalue to include in a futureListVirtualNodesrequest. When the results of aListVirtualNodesrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.
- On failure, responds with
SdkError<ListVirtualNodesError>
source§impl Client
impl Client
sourcepub fn list_virtual_routers(&self) -> ListVirtualRoutersFluentBuilder
pub fn list_virtual_routers(&self) -> ListVirtualRoutersFluentBuilder
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
nextTokenvalue returned from a previous paginatedListVirtualRoutersrequest wherelimitwas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.limit(i32)/set_limit(Option<i32>):The maximum number of results returned by
ListVirtualRoutersin paginated output. When you use this parameter,ListVirtualRoutersreturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListVirtualRoutersrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don’t use this parameter,ListVirtualRoutersreturns up to 100 results and anextTokenvalue if applicable.mesh_owner(impl Into<String>)/set_mesh_owner(Option<String>):The Amazon Web Services 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
ListVirtualRoutersOutputwith field(s):virtual_routers(Option<Vec<VirtualRouterRef>>):The list of existing virtual routers for the specified service mesh.
next_token(Option<String>):The
nextTokenvalue to include in a futureListVirtualRoutersrequest. When the results of aListVirtualRoutersrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.
- On failure, responds with
SdkError<ListVirtualRoutersError>
source§impl Client
impl Client
sourcepub fn list_virtual_services(&self) -> ListVirtualServicesFluentBuilder
pub fn list_virtual_services(&self) -> ListVirtualServicesFluentBuilder
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
nextTokenvalue returned from a previous paginatedListVirtualServicesrequest wherelimitwas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.limit(i32)/set_limit(Option<i32>):The maximum number of results returned by
ListVirtualServicesin paginated output. When you use this parameter,ListVirtualServicesreturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListVirtualServicesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don’t use this parameter,ListVirtualServicesreturns up to 100 results and anextTokenvalue if applicable.mesh_owner(impl Into<String>)/set_mesh_owner(Option<String>):The Amazon Web Services 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
ListVirtualServicesOutputwith field(s):virtual_services(Option<Vec<VirtualServiceRef>>):The list of existing virtual services for the specified service mesh.
next_token(Option<String>):The
nextTokenvalue to include in a futureListVirtualServicesrequest. When the results of aListVirtualServicesrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.
- On failure, responds with
SdkError<ListVirtualServicesError>
source§impl Client
impl Client
sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
pub fn tag_resource(&self) -> TagResourceFluentBuilder
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(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>
source§impl Client
impl Client
sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
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(impl Into<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>
source§impl Client
impl Client
sourcepub fn update_gateway_route(&self) -> UpdateGatewayRouteFluentBuilder
pub fn update_gateway_route(&self) -> UpdateGatewayRouteFluentBuilder
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 Amazon Web Services 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
UpdateGatewayRouteOutputwith field(s):gateway_route(Option<GatewayRouteData>):A full description of the gateway route that was updated.
- On failure, responds with
SdkError<UpdateGatewayRouteError>
source§impl Client
impl Client
sourcepub fn update_mesh(&self) -> UpdateMeshFluentBuilder
pub fn update_mesh(&self) -> UpdateMeshFluentBuilder
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
UpdateMeshOutputwith field(s):mesh(Option<MeshData>):An object that represents a service mesh returned by a describe operation.
- On failure, responds with
SdkError<UpdateMeshError>
source§impl Client
impl Client
sourcepub fn update_route(&self) -> UpdateRouteFluentBuilder
pub fn update_route(&self) -> UpdateRouteFluentBuilder
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 Amazon Web Services 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
UpdateRouteOutputwith field(s):route(Option<RouteData>):A full description of the route that was updated.
- On failure, responds with
SdkError<UpdateRouteError>
source§impl Client
impl Client
sourcepub fn update_virtual_gateway(&self) -> UpdateVirtualGatewayFluentBuilder
pub fn update_virtual_gateway(&self) -> UpdateVirtualGatewayFluentBuilder
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 Amazon Web Services 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
UpdateVirtualGatewayOutputwith field(s):virtual_gateway(Option<VirtualGatewayData>):A full description of the virtual gateway that was updated.
- On failure, responds with
SdkError<UpdateVirtualGatewayError>
source§impl Client
impl Client
sourcepub fn update_virtual_node(&self) -> UpdateVirtualNodeFluentBuilder
pub fn update_virtual_node(&self) -> UpdateVirtualNodeFluentBuilder
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 Amazon Web Services 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
UpdateVirtualNodeOutputwith field(s):virtual_node(Option<VirtualNodeData>):A full description of the virtual node that was updated.
- On failure, responds with
SdkError<UpdateVirtualNodeError>
source§impl Client
impl Client
sourcepub fn update_virtual_router(&self) -> UpdateVirtualRouterFluentBuilder
pub fn update_virtual_router(&self) -> UpdateVirtualRouterFluentBuilder
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 Amazon Web Services 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
UpdateVirtualRouterOutputwith field(s):virtual_router(Option<VirtualRouterData>):A full description of the virtual router that was updated.
- On failure, responds with
SdkError<UpdateVirtualRouterError>
source§impl Client
impl Client
sourcepub fn update_virtual_service(&self) -> UpdateVirtualServiceFluentBuilder
pub fn update_virtual_service(&self) -> UpdateVirtualServiceFluentBuilder
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 Amazon Web Services 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
UpdateVirtualServiceOutputwith field(s):virtual_service(Option<VirtualServiceData>):A full description of the virtual service that was updated.
- On failure, responds with
SdkError<UpdateVirtualServiceError>
source§impl Client
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
Panics
- This method will panic if the
sdk_configis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
sdk_configis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it.