pub struct CreateApplication { /* private fields */ }Expand description
Fluent builder constructing a request to CreateApplication.
Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the applications created inside the environment, regardless of the account that creates the application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and Network Load Balancer for the application proxy inside your account.
Implementations
sourceimpl CreateApplication
impl CreateApplication
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateApplication, AwsResponseRetryClassifier>, SdkError<CreateApplicationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateApplication, AwsResponseRetryClassifier>, SdkError<CreateApplicationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError>>
pub async fn send(
self
) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn environment_identifier(self, input: impl Into<String>) -> Self
pub fn environment_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the environment.
sourcepub fn set_environment_identifier(self, input: Option<String>) -> Self
pub fn set_environment_identifier(self, input: Option<String>) -> Self
The unique identifier of the environment.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The ID of the virtual private cloud (VPC).
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the virtual private cloud (VPC).
sourcepub fn proxy_type(self, input: ProxyType) -> Self
pub fn proxy_type(self, input: ProxyType) -> Self
The proxy type of the proxy created within the application.
sourcepub fn set_proxy_type(self, input: Option<ProxyType>) -> Self
pub fn set_proxy_type(self, input: Option<ProxyType>) -> Self
The proxy type of the proxy created within the application.
sourcepub fn api_gateway_proxy(self, input: ApiGatewayProxyInput) -> Self
pub fn api_gateway_proxy(self, input: ApiGatewayProxyInput) -> Self
A wrapper object holding the API Gateway endpoint type and stage name for the proxy.
sourcepub fn set_api_gateway_proxy(self, input: Option<ApiGatewayProxyInput>) -> Self
pub fn set_api_gateway_proxy(self, input: Option<ApiGatewayProxyInput>) -> Self
A wrapper object holding the API Gateway endpoint type and stage name for the proxy.
Adds a key-value pair to Tags.
To override the contents of this collection use set_tags.
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.
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.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Trait Implementations
sourceimpl Clone for CreateApplication
impl Clone for CreateApplication
sourcefn clone(&self) -> CreateApplication
fn clone(&self) -> CreateApplication
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more