Skip to content

Commit 54a3a23

Browse files
Update SDK models
1 parent 8d81e37 commit 54a3a23

File tree

137 files changed

+12771
-215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+12771
-215
lines changed

aws-models/datazone.json

Lines changed: 1330 additions & 23 deletions
Large diffs are not rendered by default.

aws-models/ivs.json

Lines changed: 53 additions & 41 deletions
Large diffs are not rendered by default.

aws-models/neptune-graph.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5215,7 +5215,7 @@
52155215
"type": "integer",
52165216
"traits": {
52175217
"smithy.api#range": {
5218-
"min": 128,
5218+
"min": 32,
52195219
"max": 24576
52205220
}
52215221
}

aws-models/redshift-serverless.json

Lines changed: 55 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@
550550
"roleArn": {
551551
"target": "com.amazonaws.redshiftserverless#IamRoleArn",
552552
"traits": {
553-
"smithy.api#documentation": "<p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. \n This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. \n For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html\">Using Identity-Based Policies for \n Amazon Redshift</a> in the Amazon Redshift Cluster Management Guide</p>",
553+
"smithy.api#documentation": "<p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. \n This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. \n For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html\">Using Identity-Based Policies for \n Amazon Redshift</a> in the Amazon Redshift Management Guide</p>",
554554
"smithy.api#required": {}
555555
}
556556
},
@@ -904,6 +904,9 @@
904904
{
905905
"target": "com.amazonaws.redshiftserverless#InternalServerException"
906906
},
907+
{
908+
"target": "com.amazonaws.redshiftserverless#Ipv6CidrBlockNotFoundException"
909+
},
907910
{
908911
"target": "com.amazonaws.redshiftserverless#ResourceNotFoundException"
909912
},
@@ -989,6 +992,12 @@
989992
"traits": {
990993
"smithy.api#documentation": "<p>The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.</p>"
991994
}
995+
},
996+
"ipAddressType": {
997+
"target": "com.amazonaws.redshiftserverless#IpAddressType",
998+
"traits": {
999+
"smithy.api#documentation": "<p>The IP address type that the workgroup supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>"
1000+
}
9921001
}
9931002
},
9941003
"traits": {
@@ -2407,6 +2416,28 @@
24072416
"smithy.api#httpError": 400
24082417
}
24092418
},
2419+
"com.amazonaws.redshiftserverless#IpAddressType": {
2420+
"type": "string",
2421+
"traits": {
2422+
"smithy.api#pattern": "^(ipv4|dualstack)$"
2423+
}
2424+
},
2425+
"com.amazonaws.redshiftserverless#Ipv6CidrBlockNotFoundException": {
2426+
"type": "structure",
2427+
"members": {
2428+
"message": {
2429+
"target": "smithy.api#String",
2430+
"traits": {
2431+
"smithy.api#required": {}
2432+
}
2433+
}
2434+
},
2435+
"traits": {
2436+
"smithy.api#documentation": "<p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.</p>",
2437+
"smithy.api#error": "client",
2438+
"smithy.api#httpError": 400
2439+
}
2440+
},
24102441
"com.amazonaws.redshiftserverless#KmsKeyId": {
24112442
"type": "string"
24122443
},
@@ -3589,6 +3620,12 @@
35893620
"traits": {
35903621
"smithy.api#documentation": "<p>The availability Zone.</p>"
35913622
}
3623+
},
3624+
"ipv6Address": {
3625+
"target": "smithy.api#String",
3626+
"traits": {
3627+
"smithy.api#documentation": "<p>The IPv6 address of the network interface within the subnet.</p>"
3628+
}
35923629
}
35933630
},
35943631
"traits": {
@@ -5166,7 +5203,7 @@
51665203
"roleArn": {
51675204
"target": "com.amazonaws.redshiftserverless#IamRoleArn",
51685205
"traits": {
5169-
"smithy.api#documentation": "<p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. \n This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. \n For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html\">Using Identity-Based Policies for \n Amazon Redshift</a> in the Amazon Redshift Cluster Management Guide</p>"
5206+
"smithy.api#documentation": "<p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. \n This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. \n For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html\">Using Identity-Based Policies for \n Amazon Redshift</a> in the Amazon Redshift Management Guide</p>"
51705207
}
51715208
},
51725209
"state": {
@@ -6195,7 +6232,7 @@
61956232
"roleArn": {
61966233
"target": "com.amazonaws.redshiftserverless#IamRoleArn",
61976234
"traits": {
6198-
"smithy.api#documentation": "<p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. \n This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. \n For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html\">Using Identity-Based Policies for \n Amazon Redshift</a> in the Amazon Redshift Cluster Management Guide</p>"
6235+
"smithy.api#documentation": "<p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. \n This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. \n For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html\">Using Identity-Based Policies for \n Amazon Redshift</a> in the Amazon Redshift Management Guide</p>"
61996236
}
62006237
},
62016238
"enabled": {
@@ -6452,6 +6489,9 @@
64526489
{
64536490
"target": "com.amazonaws.redshiftserverless#InternalServerException"
64546491
},
6492+
{
6493+
"target": "com.amazonaws.redshiftserverless#Ipv6CidrBlockNotFoundException"
6494+
},
64556495
{
64566496
"target": "com.amazonaws.redshiftserverless#ResourceNotFoundException"
64576497
},
@@ -6520,6 +6560,12 @@
65206560
"traits": {
65216561
"smithy.api#documentation": "<p>The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.</p>"
65226562
}
6563+
},
6564+
"ipAddressType": {
6565+
"target": "com.amazonaws.redshiftserverless#IpAddressType",
6566+
"traits": {
6567+
"smithy.api#documentation": "<p>The IP address type that the workgroup supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>"
6568+
}
65236569
}
65246570
},
65256571
"traits": {
@@ -6895,6 +6941,12 @@
68956941
"traits": {
68966942
"smithy.api#documentation": "<p>A list of VPCs. Each entry is the unique identifier of a virtual private cloud with access to Amazon Redshift Serverless. If all of the VPCs for the grantee are allowed, it shows an asterisk.</p>"
68976943
}
6944+
},
6945+
"ipAddressType": {
6946+
"target": "com.amazonaws.redshiftserverless#IpAddressType",
6947+
"traits": {
6948+
"smithy.api#documentation": "<p>The IP address type that the workgroup supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>"
6949+
}
68986950
}
68996951
},
69006952
"traits": {

aws-models/sdk-endpoints.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23710,8 +23710,6 @@
2371023710
},
2371123711
"endpoints" : {
2371223712
"us-gov-east-1" : {
23713-
"hostname" : "autoscaling-plans.us-gov-east-1.amazonaws.com",
23714-
"protocols" : [ "http", "https" ],
2371523713
"variants" : [ {
2371623714
"hostname" : "autoscaling-plans.us-gov-east-1.amazonaws.com",
2371723715
"tags" : [ "fips" ]
@@ -23723,8 +23721,6 @@
2372323721
"protocols" : [ "http", "https" ]
2372423722
},
2372523723
"us-gov-west-1" : {
23726-
"hostname" : "autoscaling-plans.us-gov-west-1.amazonaws.com",
23727-
"protocols" : [ "http", "https" ],
2372823724
"variants" : [ {
2372923725
"hostname" : "autoscaling-plans.us-gov-west-1.amazonaws.com",
2373023726
"tags" : [ "fips" ]

sdk/datazone/src/client.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ mod cancel_subscription;
148148

149149
mod create_asset;
150150

151+
mod create_asset_filter;
152+
151153
mod create_asset_revision;
152154

153155
mod create_asset_type;
@@ -213,6 +215,8 @@ pub mod customize;
213215

214216
mod delete_asset;
215217

218+
mod delete_asset_filter;
219+
216220
mod delete_asset_type;
217221

218222
mod delete_data_source;
@@ -251,6 +255,8 @@ mod disassociate_environment_role;
251255

252256
mod get_asset;
253257

258+
mod get_asset_filter;
259+
254260
mod get_asset_type;
255261

256262
mod get_data_source;
@@ -299,6 +305,8 @@ mod get_time_series_data_point;
299305

300306
mod get_user_profile;
301307

308+
mod list_asset_filters;
309+
302310
mod list_asset_revisions;
303311

304312
mod list_data_source_run_activities;
@@ -371,6 +379,8 @@ mod tag_resource;
371379

372380
mod untag_resource;
373381

382+
mod update_asset_filter;
383+
374384
mod update_data_source;
375385

376386
mod update_domain;
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2+
impl super::Client {
3+
/// Constructs a fluent builder for the [`CreateAssetFilter`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder) operation.
4+
///
5+
/// - The fluent builder is configurable:
6+
/// - [`domain_identifier(impl Into<String>)`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain in which you want to create an asset filter.</p><br>
7+
/// - [`asset_identifier(impl Into<String>)`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::asset_identifier) / [`set_asset_identifier(Option<String>)`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::set_asset_identifier):<br>required: **true**<br><p>The ID of the data asset.</p><br>
8+
/// - [`name(impl Into<String>)`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::set_name):<br>required: **true**<br><p>The name of the asset filter.</p><br>
9+
/// - [`description(impl Into<String>)`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::set_description):<br>required: **false**<br><p>The description of the asset filter.</p><br>
10+
/// - [`configuration(AssetFilterConfiguration)`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::configuration) / [`set_configuration(Option<AssetFilterConfiguration>)`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::set_configuration):<br>required: **true**<br><p>The configuration of the asset filter.</p><br>
11+
/// - [`client_token(impl Into<String>)`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p><br>
12+
/// - On success, responds with [`CreateAssetFilterOutput`](crate::operation::create_asset_filter::CreateAssetFilterOutput) with field(s):
13+
/// - [`id(String)`](crate::operation::create_asset_filter::CreateAssetFilterOutput::id): <p>The ID of the asset filter.</p>
14+
/// - [`domain_id(String)`](crate::operation::create_asset_filter::CreateAssetFilterOutput::domain_id): <p>The ID of the domain where the asset filter is created.</p>
15+
/// - [`asset_id(String)`](crate::operation::create_asset_filter::CreateAssetFilterOutput::asset_id): <p>The ID of the asset.</p>
16+
/// - [`name(String)`](crate::operation::create_asset_filter::CreateAssetFilterOutput::name): <p>The name of the asset filter.</p>
17+
/// - [`description(Option<String>)`](crate::operation::create_asset_filter::CreateAssetFilterOutput::description): <p>The description of the asset filter.</p>
18+
/// - [`status(Option<FilterStatus>)`](crate::operation::create_asset_filter::CreateAssetFilterOutput::status): <p>The status of the asset filter.</p>
19+
/// - [`configuration(Option<AssetFilterConfiguration>)`](crate::operation::create_asset_filter::CreateAssetFilterOutput::configuration): <p>The configuration of the asset filter.</p>
20+
/// - [`created_at(Option<DateTime>)`](crate::operation::create_asset_filter::CreateAssetFilterOutput::created_at): <p>The timestamp at which the asset filter was created.</p>
21+
/// - [`error_message(Option<String>)`](crate::operation::create_asset_filter::CreateAssetFilterOutput::error_message): <p>The error message that is displayed if the asset filter is not created successfully.</p>
22+
/// - [`effective_column_names(Option<Vec::<String>>)`](crate::operation::create_asset_filter::CreateAssetFilterOutput::effective_column_names): <p>The column names in the asset filter.</p>
23+
/// - [`effective_row_filter(Option<String>)`](crate::operation::create_asset_filter::CreateAssetFilterOutput::effective_row_filter): <p>The row filter in the asset filter.</p>
24+
/// - On failure, responds with [`SdkError<CreateAssetFilterError>`](crate::operation::create_asset_filter::CreateAssetFilterError)
25+
pub fn create_asset_filter(&self) -> crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder {
26+
crate::operation::create_asset_filter::builders::CreateAssetFilterFluentBuilder::new(self.handle.clone())
27+
}
28+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2+
impl super::Client {
3+
/// Constructs a fluent builder for the [`DeleteAssetFilter`](crate::operation::delete_asset_filter::builders::DeleteAssetFilterFluentBuilder) operation.
4+
///
5+
/// - The fluent builder is configurable:
6+
/// - [`domain_identifier(impl Into<String>)`](crate::operation::delete_asset_filter::builders::DeleteAssetFilterFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::delete_asset_filter::builders::DeleteAssetFilterFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where you want to delete an asset filter.</p><br>
7+
/// - [`asset_identifier(impl Into<String>)`](crate::operation::delete_asset_filter::builders::DeleteAssetFilterFluentBuilder::asset_identifier) / [`set_asset_identifier(Option<String>)`](crate::operation::delete_asset_filter::builders::DeleteAssetFilterFluentBuilder::set_asset_identifier):<br>required: **true**<br><p>The ID of the data asset.</p><br>
8+
/// - [`identifier(impl Into<String>)`](crate::operation::delete_asset_filter::builders::DeleteAssetFilterFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_asset_filter::builders::DeleteAssetFilterFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the asset filter that you want to delete.</p><br>
9+
/// - On success, responds with [`DeleteAssetFilterOutput`](crate::operation::delete_asset_filter::DeleteAssetFilterOutput)
10+
/// - On failure, responds with [`SdkError<DeleteAssetFilterError>`](crate::operation::delete_asset_filter::DeleteAssetFilterError)
11+
pub fn delete_asset_filter(&self) -> crate::operation::delete_asset_filter::builders::DeleteAssetFilterFluentBuilder {
12+
crate::operation::delete_asset_filter::builders::DeleteAssetFilterFluentBuilder::new(self.handle.clone())
13+
}
14+
}

0 commit comments

Comments
 (0)