Skip to content

Commit

Permalink
Update SDK models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-rust-ci committed May 14, 2024
1 parent d1e9f47 commit ba017e8
Show file tree
Hide file tree
Showing 66 changed files with 4,475 additions and 623 deletions.
383 changes: 372 additions & 11 deletions aws-models/connect.json

Large diffs are not rendered by default.

174 changes: 68 additions & 106 deletions aws-models/s3.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions aws-models/sdk-endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@
"ap-southeast-2" : { },
"eu-central-1" : { },
"eu-west-1" : { },
"eu-west-2" : { },
"eu-west-3" : { },
"us-east-1" : { },
"us-east-2" : { },
Expand Down
4 changes: 4 additions & 0 deletions sdk/connect/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,10 @@ mod resume_contact_recording;

mod search_available_phone_numbers;

mod search_contact_flow_modules;

mod search_contact_flows;

mod search_contacts;

mod search_hours_of_operations;
Expand Down
1 change: 1 addition & 0 deletions sdk/connect/src/client/create_contact_flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ impl super::Client {
/// - [`r#type(ContactFlowType)`](crate::operation::create_contact_flow::builders::CreateContactFlowFluentBuilder::type) / [`set_type(Option<ContactFlowType>)`](crate::operation::create_contact_flow::builders::CreateContactFlowFluentBuilder::set_type):<br>required: **true**<br><p>The type of the flow. For descriptions of the available types, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-contact-flow.html#contact-flow-types">Choose a flow type</a> in the <i>Amazon Connect Administrator Guide</i>.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::create_contact_flow::builders::CreateContactFlowFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_contact_flow::builders::CreateContactFlowFluentBuilder::set_description):<br>required: **false**<br><p>The description of the flow.</p><br>
/// - [`content(impl Into<String>)`](crate::operation::create_contact_flow::builders::CreateContactFlowFluentBuilder::content) / [`set_content(Option<String>)`](crate::operation::create_contact_flow::builders::CreateContactFlowFluentBuilder::set_content):<br>required: **true**<br><p>The JSON string that represents the content of the flow. For an example, see <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html">Example flow in Amazon Connect Flow language</a>.</p> <p>Length Constraints: Minimum length of 1. Maximum length of 256000.</p><br>
/// - [`status(ContactFlowStatus)`](crate::operation::create_contact_flow::builders::CreateContactFlowFluentBuilder::status) / [`set_status(Option<ContactFlowStatus>)`](crate::operation::create_contact_flow::builders::CreateContactFlowFluentBuilder::set_status):<br>required: **false**<br><p>Indicates the flow status as either <code>SAVED</code> or <code>PUBLISHED</code>. The <code>PUBLISHED</code> status will initiate validation on the content. the <code>SAVED</code> status does not initiate validation of the content. <code>SAVED</code> | <code>PUBLISHED</code>.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_contact_flow::builders::CreateContactFlowFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_contact_flow::builders::CreateContactFlowFluentBuilder::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 [`CreateContactFlowOutput`](crate::operation::create_contact_flow::CreateContactFlowOutput) with field(s):
/// - [`contact_flow_id(Option<String>)`](crate::operation::create_contact_flow::CreateContactFlowOutput::contact_flow_id): <p>The identifier of the flow.</p>
Expand Down
4 changes: 2 additions & 2 deletions sdk/connect/src/client/get_attached_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ impl super::Client {
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::get_attached_file::builders::GetAttachedFileFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::get_attached_file::builders::GetAttachedFileFluentBuilder::set_instance_id):<br>required: **true**<br><p>The unique identifier of the Connect instance.</p><br>
/// - [`file_id(impl Into<String>)`](crate::operation::get_attached_file::builders::GetAttachedFileFluentBuilder::file_id) / [`set_file_id(Option<String>)`](crate::operation::get_attached_file::builders::GetAttachedFileFluentBuilder::set_file_id):<br>required: **true**<br><p>The unique identifier of the attached file resource.</p><br>
/// - [`url_expiry_in_seconds(i32)`](crate::operation::get_attached_file::builders::GetAttachedFileFluentBuilder::url_expiry_in_seconds) / [`set_url_expiry_in_seconds(Option<i32>)`](crate::operation::get_attached_file::builders::GetAttachedFileFluentBuilder::set_url_expiry_in_seconds):<br>required: **false**<br><p>Optional override for the expiry of the pre-signed S3 URL in seconds.</p><br>
/// - [`url_expiry_in_seconds(i32)`](crate::operation::get_attached_file::builders::GetAttachedFileFluentBuilder::url_expiry_in_seconds) / [`set_url_expiry_in_seconds(Option<i32>)`](crate::operation::get_attached_file::builders::GetAttachedFileFluentBuilder::set_url_expiry_in_seconds):<br>required: **false**<br><p>Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.</p><br>
/// - [`associated_resource_arn(impl Into<String>)`](crate::operation::get_attached_file::builders::GetAttachedFileFluentBuilder::associated_resource_arn) / [`set_associated_resource_arn(Option<String>)`](crate::operation::get_attached_file::builders::GetAttachedFileFluentBuilder::set_associated_resource_arn):<br>required: **true**<br><p>The resource to which the attached file is (being) uploaded to. <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Cases</a> are the only current supported resource.</p><note> <p>This value must be a valid ARN.</p> </note><br>
/// - On success, responds with [`GetAttachedFileOutput`](crate::operation::get_attached_file::GetAttachedFileOutput) with field(s):
/// - [`file_arn(Option<String>)`](crate::operation::get_attached_file::GetAttachedFileOutput::file_arn): <p>The unique identifier of the attached file resource (ARN).</p>
Expand All @@ -14,7 +14,7 @@ impl super::Client {
/// - [`file_status(Option<FileStatusType>)`](crate::operation::get_attached_file::GetAttachedFileOutput::file_status): <p>The current status of the attached file.</p>
/// - [`file_name(Option<String>)`](crate::operation::get_attached_file::GetAttachedFileOutput::file_name): <p>A case-sensitive name of the attached file being uploaded.</p>
/// - [`file_size_in_bytes(i64)`](crate::operation::get_attached_file::GetAttachedFileOutput::file_size_in_bytes): <p>The size of the attached file in bytes.</p>
/// - [`associated_resource_arn(Option<String>)`](crate::operation::get_attached_file::GetAttachedFileOutput::associated_resource_arn): <p>The resource to which the attached file is (being) uploaded to. <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Cases</a> are the only current supported resource.</p><note> <p>This value must be a valid ARN.</p> </note>
/// - [`associated_resource_arn(Option<String>)`](crate::operation::get_attached_file::GetAttachedFileOutput::associated_resource_arn): <p>The resource to which the attached file is (being) uploaded to. <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Cases</a> are the only current supported resource.</p>
/// - [`file_use_case_type(Option<FileUseCaseType>)`](crate::operation::get_attached_file::GetAttachedFileOutput::file_use_case_type): <p>The use case for the file.</p>
/// - [`created_by(Option<CreatedByInfo>)`](crate::operation::get_attached_file::GetAttachedFileOutput::created_by): <p>Represents the identity that created the file.</p>
/// - [`download_url_metadata(Option<DownloadUrlMetadata>)`](crate::operation::get_attached_file::GetAttachedFileOutput::download_url_metadata): <p>URL and expiry to be used when downloading the attached file.</p>
Expand Down
6 changes: 3 additions & 3 deletions sdk/connect/src/client/get_metric_data_v2.rs

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions sdk/connect/src/client/search_contact_flow_modules.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`SearchContactFlowModules`](crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p><br>
/// - [`max_results(i32)`](crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
/// - [`search_filter(ContactFlowModuleSearchFilter)`](crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder::search_filter) / [`set_search_filter(Option<ContactFlowModuleSearchFilter>)`](crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder::set_search_filter):<br>required: **false**<br><p>Filters to be applied to search results.</p><br>
/// - [`search_criteria(ContactFlowModuleSearchCriteria)`](crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder::search_criteria) / [`set_search_criteria(Option<ContactFlowModuleSearchCriteria>)`](crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder::set_search_criteria):<br>required: **false**<br><p>The search criteria to be used to return contact flow modules.</p><note> <p>The <code>name</code> and <code>description</code> fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will result in invalid results.</p> </note><br>
/// - On success, responds with [`SearchContactFlowModulesOutput`](crate::operation::search_contact_flow_modules::SearchContactFlowModulesOutput) with field(s):
/// - [`contact_flow_modules(Option<Vec::<ContactFlowModule>>)`](crate::operation::search_contact_flow_modules::SearchContactFlowModulesOutput::contact_flow_modules): <p>The search criteria to be used to return contact flow modules.</p>
/// - [`next_token(Option<String>)`](crate::operation::search_contact_flow_modules::SearchContactFlowModulesOutput::next_token): <p>If there are additional results, this is the token for the next set of results.</p>
/// - [`approximate_total_count(Option<i64>)`](crate::operation::search_contact_flow_modules::SearchContactFlowModulesOutput::approximate_total_count): <p>The total number of contact flows which matched your search query.</p>
/// - On failure, responds with [`SdkError<SearchContactFlowModulesError>`](crate::operation::search_contact_flow_modules::SearchContactFlowModulesError)
pub fn search_contact_flow_modules(&self) -> crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder {
crate::operation::search_contact_flow_modules::builders::SearchContactFlowModulesFluentBuilder::new(self.handle.clone())
}
}
20 changes: 20 additions & 0 deletions sdk/connect/src/client/search_contact_flows.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`SearchContactFlows`](crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p><br>
/// - [`max_results(i32)`](crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
/// - [`search_filter(ContactFlowSearchFilter)`](crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder::search_filter) / [`set_search_filter(Option<ContactFlowSearchFilter>)`](crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder::set_search_filter):<br>required: **false**<br><p>Filters to be applied to search results.</p><br>
/// - [`search_criteria(ContactFlowSearchCriteria)`](crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder::search_criteria) / [`set_search_criteria(Option<ContactFlowSearchCriteria>)`](crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder::set_search_criteria):<br>required: **false**<br><p>The search criteria to be used to return flows.</p><note> <p>The <code>name</code> and <code>description</code> fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will result in invalid results.</p> </note><br>
/// - On success, responds with [`SearchContactFlowsOutput`](crate::operation::search_contact_flows::SearchContactFlowsOutput) with field(s):
/// - [`contact_flows(Option<Vec::<ContactFlow>>)`](crate::operation::search_contact_flows::SearchContactFlowsOutput::contact_flows): <p>Information about the contact flows.</p>
/// - [`next_token(Option<String>)`](crate::operation::search_contact_flows::SearchContactFlowsOutput::next_token): <p>If there are additional results, this is the token for the next set of results.</p>
/// - [`approximate_total_count(Option<i64>)`](crate::operation::search_contact_flows::SearchContactFlowsOutput::approximate_total_count): <p>The total number of contact flows which matched your search query.</p>
/// - On failure, responds with [`SdkError<SearchContactFlowsError>`](crate::operation::search_contact_flows::SearchContactFlowsError)
pub fn search_contact_flows(&self) -> crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder {
crate::operation::search_contact_flows::builders::SearchContactFlowsFluentBuilder::new(self.handle.clone())
}
}
2 changes: 1 addition & 1 deletion sdk/connect/src/client/start_attached_file_upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ impl super::Client {
/// - [`instance_id(impl Into<String>)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::set_instance_id):<br>required: **true**<br><p>The unique identifier of the Connect instance.</p><br>
/// - [`file_name(impl Into<String>)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::file_name) / [`set_file_name(Option<String>)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::set_file_name):<br>required: **true**<br><p>A case-sensitive name of the attached file being uploaded.</p><br>
/// - [`file_size_in_bytes(i64)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::file_size_in_bytes) / [`set_file_size_in_bytes(Option<i64>)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::set_file_size_in_bytes):<br>required: **true**<br><p>The size of the attached file in bytes.</p><br>
/// - [`url_expiry_in_seconds(i32)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::url_expiry_in_seconds) / [`set_url_expiry_in_seconds(Option<i32>)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::set_url_expiry_in_seconds):<br>required: **false**<br><p>Optional override for the expiry of the pre-signed S3 URL in seconds.</p><br>
/// - [`url_expiry_in_seconds(i32)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::url_expiry_in_seconds) / [`set_url_expiry_in_seconds(Option<i32>)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::set_url_expiry_in_seconds):<br>required: **false**<br><p>Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.</p><br>
/// - [`file_use_case_type(FileUseCaseType)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::file_use_case_type) / [`set_file_use_case_type(Option<FileUseCaseType>)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::set_file_use_case_type):<br>required: **true**<br><p>The use case for the file.</p><br>
/// - [`associated_resource_arn(impl Into<String>)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::associated_resource_arn) / [`set_associated_resource_arn(Option<String>)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::set_associated_resource_arn):<br>required: **true**<br><p>The resource to which the attached file is (being) uploaded to. <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Cases</a> are the only current supported resource.</p><note> <p>This value must be a valid ARN.</p> </note><br>
/// - [`created_by(CreatedByInfo)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::created_by) / [`set_created_by(Option<CreatedByInfo>)`](crate::operation::start_attached_file_upload::builders::StartAttachedFileUploadFluentBuilder::set_created_by):<br>required: **false**<br><p>Represents the identity that created the file.</p><br>
Expand Down
Loading

0 comments on commit ba017e8

Please sign in to comment.