Struct aws_sdk_imagebuilder::client::fluent_builders::ImportComponent [−][src]
pub struct ImportComponent<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ImportComponent
.
Imports a component and transforms its data into a component document.
Implementations
impl<C, M, R> ImportComponent<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ImportComponent<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ImportComponentOutput, SdkError<ImportComponentError>> where
R::Policy: SmithyRetryPolicy<ImportComponentInputOperationOutputAlias, ImportComponentOutput, ImportComponentError, ImportComponentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ImportComponentOutput, SdkError<ImportComponentError>> where
R::Policy: SmithyRetryPolicy<ImportComponentInputOperationOutputAlias, ImportComponentOutput, ImportComponentError, ImportComponentInputOperationRetryAlias>,
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:
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
The semantic version of the component. This version follows the semantic version syntax.
The semantic version has four nodes:
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
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 type of the component denotes whether the component is used to build the image, or only to test it.
The type of the component denotes whether the component is used to build the image, or only to test it.
The format of the resource that you want to import as a component.
The format of the resource that you want to import as a component.
The platform of 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 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 ImportComponent<C, M, R>
impl<C, M, R> Send for ImportComponent<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ImportComponent<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ImportComponent<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ImportComponent<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