aws_sdk_connect/client/create_use_case.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateUseCase`](crate::operation::create_use_case::builders::CreateUseCaseFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::create_use_case::builders::CreateUseCaseFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::create_use_case::builders::CreateUseCaseFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`integration_association_id(impl Into<String>)`](crate::operation::create_use_case::builders::CreateUseCaseFluentBuilder::integration_association_id) / [`set_integration_association_id(Option<String>)`](crate::operation::create_use_case::builders::CreateUseCaseFluentBuilder::set_integration_association_id):<br>required: **true**<br><p>The identifier for the integration association.</p><br>
/// - [`use_case_type(UseCaseType)`](crate::operation::create_use_case::builders::CreateUseCaseFluentBuilder::use_case_type) / [`set_use_case_type(Option<UseCaseType>)`](crate::operation::create_use_case::builders::CreateUseCaseFluentBuilder::set_use_case_type):<br>required: **true**<br><p>The type of use case to associate to the integration association. Each integration association can have only one of each use case type.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_use_case::builders::CreateUseCaseFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_use_case::builders::CreateUseCaseFluentBuilder::set_tags):<br>required: **false**<br><p>The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.</p><br>
/// - On success, responds with [`CreateUseCaseOutput`](crate::operation::create_use_case::CreateUseCaseOutput) with field(s):
/// - [`use_case_id(Option<String>)`](crate::operation::create_use_case::CreateUseCaseOutput::use_case_id): <p>The identifier of the use case.</p>
/// - [`use_case_arn(Option<String>)`](crate::operation::create_use_case::CreateUseCaseOutput::use_case_arn): <p>The Amazon Resource Name (ARN) for the use case.</p>
/// - On failure, responds with [`SdkError<CreateUseCaseError>`](crate::operation::create_use_case::CreateUseCaseError)
pub fn create_use_case(&self) -> crate::operation::create_use_case::builders::CreateUseCaseFluentBuilder {
crate::operation::create_use_case::builders::CreateUseCaseFluentBuilder::new(self.handle.clone())
}
}