#[non_exhaustive]pub struct CreateComponentInput { /* private fields */ }
Implementations§
source§impl CreateComponentInput
impl CreateComponentInput
sourcepub fn semantic_version(&self) -> Option<&str>
pub fn semantic_version(&self) -> Option<&str>
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.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Describes the contents of the component.
sourcepub fn change_description(&self) -> Option<&str>
pub fn change_description(&self) -> Option<&str>
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.
sourcepub fn supported_os_versions(&self) -> Option<&[String]>
pub fn supported_os_versions(&self) -> Option<&[String]>
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.
sourcepub fn data(&self) -> Option<&str>
pub fn data(&self) -> Option<&str>
Component data
contains inline YAML document content for the component. Alternatively, you can specify the uri
of a YAML document file stored in Amazon S3. However, you cannot specify both properties.
sourcepub fn uri(&self) -> Option<&str>
pub fn uri(&self) -> Option<&str>
The uri
of a YAML component document file. This must be an S3 URL (s3://bucket/key
), and the requester must have permission to access the S3 bucket it points to. If you use Amazon S3, you can specify component content up to your service quota.
Alternatively, you can specify the YAML document inline, using the component data
property. You cannot specify both properties.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ID of the KMS key that is used to encrypt this component.
The tags that apply to the component.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
The idempotency token of the component.
source§impl CreateComponentInput
impl CreateComponentInput
sourcepub fn builder() -> CreateComponentInputBuilder
pub fn builder() -> CreateComponentInputBuilder
Creates a new builder-style object to manufacture CreateComponentInput
.
source§impl CreateComponentInput
impl CreateComponentInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateComponent, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( self, _config: &Config ) -> Result<Operation<CreateComponent, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateComponent
>
Trait Implementations§
source§impl Clone for CreateComponentInput
impl Clone for CreateComponentInput
source§fn clone(&self) -> CreateComponentInput
fn clone(&self) -> CreateComponentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateComponentInput
impl Debug for CreateComponentInput
source§impl PartialEq<CreateComponentInput> for CreateComponentInput
impl PartialEq<CreateComponentInput> for CreateComponentInput
source§fn eq(&self, other: &CreateComponentInput) -> bool
fn eq(&self, other: &CreateComponentInput) -> bool
self
and other
values to be equal, and is used
by ==
.