aws_sdk_marketplacedeployment/client/
put_deployment_parameter.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 [`PutDeploymentParameter`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`catalog(impl Into<String>)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::catalog) / [`set_catalog(Option<String>)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::set_catalog):<br>required: **true**<br><p>The catalog related to the request. Fixed value: <code>AWSMarketplace</code></p><br>
7    ///   - [`product_id(impl Into<String>)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::product_id) / [`set_product_id(Option<String>)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::set_product_id):<br>required: **true**<br><p>The product for which AWS Marketplace will save secrets for the buyer’s account.</p><br>
8    ///   - [`agreement_id(impl Into<String>)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::agreement_id) / [`set_agreement_id(Option<String>)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::set_agreement_id):<br>required: **true**<br><p>The unique identifier of the agreement.</p><br>
9    ///   - [`deployment_parameter(DeploymentParameterInput)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::deployment_parameter) / [`set_deployment_parameter(Option<DeploymentParameterInput>)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::set_deployment_parameter):<br>required: **true**<br><p>The deployment parameter targeted to the acceptor of an agreement for which to create the AWS Secret Manager resource.</p><br>
10    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::set_tags):<br>required: **false**<br><p>A map of key-value pairs, where each pair represents a tag saved to the resource. Tags will only be applied for create operations, and they'll be ignored if the resource already exists.</p><br>
11    ///   - [`expiration_date(DateTime)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::expiration_date) / [`set_expiration_date(Option<DateTime>)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::set_expiration_date):<br>required: **false**<br><p>The date when deployment parameters expire and are scheduled for deletion.</p><br>
12    ///   - [`client_token(impl Into<String>)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::set_client_token):<br>required: **false**<br><p>The idempotency token for deployment parameters. A unique identifier for the new version.</p><note>  <p>This field is not required if you're calling using an AWS SDK. Otherwise, a <code>clientToken</code> must be provided with the request.</p> </note><br>
13    /// - On success, responds with [`PutDeploymentParameterOutput`](crate::operation::put_deployment_parameter::PutDeploymentParameterOutput) with field(s):
14    ///   - [`resource_arn(String)`](crate::operation::put_deployment_parameter::PutDeploymentParameterOutput::resource_arn): <p>The Amazon Resource Name (ARN) associated with the deployment parameter resource you want to create or update.</p>
15    ///   - [`agreement_id(String)`](crate::operation::put_deployment_parameter::PutDeploymentParameterOutput::agreement_id): <p>The unique identifier of the agreement.</p>
16    ///   - [`deployment_parameter_id(String)`](crate::operation::put_deployment_parameter::PutDeploymentParameterOutput::deployment_parameter_id): <p>The unique identifier of the deployment parameter.</p>
17    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::put_deployment_parameter::PutDeploymentParameterOutput::tags): <p>A map of key-value pairs, where each pair represents a tag saved to the resource. Tags will only be applied for create operations, and they'll be ignored if the resource already exists.</p>
18    /// - On failure, responds with [`SdkError<PutDeploymentParameterError>`](crate::operation::put_deployment_parameter::PutDeploymentParameterError)
19    pub fn put_deployment_parameter(&self) -> crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder {
20        crate::operation::put_deployment_parameter::builders::PutDeploymentParameterFluentBuilder::new(self.handle.clone())
21    }
22}