aws_sdk_networksecuritymanager/client/update_deployment.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 [`UpdateDeployment`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`deployment_identifier(impl Into<String>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::deployment_identifier) / [`set_deployment_identifier(Option<String>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::set_deployment_identifier):<br>required: **true**<br><p>The identifier of the deployment. This is the deployment's Amazon Resource Name (ARN).</p><br>
7 /// - [`update_token(impl Into<String>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::update_token) / [`set_update_token(Option<String>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::set_update_token):<br>required: **true**<br><p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p><br>
8 /// - [`deployment_description(impl Into<String>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::deployment_description) / [`set_deployment_description(Option<String>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::set_deployment_description):<br>required: **false**<br><p>A description of the deployment.</p><br>
9 /// - [`deployment_configuration(DeploymentConfiguration)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::deployment_configuration) / [`set_deployment_configuration(Option<DeploymentConfiguration>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::set_deployment_configuration):<br>required: **false**<br><p>The configuration settings for the deployment.</p><br>
10 /// - [`associated_policy_list(PolicyReference)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::associated_policy_list) / [`set_associated_policy_list(Option<Vec::<PolicyReference>>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::set_associated_policy_list):<br>required: **false**<br><p>The policies associated with the deployment.</p><br>
11 /// - [`associated_scope_list(ScopeReference)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::associated_scope_list) / [`set_associated_scope_list(Option<Vec::<ScopeReference>>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::set_associated_scope_list):<br>required: **false**<br><p>The scope associated with the deployment. A deployment has exactly one scope.</p><br>
12 /// - [`is_published(bool)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::is_published) / [`set_is_published(Option<bool>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::set_is_published):<br>required: **true**<br><p>Specifies whether to publish the resource. When <code>true</code>, the resource is saved in published (<code>ACTIVE</code>) state. When <code>false</code>, it is saved as a draft (<code>DRAFT</code>).</p><br>
13 /// - [`client_token(impl Into<String>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p><br>
14 /// - On success, responds with [`UpdateDeploymentOutput`](crate::operation::update_deployment::UpdateDeploymentOutput) with field(s):
15 /// - [`deployment_id(String)`](crate::operation::update_deployment::UpdateDeploymentOutput::deployment_id): <p>The service-generated id of the deployment.</p>
16 /// - [`deployment_arn(String)`](crate::operation::update_deployment::UpdateDeploymentOutput::deployment_arn): <p>The Amazon Resource Name (ARN) of the deployment.</p>
17 /// - [`deployment_name(String)`](crate::operation::update_deployment::UpdateDeploymentOutput::deployment_name): <p>The name of the deployment.</p>
18 /// - [`deployment_description(Option<String>)`](crate::operation::update_deployment::UpdateDeploymentOutput::deployment_description): <p>A description of the deployment.</p>
19 /// - [`status(EntityStatus)`](crate::operation::update_deployment::UpdateDeploymentOutput::status): <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
20 /// - [`deployment_configuration(Option<DeploymentConfiguration>)`](crate::operation::update_deployment::UpdateDeploymentOutput::deployment_configuration): <p>The configuration settings for the deployment.</p>
21 /// - [`associated_policy_list(Vec::<AssociatedPolicy>)`](crate::operation::update_deployment::UpdateDeploymentOutput::associated_policy_list): <p>The policies associated with the deployment.</p>
22 /// - [`associated_scope_list(Vec::<AssociatedScope>)`](crate::operation::update_deployment::UpdateDeploymentOutput::associated_scope_list): <p>The scope associated with the deployment. A deployment has exactly one scope.</p>
23 /// - [`version(String)`](crate::operation::update_deployment::UpdateDeploymentOutput::version): <p>The version of the resource.</p>
24 /// - [`update_token(Option<String>)`](crate::operation::update_deployment::UpdateDeploymentOutput::update_token): <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
25 /// - [`is_snapshot(Option<bool>)`](crate::operation::update_deployment::UpdateDeploymentOutput::is_snapshot): <p>Specifies whether the resource is a snapshot of a published version.</p>
26 /// - [`has_published_version(Option<bool>)`](crate::operation::update_deployment::UpdateDeploymentOutput::has_published_version): <p>Specifies whether a published version of the resource exists.</p>
27 /// - [`deployment_coverage(Option<Vec::<DeploymentCoverageEntry>>)`](crate::operation::update_deployment::UpdateDeploymentOutput::deployment_coverage): <p>The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.</p>
28 /// - [`warnings(Option<Vec::<DeploymentWarningEntry>>)`](crate::operation::update_deployment::UpdateDeploymentOutput::warnings): <p>Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.</p>
29 /// - [`updated_at(Option<DateTime>)`](crate::operation::update_deployment::UpdateDeploymentOutput::updated_at): <p>The time when the resource was last updated.</p>
30 /// - On failure, responds with [`SdkError<UpdateDeploymentError>`](crate::operation::update_deployment::UpdateDeploymentError)
31 pub fn update_deployment(&self) -> crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder {
32 crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::new(self.handle.clone())
33 }
34}