From 848569982b7f2df7a0e44d01d440a33b6fac16d7 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Mon, 3 Oct 2022 18:05:40 +0000 Subject: [PATCH] Update API model --- .../aws-models/accessanalyzer.json | 192 +++-- codegen/sdk-codegen/aws-models/ec2.json | 41 +- codegen/sdk-codegen/aws-models/snowball.json | 750 ++++++++++-------- 3 files changed, 590 insertions(+), 393 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/accessanalyzer.json b/codegen/sdk-codegen/aws-models/accessanalyzer.json index 86deeb92cb5..fc008f7fa0f 100644 --- a/codegen/sdk-codegen/aws-models/accessanalyzer.json +++ b/codegen/sdk-codegen/aws-models/accessanalyzer.json @@ -1,29 +1,8 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.accessanalyzer#AccessAnalyzer": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "AccessAnalyzer", - "arnNamespace": "access-analyzer", - "cloudFormationName": "AccessAnalyzer", - "cloudTrailEventSource": "access-analyzer.amazonaws.com", - "endpointPrefix": "access-analyzer" - }, - "aws.auth#sigv4": { - "name": "access-analyzer" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "

Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to\n identify any policies that grant access to an external principal. It does this by using\n logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An\n external principal can be another Amazon Web Services account, a root user, an IAM user or role, a\n federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to\n preview and validate public and cross-account access to your resources before deploying\n permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can\n call programmatically. For general information about IAM Access Analyzer, see Identity and Access Management Access Analyzer in the IAM User Guide.

\n

To start using IAM Access Analyzer, you first need to create an analyzer.

", - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults" - }, - "smithy.api#title": "Access Analyzer" - }, "version": "2019-11-01", "operations": [ { @@ -88,7 +67,26 @@ { "target": "com.amazonaws.accessanalyzer#Analyzer" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "AccessAnalyzer", + "arnNamespace": "access-analyzer", + "cloudTrailEventSource": "access-analyzer.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "access-analyzer" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "

Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to\n identify any policies that grant access to an external principal. It does this by using\n logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An\n external principal can be another Amazon Web Services account, a root user, an IAM user or role, a\n federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to\n preview and validate public and cross-account access to your resources before deploying\n permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can\n call programmatically. For general information about IAM Access Analyzer, see Identity and Access Management Access Analyzer in the IAM User Guide.

\n

To start using IAM Access Analyzer, you first need to create an analyzer.

", + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#title": "Access Analyzer" + } }, "com.amazonaws.accessanalyzer#AccessDeniedException": { "type": "structure", @@ -578,10 +576,7 @@ ], "traits": { "aws.api#arn": { - "template": "analyzer/{analyzerName}", - "absolute": false, - "noAccount": false, - "noRegion": false + "template": "analyzer/{analyzerName}" }, "smithy.api#noReplace": {} } @@ -693,6 +688,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#ApplyArchiveRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -713,8 +711,8 @@ "traits": { "smithy.api#documentation": "

Retroactively applies the archive rule to existing findings that meet the archive rule\n criteria.

", "smithy.api#http": { - "method": "PUT", "uri": "/archive-rule", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -776,10 +774,7 @@ }, "traits": { "aws.api#arn": { - "template": "analyzer/{analyzerName}/archive-rule/{ruleName}", - "absolute": false, - "noAccount": false, - "noRegion": false + "template": "analyzer/{analyzerName}/archive-rule/{ruleName}" }, "smithy.api#noReplace": {} } @@ -851,8 +846,8 @@ "traits": { "smithy.api#documentation": "

Cancels the requested policy generation.

", "smithy.api#http": { - "method": "PUT", "uri": "/policy/generation/{jobId}", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -1068,8 +1063,8 @@ "traits": { "smithy.api#documentation": "

Creates an access preview that allows you to preview IAM Access Analyzer findings for your\n resource before deploying resource permissions.

", "smithy.api#http": { - "method": "PUT", "uri": "/access-preview", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -1144,8 +1139,8 @@ "traits": { "smithy.api#documentation": "

Creates an analyzer for your account.

", "smithy.api#http": { - "method": "PUT", "uri": "/analyzer", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -1211,6 +1206,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#CreateArchiveRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -1237,8 +1235,8 @@ "traits": { "smithy.api#documentation": "

Creates an archive rule for the specified analyzer. Archive rules automatically archive\n new findings that meet the criteria you define when you create the rule.

\n

To learn about filter keys that you can use to create an archive rule, see IAM Access Analyzer filter keys in the IAM User Guide.

", "smithy.api#http": { - "method": "PUT", "uri": "/analyzer/{analyzerName}/archive-rule", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -1318,6 +1316,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#DeleteAnalyzerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -1338,8 +1339,8 @@ "traits": { "smithy.api#documentation": "

Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is disabled\n for the account or organization in the current or specific Region. All findings that were\n generated by the analyzer are deleted. You cannot undo this action.

", "smithy.api#http": { - "method": "DELETE", "uri": "/analyzer/{analyzerName}", + "method": "DELETE", "code": 200 }, "smithy.api#idempotent": {} @@ -1374,6 +1375,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#DeleteArchiveRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -1394,8 +1398,8 @@ "traits": { "smithy.api#documentation": "

Deletes the specified archive rule.

", "smithy.api#http": { - "method": "DELETE", "uri": "/analyzer/{analyzerName}/archive-rule/{ruleName}", + "method": "DELETE", "code": 200 }, "smithy.api#idempotent": {} @@ -1867,8 +1871,8 @@ "traits": { "smithy.api#documentation": "

Retrieves information about an access preview for the specified analyzer.

", "smithy.api#http": { - "method": "GET", "uri": "/access-preview/{accessPreviewId}", + "method": "GET", "code": 200 }, "smithy.api#readonly": {} @@ -1935,8 +1939,8 @@ "traits": { "smithy.api#documentation": "

Retrieves information about a resource that was analyzed.

", "smithy.api#http": { - "method": "GET", "uri": "/analyzed-resource", + "method": "GET", "code": 200 }, "smithy.api#readonly": {} @@ -2008,8 +2012,8 @@ "traits": { "smithy.api#documentation": "

Retrieves information about the specified analyzer.

", "smithy.api#http": { - "method": "GET", "uri": "/analyzer/{analyzerName}", + "method": "GET", "code": 200 }, "smithy.api#readonly": {} @@ -2074,8 +2078,8 @@ "traits": { "smithy.api#documentation": "

Retrieves information about an archive rule.

\n

To learn about filter keys that you can use to create an archive rule, see IAM Access Analyzer filter keys in the IAM User Guide.

", "smithy.api#http": { - "method": "GET", "uri": "/analyzer/{analyzerName}/archive-rule/{ruleName}", + "method": "GET", "code": 200 }, "smithy.api#readonly": {} @@ -2147,8 +2151,8 @@ "traits": { "smithy.api#documentation": "

Retrieves information about the specified finding.

", "smithy.api#http": { - "method": "GET", "uri": "/finding/{id}", + "method": "GET", "code": 200 }, "smithy.api#readonly": {} @@ -2217,8 +2221,8 @@ "traits": { "smithy.api#documentation": "

Retrieves the policy that was generated using StartPolicyGeneration.\n

", "smithy.api#http": { - "method": "GET", "uri": "/policy/generation/{jobId}", + "method": "GET", "code": 200 }, "smithy.api#readonly": {} @@ -2423,20 +2427,20 @@ "traits": { "smithy.api#enum": [ { - "value": "AUTHORIZATION_ERROR", - "name": "AUTHORIZATION_ERROR" + "name": "AUTHORIZATION_ERROR", + "value": "AUTHORIZATION_ERROR" }, { - "value": "RESOURCE_NOT_FOUND_ERROR", - "name": "RESOURCE_NOT_FOUND_ERROR" + "name": "RESOURCE_NOT_FOUND_ERROR", + "value": "RESOURCE_NOT_FOUND_ERROR" }, { - "value": "SERVICE_QUOTA_EXCEEDED_ERROR", - "name": "SERVICE_QUOTA_EXCEEDED_ERROR" + "name": "SERVICE_QUOTA_EXCEEDED_ERROR", + "value": "SERVICE_QUOTA_EXCEEDED_ERROR" }, { - "value": "SERVICE_ERROR", - "name": "SERVICE_ERROR" + "name": "SERVICE_ERROR", + "value": "SERVICE_ERROR" } ] } @@ -2449,20 +2453,20 @@ "traits": { "smithy.api#enum": [ { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" + "name": "IN_PROGRESS", + "value": "IN_PROGRESS" }, { - "value": "SUCCEEDED", - "name": "SUCCEEDED" + "name": "SUCCEEDED", + "value": "SUCCEEDED" }, { - "value": "FAILED", - "name": "FAILED" + "name": "FAILED", + "value": "FAILED" }, { - "value": "CANCELED", - "name": "CANCELED" + "name": "CANCELED", + "value": "CANCELED" } ] } @@ -2684,14 +2688,17 @@ "traits": { "smithy.api#documentation": "

Retrieves a list of access preview findings generated by the specified access\n preview.

", "smithy.api#http": { - "method": "POST", "uri": "/access-preview/{accessPreviewId}", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "items": "findings" }, - "smithy.api#readonly": {} + "smithy.api#readonly": {}, + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.accessanalyzer#ListAccessPreviewFindingsRequest": { @@ -2778,8 +2785,8 @@ "traits": { "smithy.api#documentation": "

Retrieves a list of access previews for the specified analyzer.

", "smithy.api#http": { - "method": "GET", "uri": "/access-preview", + "method": "GET", "code": 200 }, "smithy.api#paginated": { @@ -2861,14 +2868,17 @@ "traits": { "smithy.api#documentation": "

Retrieves a list of resources of the specified type that have been analyzed by the\n specified analyzer..

", "smithy.api#http": { - "method": "POST", "uri": "/analyzed-resource", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "items": "analyzedResources" }, - "smithy.api#readonly": {} + "smithy.api#readonly": {}, + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.accessanalyzer#ListAnalyzedResourcesRequest": { @@ -2950,8 +2960,8 @@ "traits": { "smithy.api#documentation": "

Retrieves a list of analyzers.

", "smithy.api#http": { - "method": "GET", "uri": "/analyzer", + "method": "GET", "code": 200 }, "smithy.api#paginated": { @@ -3035,8 +3045,8 @@ "traits": { "smithy.api#documentation": "

Retrieves a list of archive rules created for the specified analyzer.

", "smithy.api#http": { - "method": "GET", "uri": "/analyzer/{analyzerName}/archive-rule", + "method": "GET", "code": 200 }, "smithy.api#paginated": { @@ -3124,14 +3134,17 @@ "traits": { "smithy.api#documentation": "

Retrieves a list of findings generated by the specified analyzer.

\n

To learn about filter keys that you can use to retrieve a list of findings, see IAM Access Analyzer filter keys in the IAM User Guide.

", "smithy.api#http": { - "method": "POST", "uri": "/finding", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "items": "findings" }, - "smithy.api#readonly": {} + "smithy.api#readonly": {}, + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.accessanalyzer#ListFindingsRequest": { @@ -3219,8 +3232,8 @@ "traits": { "smithy.api#documentation": "

Lists all of the policy generations requested in the last seven days.

", "smithy.api#http": { - "method": "GET", "uri": "/policy/generation", + "method": "GET", "code": 200 }, "smithy.api#paginated": { @@ -3305,8 +3318,7 @@ "smithy.api#documentation": "

Retrieves a list of tags applied to the specified resource.

", "smithy.api#http": { "method": "GET", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#readonly": {} } @@ -3760,7 +3772,7 @@ } }, "traits": { - "smithy.api#documentation": "

The configuration for an Amazon S3 access point or multi-region access point for the bucket.\n You can propose up to 10 access points or multi-region access points per bucket. If the\n proposed Amazon S3 access point configuration is for an existing bucket, the access preview uses\n the proposed access point configuration in place of the existing access points. To propose\n an access point without a policy, you can provide an empty string as the access point\n policy. For more information, see Creating access points. For more information about access point policy limits,\n see Access points\n restrictions and limitations.

" + "smithy.api#documentation": "

The configuration for an Amazon S3 access point or multi-region access point for the bucket.\n You can propose up to 10 access points or multi-region access points per bucket. If the\n proposed Amazon S3 access point configuration is for an existing bucket, the access preview uses\n the proposed access point configuration in place of the existing access points. To propose\n an access point without a policy, you can provide an empty string as the access point\n policy. For more information, see Creating access points.\n For more information about access point policy limits, see Access points\n restrictions and limitations.

" } }, "com.amazonaws.accessanalyzer#S3AccessPointConfigurationsMap": { @@ -4009,8 +4021,8 @@ "traits": { "smithy.api#documentation": "

Starts the policy generation request.

", "smithy.api#http": { - "method": "PUT", "uri": "/policy/generation", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -4058,6 +4070,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#StartResourceScanRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -4078,8 +4093,8 @@ "traits": { "smithy.api#documentation": "

Immediately starts a scan of the policies applied to the specified resource.

", "smithy.api#http": { - "method": "POST", "uri": "/resource/scan", + "method": "POST", "code": 200 } } @@ -4178,8 +4193,7 @@ "smithy.api#documentation": "

Adds a tag to the specified resource.

", "smithy.api#http": { "method": "POST", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#idempotent": {} } @@ -4368,8 +4382,7 @@ "smithy.api#documentation": "

Removes a tag from the specified resource.

", "smithy.api#http": { "method": "DELETE", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#idempotent": {} } @@ -4410,6 +4423,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#UpdateArchiveRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -4430,8 +4446,8 @@ "traits": { "smithy.api#documentation": "

Updates the criteria and values for the specified archive rule.

", "smithy.api#http": { - "method": "PUT", "uri": "/analyzer/{analyzerName}/archive-rule/{ruleName}", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -4480,6 +4496,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#UpdateFindingsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -4500,8 +4519,8 @@ "traits": { "smithy.api#documentation": "

Updates the status for the specified findings.

", "smithy.api#http": { - "method": "PUT", "uri": "/finding", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -4573,14 +4592,17 @@ "traits": { "smithy.api#documentation": "

Requests the validation of a policy and returns a list of findings. The findings help\n you identify issues and provide actionable recommendations to resolve the issue and enable\n you to author functional policies that meet security best practices.

", "smithy.api#http": { - "method": "POST", "uri": "/policy/validation", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "items": "findings" }, - "smithy.api#readonly": {} + "smithy.api#readonly": {}, + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.accessanalyzer#ValidatePolicyFinding": { @@ -4719,6 +4741,10 @@ { "value": "AWS::S3ObjectLambda::AccessPoint", "name": "S3_OBJECT_LAMBDA_ACCESS_POINT" + }, + { + "value": "AWS::IAM::AssumeRolePolicyDocument", + "name": "ROLE_TRUST" } ] } diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index a10eb2fc9da..d84dec49d7a 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -44711,6 +44711,14 @@ "smithy.api#documentation": "

The date and time to deprecate the AMI, in UTC, in the following format: \n YYYY-MM-DDTHH:MM:SSZ.\n If you specified a value for seconds, Amazon EC2 rounds the seconds to the\n nearest minute.

", "smithy.api#xmlName": "deprecationTime" } + }, + "ImdsSupport": { + "target": "com.amazonaws.ec2#ImdsSupportValues", + "traits": { + "aws.protocols#ec2QueryName": "ImdsSupport", + "smithy.api#documentation": "

If v2.0, it indicates that IMDSv2 is specified in the AMI. Instances launched\n from this AMI will have HttpTokens automatically set to required so\n that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.\n In addition, HttpPutResponseHopLimit is set to 2. For more\n information, see Configure\n the AMI in the Amazon Elastic Compute Cloud User Guide.

", + "smithy.api#xmlName": "imdsSupport" + } } }, "traits": { @@ -44815,6 +44823,14 @@ "smithy.api#documentation": "

The date and time, in ISO 8601 date-time\n format, when the AMI was last used to launch an EC2 instance. When the AMI is used\n to launch an instance, there is a 24-hour delay before that usage is reported.

\n \n

\n lastLaunchedTime data is available starting April 2017.

\n
", "smithy.api#xmlName": "lastLaunchedTime" } + }, + "ImdsSupport": { + "target": "com.amazonaws.ec2#AttributeValue", + "traits": { + "aws.protocols#ec2QueryName": "ImdsSupport", + "smithy.api#documentation": "

If v2.0, it indicates that IMDSv2 is specified in the AMI. Instances launched\n from this AMI will have HttpTokens automatically set to required so\n that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.\n In addition, HttpPutResponseHopLimit is set to 2. For more\n information, see Configure\n the AMI in the Amazon Elastic Compute Cloud User Guide.

", + "smithy.api#xmlName": "imdsSupport" + } } }, "traits": { @@ -44889,6 +44905,12 @@ "traits": { "smithy.api#enumValue": "lastLaunchedTime" } + }, + "imdsSupport": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "imdsSupport" + } } } }, @@ -45102,6 +45124,17 @@ } } }, + "com.amazonaws.ec2#ImdsSupportValues": { + "type": "enum", + "members": { + "v2_0": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "v2.0" + } + } + } + }, "com.amazonaws.ec2#ImportClientVpnClientCertificateRevocationList": { "type": "operation", "input": { @@ -67210,7 +67243,7 @@ "traits": { "smithy.api#default": 0, "smithy.api#range": { - "min": 1, + "min": 0, "max": 65535 } } @@ -69257,6 +69290,12 @@ "traits": { "smithy.api#documentation": "

Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,\n use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the\n python-uefivars tool on\n GitHub. For more information, see UEFI Secure Boot in the\n Amazon Elastic Compute Cloud User Guide.

" } + }, + "ImdsSupport": { + "target": "com.amazonaws.ec2#ImdsSupportValues", + "traits": { + "smithy.api#documentation": "

Set to v2.0 to indicate that IMDSv2 is specified in the AMI. Instances\n launched from this AMI will have HttpTokens automatically set to\n required so that, by default, the instance requires that IMDSv2 is used when\n requesting instance metadata. In addition, HttpPutResponseHopLimit is set to\n 2. For more information, see Configure\n the AMI in the Amazon Elastic Compute Cloud User Guide.

\n \n

If you set the value to v2.0, make sure that your AMI software can support IMDSv2.

\n
" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/snowball.json b/codegen/sdk-codegen/aws-models/snowball.json index f5167b978c7..588b0c89bf1 100644 --- a/codegen/sdk-codegen/aws-models/snowball.json +++ b/codegen/sdk-codegen/aws-models/snowball.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.snowball#AWSIESnowballJobManagementService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Snowball", - "arnNamespace": "snowball", - "cloudFormationName": "Snowball", - "cloudTrailEventSource": "snowball.amazonaws.com", - "endpointPrefix": "snowball" - }, - "aws.auth#sigv4": { - "name": "snowball" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

The Amazon Web Services Snow Family provides a petabyte-scale data transport solution that uses\n secure devices to transfer large amounts of data between your on-premises data centers and\n Amazon Simple Storage Service (Amazon S3). The Snow Family commands described here provide access to the same\n functionality that is available in the Amazon Web Services Snow Family Management Console, which enables you to create\n and manage jobs for a Snow Family device. To transfer data locally with a Snow Family device,\n you'll need to use the Snowball Edge client or the Amazon S3 API Interface for Snowball or OpsHub for Snow Family. For more information, see the User Guide.

", - "smithy.api#title": "Amazon Import/Export Snowball" - }, "version": "2016-06-30", "operations": [ { @@ -123,7 +108,22 @@ { "target": "com.amazonaws.snowball#UpdateLongTermPricing" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Snowball", + "arnNamespace": "snowball", + "cloudFormationName": "Snowball", + "cloudTrailEventSource": "snowball.amazonaws.com", + "endpointPrefix": "snowball" + }, + "aws.auth#sigv4": { + "name": "snowball" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

The Amazon Web Services Snow Family provides a petabyte-scale data transport solution that uses\n secure devices to transfer large amounts of data between your on-premises data centers and\n Amazon Simple Storage Service (Amazon S3). The Snow Family commands described here provide access to the same\n functionality that is available in the Amazon Web Services Snow Family Management Console, which enables you to create\n and manage jobs for a Snow Family device. To transfer data locally with a Snow Family device,\n you'll need to use the Snowball Edge client or the Amazon S3 API Interface for Snowball or OpsHub for Snow Family. For more information, see the User Guide.

", + "smithy.api#title": "Amazon Import/Export Snowball" + } }, "com.amazonaws.snowball#Address": { "type": "structure", @@ -209,6 +209,7 @@ "IsRestricted": { "target": "com.amazonaws.snowball#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If the address you are creating is a primary address, then set this option to\n true. This field is not supported in most regions.

" } } @@ -244,7 +245,10 @@ } }, "com.amazonaws.snowball#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.snowball#CancelCluster": { "type": "operation", @@ -483,30 +487,38 @@ } }, "com.amazonaws.snowball#ClusterState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AwaitingQuorum", - "name": "AWAITING_QUORUM" - }, - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InUse", - "name": "IN_USE" - }, - { - "value": "Complete", - "name": "COMPLETE" - }, - { - "value": "Cancelled", - "name": "CANCELLED" - } - ] + "type": "enum", + "members": { + "AWAITING_QUORUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AwaitingQuorum" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_USE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InUse" + } + }, + "COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Complete" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Cancelled" + } + } } }, "com.amazonaws.snowball#CompatibleImage": { @@ -674,7 +686,7 @@ "SnowballType": { "target": "com.amazonaws.snowball#SnowballType", "traits": { - "smithy.api#documentation": "

The type of Snow Family Devices to use for this cluster.

\n \n

For cluster jobs, Amazon Web Services Snow Family currently supports only the\n EDGE device type.

\n
\n \n

For more information, see\n \"https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide or\n \"https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide.

", + "smithy.api#documentation": "

The type of Snow Family devices to use for this cluster.

\n \n

For cluster jobs, Amazon Web Services Snow Family currently supports only the\n EDGE device type.

\n
\n \n

For more information, see\n \"https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide or\n \"https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide.

", "smithy.api#required": {} } }, @@ -748,7 +760,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a job to import or export data between Amazon S3 and your on-premises data\n center. Your Amazon Web Services account must have the right trust policies and permissions in\n place to create a job for a Snow device. If you're creating a job for a node in a cluster, you\n only need to provide the clusterId value; the other job attributes are inherited\n from the cluster.

\n \n

Only the Snowball; Edge device type is supported when ordering clustered jobs.

\n

The device capacity is optional.

\n

Availability of device types differ by Amazon Web Services Region. For more information\n about Region availability, see Amazon Web Services Regional Services.

\n
\n\n

\n\n

\n Snow Family Devices and their capacities.\n

\n " + "smithy.api#documentation": "

Creates a job to import or export data between Amazon S3 and your on-premises data\n center. Your Amazon Web Services account must have the right trust policies and permissions in\n place to create a job for a Snow device. If you're creating a job for a node in a cluster, you\n only need to provide the clusterId value; the other job attributes are inherited\n from the cluster.

\n \n

Only the Snowball; Edge device type is supported when ordering clustered jobs.

\n

The device capacity is optional.

\n

Availability of device types differ by Amazon Web Services Region. For more information\n about Region availability, see Amazon Web Services Regional Services.

\n
\n\n

\n\n

\n Snow Family devices and their capacities.\n

\n " } }, "com.amazonaws.snowball#CreateJobRequest": { @@ -823,7 +835,7 @@ "SnowballType": { "target": "com.amazonaws.snowball#SnowballType", "traits": { - "smithy.api#documentation": "

The type of Snow Family Devices to use for this job.\n

\n \n

For cluster jobs, Amazon Web Services Snow Family currently supports only the\n EDGE device type.

\n
\n

The type of Amazon Web Services Snow device to use for this job. Currently, the only\n supported device type for cluster jobs is EDGE.

\n

For more information, see Snowball Edge Device\n Options in the Snowball Edge Developer Guide.

\n \n

For more information, see\n \"https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide or\n \"https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide.

" + "smithy.api#documentation": "

The type of Snow Family devices to use for this job.\n

\n \n

For cluster jobs, Amazon Web Services Snow Family currently supports only the\n EDGE device type.

\n
\n

The type of Amazon Web Services Snow device to use for this job. Currently, the only\n supported device type for cluster jobs is EDGE.

\n

For more information, see Snowball Edge Device\n Options in the Snowball Edge Developer Guide.

\n \n

For more information, see\n \"https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide or\n \"https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide.

" } }, "ForwardingAddressId": { @@ -899,13 +911,13 @@ "IsLongTermPricingAutoRenew": { "target": "com.amazonaws.snowball#JavaBoolean", "traits": { - "smithy.api#documentation": "

Specifies whether the current long-term pricing type for the device should be\n renewed.

" + "smithy.api#documentation": "

snowballty

\n

Specifies whether the current long-term pricing type for the device should be\n renewed.

" } }, "SnowballType": { "target": "com.amazonaws.snowball#SnowballType", "traits": { - "smithy.api#documentation": "

The type of Snow Family Devices to use for the long-term pricing job.

" + "smithy.api#documentation": "

The type of Snow Family devices to use for the long-term pricing job.

" } } } @@ -985,24 +997,28 @@ "BytesTransferred": { "target": "com.amazonaws.snowball#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of bytes transferred between a Snow device and Amazon S3.

" } }, "ObjectsTransferred": { "target": "com.amazonaws.snowball#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects transferred between a Snow device and Amazon S3.

" } }, "TotalBytes": { "target": "com.amazonaws.snowball#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total bytes of data for a transfer between a Snow device and Amazon S3. This value\n is set to 0 (zero) until all the keys that will be transferred have been listed.

" } }, "TotalObjects": { "target": "com.amazonaws.snowball#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects for a transfer between a Snow device and Amazon S3. This\n value is set to 0 (zero) until all the keys that will be transferred have been\n listed.

" } } @@ -1270,18 +1286,20 @@ } }, "com.amazonaws.snowball#DeviceServiceName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NFS_ON_DEVICE_SERVICE", - "name": "NFS_ON_DEVICE_SERVICE" - }, - { - "value": "S3_ON_DEVICE_SERVICE", - "name": "S3_ON_DEVICE_SERVICE" + "type": "enum", + "members": { + "NFS_ON_DEVICE_SERVICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NFS_ON_DEVICE_SERVICE" + } + }, + "S3_ON_DEVICE_SERVICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_ON_DEVICE_SERVICE" } - ] + } } }, "com.amazonaws.snowball#Ec2AmiResource": { @@ -1370,7 +1388,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a link to an Amazon S3 presigned URL for the manifest file associated with the\n specified JobId value. You can access the manifest file for up to 60 minutes\n after this request has been made. To access the manifest file after 60 minutes have passed,\n you'll have to make another call to the GetJobManifest action.

\n\n

The manifest is an encrypted file that you can download after your job enters the\n WithCustomer status. The manifest is decrypted by using the\n UnlockCode code value, when you pass both values to the Snow device through the\n Snowball client when the client is started for the first time.

\n\n\n

As a best practice, we recommend that you don't save a copy of an\n UnlockCode value in the same location as the manifest file for that job. Saving\n these separately helps prevent unauthorized parties from gaining access to the Snow device\n associated with that job.

\n\n\n

The credentials of a given job, including its manifest file and unlock code, expire 360\n days after the job is created.

" + "smithy.api#documentation": "

Returns a link to an Amazon S3 presigned URL for the manifest file associated with the\n specified JobId value. You can access the manifest file for up to 60 minutes\n after this request has been made. To access the manifest file after 60 minutes have passed,\n you'll have to make another call to the GetJobManifest action.

\n\n

The manifest is an encrypted file that you can download after your job enters the\n WithCustomer status. This is the only valid status for calling this API as the\n manifest and UnlockCode code value are used for securing your device and should\n only be used when you have the device. The manifest is decrypted by using the\n UnlockCode code value, when you pass both values to the Snow device through the\n Snowball client when the client is started for the first time.

\n\n\n

As a best practice, we recommend that you don't save a copy of an\n UnlockCode value in the same location as the manifest file for that job. Saving\n these separately helps prevent unauthorized parties from gaining access to the Snow device\n associated with that job.

\n\n\n

The credentials of a given job, including its manifest file and unlock code, expire 360\n days after the job is created.

" } }, "com.amazonaws.snowball#GetJobManifestRequest": { @@ -1413,7 +1431,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the UnlockCode code value for the specified job. A particular\n UnlockCode value can be accessed for up to 360 days after the associated job\n has been created.

\n\n

The UnlockCode value is a 29-character code with 25 alphanumeric\n characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed\n along with the manifest to the Snow device through the Snowball client when the client is\n started for the first time.

\n\n

As a best practice, we recommend that you don't save a copy of the\n UnlockCode in the same location as the manifest file for that job. Saving these\n separately helps prevent unauthorized parties from gaining access to the Snow device\n associated with that job.

" + "smithy.api#documentation": "

Returns the UnlockCode code value for the specified job. A particular\n UnlockCode value can be accessed for up to 360 days after the associated job\n has been created.

\n\n

The UnlockCode value is a 29-character code with 25 alphanumeric\n characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed\n along with the manifest to the Snow device through the Snowball client when the client is\n started for the first time. The only valid status for calling this API is\n WithCustomer as the manifest and Unlock code values are used for\n securing your device and should only be used when you have the device.

\n\n

As a best practice, we recommend that you don't save a copy of the\n UnlockCode in the same location as the manifest file for that job. Saving these\n separately helps prevent unauthorized parties from gaining access to the Snow device\n associated with that job.

" } }, "com.amazonaws.snowball#GetJobUnlockCodeRequest": { @@ -1530,10 +1548,7 @@ } }, "com.amazonaws.snowball#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.snowball#InvalidAddressException": { "type": "structure", @@ -1602,10 +1617,7 @@ } }, "com.amazonaws.snowball#JavaBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.snowball#JobId": { "type": "string", @@ -1635,6 +1647,7 @@ "IsMaster": { "target": "com.amazonaws.snowball#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates that this job is a main job. A main job represents a successful\n request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each\n main job will have at least one job part, and each job part is associated with a Snowball. It\n might take some time before the job parts associated with a particular main job are listed,\n because they are created after the main job is created.

" } }, @@ -1869,62 +1882,86 @@ } }, "com.amazonaws.snowball#JobState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "New", - "name": "NEW" - }, - { - "value": "PreparingAppliance", - "name": "PREPARING_APPLIANCE" - }, - { - "value": "PreparingShipment", - "name": "PREPARING_SHIPMENT" - }, - { - "value": "InTransitToCustomer", - "name": "IN_TRANSIT_TO_CUSTOMER" - }, - { - "value": "WithCustomer", - "name": "WITH_CUSTOMER" - }, - { - "value": "InTransitToAWS", - "name": "IN_TRANSIT_TO_AWS" - }, - { - "value": "WithAWSSortingFacility", - "name": "WITH_AWS_SORTING_FACILITY" - }, - { - "value": "WithAWS", - "name": "WITH_AWS" - }, - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Complete", - "name": "COMPLETE" - }, - { - "value": "Cancelled", - "name": "CANCELLED" - }, - { - "value": "Listing", - "name": "LISTING" - }, - { - "value": "Pending", - "name": "PENDING" - } - ] + "type": "enum", + "members": { + "NEW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "New" + } + }, + "PREPARING_APPLIANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PreparingAppliance" + } + }, + "PREPARING_SHIPMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PreparingShipment" + } + }, + "IN_TRANSIT_TO_CUSTOMER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InTransitToCustomer" + } + }, + "WITH_CUSTOMER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WithCustomer" + } + }, + "IN_TRANSIT_TO_AWS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InTransitToAWS" + } + }, + "WITH_AWS_SORTING_FACILITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WithAWSSortingFacility" + } + }, + "WITH_AWS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WithAWS" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Complete" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Cancelled" + } + }, + "LISTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Listing" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + } } }, "com.amazonaws.snowball#JobStateList": { @@ -1934,22 +1971,26 @@ } }, "com.amazonaws.snowball#JobType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IMPORT", - "name": "IMPORT" - }, - { - "value": "EXPORT", - "name": "EXPORT" - }, - { - "value": "LOCAL_USE", - "name": "LOCAL_USE" + "type": "enum", + "members": { + "IMPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT" + } + }, + "EXPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPORT" + } + }, + "LOCAL_USE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOCAL_USE" } - ] + } } }, "com.amazonaws.snowball#KMSRequestFailedException": { @@ -2037,7 +2078,13 @@ } ], "traits": { - "smithy.api#documentation": "

Returns an array of JobListEntry objects of the specified length. Each\n JobListEntry object is for a job in the specified cluster and contains a job's\n state, a job's ID, and other information.

" + "smithy.api#documentation": "

Returns an array of JobListEntry objects of the specified length. Each\n JobListEntry object is for a job in the specified cluster and contains a job's\n state, a job's ID, and other information.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "JobListEntries", + "pageSize": "MaxResults" + } } }, "com.amazonaws.snowball#ListClusterJobsRequest": { @@ -2095,7 +2142,13 @@ } ], "traits": { - "smithy.api#documentation": "

Returns an array of ClusterListEntry objects of the specified length. Each\n ClusterListEntry object contains a cluster's state, a cluster's ID, and other\n important status information.

" + "smithy.api#documentation": "

Returns an array of ClusterListEntry objects of the specified length. Each\n ClusterListEntry object contains a cluster's state, a cluster's ID, and other\n important status information.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "ClusterListEntries", + "pageSize": "MaxResults" + } } }, "com.amazonaws.snowball#ListClustersRequest": { @@ -2149,7 +2202,13 @@ } ], "traits": { - "smithy.api#documentation": "

This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs)\n that are owned by your Amazon Web Services accountthat would be supported for use on a Snow\n device. Currently, supported AMIs are based on the CentOS 7 (x86_64) - with Updates HVM,\n Ubuntu Server 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available on the\n Amazon Web Services Marketplace.

" + "smithy.api#documentation": "

This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs)\n that are owned by your Amazon Web Services accountthat would be supported for use on a Snow\n device. Currently, supported AMIs are based on the CentOS 7 (x86_64) - with Updates HVM,\n Ubuntu Server 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available on the\n Amazon Web Services Marketplace.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "CompatibleImages", + "pageSize": "MaxResults" + } } }, "com.amazonaws.snowball#ListCompatibleImagesRequest": { @@ -2246,7 +2305,6 @@ "com.amazonaws.snowball#ListLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -2270,7 +2328,13 @@ } ], "traits": { - "smithy.api#documentation": "

Lists all long-term pricing types.

" + "smithy.api#documentation": "

Lists all long-term pricing types.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "LongTermPricingEntries", + "pageSize": "MaxResults" + } } }, "com.amazonaws.snowball#ListLongTermPricingRequest": { @@ -2308,7 +2372,10 @@ } }, "com.amazonaws.snowball#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.snowball#LongTermPricingAssociatedJobIdList": { "type": "list", @@ -2386,7 +2453,7 @@ "SnowballType": { "target": "com.amazonaws.snowball#SnowballType", "traits": { - "smithy.api#documentation": "

The type of Snow Family Devices associated with this long-term pricing job.

" + "smithy.api#documentation": "

The type of Snow Family devices associated with this long-term pricing job.

" } }, "JobIds": { @@ -2401,18 +2468,20 @@ } }, "com.amazonaws.snowball#LongTermPricingType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OneYear", - "name": "ONE_YEAR" - }, - { - "value": "ThreeYear", - "name": "THREE_YEAR" + "type": "enum", + "members": { + "ONE_YEAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OneYear" + } + }, + "THREE_YEAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ThreeYear" } - ] + } } }, "com.amazonaws.snowball#NFSOnDeviceServiceConfiguration": { @@ -2421,6 +2490,7 @@ "StorageLimit": { "target": "com.amazonaws.snowball#StorageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum NFS storage for one Snow Family device.

" } }, @@ -2453,6 +2523,7 @@ "NotifyAll": { "target": "com.amazonaws.snowball#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Any change in job state will trigger a notification for this job.

" } } @@ -2482,18 +2553,20 @@ } }, "com.amazonaws.snowball#RemoteManagement": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INSTALLED_ONLY", - "name": "INSTALLED_ONLY" - }, - { - "value": "INSTALLED_AUTOSTART", - "name": "INSTALLED_AUTOSTART" + "type": "enum", + "members": { + "INSTALLED_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTALLED_ONLY" } - ] + }, + "INSTALLED_AUTOSTART": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTALLED_AUTOSTART" + } + } } }, "com.amazonaws.snowball#ResourceARN": { @@ -2581,18 +2654,20 @@ } }, "com.amazonaws.snowball#ShipmentState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RECEIVED", - "name": "RECEIVED" - }, - { - "value": "RETURNED", - "name": "RETURNED" + "type": "enum", + "members": { + "RECEIVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RECEIVED" + } + }, + "RETURNED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RETURNED" } - ] + } } }, "com.amazonaws.snowball#ShippingDetails": { @@ -2622,123 +2697,173 @@ } }, "com.amazonaws.snowball#ShippingLabelStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "TimedOut", - "name": "TIMED_OUT" - }, - { - "value": "Succeeded", - "name": "SUCCEEDED" - }, - { - "value": "Failed", - "name": "FAILED" - } - ] + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TimedOut" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Succeeded" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + } } }, "com.amazonaws.snowball#ShippingOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SECOND_DAY", - "name": "SECOND_DAY" - }, - { - "value": "NEXT_DAY", - "name": "NEXT_DAY" - }, - { - "value": "EXPRESS", - "name": "EXPRESS" - }, - { - "value": "STANDARD", - "name": "STANDARD" - } - ] + "type": "enum", + "members": { + "SECOND_DAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SECOND_DAY" + } + }, + "NEXT_DAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEXT_DAY" + } + }, + "EXPRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPRESS" + } + }, + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" + } + } } }, "com.amazonaws.snowball#SnowballCapacity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "T50", - "name": "T50" - }, - { - "value": "T80", - "name": "T80" - }, - { - "value": "T100", - "name": "T100" - }, - { - "value": "T42", - "name": "T42" - }, - { - "value": "T98", - "name": "T98" - }, - { - "value": "T8", - "name": "T8" - }, - { - "value": "T14", - "name": "T14" - }, - { - "value": "NoPreference", - "name": "NO_PREFERENCE" - } - ] + "type": "enum", + "members": { + "T50": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T50" + } + }, + "T80": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T80" + } + }, + "T100": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T100" + } + }, + "T42": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T42" + } + }, + "T98": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T98" + } + }, + "T8": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T8" + } + }, + "T14": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T14" + } + }, + "NO_PREFERENCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NoPreference" + } + }, + "T32": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T32" + } + } } }, "com.amazonaws.snowball#SnowballType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STANDARD", - "name": "STANDARD" - }, - { - "value": "EDGE", - "name": "EDGE" - }, - { - "value": "EDGE_C", - "name": "EDGE_C" - }, - { - "value": "EDGE_CG", - "name": "EDGE_CG" - }, - { - "value": "EDGE_S", - "name": "EDGE_S" - }, - { - "value": "SNC1_HDD", - "name": "SNC1_HDD" - }, - { - "value": "SNC1_SSD", - "name": "SNC1_SSD" - } - ] + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" + } + }, + "EDGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EDGE" + } + }, + "EDGE_C": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EDGE_C" + } + }, + "EDGE_CG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EDGE_CG" + } + }, + "EDGE_S": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EDGE_S" + } + }, + "SNC1_HDD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNC1_HDD" + } + }, + "SNC1_SSD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNC1_SSD" + } + }, + "V3_5C": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "V3_5C" + } + } } }, "com.amazonaws.snowball#SnowconeDeviceConfiguration": { @@ -2768,20 +2893,21 @@ "com.amazonaws.snowball#StorageLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.snowball#StorageUnit": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TB", - "name": "TB" + "type": "enum", + "members": { + "TB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TB" } - ] + } } }, "com.amazonaws.snowball#String": { @@ -2800,6 +2926,7 @@ "StorageLimit": { "target": "com.amazonaws.snowball#StorageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of virtual tapes to store on one Snow Family device. Due to physical\n resource limitations, this value must be set to 80 for Snowball Edge.

" } }, @@ -2855,22 +2982,26 @@ "type": "timestamp" }, "com.amazonaws.snowball#TransferOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IMPORT", - "name": "IMPORT" - }, - { - "value": "EXPORT", - "name": "EXPORT" - }, - { - "value": "LOCAL_USE", - "name": "LOCAL_USE" + "type": "enum", + "members": { + "IMPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT" + } + }, + "EXPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPORT" } - ] + }, + "LOCAL_USE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOCAL_USE" + } + } } }, "com.amazonaws.snowball#UnsupportedAddressException": { @@ -3174,6 +3305,7 @@ "IsWifiEnabled": { "target": "com.amazonaws.snowball#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables the Wi-Fi adapter on an Snowcone device.

" } }