Skip to content

Commit 0d4a9f1

Browse files
Update SDK models
1 parent 3d12893 commit 0d4a9f1

File tree

178 files changed

+20788
-144
lines changed

Some content is hidden

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

178 files changed

+20788
-144
lines changed

aws-models/cloudfront.json

Lines changed: 1705 additions & 45 deletions
Large diffs are not rendered by default.

aws-models/cloudwatch-logs.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,6 +1235,12 @@
12351235
"traits": {
12361236
"smithy.api#documentation": "<p>Use this parameter to specify the log group class for this log group. There are three\n classes:</p>\n <ul>\n <li>\n <p>The <code>Standard</code> log class supports all CloudWatch Logs features.</p>\n </li>\n <li>\n <p>The <code>Infrequent Access</code> log class supports a subset of CloudWatch Logs\n features and incurs lower costs.</p>\n </li>\n <li>\n <p>Use the <code>Delivery</code> log class only for delivering Lambda\n logs to store in Amazon S3 or Amazon Data Firehose. Log events in log groups in\n the Delivery class are kept in CloudWatch Logs for only one day. This log class doesn't\n offer rich CloudWatch Logs capabilities such as CloudWatch Logs Insights\n queries.</p>\n </li>\n </ul>\n <p>If you omit this parameter, the default of <code>STANDARD</code> is used.</p>\n <important>\n <p>The value of <code>logGroupClass</code> can't be changed after a log group is\n created.</p>\n </important>\n <p>For details about the features supported by each class, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html\">Log classes</a>\n </p>"
12371237
}
1238+
},
1239+
"deletionProtectionEnabled": {
1240+
"target": "com.amazonaws.cloudwatchlogs#DeletionProtectionEnabled",
1241+
"traits": {
1242+
"smithy.api#documentation": "<p>Use this parameter to enable deletion protection for the new log group. When enabled on a log group, deletion protection blocks all\n deletion operations until it is explicitly disabled. By default log groups are created without deletion protection enabled.</p>"
1243+
}
12381244
}
12391245
},
12401246
"traits": {
@@ -2053,6 +2059,9 @@
20532059
},
20542060
{
20552061
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
2062+
},
2063+
{
2064+
"target": "com.amazonaws.cloudwatchlogs#ValidationException"
20562065
}
20572066
],
20582067
"traits": {
@@ -2094,6 +2103,9 @@
20942103
},
20952104
{
20962105
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
2106+
},
2107+
{
2108+
"target": "com.amazonaws.cloudwatchlogs#ValidationException"
20972109
}
20982110
],
20992111
"traits": {
@@ -2471,6 +2483,9 @@
24712483
}
24722484
}
24732485
},
2486+
"com.amazonaws.cloudwatchlogs#DeletionProtectionEnabled": {
2487+
"type": "boolean"
2488+
},
24742489
"com.amazonaws.cloudwatchlogs#Delimiter": {
24752490
"type": "string",
24762491
"traits": {
@@ -7594,6 +7609,12 @@
75947609
"traits": {
75957610
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the log group. This version of the ARN doesn't\n include a trailing <code>:*</code> after the log group name. </p>\n <p>Use this version to refer to the ARN in the following situations:</p>\n <ul>\n <li>\n <p>In the <code>logGroupIdentifier</code> input field in many CloudWatch Logs\n APIs.</p>\n </li>\n <li>\n <p>In the <code>resourceArn</code> field in tagging APIs</p>\n </li>\n <li>\n <p>In IAM policies, when specifying permissions for <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html\">TagResource</a>, <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html\">UntagResource</a>, and <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html\">ListTagsForResource</a>.</p>\n </li>\n </ul>"
75967611
}
7612+
},
7613+
"deletionProtectionEnabled": {
7614+
"target": "com.amazonaws.cloudwatchlogs#DeletionProtectionEnabled",
7615+
"traits": {
7616+
"smithy.api#documentation": "<p>Indicates whether deletion protection is enabled for this log group. When enabled, deletion protection blocks all\n deletion operations until it is explicitly disabled.</p>"
7617+
}
75977618
}
75987619
},
75997620
"traits": {
@@ -8121,6 +8142,9 @@
81218142
{
81228143
"target": "com.amazonaws.cloudwatchlogs#PutLogEvents"
81238144
},
8145+
{
8146+
"target": "com.amazonaws.cloudwatchlogs#PutLogGroupDeletionProtection"
8147+
},
81248148
{
81258149
"target": "com.amazonaws.cloudwatchlogs#PutMetricFilter"
81268150
},
@@ -11276,6 +11300,60 @@
1127611300
"smithy.api#output": {}
1127711301
}
1127811302
},
11303+
"com.amazonaws.cloudwatchlogs#PutLogGroupDeletionProtection": {
11304+
"type": "operation",
11305+
"input": {
11306+
"target": "com.amazonaws.cloudwatchlogs#PutLogGroupDeletionProtectionRequest"
11307+
},
11308+
"output": {
11309+
"target": "smithy.api#Unit"
11310+
},
11311+
"errors": [
11312+
{
11313+
"target": "com.amazonaws.cloudwatchlogs#AccessDeniedException"
11314+
},
11315+
{
11316+
"target": "com.amazonaws.cloudwatchlogs#InvalidOperationException"
11317+
},
11318+
{
11319+
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
11320+
},
11321+
{
11322+
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
11323+
},
11324+
{
11325+
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
11326+
},
11327+
{
11328+
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
11329+
}
11330+
],
11331+
"traits": {
11332+
"smithy.api#documentation": "<p>Enables or disables deletion protection for the specified log group. When enabled on a log group, deletion protection blocks all\n deletion operations until it is explicitly disabled.</p>\n <p>For information about the parameters that are common to all actions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/CommonParameters.html\">Common Parameters</a>.</p>"
11333+
}
11334+
},
11335+
"com.amazonaws.cloudwatchlogs#PutLogGroupDeletionProtectionRequest": {
11336+
"type": "structure",
11337+
"members": {
11338+
"logGroupIdentifier": {
11339+
"target": "com.amazonaws.cloudwatchlogs#LogGroupIdentifier",
11340+
"traits": {
11341+
"smithy.api#documentation": "<p>The name or ARN of the log group.</p>\n <p>Type: String</p>\n <p>Length Constraints: Minimum length of 1. Maximum length of 512.</p>\n <p>Pattern: <code>[\\.\\-_/#A-Za-z0-9]+</code>\n </p>\n <p>Required: Yes</p>",
11342+
"smithy.api#required": {}
11343+
}
11344+
},
11345+
"deletionProtectionEnabled": {
11346+
"target": "com.amazonaws.cloudwatchlogs#DeletionProtectionEnabled",
11347+
"traits": {
11348+
"smithy.api#documentation": "<p>Whether to enable deletion protection.</p>\n <p>Type: Boolean</p>\n <p>Required: Yes</p>",
11349+
"smithy.api#required": {}
11350+
}
11351+
}
11352+
},
11353+
"traits": {
11354+
"smithy.api#input": {}
11355+
}
11356+
},
1127911357
"com.amazonaws.cloudwatchlogs#PutMetricFilter": {
1128011358
"type": "operation",
1128111359
"input": {

sdk/cloudfront/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
22
[package]
33
name = "aws-sdk-cloudfront"
4-
version = "1.104.0"
4+
version = "1.105.0"
55
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
66
description = "AWS SDK for Amazon CloudFront"
77
edition = "2021"

sdk/cloudfront/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file:
1414
```toml
1515
[dependencies]
1616
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
17-
aws-sdk-cloudfront = "1.104.0"
17+
aws-sdk-cloudfront = "1.105.0"
1818
tokio = { version = "1", features = ["full"] }
1919
```
2020

sdk/cloudfront/src/client.rs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ mod create_cache_policy;
204204

205205
mod create_cloud_front_origin_access_identity;
206206

207+
mod create_connection_function;
208+
207209
mod create_connection_group;
208210

209211
mod create_continuous_deployment_policy;
@@ -244,6 +246,8 @@ mod create_streaming_distribution;
244246

245247
mod create_streaming_distribution_with_tags;
246248

249+
mod create_trust_store;
250+
247251
mod create_vpc_origin;
248252

249253
/// Operation customization and supporting types.
@@ -279,6 +283,8 @@ mod delete_cache_policy;
279283

280284
mod delete_cloud_front_origin_access_identity;
281285

286+
mod delete_connection_function;
287+
282288
mod delete_connection_group;
283289

284290
mod delete_continuous_deployment_policy;
@@ -313,8 +319,12 @@ mod delete_response_headers_policy;
313319

314320
mod delete_streaming_distribution;
315321

322+
mod delete_trust_store;
323+
316324
mod delete_vpc_origin;
317325

326+
mod describe_connection_function;
327+
318328
mod describe_function;
319329

320330
mod describe_key_value_store;
@@ -333,6 +343,8 @@ mod get_cloud_front_origin_access_identity;
333343

334344
mod get_cloud_front_origin_access_identity_config;
335345

346+
mod get_connection_function;
347+
336348
mod get_connection_group;
337349

338350
mod get_connection_group_by_routing_endpoint;
@@ -395,6 +407,8 @@ mod get_streaming_distribution;
395407

396408
mod get_streaming_distribution_config;
397409

410+
mod get_trust_store;
411+
398412
mod get_vpc_origin;
399413

400414
mod list_anycast_ip_lists;
@@ -405,6 +419,8 @@ mod list_cloud_front_origin_access_identities;
405419

406420
mod list_conflicting_aliases;
407421

422+
mod list_connection_functions;
423+
408424
mod list_connection_groups;
409425

410426
mod list_continuous_deployment_policies;
@@ -419,6 +435,8 @@ mod list_distributions_by_anycast_ip_list_id;
419435

420436
mod list_distributions_by_cache_policy_id;
421437

438+
mod list_distributions_by_connection_function;
439+
422440
mod list_distributions_by_connection_mode;
423441

424442
mod list_distributions_by_key_group;
@@ -431,6 +449,8 @@ mod list_distributions_by_realtime_log_config;
431449

432450
mod list_distributions_by_response_headers_policy_id;
433451

452+
mod list_distributions_by_trust_store;
453+
434454
mod list_distributions_by_vpc_origin_id;
435455

436456
mod list_distributions_by_web_acl_id;
@@ -465,14 +485,20 @@ mod list_streaming_distributions;
465485

466486
mod list_tags_for_resource;
467487

488+
mod list_trust_stores;
489+
468490
mod list_vpc_origins;
469491

492+
mod publish_connection_function;
493+
470494
mod publish_function;
471495

472496
mod put_resource_policy;
473497

474498
mod tag_resource;
475499

500+
mod test_connection_function;
501+
476502
mod test_function;
477503

478504
mod untag_resource;
@@ -483,6 +509,8 @@ mod update_cache_policy;
483509

484510
mod update_cloud_front_origin_access_identity;
485511

512+
mod update_connection_function;
513+
486514
mod update_connection_group;
487515

488516
mod update_continuous_deployment_policy;
@@ -517,6 +545,8 @@ mod update_response_headers_policy;
517545

518546
mod update_streaming_distribution;
519547

548+
mod update_trust_store;
549+
520550
mod update_vpc_origin;
521551

522552
mod verify_dns_configuration;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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 [`CreateConnectionFunction`](crate::operation::create_connection_function::builders::CreateConnectionFunctionFluentBuilder) operation.
4+
///
5+
/// - The fluent builder is configurable:
6+
/// - [`name(impl Into<String>)`](crate::operation::create_connection_function::builders::CreateConnectionFunctionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_connection_function::builders::CreateConnectionFunctionFluentBuilder::set_name):<br>required: **true**<br><p>A name for the connection function.</p><br>
7+
/// - [`connection_function_config(FunctionConfig)`](crate::operation::create_connection_function::builders::CreateConnectionFunctionFluentBuilder::connection_function_config) / [`set_connection_function_config(Option<FunctionConfig>)`](crate::operation::create_connection_function::builders::CreateConnectionFunctionFluentBuilder::set_connection_function_config):<br>required: **true**<br><p>Contains configuration information about a CloudFront function.</p><br>
8+
/// - [`connection_function_code(Blob)`](crate::operation::create_connection_function::builders::CreateConnectionFunctionFluentBuilder::connection_function_code) / [`set_connection_function_code(Option<Blob>)`](crate::operation::create_connection_function::builders::CreateConnectionFunctionFluentBuilder::set_connection_function_code):<br>required: **true**<br><p>The code for the connection function.</p><br>
9+
/// - [`tags(Tags)`](crate::operation::create_connection_function::builders::CreateConnectionFunctionFluentBuilder::tags) / [`set_tags(Option<Tags>)`](crate::operation::create_connection_function::builders::CreateConnectionFunctionFluentBuilder::set_tags):<br>required: **false**<br><p>A complex type that contains zero or more <code>Tag</code> elements.</p><br>
10+
/// - On success, responds with [`CreateConnectionFunctionOutput`](crate::operation::create_connection_function::CreateConnectionFunctionOutput) with field(s):
11+
/// - [`connection_function_summary(Option<ConnectionFunctionSummary>)`](crate::operation::create_connection_function::CreateConnectionFunctionOutput::connection_function_summary): <p>The summary for the connection function.</p>
12+
/// - [`location(Option<String>)`](crate::operation::create_connection_function::CreateConnectionFunctionOutput::location): <p>The location of the connection function.</p>
13+
/// - [`e_tag(Option<String>)`](crate::operation::create_connection_function::CreateConnectionFunctionOutput::e_tag): <p>The version identifier for the current version of the connection function.</p>
14+
/// - On failure, responds with [`SdkError<CreateConnectionFunctionError>`](crate::operation::create_connection_function::CreateConnectionFunctionError)
15+
pub fn create_connection_function(&self) -> crate::operation::create_connection_function::builders::CreateConnectionFunctionFluentBuilder {
16+
crate::operation::create_connection_function::builders::CreateConnectionFunctionFluentBuilder::new(self.handle.clone())
17+
}
18+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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 [`CreateTrustStore`](crate::operation::create_trust_store::builders::CreateTrustStoreFluentBuilder) operation.
4+
///
5+
/// - The fluent builder is configurable:
6+
/// - [`name(impl Into<String>)`](crate::operation::create_trust_store::builders::CreateTrustStoreFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_trust_store::builders::CreateTrustStoreFluentBuilder::set_name):<br>required: **true**<br><p>A name for the trust store.</p><br>
7+
/// - [`ca_certificates_bundle_source(CaCertificatesBundleSource)`](crate::operation::create_trust_store::builders::CreateTrustStoreFluentBuilder::ca_certificates_bundle_source) / [`set_ca_certificates_bundle_source(Option<CaCertificatesBundleSource>)`](crate::operation::create_trust_store::builders::CreateTrustStoreFluentBuilder::set_ca_certificates_bundle_source):<br>required: **true**<br><p>The CA certificates bundle source for the trust store.</p><br>
8+
/// - [`tags(Tags)`](crate::operation::create_trust_store::builders::CreateTrustStoreFluentBuilder::tags) / [`set_tags(Option<Tags>)`](crate::operation::create_trust_store::builders::CreateTrustStoreFluentBuilder::set_tags):<br>required: **false**<br><p>A complex type that contains zero or more <code>Tag</code> elements.</p><br>
9+
/// - On success, responds with [`CreateTrustStoreOutput`](crate::operation::create_trust_store::CreateTrustStoreOutput) with field(s):
10+
/// - [`trust_store(Option<TrustStore>)`](crate::operation::create_trust_store::CreateTrustStoreOutput::trust_store): <p>The trust store.</p>
11+
/// - [`e_tag(Option<String>)`](crate::operation::create_trust_store::CreateTrustStoreOutput::e_tag): <p>The version identifier for the current version of the trust store.</p>
12+
/// - On failure, responds with [`SdkError<CreateTrustStoreError>`](crate::operation::create_trust_store::CreateTrustStoreError)
13+
pub fn create_trust_store(&self) -> crate::operation::create_trust_store::builders::CreateTrustStoreFluentBuilder {
14+
crate::operation::create_trust_store::builders::CreateTrustStoreFluentBuilder::new(self.handle.clone())
15+
}
16+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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 [`DeleteConnectionFunction`](crate::operation::delete_connection_function::builders::DeleteConnectionFunctionFluentBuilder) operation.
4+
///
5+
/// - The fluent builder is configurable:
6+
/// - [`id(impl Into<String>)`](crate::operation::delete_connection_function::builders::DeleteConnectionFunctionFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_connection_function::builders::DeleteConnectionFunctionFluentBuilder::set_id):<br>required: **true**<br><p>The connection function's ID.</p><br>
7+
/// - [`if_match(impl Into<String>)`](crate::operation::delete_connection_function::builders::DeleteConnectionFunctionFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::delete_connection_function::builders::DeleteConnectionFunctionFluentBuilder::set_if_match):<br>required: **true**<br><p>The current version (<code>ETag</code> value) of the connection function you are deleting.</p><br>
8+
/// - On success, responds with [`DeleteConnectionFunctionOutput`](crate::operation::delete_connection_function::DeleteConnectionFunctionOutput)
9+
/// - On failure, responds with [`SdkError<DeleteConnectionFunctionError>`](crate::operation::delete_connection_function::DeleteConnectionFunctionError)
10+
pub fn delete_connection_function(&self) -> crate::operation::delete_connection_function::builders::DeleteConnectionFunctionFluentBuilder {
11+
crate::operation::delete_connection_function::builders::DeleteConnectionFunctionFluentBuilder::new(self.handle.clone())
12+
}
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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 [`DeleteTrustStore`](crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder) operation.
4+
///
5+
/// - The fluent builder is configurable:
6+
/// - [`id(impl Into<String>)`](crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder::set_id):<br>required: **true**<br><p>The trust store's ID.</p><br>
7+
/// - [`if_match(impl Into<String>)`](crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder::set_if_match):<br>required: **true**<br><p>The current version (<code>ETag</code> value) of the trust store you are deleting.</p><br>
8+
/// - On success, responds with [`DeleteTrustStoreOutput`](crate::operation::delete_trust_store::DeleteTrustStoreOutput)
9+
/// - On failure, responds with [`SdkError<DeleteTrustStoreError>`](crate::operation::delete_trust_store::DeleteTrustStoreError)
10+
pub fn delete_trust_store(&self) -> crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder {
11+
crate::operation::delete_trust_store::builders::DeleteTrustStoreFluentBuilder::new(self.handle.clone())
12+
}
13+
}

0 commit comments

Comments
 (0)