Skip to content

Commit 8a4b3e4

Browse files
Update SDK models
1 parent cbe4cd9 commit 8a4b3e4

File tree

101 files changed

+1288
-341
lines changed

Some content is hidden

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

101 files changed

+1288
-341
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4+
"examples/lambda",
45
"examples/webassembly",
56
"examples/examples",
6-
"examples/lambda",
77
"examples/test-utils",
88
"examples/cross_service",
9-
"tests/no-default-features",
9+
"tests/telemetry",
1010
"tests/webassembly",
11-
"tests/telemetry"
11+
"tests/no-default-features"
1212
]
1313
members = [
1414
"sdk/accessanalyzer",

aws-models/ecs.json

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

aws-models/pcs.json

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

aws-models/sagemaker.json

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

examples/examples/ecs/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.8.6", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
11-
aws-sdk-ecs= { version = "1.95.0", path = "../../../sdk/ecs" }
11+
aws-sdk-ecs= { version = "1.95.1", path = "../../../sdk/ecs" }
1212

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

examples/examples/sagemaker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ publish = false
99
[dependencies]
1010
thiserror = "1.0"
1111
aws-config= { version = "1.8.6", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
12-
aws-sdk-sagemaker= { version = "1.155.0", path = "../../../sdk/sagemaker" }
12+
aws-sdk-sagemaker= { version = "1.156.0", path = "../../../sdk/sagemaker" }
1313
aws-smithy-types-convert= { version = "0.60.9", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] }
1414

1515
[dependencies.clap]

sdk/ecs/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-ecs"
4-
version = "1.95.0"
4+
version = "1.95.1"
55
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
66
description = "AWS SDK for Amazon EC2 Container Service"
77
edition = "2021"

sdk/ecs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ your project, add the following to your **Cargo.toml** file:
1818
```toml
1919
[dependencies]
2020
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
21-
aws-sdk-ecs = "1.95.0"
21+
aws-sdk-ecs = "1.95.1"
2222
tokio = { version = "1", features = ["full"] }
2323
```
2424

sdk/ecs/src/client/create_service.rs

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

sdk/ecs/src/client/update_service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ impl super::Client {
99
/// - [`task_definition(impl Into<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::task_definition) / [`set_task_definition(Option<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_task_definition):<br>required: **false**<br><p>The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or full ARN of the task definition to run in your service. If a <code>revision</code> is not specified, the latest <code>ACTIVE</code> revision is used. If you modify the task definition with <code>UpdateService</code>, Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running.</p> <p>This parameter triggers a new service deployment.</p><br>
1010
/// - [`capacity_provider_strategy(CapacityProviderStrategyItem)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::capacity_provider_strategy) / [`set_capacity_provider_strategy(Option<Vec::<CapacityProviderStrategyItem>>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_capacity_provider_strategy):<br>required: **false**<br><p>The details of a capacity provider strategy. You can set a capacity provider when you create a cluster, run a task, or update a service.</p> <p>When you use Fargate, the capacity providers are <code>FARGATE</code> or <code>FARGATE_SPOT</code>.</p> <p>When you use Amazon EC2, the capacity providers are Auto Scaling groups.</p> <p>You can change capacity providers for rolling deployments and blue/green deployments.</p> <p>The following list provides the valid transitions:</p> <ul> <li> <p>Update the Fargate launch type to an Auto Scaling group capacity provider.</p></li> <li> <p>Update the Amazon EC2 launch type to a Fargate capacity provider.</p></li> <li> <p>Update the Fargate capacity provider to an Auto Scaling group capacity provider.</p></li> <li> <p>Update the Amazon EC2 capacity provider to a Fargate capacity provider.</p></li> <li> <p>Update the Auto Scaling group or Fargate capacity provider back to the launch type.</p> <p>Pass an empty list in the <code>capacityProviderStrategy</code> parameter.</p></li> </ul> <p>For information about Amazon Web Services CDK considerations, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-parameters.html">Amazon Web Services CDK considerations</a>.</p> <p>This parameter doesn't trigger a new service deployment.</p><br>
1111
/// - [`deployment_configuration(DeploymentConfiguration)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::deployment_configuration) / [`set_deployment_configuration(Option<DeploymentConfiguration>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_deployment_configuration):<br>required: **false**<br><p>Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.</p> <p>This parameter doesn't trigger a new service deployment.</p><br>
12-
/// - [`availability_zone_rebalancing(AvailabilityZoneRebalancing)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::availability_zone_rebalancing) / [`set_availability_zone_rebalancing(Option<AvailabilityZoneRebalancing>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_availability_zone_rebalancing):<br>required: **false**<br><p>Indicates whether to use Availability Zone rebalancing for the service.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html">Balancing an Amazon ECS service across Availability Zones</a> in the <i> <i>Amazon Elastic Container Service Developer Guide</i> </i>.</p> <p>This parameter doesn't trigger a new service deployment.</p><br>
12+
/// - [`availability_zone_rebalancing(AvailabilityZoneRebalancing)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::availability_zone_rebalancing) / [`set_availability_zone_rebalancing(Option<AvailabilityZoneRebalancing>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_availability_zone_rebalancing):<br>required: **false**<br><p>Indicates whether to use Availability Zone rebalancing for the service.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html">Balancing an Amazon ECS service across Availability Zones</a> in the <i> <i>Amazon Elastic Container Service Developer Guide</i> </i>.</p> <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p> <ul> <li> <p>For create service requests, when when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to to <code>ENABLED</code>.</p></li> <li> <p>For update service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults to the existing service’s <code>AvailabilityZoneRebalancing</code> value. If the service never had an <code>AvailabilityZoneRebalancing</code> value set, Amazon ECS treats this as <code>DISABLED</code>.</p></li> </ul> <p>This parameter doesn't trigger a new service deployment.</p><br>
1313
/// - [`network_configuration(NetworkConfiguration)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::network_configuration) / [`set_network_configuration(Option<NetworkConfiguration>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_network_configuration):<br>required: **false**<br><p>An object representing the network configuration for the service.</p> <p>This parameter triggers a new service deployment.</p><br>
1414
/// - [`placement_constraints(PlacementConstraint)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::placement_constraints) / [`set_placement_constraints(Option<Vec::<PlacementConstraint>>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_placement_constraints):<br>required: **false**<br><p>An array of task placement constraint objects to update the service to use. If no value is specified, the existing placement constraints for the service will remain unchanged. If this value is specified, it will override any existing placement constraints defined for the service. To remove all existing placement constraints, specify an empty array.</p> <p>You can specify a maximum of 10 constraints for each task. This limit includes constraints in the task definition and those specified at runtime.</p> <p>This parameter doesn't trigger a new service deployment.</p><br>
1515
/// - [`placement_strategy(PlacementStrategy)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::placement_strategy) / [`set_placement_strategy(Option<Vec::<PlacementStrategy>>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_placement_strategy):<br>required: **false**<br><p>The task placement strategy objects to update the service to use. If no value is specified, the existing placement strategy for the service will remain unchanged. If this value is specified, it will override the existing placement strategy defined for the service. To remove an existing placement strategy, specify an empty object.</p> <p>You can specify a maximum of five strategy rules for each service.</p> <p>This parameter doesn't trigger a new service deployment.</p><br>

0 commit comments

Comments
 (0)