Struct aws_sdk_imagebuilder::client::fluent_builders::CreateComponent [−][src]
pub struct CreateComponent<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateComponent
.
Creates a new component that can be used to build, validate, test, and assess your image.
Implementations
impl<C, M, R> CreateComponent<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateComponent<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateComponentOutput, SdkError<CreateComponentError>> where
R::Policy: SmithyRetryPolicy<CreateComponentInputOperationOutputAlias, CreateComponentOutput, CreateComponentError, CreateComponentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateComponentOutput, SdkError<CreateComponentError>> where
R::Policy: SmithyRetryPolicy<CreateComponentInputOperationOutputAlias, CreateComponentOutput, CreateComponentError, CreateComponentInputOperationRetryAlias>,
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 semantic version of the component. This version follows the semantic version syntax.
The semantic version has four nodes:
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
The semantic version of the component. This version follows the semantic version syntax.
The semantic version has four nodes:
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
The description of the component. Describes the contents of the component.
The description of the component. Describes the contents of the component.
The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component.
The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component.
The platform of the component.
Appends an item to supportedOsVersions
.
To override the contents of this collection use set_supported_os_versions
.
The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
The data of the component. Used to specify the data inline. Either data
or uri
can be used to specify the data within the component.
The data of the component. Used to specify the data inline. Either data
or uri
can be used to specify the data within the component.
The uri of the component. Must be an Amazon S3 URL and the requester must have permission to access the Amazon S3 bucket. If you use Amazon S3, you can specify component content up to your service quota. Either data
or uri
can be used to specify the data within the component.
The uri of the component. Must be an Amazon S3 URL and the requester must have permission to access the Amazon S3 bucket. If you use Amazon S3, you can specify component content up to your service quota. Either data
or uri
can be used to specify the data within the component.
The ID of the KMS key that should be used to encrypt this component.
The ID of the KMS key that should be used to encrypt this component.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags of the component.
The tags of the component.
The idempotency token of the component.
The idempotency token of the component.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateComponent<C, M, R>
impl<C, M, R> Send for CreateComponent<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateComponent<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateComponent<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateComponent<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