Struct aws_sdk_proton::client::fluent_builders::CreateEnvironmentAccountConnection [−][src]
pub struct CreateEnvironmentAccountConnection<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateEnvironmentAccountConnection.
Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the environment account from a management account.
An environment account connection is a secure bi-directional connection between a management account and an environment account that maintains authorization and permissions. For more information, see Environment account connections in the Proton Administrator guide.
Implementations
impl<C, M, R> CreateEnvironmentAccountConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateEnvironmentAccountConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateEnvironmentAccountConnectionOutput, SdkError<CreateEnvironmentAccountConnectionError>> where
R::Policy: SmithyRetryPolicy<CreateEnvironmentAccountConnectionInputOperationOutputAlias, CreateEnvironmentAccountConnectionOutput, CreateEnvironmentAccountConnectionError, CreateEnvironmentAccountConnectionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateEnvironmentAccountConnectionOutput, SdkError<CreateEnvironmentAccountConnectionError>> where
R::Policy: SmithyRetryPolicy<CreateEnvironmentAccountConnectionInputOperationOutputAlias, CreateEnvironmentAccountConnectionOutput, CreateEnvironmentAccountConnectionError, CreateEnvironmentAccountConnectionInputOperationRetryAlias>,
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.
When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
The ID of the management account that accepts or rejects the environment account connection. You create an manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
The ID of the management account that accepts or rejects the environment account connection. You create an manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
The name of the Proton environment that's created in the associated management account.
The name of the Proton environment that's created in the associated management account.
Appends an item to tags.
To override the contents of this collection use set_tags.
Tags for your environment account connection. For more information, see Proton resources and tagging in the Proton Administrator Guide.
Tags for your environment account connection. For more information, see Proton resources and tagging in the Proton Administrator Guide.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateEnvironmentAccountConnection<C, M, R>
impl<C, M, R> Send for CreateEnvironmentAccountConnection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateEnvironmentAccountConnection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateEnvironmentAccountConnection<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateEnvironmentAccountConnection<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
