Struct aws_sdk_imagebuilder::client::fluent_builders::UpdateInfrastructureConfiguration [−][src]
pub struct UpdateInfrastructureConfiguration<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateInfrastructureConfiguration
.
Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
Implementations
impl<C, M, R> UpdateInfrastructureConfiguration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateInfrastructureConfiguration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateInfrastructureConfigurationOutput, SdkError<UpdateInfrastructureConfigurationError>> where
R::Policy: SmithyRetryPolicy<UpdateInfrastructureConfigurationInputOperationOutputAlias, UpdateInfrastructureConfigurationOutput, UpdateInfrastructureConfigurationError, UpdateInfrastructureConfigurationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateInfrastructureConfigurationOutput, SdkError<UpdateInfrastructureConfigurationError>> where
R::Policy: SmithyRetryPolicy<UpdateInfrastructureConfigurationInputOperationOutputAlias, UpdateInfrastructureConfigurationOutput, UpdateInfrastructureConfigurationError, UpdateInfrastructureConfigurationInputOperationRetryAlias>,
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 Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
The description of the infrastructure configuration.
The description of the infrastructure configuration.
Appends an item to instanceTypes
.
To override the contents of this collection use set_instance_types
.
The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
Appends an item to securityGroupIds
.
To override the contents of this collection use set_security_group_ids
.
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
The logging configuration of the infrastructure configuration.
The logging configuration of the infrastructure configuration.
The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.
The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.
The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.
The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
The idempotency token used to make this request idempotent.
The idempotency token used to make this request idempotent.
Adds a key-value pair to resourceTags
.
To override the contents of this collection use set_resource_tags
.
The tags attached to the resource created by Image Builder.
The tags attached to the resource created by Image Builder.
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build and test instances. For more information about instance metadata options, see one of the following links:
-
Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances.
-
Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build and test instances. For more information about instance metadata options, see one of the following links:
-
Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances.
-
Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateInfrastructureConfiguration<C, M, R>
impl<C, M, R> Send for UpdateInfrastructureConfiguration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateInfrastructureConfiguration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateInfrastructureConfiguration<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateInfrastructureConfiguration<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