Struct aws_sdk_appmesh::client::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 ::std::convert::Into<String>)
/set_gateway_route_name(Option<String>)
:The name to use for the gateway route.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the gateway route in.
virtual_gateway_name(impl ::std::convert::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 ::std::convert::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 ::std::convert::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
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>
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 ::std::convert::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 ::std::convert::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>
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 ::std::convert::Into<String>)
/set_route_name(Option<String>)
:The name to use for the route.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the route in.
virtual_router_name(impl ::std::convert::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 ::std::convert::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 ::std::convert::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
CreateRouteOutput
with 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 ::std::convert::Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name to use for the virtual gateway.
mesh_name(impl ::std::convert::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 ::std::convert::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 ::std::convert::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
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>
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 ::std::convert::Into<String>)
/set_virtual_node_name(Option<String>)
:The name to use for the virtual node.
mesh_name(impl ::std::convert::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 ::std::convert::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 ::std::convert::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
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>
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 ::std::convert::Into<String>)
/set_virtual_router_name(Option<String>)
:The name to use for the virtual router.
mesh_name(impl ::std::convert::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 ::std::convert::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 ::std::convert::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
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>
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 ::std::convert::Into<String>)
/set_virtual_service_name(Option<String>)
:The name to use for the virtual service.
mesh_name(impl ::std::convert::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 ::std::convert::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 ::std::convert::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
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>
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 ::std::convert::Into<String>)
/set_gateway_route_name(Option<String>)
:The name of the gateway route to delete.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the gateway route from.
virtual_gateway_name(impl ::std::convert::Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to delete the route from.
mesh_owner(impl ::std::convert::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
DeleteGatewayRouteOutput
with 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 ::std::convert::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>
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 ::std::convert::Into<String>)
/set_route_name(Option<String>)
:The name of the route to delete.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the route in.
virtual_router_name(impl ::std::convert::Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to delete the route in.
mesh_owner(impl ::std::convert::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
DeleteRouteOutput
with 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 ::std::convert::Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to delete.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the virtual gateway from.
mesh_owner(impl ::std::convert::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
DeleteVirtualGatewayOutput
with 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 ::std::convert::Into<String>)
/set_virtual_node_name(Option<String>)
:The name of the virtual node to delete.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the virtual node in.
mesh_owner(impl ::std::convert::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
DeleteVirtualNodeOutput
with 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 ::std::convert::Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to delete.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the virtual router in.
mesh_owner(impl ::std::convert::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
DeleteVirtualRouterOutput
with 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 ::std::convert::Into<String>)
/set_virtual_service_name(Option<String>)
:The name of the virtual service to delete.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the virtual service in.
mesh_owner(impl ::std::convert::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
DeleteVirtualServiceOutput
with 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 ::std::convert::Into<String>)
/set_gateway_route_name(Option<String>)
:The name of the gateway route to describe.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the gateway route resides in.
virtual_gateway_name(impl ::std::convert::Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway that the gateway route is associated with.
mesh_owner(impl ::std::convert::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
DescribeGatewayRouteOutput
with 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 ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to describe.
mesh_owner(impl ::std::convert::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
DescribeMeshOutput
with 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 ::std::convert::Into<String>)
/set_route_name(Option<String>)
:The name of the route to describe.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the route resides in.
mesh_owner(impl ::std::convert::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 ::std::convert::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>
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 ::std::convert::Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to describe.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the gateway route resides in.
mesh_owner(impl ::std::convert::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
DescribeVirtualGatewayOutput
with 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 ::std::convert::Into<String>)
/set_virtual_node_name(Option<String>)
:The name of the virtual node to describe.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual node resides in.
mesh_owner(impl ::std::convert::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
DescribeVirtualNodeOutput
with 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 ::std::convert::Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to describe.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual router resides in.
mesh_owner(impl ::std::convert::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
DescribeVirtualRouterOutput
with 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 ::std::convert::Into<String>)
/set_virtual_service_name(Option<String>)
:The name of the virtual service to describe.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual service resides in.
mesh_owner(impl ::std::convert::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
DescribeVirtualServiceOutput
with 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 ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list gateway routes in.
virtual_gateway_name(impl ::std::convert::Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to list gateway routes in.
next_token(impl ::std::convert::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 ::std::convert::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
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>
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 ::std::convert::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>
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 ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list routes in.
virtual_router_name(impl ::std::convert::Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to list routes in.
next_token(impl ::std::convert::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 ::std::convert::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
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>
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 ::std::convert::Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
next_token(impl ::std::convert::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>
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 ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list virtual gateways in.
next_token(impl ::std::convert::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 ::std::convert::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
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>
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 ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list virtual nodes in.
next_token(impl ::std::convert::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 ::std::convert::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
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>
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 ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list virtual routers in.
next_token(impl ::std::convert::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 ::std::convert::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
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>
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 ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list virtual services in.
next_token(impl ::std::convert::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 ::std::convert::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
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>
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 ::std::convert::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>
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 ::std::convert::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>
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 ::std::convert::Into<String>)
/set_gateway_route_name(Option<String>)
:The name of the gateway route to update.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the gateway route resides in.
virtual_gateway_name(impl ::std::convert::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 ::std::convert::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 ::std::convert::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
UpdateGatewayRouteOutput
with 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 ::std::convert::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 ::std::convert::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>
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 ::std::convert::Into<String>)
/set_route_name(Option<String>)
:The name of the route to update.
mesh_name(impl ::std::convert::Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the route resides in.
virtual_router_name(impl ::std::convert::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 ::std::convert::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 ::std::convert::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
UpdateRouteOutput
with 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 ::std::convert::Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to update.
mesh_name(impl ::std::convert::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 ::std::convert::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 ::std::convert::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
UpdateVirtualGatewayOutput
with 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 ::std::convert::Into<String>)
/set_virtual_node_name(Option<String>)
:The name of the virtual node to update.
mesh_name(impl ::std::convert::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 ::std::convert::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 ::std::convert::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
UpdateVirtualNodeOutput
with 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 ::std::convert::Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to update.
mesh_name(impl ::std::convert::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 ::std::convert::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 ::std::convert::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
UpdateVirtualRouterOutput
with 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 ::std::convert::Into<String>)
/set_virtual_service_name(Option<String>)
:The name of the virtual service to update.
mesh_name(impl ::std::convert::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 ::std::convert::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 ::std::convert::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
UpdateVirtualServiceOutput
with 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 from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config
.
Panics
- This method will panic if the
conf
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
conf
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it.
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_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it.