1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateSbomWithPackageVersion`](crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>The Amazon S3 location for the software bill of materials associated with a software package version.</p><br>
    ///   - [`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>
    /// - On success, responds with [`AssociateSbomWithPackageVersionOutput`](crate::operation::associate_sbom_with_package_version::AssociateSbomWithPackageVersionOutput) with field(s):
    ///   - [`package_name(Option<String>)`](crate::operation::associate_sbom_with_package_version::AssociateSbomWithPackageVersionOutput::package_name): <p>The name of the new software package.</p>
    ///   - [`version_name(Option<String>)`](crate::operation::associate_sbom_with_package_version::AssociateSbomWithPackageVersionOutput::version_name): <p>The name of the new package version.</p>
    ///   - [`sbom(Option<Sbom>)`](crate::operation::associate_sbom_with_package_version::AssociateSbomWithPackageVersionOutput::sbom): <p>The Amazon S3 location for the software bill of materials associated with a software package version.</p>
    ///   - [`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 SBOM against the Software Package Data Exchange (SPDX) and CycloneDX industry standard format.</p>
    /// - On failure, responds with [`SdkError<AssociateSbomWithPackageVersionError>`](crate::operation::associate_sbom_with_package_version::AssociateSbomWithPackageVersionError)
    pub fn associate_sbom_with_package_version(
        &self,
    ) -> crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder {
        crate::operation::associate_sbom_with_package_version::builders::AssociateSbomWithPackageVersionFluentBuilder::new(self.handle.clone())
    }
}