Skip to content

Commit a1fe95b

Browse files
Update SDK models
1 parent 7b615bb commit a1fe95b

File tree

74 files changed

+648
-352
lines changed

Some content is hidden

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

74 files changed

+648
-352
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4-
"examples/webassembly",
5-
"examples/test-utils",
6-
"examples/cross_service",
74
"examples/lambda",
5+
"examples/test-utils",
86
"examples/examples",
7+
"examples/webassembly",
8+
"examples/cross_service",
99
"tests/webassembly",
1010
"tests/no-default-features"
1111
]

aws-models/batch.json

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

aws-models/emr-containers.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,23 @@
3939
"smithy.api#pattern": "^arn:(aws[a-zA-Z0-9-]*):acm:.+:(\\d{12}):certificate/.+$"
4040
}
4141
},
42+
"com.amazonaws.emrcontainers#AllowAWSToRetainLogs": {
43+
"type": "enum",
44+
"members": {
45+
"ENABLED": {
46+
"target": "smithy.api#Unit",
47+
"traits": {
48+
"smithy.api#enumValue": "ENABLED"
49+
}
50+
},
51+
"DISABLED": {
52+
"target": "smithy.api#Unit",
53+
"traits": {
54+
"smithy.api#enumValue": "DISABLED"
55+
}
56+
}
57+
}
58+
},
4259
"com.amazonaws.emrcontainers#AuthorizationConfiguration": {
4360
"type": "structure",
4461
"members": {
@@ -3748,6 +3765,26 @@
37483765
"smithy.api#pattern": "^[\\.\\-_/#A-Za-z0-9]+$"
37493766
}
37503767
},
3768+
"com.amazonaws.emrcontainers#ManagedLogs": {
3769+
"type": "structure",
3770+
"members": {
3771+
"allowAWSToRetainLogs": {
3772+
"target": "com.amazonaws.emrcontainers#AllowAWSToRetainLogs",
3773+
"traits": {
3774+
"smithy.api#documentation": "<p>Determines whether Amazon Web Services can retain logs.</p>"
3775+
}
3776+
},
3777+
"encryptionKeyArn": {
3778+
"target": "com.amazonaws.emrcontainers#KmsKeyArn",
3779+
"traits": {
3780+
"smithy.api#documentation": "<p>The Amazon resource name (ARN) of the encryption key for logs.</p>"
3781+
}
3782+
}
3783+
},
3784+
"traits": {
3785+
"smithy.api#documentation": "<p>The entity that provides configuration control over managed logs.</p>"
3786+
}
3787+
},
37513788
"com.amazonaws.emrcontainers#MaxFilesToKeep": {
37523789
"type": "integer",
37533790
"traits": {
@@ -3760,6 +3797,12 @@
37603797
"com.amazonaws.emrcontainers#MonitoringConfiguration": {
37613798
"type": "structure",
37623799
"members": {
3800+
"managedLogs": {
3801+
"target": "com.amazonaws.emrcontainers#ManagedLogs",
3802+
"traits": {
3803+
"smithy.api#documentation": "<p>The entity that controls configuration for managed logs.</p>"
3804+
}
3805+
},
37633806
"persistentAppUI": {
37643807
"target": "com.amazonaws.emrcontainers#PersistentAppUI",
37653808
"traits": {

aws-models/medialive.json

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4328,6 +4328,12 @@
43284328
"traits": {
43294329
"smithy.api#enumValue": "S3_BUCKET"
43304330
}
4331+
},
4332+
"MEDIATAILOR_PLAYBACK_CONFIGURATION": {
4333+
"target": "smithy.api#Unit",
4334+
"traits": {
4335+
"smithy.api#enumValue": "MEDIATAILOR_PLAYBACK_CONFIGURATION"
4336+
}
43314337
}
43324338
},
43334339
"traits": {
@@ -4970,7 +4976,7 @@
49704976
"Nodes": {
49714977
"target": "com.amazonaws.medialive#__listOf__string",
49724978
"traits": {
4973-
"smithy.api#documentation": "An array with one item, which is the signle Node that is associated with the ChannelPlacementGroup.",
4979+
"smithy.api#documentation": "An array with one item, which is the single Node that is associated with the ChannelPlacementGroup.",
49744980
"smithy.api#jsonName": "nodes"
49754981
}
49764982
},
@@ -7531,7 +7537,7 @@
75317537
"Nodes": {
75327538
"target": "com.amazonaws.medialive#__listOf__string",
75337539
"traits": {
7534-
"smithy.api#documentation": "An array with one item, which is the signle Node that is associated with the ChannelPlacementGroup.",
7540+
"smithy.api#documentation": "An array with one item, which is the single Node that is associated with the ChannelPlacementGroup.",
75357541
"smithy.api#jsonName": "nodes"
75367542
}
75377543
},
@@ -9543,7 +9549,7 @@
95439549
"Nodes": {
95449550
"target": "com.amazonaws.medialive#__listOf__string",
95459551
"traits": {
9546-
"smithy.api#documentation": "An array with one item, which is the signle Node that is associated with the ChannelPlacementGroup.",
9552+
"smithy.api#documentation": "An array with one item, which is the single Node that is associated with the ChannelPlacementGroup.",
95479553
"smithy.api#jsonName": "nodes"
95489554
}
95499555
},
@@ -9601,7 +9607,7 @@
96019607
"Nodes": {
96029608
"target": "com.amazonaws.medialive#__listOf__string",
96039609
"traits": {
9604-
"smithy.api#documentation": "An array with one item, which is the signle Node that is associated with the ChannelPlacementGroup.",
9610+
"smithy.api#documentation": "An array with one item, which is the single Node that is associated with the ChannelPlacementGroup.",
96059611
"smithy.api#jsonName": "nodes"
96069612
}
96079613
},
@@ -31795,14 +31801,6 @@
3179531801
"smithy.api#httpLabel": {},
3179631802
"smithy.api#required": {}
3179731803
}
31798-
},
31799-
"RequestId": {
31800-
"target": "com.amazonaws.medialive#__stringMin1Max256PatternS",
31801-
"traits": {
31802-
"smithy.api#documentation": "An ID that you assign to a create request. This ID ensures idempotency when creating resources.",
31803-
"smithy.api#idempotencyToken": {},
31804-
"smithy.api#jsonName": "requestId"
31805-
}
3180631804
}
3180731805
},
3180831806
"traits": {
@@ -34171,7 +34169,7 @@
3417134169
"Nodes": {
3417234170
"target": "com.amazonaws.medialive#__listOf__string",
3417334171
"traits": {
34174-
"smithy.api#documentation": "An array with one item, which is the signle Node that is associated with the ChannelPlacementGroup.",
34172+
"smithy.api#documentation": "An array with one item, which is the single Node that is associated with the ChannelPlacementGroup.",
3417534173
"smithy.api#jsonName": "nodes"
3417634174
}
3417734175
},

aws-models/sdk-endpoints.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17118,6 +17118,12 @@
1711817118
"tags" : [ "dualstack" ]
1711917119
} ]
1712017120
},
17121+
"eu-south-2" : {
17122+
"variants" : [ {
17123+
"hostname" : "polly.eu-south-2.api.aws",
17124+
"tags" : [ "dualstack" ]
17125+
} ]
17126+
},
1712117127
"eu-west-1" : {
1712217128
"variants" : [ {
1712317129
"hostname" : "polly.eu-west-1.api.aws",
@@ -17751,6 +17757,12 @@
1775117757
"ca-west-1" : {
1775217758
"variants" : [ {
1775317759
"tags" : [ "dualstack" ]
17760+
}, {
17761+
"hostname" : "ram-fips.ca-west-1.amazonaws.com",
17762+
"tags" : [ "fips" ]
17763+
}, {
17764+
"hostname" : "ram-fips.ca-west-1.api.aws",
17765+
"tags" : [ "dualstack", "fips" ]
1775417766
} ]
1775517767
},
1775617768
"eu-central-1" : {
@@ -17800,6 +17812,13 @@
1780017812
"deprecated" : true,
1780117813
"hostname" : "ram-fips.ca-central-1.amazonaws.com"
1780217814
},
17815+
"fips-ca-west-1" : {
17816+
"credentialScope" : {
17817+
"region" : "ca-west-1"
17818+
},
17819+
"deprecated" : true,
17820+
"hostname" : "ram-fips.ca-west-1.amazonaws.com"
17821+
},
1780317822
"fips-us-east-1" : {
1780417823
"credentialScope" : {
1780517824
"region" : "us-east-1"

examples/examples/batch/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88

99
[dependencies]
1010
aws-config= { version = "1.5.16", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
11-
aws-sdk-batch= { version = "1.68.0", path = "../../../sdk/batch" }
11+
aws-sdk-batch= { version = "1.68.1", path = "../../../sdk/batch" }
1212

1313
[dependencies.tokio]
1414
version = "1.20.1"

examples/examples/medialive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88

99
[dependencies]
1010
aws-config= { version = "1.5.16", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
11-
aws-sdk-medialive= { version = "1.74.0", path = "../../../sdk/medialive" }
11+
aws-sdk-medialive= { version = "1.75.0", path = "../../../sdk/medialive" }
1212

1313
[dependencies.tokio]
1414
version = "1.20.1"

sdk/batch/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-batch"
4-
version = "1.68.0"
4+
version = "1.68.1"
55
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
66
description = "AWS SDK for AWS Batch"
77
edition = "2021"

sdk/batch/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ your project, add the following to your **Cargo.toml** file:
1616
```toml
1717
[dependencies]
1818
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
19-
aws-sdk-batch = "1.68.0"
19+
aws-sdk-batch = "1.68.1"
2020
tokio = { version = "1", features = ["full"] }
2121
```
2222

sdk/batch/src/client/create_compute_environment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ impl super::Client {
66
/// - [`compute_environment_name(impl Into<String>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::compute_environment_name) / [`set_compute_environment_name(Option<String>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::set_compute_environment_name):<br>required: **true**<br><p>The name for your compute environment. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).</p><br>
77
/// - [`r#type(CeType)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::type) / [`set_type(Option<CeType>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::set_type):<br>required: **true**<br><p>The type of the compute environment: <code>MANAGED</code> or <code>UNMANAGED</code>. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html">Compute Environments</a> in the <i>Batch User Guide</i>.</p><br>
88
/// - [`state(CeState)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::state) / [`set_state(Option<CeState>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::set_state):<br>required: **false**<br><p>The state of the compute environment. If the state is <code>ENABLED</code>, then the compute environment accepts jobs from a queue and can scale out automatically based on queues.</p> <p>If the state is <code>ENABLED</code>, then the Batch scheduler can attempt to place jobs from an associated job queue on the compute resources within the environment. If the compute environment is managed, then it can scale its instances out or in automatically, based on the job queue demand.</p> <p>If the state is <code>DISABLED</code>, then the Batch scheduler doesn't attempt to place jobs within the environment. Jobs in a <code>STARTING</code> or <code>RUNNING</code> state continue to progress normally. Managed compute environments in the <code>DISABLED</code> state don't scale out.</p><note> <p>Compute environments in a <code>DISABLED</code> state may continue to incur billing charges. To prevent additional charges, turn off and then delete the compute environment. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state">State</a> in the <i>Batch User Guide</i>.</p> </note> <p>When an instance is idle, the instance scales down to the <code>minvCpus</code> value. However, the instance size doesn't change. For example, consider a <code>c5.8xlarge</code> instance with a <code>minvCpus</code> value of <code>4</code> and a <code>desiredvCpus</code> value of <code>36</code>. This instance doesn't scale down to a <code>c5.large</code> instance.</p><br>
9-
/// - [`unmanagedv_cpus(i32)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::unmanagedv_cpus) / [`set_unmanagedv_cpus(Option<i32>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::set_unmanagedv_cpus):<br>required: **false**<br><p>The maximum number of vCPUs for an unmanaged compute environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new share identifiers. If this parameter isn't provided for a fair share job queue, no vCPU capacity is reserved.</p><note> <p>This parameter is only supported when the <code>type</code> parameter is set to <code>UNMANAGED</code>.</p> </note><br>
9+
/// - [`unmanagedv_cpus(i32)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::unmanagedv_cpus) / [`set_unmanagedv_cpus(Option<i32>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::set_unmanagedv_cpus):<br>required: **false**<br><p>The maximum number of vCPUs for an unmanaged compute environment. This parameter is only used for fair-share scheduling to reserve vCPU capacity for new share identifiers. If this parameter isn't provided for a fair-share job queue, no vCPU capacity is reserved.</p><note> <p>This parameter is only supported when the <code>type</code> parameter is set to <code>UNMANAGED</code>.</p> </note><br>
1010
/// - [`compute_resources(ComputeResource)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::compute_resources) / [`set_compute_resources(Option<ComputeResource>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::set_compute_resources):<br>required: **false**<br><p>Details about the compute resources managed by the compute environment. This parameter is required for managed compute environments. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html">Compute Environments</a> in the <i>Batch User Guide</i>.</p><br>
1111
/// - [`service_role(impl Into<String>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::service_role) / [`set_service_role(Option<String>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::set_service_role):<br>required: **false**<br><p>The full Amazon Resource Name (ARN) of the IAM role that allows Batch to make calls to other Amazon Web Services services on your behalf. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html">Batch service IAM role</a> in the <i>Batch User Guide</i>.</p><important> <p>If your account already created the Batch service-linked role, that role is used by default for your compute environment unless you specify a different role here. If the Batch service-linked role doesn't exist in your account, and no role is specified here, the service attempts to create the Batch service-linked role in your account.</p> </important> <p>If your specified role has a path other than <code>/</code>, then you must specify either the full role ARN (recommended) or prefix the role name with the path. For example, if a role with the name <code>bar</code> has a path of <code>/foo/</code>, specify <code>/foo/bar</code> as the role name. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names">Friendly names and paths</a> in the <i>IAM User Guide</i>.</p><note> <p>Depending on how you created your Batch service role, its ARN might contain the <code>service-role</code> path prefix. When you only specify the name of the service role, Batch assumes that your ARN doesn't use the <code>service-role</code> path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments.</p> </note><br>
1212
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::set_tags):<br>required: **false**<br><p>The tags that you apply to the compute environment to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a> in <i>Amazon Web Services General Reference</i>.</p> <p>These tags can be updated or removed using the <a href="https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html">TagResource</a> and <a href="https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html">UntagResource</a> API operations. These tags don't propagate to the underlying compute resources.</p><br>

0 commit comments

Comments
 (0)