Skip to content

Commit ef3fb79

Browse files
Update SDK models
1 parent dc08803 commit ef3fb79

Some content is hidden

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

41 files changed

+781
-158
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4+
"tests/telemetry",
45
"tests/no-default-features",
5-
"tests/webassembly",
6-
"tests/telemetry"
6+
"tests/webassembly"
77
]
88
members = [
99
"sdk/accessanalyzer",

aws-models/batch.json

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

aws-models/eks.json

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8899,12 +8899,80 @@
88998899
"traits": {
89008900
"smithy.api#documentation": "<p>Specifies whether to enable node auto repair for the node group. Node auto repair is\n disabled by default.</p>"
89018901
}
8902+
},
8903+
"maxUnhealthyNodeThresholdCount": {
8904+
"target": "com.amazonaws.eks#NonZeroInteger",
8905+
"traits": {
8906+
"smithy.api#documentation": "<p>Specify a count threshold of unhealthy nodes, above which node auto \n repair actions will stop. When using this, you cannot also set \n <code>maxUnhealthyNodeThresholdPercentage</code> at the same time.</p>"
8907+
}
8908+
},
8909+
"maxUnhealthyNodeThresholdPercentage": {
8910+
"target": "com.amazonaws.eks#PercentCapacity",
8911+
"traits": {
8912+
"smithy.api#documentation": "<p>Specify a percentage threshold of unhealthy nodes, above which node auto \n repair actions will stop. When using this, you cannot also set \n <code>maxUnhealthyNodeThresholdCount</code> at the same time.</p>"
8913+
}
8914+
},
8915+
"maxParallelNodesRepairedCount": {
8916+
"target": "com.amazonaws.eks#NonZeroInteger",
8917+
"traits": {
8918+
"smithy.api#documentation": "<p>Specify the maximum number of nodes that can be repaired concurrently or in parallel, \n expressed as a count of unhealthy nodes. This gives you finer-grained control over the \n pace of node replacements. When using this, you cannot also set \n <code>maxParallelNodesRepairedPercentage</code> at the same time.</p>"
8919+
}
8920+
},
8921+
"maxParallelNodesRepairedPercentage": {
8922+
"target": "com.amazonaws.eks#PercentCapacity",
8923+
"traits": {
8924+
"smithy.api#documentation": "<p>Specify the maximum number of nodes that can be repaired concurrently or in parallel, \n expressed as a percentage of unhealthy nodes. This gives you finer-grained control over the \n pace of node replacements. When using this, you cannot also set \n <code>maxParallelNodesRepairedCount</code> at the same time.</p>"
8925+
}
8926+
},
8927+
"nodeRepairConfigOverrides": {
8928+
"target": "com.amazonaws.eks#NodeRepairConfigOverridesList",
8929+
"traits": {
8930+
"smithy.api#documentation": "<p>Specify granular overrides for specific repair actions. These overrides control the \n repair action and the repair delay time before a node is considered eligible for repair.\n If you use this, you must specify all the values.</p>"
8931+
}
89028932
}
89038933
},
89048934
"traits": {
89058935
"smithy.api#documentation": "<p>The node auto repair configuration for the node group.</p>"
89068936
}
89078937
},
8938+
"com.amazonaws.eks#NodeRepairConfigOverrides": {
8939+
"type": "structure",
8940+
"members": {
8941+
"nodeMonitoringCondition": {
8942+
"target": "com.amazonaws.eks#String",
8943+
"traits": {
8944+
"smithy.api#documentation": "<p>Specify an unhealthy condition reported by the node monitoring agent that this\n override would apply to.</p>"
8945+
}
8946+
},
8947+
"nodeUnhealthyReason": {
8948+
"target": "com.amazonaws.eks#String",
8949+
"traits": {
8950+
"smithy.api#documentation": "<p>Specify a reason reported by the node monitoring agent that this\n override would apply to.</p>"
8951+
}
8952+
},
8953+
"minRepairWaitTimeMins": {
8954+
"target": "com.amazonaws.eks#NonZeroInteger",
8955+
"traits": {
8956+
"smithy.api#documentation": "<p>Specify the minimum time in minutes to wait before attempting to repair a node \n with this specific <code>nodeMonitoringCondition</code> and\n <code>nodeUnhealthyReason</code>.</p>"
8957+
}
8958+
},
8959+
"repairAction": {
8960+
"target": "com.amazonaws.eks#RepairAction",
8961+
"traits": {
8962+
"smithy.api#documentation": "<p>Specify the repair action to take for nodes when all of the specified conditions are\n met.</p>"
8963+
}
8964+
}
8965+
},
8966+
"traits": {
8967+
"smithy.api#documentation": "<p>Specify granular overrides for specific repair actions. These overrides control the \n repair action and the repair delay time before a node is considered eligible for repair.\n If you use this, you must specify all the values.</p>"
8968+
}
8969+
},
8970+
"com.amazonaws.eks#NodeRepairConfigOverridesList": {
8971+
"type": "list",
8972+
"member": {
8973+
"target": "com.amazonaws.eks#NodeRepairConfigOverrides"
8974+
}
8975+
},
89088976
"com.amazonaws.eks#Nodegroup": {
89098977
"type": "structure",
89108978
"members": {
@@ -10021,6 +10089,29 @@
1002110089
}
1002210090
}
1002310091
},
10092+
"com.amazonaws.eks#RepairAction": {
10093+
"type": "enum",
10094+
"members": {
10095+
"Replace": {
10096+
"target": "smithy.api#Unit",
10097+
"traits": {
10098+
"smithy.api#enumValue": "Replace"
10099+
}
10100+
},
10101+
"Reboot": {
10102+
"target": "smithy.api#Unit",
10103+
"traits": {
10104+
"smithy.api#enumValue": "Reboot"
10105+
}
10106+
},
10107+
"NoAction": {
10108+
"target": "smithy.api#Unit",
10109+
"traits": {
10110+
"smithy.api#enumValue": "NoAction"
10111+
}
10112+
}
10113+
}
10114+
},
1002410115
"com.amazonaws.eks#ResolveConflicts": {
1002510116
"type": "enum",
1002610117
"members": {
@@ -11654,6 +11745,12 @@
1165411745
"traits": {
1165511746
"smithy.api#enumValue": "DeletionProtection"
1165611747
}
11748+
},
11749+
"NODE_REPAIR_CONFIG": {
11750+
"target": "smithy.api#Unit",
11751+
"traits": {
11752+
"smithy.api#enumValue": "NodeRepairConfig"
11753+
}
1165711754
}
1165811755
}
1165911756
},

aws-models/imagebuilder.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8414,8 +8414,7 @@
84148414
"componentVersionArn": {
84158415
"target": "com.amazonaws.imagebuilder#ComponentVersionArn",
84168416
"traits": {
8417-
"smithy.api#documentation": "<p>The component version Amazon Resource Name (ARN) whose versions you want to\n\t\t\tlist.</p>",
8418-
"smithy.api#required": {}
8417+
"smithy.api#documentation": "<p>The component version Amazon Resource Name (ARN) whose versions you want to\n\t\t\tlist.</p>"
84198418
}
84208419
},
84218420
"maxResults": {
@@ -8826,8 +8825,7 @@
88268825
"imageVersionArn": {
88278826
"target": "com.amazonaws.imagebuilder#ImageVersionArn",
88288827
"traits": {
8829-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the image whose build versions you want to\n\t\t\tretrieve.</p>",
8830-
"smithy.api#required": {}
8828+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the image whose build versions you want to\n\t\t\tretrieve.</p>"
88318829
}
88328830
},
88338831
"filters": {
@@ -10190,8 +10188,7 @@
1019010188
"workflowVersionArn": {
1019110189
"target": "com.amazonaws.imagebuilder#WorkflowWildcardVersionArn",
1019210190
"traits": {
10193-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the workflow resource for which to get a list of build versions.</p>",
10194-
"smithy.api#required": {}
10191+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the workflow resource for which to get a list of build versions.</p>"
1019510192
}
1019610193
},
1019710194
"maxResults": {

aws-models/sdk-endpoints.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17890,6 +17890,7 @@
1789017890
},
1789117891
"hostname" : "oidc.ap-southeast-5.amazonaws.com"
1789217892
},
17893+
"ap-southeast-7" : { },
1789317894
"ca-central-1" : {
1789417895
"credentialScope" : {
1789517896
"region" : "ca-central-1"
@@ -17968,6 +17969,7 @@
1796817969
},
1796917970
"hostname" : "oidc.me-south-1.amazonaws.com"
1797017971
},
17972+
"mx-central-1" : { },
1797117973
"sa-east-1" : {
1797217974
"credentialScope" : {
1797317975
"region" : "sa-east-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.95.0"
4+
version = "1.95.1"
55
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
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.95.0"
19+
aws-sdk-batch = "1.95.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
@@ -10,7 +10,7 @@ impl super::Client {
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>
13-
/// - [`eks_configuration(EksConfiguration)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::eks_configuration) / [`set_eks_configuration(Option<EksConfiguration>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::set_eks_configuration):<br>required: **false**<br><p>The details for the Amazon EKS cluster that supports the compute environment.</p><br>
13+
/// - [`eks_configuration(EksConfiguration)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::eks_configuration) / [`set_eks_configuration(Option<EksConfiguration>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::set_eks_configuration):<br>required: **false**<br><p>The details for the Amazon EKS cluster that supports the compute environment.</p><note> <p>To create a compute environment that uses EKS resources, the caller must have permissions to call <code>eks:DescribeCluster</code>.</p> </note><br>
1414
/// - [`context(impl Into<String>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::context) / [`set_context(Option<String>)`](crate::operation::create_compute_environment::builders::CreateComputeEnvironmentFluentBuilder::set_context):<br>required: **false**<br><p>Reserved.</p><br>
1515
/// - On success, responds with [`CreateComputeEnvironmentOutput`](crate::operation::create_compute_environment::CreateComputeEnvironmentOutput) with field(s):
1616
/// - [`compute_environment_name(Option<String>)`](crate::operation::create_compute_environment::CreateComputeEnvironmentOutput::compute_environment_name): <p>The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).</p>

sdk/batch/src/client/submit_service_job.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ impl super::Client {
99
/// - [`scheduling_priority(i32)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::scheduling_priority) / [`set_scheduling_priority(Option<i32>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::set_scheduling_priority):<br>required: **false**<br><p>The scheduling priority of the service job. Valid values are integers between 0 and 9999.</p><br>
1010
/// - [`service_request_payload(impl Into<String>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::service_request_payload) / [`set_service_request_payload(Option<String>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::set_service_request_payload):<br>required: **true**<br><p>The request, in JSON, for the service that the SubmitServiceJob operation is queueing.</p><br>
1111
/// - [`service_job_type(ServiceJobType)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::service_job_type) / [`set_service_job_type(Option<ServiceJobType>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::set_service_job_type):<br>required: **true**<br><p>The type of service job. For SageMaker Training jobs, specify <code>SAGEMAKER_TRAINING</code>.</p><br>
12-
/// - [`share_identifier(impl Into<String>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::share_identifier) / [`set_share_identifier(Option<String>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::set_share_identifier):<br>required: **false**<br><p>The share identifier for the service job. Don't specify this parameter if the job queue doesn't have a fair- share scheduling policy. If the job queue has a fair-share scheduling policy, then this parameter must be specified.</p><br>
12+
/// - [`share_identifier(impl Into<String>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::share_identifier) / [`set_share_identifier(Option<String>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::set_share_identifier):<br>required: **false**<br><p>The share identifier for the service job. Don't specify this parameter if the job queue doesn't have a fair-share scheduling policy. If the job queue has a fair-share scheduling policy, then this parameter must be specified.</p><br>
1313
/// - [`timeout_config(ServiceJobTimeout)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::timeout_config) / [`set_timeout_config(Option<ServiceJobTimeout>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::set_timeout_config):<br>required: **false**<br><p>The timeout configuration for the service job. If none is specified, Batch defers to the default timeout of the underlying service handling the job.</p><br>
1414
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::set_tags):<br>required: **false**<br><p>The tags that you apply to the service job request. Each tag consists of a key and an optional value. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html">Tagging your Batch resources</a>.</p><br>
1515
/// - [`client_token(impl Into<String>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::submit_service_job::builders::SubmitServiceJobFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique identifier for the request. This token is used to ensure idempotency of requests. If this parameter is specified and two submit requests with identical payloads and <code>clientToken</code>s are received, these requests are considered the same request and the second request is rejected.</p><br>

sdk/batch/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
//! ```toml
3535
//! [dependencies]
3636
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
37-
//! aws-sdk-batch = "1.95.0"
37+
//! aws-sdk-batch = "1.95.1"
3838
//! tokio = { version = "1", features = ["full"] }
3939
//! ```
4040
//!

0 commit comments

Comments
 (0)