aws_sdk_iot/client/associate_sbom_with_package_version.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`AssociateSbomWithPackageVersion`](crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`package_name(impl Into<String>)`](crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder::package_name) / [`set_package_name(Option<String>)`](crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder::set_package_name):<br>required: **true**<br><p>The name of the new software package.</p><br>
7 /// - [`version_name(impl Into<String>)`](crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder::version_name) / [`set_version_name(Option<String>)`](crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder::set_version_name):<br>required: **true**<br><p>The name of the new package version.</p><br>
8 /// - [`sbom(Sbom)`](crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder::sbom) / [`set_sbom(Option<Sbom>)`](crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder::set_sbom):<br>required: **true**<br><p>A specific software bill of matrerials associated with a software package version.</p><br>
9 /// - [`client_token(impl Into<String>)`](crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p><br>
10 /// - On success, responds with [`AssociateSbomWithPackageVersionOutput`](crate::operation::associate_sbom_with_package_version::AssociateSbomWithPackageVersionOutput) with field(s):
11 /// - [`package_name(Option<String>)`](crate::operation::associate_sbom_with_package_version::AssociateSbomWithPackageVersionOutput::package_name): <p>The name of the new software package.</p>
12 /// - [`version_name(Option<String>)`](crate::operation::associate_sbom_with_package_version::AssociateSbomWithPackageVersionOutput::version_name): <p>The name of the new package version.</p>
13 /// - [`sbom(Option<Sbom>)`](crate::operation::associate_sbom_with_package_version::AssociateSbomWithPackageVersionOutput::sbom): <p>A specific software bill of matrerials associated with a software package version.</p>
14 /// - [`sbom_validation_status(Option<SbomValidationStatus>)`](crate::operation::associate_sbom_with_package_version::AssociateSbomWithPackageVersionOutput::sbom_validation_status): <p>The status of the initial validation for the software bill of materials against the Software Package Data Exchange (SPDX) and CycloneDX industry standard formats.</p>
15 /// - On failure, responds with [`SdkError<AssociateSbomWithPackageVersionError>`](crate::operation::associate_sbom_with_package_version::AssociateSbomWithPackageVersionError)
16 pub fn associate_sbom_with_package_version(
17 &self,
18 ) -> crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder {
19 crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder::new(self.handle.clone())
20 }
21}