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.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_appmesh::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_appmesh::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_appmesh::Client::from_conf(config);
Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn create_gateway_route(&self) -> CreateGatewayRoute
pub fn create_gateway_route(&self) -> CreateGatewayRoute
Constructs a fluent builder for the CreateGatewayRoute
operation.
- The fluent builder is configurable:
gateway_route_name(impl Into<String>)
/set_gateway_route_name(Option<String>)
:The name to use for the gateway route.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the gateway route in.
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to associate the gateway route with. If the virtual gateway is in a shared mesh, then you must be the owner of the virtual gateway resource.
spec(GatewayRouteSpec)
/set_spec(Option<GatewayRouteSpec>)
:The gateway route specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the gateway route to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
CreateGatewayRouteOutput
with field(s):gateway_route(Option<GatewayRouteData>)
:The full description of your gateway route following the create call.
- On failure, responds with
SdkError<CreateGatewayRouteError>
sourcepub fn create_mesh(&self) -> CreateMesh
pub fn create_mesh(&self) -> CreateMesh
Constructs a fluent builder for the CreateMesh
operation.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name to use for the service mesh.
spec(MeshSpec)
/set_spec(Option<MeshSpec>)
:The service mesh specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the service mesh to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
- On success, responds with
CreateMeshOutput
with field(s):mesh(Option<MeshData>)
:The full description of your service mesh following the create call.
- On failure, responds with
SdkError<CreateMeshError>
sourcepub fn create_route(&self) -> CreateRoute
pub fn create_route(&self) -> CreateRoute
Constructs a fluent builder for the CreateRoute
operation.
- The fluent builder is configurable:
route_name(impl Into<String>)
/set_route_name(Option<String>)
:The name to use for the route.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the route in.
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router in which to create the route. If the virtual router is in a shared mesh, then you must be the owner of the virtual router resource.
spec(RouteSpec)
/set_spec(Option<RouteSpec>)
:The route specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the route to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
CreateRouteOutput
with field(s):route(Option<RouteData>)
:The full description of your mesh following the create call.
- On failure, responds with
SdkError<CreateRouteError>
sourcepub fn create_virtual_gateway(&self) -> CreateVirtualGateway
pub fn create_virtual_gateway(&self) -> CreateVirtualGateway
Constructs a fluent builder for the CreateVirtualGateway
operation.
- The fluent builder is configurable:
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name to use for the virtual gateway.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the virtual gateway in.
spec(VirtualGatewaySpec)
/set_spec(Option<VirtualGatewaySpec>)
:The virtual gateway specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the virtual gateway to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
CreateVirtualGatewayOutput
with field(s):virtual_gateway(Option<VirtualGatewayData>)
:The full description of your virtual gateway following the create call.
- On failure, responds with
SdkError<CreateVirtualGatewayError>
sourcepub fn create_virtual_node(&self) -> CreateVirtualNode
pub fn create_virtual_node(&self) -> CreateVirtualNode
Constructs a fluent builder for the CreateVirtualNode
operation.
- The fluent builder is configurable:
virtual_node_name(impl Into<String>)
/set_virtual_node_name(Option<String>)
:The name to use for the virtual node.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the virtual node in.
spec(VirtualNodeSpec)
/set_spec(Option<VirtualNodeSpec>)
:The virtual node specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the virtual node to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
CreateVirtualNodeOutput
with field(s):virtual_node(Option<VirtualNodeData>)
:The full description of your virtual node following the create call.
- On failure, responds with
SdkError<CreateVirtualNodeError>
sourcepub fn create_virtual_router(&self) -> CreateVirtualRouter
pub fn create_virtual_router(&self) -> CreateVirtualRouter
Constructs a fluent builder for the CreateVirtualRouter
operation.
- The fluent builder is configurable:
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name to use for the virtual router.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the virtual router in.
spec(VirtualRouterSpec)
/set_spec(Option<VirtualRouterSpec>)
:The virtual router specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the virtual router to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
CreateVirtualRouterOutput
with field(s):virtual_router(Option<VirtualRouterData>)
:The full description of your virtual router following the create call.
- On failure, responds with
SdkError<CreateVirtualRouterError>
sourcepub fn create_virtual_service(&self) -> CreateVirtualService
pub fn create_virtual_service(&self) -> CreateVirtualService
Constructs a fluent builder for the CreateVirtualService
operation.
- The fluent builder is configurable:
virtual_service_name(impl Into<String>)
/set_virtual_service_name(Option<String>)
:The name to use for the virtual service.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to create the virtual service in.
spec(VirtualServiceSpec)
/set_spec(Option<VirtualServiceSpec>)
:The virtual service specification to apply.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:Optional metadata that you can apply to the virtual service to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
CreateVirtualServiceOutput
with field(s):virtual_service(Option<VirtualServiceData>)
:The full description of your virtual service following the create call.
- On failure, responds with
SdkError<CreateVirtualServiceError>
sourcepub fn delete_gateway_route(&self) -> DeleteGatewayRoute
pub fn delete_gateway_route(&self) -> DeleteGatewayRoute
Constructs a fluent builder for the DeleteGatewayRoute
operation.
- The fluent builder is configurable:
gateway_route_name(impl Into<String>)
/set_gateway_route_name(Option<String>)
:The name of the gateway route to delete.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the gateway route from.
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to delete the route from.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DeleteGatewayRouteOutput
with field(s):gateway_route(Option<GatewayRouteData>)
:The gateway route that was deleted.
- On failure, responds with
SdkError<DeleteGatewayRouteError>
sourcepub fn delete_mesh(&self) -> DeleteMesh
pub fn delete_mesh(&self) -> DeleteMesh
Constructs a fluent builder for the DeleteMesh
operation.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete.
- On success, responds with
DeleteMeshOutput
with field(s):mesh(Option<MeshData>)
:The service mesh that was deleted.
- On failure, responds with
SdkError<DeleteMeshError>
sourcepub fn delete_route(&self) -> DeleteRoute
pub fn delete_route(&self) -> DeleteRoute
Constructs a fluent builder for the DeleteRoute
operation.
- The fluent builder is configurable:
route_name(impl Into<String>)
/set_route_name(Option<String>)
:The name of the route to delete.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the route in.
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to delete the route in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DeleteRouteOutput
with field(s):route(Option<RouteData>)
:The route that was deleted.
- On failure, responds with
SdkError<DeleteRouteError>
sourcepub fn delete_virtual_gateway(&self) -> DeleteVirtualGateway
pub fn delete_virtual_gateway(&self) -> DeleteVirtualGateway
Constructs a fluent builder for the DeleteVirtualGateway
operation.
- The fluent builder is configurable:
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to delete.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the virtual gateway from.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DeleteVirtualGatewayOutput
with field(s):virtual_gateway(Option<VirtualGatewayData>)
:The virtual gateway that was deleted.
- On failure, responds with
SdkError<DeleteVirtualGatewayError>
sourcepub fn delete_virtual_node(&self) -> DeleteVirtualNode
pub fn delete_virtual_node(&self) -> DeleteVirtualNode
Constructs a fluent builder for the DeleteVirtualNode
operation.
- The fluent builder is configurable:
virtual_node_name(impl Into<String>)
/set_virtual_node_name(Option<String>)
:The name of the virtual node to delete.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the virtual node in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DeleteVirtualNodeOutput
with field(s):virtual_node(Option<VirtualNodeData>)
:The virtual node that was deleted.
- On failure, responds with
SdkError<DeleteVirtualNodeError>
sourcepub fn delete_virtual_router(&self) -> DeleteVirtualRouter
pub fn delete_virtual_router(&self) -> DeleteVirtualRouter
Constructs a fluent builder for the DeleteVirtualRouter
operation.
- The fluent builder is configurable:
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to delete.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the virtual router in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DeleteVirtualRouterOutput
with field(s):virtual_router(Option<VirtualRouterData>)
:The virtual router that was deleted.
- On failure, responds with
SdkError<DeleteVirtualRouterError>
sourcepub fn delete_virtual_service(&self) -> DeleteVirtualService
pub fn delete_virtual_service(&self) -> DeleteVirtualService
Constructs a fluent builder for the DeleteVirtualService
operation.
- The fluent builder is configurable:
virtual_service_name(impl Into<String>)
/set_virtual_service_name(Option<String>)
:The name of the virtual service to delete.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to delete the virtual service in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DeleteVirtualServiceOutput
with field(s):virtual_service(Option<VirtualServiceData>)
:The virtual service that was deleted.
- On failure, responds with
SdkError<DeleteVirtualServiceError>
sourcepub fn describe_gateway_route(&self) -> DescribeGatewayRoute
pub fn describe_gateway_route(&self) -> DescribeGatewayRoute
Constructs a fluent builder for the DescribeGatewayRoute
operation.
- The fluent builder is configurable:
gateway_route_name(impl Into<String>)
/set_gateway_route_name(Option<String>)
:The name of the gateway route to describe.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the gateway route resides in.
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway that the gateway route is associated with.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DescribeGatewayRouteOutput
with field(s):gateway_route(Option<GatewayRouteData>)
:The full description of your gateway route.
- On failure, responds with
SdkError<DescribeGatewayRouteError>
sourcepub fn describe_mesh(&self) -> DescribeMesh
pub fn describe_mesh(&self) -> DescribeMesh
Constructs a fluent builder for the DescribeMesh
operation.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to describe.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DescribeMeshOutput
with field(s):mesh(Option<MeshData>)
:The full description of your service mesh.
- On failure, responds with
SdkError<DescribeMeshError>
sourcepub fn describe_route(&self) -> DescribeRoute
pub fn describe_route(&self) -> DescribeRoute
Constructs a fluent builder for the DescribeRoute
operation.
- The fluent builder is configurable:
route_name(impl Into<String>)
/set_route_name(Option<String>)
:The name of the route to describe.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the route resides in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router that the route is associated with.
- On success, responds with
DescribeRouteOutput
with field(s):route(Option<RouteData>)
:The full description of your route.
- On failure, responds with
SdkError<DescribeRouteError>
sourcepub fn describe_virtual_gateway(&self) -> DescribeVirtualGateway
pub fn describe_virtual_gateway(&self) -> DescribeVirtualGateway
Constructs a fluent builder for the DescribeVirtualGateway
operation.
- The fluent builder is configurable:
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to describe.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the gateway route resides in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DescribeVirtualGatewayOutput
with field(s):virtual_gateway(Option<VirtualGatewayData>)
:The full description of your virtual gateway.
- On failure, responds with
SdkError<DescribeVirtualGatewayError>
sourcepub fn describe_virtual_node(&self) -> DescribeVirtualNode
pub fn describe_virtual_node(&self) -> DescribeVirtualNode
Constructs a fluent builder for the DescribeVirtualNode
operation.
- The fluent builder is configurable:
virtual_node_name(impl Into<String>)
/set_virtual_node_name(Option<String>)
:The name of the virtual node to describe.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual node resides in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DescribeVirtualNodeOutput
with field(s):virtual_node(Option<VirtualNodeData>)
:The full description of your virtual node.
- On failure, responds with
SdkError<DescribeVirtualNodeError>
sourcepub fn describe_virtual_router(&self) -> DescribeVirtualRouter
pub fn describe_virtual_router(&self) -> DescribeVirtualRouter
Constructs a fluent builder for the DescribeVirtualRouter
operation.
- The fluent builder is configurable:
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to describe.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual router resides in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DescribeVirtualRouterOutput
with field(s):virtual_router(Option<VirtualRouterData>)
:The full description of your virtual router.
- On failure, responds with
SdkError<DescribeVirtualRouterError>
sourcepub fn describe_virtual_service(&self) -> DescribeVirtualService
pub fn describe_virtual_service(&self) -> DescribeVirtualService
Constructs a fluent builder for the DescribeVirtualService
operation.
- The fluent builder is configurable:
virtual_service_name(impl Into<String>)
/set_virtual_service_name(Option<String>)
:The name of the virtual service to describe.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual service resides in.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
DescribeVirtualServiceOutput
with field(s):virtual_service(Option<VirtualServiceData>)
:The full description of your virtual service.
- On failure, responds with
SdkError<DescribeVirtualServiceError>
sourcepub fn list_gateway_routes(&self) -> ListGatewayRoutes
pub fn list_gateway_routes(&self) -> ListGatewayRoutes
Constructs a fluent builder for the ListGatewayRoutes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list gateway routes in.
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to list gateway routes in.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListGatewayRoutes
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListGatewayRoutes
in paginated output. When you use this parameter,ListGatewayRoutes
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListGatewayRoutes
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListGatewayRoutes
returns up to 100 results and anextToken
value if applicable.mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
ListGatewayRoutesOutput
with field(s):gateway_routes(Option<Vec<GatewayRouteRef>>)
:The list of existing gateway routes for the specified service mesh and virtual gateway.
next_token(Option<String>)
:The
nextToken
value to include in a futureListGatewayRoutes
request. When the results of aListGatewayRoutes
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListGatewayRoutesError>
sourcepub fn list_meshes(&self) -> ListMeshes
pub fn list_meshes(&self) -> ListMeshes
Constructs a fluent builder for the ListMeshes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListMeshes
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListMeshes
in paginated output. When you use this parameter,ListMeshes
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListMeshes
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListMeshes
returns up to 100 results and anextToken
value if applicable.
- On success, responds with
ListMeshesOutput
with field(s):meshes(Option<Vec<MeshRef>>)
:The list of existing service meshes.
next_token(Option<String>)
:The
nextToken
value to include in a futureListMeshes
request. When the results of aListMeshes
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListMeshesError>
sourcepub fn list_routes(&self) -> ListRoutes
pub fn list_routes(&self) -> ListRoutes
Constructs a fluent builder for the ListRoutes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list routes in.
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to list routes in.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListRoutes
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListRoutes
in paginated output. When you use this parameter,ListRoutes
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListRoutes
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListRoutes
returns up to 100 results and anextToken
value if applicable.mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
ListRoutesOutput
with field(s):routes(Option<Vec<RouteRef>>)
:The list of existing routes for the specified service mesh and virtual router.
next_token(Option<String>)
:The
nextToken
value to include in a futureListRoutes
request. When the results of aListRoutes
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListRoutesError>
Constructs a fluent builder for the ListTagsForResource
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListTagsForResource
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of tag results returned by
ListTagsForResource
in paginated output. When this parameter is used,ListTagsForResource
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListTagsForResource
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListTagsForResource
returns up to 100 results and anextToken
value if applicable.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<Vec<TagRef>>)
:The tags for the resource.
next_token(Option<String>)
:The
nextToken
value to include in a futureListTagsForResource
request. When the results of aListTagsForResource
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn list_virtual_gateways(&self) -> ListVirtualGateways
pub fn list_virtual_gateways(&self) -> ListVirtualGateways
Constructs a fluent builder for the ListVirtualGateways
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list virtual gateways in.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListVirtualGateways
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListVirtualGateways
in paginated output. When you use this parameter,ListVirtualGateways
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListVirtualGateways
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListVirtualGateways
returns up to 100 results and anextToken
value if applicable.mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
ListVirtualGatewaysOutput
with field(s):virtual_gateways(Option<Vec<VirtualGatewayRef>>)
:The list of existing virtual gateways for the specified service mesh.
next_token(Option<String>)
:The
nextToken
value to include in a futureListVirtualGateways
request. When the results of aListVirtualGateways
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListVirtualGatewaysError>
sourcepub fn list_virtual_nodes(&self) -> ListVirtualNodes
pub fn list_virtual_nodes(&self) -> ListVirtualNodes
Constructs a fluent builder for the ListVirtualNodes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list virtual nodes in.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListVirtualNodes
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListVirtualNodes
in paginated output. When you use this parameter,ListVirtualNodes
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListVirtualNodes
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListVirtualNodes
returns up to 100 results and anextToken
value if applicable.mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
ListVirtualNodesOutput
with field(s):virtual_nodes(Option<Vec<VirtualNodeRef>>)
:The list of existing virtual nodes for the specified service mesh.
next_token(Option<String>)
:The
nextToken
value to include in a futureListVirtualNodes
request. When the results of aListVirtualNodes
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListVirtualNodesError>
sourcepub fn list_virtual_routers(&self) -> ListVirtualRouters
pub fn list_virtual_routers(&self) -> ListVirtualRouters
Constructs a fluent builder for the ListVirtualRouters
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list virtual routers in.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListVirtualRouters
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListVirtualRouters
in paginated output. When you use this parameter,ListVirtualRouters
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListVirtualRouters
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListVirtualRouters
returns up to 100 results and anextToken
value if applicable.mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
ListVirtualRoutersOutput
with field(s):virtual_routers(Option<Vec<VirtualRouterRef>>)
:The list of existing virtual routers for the specified service mesh.
next_token(Option<String>)
:The
nextToken
value to include in a futureListVirtualRouters
request. When the results of aListVirtualRouters
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListVirtualRoutersError>
sourcepub fn list_virtual_services(&self) -> ListVirtualServices
pub fn list_virtual_services(&self) -> ListVirtualServices
Constructs a fluent builder for the ListVirtualServices
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to list virtual services in.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The
nextToken
value returned from a previous paginatedListVirtualServices
request wherelimit
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.limit(i32)
/set_limit(Option<i32>)
:The maximum number of results returned by
ListVirtualServices
in paginated output. When you use this parameter,ListVirtualServices
returns onlylimit
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListVirtualServices
request with the returnednextToken
value. This value can be between 1 and 100. If you don’t use this parameter,ListVirtualServices
returns up to 100 results and anextToken
value if applicable.mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
ListVirtualServicesOutput
with field(s):virtual_services(Option<Vec<VirtualServiceRef>>)
:The list of existing virtual services for the specified service mesh.
next_token(Option<String>)
:The
nextToken
value to include in a futureListVirtualServices
request. When the results of aListVirtualServices
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.
- On failure, responds with
SdkError<ListVirtualServicesError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource to add tags to.
tags(Vec<TagRef>)
/set_tags(Option<Vec<TagRef>>)
:The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource to delete tags from.
tag_keys(Vec<String>)
/set_tag_keys(Option<Vec<String>>)
:The keys of the tags to be removed.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_gateway_route(&self) -> UpdateGatewayRoute
pub fn update_gateway_route(&self) -> UpdateGatewayRoute
Constructs a fluent builder for the UpdateGatewayRoute
operation.
- The fluent builder is configurable:
gateway_route_name(impl Into<String>)
/set_gateway_route_name(Option<String>)
:The name of the gateway route to update.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the gateway route resides in.
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway that the gateway route is associated with.
spec(GatewayRouteSpec)
/set_spec(Option<GatewayRouteSpec>)
:The new gateway route specification to apply. This overwrites the existing data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
UpdateGatewayRouteOutput
with field(s):gateway_route(Option<GatewayRouteData>)
:A full description of the gateway route that was updated.
- On failure, responds with
SdkError<UpdateGatewayRouteError>
sourcepub fn update_mesh(&self) -> UpdateMesh
pub fn update_mesh(&self) -> UpdateMesh
Constructs a fluent builder for the UpdateMesh
operation.
- The fluent builder is configurable:
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh to update.
spec(MeshSpec)
/set_spec(Option<MeshSpec>)
:The service mesh specification to apply.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
- On success, responds with
UpdateMeshOutput
with field(s):mesh(Option<MeshData>)
:An object that represents a service mesh returned by a describe operation.
- On failure, responds with
SdkError<UpdateMeshError>
sourcepub fn update_route(&self) -> UpdateRoute
pub fn update_route(&self) -> UpdateRoute
Constructs a fluent builder for the UpdateRoute
operation.
- The fluent builder is configurable:
route_name(impl Into<String>)
/set_route_name(Option<String>)
:The name of the route to update.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the route resides in.
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router that the route is associated with.
spec(RouteSpec)
/set_spec(Option<RouteSpec>)
:The new route specification to apply. This overwrites the existing data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
UpdateRouteOutput
with field(s):route(Option<RouteData>)
:A full description of the route that was updated.
- On failure, responds with
SdkError<UpdateRouteError>
sourcepub fn update_virtual_gateway(&self) -> UpdateVirtualGateway
pub fn update_virtual_gateway(&self) -> UpdateVirtualGateway
Constructs a fluent builder for the UpdateVirtualGateway
operation.
- The fluent builder is configurable:
virtual_gateway_name(impl Into<String>)
/set_virtual_gateway_name(Option<String>)
:The name of the virtual gateway to update.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual gateway resides in.
spec(VirtualGatewaySpec)
/set_spec(Option<VirtualGatewaySpec>)
:The new virtual gateway specification to apply. This overwrites the existing data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
UpdateVirtualGatewayOutput
with field(s):virtual_gateway(Option<VirtualGatewayData>)
:A full description of the virtual gateway that was updated.
- On failure, responds with
SdkError<UpdateVirtualGatewayError>
sourcepub fn update_virtual_node(&self) -> UpdateVirtualNode
pub fn update_virtual_node(&self) -> UpdateVirtualNode
Constructs a fluent builder for the UpdateVirtualNode
operation.
- The fluent builder is configurable:
virtual_node_name(impl Into<String>)
/set_virtual_node_name(Option<String>)
:The name of the virtual node to update.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual node resides in.
spec(VirtualNodeSpec)
/set_spec(Option<VirtualNodeSpec>)
:The new virtual node specification to apply. This overwrites the existing data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
UpdateVirtualNodeOutput
with field(s):virtual_node(Option<VirtualNodeData>)
:A full description of the virtual node that was updated.
- On failure, responds with
SdkError<UpdateVirtualNodeError>
sourcepub fn update_virtual_router(&self) -> UpdateVirtualRouter
pub fn update_virtual_router(&self) -> UpdateVirtualRouter
Constructs a fluent builder for the UpdateVirtualRouter
operation.
- The fluent builder is configurable:
virtual_router_name(impl Into<String>)
/set_virtual_router_name(Option<String>)
:The name of the virtual router to update.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual router resides in.
spec(VirtualRouterSpec)
/set_spec(Option<VirtualRouterSpec>)
:The new virtual router specification to apply. This overwrites the existing data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
UpdateVirtualRouterOutput
with field(s):virtual_router(Option<VirtualRouterData>)
:A full description of the virtual router that was updated.
- On failure, responds with
SdkError<UpdateVirtualRouterError>
sourcepub fn update_virtual_service(&self) -> UpdateVirtualService
pub fn update_virtual_service(&self) -> UpdateVirtualService
Constructs a fluent builder for the UpdateVirtualService
operation.
- The fluent builder is configurable:
virtual_service_name(impl Into<String>)
/set_virtual_service_name(Option<String>)
:The name of the virtual service to update.
mesh_name(impl Into<String>)
/set_mesh_name(Option<String>)
:The name of the service mesh that the virtual service resides in.
spec(VirtualServiceSpec)
/set_spec(Option<VirtualServiceSpec>)
:The new virtual service specification to apply. This overwrites the existing data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
mesh_owner(impl Into<String>)
/set_mesh_owner(Option<String>)
:The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- On success, responds with
UpdateVirtualServiceOutput
with field(s):virtual_service(Option<VirtualServiceData>)
:A full description of the virtual service that was updated.
- On failure, responds with
SdkError<UpdateVirtualServiceError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more