aws_sdk_appfabric/client/create_app_bundle.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 [`CreateAppBundle`](crate::operation::create_app_bundle::builders::CreateAppBundleFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`client_token(impl Into<String>)`](crate::operation::create_app_bundle::builders::CreateAppBundleFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_app_bundle::builders::CreateAppBundleFluentBuilder::set_client_token):<br>required: **false**<br><p>Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of value</a>.</p> <p>If you don't provide this value, then Amazon Web Services generates a random one for you.</p> <p>If you retry the operation with the same <code>ClientToken</code>, but with different parameters, the retry fails with an <code>IdempotentParameterMismatch</code> error.</p><br>
7 /// - [`customer_managed_key_identifier(impl Into<String>)`](crate::operation::create_app_bundle::builders::CreateAppBundleFluentBuilder::customer_managed_key_identifier) / [`set_customer_managed_key_identifier(Option<String>)`](crate::operation::create_app_bundle::builders::CreateAppBundleFluentBuilder::set_customer_managed_key_identifier):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to use to encrypt the application data. If this is not specified, an Amazon Web Services owned key is used for encryption.</p><br>
8 /// - [`tags(Tag)`](crate::operation::create_app_bundle::builders::CreateAppBundleFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_app_bundle::builders::CreateAppBundleFluentBuilder::set_tags):<br>required: **false**<br><p>A map of the key-value pairs of the tag or tags to assign to the resource.</p><br>
9 /// - On success, responds with [`CreateAppBundleOutput`](crate::operation::create_app_bundle::CreateAppBundleOutput) with field(s):
10 /// - [`app_bundle(Option<AppBundle>)`](crate::operation::create_app_bundle::CreateAppBundleOutput::app_bundle): <p>Contains information about an app bundle.</p>
11 /// - On failure, responds with [`SdkError<CreateAppBundleError>`](crate::operation::create_app_bundle::CreateAppBundleError)
12 pub fn create_app_bundle(&self) -> crate::operation::create_app_bundle::builders::CreateAppBundleFluentBuilder {
13 crate::operation::create_app_bundle::builders::CreateAppBundleFluentBuilder::new(self.handle.clone())
14 }
15}