Skip to content

Commit dab3b0a

Browse files
authored
Import release from smithy-rs v0.21 (#200)
* Import release from smithy-rs v0.21 * Update services supported * Update README
1 parent 1bbc4d6 commit dab3b0a

File tree

891 files changed

+125184
-31598
lines changed

Some content is hidden

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

891 files changed

+125184
-31598
lines changed

AWS_SERVICES_SUPPORTED.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ These services have not yet been manually tested by the SDK team and may not hav
7070
- [x] Amazon Budgets
7171
- [x] Amazon Ce
7272
- [x] Amazon Chime
73+
- [x] Amazon Chime Identity
74+
- [x] Amazon Chime Messaging
7375
- [x] Amazon Cloud9
7476
- [x] Amazon Cloud Directory
7577
- [x] Amazon Cloud Front
@@ -221,6 +223,7 @@ These services have not yet been manually tested by the SDK team and may not hav
221223
- [x] Amazon Signer
222224
- [x] Amazon SMS
223225
- [x] Amazon Sms-Voice
226+
- [x] Amazon Snow Device Management
224227
- [x] Amazon SSO
225228
- [x] Amazon Sso-Admin
226229
- [x] Amazon Sso-Oidc

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# The AWS SDK for Rust [![Docs](https://img.shields.io/badge/docs-v0.0.15--alpha-blue)](https://awslabs.github.io/aws-sdk-rust/) ![MSRV](https://img.shields.io/badge/msrv-1.52.1-red)
1+
# The AWS SDK for Rust [![Docs](https://img.shields.io/badge/docs-v0.0.16--alpha-blue)](https://awslabs.github.io/aws-sdk-rust/) ![MSRV](https://img.shields.io/badge/msrv-1.52.1-red)
22

33
This repo contains the new AWS SDK for Rust (the SDK) and its [public roadmap](https://github.com/awslabs/aws-sdk-rust/projects/1)
44

@@ -15,7 +15,7 @@ The SDK provides one crate per AWS service. You must add [Tokio](https://crates.
1515

1616
```toml
1717
[dependencies]
18-
aws-sdk-dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.15-alpha", package = "aws-sdk-dynamodb" }
18+
aws-sdk-dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.16-alpha", package = "aws-sdk-dynamodb" }
1919
tokio = { version = "1", features = ["full"] }
2020
```
2121
3. Provide your AWS credentials as environment variables:

sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[workspace]
22
members = [
3-
"migrationhub","accessanalyzer","acmpca","acm","alexaforbusiness","amp","amplify","amplifybackend","apigateway","apigatewaymanagement","apigatewayv2","appconfig","appflow","appintegrations","applicationautoscaling","applicationinsights","applicationcostprofiler","appmesh","apprunner","appstream","appsync","athena","auditmanager","autoscalingplans","autoscaling","backup","batch","braket","budgets","costexplorer","chime","cloud9","clouddirectory","cloudformation","cloudfront","cloudhsm","cloudhsmv2","cloudsearch","cloudsearchdomain","cloudtrail","codeartifact","codebuild","codecommit","codedeploy","codegurureviewer","codeguruprofiler","codepipeline","codestarconnections","codestarnotifications","codestar","cognitoidentity","cognitoidentityprovider","cognitosync","comprehend","comprehendmedical","computeoptimizer","config","connectcontactlens","connect","connectparticipant","costandusagereport","customerprofiles","databrew","dataexchange","datapipeline","datasync","dax","detective","devicefarm","devopsguru","directconnect","applicationdiscovery","dlm","databasemigration","docdb","directory","dynamodb","ebs","ec2instanceconnect","ec2","ecrpublic","ecr","ecs","eks","elasticinference","elasticache","elasticbeanstalk","efs","elasticloadbalancing","elasticloadbalancingv2","emr","elastictranscoder","ses","emrcontainers","marketplaceentitlement","elasticsearch","eventbridge","cloudwatchevents","finspacedata","finspace","firehose","fis","fms","forecast","forecastquery","frauddetector","fsx","gamelift","globalaccelerator","glue","greengrass","greengrassv2","groundstation","guardduty","health","healthlake","honeycode","iam","identitystore","imagebuilder","inspector","iotdataplane","iotjobsdataplane","iot","iot1clickdevices","iot1clickprojects","iotanalytics","iotdeviceadvisor","ioteventsdata","iotevents","iotfleethub","iotsecuretunneling","iotsitewise","iotthingsgraph","iotwireless","ivs","kafka","kendra","kinesisvideoarchivedmedia","kinesisvideomedia","kinesisvideosignaling","kinesis","kinesisanalytics","kinesisanalyticsv2","kinesisvideo","kms","lakeformation","lambda","lexmodelbuilding","licensemanager","lightsail","location","cloudwatchlogs","lookoutequipment","lookoutmetrics","lookoutvision","machinelearning","macie","macie2","managedblockchain","marketplacecatalog","marketplacecommerceanalytics","mediaconnect","mediaconvert","medialive","mediapackagevod","mediapackage","mediastoredata","mediastore","mediatailor","marketplacemetering","mgn","migrationhubconfig","mobile","lexmodelsv2","cloudwatch","mq","mturk","mwaa","neptune","networkfirewall","networkmanager","nimble","opsworks","opsworkscm","organizations","outposts","personalizeevents","personalizeruntime","personalize","pi","pinpointemail","pinpoint","polly","pricing","proton","qldbsession","qldb","quicksight","ram","rdsdata","rds","redshiftdata","redshift","rekognition","resourcegroups","resourcegroupstagging","robomaker","route53recoverycluster","route53recoverycontrolconfig","route53recoveryreadiness","route53","route53domains","route53resolver","lexruntime","lexruntimev2","sagemakerruntime","s3","s3control","s3outposts","sagemakera2iruntime","sagemakeredge","sagemakerfeaturestoreruntime","sagemaker","savingsplans","schemas","secretsmanager","securityhub","serverlessapplicationrepository","servicequotas","servicecatalogappregistry","servicecatalog","servicediscovery","sesv2","shield","signer","pinpointsmsvoice","sms","snowball","sns","sqs","ssmcontacts","ssmincidents","ssm","ssoadmin","ssooidc","sso","sfn","storagegateway","dynamodbstreams","sts","support","swf","synthetics","textract","transcribe","transfer","translate","wafregional","waf","wafv2","wellarchitected","workdocs","worklink","workmail","workmailmessageflow","workspaces","xray","protocol-test-helpers","smithy-async","smithy-client","smithy-eventstream","smithy-http","smithy-http-tower","smithy-json","smithy-query","smithy-types","smithy-xml","aws-auth","aws-auth-providers","aws-endpoint","aws-http","aws-hyper","aws-sig-auth","aws-types","examples/mediapackage","examples/cloudwatch","examples/lambda","examples/autoscalingplans","examples/kms","examples/cognitosync","examples/snowball","examples/applicationautoscaling","examples/eks","examples/route53","examples/sqs","examples/ses","examples/autoscaling","examples/ecr","examples/sts","examples/qldb","examples/rds","examples/sagemaker","examples/rdsdata","examples/s3","examples/cloudwatchlogs","examples/ec2","examples/cloudformation","examples/cognitoidentity","examples/iam","examples/cognitoidentityprovider","examples/polly","examples/sns","examples/ssm","examples/medialive","examples/config","examples/ecs","examples/secretsmanager","examples/ebs","examples/batch","examples/kinesis"
3+
"migrationhub","accessanalyzer","acmpca","acm","alexaforbusiness","amp","amplify","amplifybackend","apigateway","apigatewaymanagement","apigatewayv2","appconfig","appflow","appintegrations","applicationautoscaling","applicationinsights","applicationcostprofiler","appmesh","apprunner","appstream","appsync","athena","auditmanager","autoscalingplans","autoscaling","backup","batch","braket","budgets","costexplorer","chimesdkidentity","chimesdkmessaging","chime","cloud9","clouddirectory","cloudformation","cloudfront","cloudhsm","cloudhsmv2","cloudsearch","cloudsearchdomain","cloudtrail","codeartifact","codebuild","codecommit","codedeploy","codegurureviewer","codeguruprofiler","codepipeline","codestarconnections","codestarnotifications","codestar","cognitoidentity","cognitoidentityprovider","cognitosync","comprehend","comprehendmedical","computeoptimizer","config","connectcontactlens","connect","connectparticipant","costandusagereport","customerprofiles","databrew","dataexchange","datapipeline","datasync","dax","detective","devicefarm","devopsguru","directconnect","applicationdiscovery","dlm","databasemigration","docdb","directory","dynamodb","ebs","ec2instanceconnect","ec2","ecrpublic","ecr","ecs","eks","elasticinference","elasticache","elasticbeanstalk","efs","elasticloadbalancing","elasticloadbalancingv2","emr","elastictranscoder","ses","emrcontainers","marketplaceentitlement","elasticsearch","eventbridge","cloudwatchevents","finspacedata","finspace","firehose","fis","fms","forecast","forecastquery","frauddetector","fsx","gamelift","globalaccelerator","glue","greengrass","greengrassv2","groundstation","guardduty","health","healthlake","honeycode","iam","identitystore","imagebuilder","inspector","iotdataplane","iotjobsdataplane","iot","iot1clickdevices","iot1clickprojects","iotanalytics","iotdeviceadvisor","ioteventsdata","iotevents","iotfleethub","iotsecuretunneling","iotsitewise","iotthingsgraph","iotwireless","ivs","kafka","kendra","kinesisvideoarchivedmedia","kinesisvideomedia","kinesisvideosignaling","kinesis","kinesisanalytics","kinesisanalyticsv2","kinesisvideo","kms","lakeformation","lambda","lexmodelbuilding","licensemanager","lightsail","location","cloudwatchlogs","lookoutequipment","lookoutmetrics","lookoutvision","machinelearning","macie","macie2","managedblockchain","marketplacecatalog","marketplacecommerceanalytics","mediaconnect","mediaconvert","medialive","mediapackagevod","mediapackage","mediastoredata","mediastore","mediatailor","marketplacemetering","mgn","migrationhubconfig","mobile","lexmodelsv2","cloudwatch","mq","mturk","mwaa","neptune","networkfirewall","networkmanager","nimble","opsworks","opsworkscm","organizations","outposts","personalizeevents","personalizeruntime","personalize","pi","pinpointemail","pinpoint","polly","pricing","proton","qldbsession","qldb","quicksight","ram","rdsdata","rds","redshiftdata","redshift","rekognition","resourcegroups","resourcegroupstagging","robomaker","route53recoverycluster","route53recoverycontrolconfig","route53recoveryreadiness","route53","route53domains","route53resolver","lexruntime","lexruntimev2","sagemakerruntime","s3","s3control","s3outposts","sagemakera2iruntime","sagemakeredge","sagemakerfeaturestoreruntime","sagemaker","savingsplans","schemas","secretsmanager","securityhub","serverlessapplicationrepository","servicequotas","servicecatalogappregistry","servicecatalog","servicediscovery","sesv2","shield","signer","pinpointsmsvoice","sms","snowdevicemanagement","snowball","sns","sqs","ssmcontacts","ssmincidents","ssm","ssoadmin","ssooidc","sso","sfn","storagegateway","dynamodbstreams","sts","support","swf","synthetics","textract","transcribe","transfer","translate","wafregional","waf","wafv2","wellarchitected","workdocs","worklink","workmail","workmailmessageflow","workspaces","xray","protocol-test-helpers","smithy-async","smithy-client","smithy-eventstream","smithy-http","smithy-http-tower","smithy-json","smithy-query","smithy-types","smithy-xml","aws-auth","aws-auth-providers","aws-endpoint","aws-http","aws-hyper","aws-sig-auth","aws-sigv4","aws-types","examples/mediapackage","examples/cloudwatch","examples/lambda","examples/autoscalingplans","examples/kms","examples/cognitosync","examples/snowball","examples/applicationautoscaling","examples/eks","examples/route53","examples/sqs","examples/ses","examples/autoscaling","examples/ecr","examples/sts","examples/qldb","examples/rds","examples/sagemaker","examples/dynamodb","examples/rdsdata","examples/s3","examples/cloudwatchlogs","examples/ec2","examples/cloudformation","examples/cognitoidentity","examples/iam","examples/cognitoidentityprovider","examples/polly","examples/sns","examples/ssm","examples/medialive","examples/config","examples/ecs","examples/secretsmanager","examples/ebs","examples/batch","examples/kinesis"
44
]

sdk/accessanalyzer/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-accessanalyzer"
4-
version = "0.0.15-alpha"
4+
version = "0.0.16-alpha"
55
description = "<p>AWS IAM Access Analyzer helps identify potential resource-access risks by enabling you to identify\n any policies that grant access to an external principal. It does this by using logic-based\n reasoning to analyze resource-based policies in your AWS environment. An external\n principal can be another AWS account, a root user, an IAM user or role, a federated\n user, an AWS service, or an anonymous user. You can also use Access Analyzer to preview and\n validate public and cross-account access to your resources before deploying permissions\n changes. This guide describes the AWS IAM Access Analyzer operations that you can call\n programmatically. For general information about Access Analyzer, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html\">AWS IAM Access Analyzer</a> in the <b>IAM User Guide</b>.</p>\n <p>To start using Access Analyzer, you first need to create an analyzer.</p>"
66
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
77
license = "Apache-2.0"

sdk/accessanalyzer/src/model.rs

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ pub enum PathElement {
11741174
Value(std::string::String),
11751175
}
11761176
impl PathElement {
1177-
pub fn as_index(&self) -> Result<&i32, &Self> {
1177+
pub fn as_index(&self) -> std::result::Result<&i32, &Self> {
11781178
if let PathElement::Index(val) = &self {
11791179
Ok(&val)
11801180
} else {
@@ -1184,7 +1184,7 @@ impl PathElement {
11841184
pub fn is_index(&self) -> bool {
11851185
self.as_index().is_ok()
11861186
}
1187-
pub fn as_key(&self) -> Result<&std::string::String, &Self> {
1187+
pub fn as_key(&self) -> std::result::Result<&std::string::String, &Self> {
11881188
if let PathElement::Key(val) = &self {
11891189
Ok(&val)
11901190
} else {
@@ -1194,7 +1194,7 @@ impl PathElement {
11941194
pub fn is_key(&self) -> bool {
11951195
self.as_key().is_ok()
11961196
}
1197-
pub fn as_substring(&self) -> Result<&crate::model::Substring, &Self> {
1197+
pub fn as_substring(&self) -> std::result::Result<&crate::model::Substring, &Self> {
11981198
if let PathElement::Substring(val) = &self {
11991199
Ok(&val)
12001200
} else {
@@ -1204,7 +1204,7 @@ impl PathElement {
12041204
pub fn is_substring(&self) -> bool {
12051205
self.as_substring().is_ok()
12061206
}
1207-
pub fn as_value(&self) -> Result<&std::string::String, &Self> {
1207+
pub fn as_value(&self) -> std::result::Result<&std::string::String, &Self> {
12081208
if let PathElement::Value(val) = &self {
12091209
Ok(&val)
12101210
} else {
@@ -4708,7 +4708,7 @@ pub enum Configuration {
47084708
SqsQueue(crate::model::SqsQueueConfiguration),
47094709
}
47104710
impl Configuration {
4711-
pub fn as_iam_role(&self) -> Result<&crate::model::IamRoleConfiguration, &Self> {
4711+
pub fn as_iam_role(&self) -> std::result::Result<&crate::model::IamRoleConfiguration, &Self> {
47124712
if let Configuration::IamRole(val) = &self {
47134713
Ok(&val)
47144714
} else {
@@ -4718,7 +4718,7 @@ impl Configuration {
47184718
pub fn is_iam_role(&self) -> bool {
47194719
self.as_iam_role().is_ok()
47204720
}
4721-
pub fn as_kms_key(&self) -> Result<&crate::model::KmsKeyConfiguration, &Self> {
4721+
pub fn as_kms_key(&self) -> std::result::Result<&crate::model::KmsKeyConfiguration, &Self> {
47224722
if let Configuration::KmsKey(val) = &self {
47234723
Ok(&val)
47244724
} else {
@@ -4728,7 +4728,7 @@ impl Configuration {
47284728
pub fn is_kms_key(&self) -> bool {
47294729
self.as_kms_key().is_ok()
47304730
}
4731-
pub fn as_s3_bucket(&self) -> Result<&crate::model::S3BucketConfiguration, &Self> {
4731+
pub fn as_s3_bucket(&self) -> std::result::Result<&crate::model::S3BucketConfiguration, &Self> {
47324732
if let Configuration::S3Bucket(val) = &self {
47334733
Ok(&val)
47344734
} else {
@@ -4740,7 +4740,7 @@ impl Configuration {
47404740
}
47414741
pub fn as_secrets_manager_secret(
47424742
&self,
4743-
) -> Result<&crate::model::SecretsManagerSecretConfiguration, &Self> {
4743+
) -> std::result::Result<&crate::model::SecretsManagerSecretConfiguration, &Self> {
47444744
if let Configuration::SecretsManagerSecret(val) = &self {
47454745
Ok(&val)
47464746
} else {
@@ -4750,7 +4750,7 @@ impl Configuration {
47504750
pub fn is_secrets_manager_secret(&self) -> bool {
47514751
self.as_secrets_manager_secret().is_ok()
47524752
}
4753-
pub fn as_sqs_queue(&self) -> Result<&crate::model::SqsQueueConfiguration, &Self> {
4753+
pub fn as_sqs_queue(&self) -> std::result::Result<&crate::model::SqsQueueConfiguration, &Self> {
47544754
if let Configuration::SqsQueue(val) = &self {
47554755
Ok(&val)
47564756
} else {
@@ -5076,7 +5076,9 @@ pub enum NetworkOriginConfiguration {
50765076
VpcConfiguration(crate::model::VpcConfiguration),
50775077
}
50785078
impl NetworkOriginConfiguration {
5079-
pub fn as_internet_configuration(&self) -> Result<&crate::model::InternetConfiguration, &Self> {
5079+
pub fn as_internet_configuration(
5080+
&self,
5081+
) -> std::result::Result<&crate::model::InternetConfiguration, &Self> {
50805082
if let NetworkOriginConfiguration::InternetConfiguration(val) = &self {
50815083
Ok(&val)
50825084
} else {
@@ -5086,7 +5088,9 @@ impl NetworkOriginConfiguration {
50865088
pub fn is_internet_configuration(&self) -> bool {
50875089
self.as_internet_configuration().is_ok()
50885090
}
5089-
pub fn as_vpc_configuration(&self) -> Result<&crate::model::VpcConfiguration, &Self> {
5091+
pub fn as_vpc_configuration(
5092+
&self,
5093+
) -> std::result::Result<&crate::model::VpcConfiguration, &Self> {
50905094
if let NetworkOriginConfiguration::VpcConfiguration(val) = &self {
50915095
Ok(&val)
50925096
} else {
@@ -5324,7 +5328,7 @@ pub enum AclGrantee {
53245328
Uri(std::string::String),
53255329
}
53265330
impl AclGrantee {
5327-
pub fn as_id(&self) -> Result<&std::string::String, &Self> {
5331+
pub fn as_id(&self) -> std::result::Result<&std::string::String, &Self> {
53285332
if let AclGrantee::Id(val) = &self {
53295333
Ok(&val)
53305334
} else {
@@ -5334,7 +5338,7 @@ impl AclGrantee {
53345338
pub fn is_id(&self) -> bool {
53355339
self.as_id().is_ok()
53365340
}
5337-
pub fn as_uri(&self) -> Result<&std::string::String, &Self> {
5341+
pub fn as_uri(&self) -> std::result::Result<&std::string::String, &Self> {
53385342
if let AclGrantee::Uri(val) = &self {
53395343
Ok(&val)
53405344
} else {

sdk/acm/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-acm"
4-
version = "0.0.15-alpha"
4+
version = "0.0.16-alpha"
55
description = "<fullname>Amazon Web Services Certificate Manager</fullname>\n <p>You can use Amazon Web Services Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites\n and applications. For more information about using ACM, see the <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/\">Amazon Web Services Certificate Manager User Guide</a>.</p>"
66
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
77
license = "Apache-2.0"

sdk/acmpca/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-acmpca"
4-
version = "0.0.15-alpha"
4+
version = "0.0.16-alpha"
55
description = "<p>This is the <i>ACM Private CA API Reference</i>. It provides descriptions,\n\t\t\tsyntax, and usage examples for each of the actions and data types involved in creating\n\t\t\tand managing private certificate authorities (CA) for your organization.</p>\n\t\t <p>The documentation for each action shows the Query API request parameters and the XML\n\t\t\tresponse. Alternatively, you can use one of the AWS SDKs to access an API that's\n\t\t\ttailored to the programming language or platform that you're using. For more\n\t\t\tinformation, see <a href=\"https://aws.amazon.com/tools/#SDKs\">AWS\n\t\t\tSDKs</a>.</p>\n\t\t <note>\n\t\t\t <p>Each ACM Private CA API action has a quota that determines the number of times the action\n\t\t\t\tcan be called per second. For more information, see <a href=\"https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaLimits.html#PcaLimits-api\">API Rate Quotas in ACM Private CA</a>\n\t\t\t\tin the ACM Private CA user guide.</p>\n\t\t </note>"
66
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
77
license = "Apache-2.0"

0 commit comments

Comments
 (0)