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 Jan 3, 2024
1 parent cc795a8 commit 391a88c
Show file tree
Hide file tree
Showing 57 changed files with 2,285 additions and 358 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[workspace]
exclude = [
"examples/lambda",
"examples/examples",
"examples/test-utils",
"examples/cross_service",
"examples/lambda",
"examples/examples",
"examples/webassembly",
"tests/no-default-features",
"tests/webassembly"
Expand Down
66 changes: 33 additions & 33 deletions aws-models/connect.json

Large diffs are not rendered by default.

349 changes: 340 additions & 9 deletions aws-models/mediaconvert.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions aws-models/sdk-endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -11264,8 +11264,10 @@
},
"m2" : {
"endpoints" : {
"af-south-1" : { },
"ap-northeast-1" : { },
"ap-northeast-2" : { },
"ap-northeast-3" : { },
"ap-south-1" : { },
"ap-southeast-1" : { },
"ap-southeast-2" : { },
Expand All @@ -11275,6 +11277,8 @@
} ]
},
"eu-central-1" : { },
"eu-north-1" : { },
"eu-south-1" : { },
"eu-west-1" : { },
"eu-west-2" : { },
"eu-west-3" : { },
Expand Down
2 changes: 1 addition & 1 deletion sdk/connect/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-connect"
version = "1.12.0"
version = "1.13.0"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
description = "AWS SDK for Amazon Connect Service"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion sdk/connect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.1", features = ["behavior-version-latest"] }
aws-sdk-connect = "1.12.0"
aws-sdk-connect = "1.13.0"
tokio = { version = "1", features = ["full"] }
```

Expand Down
6 changes: 3 additions & 3 deletions sdk/connect/src/client/search_contacts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ impl super::Client {
/// This operation supports pagination; See [`into_paginator()`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance</p><br>
/// - [`time_range(SearchContactsTimeRange)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::time_range) / [`set_time_range(Option<SearchContactsTimeRange>)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::set_time_range):<br>required: **true**<br><p>Time range that you want to search results</p><br>
/// - [`instance_id(impl Into<String>)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`time_range(SearchContactsTimeRange)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::time_range) / [`set_time_range(Option<SearchContactsTimeRange>)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::set_time_range):<br>required: **true**<br><p>Time range that you want to search results.</p><br>
/// - [`search_criteria(SearchCriteria)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::search_criteria) / [`set_search_criteria(Option<SearchCriteria>)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::set_search_criteria):<br>required: **false**<br><p>The search criteria to be used to return contacts.</p><br>
/// - [`max_results(i32)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::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>
/// - [`sort(Sort)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::sort) / [`set_sort(Option<Sort>)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::set_sort):<br>required: **false**<br><p>Specifies a field to sort by and a sort order</p><br>
/// - [`sort(Sort)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::sort) / [`set_sort(Option<Sort>)`](crate::operation::search_contacts::builders::SearchContactsFluentBuilder::set_sort):<br>required: **false**<br><p>Specifies a field to sort by and a sort order.</p><br>
/// - On success, responds with [`SearchContactsOutput`](crate::operation::search_contacts::SearchContactsOutput) with field(s):
/// - [`contacts(Vec::<ContactSearchSummary>)`](crate::operation::search_contacts::SearchContactsOutput::contacts): <p>Information about the contacts.</p>
/// - [`next_token(Option<String>)`](crate::operation::search_contacts::SearchContactsOutput::next_token): <p>If there are additional results, this is the token for the next set of results.</p>
Expand Down
2 changes: 1 addition & 1 deletion sdk/connect/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
//! ```toml
//! [dependencies]
//! aws-config = { version = "1.1.1", features = ["behavior-version-latest"] }
//! aws-sdk-connect = "1.12.0"
//! aws-sdk-connect = "1.13.0"
//! tokio = { version = "1", features = ["full"] }
//! ```
//!
Expand Down
30 changes: 15 additions & 15 deletions sdk/connect/src/operation/search_contacts/_search_contacts_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct SearchContactsInput {
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance</p>
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p>
pub instance_id: ::std::option::Option<::std::string::String>,
/// <p>Time range that you want to search results</p>
/// <p>Time range that you want to search results.</p>
pub time_range: ::std::option::Option<crate::types::SearchContactsTimeRange>,
/// <p>The search criteria to be used to return contacts.</p>
pub search_criteria: ::std::option::Option<crate::types::SearchCriteria>,
/// <p>The maximum number of results to return per page.</p>
pub max_results: ::std::option::Option<i32>,
/// <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>
pub next_token: ::std::option::Option<::std::string::String>,
/// <p>Specifies a field to sort by and a sort order</p>
/// <p>Specifies a field to sort by and a sort order.</p>
pub sort: ::std::option::Option<crate::types::Sort>,
}
impl SearchContactsInput {
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance</p>
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p>
pub fn instance_id(&self) -> ::std::option::Option<&str> {
self.instance_id.as_deref()
}
/// <p>Time range that you want to search results</p>
/// <p>Time range that you want to search results.</p>
pub fn time_range(&self) -> ::std::option::Option<&crate::types::SearchContactsTimeRange> {
self.time_range.as_ref()
}
Expand All @@ -37,7 +37,7 @@ impl SearchContactsInput {
pub fn next_token(&self) -> ::std::option::Option<&str> {
self.next_token.as_deref()
}
/// <p>Specifies a field to sort by and a sort order</p>
/// <p>Specifies a field to sort by and a sort order.</p>
pub fn sort(&self) -> ::std::option::Option<&crate::types::Sort> {
self.sort.as_ref()
}
Expand All @@ -61,33 +61,33 @@ pub struct SearchContactsInputBuilder {
pub(crate) sort: ::std::option::Option<crate::types::Sort>,
}
impl SearchContactsInputBuilder {
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance</p>
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p>
/// This field is required.
pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.instance_id = ::std::option::Option::Some(input.into());
self
}
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance</p>
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p>
pub fn set_instance_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.instance_id = input;
self
}
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance</p>
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p>
pub fn get_instance_id(&self) -> &::std::option::Option<::std::string::String> {
&self.instance_id
}
/// <p>Time range that you want to search results</p>
/// <p>Time range that you want to search results.</p>
/// This field is required.
pub fn time_range(mut self, input: crate::types::SearchContactsTimeRange) -> Self {
self.time_range = ::std::option::Option::Some(input);
self
}
/// <p>Time range that you want to search results</p>
/// <p>Time range that you want to search results.</p>
pub fn set_time_range(mut self, input: ::std::option::Option<crate::types::SearchContactsTimeRange>) -> Self {
self.time_range = input;
self
}
/// <p>Time range that you want to search results</p>
/// <p>Time range that you want to search results.</p>
pub fn get_time_range(&self) -> &::std::option::Option<crate::types::SearchContactsTimeRange> {
&self.time_range
}
Expand Down Expand Up @@ -133,17 +133,17 @@ impl SearchContactsInputBuilder {
pub fn get_next_token(&self) -> &::std::option::Option<::std::string::String> {
&self.next_token
}
/// <p>Specifies a field to sort by and a sort order</p>
/// <p>Specifies a field to sort by and a sort order.</p>
pub fn sort(mut self, input: crate::types::Sort) -> Self {
self.sort = ::std::option::Option::Some(input);
self
}
/// <p>Specifies a field to sort by and a sort order</p>
/// <p>Specifies a field to sort by and a sort order.</p>
pub fn set_sort(mut self, input: ::std::option::Option<crate::types::Sort>) -> Self {
self.sort = input;
self
}
/// <p>Specifies a field to sort by and a sort order</p>
/// <p>Specifies a field to sort by and a sort order.</p>
pub fn get_sort(&self) -> &::std::option::Option<crate::types::Sort> {
&self.sort
}
Expand Down
18 changes: 9 additions & 9 deletions sdk/connect/src/operation/search_contacts/builders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,31 +114,31 @@ impl SearchContactsFluentBuilder {
pub fn into_paginator(self) -> crate::operation::search_contacts::paginator::SearchContactsPaginator {
crate::operation::search_contacts::paginator::SearchContactsPaginator::new(self.handle, self.inner)
}
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance</p>
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p>
pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.instance_id(input.into());
self
}
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance</p>
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p>
pub fn set_instance_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_instance_id(input);
self
}
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance</p>
/// <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p>
pub fn get_instance_id(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_instance_id()
}
/// <p>Time range that you want to search results</p>
/// <p>Time range that you want to search results.</p>
pub fn time_range(mut self, input: crate::types::SearchContactsTimeRange) -> Self {
self.inner = self.inner.time_range(input);
self
}
/// <p>Time range that you want to search results</p>
/// <p>Time range that you want to search results.</p>
pub fn set_time_range(mut self, input: ::std::option::Option<crate::types::SearchContactsTimeRange>) -> Self {
self.inner = self.inner.set_time_range(input);
self
}
/// <p>Time range that you want to search results</p>
/// <p>Time range that you want to search results.</p>
pub fn get_time_range(&self) -> &::std::option::Option<crate::types::SearchContactsTimeRange> {
self.inner.get_time_range()
}
Expand Down Expand Up @@ -184,17 +184,17 @@ impl SearchContactsFluentBuilder {
pub fn get_next_token(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_next_token()
}
/// <p>Specifies a field to sort by and a sort order</p>
/// <p>Specifies a field to sort by and a sort order.</p>
pub fn sort(mut self, input: crate::types::Sort) -> Self {
self.inner = self.inner.sort(input);
self
}
/// <p>Specifies a field to sort by and a sort order</p>
/// <p>Specifies a field to sort by and a sort order.</p>
pub fn set_sort(mut self, input: ::std::option::Option<crate::types::Sort>) -> Self {
self.inner = self.inner.set_sort(input);
self
}
/// <p>Specifies a field to sort by and a sort order</p>
/// <p>Specifies a field to sort by and a sort order.</p>
pub fn get_sort(&self) -> &::std::option::Option<crate::types::Sort> {
self.inner.get_sort()
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/connect/src/types/_agent_hierarchy_groups.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>A structure that defines agent hierarchy group levels which can be used to filter search results. Important: Agent hierarchy group level information in search result is a snapshot, it does not represent current agent hierarchy who handled the contact.</p>
/// <p>A structure that defines search criteria for contacts using agent hierarchy group levels. For more information about agent hierarchies, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/agent-hierarchy.html">Set Up Agent Hierarchies</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct AgentHierarchyGroups {
Expand Down
12 changes: 6 additions & 6 deletions sdk/connect/src/types/_contact_analysis.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>A structure that defines filters can be used to search within outputs analyzed by Amazon Connect Contact Lens in a contact.</p>
/// <p>A structure that defines search criteria for contacts using analysis outputs from Amazon Connect Contact Lens.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct ContactAnalysis {
/// <p>A structure that defines filters can be used to search with text within an Amazon Connect Contact Lens analyzed transcript.</p>
/// <p>Search criteria based on transcript analyzed by Amazon Connect Contact Lens.</p>
pub transcript: ::std::option::Option<crate::types::Transcript>,
}
impl ContactAnalysis {
/// <p>A structure that defines filters can be used to search with text within an Amazon Connect Contact Lens analyzed transcript.</p>
/// <p>Search criteria based on transcript analyzed by Amazon Connect Contact Lens.</p>
pub fn transcript(&self) -> ::std::option::Option<&crate::types::Transcript> {
self.transcript.as_ref()
}
Expand All @@ -27,17 +27,17 @@ pub struct ContactAnalysisBuilder {
pub(crate) transcript: ::std::option::Option<crate::types::Transcript>,
}
impl ContactAnalysisBuilder {
/// <p>A structure that defines filters can be used to search with text within an Amazon Connect Contact Lens analyzed transcript.</p>
/// <p>Search criteria based on transcript analyzed by Amazon Connect Contact Lens.</p>
pub fn transcript(mut self, input: crate::types::Transcript) -> Self {
self.transcript = ::std::option::Option::Some(input);
self
}
/// <p>A structure that defines filters can be used to search with text within an Amazon Connect Contact Lens analyzed transcript.</p>
/// <p>Search criteria based on transcript analyzed by Amazon Connect Contact Lens.</p>
pub fn set_transcript(mut self, input: ::std::option::Option<crate::types::Transcript>) -> Self {
self.transcript = input;
self
}
/// <p>A structure that defines filters can be used to search with text within an Amazon Connect Contact Lens analyzed transcript.</p>
/// <p>Search criteria based on transcript analyzed by Amazon Connect Contact Lens.</p>
pub fn get_transcript(&self) -> &::std::option::Option<crate::types::Transcript> {
&self.transcript
}
Expand Down
Loading

0 comments on commit 391a88c

Please sign in to comment.