Struct aws_sdk_opsworks::client::fluent_builders::CreateDeployment [−][src]
pub struct CreateDeployment<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateDeployment
.
Runs deployment or stack commands. For more information, see Deploying Apps and Run Stack Commands.
Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Implementations
impl<C, M, R> CreateDeployment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDeployment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDeploymentOutput, SdkError<CreateDeploymentError>> where
R::Policy: SmithyRetryPolicy<CreateDeploymentInputOperationOutputAlias, CreateDeploymentOutput, CreateDeploymentError, CreateDeploymentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDeploymentOutput, SdkError<CreateDeploymentError>> where
R::Policy: SmithyRetryPolicy<CreateDeploymentInputOperationOutputAlias, CreateDeploymentOutput, CreateDeploymentError, CreateDeploymentInputOperationRetryAlias>,
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.
The stack ID.
The app ID. This parameter is required for app deployments, but not for other deployment commands.
The app ID. This parameter is required for app deployments, but not for other deployment commands.
Appends an item to InstanceIds
.
To override the contents of this collection use set_instance_ids
.
The instance IDs for the deployment targets.
The instance IDs for the deployment targets.
Appends an item to LayerIds
.
To override the contents of this collection use set_layer_ids
.
The layer IDs for the deployment targets.
The layer IDs for the deployment targets.
A DeploymentCommand
object that specifies the deployment command and any
associated arguments.
A DeploymentCommand
object that specifies the deployment command and any
associated arguments.
A user-defined comment.
A string that contains user-defined, custom JSON. You can use this parameter to override some corresponding default stack configuration JSON values. The string should be in the following format:
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information about custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes and Overriding Attributes With Custom JSON.
A string that contains user-defined, custom JSON. You can use this parameter to override some corresponding default stack configuration JSON values. The string should be in the following format:
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information about custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes and Overriding Attributes With Custom JSON.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateDeployment<C, M, R>
impl<C, M, R> Send for CreateDeployment<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateDeployment<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateDeployment<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateDeployment<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