Skip to content

Commit

Permalink
Update SDK models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-rust-ci committed Jan 31, 2024
1 parent c5b5530 commit d39d389
Show file tree
Hide file tree
Showing 204 changed files with 18,760 additions and 478 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[workspace]
exclude = [
"examples/lambda",
"examples/test-utils",
"examples/examples",
"examples/webassembly",
"examples/lambda",
"examples/test-utils",
"examples/cross_service",
"tests/webassembly",
"tests/no-default-features"
"tests/no-default-features",
"tests/webassembly"
]
members = [
"sdk/accessanalyzer",
Expand Down
2,353 changes: 2,102 additions & 251 deletions aws-models/cloudformation.json

Large diffs are not rendered by default.

260 changes: 256 additions & 4 deletions aws-models/elastic-load-balancing-v2.json

Large diffs are not rendered by default.

30 changes: 24 additions & 6 deletions aws-models/glue.json
Original file line number Diff line number Diff line change
Expand Up @@ -17102,7 +17102,7 @@
}
},
"MaxResults": {
"target": "com.amazonaws.glue#PageSize",
"target": "com.amazonaws.glue#OrchestrationPageSize200",
"traits": {
"smithy.api#documentation": "<p>The maximum size of the response.</p>"
}
Expand Down Expand Up @@ -19646,7 +19646,7 @@
}
},
"MaxResults": {
"target": "com.amazonaws.glue#PageSize",
"target": "com.amazonaws.glue#OrchestrationPageSize200",
"traits": {
"smithy.api#documentation": "<p>The maximum size of the response.</p>"
}
Expand Down Expand Up @@ -22089,7 +22089,7 @@
"Runtime": {
"target": "com.amazonaws.glue#RuntimeNameString",
"traits": {
"smithy.api#documentation": "<p>In Ray jobs, Runtime is used to specify the versions of Ray, Python and additional\n libraries available in your environment. This field is not used in other job types. For\n supported runtime environment values, see <a href=\"https://docs.aws.amazon.com/glue/latest/dg/author-job-ray-runtimes.html\">Working with Ray jobs</a>\n in the Glue Developer Guide.</p>"
"smithy.api#documentation": "<p>In Ray jobs, Runtime is used to specify the versions of Ray, Python and additional\n libraries available in your environment. This field is not used in other job types. For\n supported runtime environment values, see <a href=\"https://docs.aws.amazon.com/glue/latest/dg/ray-jobs-section.html\">Supported Ray runtime environments</a>\n in the Glue Developer Guide.</p>"
}
}
},
Expand Down Expand Up @@ -23188,7 +23188,7 @@
}
},
"MaxResults": {
"target": "com.amazonaws.glue#PageSize",
"target": "com.amazonaws.glue#OrchestrationPageSize25",
"traits": {
"smithy.api#documentation": "<p>The maximum size of a list to return.</p>"
}
Expand Down Expand Up @@ -24616,7 +24616,7 @@
}
},
"MaxResults": {
"target": "com.amazonaws.glue#PageSize",
"target": "com.amazonaws.glue#OrchestrationPageSize200",
"traits": {
"smithy.api#documentation": "<p>The maximum size of a list to return.</p>"
}
Expand Down Expand Up @@ -24690,7 +24690,7 @@
}
},
"MaxResults": {
"target": "com.amazonaws.glue#PageSize",
"target": "com.amazonaws.glue#OrchestrationPageSize25",
"traits": {
"smithy.api#documentation": "<p>The maximum size of a list to return.</p>"
}
Expand Down Expand Up @@ -25996,6 +25996,24 @@
"smithy.api#pattern": "^[\\.\\-_A-Za-z0-9]+$"
}
},
"com.amazonaws.glue#OrchestrationPageSize200": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 200
}
}
},
"com.amazonaws.glue#OrchestrationPageSize25": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 25
}
}
},
"com.amazonaws.glue#OrchestrationRoleArn": {
"type": "string",
"traits": {
Expand Down
1 change: 1 addition & 0 deletions aws-models/sdk-endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -16869,6 +16869,7 @@
"deprecated" : true,
"hostname" : "sms-voice-fips.us-west-2.amazonaws.com"
},
"il-central-1" : { },
"us-east-1" : {
"variants" : [ {
"hostname" : "sms-voice-fips.us-east-1.amazonaws.com",
Expand Down
69 changes: 57 additions & 12 deletions aws-models/ssm.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/examples/cloudformation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false

[dependencies]
aws-config= { version = "1.1.4", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-cloudformation= { version = "1.13.0", path = "../../../sdk/cloudformation" }
aws-sdk-cloudformation= { version = "1.14.0", path = "../../../sdk/cloudformation" }

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/glue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ secrecy = "0.8.0"
futures = "0.3.25"
tracing-bunyan-formatter = "0.3.4"
aws-config= { version = "1.1.4", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-glue= { version = "1.14.0", path = "../../../sdk/glue" }
aws-sdk-glue= { version = "1.15.0", path = "../../../sdk/glue" }
aws-sdk-s3= { version = "1.14.0", path = "../../../sdk/s3" }
aws-http= { version = "0.60.5", path = "../../../sdk/aws-http" }
aws-smithy-types= { version = "1.1.4", path = "../../../sdk/aws-smithy-types" }
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/ssm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false

[dependencies]
aws-config= { version = "1.1.4", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-ssm= { version = "1.12.0", path = "../../../sdk/ssm" }
aws-sdk-ssm= { version = "1.13.0", path = "../../../sdk/ssm" }

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion sdk/cloudformation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-cloudformation"
version = "1.13.0"
version = "1.14.0"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
description = "AWS SDK for AWS CloudFormation"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion sdk/cloudformation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.4", features = ["behavior-version-latest"] }
aws-sdk-cloudformation = "1.13.0"
aws-sdk-cloudformation = "1.14.0"
tokio = { version = "1", features = ["full"] }
```

Expand Down
22 changes: 22 additions & 0 deletions sdk/cloudformation/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ mod continue_update_rollback;

mod create_change_set;

mod create_generated_template;

mod create_stack;

mod create_stack_instances;
Expand Down Expand Up @@ -187,6 +189,8 @@ mod deactivate_type;

mod delete_change_set;

mod delete_generated_template;

mod delete_stack;

mod delete_stack_instances;
Expand All @@ -201,10 +205,14 @@ mod describe_change_set;

mod describe_change_set_hooks;

mod describe_generated_template;

mod describe_organizations_access;

mod describe_publisher;

mod describe_resource_scan;

mod describe_stack_drift_detection_status;

mod describe_stack_events;
Expand Down Expand Up @@ -237,6 +245,8 @@ mod estimate_template_cost;

mod execute_change_set;

mod get_generated_template;

mod get_stack_policy;

mod get_template;
Expand All @@ -249,8 +259,16 @@ mod list_change_sets;

mod list_exports;

mod list_generated_templates;

mod list_imports;

mod list_resource_scan_related_resources;

mod list_resource_scan_resources;

mod list_resource_scans;

mod list_stack_instance_resource_drifts;

mod list_stack_instances;
Expand Down Expand Up @@ -289,10 +307,14 @@ mod set_type_default_version;

mod signal_resource;

mod start_resource_scan;

mod stop_stack_set_operation;

mod test_type;

mod update_generated_template;

mod update_stack;

mod update_stack_instances;
Expand Down
16 changes: 16 additions & 0 deletions sdk/cloudformation/src/client/create_generated_template.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateGeneratedTemplate`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`resources(ResourceDefinition)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::resources) / [`set_resources(Option<Vec::<ResourceDefinition>>)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::set_resources):<br>required: **false**<br><p>An optional list of resources to be included in the generated template.</p> <p>If no resources are specified,the template will be created without any resources. Resources can be added to the template using the <code>UpdateGeneratedTemplate</code> API action.</p><br>
/// - [`generated_template_name(impl Into<String>)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::generated_template_name) / [`set_generated_template_name(Option<String>)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::set_generated_template_name):<br>required: **true**<br><p>The name assigned to the generated template.</p><br>
/// - [`stack_name(impl Into<String>)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::stack_name) / [`set_stack_name(Option<String>)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::set_stack_name):<br>required: **false**<br><p>An optional name or ARN of a stack to use as the base stack for the generated template.</p><br>
/// - [`template_configuration(TemplateConfiguration)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::template_configuration) / [`set_template_configuration(Option<TemplateConfiguration>)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::set_template_configuration):<br>required: **false**<br><p>The configuration details of the generated template, including the <code>DeletionPolicy</code> and <code>UpdateReplacePolicy</code>.</p><br>
/// - On success, responds with [`CreateGeneratedTemplateOutput`](crate::operation::create_generated_template::CreateGeneratedTemplateOutput) with field(s):
/// - [`generated_template_id(Option<String>)`](crate::operation::create_generated_template::CreateGeneratedTemplateOutput::generated_template_id): <p>The ID of the generated template.</p>
/// - On failure, responds with [`SdkError<CreateGeneratedTemplateError>`](crate::operation::create_generated_template::CreateGeneratedTemplateError)
pub fn create_generated_template(&self) -> crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder {
crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::new(self.handle.clone())
}
}
2 changes: 1 addition & 1 deletion sdk/cloudformation/src/client/create_stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ impl super::Client {
/// - [`parameters(Parameter)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::parameters) / [`set_parameters(Option<Vec::<Parameter>>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_parameters):<br>required: **false**<br><p>A list of <code>Parameter</code> structures that specify input parameters for the stack. For more information, see the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html">Parameter</a> data type.</p><br>
/// - [`disable_rollback(bool)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::disable_rollback) / [`set_disable_rollback(Option<bool>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_disable_rollback):<br>required: **false**<br><p>Set to <code>true</code> to disable rollback of the stack if stack creation failed. You can specify either <code>DisableRollback</code> or <code>OnFailure</code>, but not both.</p> <p>Default: <code>false</code></p><br>
/// - [`rollback_configuration(RollbackConfiguration)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::rollback_configuration) / [`set_rollback_configuration(Option<RollbackConfiguration>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_rollback_configuration):<br>required: **false**<br><p>The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.</p><br>
/// - [`timeout_in_minutes(i32)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::timeout_in_minutes) / [`set_timeout_in_minutes(Option<i32>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_timeout_in_minutes):<br>required: **false**<br><p>The amount of time that can pass before the stack status becomes CREATE_FAILED; if <code>DisableRollback</code> is not set or is set to <code>false</code>, the stack will be rolled back.</p><br>
/// - [`timeout_in_minutes(i32)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::timeout_in_minutes) / [`set_timeout_in_minutes(Option<i32>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_timeout_in_minutes):<br>required: **false**<br><p>The amount of time that can pass before the stack status becomes <code>CREATE_FAILED</code>; if <code>DisableRollback</code> is not set or is set to <code>false</code>, the stack will be rolled back.</p><br>
/// - [`notification_arns(impl Into<String>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::notification_arns) / [`set_notification_arns(Option<Vec::<String>>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_notification_arns):<br>required: **false**<br><p>The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).</p><br>
/// - [`capabilities(Capability)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::capabilities) / [`set_capabilities(Option<Vec::<Capability>>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_capabilities):<br>required: **false**<br><p>In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack.</p> <ul> <li> <p><code>CAPABILITY_IAM</code> and <code>CAPABILITY_NAMED_IAM</code></p> <p>Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.</p> <p>The following IAM resources require you to specify either the <code>CAPABILITY_IAM</code> or <code>CAPABILITY_NAMED_IAM</code> capability.</p> <ul> <li> <p>If you have IAM resources, you can specify either capability.</p></li> <li> <p>If you have IAM resources with custom names, you <i>must</i> specify <code>CAPABILITY_NAMED_IAM</code>.</p></li> <li> <p>If you don't specify either of these capabilities, CloudFormation returns an <code>InsufficientCapabilities</code> error.</p></li> </ul> <p>If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.</p> <ul> <li> <p><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html"> AWS::IAM::AccessKey</a></p></li> <li> <p><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html"> AWS::IAM::Group</a></p></li> <li> <p><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html">AWS::IAM::InstanceProfile</a></p></li> <li> <p><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html"> AWS::IAM::Policy</a></p></li> <li> <p><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html"> AWS::IAM::Role</a></p></li> <li> <p><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html"> AWS::IAM::User</a></p></li> <li> <p><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html">AWS::IAM::UserToGroupAddition</a></p></li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities">Acknowledging IAM Resources in CloudFormation Templates</a>.</p></li> <li> <p><code>CAPABILITY_AUTO_EXPAND</code></p> <p>Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html">AWS::Include</a> and <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html">AWS::Serverless</a> transforms, which are macros hosted by CloudFormation.</p> <p>If you want to create a stack from a stack template that contains macros <i>and</i> nested stacks, you must create the stack directly from the template using this capability.</p><important> <p>You should only create stacks directly from a stack template that contains macros if you know what processing the macro performs.</p> <p>Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified.</p> </important> <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html">Using CloudFormation macros to perform custom processing on templates</a>.</p></li> </ul><note> <p>Only one of the <code>Capabilities</code> and <code>ResourceType</code> parameters can be specified.</p> </note><br>
/// - [`resource_types(impl Into<String>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::resource_types) / [`set_resource_types(Option<Vec::<String>>)`](crate::operation::create_stack::builders::CreateStackFluentBuilder::set_resource_types):<br>required: **false**<br><p>The template resource types that you have permissions to work with for this create stack action, such as <code>AWS::EC2::Instance</code>, <code>AWS::EC2::*</code>, or <code>Custom::MyCustomInstance</code>. Use the following syntax to describe template resource types: <code>AWS::*</code> (for all Amazon Web Services resources), <code>Custom::*</code> (for all custom resources), <code>Custom::<i>logical_ID</i> </code> (for a specific custom resource), <code>AWS::<i>service_name</i>::*</code> (for all resources of a particular Amazon Web Services service), and <code>AWS::<i>service_name</i>::<i>resource_logical_ID</i> </code> (for a specific Amazon Web Services resource).</p> <p>If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html">Controlling Access with Identity and Access Management</a>.</p><note> <p>Only one of the <code>Capabilities</code> and <code>ResourceType</code> parameters can be specified.</p> </note><br>
Expand Down
Loading

0 comments on commit d39d389

Please sign in to comment.