Struct aws_sdk_migrationhubrefactorspaces::client::Client
source · [−]pub struct Client { /* private fields */ }Expand description
Client for AWS Migration Hub Refactor Spaces
Client for invoking operations on AWS Migration Hub Refactor Spaces. Each operation on AWS Migration Hub Refactor Spaces 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_migrationhubrefactorspaces::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::retry::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_migrationhubrefactorspaces::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_migrationhubrefactorspaces::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_application(&self) -> CreateApplication
pub fn create_application(&self) -> CreateApplication
Constructs a fluent builder for the CreateApplication operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name to use for the application.
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The unique identifier of the environment.
vpc_id(impl Into<String>)/set_vpc_id(Option<String>):The ID of the virtual private cloud (VPC).
proxy_type(ProxyType)/set_proxy_type(Option<ProxyType>):The proxy type of the proxy created within the application.
api_gateway_proxy(ApiGatewayProxyInput)/set_api_gateway_proxy(Option<ApiGatewayProxyInput>):A wrapper object holding the API Gateway endpoint type and stage name for the proxy.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):The tags to assign to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
client_token(impl Into<String>)/set_client_token(Option<String>):A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- On success, responds with
CreateApplicationOutputwith field(s):name(Option<String>):The name of the application.
arn(Option<String>):The Amazon Resource Name (ARN) of the application. The format for this ARN is
arn:aws:refactor-spaces:region:account-id:resource-type/resource-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.owner_account_id(Option<String>):The Amazon Web Services account ID of the application owner (which is always the same as the environment owner account ID).
created_by_account_id(Option<String>):The Amazon Web Services account ID of application creator.
application_id(Option<String>):The unique identifier of the application.
environment_id(Option<String>):The ID of the environment in which the application is created.
vpc_id(Option<String>):The ID of the Amazon VPC.
proxy_type(Option<ProxyType>):The proxy type of the proxy created within the application.
api_gateway_proxy(Option<ApiGatewayProxyInput>):A wrapper object holding the API Gateway endpoint type and stage name for the proxy.
state(Option<ApplicationState>):The current state of the application.
tags(Option<HashMap<String, String>>):The tags assigned to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
last_updated_time(Option<DateTime>):A timestamp that indicates when the application was last updated.
created_time(Option<DateTime>):A timestamp that indicates when the application is created.
- On failure, responds with
SdkError<CreateApplicationError>
sourcepub fn create_environment(&self) -> CreateEnvironment
pub fn create_environment(&self) -> CreateEnvironment
Constructs a fluent builder for the CreateEnvironment operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the environment.
description(impl Into<String>)/set_description(Option<String>):The description of the environment.
network_fabric_type(NetworkFabricType)/set_network_fabric_type(Option<NetworkFabricType>):The network fabric type of the environment.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
client_token(impl Into<String>)/set_client_token(Option<String>):A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- On success, responds with
CreateEnvironmentOutputwith field(s):name(Option<String>):The name of the environment.
arn(Option<String>):The Amazon Resource Name (ARN) of the environment.
description(Option<String>):A description of the environment.
environment_id(Option<String>):The unique identifier of the environment.
network_fabric_type(Option<NetworkFabricType>):The network fabric type of the environment.
owner_account_id(Option<String>):The Amazon Web Services account ID of environment owner.
state(Option<EnvironmentState>):The current state of the environment.
tags(Option<HashMap<String, String>>):The tags assigned to the created environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
last_updated_time(Option<DateTime>):A timestamp that indicates when the environment was last updated.
created_time(Option<DateTime>):A timestamp that indicates when the environment is created.
- On failure, responds with
SdkError<CreateEnvironmentError>
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:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment in which the route is created.
application_identifier(impl Into<String>)/set_application_identifier(Option<String>):The ID of the application within which the route is being created.
service_identifier(impl Into<String>)/set_service_identifier(Option<String>):The ID of the service in which the route is created. Traffic that matches this route is forwarded to this service.
route_type(RouteType)/set_route_type(Option<RouteType>):The route type of the route.
DEFAULTindicates that all traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created.URI_PATHindicates a route that is based on a URI path.default_route(DefaultRouteInput)/set_default_route(Option<DefaultRouteInput>):Configuration for the default route type.
uri_path_route(UriPathRouteInput)/set_uri_path_route(Option<UriPathRouteInput>):The configuration for the URI path route type.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):The tags to assign to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
client_token(impl Into<String>)/set_client_token(Option<String>):A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- On success, responds with
CreateRouteOutputwith field(s):route_id(Option<String>):The unique identifier of the route.
arn(Option<String>):The Amazon Resource Name (ARN) of the route. The format for this ARN is
arn:aws:refactor-spaces:region:account-id:resource-type/resource-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.owner_account_id(Option<String>):The Amazon Web Services account ID of the route owner.
created_by_account_id(Option<String>):The Amazon Web Services account ID of the route creator.
route_type(Option<RouteType>):The route type of the route.
service_id(Option<String>):The ID of service in which the route is created. Traffic that matches this route is forwarded to this service.
application_id(Option<String>):The ID of the application in which the route is created.
uri_path_route(Option<UriPathRouteInput>):Configuration for the URI path route type.
state(Option<RouteState>):The current state of the route. Activation state only allows
ACTIVEorINACTIVEas user inputs.FAILEDis a route state that is system generated.tags(Option<HashMap<String, String>>):The tags assigned to the created route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
last_updated_time(Option<DateTime>):A timestamp that indicates when the route was last updated.
created_time(Option<DateTime>):A timestamp that indicates when the route is created.
- On failure, responds with
SdkError<CreateRouteError>
sourcepub fn create_service(&self) -> CreateService
pub fn create_service(&self) -> CreateService
Constructs a fluent builder for the CreateService operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the service.
description(impl Into<String>)/set_description(Option<String>):The description of the service.
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment in which the service is created.
application_identifier(impl Into<String>)/set_application_identifier(Option<String>):The ID of the application which the service is created.
vpc_id(impl Into<String>)/set_vpc_id(Option<String>):The ID of the VPC.
endpoint_type(ServiceEndpointType)/set_endpoint_type(Option<ServiceEndpointType>):The type of endpoint to use for the service. The type can be a URL in a VPC or an Lambda function.
url_endpoint(UrlEndpointInput)/set_url_endpoint(Option<UrlEndpointInput>):The configuration for the URL endpoint type.
lambda_endpoint(LambdaEndpointInput)/set_lambda_endpoint(Option<LambdaEndpointInput>):The configuration for the Lambda endpoint type.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):The tags to assign to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
client_token(impl Into<String>)/set_client_token(Option<String>):A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- On success, responds with
CreateServiceOutputwith field(s):service_id(Option<String>):The unique identifier of the service.
name(Option<String>):The name of the service.
arn(Option<String>):The Amazon Resource Name (ARN) of the service.
owner_account_id(Option<String>):The Amazon Web Services account ID of the service owner.
created_by_account_id(Option<String>):The Amazon Web Services account ID of the service creator.
description(Option<String>):The description of the created service.
environment_id(Option<String>):The unique identifier of the environment.
application_id(Option<String>):The ID of the application that the created service belongs to.
vpc_id(Option<String>):The ID of the VPC.
endpoint_type(Option<ServiceEndpointType>):The endpoint type of the service.
url_endpoint(Option<UrlEndpointInput>):The configuration for the URL endpoint type.
lambda_endpoint(Option<LambdaEndpointInput>):The configuration for the Lambda endpoint type.
state(Option<ServiceState>):The current state of the service.
tags(Option<HashMap<String, String>>):The tags assigned to the created service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
last_updated_time(Option<DateTime>):A timestamp that indicates when the service was last updated.
created_time(Option<DateTime>):A timestamp that indicates when the service is created.
- On failure, responds with
SdkError<CreateServiceError>
sourcepub fn delete_application(&self) -> DeleteApplication
pub fn delete_application(&self) -> DeleteApplication
Constructs a fluent builder for the DeleteApplication operation.
- The fluent builder is configurable:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment.
application_identifier(impl Into<String>)/set_application_identifier(Option<String>):The ID of the application.
- On success, responds with
DeleteApplicationOutputwith field(s):name(Option<String>):The name of the application.
arn(Option<String>):The Amazon Resource Name (ARN) of the application.
application_id(Option<String>):The ID of the application.
environment_id(Option<String>):The unique identifier of the application’s environment.
state(Option<ApplicationState>):The current state of the application.
last_updated_time(Option<DateTime>):A timestamp that indicates when the environment was last updated.
- On failure, responds with
SdkError<DeleteApplicationError>
sourcepub fn delete_environment(&self) -> DeleteEnvironment
pub fn delete_environment(&self) -> DeleteEnvironment
Constructs a fluent builder for the DeleteEnvironment operation.
- The fluent builder is configurable:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment.
- On success, responds with
DeleteEnvironmentOutputwith field(s):name(Option<String>):The name of the environment.
arn(Option<String>):The Amazon Resource Name (ARN) of the environment.
environment_id(Option<String>):The unique identifier of the environment.
state(Option<EnvironmentState>):The current state of the environment.
last_updated_time(Option<DateTime>):A timestamp that indicates when the environment was last updated.
- On failure, responds with
SdkError<DeleteEnvironmentError>
sourcepub fn delete_resource_policy(&self) -> DeleteResourcePolicy
pub fn delete_resource_policy(&self) -> DeleteResourcePolicy
Constructs a fluent builder for the DeleteResourcePolicy operation.
- The fluent builder is configurable:
identifier(impl Into<String>)/set_identifier(Option<String>):Amazon Resource Name (ARN) of the resource associated with the policy.
- On success, responds with
DeleteResourcePolicyOutput - On failure, responds with
SdkError<DeleteResourcePolicyError>
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:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment to delete the route from.
application_identifier(impl Into<String>)/set_application_identifier(Option<String>):The ID of the application to delete the route from.
route_identifier(impl Into<String>)/set_route_identifier(Option<String>):The ID of the route to delete.
- On success, responds with
DeleteRouteOutputwith field(s):route_id(Option<String>):The ID of the route to delete.
arn(Option<String>):The Amazon Resource Name (ARN) of the route.
service_id(Option<String>):The ID of the service that the route belongs to.
application_id(Option<String>):The ID of the application that the route belongs to.
state(Option<RouteState>):The current state of the route.
last_updated_time(Option<DateTime>):A timestamp that indicates when the route was last updated.
- On failure, responds with
SdkError<DeleteRouteError>
sourcepub fn delete_service(&self) -> DeleteService
pub fn delete_service(&self) -> DeleteService
Constructs a fluent builder for the DeleteService operation.
- The fluent builder is configurable:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment that the service is in.
application_identifier(impl Into<String>)/set_application_identifier(Option<String>):Deletes a Refactor Spaces service.
The
RefactorSpacesSecurityGroupsecurity group must be removed from all Amazon Web Services resources in the virtual private cloud (VPC) prior to deleting a service with a URL endpoint in a VPC.service_identifier(impl Into<String>)/set_service_identifier(Option<String>):The ID of the service to delete.
- On success, responds with
DeleteServiceOutputwith field(s):service_id(Option<String>):The unique identifier of the service.
name(Option<String>):The name of the service.
arn(Option<String>):The Amazon Resource Name (ARN) of the service.
environment_id(Option<String>):The unique identifier of the environment.
application_id(Option<String>):The ID of the application that the service is in.
state(Option<ServiceState>):The current state of the service.
last_updated_time(Option<DateTime>):A timestamp that indicates when the service was last updated.
- On failure, responds with
SdkError<DeleteServiceError>
sourcepub fn get_application(&self) -> GetApplication
pub fn get_application(&self) -> GetApplication
Constructs a fluent builder for the GetApplication operation.
- The fluent builder is configurable:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment.
application_identifier(impl Into<String>)/set_application_identifier(Option<String>):The ID of the application.
- On success, responds with
GetApplicationOutputwith field(s):name(Option<String>):The name of the application.
arn(Option<String>):The Amazon Resource Name (ARN) of the application.
owner_account_id(Option<String>):The Amazon Web Services account ID of the application owner (which is always the same as the environment owner account ID).
created_by_account_id(Option<String>):The Amazon Web Services account ID of the application creator.
application_id(Option<String>):The unique identifier of the application.
environment_id(Option<String>):The unique identifier of the environment.
vpc_id(Option<String>):The ID of the virtual private cloud (VPC).
proxy_type(Option<ProxyType>):The proxy type of the proxy created within the application.
api_gateway_proxy(Option<ApiGatewayProxyConfig>):The endpoint URL of the API Gateway proxy.
state(Option<ApplicationState>):The current state of the application.
tags(Option<HashMap<String, String>>):The tags assigned to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
error(Option<ErrorResponse>):Any error associated with the application resource.
last_updated_time(Option<DateTime>):A timestamp that indicates when the application was last updated.
created_time(Option<DateTime>):A timestamp that indicates when the application is created.
- On failure, responds with
SdkError<GetApplicationError>
sourcepub fn get_environment(&self) -> GetEnvironment
pub fn get_environment(&self) -> GetEnvironment
Constructs a fluent builder for the GetEnvironment operation.
- The fluent builder is configurable:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment.
- On success, responds with
GetEnvironmentOutputwith field(s):name(Option<String>):The name of the environment.
arn(Option<String>):The Amazon Resource Name (ARN) of the environment.
description(Option<String>):The description of the environment.
environment_id(Option<String>):The unique identifier of the environment.
network_fabric_type(Option<NetworkFabricType>):The network fabric type of the environment.
owner_account_id(Option<String>):The Amazon Web Services account ID of the environment owner.
transit_gateway_id(Option<String>):The ID of the transit gateway set up by the environment.
state(Option<EnvironmentState>):The current state of the environment.
tags(Option<HashMap<String, String>>):The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
error(Option<ErrorResponse>):Any error associated with the environment resource.
last_updated_time(Option<DateTime>):A timestamp that indicates when the environment was last updated.
created_time(Option<DateTime>):A timestamp that indicates when the environment is created.
- On failure, responds with
SdkError<GetEnvironmentError>
sourcepub fn get_resource_policy(&self) -> GetResourcePolicy
pub fn get_resource_policy(&self) -> GetResourcePolicy
Constructs a fluent builder for the GetResourcePolicy operation.
- The fluent builder is configurable:
identifier(impl Into<String>)/set_identifier(Option<String>):The Amazon Resource Name (ARN) of the resource associated with the policy.
- On success, responds with
GetResourcePolicyOutputwith field(s):policy(Option<String>):A JSON-formatted string for an Amazon Web Services resource-based policy.
- On failure, responds with
SdkError<GetResourcePolicyError>
sourcepub fn get_route(&self) -> GetRoute
pub fn get_route(&self) -> GetRoute
Constructs a fluent builder for the GetRoute operation.
- The fluent builder is configurable:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment.
application_identifier(impl Into<String>)/set_application_identifier(Option<String>):The ID of the application.
route_identifier(impl Into<String>)/set_route_identifier(Option<String>):The ID of the route.
- On success, responds with
GetRouteOutputwith field(s):route_id(Option<String>):The unique identifier of the route.
DEFAULT: All traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created.
URI_PATH: A route that is based on a URI path.
arn(Option<String>):The Amazon Resource Name (ARN) of the route.
owner_account_id(Option<String>):The Amazon Web Services account ID of the route owner.
created_by_account_id(Option<String>):The Amazon Web Services account ID of the route creator.
route_type(Option<RouteType>):The type of route.
service_id(Option<String>):The unique identifier of the service.
application_id(Option<String>):The ID of the application that the route belongs to.
environment_id(Option<String>):Unique identifier of the environment.
source_path(Option<String>):The path to use to match traffic. Paths must start with
/and are relative to the base of the application.methods(Option<Vec<HttpMethod>>):A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
include_child_paths(Option<bool>):Indicates whether to match all subpaths of the given source path. If this value is
false, requests must match the source path exactly before they are forwarded to this route’s service.path_resource_to_id(Option<HashMap<String, String>>):A mapping of Amazon API Gateway path resources to resource IDs.
state(Option<RouteState>):The current state of the route.
tags(Option<HashMap<String, String>>):The tags assigned to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
error(Option<ErrorResponse>):Any error associated with the route resource.
last_updated_time(Option<DateTime>):A timestamp that indicates when the route was last updated.
created_time(Option<DateTime>):The timestamp of when the route is created.
- On failure, responds with
SdkError<GetRouteError>
sourcepub fn get_service(&self) -> GetService
pub fn get_service(&self) -> GetService
Constructs a fluent builder for the GetService operation.
- The fluent builder is configurable:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment.
application_identifier(impl Into<String>)/set_application_identifier(Option<String>):The ID of the application.
service_identifier(impl Into<String>)/set_service_identifier(Option<String>):The ID of the service.
- On success, responds with
GetServiceOutputwith field(s):service_id(Option<String>):The unique identifier of the service.
name(Option<String>):The name of the service.
arn(Option<String>):The Amazon Resource Name (ARN) of the service.
owner_account_id(Option<String>):The Amazon Web Services account ID of the service owner.
created_by_account_id(Option<String>):The Amazon Web Services account ID of the service creator.
description(Option<String>):The description of the service.
environment_id(Option<String>):The unique identifier of the environment.
application_id(Option<String>):The ID of the application.
vpc_id(Option<String>):The ID of the virtual private cloud (VPC).
endpoint_type(Option<ServiceEndpointType>):The endpoint type of the service.
url_endpoint(Option<UrlEndpointConfig>):The configuration for the URL endpoint type.
The Url isthe URL of the endpoint type.
The HealthUrl is the health check URL of the endpoint type.
lambda_endpoint(Option<LambdaEndpointConfig>):The configuration for the Lambda endpoint type.
The Arn is the Amazon Resource Name (ARN) of the Lambda function associated with this service.
state(Option<ServiceState>):The current state of the service.
tags(Option<HashMap<String, String>>):The tags assigned to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
error(Option<ErrorResponse>):Any error associated with the service resource.
last_updated_time(Option<DateTime>):A timestamp that indicates when the service was last updated.
created_time(Option<DateTime>):The timestamp of when the service is created.
- On failure, responds with
SdkError<GetServiceError>
sourcepub fn list_applications(&self) -> ListApplications
pub fn list_applications(&self) -> ListApplications
Constructs a fluent builder for the ListApplications operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment.
next_token(impl Into<String>)/set_next_token(Option<String>):The token for the next page of results.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.
- On success, responds with
ListApplicationsOutputwith field(s):application_summary_list(Option<Vec<ApplicationSummary>>):The list of
ApplicationSummaryobjects.next_token(Option<String>):The token for the next page of results.
- On failure, responds with
SdkError<ListApplicationsError>
sourcepub fn list_environments(&self) -> ListEnvironments
pub fn list_environments(&self) -> ListEnvironments
Constructs a fluent builder for the ListEnvironments operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):The token for the next page of results.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.
- On success, responds with
ListEnvironmentsOutputwith field(s):environment_summary_list(Option<Vec<EnvironmentSummary>>):The list of
EnvironmentSummaryobjects.next_token(Option<String>):The token for the next page of results.
- On failure, responds with
SdkError<ListEnvironmentsError>
sourcepub fn list_environment_vpcs(&self) -> ListEnvironmentVpcs
pub fn list_environment_vpcs(&self) -> ListEnvironmentVpcs
Constructs a fluent builder for the ListEnvironmentVpcs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment.
next_token(impl Into<String>)/set_next_token(Option<String>):The token for the next page of results.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.
- On success, responds with
ListEnvironmentVpcsOutputwith field(s):environment_vpc_list(Option<Vec<EnvironmentVpc>>):The list of
EnvironmentVpcobjects.next_token(Option<String>):The token for the next page of results.
- On failure, responds with
SdkError<ListEnvironmentVpcsError>
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:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment.
application_identifier(impl Into<String>)/set_application_identifier(Option<String>):The ID of the application.
next_token(impl Into<String>)/set_next_token(Option<String>):The token for the next page of results.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.
- On success, responds with
ListRoutesOutputwith field(s):route_summary_list(Option<Vec<RouteSummary>>):The list of
RouteSummaryobjects.next_token(Option<String>):The token for the next page of results.
- On failure, responds with
SdkError<ListRoutesError>
sourcepub fn list_services(&self) -> ListServices
pub fn list_services(&self) -> ListServices
Constructs a fluent builder for the ListServices operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment.
application_identifier(impl Into<String>)/set_application_identifier(Option<String>):The ID of the application.
next_token(impl Into<String>)/set_next_token(Option<String>):The token for the next page of results.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.
- On success, responds with
ListServicesOutputwith field(s):service_summary_list(Option<Vec<ServiceSummary>>):The list of
ServiceSummaryobjects.next_token(Option<String>):The token for the next page of results.
- On failure, responds with
SdkError<ListServicesError>
Constructs a fluent builder for the ListTagsForResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the resource.
- On success, responds with
ListTagsForResourceOutputwith field(s):tags(Option<HashMap<String, String>>):The list of tags assigned to the resource.
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn put_resource_policy(&self) -> PutResourcePolicy
pub fn put_resource_policy(&self) -> PutResourcePolicy
Constructs a fluent builder for the PutResourcePolicy 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 which the policy is being attached.
policy(impl Into<String>)/set_policy(Option<String>):A JSON-formatted string for an Amazon Web Services resource-based policy.
- On success, responds with
PutResourcePolicyOutput - On failure, responds with
SdkError<PutResourcePolicyError>
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.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):The new or modified tags for the resource.
- 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.
tag_keys(Vec<String>)/set_tag_keys(Option<Vec<String>>):The list of keys of the tags to be removed from the resource.
- On success, responds with
UntagResourceOutput - On failure, responds with
SdkError<UntagResourceError>
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:
environment_identifier(impl Into<String>)/set_environment_identifier(Option<String>):The ID of the environment in which the route is being updated.
application_identifier(impl Into<String>)/set_application_identifier(Option<String>):The ID of the application within which the route is being updated.
route_identifier(impl Into<String>)/set_route_identifier(Option<String>):The unique identifier of the route to update.
activation_state(RouteActivationState)/set_activation_state(Option<RouteActivationState>):If set to
ACTIVE, traffic is forwarded to this route’s service after the route is updated.
- On success, responds with
UpdateRouteOutputwith field(s):route_id(Option<String>):The unique identifier of the route.
arn(Option<String>):The Amazon Resource Name (ARN) of the route. The format for this ARN is
arn:aws:refactor-spaces:region:account-id:resource-type/resource-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.service_id(Option<String>):The ID of service in which the route was created. Traffic that matches this route is forwarded to this service.
application_id(Option<String>):The ID of the application in which the route is being updated.
state(Option<RouteState>):The current state of the route.
last_updated_time(Option<DateTime>):A timestamp that indicates when the route was last updated.
- On failure, responds with
SdkError<UpdateRouteError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Selfwhere
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Selfwhere
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.