diff --git a/.changes/beeb9649-935f-4ba6-93fe-fa61f3784712.json b/.changes/beeb9649-935f-4ba6-93fe-fa61f3784712.json new file mode 100644 index 00000000000..fac4aaf2448 --- /dev/null +++ b/.changes/beeb9649-935f-4ba6-93fe-fa61f3784712.json @@ -0,0 +1,5 @@ +{ + "id": "beeb9649-935f-4ba6-93fe-fa61f3784712", + "type": "misc", + "description": "Sync AWS service models" +} \ No newline at end of file diff --git a/codegen/sdk/aws-models/accessanalyzer.json b/codegen/sdk/aws-models/accessanalyzer.json index 86deeb92cb5..b9bcbb4af28 100644 --- a/codegen/sdk/aws-models/accessanalyzer.json +++ b/codegen/sdk/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.
\nTo 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.
\nTo 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.
\nTo 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.
\nTo 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
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.
\nTo 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" } ] } @@ -4855,4 +4881,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/account.json b/codegen/sdk/aws-models/account.json index c342fe4cab3..9f3f2dae3c8 100644 --- a/codegen/sdk/aws-models/account.json +++ b/codegen/sdk/aws-models/account.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.account#AccessDeniedException": { "type": "structure", @@ -19,6 +19,15 @@ }, "com.amazonaws.account#Account": { "type": "service", + "version": "2021-02-01", + "resources": [ + { + "target": "com.amazonaws.account#AlternateContactResource" + }, + { + "target": "com.amazonaws.account#ContactInformationResource" + } + ], "traits": { "aws.api#service": { "sdkId": "Account", @@ -40,16 +49,7 @@ "EventSource" ], "smithy.api#title": "AWS Account" - }, - "version": "2021-02-01", - "resources": [ - { - "target": "com.amazonaws.account#AlternateContactResource" - }, - { - "target": "com.amazonaws.account#ContactInformationResource" - } - ] + } }, "com.amazonaws.account#AccountId": { "type": "string", @@ -777,4 +777,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/acm-pca.json b/codegen/sdk/aws-models/acm-pca.json index e188fe9d699..666e525bf2e 100644 --- a/codegen/sdk/aws-models/acm-pca.json +++ b/codegen/sdk/aws-models/acm-pca.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.acmpca#ACMPrivateCA": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ACM PCA", - "arnNamespace": "acm-pca", - "cloudFormationName": "ACMPCA", - "cloudTrailEventSource": "acmpca.amazonaws.com", - "endpointPrefix": "acm-pca" - }, - "aws.auth#sigv4": { - "name": "acm-pca" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "This is the Certificate Manager Private Certificate Authority (PCA) API Reference. 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 a private certificate authority (CA) for your organization.
\n\t\tThe documentation for each action shows the API request parameters and the JSON\n\t\t\tresponse. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is\n\t\t\ttailored to the programming language or platform that you prefer. For more information,\n\t\t\tsee Amazon Web Services SDKs.
\n\t\tEach ACM Private CA API operation has a quota that determines the number of times the\n\t\t\toperation can be called per second. ACM Private CA throttles API requests at different rates\n\t\t\tdepending on the operation. Throttling means that ACM Private CA rejects an otherwise valid\n\t\t\trequest because the request exceeds the operation's quota for the number of requests per\n\t\t\tsecond. When a request is throttled, ACM Private CA returns a ThrottlingException error. ACM Private CA does not guarantee a minimum request\n\t\t\trate for APIs.
\n\t\tTo see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,\n\t\t\tlog into your Amazon Web Services account and visit the Service Quotas\n\t\t\tconsole.
", - "smithy.api#title": "AWS Certificate Manager Private Certificate Authority" - }, "version": "2017-08-22", "operations": [ { @@ -117,7 +102,22 @@ { "target": "com.amazonaws.acmpca#UpdateCertificateAuthority" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ACM PCA", + "arnNamespace": "acm-pca", + "cloudFormationName": "ACMPCA", + "cloudTrailEventSource": "acmpca.amazonaws.com", + "endpointPrefix": "acm-pca" + }, + "aws.auth#sigv4": { + "name": "acm-pca" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "This is the Certificate Manager Private Certificate Authority (PCA) API Reference. 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 a private certificate authority (CA) for your organization.
\n\t\tThe documentation for each action shows the API request parameters and the JSON\n\t\t\tresponse. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is\n\t\t\ttailored to the programming language or platform that you prefer. For more information,\n\t\t\tsee Amazon Web Services SDKs.
\n\t\tEach ACM Private CA API operation has a quota that determines the number of times the\n\t\t\toperation can be called per second. ACM Private CA throttles API requests at different rates\n\t\t\tdepending on the operation. Throttling means that ACM Private CA rejects an otherwise valid\n\t\t\trequest because the request exceeds the operation's quota for the number of requests per\n\t\t\tsecond. When a request is throttled, ACM Private CA returns a ThrottlingException error. ACM Private CA does not guarantee a minimum request\n\t\t\trate for APIs.
\n\t\tTo see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,\n\t\t\tlog into your Amazon Web Services account and visit the Service Quotas\n\t\t\tconsole.
", + "smithy.api#title": "AWS Certificate Manager Private Certificate Authority" + } }, "com.amazonaws.acmpca#ASN1PrintableString64": { "type": "string", @@ -427,7 +427,10 @@ } }, "com.amazonaws.acmpca#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.acmpca#CertificateAuthorities": { "type": "list", @@ -909,7 +912,7 @@ "Enabled": { "target": "com.amazonaws.acmpca#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Boolean value that specifies whether certificate revocation lists (CRLs) are enabled.\n\t\t\tYou can use this value to enable certificate revocation for a new CA when you call the\n\t\t\t\tCreateCertificateAuthority action or for an existing CA when you call the\n\t\t\t\tUpdateCertificateAuthority action.
", "smithy.api#required": {} } @@ -917,7 +920,7 @@ "ExpirationInDays": { "target": "com.amazonaws.acmpca#Integer1To5000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Validity period of the CRL in days.
" } }, @@ -1030,7 +1033,7 @@ "Critical": { "target": "com.amazonaws.acmpca#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "\n\t\tSpecifies the critical flag of the X.509 extension.
" } } @@ -1894,7 +1897,6 @@ "com.amazonaws.acmpca#Integer1To5000": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5000 @@ -2130,54 +2132,63 @@ "DigitalSignature": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Key can be used for digital signing.
" } }, "NonRepudiation": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Key can be used for non-repudiation.
" } }, "KeyEncipherment": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Key can be used to encipher data.
" } }, "DataEncipherment": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Key can be used to decipher data.
" } }, "KeyAgreement": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Key can be used in a key-agreement protocol.
" } }, "KeyCertSign": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Key can be used to sign certificates.
" } }, "CRLSign": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Key can be used to sign CRLs.
" } }, "EncipherOnly": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Key can be used only to encipher data.
" } }, "DecipherOnly": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Key can be used only to decipher data.
" } } @@ -2446,7 +2457,6 @@ "com.amazonaws.acmpca#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2468,7 +2478,7 @@ "Enabled": { "target": "com.amazonaws.acmpca#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating\n\t\t\tcertificate revocation status.
", "smithy.api#required": {} } @@ -2509,7 +2519,6 @@ "com.amazonaws.acmpca#PermanentDeletionTimeInDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 7, "max": 30 @@ -2652,7 +2661,6 @@ "com.amazonaws.acmpca#PositiveLong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3350,7 +3358,7 @@ "Value": { "target": "com.amazonaws.acmpca#PositiveLong", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "A long integer interpreted according to the value of Type, below.
Linking support for a skill.
" } }, @@ -7704,6 +7696,7 @@ "SupportsLinking": { "target": "com.amazonaws.alexaforbusiness#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Linking support for a skill.
" } } @@ -8089,7 +8082,6 @@ "com.amazonaws.alexaforbusiness#TimeToLiveInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 3600 @@ -8106,10 +8098,7 @@ } }, "com.amazonaws.alexaforbusiness#TotalCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.alexaforbusiness#TrustAnchor": { "type": "string", diff --git a/codegen/sdk/aws-models/amp.json b/codegen/sdk/aws-models/amp.json index 929f4c440ea..cfe4d05bd4b 100644 --- a/codegen/sdk/aws-models/amp.json +++ b/codegen/sdk/aws-models/amp.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.amp#AccessDeniedException": { "type": "structure", @@ -147,6 +147,23 @@ }, "com.amazonaws.amp#AmazonPrometheusService": { "type": "service", + "version": "2020-08-01", + "operations": [ + { + "target": "com.amazonaws.amp#ListTagsForResource" + }, + { + "target": "com.amazonaws.amp#TagResource" + }, + { + "target": "com.amazonaws.amp#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.amp#Workspace" + } + ], "traits": { "aws.api#service": { "sdkId": "amp", @@ -182,24 +199,7 @@ }, "smithy.api#documentation": "Amazon Managed Service for Prometheus", "smithy.api#title": "Amazon Prometheus Service" - }, - "version": "2020-08-01", - "operations": [ - { - "target": "com.amazonaws.amp#ListTagsForResource" - }, - { - "target": "com.amazonaws.amp#TagResource" - }, - { - "target": "com.amazonaws.amp#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.amp#Workspace" - } - ] + } }, "com.amazonaws.amp#ConflictException": { "type": "structure", @@ -2817,4 +2817,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/amplify.json b/codegen/sdk/aws-models/amplify.json index e5fdcd00ad7..5a64aa01416 100644 --- a/codegen/sdk/aws-models/amplify.json +++ b/codegen/sdk/aws-models/amplify.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -51,24 +51,6 @@ }, "com.amazonaws.amplify#Amplify": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Amplify", - "arnNamespace": "amplify", - "cloudFormationName": "Amplify", - "cloudTrailEventSource": "amplify.amazonaws.com", - "endpointPrefix": "amplify" - }, - "aws.auth#sigv4": { - "name": "amplify" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amplify enables developers to develop and deploy cloud-powered mobile and web apps.\n The Amplify Console provides a continuous delivery and hosting service for web\n applications. For more information, see the Amplify Console User Guide. The\n Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation\n for client app development. For more information, see the Amplify Framework.\n
", - "smithy.api#title": "AWS Amplify", - "smithy.api#xmlNamespace": { - "uri": "http://amplify.amazonaws.com" - } - }, "version": "2017-07-25", "operations": [ { @@ -182,7 +164,25 @@ { "target": "com.amazonaws.amplify#UpdateWebhook" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Amplify", + "arnNamespace": "amplify", + "cloudFormationName": "Amplify", + "cloudTrailEventSource": "amplify.amazonaws.com", + "endpointPrefix": "amplify" + }, + "aws.auth#sigv4": { + "name": "amplify" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amplify enables developers to develop and deploy cloud-powered mobile and web apps.\n The Amplify Console provides a continuous delivery and hosting service for web\n applications. For more information, see the Amplify Console User Guide. The\n Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation\n for client app development. For more information, see the Amplify Framework.\n
", + "smithy.api#title": "AWS Amplify", + "smithy.api#xmlNamespace": { + "uri": "http://amplify.amazonaws.com" + } + } }, "com.amazonaws.amplify#App": { "type": "structure", @@ -2331,58 +2331,31 @@ } }, "com.amazonaws.amplify#EnableAutoBranchCreation": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnableAutoBuild": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnableAutoSubDomain": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnableBasicAuth": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnableBranchAutoBuild": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnableBranchAutoDeletion": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnableNotification": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnablePerformanceMode": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnablePullRequestPreview": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EndTime": { "type": "timestamp" @@ -3290,6 +3263,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#httpQuery": "maxResults" } @@ -3388,6 +3362,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#httpQuery": "maxResults" } @@ -3474,6 +3449,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#httpQuery": "maxResults" } @@ -3553,6 +3529,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#httpQuery": "maxResults" } @@ -3632,6 +3609,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#httpQuery": "maxResults" } @@ -3722,6 +3700,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#httpQuery": "maxResults" } @@ -3862,6 +3841,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of records to list in a single response.
", "smithy.api#httpQuery": "maxResults" } @@ -3914,6 +3894,7 @@ "com.amazonaws.amplify#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5387,10 +5368,7 @@ } }, "com.amazonaws.amplify#Verified": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#Webhook": { "type": "structure", diff --git a/codegen/sdk/aws-models/amplifybackend.json b/codegen/sdk/aws-models/amplifybackend.json index aec56f580a5..7e205989a21 100644 --- a/codegen/sdk/aws-models/amplifybackend.json +++ b/codegen/sdk/aws-models/amplifybackend.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -54,21 +54,6 @@ }, "com.amazonaws.amplifybackend#AmplifyBackend": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "AmplifyBackend", - "arnNamespace": "amplifybackend", - "cloudFormationName": "AmplifyBackend", - "cloudTrailEventSource": "amplifybackend.amazonaws.com", - "endpointPrefix": "amplifybackend" - }, - "aws.auth#sigv4": { - "name": "amplifybackend" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "AWS Amplify Admin API
", - "smithy.api#title": "AmplifyBackend" - }, "version": "2020-08-11", "operations": [ { @@ -164,7 +149,22 @@ { "target": "com.amazonaws.amplifybackend#UpdateBackendStorage" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "AmplifyBackend", + "arnNamespace": "amplifybackend", + "cloudFormationName": "AmplifyBackend", + "cloudTrailEventSource": "amplifybackend.amazonaws.com", + "endpointPrefix": "amplifybackend" + }, + "aws.auth#sigv4": { + "name": "amplifybackend" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "AWS Amplify Admin API
", + "smithy.api#title": "AmplifyBackend" + } }, "com.amazonaws.amplifybackend#AuthResources": { "type": "string", @@ -220,6 +220,7 @@ "ExpirationTime": { "target": "com.amazonaws.amplifybackend#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data models.
", "smithy.api#jsonName": "expirationTime" } @@ -849,6 +850,7 @@ "UnauthenticatedLogin": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to true or false based on whether you want to enable guest authorization to your Amplify app.
", "smithy.api#jsonName": "unauthenticatedLogin", "smithy.api#required": {} @@ -948,6 +950,7 @@ "MinimumLength": { "target": "com.amazonaws.amplifybackend#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum length of the password used to access the backend of your Amplify project.
", "smithy.api#jsonName": "minimumLength", "smithy.api#required": {} @@ -2061,6 +2064,7 @@ "IsSuccess": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the request succeeded or failed.
", "smithy.api#jsonName": "isSuccess" } @@ -2832,6 +2836,7 @@ "Imported": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Returns True if the storage resource has been imported.
", "smithy.api#jsonName": "imported", "smithy.api#required": {} @@ -3271,6 +3276,7 @@ "MaxResults": { "target": "com.amazonaws.amplifybackend#__integerMin1Max25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results that you want in the response.
", "smithy.api#jsonName": "maxResults" } @@ -3649,6 +3655,7 @@ "CleanAmplifyApp": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Cleans up the Amplify Console app if this value is set to true.
", "smithy.api#jsonName": "cleanAmplifyApp" } @@ -4224,6 +4231,7 @@ "UnauthenticatedLogin": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value that can be set to allow or disallow guest-level authorization into your Amplify app.
", "smithy.api#jsonName": "unauthenticatedLogin" } @@ -4317,6 +4325,7 @@ "MinimumLength": { "target": "com.amazonaws.amplifybackend#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes the minimum length of the password required to sign in to the auth resource, configured as a part of your Amplify project.
", "smithy.api#jsonName": "minimumLength" } @@ -4879,14 +4888,21 @@ } }, "com.amazonaws.amplifybackend#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.amplifybackend#__double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.amplifybackend#__integerMin1Max25": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 diff --git a/codegen/sdk/aws-models/amplifyuibuilder.json b/codegen/sdk/aws-models/amplifyuibuilder.json index 726c091e7c8..b1e6e923c1f 100644 --- a/codegen/sdk/aws-models/amplifyuibuilder.json +++ b/codegen/sdk/aws-models/amplifyuibuilder.json @@ -4196,4 +4196,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/api-gateway.json b/codegen/sdk/aws-models/api-gateway.json index 7affe774475..927dcbcaef0 100644 --- a/codegen/sdk/aws-models/api-gateway.json +++ b/codegen/sdk/aws-models/api-gateway.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -117,6 +117,7 @@ "enabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the API Key can be used by callers.
" } }, @@ -361,21 +362,6 @@ }, "com.amazonaws.apigateway#BackplaneControlService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "API Gateway", - "arnNamespace": "apigateway", - "cloudFormationName": "ApiGateway", - "cloudTrailEventSource": "apigateway.amazonaws.com", - "endpointPrefix": "apigateway" - }, - "aws.auth#sigv4": { - "name": "apigateway" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.
", - "smithy.api#title": "Amazon API Gateway" - }, "version": "2015-07-09", "operations": [ { @@ -738,7 +724,22 @@ { "target": "com.amazonaws.apigateway#UpdateVpcLink" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "API Gateway", + "arnNamespace": "apigateway", + "cloudFormationName": "ApiGateway", + "cloudTrailEventSource": "apigateway.amazonaws.com", + "endpointPrefix": "apigateway" + }, + "aws.auth#sigv4": { + "name": "apigateway" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.
", + "smithy.api#title": "Amazon API Gateway" + } }, "com.amazonaws.apigateway#BadRequestException": { "type": "structure", @@ -805,7 +806,10 @@ "type": "blob" }, "com.amazonaws.apigateway#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.apigateway#CacheClusterSize": { "type": "string", @@ -881,6 +885,7 @@ "percentTraffic": { "target": "com.amazonaws.apigateway#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percent (0-100) of traffic diverted to a canary deployment.
" } }, @@ -899,6 +904,7 @@ "useStageCache": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
" } } @@ -1071,12 +1077,14 @@ "enabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the ApiKey can be used by callers.
" } }, "generateDistinctId": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether (true) or not (false) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.
A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false).
A Boolean flag to indicate whether to validate request parameters, true, or not false.
Specifies whether clients can invoke your API by using the default execute-api endpoint.\n By default, clients can invoke your API with the default\n https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a\n custom domain name to invoke your API, disable the default endpoint
Whether cache clustering is enabled for the stage.
" } }, @@ -2079,6 +2091,7 @@ "tracingEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether active tracing with X-ray is enabled for the Stage.
" } }, @@ -3569,6 +3582,7 @@ "percentTraffic": { "target": "com.amazonaws.apigateway#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage (0.0-100.0) of traffic routed to the canary deployment.
" } }, @@ -3581,6 +3595,7 @@ "useStageCache": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
" } } @@ -3987,7 +4002,10 @@ } }, "com.amazonaws.apigateway#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.apigateway#EndpointConfiguration": { "type": "structure", @@ -4210,6 +4228,7 @@ "defaultResponse": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.
A query parameter of a Boolean value to resolve (true) all external model references and returns a flattened model schema or not (false) The default is false.
A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered.
A query parameter to specify whether to rollback the documentation importation (true) or not (false) when a warning is encountered. The default value is false.
A query parameter to indicate whether to rollback the API creation (true) or not (false)\n when a warning is encountered. The default value is false.
Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.
" } }, @@ -7772,7 +7799,10 @@ } }, "com.amazonaws.apigateway#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.apigateway#MapOfApiStageThrottleSettings": { "type": "map", @@ -7970,6 +8000,7 @@ "metricsEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is /{method_setting_key}/metrics/enabled, and the value is a Boolean.
Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/dataTrace, and the value is a Boolean.
Specifies the throttling burst limit. The PATCH path for this setting is /{method_setting_key}/throttling/burstLimit, and the value is an integer.
Specifies the throttling rate limit. The PATCH path for this setting is /{method_setting_key}/throttling/rateLimit, and the value is a double.
Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is /{method_setting_key}/caching/enabled, and the value is a Boolean.
Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is /{method_setting_key}/caching/ttlInSeconds, and the value is an integer.
Specifies whether the cached responses are encrypted. The PATCH path for this setting is /{method_setting_key}/caching/dataEncrypted, and the value is a Boolean.
Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is /{method_setting_key}/caching/requireAuthorizationForCacheControl, and the value is a Boolean.
Specifies whether the method requires a valid ApiKey.
" } } @@ -8172,16 +8211,10 @@ } }, "com.amazonaws.apigateway#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.apigateway#NullableInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.apigateway#Op": { "type": "string", @@ -8671,6 +8704,7 @@ "apiKeyRequired": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the method required a valid ApiKey.
" } }, @@ -8871,6 +8905,7 @@ "failOnWarnings": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A query parameter to indicate whether to rollback the API update (true) or not (false)\n when a warning is encountered. The default value is false.
The target maximum number of requests that can be made in a given time period.
" } }, "offset": { "target": "com.amazonaws.apigateway#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of requests subtracted from the given limit in the initial time period.
" } }, @@ -8958,12 +8995,14 @@ "validateRequestBody": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
" } }, "validateRequestParameters": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean flag to indicate whether to validate request parameters (true) or not (false).
Specifies whether clients can invoke your API by using the default execute-api endpoint.\n By default, clients can invoke your API with the default\n https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a\n custom domain name to invoke your API, disable the default endpoint.
A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true) or not (false).
Specifies whether a cache cluster is enabled for the stage.
" } }, @@ -9388,6 +9430,7 @@ "tracingEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether active tracing with X-ray is enabled for the Stage.
" } }, @@ -9649,6 +9692,7 @@ "clientStatus": { "target": "com.amazonaws.apigateway#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.
" } }, @@ -9661,6 +9705,7 @@ "latency": { "target": "com.amazonaws.apigateway#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The execution latency of the test authorizer request.
" } }, @@ -9798,6 +9843,7 @@ "status": { "target": "com.amazonaws.apigateway#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status code.
" } }, @@ -9828,6 +9874,7 @@ "latency": { "target": "com.amazonaws.apigateway#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The execution latency of the test invoke request.
" } } @@ -9842,12 +9889,14 @@ "burstLimit": { "target": "com.amazonaws.apigateway#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.
" } }, "rateLimit": { "target": "com.amazonaws.apigateway#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The API target request rate limit.
" } } @@ -9865,6 +9914,7 @@ "insecureSkipVerification": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is\n issued by a supported certificate authority. This isn’t recommended, but it enables you to\n use certificates that are signed by private certificate authorities, or certificates\n that are self-signed. If enabled, API Gateway still performs basic certificate\n validation, which includes checking the certificate's expiration date, hostname, and\n presence of a root certificate authority. Supported only for HTTP and\n HTTP_PROXY integrations.
Enabling insecureSkipVerification isn't recommended, especially for integrations with public\n HTTPS endpoints. If you enable insecureSkipVerification, you increase the risk of man-in-the-middle attacks.
Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -121,6 +122,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Avoid validating models when creating a deployment. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "disableSchemaValidation" } @@ -128,6 +130,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -530,6 +533,7 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
", "smithy.api#jsonName": "authorizerResultTtlInSeconds" } @@ -551,6 +555,7 @@ "EnableSimpleResponses": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs
", "smithy.api#jsonName": "enableSimpleResponses" } @@ -677,6 +682,7 @@ "AllowCredentials": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether credentials are included in the CORS request. Supported only for HTTP APIs.
", "smithy.api#jsonName": "allowCredentials" } @@ -712,6 +718,7 @@ "MaxAge": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetweenMinus1And86400", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds that the browser should cache preflight request results. Supported only for HTTP APIs.
", "smithy.api#jsonName": "maxAge" } @@ -916,6 +923,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Avoid validating models when creating a deployment. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "disableSchemaValidation" } @@ -923,6 +931,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -996,6 +1005,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -1038,6 +1048,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Avoid validating models when creating a deployment. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "disableSchemaValidation" } @@ -1045,6 +1056,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -1159,6 +1171,7 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
", "smithy.api#jsonName": "authorizerResultTtlInSeconds" } @@ -1181,6 +1194,7 @@ "EnableSimpleResponses": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs
", "smithy.api#jsonName": "enableSimpleResponses" } @@ -1247,6 +1261,7 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
", "smithy.api#jsonName": "authorizerResultTtlInSeconds" } @@ -1268,6 +1283,7 @@ "EnableSimpleResponses": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs
", "smithy.api#jsonName": "enableSimpleResponses" } @@ -1369,6 +1385,7 @@ "AutoDeployed": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a deployment was automatically released.
", "smithy.api#jsonName": "autoDeployed" } @@ -1672,6 +1689,7 @@ "TimeoutInMillis": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
", "smithy.api#jsonName": "timeoutInMillis" } @@ -1832,6 +1850,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an integration is managed by API Gateway. If you created an API using using quick create, the resulting integration is managed by API Gateway. You can update a managed integration, but you can't delete it.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -1958,6 +1977,7 @@ "TimeoutInMillis": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
", "smithy.api#jsonName": "timeoutInMillis" } @@ -2133,6 +2153,7 @@ "ApiKeyRequired": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an API key is required for the route. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "apiKeyRequired" } @@ -2343,6 +2364,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -2350,6 +2372,7 @@ "ApiKeyRequired": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an API key is required for this route. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "apiKeyRequired" } @@ -2485,6 +2508,7 @@ "AutoDeploy": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
", "smithy.api#jsonName": "autoDeploy" } @@ -2564,6 +2588,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -2571,6 +2596,7 @@ "AutoDeploy": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
", "smithy.api#jsonName": "autoDeploy" } @@ -2790,6 +2816,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteAccessLogSettingsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -2833,6 +2862,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteApiRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -2855,6 +2887,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteApiMappingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#BadRequestException" @@ -2914,6 +2949,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteAuthorizerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -2957,6 +2995,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteCorsConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -2992,6 +3033,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteDeploymentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3035,6 +3079,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteDomainNameRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3070,6 +3117,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteIntegrationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3113,6 +3163,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteIntegrationResponseRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3164,6 +3217,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteModelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3207,6 +3263,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteRouteRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3250,6 +3309,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteRouteRequestParameterRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3301,6 +3363,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteRouteResponseRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3352,6 +3417,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteRouteSettingsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3403,6 +3471,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteStageRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3489,6 +3560,7 @@ "AutoDeployed": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a deployment was automatically released.
", "smithy.api#jsonName": "autoDeployed" } @@ -3772,6 +3844,7 @@ "IncludeExtensions": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
", "smithy.api#httpQuery": "includeExtensions" } @@ -4025,6 +4098,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -4067,6 +4141,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Avoid validating models when creating a deployment. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "disableSchemaValidation" } @@ -4074,6 +4149,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -4268,6 +4344,7 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
", "smithy.api#jsonName": "authorizerResultTtlInSeconds" } @@ -4289,6 +4366,7 @@ "EnableSimpleResponses": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs
", "smithy.api#jsonName": "enableSimpleResponses" } @@ -4449,6 +4527,7 @@ "AutoDeployed": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a deployment was automatically released.
", "smithy.api#jsonName": "autoDeployed" } @@ -4943,6 +5022,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an integration is managed by API Gateway. If you created an API using using quick create, the resulting integration is managed by API Gateway. You can update a managed integration, but you can't delete it.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -5069,6 +5149,7 @@ "TimeoutInMillis": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
", "smithy.api#jsonName": "timeoutInMillis" } @@ -5602,6 +5683,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -5609,6 +5691,7 @@ "ApiKeyRequired": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an API key is required for this route. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "apiKeyRequired" } @@ -5825,6 +5908,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -5832,6 +5916,7 @@ "AutoDeploy": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
", "smithy.api#jsonName": "autoDeploy" } @@ -6280,6 +6365,7 @@ "FailOnWarnings": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
", "smithy.api#httpQuery": "failOnWarnings" } @@ -6302,6 +6388,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -6344,6 +6431,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Avoid validating models when creating a deployment. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "disableSchemaValidation" } @@ -6351,6 +6439,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -6409,6 +6498,7 @@ "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer with a value between [0-3600].
", "smithy.api#range": { "min": 0, @@ -6419,6 +6509,7 @@ "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer with a value between [50-30000].
", "smithy.api#range": { "min": 50, @@ -6429,6 +6520,7 @@ "com.amazonaws.apigatewayv2#IntegerWithLengthBetweenMinus1And86400": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer with a value between -1 and 86400. Supported only for HTTP APIs.
", "smithy.api#range": { "min": -1, @@ -6442,6 +6534,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an integration is managed by API Gateway. If you created an API using using quick create, the resulting integration is managed by API Gateway. You can update a managed integration, but you can't delete it.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -6568,6 +6661,7 @@ "TimeoutInMillis": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
", "smithy.api#jsonName": "timeoutInMillis" } @@ -6842,6 +6936,7 @@ "Required": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether or not the parameter is required.
", "smithy.api#jsonName": "required" } @@ -6947,6 +7042,7 @@ "FailOnWarnings": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
", "smithy.api#httpQuery": "failOnWarnings" } @@ -6969,6 +7065,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -7011,6 +7108,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Avoid validating models when creating a deployment. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "disableSchemaValidation" } @@ -7018,6 +7116,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -7078,6 +7177,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#ResetAuthorizersCacheRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -7134,6 +7236,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -7141,6 +7244,7 @@ "ApiKeyRequired": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an API key is required for this route. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "apiKeyRequired" } @@ -7302,6 +7406,7 @@ "DataTraceEnabled": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "dataTraceEnabled" } @@ -7309,6 +7414,7 @@ "DetailedMetricsEnabled": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether detailed metrics are enabled.
", "smithy.api#jsonName": "detailedMetricsEnabled" } @@ -7323,6 +7429,7 @@ "ThrottlingBurstLimit": { "target": "com.amazonaws.apigatewayv2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the throttling burst limit.
", "smithy.api#jsonName": "throttlingBurstLimit" } @@ -7330,6 +7437,7 @@ "ThrottlingRateLimit": { "target": "com.amazonaws.apigatewayv2#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the throttling rate limit.
", "smithy.api#jsonName": "throttlingRateLimit" } @@ -7401,6 +7509,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -7408,6 +7517,7 @@ "AutoDeploy": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
", "smithy.api#jsonName": "autoDeploy" } @@ -7711,6 +7821,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#BadRequestException" @@ -7938,6 +8051,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Avoid validating models when creating a deployment. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "disableSchemaValidation" } @@ -7945,6 +8059,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -8002,6 +8117,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -8044,6 +8160,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Avoid validating models when creating a deployment. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "disableSchemaValidation" } @@ -8051,6 +8168,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -8173,6 +8291,7 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
", "smithy.api#jsonName": "authorizerResultTtlInSeconds" } @@ -8194,6 +8313,7 @@ "EnableSimpleResponses": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs
", "smithy.api#jsonName": "enableSimpleResponses" } @@ -8258,6 +8378,7 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
", "smithy.api#jsonName": "authorizerResultTtlInSeconds" } @@ -8279,6 +8400,7 @@ "EnableSimpleResponses": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs
", "smithy.api#jsonName": "enableSimpleResponses" } @@ -8381,6 +8503,7 @@ "AutoDeployed": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a deployment was automatically released.
", "smithy.api#jsonName": "autoDeployed" } @@ -8681,6 +8804,7 @@ "TimeoutInMillis": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
", "smithy.api#jsonName": "timeoutInMillis" } @@ -8848,6 +8972,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an integration is managed by API Gateway. If you created an API using using quick create, the resulting integration is managed by API Gateway. You can update a managed integration, but you can't delete it.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -8974,6 +9099,7 @@ "TimeoutInMillis": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
", "smithy.api#jsonName": "timeoutInMillis" } @@ -9155,6 +9281,7 @@ "ApiKeyRequired": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an API key is required for the route. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "apiKeyRequired" } @@ -9379,6 +9506,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -9386,6 +9514,7 @@ "ApiKeyRequired": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an API key is required for this route. Supported only for WebSocket APIs.
", "smithy.api#jsonName": "apiKeyRequired" } @@ -9521,6 +9650,7 @@ "AutoDeploy": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
", "smithy.api#jsonName": "autoDeploy" } @@ -9593,6 +9723,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
", "smithy.api#jsonName": "apiGatewayManaged" } @@ -9600,6 +9731,7 @@ "AutoDeploy": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
", "smithy.api#jsonName": "autoDeploy" } @@ -9924,13 +10056,22 @@ } }, "com.amazonaws.apigatewayv2#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.apigatewayv2#__double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.apigatewayv2#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.apigatewayv2#__listOfApi": { "type": "list", diff --git a/codegen/sdk/aws-models/app-mesh.json b/codegen/sdk/aws-models/app-mesh.json index a0ea0999c0e..464403784fc 100644 --- a/codegen/sdk/aws-models/app-mesh.json +++ b/codegen/sdk/aws-models/app-mesh.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.appmesh#AccessLog": { "type": "union", @@ -26,22 +26,6 @@ }, "com.amazonaws.appmesh#AppMesh": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "App Mesh", - "arnNamespace": "appmesh", - "cloudFormationName": "AppMesh", - "cloudTrailEventSource": "appmesh.amazonaws.com", - "endpointPrefix": "appmesh" - }, - "aws.auth#sigv4": { - "name": "appmesh" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "App Mesh is a service mesh based on the Envoy proxy that makes it easy to\n monitor and control microservices. App Mesh standardizes how your microservices\n communicate, giving you end-to-end visibility and helping to ensure high availability for\n your applications.
\nApp Mesh gives you consistent visibility and network traffic controls for\n every microservice in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, Amazon EKS, Kubernetes on Amazon Web Services, and\n Amazon EC2.
\nApp Mesh supports microservice applications that use service discovery\n naming for their components. For more information about service discovery on Amazon ECS, see Service\n Discovery in the Amazon Elastic Container Service Developer Guide. Kubernetes\n kube-dns and coredns are supported. For more information,\n see DNS\n for Services and Pods in the Kubernetes documentation.
App Mesh is a service mesh based on the Envoy proxy that makes it easy to\n monitor and control microservices. App Mesh standardizes how your microservices\n communicate, giving you end-to-end visibility and helping to ensure high availability for\n your applications.
\nApp Mesh gives you consistent visibility and network traffic controls for\n every microservice in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, Amazon EKS, Kubernetes on Amazon Web Services, and\n Amazon EC2.
\nApp Mesh supports microservice applications that use service discovery\n naming for their components. For more information about service discovery on Amazon ECS, see Service\n Discovery in the Amazon Elastic Container Service Developer Guide. Kubernetes\n kube-dns and coredns are supported. For more information,\n see DNS\n for Services and Pods in the Kubernetes documentation.
Whether the policy is enforced. The default is True, if a value isn't specified.
The destination port for the health check request. This port must match the port defined\n in the PortMapping for the listener.
" } }, @@ -3285,6 +3283,7 @@ "healthyThreshold": { "target": "com.amazonaws.appmesh#HealthCheckThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of consecutive successful health checks that must occur before declaring\n listener healthy.
", "smithy.api#required": {} } @@ -3292,6 +3291,7 @@ "unhealthyThreshold": { "target": "com.amazonaws.appmesh#HealthCheckThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of consecutive failed health checks that must occur before declaring a\n virtual node unhealthy.
", "smithy.api#required": {} } @@ -3304,6 +3304,7 @@ "com.amazonaws.appmesh#HealthCheckThreshold": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 10 @@ -3313,7 +3314,6 @@ "com.amazonaws.appmesh#HealthCheckTimeoutMillis": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2000, "max": 60000 @@ -4051,7 +4051,6 @@ "com.amazonaws.appmesh#ListGatewayRoutesLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4145,7 +4144,6 @@ "com.amazonaws.appmesh#ListMeshesLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4265,7 +4263,6 @@ "com.amazonaws.appmesh#ListRoutesLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4472,7 +4469,6 @@ "com.amazonaws.appmesh#ListVirtualGatewaysLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4581,7 +4577,6 @@ "com.amazonaws.appmesh#ListVirtualNodesLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4693,7 +4688,6 @@ "com.amazonaws.appmesh#ListVirtualRoutersLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4805,7 +4799,6 @@ "com.amazonaws.appmesh#ListVirtualServicesLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4881,7 +4874,6 @@ "com.amazonaws.appmesh#ListenerPort": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65535 @@ -5151,6 +5143,7 @@ "com.amazonaws.appmesh#MaxConnections": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -5159,6 +5152,7 @@ "com.amazonaws.appmesh#MaxPendingRequests": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -5167,6 +5161,7 @@ "com.amazonaws.appmesh#MaxRequests": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -5175,7 +5170,6 @@ "com.amazonaws.appmesh#MaxRetries": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -5455,7 +5449,6 @@ "com.amazonaws.appmesh#OutlierDetectionMaxEjectionPercent": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -5465,7 +5458,6 @@ "com.amazonaws.appmesh#OutlierDetectionMaxServerErrors": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5474,6 +5466,7 @@ "com.amazonaws.appmesh#PercentInt": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5486,6 +5479,7 @@ "port": { "target": "com.amazonaws.appmesh#PortNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port used for the port mapping.
", "smithy.api#required": {} } @@ -5505,6 +5499,7 @@ "com.amazonaws.appmesh#PortNumber": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -5535,11 +5530,13 @@ } }, "com.amazonaws.appmesh#PortSet": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.appmesh#PortNumber" }, - "traits": {} + "traits": { + "smithy.api#uniqueItems": {} + } }, "com.amazonaws.appmesh#QueryParameterMatch": { "type": "structure", @@ -5738,7 +5735,6 @@ "com.amazonaws.appmesh#RoutePriority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000 @@ -6123,7 +6119,6 @@ "com.amazonaws.appmesh#TagsLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -7242,7 +7237,7 @@ "enforce": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Whether the policy is enforced. The default is True, if a value isn't\n specified.
Maximum number of inflight requests Envoy can concurrently support across hosts in\n upstream cluster.
", "smithy.api#required": {} } @@ -7402,7 +7398,6 @@ "com.amazonaws.appmesh#VirtualGatewayHealthCheckIntervalMillis": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5000, "max": 300000 @@ -7436,6 +7431,7 @@ "port": { "target": "com.amazonaws.appmesh#PortNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The destination port for the health check request. This port must match the port defined\n in the PortMapping for the listener.
" } }, @@ -7448,6 +7444,7 @@ "healthyThreshold": { "target": "com.amazonaws.appmesh#VirtualGatewayHealthCheckThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of consecutive successful health checks that must occur before declaring the\n listener healthy.
", "smithy.api#required": {} } @@ -7455,6 +7452,7 @@ "unhealthyThreshold": { "target": "com.amazonaws.appmesh#VirtualGatewayHealthCheckThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of consecutive failed health checks that must occur before declaring a\n virtual gateway unhealthy.
", "smithy.api#required": {} } @@ -7467,6 +7465,7 @@ "com.amazonaws.appmesh#VirtualGatewayHealthCheckThreshold": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 10 @@ -7476,7 +7475,6 @@ "com.amazonaws.appmesh#VirtualGatewayHealthCheckTimeoutMillis": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2000, "max": 60000 @@ -7489,6 +7487,7 @@ "maxRequests": { "target": "com.amazonaws.appmesh#MaxRequests", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of inflight requests Envoy can concurrently support across hosts in\n upstream cluster.
", "smithy.api#required": {} } @@ -7504,6 +7503,7 @@ "maxConnections": { "target": "com.amazonaws.appmesh#MaxConnections", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of outbound TCP connections Envoy can establish concurrently with all\n hosts in upstream cluster.
", "smithy.api#required": {} } @@ -7511,7 +7511,7 @@ "maxPendingRequests": { "target": "com.amazonaws.appmesh#MaxPendingRequests", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Number of overflowing requests after max_connections Envoy will queue to\n upstream cluster.
The port used for the port mapping. Specify one protocol.
", "smithy.api#required": {} } @@ -8123,6 +8124,7 @@ "maxRequests": { "target": "com.amazonaws.appmesh#MaxRequests", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of inflight requests Envoy can concurrently support across hosts in\n upstream cluster.
", "smithy.api#required": {} } @@ -8138,6 +8140,7 @@ "maxRequests": { "target": "com.amazonaws.appmesh#MaxRequests", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of inflight requests Envoy can concurrently support across hosts in\n upstream cluster.
", "smithy.api#required": {} } @@ -8153,6 +8156,7 @@ "maxConnections": { "target": "com.amazonaws.appmesh#MaxConnections", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of outbound TCP connections Envoy can establish concurrently with all\n hosts in upstream cluster.
", "smithy.api#required": {} } @@ -8160,7 +8164,7 @@ "maxPendingRequests": { "target": "com.amazonaws.appmesh#MaxPendingRequests", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Number of overflowing requests after max_connections Envoy will queue to\n upstream cluster.
Maximum number of outbound TCP connections Envoy can establish concurrently with all\n hosts in upstream cluster.
", "smithy.api#required": {} } @@ -8834,6 +8839,7 @@ "weight": { "target": "com.amazonaws.appmesh#PercentInt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The relative weight of the weighted target.
", "smithy.api#required": {} } @@ -8862,4 +8868,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/appconfig.json b/codegen/sdk/aws-models/appconfig.json index 583aff6342f..fa39b8d316c 100644 --- a/codegen/sdk/aws-models/appconfig.json +++ b/codegen/sdk/aws-models/appconfig.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -181,21 +181,6 @@ }, "com.amazonaws.appconfig#AmazonAppConfig": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "AppConfig", - "arnNamespace": "appconfig", - "cloudFormationName": "AppConfig", - "cloudTrailEventSource": "appconfig.amazonaws.com", - "endpointPrefix": "appconfig" - }, - "aws.auth#sigv4": { - "name": "appconfig" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, and quickly\n deploy application configurations. AppConfig supports controlled deployments to\n applications of any size and includes built-in validation checks and monitoring. You can\n use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers,\n mobile applications, or IoT devices.
\nTo prevent errors when deploying application configurations, especially for production\n systems where a simple typo could cause an unexpected outage, AppConfig includes\n validators. A validator provides a syntactic or semantic check to ensure that the\n configuration you want to deploy works as intended. To validate your application\n configuration data, you provide a schema or an Amazon Web Services Lambda function that runs against\n the configuration. The configuration deployment or update can only proceed when the\n configuration data is valid.
\nDuring a configuration deployment, AppConfig monitors the application to\n ensure that the deployment is successful. If the system encounters an error, AppConfig rolls back the change to minimize impact for your application users. You can\n configure a deployment strategy for each application or environment that includes\n deployment criteria, including velocity, bake time, and alarms to monitor. Similar to error\n monitoring, if a deployment triggers an alarm, AppConfig automatically rolls back\n to the previous version.
\nAppConfig supports multiple use cases. Here are some examples:
\n\n Feature flags: Use AppConfig to turn on\n new features that require a timely deployment, such as a product launch or\n announcement.
\n\n Application tuning: Use AppConfig to\n carefully introduce changes to your application that can only be tested with\n production traffic.
\n\n Allow list: Use AppConfig to allow\n premium subscribers to access paid content.
\n\n Operational issues: Use AppConfig to\n reduce stress on your application when a dependency or other external factor impacts\n the system.
\nThis reference is intended to be used with the AppConfig User\n Guide.
", - "smithy.api#title": "Amazon AppConfig" - }, "version": "2019-10-09", "operations": [ { @@ -327,7 +312,22 @@ { "target": "com.amazonaws.appconfig#ValidateConfiguration" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "AppConfig", + "arnNamespace": "appconfig", + "cloudFormationName": "AppConfig", + "cloudTrailEventSource": "appconfig.amazonaws.com", + "endpointPrefix": "appconfig" + }, + "aws.auth#sigv4": { + "name": "appconfig" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, and quickly\n deploy application configurations. AppConfig supports controlled deployments to\n applications of any size and includes built-in validation checks and monitoring. You can\n use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers,\n mobile applications, or IoT devices.
\nTo prevent errors when deploying application configurations, especially for production\n systems where a simple typo could cause an unexpected outage, AppConfig includes\n validators. A validator provides a syntactic or semantic check to ensure that the\n configuration you want to deploy works as intended. To validate your application\n configuration data, you provide a schema or an Amazon Web Services Lambda function that runs against\n the configuration. The configuration deployment or update can only proceed when the\n configuration data is valid.
\nDuring a configuration deployment, AppConfig monitors the application to\n ensure that the deployment is successful. If the system encounters an error, AppConfig rolls back the change to minimize impact for your application users. You can\n configure a deployment strategy for each application or environment that includes\n deployment criteria, including velocity, bake time, and alarms to monitor. Similar to error\n monitoring, if a deployment triggers an alarm, AppConfig automatically rolls back\n to the previous version.
\nAppConfig supports multiple use cases. Here are some examples:
\n\n Feature flags: Use AppConfig to turn on\n new features that require a timely deployment, such as a product launch or\n announcement.
\n\n Application tuning: Use AppConfig to\n carefully introduce changes to your application that can only be tested with\n production traffic.
\n\n Allow list: Use AppConfig to allow\n premium subscribers to access paid content.
\n\n Operational issues: Use AppConfig to\n reduce stress on your application when a dependency or other external factor impacts\n the system.
\nThis reference is intended to be used with the AppConfig User\n Guide.
", + "smithy.api#title": "Amazon AppConfig" + } }, "com.amazonaws.appconfig#Application": { "type": "structure", @@ -393,6 +393,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The extension version number.
" } }, @@ -474,7 +475,10 @@ } }, "com.amazonaws.appconfig#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.appconfig#BytesMeasure": { "type": "string", @@ -830,7 +834,7 @@ "DeploymentDurationInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Total amount of time for a deployment to last.
", "smithy.api#required": {} } @@ -838,13 +842,14 @@ "FinalBakeTimeInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms after the\n configuration has been deployed to 100% of its targets, before considering the deployment\n to be complete. If an alarm is triggered during this time, AppConfig rolls back\n the deployment. You must configure permissions for AppConfig to roll back based\n on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the\n AppConfig User Guide.
" } }, "GrowthFactor": { "target": "com.amazonaws.appconfig#GrowthFactor", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The percentage of targets to receive a deployed configuration during each\n interval.
", "smithy.api#required": {} } @@ -1010,7 +1015,7 @@ "ExtensionVersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The version number of the extension. If not specified, AppConfig uses the\n maximum version of the extension.
" } }, @@ -1073,7 +1078,7 @@ "LatestVersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "You can omit this field when you create an extension. When you create a new version,\n specify the most recent current version number. For example, you create version 3, enter 2\n for this field.
", "smithy.api#httpHeader": "Latest-Version-Number" } @@ -1162,7 +1167,7 @@ "LatestVersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "An optional locking token used to prevent race conditions from overwriting configuration\n updates when creating a new version. To ensure your data is not overwritten when creating\n multiple hosted configuration versions in rapid succession, specify the version number of\n the latest hosted configuration version.
", "smithy.api#httpHeader": "Latest-Version-Number" } @@ -1438,7 +1443,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "A specific version of an extension to delete. If omitted, the highest version is\n deleted.
", "smithy.api#httpQuery": "version" } @@ -1495,6 +1500,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The versions number to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -1532,6 +1538,7 @@ "DeploymentNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The sequence number of the deployment.
" } }, @@ -1562,6 +1569,7 @@ "DeploymentDurationInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total amount of time the deployment lasted.
" } }, @@ -1574,12 +1582,14 @@ "GrowthFactor": { "target": "com.amazonaws.appconfig#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of targets to receive a deployed configuration during each\n interval.
" } }, "FinalBakeTimeInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time that AppConfig monitored for alarms before considering the\n deployment to be complete and no longer eligible for automatic rollback.
" } }, @@ -1598,6 +1608,7 @@ "PercentageComplete": { "target": "com.amazonaws.appconfig#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of targets for which the deployment is available.
" } }, @@ -1774,6 +1785,7 @@ "DeploymentDurationInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total amount of time the deployment lasted.
" } }, @@ -1786,12 +1798,14 @@ "GrowthFactor": { "target": "com.amazonaws.appconfig#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of targets that received a deployed configuration during each\n interval.
" } }, "FinalBakeTimeInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time that AppConfig monitored for alarms before considering the\n deployment to be complete and no longer eligible for automatic rollback.
" } }, @@ -1821,6 +1835,7 @@ "DeploymentNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The sequence number of the deployment.
" } }, @@ -1839,6 +1854,7 @@ "DeploymentDurationInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total amount of time the deployment lasted.
" } }, @@ -1851,12 +1867,14 @@ "GrowthFactor": { "target": "com.amazonaws.appconfig#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of targets to receive a deployed configuration during each\n interval.
" } }, "FinalBakeTimeInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time that AppConfig monitors for alarms before considering the\n deployment to be complete and no longer eligible for automatic rollback.
" } }, @@ -1869,6 +1887,7 @@ "PercentageComplete": { "target": "com.amazonaws.appconfig#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of targets for which the deployment is available.
" } }, @@ -2020,6 +2039,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The extension version number.
" } }, @@ -2085,6 +2105,7 @@ "ExtensionVersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number for the extension defined in the association.
" } } @@ -2163,6 +2184,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The extension version number.
" } }, @@ -2201,7 +2223,10 @@ } }, "com.amazonaws.appconfig#Float": { - "type": "float" + "type": "float", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.appconfig#GetApplication": { "type": "operation", @@ -2418,7 +2443,7 @@ "DeploymentNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The sequence number of the deployment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -2599,7 +2624,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The extension version number. If no version number was defined, AppConfig uses\n the highest version.
", "smithy.api#httpQuery": "version_number" } @@ -2656,6 +2681,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -2666,6 +2692,7 @@ "com.amazonaws.appconfig#GrowthFactor": { "type": "float", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1.0, "max": 100.0 @@ -2707,6 +2734,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The configuration version.
", "smithy.api#httpHeader": "Version-Number" } @@ -2752,6 +2780,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The configuration version.
" } }, @@ -2811,7 +2840,10 @@ } }, "com.amazonaws.appconfig#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.appconfig#InternalServerException": { "type": "structure", @@ -2912,7 +2944,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.
", "smithy.api#httpQuery": "max_results" } @@ -2973,7 +3005,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.
", "smithy.api#httpQuery": "max_results" } @@ -3030,7 +3062,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.
", "smithy.api#httpQuery": "max_results" } @@ -3099,7 +3131,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of items that may be returned for this call. If there are items that\n have not yet been returned, the response will include a non-null NextToken\n that you can provide in a subsequent call to get the next set of results.
The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.
", "smithy.api#httpQuery": "max_results" } @@ -3224,7 +3256,7 @@ "ExtensionVersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The version number for the extension defined in the association.
", "smithy.api#httpQuery": "extension_version_number" } @@ -3232,7 +3264,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.
", "smithy.api#httpQuery": "max_results" } @@ -3282,7 +3314,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.
", "smithy.api#httpQuery": "max_results" } @@ -3358,7 +3390,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.
", "smithy.api#httpQuery": "max_results" } @@ -3425,6 +3457,7 @@ "com.amazonaws.appconfig#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -3434,6 +3467,7 @@ "com.amazonaws.appconfig#MinutesBetween0And24Hours": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1440 @@ -3503,6 +3537,7 @@ "Required": { "target": "com.amazonaws.appconfig#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A parameter value must be specified in the extension association.
" } } @@ -3551,10 +3586,16 @@ "target": "com.amazonaws.appconfig#BytesMeasure" }, "Limit": { - "target": "com.amazonaws.appconfig#Float" + "target": "com.amazonaws.appconfig#Float", + "traits": { + "smithy.api#default": 0 + } }, "Size": { - "target": "com.amazonaws.appconfig#Float" + "target": "com.amazonaws.appconfig#Float", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -3566,6 +3607,7 @@ "com.amazonaws.appconfig#Percentage": { "type": "float", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1.0, "max": 100.0 @@ -3781,7 +3823,7 @@ "DeploymentNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The sequence number of the deployment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -4168,21 +4210,21 @@ "DeploymentDurationInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Total amount of time for a deployment to last.
" } }, "FinalBakeTimeInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The amount of time that AppConfig monitors for alarms before considering the\n deployment to be complete and no longer eligible for automatic rollback.
" } }, "GrowthFactor": { "target": "com.amazonaws.appconfig#GrowthFactor", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The percentage of targets to receive a deployed configuration during each\n interval.
" } }, @@ -4371,7 +4413,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The extension version number.
" } } diff --git a/codegen/sdk/aws-models/appconfigdata.json b/codegen/sdk/aws-models/appconfigdata.json index dce683a2a86..60ac98104e8 100644 --- a/codegen/sdk/aws-models/appconfigdata.json +++ b/codegen/sdk/aws-models/appconfigdata.json @@ -1,8 +1,19 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.appconfigdata#AppConfigData": { "type": "service", + "version": "2021-11-11", + "operations": [ + { + "target": "com.amazonaws.appconfigdata#GetLatestConfiguration" + } + ], + "resources": [ + { + "target": "com.amazonaws.appconfigdata#ConfigurationSession" + } + ], "traits": { "aws.api#dataPlane": {}, "aws.api#service": { @@ -18,18 +29,7 @@ "aws.protocols#restJson1": {}, "smithy.api#documentation": "AppConfig Data provides the data plane APIs your application uses to retrieve configuration data.\n Here's how it works:
\nYour application retrieves configuration data by first establishing a configuration\n session using the AppConfig Data StartConfigurationSession API action. Your session's\n client then makes periodic calls to GetLatestConfiguration to check for\n and retrieve the latest data available.
\nWhen calling StartConfigurationSession, your code sends the following\n information:
Identifiers (ID or name) of an AppConfig application, environment, and\n configuration profile that the session tracks.
\n(Optional) The minimum amount of time the session's client must wait between calls\n to GetLatestConfiguration.
In response, AppConfig provides an InitialConfigurationToken to be given to\n the session's client and used the first time it calls GetLatestConfiguration\n for that session.
When calling GetLatestConfiguration, your client code sends the most recent\n ConfigurationToken value it has and receives in response:
\n NextPollConfigurationToken: the ConfigurationToken value\n to use on the next call to GetLatestConfiguration.
\n NextPollIntervalInSeconds: the duration the client should wait before\n making its next call to GetLatestConfiguration. This duration may vary\n over the course of the session, so it should be used instead of the value sent on the\n StartConfigurationSession call.
The configuration: the latest data intended for the session. This may be empty if\n the client already has the latest version of the configuration.
\nFor more information and to view example CLI commands that show how to retrieve a\n configuration using the AppConfig Data StartConfigurationSession and\n GetLatestConfiguration API actions, see Receiving the\n configuration in the AppConfig User Guide.
The amount of time the client should wait before polling for configuration updates\n again. Use RequiredMinimumPollIntervalInSeconds to set the desired poll\n interval.
Indicates whether this authentication parameter is required.
" } }, @@ -334,6 +335,7 @@ "isSensitiveField": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether this authentication parameter is a sensitive field.
" } }, @@ -360,24 +362,28 @@ "isBasicAuthSupported": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether basic authentication is supported by the connector.
" } }, "isApiKeyAuthSupported": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether API key authentication is supported by the connector
" } }, "isOAuth2Supported": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether OAuth 2.0 authentication is supported by the connector.
" } }, "isCustomAuthSupported": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether custom authentication is supported by the connector
" } }, @@ -444,7 +450,10 @@ } }, "com.amazonaws.appflow#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.appflow#BucketName": { "type": "string", @@ -555,12 +564,14 @@ "canUseAsSource": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the connector can be used as a source.
" } }, "canUseAsDestination": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the connector can be used as a destination.
" } }, @@ -579,12 +590,14 @@ "isPrivateLinkEnabled": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies if PrivateLink is enabled for that connector.
" } }, "isPrivateLinkEndpointUrlRequired": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies if a PrivateLink endpoint URL is required.
" } }, @@ -825,6 +838,7 @@ "hasNestedEntities": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": " Specifies whether the connector entity is a parent or a category and has more entities\n nested underneath it. If another call is made with entitiesPath =\n \"the_current_entity_name_with_hasNestedEntities_true\", then it returns the nested\n entities underneath it. This provides a way to retrieve all supported entities in a recursive\n fashion.
Booelan value that indicates whether this field can be used as a primary key.
" } }, @@ -870,6 +885,7 @@ "isDeprecated": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Booelan value that indicates whether this field is deprecated or not.
" } }, @@ -1631,6 +1647,7 @@ "isRequired": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether this connector runtime setting is required.
" } }, @@ -2538,6 +2555,7 @@ "forceDelete": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Amazon AppFlow should delete the profile, even if it is currently\n in use in one or more flows.
" } } @@ -2588,6 +2606,7 @@ "forceDelete": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Amazon AppFlow should delete the flow, even if it is currently in\n use.
" } } @@ -3212,30 +3231,35 @@ "isCreatable": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies if the destination field can be created by the current user.
" } }, "isNullable": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies if the destination field can have a null value.
" } }, "isUpsertable": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies if the flow run can either insert new rows in the destination field if they do\n not already exist, or update them if they do.
" } }, "isUpdatable": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": " Specifies whether the field can be updated during an UPDATE or\n UPSERT write operation.
Specifies whether the field can use the default value during a Create operation.
" } }, @@ -3311,7 +3335,10 @@ } }, "com.amazonaws.appflow#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.appflow#DynatraceConnectorOperator": { "type": "string", @@ -3458,6 +3485,7 @@ "failOnFirstDestinationError": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies if the flow should fail after the first instance of a failure when attempting\n to place data in the destination.
" } }, @@ -3881,6 +3909,7 @@ "com.amazonaws.appflow#FlowErrorDeactivationThreshold": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -4313,10 +4342,7 @@ } }, "com.amazonaws.appflow#JavaBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.appflow#KMSArn": { "type": "string", @@ -4639,10 +4665,7 @@ } }, "com.amazonaws.appflow#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.appflow#LookoutMetricsDestinationProperties": { "type": "structure", @@ -4814,7 +4837,6 @@ "com.amazonaws.appflow#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4898,6 +4920,7 @@ "isRequired": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the custom parameter for OAuth 2.0 authentication is required.
" } }, @@ -4916,6 +4939,7 @@ "isSensitiveField": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether this authentication custom parameter is a sensitive field.
" } }, @@ -5412,6 +5436,7 @@ "com.amazonaws.appflow#PortNumber": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -5627,12 +5652,14 @@ "maximum": { "target": "com.amazonaws.appflow#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum value supported by the field.
" } }, "minimum": { "target": "com.amazonaws.appflow#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Minimum value supported by the field.
" } } @@ -6225,7 +6252,7 @@ "portNumber": { "target": "com.amazonaws.appflow#PortNumber", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The port number of the SAPOData instance.
", "smithy.api#required": {} } @@ -6446,6 +6473,7 @@ "isSandboxEnvironment": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the connector profile applies to a sandbox or production environment.\n
" } } @@ -6514,12 +6542,14 @@ "enableDynamicFieldUpdate": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The flag that enables dynamic fetching of new (recently added) fields in the Salesforce\n objects while running a flow.
" } }, "includeDeletedRecords": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Amazon AppFlow includes deleted files in the flow run.
" } } @@ -6530,21 +6560,6 @@ }, "com.amazonaws.appflow#SandstoneConfigurationServiceLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Appflow", - "arnNamespace": "appflow", - "cloudFormationName": "Appflow", - "cloudTrailEventSource": "appflow.amazonaws.com", - "endpointPrefix": "appflow" - }, - "aws.auth#sigv4": { - "name": "appflow" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Welcome to the Amazon AppFlow API reference. This guide is for developers who need\n detailed information about the Amazon AppFlow API operations, data types, and errors.
\nAmazon AppFlow is a fully managed integration service that enables you to securely\n transfer data between software as a service (SaaS) applications like Salesforce, Marketo,\n Slack, and ServiceNow, and Amazon Web Services like Amazon S3 and Amazon Redshift.
\nUse the following links to get started on the Amazon AppFlow API:
\n\n Actions: An alphabetical list of all Amazon AppFlow API\n operations.
\n\n Data\n types: An alphabetical list of all Amazon AppFlow data types.
\n\n Common parameters: Parameters that all Query operations can use.
\n\n Common\n errors: Client and server errors that all operations can return.
\nIf you're new to Amazon AppFlow, we recommend that you review the Amazon AppFlow User Guide.
\nAmazon AppFlow API users can use vendor-specific mechanisms for OAuth, and include\n applicable OAuth attributes (such as auth-code and redirecturi) with\n the connector-specific ConnectorProfileProperties when creating a new connector\n profile using Amazon AppFlow API operations. For example, Salesforce users can refer to\n the \n Authorize Apps with OAuth\n documentation.
Welcome to the Amazon AppFlow API reference. This guide is for developers who need\n detailed information about the Amazon AppFlow API operations, data types, and errors.
\nAmazon AppFlow is a fully managed integration service that enables you to securely\n transfer data between software as a service (SaaS) applications like Salesforce, Marketo,\n Slack, and ServiceNow, and Amazon Web Services like Amazon S3 and Amazon Redshift.
\nUse the following links to get started on the Amazon AppFlow API:
\n\n Actions: An alphabetical list of all Amazon AppFlow API\n operations.
\n\n Data\n types: An alphabetical list of all Amazon AppFlow data types.
\n\n Common parameters: Parameters that all Query operations can use.
\n\n Common\n errors: Client and server errors that all operations can return.
\nIf you're new to Amazon AppFlow, we recommend that you review the Amazon AppFlow User Guide.
\nAmazon AppFlow API users can use vendor-specific mechanisms for OAuth, and include\n applicable OAuth attributes (such as auth-code and redirecturi) with\n the connector-specific ConnectorProfileProperties when creating a new connector\n profile using Amazon AppFlow API operations. For example, Salesforce users can refer to\n the \n Authorize Apps with OAuth\n documentation.
Specifies the optional offset that is added to the time interval for a schedule-triggered\n flow.
" } }, @@ -6715,7 +6746,7 @@ "flowErrorDeactivationThreshold": { "target": "com.amazonaws.appflow#FlowErrorDeactivationThreshold", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Defines how many times a scheduled flow fails consecutively before Amazon AppFlow\n deactivates it.
" } } @@ -7399,18 +7430,21 @@ "isRetrievable": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the field can be returned in a search result.
" } }, "isQueryable": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if the field can be queried.
" } }, "isTimestampFieldForIncrementalQueries": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if this timestamp field can be used for incremental queries.
" } } @@ -8139,6 +8173,7 @@ "forceDelete": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Amazon AppFlow should unregister the connector, even if it is\n currently in use in one or more connector profiles. The default value is false.
" } } @@ -8646,18 +8681,21 @@ "includeSourceFiles": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value to include source files in Veeva document extract flow.
" } }, "includeRenditions": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value to include file renditions in Veeva document extract flow.
" } }, "includeAllVersions": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value to include All Versions of files in Veeva document extract flow.
" } } diff --git a/codegen/sdk/aws-models/appintegrations.json b/codegen/sdk/aws-models/appintegrations.json index 3f8a033f4b7..57ec79aa77c 100644 --- a/codegen/sdk/aws-models/appintegrations.json +++ b/codegen/sdk/aws-models/appintegrations.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1305,7 +1305,6 @@ "com.amazonaws.appintegrations#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 diff --git a/codegen/sdk/aws-models/application-auto-scaling.json b/codegen/sdk/aws-models/application-auto-scaling.json index 2bd558b4404..c85be096151 100644 --- a/codegen/sdk/aws-models/application-auto-scaling.json +++ b/codegen/sdk/aws-models/application-auto-scaling.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -145,10 +145,7 @@ } }, "com.amazonaws.applicationautoscaling#Cooldown": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationautoscaling#CustomizedMetricSpecification": { "type": "structure", @@ -729,10 +726,7 @@ } }, "com.amazonaws.applicationautoscaling#DisableScaleIn": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationautoscaling#ErrorMessage": { "type": "string" @@ -806,10 +800,7 @@ } }, "com.amazonaws.applicationautoscaling#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationautoscaling#MetricAggregationType": { "type": "string", @@ -871,10 +862,7 @@ "type": "string" }, "com.amazonaws.applicationautoscaling#MetricScale": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.applicationautoscaling#MetricStatistic": { "type": "string", @@ -998,10 +986,7 @@ "type": "string" }, "com.amazonaws.applicationautoscaling#MinAdjustmentMagnitude": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationautoscaling#ObjectNotFoundException": { "type": "structure", @@ -1344,10 +1329,7 @@ "members": {} }, "com.amazonaws.applicationautoscaling#ResourceCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationautoscaling#ResourceId": { "type": "string", @@ -1679,10 +1661,7 @@ } }, "com.amazonaws.applicationautoscaling#ScalingAdjustment": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationautoscaling#ScalingPolicies": { "type": "list", @@ -1766,10 +1745,7 @@ } }, "com.amazonaws.applicationautoscaling#ScalingSuspended": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationautoscaling#ScheduledAction": { "type": "structure", diff --git a/codegen/sdk/aws-models/application-discovery-service.json b/codegen/sdk/aws-models/application-discovery-service.json index d2bcf98ab19..ba7b8b3a34c 100644 --- a/codegen/sdk/aws-models/application-discovery-service.json +++ b/codegen/sdk/aws-models/application-discovery-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.applicationdiscoveryservice#AWSPoseidonService_V2015_11_01": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Application Discovery Service", - "arnNamespace": "discovery", - "cloudFormationName": "ApplicationDiscoveryService", - "cloudTrailEventSource": "applicationdiscoveryservice.amazonaws.com", - "endpointPrefix": "discovery" - }, - "aws.auth#sigv4": { - "name": "discovery" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Web Services Application Discovery Service helps you plan application migration projects. It\n automatically identifies servers, virtual machines (VMs), and network dependencies in your\n on-premises data centers. For more information, see the Amazon Web Services Application Discovery Service FAQ. \n Application Discovery Service offers three ways of performing discovery and\n collecting data about your on-premises servers:
\n\n\n Agentless discovery is recommended for environments\n that use VMware vCenter Server. This mode doesn't require you to install an agent on each\n host. It does not work in non-VMware environments.
\n\nAgentless discovery gathers server information regardless of the operating\n systems, which minimizes the time required for initial on-premises infrastructure\n assessment.
\nAgentless discovery doesn't collect information about network dependencies, only\n agent-based discovery collects that information.
\n\n Agent-based discovery collects a richer set of data\n than agentless discovery by using the Amazon Web Services Application Discovery Agent, which you install\n on one or more hosts in your data center.
\n\nThe agent captures infrastructure and application information, including an\n inventory of running processes, system performance information, resource utilization,\n and network dependencies.
\nThe information collected by agents is secured at rest and in transit to the\n Application Discovery Service database in the cloud.
\n\n Amazon Web Services Partner Network (APN) solutions integrate with\n Application Discovery Service, enabling you to import details of your on-premises\n environment directly into Migration Hub without using the discovery connector or discovery\n agent.
\n\nThird-party application discovery tools can query Amazon Web Services Application Discovery\n Service, and they can write to the Application Discovery Service database using the\n public API.
\nIn this way, you can import data into Migration Hub and view it, so that you can\n associate applications with servers and track migrations.
\n\n Recommendations\n
\nWe recommend that you use agent-based discovery for non-VMware environments, and\n whenever you want to collect information about network dependencies. You can run agent-based\n and agentless discovery simultaneously. Use agentless discovery to complete the initial\n infrastructure assessment quickly, and then install agents on select hosts to collect\n additional information.
\n\n\n Working With This Guide\n
\n\nThis API reference provides descriptions, syntax, and usage examples for each of the\n actions and data types for Application Discovery Service. The topic for each action shows the\n API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to\n access an API that is tailored to the programming language or platform that you're using. For\n more information, see Amazon Web Services\n SDKs.
\n\nRemember that you must set your Migration Hub home region before you call any of\n these APIs.
\nYou must make API calls for write actions (create, notify, associate, disassociate,\n import, or put) while in your home region, or a HomeRegionNotSetException\n error is returned.
API calls for read actions (list, describe, stop, and delete) are permitted outside\n of your home region.
\nAlthough it is unlikely, the Migration Hub home region could change. If you call\n APIs outside the home region, an InvalidInputException is returned.
You must call GetHomeRegion to obtain the latest Migration Hub home\n region.
This guide is intended for use with the Amazon Web Services Application\n Discovery Service User Guide.
\n\nAll data is handled according to the Amazon Web Services \n Privacy Policy. You can operate Application Discovery Service offline to inspect\n collected data before it is shared with the service.
\nAmazon Web Services Application Discovery Service helps you plan application migration projects. It\n automatically identifies servers, virtual machines (VMs), and network dependencies in your\n on-premises data centers. For more information, see the Amazon Web Services Application Discovery Service FAQ. \n Application Discovery Service offers three ways of performing discovery and\n collecting data about your on-premises servers:
\n\n\n Agentless discovery is recommended for environments\n that use VMware vCenter Server. This mode doesn't require you to install an agent on each\n host. It does not work in non-VMware environments.
\n\nAgentless discovery gathers server information regardless of the operating\n systems, which minimizes the time required for initial on-premises infrastructure\n assessment.
\nAgentless discovery doesn't collect information about network dependencies, only\n agent-based discovery collects that information.
\n\n Agent-based discovery collects a richer set of data\n than agentless discovery by using the Amazon Web Services Application Discovery Agent, which you install\n on one or more hosts in your data center.
\n\nThe agent captures infrastructure and application information, including an\n inventory of running processes, system performance information, resource utilization,\n and network dependencies.
\nThe information collected by agents is secured at rest and in transit to the\n Application Discovery Service database in the cloud.
\n\n Amazon Web Services Partner Network (APN) solutions integrate with\n Application Discovery Service, enabling you to import details of your on-premises\n environment directly into Migration Hub without using the discovery connector or discovery\n agent.
\n\nThird-party application discovery tools can query Amazon Web Services Application Discovery\n Service, and they can write to the Application Discovery Service database using the\n public API.
\nIn this way, you can import data into Migration Hub and view it, so that you can\n associate applications with servers and track migrations.
\n\n Recommendations\n
\nWe recommend that you use agent-based discovery for non-VMware environments, and\n whenever you want to collect information about network dependencies. You can run agent-based\n and agentless discovery simultaneously. Use agentless discovery to complete the initial\n infrastructure assessment quickly, and then install agents on select hosts to collect\n additional information.
\n\n\n Working With This Guide\n
\n\nThis API reference provides descriptions, syntax, and usage examples for each of the\n actions and data types for Application Discovery Service. The topic for each action shows the\n API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to\n access an API that is tailored to the programming language or platform that you're using. For\n more information, see Amazon Web Services\n SDKs.
\n\nRemember that you must set your Migration Hub home region before you call any of\n these APIs.
\nYou must make API calls for write actions (create, notify, associate, disassociate,\n import, or put) while in your home region, or a HomeRegionNotSetException\n error is returned.
API calls for read actions (list, describe, stop, and delete) are permitted outside\n of your home region.
\nAlthough it is unlikely, the Migration Hub home region could change. If you call\n APIs outside the home region, an InvalidInputException is returned.
You must call GetHomeRegion to obtain the latest Migration Hub home\n region.
This guide is intended for use with the Amazon Web Services Application\n Discovery Service User Guide.
\n\nAll data is handled according to the Amazon Web Services \n Privacy Policy. You can operate Application Discovery Service offline to inspect\n collected data before it is shared with the service.
\nInformation about the status of the StartDataCollection and\n StopDataCollection operations. The system has recorded the data collection\n operation. The agent/connector receives this command the next time it polls for a new command.\n
Number of active discovery agents.
", "smithy.api#required": {} } @@ -898,6 +900,7 @@ "healthyAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of healthy discovery agents
", "smithy.api#required": {} } @@ -905,6 +908,7 @@ "blackListedAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of blacklisted discovery agents.
", "smithy.api#required": {} } @@ -912,6 +916,7 @@ "shutdownAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of discovery agents with status SHUTDOWN.
", "smithy.api#required": {} } @@ -919,6 +924,7 @@ "unhealthyAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of unhealthy discovery agents.
", "smithy.api#required": {} } @@ -926,6 +932,7 @@ "totalAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of discovery agents.
", "smithy.api#required": {} } @@ -933,6 +940,7 @@ "unknownAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of unknown discovery agents.
", "smithy.api#required": {} } @@ -948,42 +956,49 @@ "activeAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "healthyAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "denyListedAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "shutdownAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "unhealthyAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "totalAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "unknownAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } } @@ -995,6 +1010,7 @@ "activeConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of active discovery connectors.
", "smithy.api#required": {} } @@ -1002,6 +1018,7 @@ "healthyConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of healthy discovery connectors.
", "smithy.api#required": {} } @@ -1009,6 +1026,7 @@ "blackListedConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of blacklisted discovery connectors.
", "smithy.api#required": {} } @@ -1016,6 +1034,7 @@ "shutdownConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of discovery connectors with status SHUTDOWN,
", "smithy.api#required": {} } @@ -1023,6 +1042,7 @@ "unhealthyConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of unhealthy discovery connectors.
", "smithy.api#required": {} } @@ -1030,6 +1050,7 @@ "totalConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of discovery connectors.
", "smithy.api#required": {} } @@ -1037,6 +1058,7 @@ "unknownConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of unknown discovery connectors.
", "smithy.api#required": {} } @@ -1052,6 +1074,7 @@ "activeMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The number of active Migration Evaluator collectors.\n
", "smithy.api#required": {} } @@ -1059,6 +1082,7 @@ "healthyMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The number of healthy Migration Evaluator collectors.\n
", "smithy.api#required": {} } @@ -1066,6 +1090,7 @@ "denyListedMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The number of deny-listed Migration Evaluator collectors.\n
", "smithy.api#required": {} } @@ -1073,6 +1098,7 @@ "shutdownMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The number of Migration Evaluator collectors with SHUTDOWN status.\n
\n The number of unhealthy Migration Evaluator collectors.\n
", "smithy.api#required": {} } @@ -1087,6 +1114,7 @@ "totalMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The total number of Migration Evaluator collectors.\n
", "smithy.api#required": {} } @@ -1094,6 +1122,7 @@ "unknownMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The number of unknown Migration Evaluator collectors.\n
", "smithy.api#required": {} } @@ -1269,6 +1298,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of agents/Connectors to return in a single page of output. The maximum\n value is 100.
" } }, @@ -1407,7 +1437,6 @@ "com.amazonaws.applicationdiscoveryservice#DescribeContinuousExportsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1499,6 +1528,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A number between 1 and 100 specifying the maximum number of continuous export\n descriptions returned.
" } }, @@ -1574,6 +1604,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of volume results returned by DescribeExportTasks in\n paginated output. When this parameter is used, DescribeExportTasks only returns\n maxResults results in a single page along with a nextToken\n response element.
The total number of items to return in a single page of output. The maximum value is\n 100.
" } }, @@ -1962,6 +1993,7 @@ "isTruncated": { "target": "com.amazonaws.applicationdiscoveryservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, the export of agent information exceeded the size limit for a single export\n and the exported data is incomplete for the requested time range. To address this, select a\n smaller time range for the export by using startDate and\n endDate.
The number of servers discovered.
" } }, "applications": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of applications discovered.
" } }, "serversMappedToApplications": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of servers mapped to applications.
" } }, "serversMappedtoTags": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of servers mapped to tags.
" } }, @@ -2278,24 +2314,28 @@ "serverImportSuccess": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of server records in the import file that were successfully\n imported.
" } }, "serverImportFailure": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of server records in the import file that failed to be imported.
" } }, "applicationImportSuccess": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of application records in the import file that were successfully\n imported.
" } }, "applicationImportFailure": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of application records in the import file that failed to be\n imported.
" } }, @@ -2407,7 +2447,10 @@ } }, "com.amazonaws.applicationdiscoveryservice#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.applicationdiscoveryservice#InvalidParameterException": { "type": "structure", @@ -2486,6 +2529,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of items to return. The maximum value is 100.
" } }, @@ -2562,6 +2606,7 @@ "portInformationNeeded": { "target": "com.amazonaws.applicationdiscoveryservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Flag to indicate if port and protocol information is needed as part of the\n response.
" } }, @@ -2574,6 +2619,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of results to return in a single page of output.
" } }, @@ -2604,13 +2650,17 @@ "knownDependencyCount": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Count of distinct servers that are one hop away from the given server.
" } } } }, "com.amazonaws.applicationdiscoveryservice#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.applicationdiscoveryservice#Message": { "type": "string" @@ -2647,6 +2697,7 @@ "connectionsCount": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of open network connections with the neighboring server.
", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/application-insights.json b/codegen/sdk/aws-models/application-insights.json index 473ab40068b..2c9e62835cf 100644 --- a/codegen/sdk/aws-models/application-insights.json +++ b/codegen/sdk/aws-models/application-insights.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -178,16 +178,10 @@ } }, "com.amazonaws.applicationinsights#AutoConfigEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationinsights#AutoCreate": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationinsights#BadRequestException": { "type": "structure", @@ -207,10 +201,7 @@ } }, "com.amazonaws.applicationinsights#CWEMonitorEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationinsights#CloudWatchEventDetailType": { "type": "string" @@ -592,6 +583,7 @@ "Rank": { "target": "com.amazonaws.applicationinsights#LogPatternRank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Rank of the log pattern. Must be a value between 1 and\n 1,000,000. The patterns are sorted by rank, so we recommend that you set\n your highest priority patterns with the lowest rank. A pattern of rank 1 will\n be the first to get matched to a log line. A pattern of rank 1,000,000 will be\n last to get matched. When you configure custom log patterns from the console, a\n Low severity pattern translates to a 750,000 rank. A\n Medium severity pattern translates to a 500,000 rank. And a\n High severity pattern translates to a 250,000 rank. Rank\n values less than 1 or greater than 1,000,000 are reserved for\n AWS-provided patterns.
Amazon CloudWatch Application Insights is a service that helps you detect common\n problems with your applications. It enables you to pinpoint the source of issues in your\n applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL\n Server), by providing key insights into detected problems.
\nAfter you onboard your application, CloudWatch Application Insights identifies,\n recommends, and sets up metrics and logs. It continuously analyzes and correlates your\n metrics and logs for unusual behavior to surface actionable problems with your application.\n For example, if your application is slow and unresponsive and leading to HTTP 500 errors in\n your Application Load Balancer (ALB), Application Insights informs you that a memory\n pressure problem with your SQL Server database is occurring. It bases this analysis on\n impactful metrics and log errors.
", - "smithy.api#title": "Amazon CloudWatch Application Insights" - }, "version": "2018-11-25", "operations": [ { @@ -1324,7 +1301,22 @@ { "target": "com.amazonaws.applicationinsights#UpdateLogPattern" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Application Insights", + "arnNamespace": "applicationinsights", + "cloudFormationName": "ApplicationInsights", + "cloudTrailEventSource": "applicationinsights.amazonaws.com", + "endpointPrefix": "applicationinsights" + }, + "aws.auth#sigv4": { + "name": "applicationinsights" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon CloudWatch Application Insights is a service that helps you detect common\n problems with your applications. It enables you to pinpoint the source of issues in your\n applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL\n Server), by providing key insights into detected problems.
\nAfter you onboard your application, CloudWatch Application Insights identifies,\n recommends, and sets up metrics and logs. It continuously analyzes and correlates your\n metrics and logs for unusual behavior to surface actionable problems with your application.\n For example, if your application is slow and unresponsive and leading to HTTP 500 errors in\n your Application Load Balancer (ALB), Application Insights informs you that a memory\n pressure problem with your SQL Server database is occurring. It bases this analysis on\n impactful metrics and log errors.
", + "smithy.api#title": "Amazon CloudWatch Application Insights" + } }, "com.amazonaws.applicationinsights#EbsCause": { "type": "string" @@ -2001,6 +1993,7 @@ "Rank": { "target": "com.amazonaws.applicationinsights#LogPatternRank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Rank of the log pattern. Must be a value between 1 and\n 1,000,000. The patterns are sorted by rank, so we recommend that you set\n your highest priority patterns with the lowest rank. A pattern of rank 1 will\n be the first to get matched to a log line. A pattern of rank 1,000,000 will be\n last to get matched. When you configure custom log patterns from the console, a\n Low severity pattern translates to a 750,000 rank. A\n Medium severity pattern translates to a 500,000 rank. And a\n High severity pattern translates to a 250,000 rank. Rank\n values less than 1 or greater than 1,000,000 are reserved for\n AWS-provided patterns.
Rank of the log pattern. Must be a value between 1 and\n 1,000,000. The patterns are sorted by rank, so we recommend that you set\n your highest priority patterns with the lowest rank. A pattern of rank 1 will\n be the first to get matched to a log line. A pattern of rank 1,000,000 will be\n last to get matched. When you configure custom log patterns from the console, a\n Low severity pattern translates to a 750,000 rank. A\n Medium severity pattern translates to a 500,000 rank. And a\n High severity pattern translates to a 250,000 rank. Rank\n values less than 1 or greater than 1,000,000 are reserved for\n AWS-provided patterns.
If there is a problem, the application can be disabled after image creation.
" } }, @@ -366,6 +367,7 @@ "Enabled": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables or disables persistent application settings for users during their streaming sessions.
", "smithy.api#required": {} } @@ -387,6 +389,7 @@ "Enabled": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether persistent application settings are enabled for users during their streaming sessions.
" } }, @@ -728,14 +731,14 @@ } }, "com.amazonaws.appstream#Boolean": { - "type": "boolean" - }, - "com.amazonaws.appstream#BooleanObject": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.appstream#BooleanObject": { + "type": "boolean" + }, "com.amazonaws.appstream#ComputeCapacity": { "type": "structure", "members": { @@ -1884,6 +1887,7 @@ "dryRun": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to display the status of image update availability before AppStream 2.0 initiates the process of creating a new updated image. If this value is set to true, AppStream 2.0 displays whether image updates are available. If this value is set to false, AppStream 2.0 initiates the process of creating a new updated image without displaying whether image updates are available.
Indicates whether a new image can be created.
" } } @@ -3066,7 +3071,6 @@ "com.amazonaws.appstream#DescribeImagesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 25 @@ -4433,6 +4437,7 @@ "ImageBuilderSupported": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether an image builder can be launched from this image.
" } }, @@ -4821,10 +4826,7 @@ } }, "com.amazonaws.appstream#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.appstream#InvalidAccountStatusException": { "type": "structure", @@ -5110,15 +5112,11 @@ } }, "com.amazonaws.appstream#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.appstream#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 500 @@ -5220,21 +5218,6 @@ }, "com.amazonaws.appstream#PhotonAdminProxyService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "AppStream", - "arnNamespace": "appstream", - "cloudFormationName": "AppStream", - "cloudTrailEventSource": "appstream.amazonaws.com", - "endpointPrefix": "appstream2" - }, - "aws.auth#sigv4": { - "name": "appstream" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "This is the Amazon AppStream 2.0 API Reference. This documentation provides descriptions and syntax for each of the actions and data types in AppStream 2.0. AppStream 2.0 is a fully managed, secure application streaming service that lets you stream desktop applications to users without rewriting applications. AppStream 2.0 manages the AWS resources that are required to host and run your applications, scales automatically, and provides access to your users on demand.
\n \nYou can call the AppStream 2.0 API operations by using an interface VPC endpoint (interface endpoint). For more information, see Access AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint in the Amazon AppStream 2.0 Administration Guide.
\nTo learn more about AppStream 2.0, see the following resources:
\n \nThis is the Amazon AppStream 2.0 API Reference. This documentation provides descriptions and syntax for each of the actions and data types in AppStream 2.0. AppStream 2.0 is a fully managed, secure application streaming service that lets you stream desktop applications to users without rewriting applications. AppStream 2.0 manages the AWS resources that are required to host and run your applications, scales automatically, and provides access to your users on demand.
\n \nYou can call the AppStream 2.0 API operations by using an interface VPC endpoint (interface endpoint). For more information, see Access AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint in the Amazon AppStream 2.0 Administration Guide.
\nTo learn more about AppStream 2.0, see the following resources:
\n \nDeletes the VPC association for the specified fleet.
" } @@ -7073,6 +7072,7 @@ "DeleteStorageConnectors": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#deprecated": {}, "smithy.api#documentation": "Deletes the storage connectors currently enabled for the stack.
" } @@ -7240,6 +7240,7 @@ "Enabled": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the user in the user pool is enabled.
" } }, @@ -7365,6 +7366,7 @@ "SendEmailNotification": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a welcome email is sent to a user after the user is created in the user pool.
" } } diff --git a/codegen/sdk/aws-models/appsync.json b/codegen/sdk/aws-models/appsync.json index 192cdbc1643..10438258d15 100644 --- a/codegen/sdk/aws-models/appsync.json +++ b/codegen/sdk/aws-models/appsync.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.appsync#AWSDeepdishControlPlaneService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "AppSync", - "arnNamespace": "appsync", - "cloudFormationName": "AppSync", - "cloudTrailEventSource": "appsync.amazonaws.com", - "endpointPrefix": "appsync" - }, - "aws.auth#sigv4": { - "name": "appsync" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "AppSync provides API actions for creating and interacting with data\n sources using GraphQL from your application.
", - "smithy.api#title": "AWS AppSync", - "smithy.api#xmlNamespace": { - "uri": "http://appsync.amazonaws.com" - } - }, "version": "2017-07-25", "operations": [ { @@ -201,7 +183,25 @@ { "target": "com.amazonaws.appsync#UpdateType" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "AppSync", + "arnNamespace": "appsync", + "cloudFormationName": "AppSync", + "cloudTrailEventSource": "appsync.amazonaws.com", + "endpointPrefix": "appsync" + }, + "aws.auth#sigv4": { + "name": "appsync" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "AppSync provides API actions for creating and interacting with data\n sources using GraphQL from your application.
", + "smithy.api#title": "AWS AppSync", + "smithy.api#xmlNamespace": { + "uri": "http://appsync.amazonaws.com" + } + } }, "com.amazonaws.appsync#AccessDeniedException": { "type": "structure", @@ -292,6 +292,7 @@ "ttl": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "TTL in seconds for cache entries.
\nValid values are 1–3,600 seconds.
" } }, @@ -304,12 +305,14 @@ "transitEncryptionEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Transit encryption flag when connecting to cache. You cannot update this setting after\n creation.
" } }, "atRestEncryptionEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "At-rest encryption flag for cache. You cannot update this setting after creation.
" } }, @@ -457,12 +460,14 @@ "expires": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time after which the API key expires. The date is represented as seconds since the\n epoch, rounded down to the nearest hour.
" } }, "deletes": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time after which the API key is deleted. The date is represented as seconds since\n the epoch, rounded down to the nearest hour.
" } } @@ -693,20 +698,21 @@ "type": "blob" }, "com.amazonaws.appsync#Boolean": { - "type": "boolean" - }, - "com.amazonaws.appsync#BooleanValue": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.appsync#BooleanValue": { + "type": "boolean" + }, "com.amazonaws.appsync#CachingConfig": { "type": "structure", "members": { "ttl": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The TTL in seconds for a resolver that has caching activated.
\nValid values are 1–3,600 seconds.
", "smithy.api#required": {} } @@ -875,6 +881,7 @@ "ttl": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "TTL in seconds for cache entries.
\nValid values are 1–3,600 seconds.
", "smithy.api#required": {} } @@ -882,12 +889,14 @@ "transitEncryptionEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Transit encryption flag when connecting to cache. You cannot update this setting after\n creation.
" } }, "atRestEncryptionEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "At-rest encryption flag for cache. You cannot update this setting after creation.
" } }, @@ -984,6 +993,7 @@ "expires": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "From the creation time, the time after which the API key expires. The date is\n represented as seconds since the epoch, rounded down to the nearest hour. The default value\n for this parameter is 7 days from creation time. For more information, see .
" } } @@ -1271,6 +1281,7 @@ "maxBatchSize": { "target": "com.amazonaws.appsync#MaxBatchSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum batching size for a resolver.
" } } @@ -1374,6 +1385,7 @@ "xrayEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag indicating whether to use X-Ray tracing for the\n GraphqlApi.
The maximum batching size for a resolver.
" } } @@ -2178,6 +2191,7 @@ "baseTableTTL": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of minutes that an Item is stored in the data source.
" } }, @@ -2190,6 +2204,7 @@ "deltaSyncTableTTL": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of minutes that a Delta Sync log entry is stored in the Delta Sync\n table.
" } } @@ -2333,6 +2348,7 @@ "useCallerCredentials": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to TRUE to use Amazon Cognito credentials with this data source.
" } }, @@ -2345,6 +2361,7 @@ "versioned": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to TRUE to use Conflict Detection and Resolution with this data source.
" } } @@ -2599,6 +2616,7 @@ "maxBatchSize": { "target": "com.amazonaws.appsync#MaxBatchSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum batching size for a resolver.
" } } @@ -3330,6 +3348,7 @@ "xrayEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag indicating whether to use X-Ray tracing for this\n GraphqlApi.
The number of seconds a response should be cached for. The default is 5 minutes (300\n seconds). The Lambda function can override this by returning a\n ttlOverride key in its response. A value of 0 disables caching of\n responses.
The maximum number of results that you want the request to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3585,6 +3606,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results that you want the request to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3649,6 +3671,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results that you want the request to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3724,6 +3747,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results that you want the request to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3788,6 +3812,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results that you want the request to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3902,6 +3927,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results that you want the request to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3954,6 +3980,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results that you want the request to return.
", "smithy.api#httpQuery": "maxResults" } @@ -4101,6 +4128,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results that you want the request to return.
", "smithy.api#httpQuery": "maxResults" } @@ -4144,6 +4172,7 @@ "excludeVerboseContent": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to TRUE to exclude sections that contain information such as headers, context, and\n evaluated mapping templates, regardless of logging level.
" } } @@ -4153,7 +4182,10 @@ } }, "com.amazonaws.appsync#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.appsync#MapOfStringToString": { "type": "map", @@ -4177,6 +4209,7 @@ "com.amazonaws.appsync#MaxBatchSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 2000 @@ -4186,6 +4219,7 @@ "com.amazonaws.appsync#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 25 @@ -4224,12 +4258,14 @@ "iatTTL": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds that a token is valid after it's issued to a user.
" } }, "authTTL": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds that a token is valid after being authenticated.
" } } @@ -4434,6 +4470,7 @@ "maxBatchSize": { "target": "com.amazonaws.appsync#MaxBatchSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum batching size for a resolver.
" } } @@ -4611,6 +4648,7 @@ "com.amazonaws.appsync#TTL": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 3600 @@ -4920,6 +4958,7 @@ "ttl": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "TTL in seconds for cache entries.
\nValid values are 1–3,600 seconds.
", "smithy.api#required": {} } @@ -5022,6 +5061,7 @@ "expires": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "From the update time, the time after which the API key expires. The date is represented\n as seconds since the epoch. For more information, see .
" } } @@ -5318,6 +5358,7 @@ "maxBatchSize": { "target": "com.amazonaws.appsync#MaxBatchSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum batching size for a resolver.
" } } @@ -5422,6 +5463,7 @@ "xrayEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag indicating whether to use X-Ray tracing for the\n GraphqlApi.
The maximum batching size for a resolver.
" } } diff --git a/codegen/sdk/aws-models/athena.json b/codegen/sdk/aws-models/athena.json index 1c13f999657..2421ee52ea3 100644 --- a/codegen/sdk/aws-models/athena.json +++ b/codegen/sdk/aws-models/athena.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -46,21 +46,6 @@ }, "com.amazonaws.athena#AmazonAthena": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Athena", - "arnNamespace": "athena", - "cloudFormationName": "Athena", - "cloudTrailEventSource": "athena.amazonaws.com", - "endpointPrefix": "athena" - }, - "aws.auth#sigv4": { - "name": "athena" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Athena is an interactive query service that lets you use standard SQL\n to analyze data directly in Amazon S3. You can point Athena at your\n data in Amazon S3 and run ad-hoc queries and get results in seconds. Athena is serverless, so there is no infrastructure to set up or manage. You pay\n only for the queries you run. Athena scales automatically—executing queries\n in parallel—so results are fast, even with large datasets and complex queries. For more\n information, see What is Amazon Athena in the Amazon Athena User\n Guide.
\nIf you connect to Athena using the JDBC driver, use version 1.1.0 of the\n driver or later with the Amazon Athena API. Earlier version drivers do not\n support the API. For more information and to download the driver, see Accessing\n Amazon Athena with JDBC.
\nFor code samples using the Amazon Web Services SDK for Java, see Examples and\n Code Samples in the Amazon Athena User\n Guide.
", - "smithy.api#title": "Amazon Athena" - }, "version": "2017-05-18", "operations": [ { @@ -174,7 +159,22 @@ { "target": "com.amazonaws.athena#UpdateWorkGroup" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Athena", + "arnNamespace": "athena", + "cloudFormationName": "Athena", + "cloudTrailEventSource": "athena.amazonaws.com", + "endpointPrefix": "athena" + }, + "aws.auth#sigv4": { + "name": "athena" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Athena is an interactive query service that lets you use standard SQL\n to analyze data directly in Amazon S3. You can point Athena at your\n data in Amazon S3 and run ad-hoc queries and get results in seconds. Athena is serverless, so there is no infrastructure to set up or manage. You pay\n only for the queries you run. Athena scales automatically—executing queries\n in parallel—so results are fast, even with large datasets and complex queries. For more\n information, see What is Amazon Athena in the Amazon Athena User\n Guide.
\nIf you connect to Athena using the JDBC driver, use version 1.1.0 of the\n driver or later with the Amazon Athena API. Earlier version drivers do not\n support the API. For more information and to download the driver, see Accessing\n Amazon Athena with JDBC.
\nFor code samples using the Amazon Web Services SDK for Java, see Examples and\n Code Samples in the Amazon Athena User\n Guide.
", + "smithy.api#title": "Amazon Athena" + } }, "com.amazonaws.athena#AmazonResourceName": { "type": "string", @@ -203,6 +203,7 @@ "Retryable": { "target": "com.amazonaws.athena#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if the query might succeed if resubmitted.
" } }, @@ -388,18 +389,17 @@ } }, "com.amazonaws.athena#Boolean": { - "type": "boolean" - }, - "com.amazonaws.athena#BoxedBoolean": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.athena#BoxedBoolean": { + "type": "boolean" + }, "com.amazonaws.athena#BytesScannedCutoffValue": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10000000 } @@ -486,12 +486,14 @@ "Precision": { "target": "com.amazonaws.athena#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "For DECIMAL data types, specifies the total number of digits, up to 38.\n For performance reasons, we recommend up to 18 digits.
For DECIMAL data types, specifies the total number of digits in the\n fractional part of the value. Defaults to 0.
Indicates whether values in the column are case-sensitive.
" } } @@ -1186,7 +1189,6 @@ "com.amazonaws.athena#ErrorCategory": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 3 @@ -1209,7 +1211,6 @@ "com.amazonaws.athena#ErrorType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 9999 @@ -1708,7 +1709,10 @@ } }, "com.amazonaws.athena#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.athena#InternalServerException": { "type": "structure", @@ -2345,15 +2349,11 @@ } }, "com.amazonaws.athena#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.athena#MaxDataCatalogsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2, "max": 50 @@ -2363,7 +2363,6 @@ "com.amazonaws.athena#MaxDatabasesCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -2373,7 +2372,6 @@ "com.amazonaws.athena#MaxEngineVersionsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -2383,7 +2381,6 @@ "com.amazonaws.athena#MaxNamedQueriesCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 50 @@ -2393,7 +2390,6 @@ "com.amazonaws.athena#MaxPreparedStatementsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -2403,7 +2399,6 @@ "com.amazonaws.athena#MaxQueryExecutionsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 50 @@ -2413,7 +2408,6 @@ "com.amazonaws.athena#MaxQueryResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2423,7 +2417,6 @@ "com.amazonaws.athena#MaxTableMetadataCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -2433,7 +2426,6 @@ "com.amazonaws.athena#MaxTagsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 75 } @@ -2442,7 +2434,6 @@ "com.amazonaws.athena#MaxWorkGroupsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 diff --git a/codegen/sdk/aws-models/auditmanager.json b/codegen/sdk/aws-models/auditmanager.json index 16b096d820f..21445e10adb 100644 --- a/codegen/sdk/aws-models/auditmanager.json +++ b/codegen/sdk/aws-models/auditmanager.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -291,12 +291,14 @@ "evidenceCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of evidence that's generated for the control.
" } }, "assessmentReportEvidenceCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of evidence in the assessment report.
" } } @@ -347,12 +349,14 @@ "systemEvidenceCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of evidence objects that are retrieved automatically for the control\n set.
" } }, "manualEvidenceCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of evidence objects that are uploaded manually to the control set.\n
" } } @@ -437,12 +441,14 @@ "totalEvidence": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total amount of evidence in the evidence folder.
" } }, "assessmentReportSelectionCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total count of evidence that's included in the assessment report.
" } }, @@ -455,42 +461,49 @@ "evidenceResourcesIncludedCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of evidence that's included in the evidence folder.
" } }, "evidenceByTypeConfigurationDataCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of evidence that falls under the configuration data category. This evidence\n is collected from configuration snapshots of other Amazon Web Services such as\n Amazon EC2, Amazon S3, or IAM.
" } }, "evidenceByTypeManualCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of evidence that falls under the manual category. This evidence is imported\n manually.
" } }, "evidenceByTypeComplianceCheckCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of evidence that falls under the compliance check category. This evidence is\n collected from Config or Security Hub.
" } }, "evidenceByTypeComplianceCheckIssuesCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of issues that were reported directly from Security Hub,\n Config, or both.
" } }, "evidenceByTypeUserActivityCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of evidence that falls under the user activity category. This evidence is\n collected from CloudTrail logs.
" } }, "evidenceAwsServiceSourceCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of Amazon Web Services resources that were assessed to generate the\n evidence.
" } } @@ -602,12 +615,14 @@ "controlsCount": { "target": "com.amazonaws.auditmanager#ControlsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of controls that are associated with the framework.
" } }, "controlSetsCount": { "target": "com.amazonaws.auditmanager#ControlSetsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of control sets that are associated with the framework.
" } }, @@ -1634,21 +1649,6 @@ }, "com.amazonaws.auditmanager#BedrockAssessmentManagerLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "AuditManager", - "arnNamespace": "auditmanager", - "cloudFormationName": "AuditManager", - "cloudTrailEventSource": "auditmanager.amazonaws.com", - "endpointPrefix": "auditmanager" - }, - "aws.auth#sigv4": { - "name": "auditmanager" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Welcome to the Audit Manager API reference. This guide is for developers who\n need detailed information about the Audit Manager API operations, data types, and\n errors.
\nAudit Manager is a service that provides automated evidence collection so that\n you can continually audit your Amazon Web Services usage. You can use it to assess the\n effectiveness of your controls, manage risk, and simplify compliance.
\nAudit Manager provides prebuilt frameworks that structure and automate\n assessments for a given compliance standard. Frameworks include a prebuilt collection of\n controls with descriptions and testing procedures. These controls are grouped according to\n the requirements of the specified compliance standard or regulation. You can also customize\n frameworks and controls to support internal audits with specific requirements.
\nUse the following links to get started with the Audit Manager API:
\n\n Actions: An\n alphabetical list of all Audit Manager API operations.
\n\n Data types: An alphabetical list of all Audit Manager data\n types.
\n\n Common\n parameters: Parameters that all Query operations can use.
\n\n Common errors:\n Client and server errors that all operations can return.
\nIf you're new to Audit Manager, we recommend that you review the \n Audit Manager User Guide.
", - "smithy.api#title": "AWS Audit Manager" - }, "version": "2017-07-25", "operations": [ { @@ -1834,14 +1834,26 @@ { "target": "com.amazonaws.auditmanager#ValidateAssessmentReportIntegrity" } - ] - }, - "com.amazonaws.auditmanager#Boolean": { - "type": "boolean", + ], "traits": { - "smithy.api#box": {} + "aws.api#service": { + "sdkId": "AuditManager", + "arnNamespace": "auditmanager", + "cloudFormationName": "AuditManager", + "cloudTrailEventSource": "auditmanager.amazonaws.com", + "endpointPrefix": "auditmanager" + }, + "aws.auth#sigv4": { + "name": "auditmanager" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Welcome to the Audit Manager API reference. This guide is for developers who\n need detailed information about the Audit Manager API operations, data types, and\n errors.
\nAudit Manager is a service that provides automated evidence collection so that\n you can continually audit your Amazon Web Services usage. You can use it to assess the\n effectiveness of your controls, manage risk, and simplify compliance.
\nAudit Manager provides prebuilt frameworks that structure and automate\n assessments for a given compliance standard. Frameworks include a prebuilt collection of\n controls with descriptions and testing procedures. These controls are grouped according to\n the requirements of the specified compliance standard or regulation. You can also customize\n frameworks and controls to support internal audits with specific requirements.
\nUse the following links to get started with the Audit Manager API:
\n\n Actions: An\n alphabetical list of all Audit Manager API operations.
\n\n Data types: An alphabetical list of all Audit Manager data\n types.
\n\n Common\n parameters: Parameters that all Query operations can use.
\n\n Common errors:\n Client and server errors that all operations can return.
\nIf you're new to Audit Manager, we recommend that you review the \n Audit Manager User Guide.
", + "smithy.api#title": "AWS Audit Manager" } }, + "com.amazonaws.auditmanager#Boolean": { + "type": "boolean" + }, "com.amazonaws.auditmanager#ChangeLog": { "type": "structure", "members": { @@ -2402,7 +2414,10 @@ } }, "com.amazonaws.auditmanager#ControlSetsCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.auditmanager#ControlSources": { "type": "string", @@ -2460,7 +2475,10 @@ } }, "com.amazonaws.auditmanager#ControlsCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.auditmanager#CreateAssessment": { "type": "operation", @@ -5152,7 +5170,10 @@ } }, "com.amazonaws.auditmanager#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.auditmanager#InternalServerException": { "type": "structure", @@ -6146,7 +6167,6 @@ "com.amazonaws.auditmanager#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "Max results in the page.", "smithy.api#range": { "min": 1, @@ -6227,10 +6247,7 @@ } }, "com.amazonaws.auditmanager#NullableInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.auditmanager#ObjectTypeEnum": { "type": "string", diff --git a/codegen/sdk/aws-models/auto-scaling-plans.json b/codegen/sdk/aws-models/auto-scaling-plans.json index 7edfc630a53..bfc303c15d9 100644 --- a/codegen/sdk/aws-models/auto-scaling-plans.json +++ b/codegen/sdk/aws-models/auto-scaling-plans.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -108,10 +108,7 @@ } }, "com.amazonaws.autoscalingplans#Cooldown": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscalingplans#CreateScalingPlan": { "type": "operation", @@ -487,16 +484,10 @@ } }, "com.amazonaws.autoscalingplans#DisableDynamicScaling": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscalingplans#DisableScaleIn": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscalingplans#ErrorMessage": { "type": "string" @@ -680,10 +671,7 @@ } }, "com.amazonaws.autoscalingplans#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscalingplans#MetricDimension": { "type": "structure", @@ -726,10 +714,7 @@ "type": "string" }, "com.amazonaws.autoscalingplans#MetricScale": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.autoscalingplans#MetricStatistic": { "type": "string", @@ -875,10 +860,7 @@ } }, "com.amazonaws.autoscalingplans#ResourceCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscalingplans#ResourceIdMaxLen1600": { "type": "string", @@ -1286,10 +1268,7 @@ } }, "com.amazonaws.autoscalingplans#ScalingPlanVersion": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.autoscalingplans#ScalingPlans": { "type": "list", @@ -1368,7 +1347,6 @@ "com.amazonaws.autoscalingplans#ScheduledActionBufferTime": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/auto-scaling.json b/codegen/sdk/aws-models/auto-scaling.json index 875159a9422..56c8b4c11b8 100644 --- a/codegen/sdk/aws-models/auto-scaling.json +++ b/codegen/sdk/aws-models/auto-scaling.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -264,6 +264,7 @@ "Progress": { "target": "com.amazonaws.autoscaling#Progress", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A value between 0 and 100 that indicates the progress of the activity.
" } }, @@ -384,10 +385,7 @@ } }, "com.amazonaws.autoscaling#AssociatePublicIpAddress": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#AttachInstances": { "type": "operation", @@ -728,22 +726,13 @@ } }, "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#AutoScalingGroupMaxSize": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#AutoScalingGroupMinSize": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#AutoScalingGroupNames": { "type": "list", @@ -781,10 +770,7 @@ } }, "com.amazonaws.autoscaling#AutoScalingGroupPredictedCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#AutoScalingGroupState": { "type": "string", @@ -924,24 +910,6 @@ }, "com.amazonaws.autoscaling#AutoScaling_2011_01_01": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Auto Scaling", - "arnNamespace": "autoscaling", - "cloudFormationName": "AutoScaling", - "cloudTrailEventSource": "autoscaling.amazonaws.com", - "endpointPrefix": "autoscaling" - }, - "aws.auth#sigv4": { - "name": "autoscaling" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances\n based on user-defined scaling policies, scheduled actions, and health checks.
\nFor more information, see the Amazon EC2 Auto Scaling User Guide and the Amazon EC2 Auto Scaling API Reference.
", - "smithy.api#title": "Auto Scaling", - "smithy.api#xmlNamespace": { - "uri": "http://autoscaling.amazonaws.com/doc/2011-01-01/" - } - }, "version": "2011-01-01", "operations": [ { @@ -1127,7 +1095,25 @@ { "target": "com.amazonaws.autoscaling#UpdateAutoScalingGroup" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Auto Scaling", + "arnNamespace": "autoscaling", + "cloudFormationName": "AutoScaling", + "cloudTrailEventSource": "autoscaling.amazonaws.com", + "endpointPrefix": "autoscaling" + }, + "aws.auth#sigv4": { + "name": "autoscaling" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances\n based on user-defined scaling policies, scheduled actions, and health checks.
\nFor more information, see the Amazon EC2 Auto Scaling User Guide and the Amazon EC2 Auto Scaling API Reference.
", + "smithy.api#title": "Auto Scaling", + "smithy.api#xmlNamespace": { + "uri": "http://autoscaling.amazonaws.com/doc/2011-01-01/" + } + } }, "com.amazonaws.autoscaling#AvailabilityZones": { "type": "list", @@ -1275,21 +1261,14 @@ } }, "com.amazonaws.autoscaling#BlockDeviceEbsDeleteOnTermination": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#BlockDeviceEbsEncrypted": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#BlockDeviceEbsIops": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 100, "max": 20000 @@ -1299,7 +1278,6 @@ "com.amazonaws.autoscaling#BlockDeviceEbsThroughput": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 125, "max": 1000 @@ -1309,7 +1287,6 @@ "com.amazonaws.autoscaling#BlockDeviceEbsVolumeSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 16384 @@ -1452,15 +1429,11 @@ } }, "com.amazonaws.autoscaling#CapacityRebalanceEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#CheckpointDelay": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 172800 @@ -1542,10 +1515,7 @@ "type": "string" }, "com.amazonaws.autoscaling#Cooldown": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#CpuManufacturer": { "type": "string", @@ -1985,10 +1955,7 @@ } }, "com.amazonaws.autoscaling#DefaultInstanceWarmup": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#DeleteAutoScalingGroup": { "type": "operation", @@ -3464,10 +3431,7 @@ } }, "com.amazonaws.autoscaling#DisableScaleIn": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#Ebs": { "type": "structure", @@ -3520,10 +3484,7 @@ } }, "com.amazonaws.autoscaling#EbsOptimized": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#EnableMetricsCollection": { "type": "operation", @@ -3647,10 +3608,7 @@ } }, "com.amazonaws.autoscaling#EstimatedInstanceWarmup": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#ExcludedInstance": { "type": "string", @@ -3836,10 +3794,7 @@ } }, "com.amazonaws.autoscaling#ForceDelete": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#GetPredictiveScalingForecast": { "type": "operation", @@ -3918,34 +3873,19 @@ } }, "com.amazonaws.autoscaling#GlobalTimeout": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#HealthCheckGracePeriod": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#HeartbeatTimeout": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#HonorCooldown": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#IncludeDeletedGroups": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#Instance": { "type": "structure", @@ -4059,7 +3999,6 @@ "com.amazonaws.autoscaling#InstanceMetadataHttpPutResponseHopLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 64 @@ -4122,10 +4061,7 @@ } }, "com.amazonaws.autoscaling#InstanceProtected": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#InstanceRefresh": { "type": "structure", @@ -4521,7 +4457,6 @@ "com.amazonaws.autoscaling#InstancesToUpdate": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4530,7 +4465,6 @@ "com.amazonaws.autoscaling#IntPercent": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -5250,35 +5184,22 @@ "com.amazonaws.autoscaling#MaxGroupPreparedCapacity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -1 } } }, "com.amazonaws.autoscaling#MaxInstanceLifetime": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#MaxNumberOfAutoScalingGroups": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#MaxNumberOfLaunchConfigurations": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#MaxRecords": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#MemoryGiBPerVCpuRequest": { "type": "structure", @@ -5475,10 +5396,7 @@ "type": "string" }, "com.amazonaws.autoscaling#MetricScale": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.autoscaling#MetricStat": { "type": "structure", @@ -5568,15 +5486,11 @@ } }, "com.amazonaws.autoscaling#MinAdjustmentMagnitude": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#MinAdjustmentStep": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#deprecated": {} } }, @@ -5610,10 +5524,7 @@ } }, "com.amazonaws.autoscaling#MonitoringEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#NetworkInterfaceCountRequest": { "type": "structure", @@ -5636,15 +5547,11 @@ } }, "com.amazonaws.autoscaling#NoDevice": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#NonZeroIntPercent": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5694,15 +5601,11 @@ } }, "com.amazonaws.autoscaling#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#NullablePositiveDouble": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -5711,35 +5614,22 @@ "com.amazonaws.autoscaling#NullablePositiveInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.autoscaling#NumberOfAutoScalingGroups": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#NumberOfLaunchConfigurations": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#OnDemandBaseCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#OnDemandPercentageAboveBaseCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#Overrides": { "type": "list", @@ -5785,10 +5675,7 @@ } }, "com.amazonaws.autoscaling#PolicyIncrement": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#PolicyNames": { "type": "list", @@ -6006,7 +5893,6 @@ "com.amazonaws.autoscaling#PredictiveScalingMaxCapacityBuffer": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -6151,7 +6037,6 @@ "com.amazonaws.autoscaling#PredictiveScalingSchedulingBufferTime": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6196,19 +6081,16 @@ } }, "com.amazonaws.autoscaling#Progress": { - "type": "integer" - }, - "com.amazonaws.autoscaling#PropagateAtLaunch": { - "type": "boolean", + "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.autoscaling#PropagateAtLaunch": { + "type": "boolean" + }, "com.amazonaws.autoscaling#ProtectedFromScaleIn": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#PutLifecycleHook": { "type": "operation", @@ -6657,7 +6539,6 @@ "com.amazonaws.autoscaling#RefreshInstanceWarmup": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6783,16 +6664,10 @@ } }, "com.amazonaws.autoscaling#ReturnData": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#ReuseOnScaleIn": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#ScalingActivityInProgressFault": { "type": "structure", @@ -6980,10 +6855,7 @@ } }, "com.amazonaws.autoscaling#ScalingPolicyEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#ScalingProcessQuery": { "type": "structure", @@ -7330,28 +7202,16 @@ } }, "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#ShouldRespectGracePeriod": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#SkipMatching": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#SpotInstancePools": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#SpotPrice": { "type": "string", @@ -7961,17 +7821,13 @@ "com.amazonaws.autoscaling#WarmPoolMinSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.autoscaling#WarmPoolSize": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#WarmPoolState": { "type": "string", diff --git a/codegen/sdk/aws-models/backup-gateway.json b/codegen/sdk/aws-models/backup-gateway.json index d843aa3f665..a6c2cf4c6f1 100644 --- a/codegen/sdk/aws-models/backup-gateway.json +++ b/codegen/sdk/aws-models/backup-gateway.json @@ -1880,4 +1880,4 @@ "type": "string" } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/backup.json b/codegen/sdk/aws-models/backup.json index 884ed9c8b1f..eecb589da0f 100644 --- a/codegen/sdk/aws-models/backup.json +++ b/codegen/sdk/aws-models/backup.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -833,6 +833,7 @@ "NumberOfRecoveryPoints": { "target": "com.amazonaws.backup#Long2", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of recovery points that are stored in a backup vault.
" } }, @@ -872,14 +873,14 @@ } }, "com.amazonaws.backup#Boolean": { + "type": "boolean" + }, + "com.amazonaws.backup#Boolean2": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.backup#Boolean2": { - "type": "boolean" - }, "com.amazonaws.backup#CalculatedLifecycle": { "type": "structure", "members": { @@ -1716,21 +1717,6 @@ }, "com.amazonaws.backup#CryoControllerUserManager": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Backup", - "arnNamespace": "backup", - "cloudFormationName": "Backup", - "cloudTrailEventSource": "backup.amazonaws.com", - "endpointPrefix": "backup" - }, - "aws.auth#sigv4": { - "name": "backup" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Backup is a unified backup service designed to protect Amazon Web Services\n services and their associated data. Backup simplifies the creation, migration,\n restoration, and deletion of backups, while also providing reporting and\n auditing.
", - "smithy.api#title": "AWS Backup" - }, "version": "2018-11-15", "operations": [ { @@ -1931,7 +1917,22 @@ { "target": "com.amazonaws.backup#UpdateReportPlan" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Backup", + "arnNamespace": "backup", + "cloudFormationName": "Backup", + "cloudTrailEventSource": "backup.amazonaws.com", + "endpointPrefix": "backup" + }, + "aws.auth#sigv4": { + "name": "backup" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Backup is a unified backup service designed to protect Amazon Web Services\n services and their associated data. Backup simplifies the creation, migration,\n restoration, and deletion of backups, while also providing reporting and\n auditing.
", + "smithy.api#title": "AWS Backup" + } }, "com.amazonaws.backup#DeleteBackupPlan": { "type": "operation", @@ -2681,6 +2682,7 @@ "NumberOfRecoveryPoints": { "target": "com.amazonaws.backup#Long2", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of recovery points that are stored in a backup vault.
" } }, @@ -3132,6 +3134,7 @@ "IsEncrypted": { "target": "com.amazonaws.backup#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that is returned as TRUE if the specified recovery point is\n encrypted, or FALSE if the recovery point is not encrypted.
The number of controls contained by the framework.
" } }, @@ -4317,7 +4321,10 @@ } }, "com.amazonaws.backup#IsEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.backup#Lifecycle": { "type": "structure", @@ -5716,18 +5723,17 @@ } }, "com.amazonaws.backup#Long": { + "type": "long" + }, + "com.amazonaws.backup#Long2": { "type": "long", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, - "com.amazonaws.backup#Long2": { - "type": "long" - }, "com.amazonaws.backup#MaxFrameworkInputs": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -5737,7 +5743,6 @@ "com.amazonaws.backup#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -6105,6 +6110,7 @@ "IsEncrypted": { "target": "com.amazonaws.backup#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that is returned as TRUE if the specified recovery point is\n encrypted, or FALSE if the recovery point is not encrypted.
The number of frameworks a report covers.
" } } @@ -7702,13 +7709,13 @@ } }, "com.amazonaws.backup#WindowMinutes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.backup#integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.backup#string": { "type": "string" diff --git a/codegen/sdk/aws-models/backupstorage.json b/codegen/sdk/aws-models/backupstorage.json index d6396719347..9d6ca5c8058 100644 --- a/codegen/sdk/aws-models/backupstorage.json +++ b/codegen/sdk/aws-models/backupstorage.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -99,6 +99,7 @@ "Index": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Chunk index", "smithy.api#required": {} } @@ -106,6 +107,7 @@ "Length": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Chunk length", "smithy.api#required": {} } @@ -144,21 +146,6 @@ }, "com.amazonaws.backupstorage#CryoStorageFrontendService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "BackupStorage", - "arnNamespace": "backup-storage", - "cloudFormationName": "BackupStorage", - "cloudTrailEventSource": "backupstorage.amazonaws.com", - "endpointPrefix": "backupstorage" - }, - "aws.auth#sigv4": { - "name": "backup-storage" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "The frontend service for Cryo Storage.", - "smithy.api#title": "AWS Backup Storage" - }, "version": "2018-04-10", "operations": [ { @@ -188,7 +175,22 @@ { "target": "com.amazonaws.backupstorage#StartObject" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "BackupStorage", + "arnNamespace": "backup-storage", + "cloudFormationName": "BackupStorage", + "cloudTrailEventSource": "backupstorage.amazonaws.com", + "endpointPrefix": "backupstorage" + }, + "aws.auth#sigv4": { + "name": "backup-storage" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "The frontend service for Cryo Storage.", + "smithy.api#title": "AWS Backup Storage" + } }, "com.amazonaws.backupstorage#DataAlreadyExistsException": { "type": "structure", @@ -362,6 +364,7 @@ "Length": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Data length", "smithy.api#httpHeader": "x-amz-data-length", "smithy.api#required": {} @@ -462,6 +465,7 @@ "MetadataBlob": { "target": "com.amazonaws.backupstorage#PayloadBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "Metadata blob.", "smithy.api#httpPayload": {} } @@ -469,6 +473,7 @@ "MetadataBlobLength": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of MetadataBlob.", "smithy.api#httpHeader": "x-amz-data-length" } @@ -579,6 +584,7 @@ "MaxResults": { "target": "com.amazonaws.backupstorage#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of chunks", "smithy.api#httpQuery": "max-results" } @@ -686,6 +692,7 @@ "MaxResults": { "target": "com.amazonaws.backupstorage#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum objects count", "smithy.api#httpQuery": "max-results" } @@ -734,6 +741,7 @@ "com.amazonaws.backupstorage#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -851,6 +859,7 @@ "MetadataBlob": { "target": "com.amazonaws.backupstorage#PayloadBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "Optional metadata associated with an Object. Maximum length is 4MB.", "smithy.api#httpPayload": {} } @@ -858,6 +867,7 @@ "MetadataBlobLength": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of MetadataBlob.", "smithy.api#httpQuery": "metadata-blob-length" } @@ -904,10 +914,7 @@ } }, "com.amazonaws.backupstorage#OptionalLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.backupstorage#PayloadBlob": { "type": "blob", @@ -984,6 +991,7 @@ "ChunkIndex": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes this chunk's position relative to the other chunks", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -1000,6 +1008,7 @@ "Length": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Data length", "smithy.api#httpQuery": "length", "smithy.api#required": {} @@ -1118,6 +1127,7 @@ "InlineChunk": { "target": "com.amazonaws.backupstorage#PayloadBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "Inline chunk data to be uploaded.", "smithy.api#httpPayload": {} } @@ -1125,6 +1135,7 @@ "InlineChunkLength": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Length of the inline chunk data.", "smithy.api#httpQuery": "length" } @@ -1160,6 +1171,7 @@ "ThrowOnDuplicate": { "target": "com.amazonaws.backupstorage#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Throw an exception if Object name is already exist.", "smithy.api#httpQuery": "throwOnDuplicate" } @@ -1319,6 +1331,7 @@ "ThrowOnDuplicate": { "target": "com.amazonaws.backupstorage#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Throw an exception if Object name is already exist." } } @@ -1361,10 +1374,16 @@ } }, "com.amazonaws.backupstorage#boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.backupstorage#long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.backupstorage#string": { "type": "string" diff --git a/codegen/sdk/aws-models/batch.json b/codegen/sdk/aws-models/batch.json index 716964b4756..68ca12f2d08 100644 --- a/codegen/sdk/aws-models/batch.json +++ b/codegen/sdk/aws-models/batch.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.batch#AWSBatchV20160810": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Batch", - "arnNamespace": "batch", - "cloudFormationName": "Batch", - "cloudTrailEventSource": "batch.amazonaws.com", - "endpointPrefix": "batch" - }, - "aws.auth#sigv4": { - "name": "batch" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for\n developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of\n this computing workload to remove the undifferentiated heavy lifting of configuring and managing required\n infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these\n advantages, Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively\n helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.
\nAs a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically\n provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific\n workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus\n your time and energy on analyzing results and solving your specific problems.
", - "smithy.api#title": "AWS Batch", - "smithy.api#xmlNamespace": { - "uri": "http://batch.amazonaws.com/doc/2016-08-10/" - } - }, "version": "2016-08-10", "operations": [ { @@ -123,7 +105,25 @@ { "target": "com.amazonaws.batch#UpdateSchedulingPolicy" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Batch", + "arnNamespace": "batch", + "cloudFormationName": "Batch", + "cloudTrailEventSource": "batch.amazonaws.com", + "endpointPrefix": "batch" + }, + "aws.auth#sigv4": { + "name": "batch" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for\n developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of\n this computing workload to remove the undifferentiated heavy lifting of configuring and managing required\n infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these\n advantages, Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively\n helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.
\nAs a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically\n provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific\n workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus\n your time and energy on analyzing results and solving your specific problems.
", + "smithy.api#title": "AWS Batch", + "smithy.api#xmlNamespace": { + "uri": "http://batch.amazonaws.com/doc/2016-08-10/" + } + } }, "com.amazonaws.batch#ArrayJobDependency": { "type": "string", @@ -307,10 +307,7 @@ } }, "com.amazonaws.batch#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.batch#CEState": { "type": "string", @@ -2229,10 +2226,7 @@ } }, "com.amazonaws.batch#Float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.batch#Host": { "type": "structure", @@ -2267,10 +2261,7 @@ } }, "com.amazonaws.batch#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.batch#JQState": { "type": "string", @@ -2628,6 +2619,7 @@ "com.amazonaws.batch#JobExecutionTimeoutMinutes": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 360 @@ -3251,10 +3243,7 @@ } }, "com.amazonaws.batch#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.batch#MountPoint": { "type": "structure", @@ -4464,6 +4453,7 @@ "jobExecutionTimeoutMinutes": { "target": "com.amazonaws.batch#JobExecutionTimeoutMinutes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the job timeout, in minutes, when the compute environment infrastructure is updated. The default value\n is 30.
" } } diff --git a/codegen/sdk/aws-models/billingconductor.json b/codegen/sdk/aws-models/billingconductor.json index 1dc76414fb2..c32faf3532b 100644 --- a/codegen/sdk/aws-models/billingconductor.json +++ b/codegen/sdk/aws-models/billingconductor.json @@ -1,8 +1,40 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.billingconductor#AWSBillingConductor": { "type": "service", + "version": "2021-07-30", + "operations": [ + { + "target": "com.amazonaws.billingconductor#ListAccountAssociations" + }, + { + "target": "com.amazonaws.billingconductor#ListBillingGroupCostReports" + }, + { + "target": "com.amazonaws.billingconductor#ListTagsForResource" + }, + { + "target": "com.amazonaws.billingconductor#TagResource" + }, + { + "target": "com.amazonaws.billingconductor#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.billingconductor#BillingGroup" + }, + { + "target": "com.amazonaws.billingconductor#CustomLineItem" + }, + { + "target": "com.amazonaws.billingconductor#PricingPlan" + }, + { + "target": "com.amazonaws.billingconductor#PricingRule" + } + ], "traits": { "aws.api#service": { "sdkId": "billingconductor", @@ -36,39 +68,7 @@ }, "smithy.api#documentation": "Amazon Web Services Billing Conductor is a fully managed service that you can use\n to customize a pro forma version of your billing data each month, to accurately show or chargeback\n your end customers. Amazon Web Services Billing Conductor doesn't change the way\n you're billed by Amazon Web Services each month by design. Instead, it provides you with a\n mechanism to configure, generate, and display rates to certain customers over a given billing\n period. You can also analyze the difference between the rates you apply to your accounting\n groupings relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services Billing Conductor configuration, the payer account can also see the\n custom rate applied on the billing details page of the Amazon Web Services Billing console, or configure a cost and usage report per\n billing group.
\nThis documentation shows how you can configure Amazon Web Services Billing Conductor using its\n API. For more information about using the Amazon Web Services\n Billing Conductor user interface, see the Amazon Web Services Enterprise\n Billing Console User Guide.
", "smithy.api#title": "AWSBillingConductor" - }, - "version": "2021-07-30", - "operations": [ - { - "target": "com.amazonaws.billingconductor#ListAccountAssociations" - }, - { - "target": "com.amazonaws.billingconductor#ListBillingGroupCostReports" - }, - { - "target": "com.amazonaws.billingconductor#ListTagsForResource" - }, - { - "target": "com.amazonaws.billingconductor#TagResource" - }, - { - "target": "com.amazonaws.billingconductor#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.billingconductor#BillingGroup" - }, - { - "target": "com.amazonaws.billingconductor#CustomLineItem" - }, - { - "target": "com.amazonaws.billingconductor#PricingPlan" - }, - { - "target": "com.amazonaws.billingconductor#PricingRule" - } - ] + } }, "com.amazonaws.billingconductor#AWSCost": { "type": "string" @@ -717,18 +717,21 @@ "Size": { "target": "com.amazonaws.billingconductor#NumberOfAccounts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of accounts in the particular billing group.\n
" } }, "CreationTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The time the billing group was created.\n
" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The most recent time the billing group was modified.\n
" } }, @@ -1434,7 +1437,6 @@ "com.amazonaws.billingconductor#CustomLineItemChargeValue": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000 @@ -1520,18 +1522,21 @@ "CreationTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The time created.\n
" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The most recent time the custom line item was modified.\n
" } }, "AssociationSize": { "target": "com.amazonaws.billingconductor#NumberOfAssociations", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The number of resources that are associated to the custom line item.\n
" } } @@ -1587,7 +1592,6 @@ "com.amazonaws.billingconductor#CustomLineItemPercentageChargeValue": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 10000 @@ -2028,7 +2032,10 @@ } }, "com.amazonaws.billingconductor#Instant": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.billingconductor#InternalServerException": { "type": "structure", @@ -2042,6 +2049,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.billingconductor#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of seconds you can retry after the call.\n
", "smithy.api#httpHeader": "Retry-After" } @@ -3178,7 +3186,6 @@ "com.amazonaws.billingconductor#MaxBillingGroupResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3188,7 +3195,6 @@ "com.amazonaws.billingconductor#MaxCustomLineItemResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3198,7 +3204,6 @@ "com.amazonaws.billingconductor#MaxPricingPlanResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3208,7 +3213,6 @@ "com.amazonaws.billingconductor#MaxPricingRuleResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3218,7 +3222,6 @@ "com.amazonaws.billingconductor#ModifierPercentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -3227,6 +3230,7 @@ "com.amazonaws.billingconductor#NumberOfAccounts": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3235,6 +3239,7 @@ "com.amazonaws.billingconductor#NumberOfAssociatedPricingRules": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -3243,6 +3248,7 @@ "com.amazonaws.billingconductor#NumberOfAssociations": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3251,6 +3257,7 @@ "com.amazonaws.billingconductor#NumberOfPricingPlansAssociatedWith": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3361,18 +3368,21 @@ "Size": { "target": "com.amazonaws.billingconductor#NumberOfAssociatedPricingRules", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The pricing rules count currently associated with this pricing plan list element.\n
" } }, "CreationTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The time the pricing plan was created.\n
" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The most recent time the pricing plan was modified.\n
" } } @@ -3531,18 +3541,21 @@ "AssociatedPricingPlanCount": { "target": "com.amazonaws.billingconductor#NumberOfPricingPlansAssociatedWith", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The pricing plans count that this pricing rule is associated with.\n
" } }, "CreationTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The time the pricing rule was created.\n
" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The most recent time the pricing rule was modified.\n
" } } @@ -3626,7 +3639,10 @@ } }, "com.amazonaws.billingconductor#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.billingconductor#Service": { "type": "string", @@ -3831,6 +3847,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.billingconductor#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of seconds you can safely retry after the call.\n
", "smithy.api#httpHeader": "Retry-After" } @@ -4047,12 +4064,14 @@ "Size": { "target": "com.amazonaws.billingconductor#NumberOfAccounts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The number of accounts in the particular billing group.\n
" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The most recent time the billing group was modified.\n
" } }, @@ -4209,12 +4228,14 @@ "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The most recent time the custom line item was modified.\n
" } }, "AssociationSize": { "target": "com.amazonaws.billingconductor#NumberOfAssociations", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The number of resources that are associated to the custom line item.\n
" } } @@ -4321,12 +4342,14 @@ "Size": { "target": "com.amazonaws.billingconductor#NumberOfAssociatedPricingRules", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The pricing rules count currently associated with this pricing plan list.\n
" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The most recent time the pricing plan was modified.\n
" } } @@ -4454,12 +4477,14 @@ "AssociatedPricingPlanCount": { "target": "com.amazonaws.billingconductor#NumberOfPricingPlansAssociatedWith", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The pricing plans count that this pricing rule is associated with.\n
" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The most recent time the pricing rule was modified.\n
" } } @@ -4705,4 +4730,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/braket.json b/codegen/sdk/aws-models/braket.json index ade9884b412..18e998216ff 100644 --- a/codegen/sdk/aws-models/braket.json +++ b/codegen/sdk/aws-models/braket.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.braket#AccessDeniedException": { "type": "structure", @@ -36,6 +36,29 @@ }, "com.amazonaws.braket#Braket": { "type": "service", + "version": "2019-09-01", + "operations": [ + { + "target": "com.amazonaws.braket#ListTagsForResource" + }, + { + "target": "com.amazonaws.braket#TagResource" + }, + { + "target": "com.amazonaws.braket#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.braket#DeviceResource" + }, + { + "target": "com.amazonaws.braket#JobResource" + }, + { + "target": "com.amazonaws.braket#QuantumTaskResource" + } + ], "traits": { "aws.api#service": { "sdkId": "Braket", @@ -66,30 +89,7 @@ }, "smithy.api#documentation": "The Amazon Braket API Reference provides information about the operations and structures\n supported in Amazon Braket.
\nAdditional Resources:
\nUse the Amazon Web Services Budgets API to plan your service usage, service costs, and instance reservations. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for the Amazon Web Services Budgets feature.
\n\t\tBudgets provide you with a way to see the following information:
\n\t\tHow close your plan is to your budgeted amount or to the free tier limits
\n\t\t\tYour usage-to-date, including how much you've used of your Reserved Instances (RIs)
\n\t\t\tYour current estimated charges from Amazon Web Services, and how much your predicted usage will accrue in charges by the end of the month
\n\t\t\tHow much of your budget has been used
\n\t\t\tAmazon Web Services updates your budget status several times a day. Budgets track your unblended costs, subscriptions, refunds, and RIs. You can create the following types of budgets:
\n\t\t\n Cost budgets - Plan how much you want to spend on a service.
\n\t\t\t\n Usage budgets - Plan how much you want to use one or more services.
\n\t\t\t\n RI utilization budgets - Define a utilization threshold, and receive alerts when your RI usage falls below that threshold. This lets you see if your RIs are unused or under-utilized.
\n\t\t\t\n RI coverage budgets - Define a coverage threshold, and receive alerts when the number of your instance hours that are covered by RIs fall below that threshold. This lets you see how much of your instance usage is covered by a reservation.
\n\t\t\tService Endpoint
\n\tThe Amazon Web Services Budgets API provides the following endpoint:
\n\t\thttps://budgets.amazonaws.com
\n\t\t\tFor information about costs that are associated with the Amazon Web Services Budgets API, see Amazon Web Services Cost Management Pricing.
", - "smithy.api#title": "AWS Budgets" - }, "version": "2016-10-20", "operations": [ { @@ -117,7 +102,22 @@ { "target": "com.amazonaws.budgets#UpdateSubscriber" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Budgets", + "arnNamespace": "budgets", + "cloudFormationName": "Budgets", + "cloudTrailEventSource": "budgets.amazonaws.com", + "endpointPrefix": "budgets" + }, + "aws.auth#sigv4": { + "name": "budgets" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Use the Amazon Web Services Budgets API to plan your service usage, service costs, and instance reservations. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for the Amazon Web Services Budgets feature.
\n\t\tBudgets provide you with a way to see the following information:
\n\t\tHow close your plan is to your budgeted amount or to the free tier limits
\n\t\t\tYour usage-to-date, including how much you've used of your Reserved Instances (RIs)
\n\t\t\tYour current estimated charges from Amazon Web Services, and how much your predicted usage will accrue in charges by the end of the month
\n\t\t\tHow much of your budget has been used
\n\t\t\tAmazon Web Services updates your budget status several times a day. Budgets track your unblended costs, subscriptions, refunds, and RIs. You can create the following types of budgets:
\n\t\t\n Cost budgets - Plan how much you want to spend on a service.
\n\t\t\t\n Usage budgets - Plan how much you want to use one or more services.
\n\t\t\t\n RI utilization budgets - Define a utilization threshold, and receive alerts when your RI usage falls below that threshold. This lets you see if your RIs are unused or under-utilized.
\n\t\t\t\n RI coverage budgets - Define a coverage threshold, and receive alerts when the number of your instance hours that are covered by RIs fall below that threshold. This lets you see how much of your instance usage is covered by a reservation.
\n\t\t\tService Endpoint
\n\tThe Amazon Web Services Budgets API provides the following endpoint:
\n\t\thttps://budgets.amazonaws.com
\n\t\t\tFor information about costs that are associated with the Amazon Web Services Budgets API, see Amazon Web Services Cost Management Pricing.
", + "smithy.api#title": "AWS Budgets" + } }, "com.amazonaws.budgets#AccessDeniedException": { "type": "structure", @@ -364,6 +364,7 @@ "ActionThresholdValue": { "target": "com.amazonaws.budgets#NotificationThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, @@ -412,7 +413,6 @@ "com.amazonaws.budgets#AdjustmentPeriod": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 60 @@ -2639,7 +2639,6 @@ "com.amazonaws.budgets#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "An integer that represents how many entries a paginated response contains. The maximum is 100.
", "smithy.api#range": { "min": 1, @@ -2650,7 +2649,6 @@ "com.amazonaws.budgets#MaxResultsBudgetNotifications": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -2690,6 +2688,7 @@ "Threshold": { "target": "com.amazonaws.budgets#NotificationThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The threshold that's associated with a notification. Thresholds are always a percentage, and\n\t\t\tmany customers find value being alerted between 50% - 200% of the budgeted amount. The\n\t\t\tmaximum limit for your threshold is 1,000,000% above the budgeted amount.
", "smithy.api#required": {} } @@ -2729,6 +2728,7 @@ "com.amazonaws.budgets#NotificationThreshold": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The threshold of a notification.
", "smithy.api#range": { "min": 0, @@ -2797,10 +2797,7 @@ } }, "com.amazonaws.budgets#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.budgets#NumericValue": { "type": "string", diff --git a/codegen/sdk/aws-models/chime-sdk-identity.json b/codegen/sdk/aws-models/chime-sdk-identity.json index be921a78b93..66b03ee2792 100644 --- a/codegen/sdk/aws-models/chime-sdk-identity.json +++ b/codegen/sdk/aws-models/chime-sdk-identity.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -423,21 +423,6 @@ }, "com.amazonaws.chimesdkidentity#ChimeIdentityService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Chime SDK Identity", - "arnNamespace": "chime", - "cloudFormationName": "ChimeSDKIdentity", - "cloudTrailEventSource": "chimesdkidentity.amazonaws.com", - "endpointPrefix": "identity-chime" - }, - "aws.auth#sigv4": { - "name": "chime" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "The Amazon Chime SDK Identity APIs in this section allow software developers to create\n and manage unique instances of their messaging applications. These APIs provide the\n overarching framework for creating and sending messages. For more information about the\n identity APIs, refer to Amazon Chime SDK identity.
", - "smithy.api#title": "Amazon Chime SDK Identity" - }, "version": "2021-04-20", "operations": [ { @@ -512,7 +497,22 @@ { "target": "com.amazonaws.chimesdkidentity#UpdateAppInstanceUserEndpoint" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Chime SDK Identity", + "arnNamespace": "chime", + "cloudFormationName": "ChimeSDKIdentity", + "cloudTrailEventSource": "chimesdkidentity.amazonaws.com", + "endpointPrefix": "identity-chime" + }, + "aws.auth#sigv4": { + "name": "chime" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "The Amazon Chime SDK Identity APIs in this section allow software developers to create\n and manage unique instances of their messaging applications. These APIs provide the\n overarching framework for creating and sending messages. For more information about the\n identity APIs, refer to Amazon Chime SDK identity.
", + "smithy.api#title": "Amazon Chime SDK Identity" + } }, "com.amazonaws.chimesdkidentity#ClientRequestToken": { "type": "string", @@ -812,6 +812,9 @@ "input": { "target": "com.amazonaws.chimesdkidentity#DeleteAppInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkidentity#BadRequestException" @@ -849,6 +852,9 @@ "input": { "target": "com.amazonaws.chimesdkidentity#DeleteAppInstanceAdminRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkidentity#BadRequestException" @@ -923,6 +929,9 @@ "input": { "target": "com.amazonaws.chimesdkidentity#DeleteAppInstanceUserRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkidentity#BadRequestException" @@ -976,6 +985,9 @@ "input": { "target": "com.amazonaws.chimesdkidentity#DeregisterAppInstanceUserEndpointRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkidentity#BadRequestException" @@ -1943,7 +1955,6 @@ "com.amazonaws.chimesdkidentity#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -2212,7 +2223,6 @@ "com.amazonaws.chimesdkidentity#RetentionDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5475 @@ -2348,6 +2358,9 @@ "input": { "target": "com.amazonaws.chimesdkidentity#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkidentity#BadRequestException" @@ -2449,6 +2462,9 @@ "input": { "target": "com.amazonaws.chimesdkidentity#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkidentity#BadRequestException" diff --git a/codegen/sdk/aws-models/chime-sdk-media-pipelines.json b/codegen/sdk/aws-models/chime-sdk-media-pipelines.json index 218f3580d15..1ca0fd5cea8 100644 --- a/codegen/sdk/aws-models/chime-sdk-media-pipelines.json +++ b/codegen/sdk/aws-models/chime-sdk-media-pipelines.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -288,21 +288,6 @@ }, "com.amazonaws.chimesdkmediapipelines#ChimeSDKMediaPipelinesService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Chime SDK Media Pipelines", - "arnNamespace": "chime", - "cloudFormationName": "ChimeSDKMediaPipelines", - "cloudTrailEventSource": "chimesdkmediapipelines.amazonaws.com", - "endpointPrefix": "media-pipelines-chime" - }, - "aws.auth#sigv4": { - "name": "chime" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "The Amazon Chime SDK media pipeline APIs in this section allow software developers to\n create Amazon Chime SDK media pipelines that capture, concatenate, or stream your Amazon Chime SDK meetings. For more information about media pipleines, see Amazon Chime SDK media pipelines.
", - "smithy.api#title": "Amazon Chime SDK Media Pipelines" - }, "version": "2021-07-15", "operations": [ { @@ -341,7 +326,22 @@ { "target": "com.amazonaws.chimesdkmediapipelines#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Chime SDK Media Pipelines", + "arnNamespace": "chime", + "cloudFormationName": "ChimeSDKMediaPipelines", + "cloudTrailEventSource": "chimesdkmediapipelines.amazonaws.com", + "endpointPrefix": "media-pipelines-chime" + }, + "aws.auth#sigv4": { + "name": "chime" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "The Amazon Chime SDK media pipeline APIs in this section allow software developers to\n create Amazon Chime SDK media pipelines that capture, concatenate, or stream your Amazon Chime SDK meetings. For more information about media pipleines, see Amazon Chime SDK media pipelines.
", + "smithy.api#title": "Amazon Chime SDK Media Pipelines" + } }, "com.amazonaws.chimesdkmediapipelines#ChimeSdkMeetingConcatenationConfiguration": { "type": "structure", @@ -2054,7 +2054,6 @@ "com.amazonaws.chimesdkmediapipelines#ResultMax": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/chime-sdk-meetings.json b/codegen/sdk/aws-models/chime-sdk-meetings.json index aa03ffc6198..688c6e87d37 100644 --- a/codegen/sdk/aws-models/chime-sdk-meetings.json +++ b/codegen/sdk/aws-models/chime-sdk-meetings.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -334,25 +334,13 @@ } }, "com.amazonaws.chimesdkmeetings#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.chimesdkmeetings#ChimeMeetingsSDKService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Chime SDK Meetings", - "arnNamespace": "chime", - "cloudFormationName": "ChimeSDKMeetings", - "cloudTrailEventSource": "chimesdkmeetings.amazonaws.com", - "endpointPrefix": "meetings-chime" - }, - "aws.auth#sigv4": { - "name": "chime" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the AWS Regions for meetings, create and manage users, and send and \n receive meeting notifications. For more information about the meeting APIs, see Amazon Chime SDK meetings.
", - "smithy.api#title": "Amazon Chime SDK Meetings" - }, "version": "2021-07-15", "operations": [ { @@ -403,7 +391,22 @@ { "target": "com.amazonaws.chimesdkmeetings#UpdateAttendeeCapabilities" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Chime SDK Meetings", + "arnNamespace": "chime", + "cloudFormationName": "ChimeSDKMeetings", + "cloudTrailEventSource": "chimesdkmeetings.amazonaws.com", + "endpointPrefix": "meetings-chime" + }, + "aws.auth#sigv4": { + "name": "chime" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the AWS Regions for meetings, create and manage users, and send and \n receive meeting notifications. For more information about the meeting APIs, see Amazon Chime SDK meetings.
", + "smithy.api#title": "Amazon Chime SDK Meetings" + } }, "com.amazonaws.chimesdkmeetings#ClientRequestToken": { "type": "string", @@ -1036,6 +1039,7 @@ "EnablePartialResultsStabilization": { "target": "com.amazonaws.chimesdkmeetings#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Generates partial transcription results that are less likely to change as meeting attendees speak. It does so by only allowing the last few words from the partial results to change.
" } }, @@ -1072,6 +1076,7 @@ "IdentifyLanguage": { "target": "com.amazonaws.chimesdkmeetings#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Automatically identifies the language spoken in media files.
" } }, @@ -1710,7 +1715,6 @@ "com.amazonaws.chimesdkmeetings#ResultMax": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/chime-sdk-messaging.json b/codegen/sdk/aws-models/chime-sdk-messaging.json index c299faa4b0a..d96f72c49bd 100644 --- a/codegen/sdk/aws-models/chime-sdk-messaging.json +++ b/codegen/sdk/aws-models/chime-sdk-messaging.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -610,6 +610,7 @@ "DeleteResource": { "target": "com.amazonaws.chimesdkmessaging#NonNullableBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When a processor determines that a message needs to be DENIED, pass this parameter with a value of true.
Hides the content of a message.
" } }, @@ -1078,6 +1079,7 @@ "Redacted": { "target": "com.amazonaws.chimesdkmessaging#NonNullableBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a message was redacted.
" } }, @@ -1295,21 +1297,6 @@ }, "com.amazonaws.chimesdkmessaging#ChimeMessagingService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Chime SDK Messaging", - "arnNamespace": "chime", - "cloudFormationName": "ChimeSDKMessaging", - "cloudTrailEventSource": "chimesdkmessaging.amazonaws.com", - "endpointPrefix": "messaging-chime" - }, - "aws.auth#sigv4": { - "name": "chime" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "The Amazon Chime SDK Messaging APIs in this section allow software developers to send\n and receive messages in custom messaging applications. These APIs depend on the frameworks\n provided by the Amazon Chime SDK Identity APIs. For more information about the messaging\n APIs, see Amazon Chime SDK messaging.
", - "smithy.api#title": "Amazon Chime SDK Messaging" - }, "version": "2021-05-15", "operations": [ { @@ -1453,7 +1440,22 @@ { "target": "com.amazonaws.chimesdkmessaging#UpdateChannelReadMarker" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Chime SDK Messaging", + "arnNamespace": "chime", + "cloudFormationName": "ChimeSDKMessaging", + "cloudTrailEventSource": "chimesdkmessaging.amazonaws.com", + "endpointPrefix": "messaging-chime" + }, + "aws.auth#sigv4": { + "name": "chime" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "The Amazon Chime SDK Messaging APIs in this section allow software developers to send\n and receive messages in custom messaging applications. These APIs depend on the frameworks\n provided by the Amazon Chime SDK Identity APIs. For more information about the messaging\n APIs, see Amazon Chime SDK messaging.
", + "smithy.api#title": "Amazon Chime SDK Messaging" + } }, "com.amazonaws.chimesdkmessaging#ClientRequestToken": { "type": "string", @@ -4591,7 +4593,6 @@ "com.amazonaws.chimesdkmessaging#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -4601,7 +4602,6 @@ "com.amazonaws.chimesdkmessaging#MaximumSubChannels": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2 } @@ -4626,10 +4626,7 @@ } }, "com.amazonaws.chimesdkmessaging#MembershipCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.chimesdkmessaging#MessageAttributeMap": { "type": "map", @@ -4720,7 +4717,6 @@ "com.amazonaws.chimesdkmessaging#MinimumMembershipPercentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 40 @@ -4760,7 +4756,10 @@ } }, "com.amazonaws.chimesdkmessaging#NonNullableBoolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.chimesdkmessaging#NotFoundException": { "type": "structure", @@ -5697,7 +5696,6 @@ "com.amazonaws.chimesdkmessaging#TargetMembershipsPerSubChannel": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2 } diff --git a/codegen/sdk/aws-models/chime.json b/codegen/sdk/aws-models/chime.json index abcb2b00de9..82e4ebbae1e 100644 --- a/codegen/sdk/aws-models/chime.json +++ b/codegen/sdk/aws-models/chime.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1679,10 +1679,7 @@ } }, "com.amazonaws.chime#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.chime#Bot": { "type": "structure", @@ -2169,6 +2166,7 @@ "Redacted": { "target": "com.amazonaws.chime#NonNullableBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Hides the content of a message.
" } }, @@ -2252,6 +2250,7 @@ "Redacted": { "target": "com.amazonaws.chime#NonNullableBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a message was redacted.
" } } @@ -2582,7 +2581,6 @@ "com.amazonaws.chime#CpsLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4843,7 +4841,6 @@ "com.amazonaws.chime#DataRetentionInHours": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4914,6 +4911,9 @@ "input": { "target": "com.amazonaws.chime#DeleteAppInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -4951,6 +4951,9 @@ "input": { "target": "com.amazonaws.chime#DeleteAppInstanceAdminRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5025,6 +5028,9 @@ "input": { "target": "com.amazonaws.chime#DeleteAppInstanceStreamingConfigurationsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5075,6 +5081,9 @@ "input": { "target": "com.amazonaws.chime#DeleteAppInstanceUserRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5125,6 +5134,9 @@ "input": { "target": "com.amazonaws.chime#DeleteAttendeeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5183,6 +5195,9 @@ "input": { "target": "com.amazonaws.chime#DeleteChannelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5220,6 +5235,9 @@ "input": { "target": "com.amazonaws.chime#DeleteChannelBanRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5285,6 +5303,9 @@ "input": { "target": "com.amazonaws.chime#DeleteChannelMembershipRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5353,6 +5374,9 @@ "input": { "target": "com.amazonaws.chime#DeleteChannelMessageRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5418,6 +5442,9 @@ "input": { "target": "com.amazonaws.chime#DeleteChannelModeratorRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5503,6 +5530,9 @@ "input": { "target": "com.amazonaws.chime#DeleteEventsConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5558,6 +5588,9 @@ "input": { "target": "com.amazonaws.chime#DeleteMediaCapturePipelineRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5608,6 +5641,9 @@ "input": { "target": "com.amazonaws.chime#DeleteMeetingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5658,6 +5694,9 @@ "input": { "target": "com.amazonaws.chime#DeletePhoneNumberRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5708,6 +5747,9 @@ "input": { "target": "com.amazonaws.chime#DeleteProxySessionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5766,6 +5808,9 @@ "input": { "target": "com.amazonaws.chime#DeleteRoomRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5803,6 +5848,9 @@ "input": { "target": "com.amazonaws.chime#DeleteRoomMembershipRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5890,6 +5938,9 @@ "input": { "target": "com.amazonaws.chime#DeleteSipMediaApplicationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5943,6 +5994,9 @@ "input": { "target": "com.amazonaws.chime#DeleteSipRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5996,6 +6050,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6036,6 +6093,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorEmergencyCallingConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6086,6 +6146,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorGroupRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6139,6 +6202,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorOriginationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6189,6 +6255,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorProxyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6252,6 +6321,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorStreamingConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6302,6 +6374,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorTerminationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6339,6 +6414,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorTerminationCredentialsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -8278,6 +8356,9 @@ }, "com.amazonaws.chime#GetGlobalSettings": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.chime#GetGlobalSettingsResponse" }, @@ -8637,6 +8718,9 @@ }, "com.amazonaws.chime#GetPhoneNumberSettings": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.chime#GetPhoneNumberSettingsResponse" }, @@ -9839,10 +9923,7 @@ } }, "com.amazonaws.chime#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.chime#Invite": { "type": "structure", @@ -12764,7 +12845,6 @@ "com.amazonaws.chime#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -13269,7 +13349,10 @@ } }, "com.amazonaws.chime#NonNullableBoolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.chime#NotFoundException": { "type": "structure", @@ -13307,10 +13390,7 @@ } }, "com.amazonaws.chime#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.chime#NumberSelectionBehavior": { "type": "string", @@ -13439,7 +13519,6 @@ "com.amazonaws.chime#OriginationRoutePriority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -13464,7 +13543,6 @@ "com.amazonaws.chime#OriginationRouteWeight": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -13765,7 +13843,6 @@ "com.amazonaws.chime#PhoneNumberMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -13927,7 +14004,6 @@ "com.amazonaws.chime#Port": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 65535 @@ -13937,7 +14013,6 @@ "com.amazonaws.chime#PositiveInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -13946,7 +14021,6 @@ "com.amazonaws.chime#ProfileServiceMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 200 @@ -14910,6 +14984,9 @@ "input": { "target": "com.amazonaws.chime#PutVoiceConnectorTerminationCredentialsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -15480,7 +15557,6 @@ "com.amazonaws.chime#ResultMax": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 99 @@ -15490,7 +15566,6 @@ "com.amazonaws.chime#RetentionDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5475 @@ -15984,7 +16059,6 @@ "com.amazonaws.chime#SipApplicationPriority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -16500,6 +16574,9 @@ "input": { "target": "com.amazonaws.chime#TagAttendeeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -16602,6 +16679,9 @@ "input": { "target": "com.amazonaws.chime#TagMeetingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -16662,6 +16742,9 @@ "input": { "target": "com.amazonaws.chime#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -17151,21 +17234,6 @@ }, "com.amazonaws.chime#UCBuzzConsoleService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Chime", - "arnNamespace": "chime", - "cloudFormationName": "Chime", - "cloudTrailEventSource": "chime.amazonaws.com", - "endpointPrefix": "chime" - }, - "aws.auth#sigv4": { - "name": "chime" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "The Amazon Chime API (application programming interface) is designed for developers to\n perform key tasks, such as creating and managing Amazon Chime accounts, users, and Voice\n Connectors. This guide provides detailed information about the Amazon Chime API,\n including operations, types, inputs and outputs, and error codes. It also includes API actions for use with the Amazon Chime SDK, which developers use to build their own communication applications. For more information about the\n Amazon Chime SDK, see \n Using the Amazon Chime SDK\n in the Amazon Chime Developer Guide.
\nYou can use an AWS SDK, the AWS Command Line Interface (AWS CLI), or the REST API to make API calls. We recommend using an AWS SDK or the \n AWS CLI. Each API operation includes links to information about using it with a language-specific AWS SDK or the AWS CLI.
\n\nYou don't need to write code to calculate a signature for request authentication. The SDK clients authenticate your requests by using access keys that you provide. For more information about AWS SDKs, see the \nAWS Developer Center.\n
\nUse your access keys with the AWS CLI to make API calls. For information about setting up the AWS CLI, see \nInstalling the AWS Command Line Interface\nin the AWS Command Line Interface User Guide. For a list of available Amazon Chime commands, see the \nAmazon Chime commands in the \n AWS CLI Command Reference.\n
\nIf you use REST to make API calls, you must authenticate your request by providing a signature. Amazon Chime supports signature version 4. For more information, see \nSignature Version 4 Signing Process\nin the Amazon Web Services General Reference.
\n\nWhen making REST API calls, use the service name chime and REST endpoint https://service.chime.aws.amazon.com.
Administrative permissions are controlled using AWS Identity and Access Management (IAM). For more information, see \nIdentity and Access Management for Amazon Chime\nin the Amazon Chime Administration Guide.
", - "smithy.api#title": "Amazon Chime" - }, "version": "2018-05-01", "operations": [ { @@ -17741,7 +17809,22 @@ { "target": "com.amazonaws.chime#ValidateE911Address" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Chime", + "arnNamespace": "chime", + "cloudFormationName": "Chime", + "cloudTrailEventSource": "chime.amazonaws.com", + "endpointPrefix": "chime" + }, + "aws.auth#sigv4": { + "name": "chime" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "The Amazon Chime API (application programming interface) is designed for developers to\n perform key tasks, such as creating and managing Amazon Chime accounts, users, and Voice\n Connectors. This guide provides detailed information about the Amazon Chime API,\n including operations, types, inputs and outputs, and error codes. It also includes API actions for use with the Amazon Chime SDK, which developers use to build their own communication applications. For more information about the\n Amazon Chime SDK, see \n Using the Amazon Chime SDK\n in the Amazon Chime Developer Guide.
\nYou can use an AWS SDK, the AWS Command Line Interface (AWS CLI), or the REST API to make API calls. We recommend using an AWS SDK or the \n AWS CLI. Each API operation includes links to information about using it with a language-specific AWS SDK or the AWS CLI.
\n\nYou don't need to write code to calculate a signature for request authentication. The SDK clients authenticate your requests by using access keys that you provide. For more information about AWS SDKs, see the \nAWS Developer Center.\n
\nUse your access keys with the AWS CLI to make API calls. For information about setting up the AWS CLI, see \nInstalling the AWS Command Line Interface\nin the AWS Command Line Interface User Guide. For a list of available Amazon Chime commands, see the \nAmazon Chime commands in the \n AWS CLI Command Reference.\n
\nIf you use REST to make API calls, you must authenticate your request by providing a signature. Amazon Chime supports signature version 4. For more information, see \nSignature Version 4 Signing Process\nin the Amazon Web Services General Reference.
\n\nWhen making REST API calls, use the service name chime and REST endpoint https://service.chime.aws.amazon.com.
Administrative permissions are controlled using AWS Identity and Access Management (IAM). For more information, see \nIdentity and Access Management for Amazon Chime\nin the Amazon Chime Administration Guide.
", + "smithy.api#title": "Amazon Chime" + } }, "com.amazonaws.chime#UnauthorizedClientException": { "type": "structure", @@ -17780,6 +17863,9 @@ "input": { "target": "com.amazonaws.chime#UntagAttendeeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -17845,6 +17931,9 @@ "input": { "target": "com.amazonaws.chime#UntagMeetingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -17902,6 +17991,9 @@ "input": { "target": "com.amazonaws.chime#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -18604,6 +18696,9 @@ "input": { "target": "com.amazonaws.chime#UpdateGlobalSettingsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -18767,6 +18862,9 @@ "input": { "target": "com.amazonaws.chime#UpdatePhoneNumberSettingsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -19444,6 +19542,9 @@ "input": { "target": "com.amazonaws.chime#UpdateUserSettingsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -19982,6 +20083,7 @@ "ValidationResult": { "target": "com.amazonaws.chime#ValidationResult", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number indicating the result of address validation. \n 0 means the address was perfect as is and successfully validated.\n 1 means the address was corrected. 2 means the address sent was \n not close enough and was not validated.
For more information about Amazon Web Services Cloud Control API, see the Amazon Web Services Cloud Control API User\n Guide.
", - "smithy.api#title": "AWS Cloud Control API" - }, "version": "2021-09-30", "operations": [ { @@ -127,7 +114,20 @@ { "target": "com.amazonaws.cloudcontrol#UpdateResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "CloudControl", + "cloudTrailEventSource": "cloudcontrolapi.amazonaws.com", + "endpointPrefix": "cloudcontrolapi" + }, + "aws.auth#sigv4": { + "name": "cloudcontrolapi" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "For more information about Amazon Web Services Cloud Control API, see the Amazon Web Services Cloud Control API User\n Guide.
", + "smithy.api#title": "AWS Cloud Control API" + } }, "com.amazonaws.cloudcontrol#ConcurrentModificationException": { "type": "structure", @@ -976,7 +976,6 @@ "com.amazonaws.cloudcontrol#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1582,4 +1581,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/clouddirectory.json b/codegen/sdk/aws-models/clouddirectory.json index 351dbafe88f..968c9bfdeae 100644 --- a/codegen/sdk/aws-models/clouddirectory.json +++ b/codegen/sdk/aws-models/clouddirectory.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1118,6 +1118,7 @@ "IsUnique": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the attribute that is being indexed has unique values or\n not.
", "smithy.api#required": {} } @@ -2031,7 +2032,10 @@ } }, "com.amazonaws.clouddirectory#BatchOperationIndex": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.clouddirectory#BatchRead": { "type": "operation", @@ -2550,7 +2554,10 @@ "type": "structure", "members": { "Index": { - "target": "com.amazonaws.clouddirectory#BatchOperationIndex" + "target": "com.amazonaws.clouddirectory#BatchOperationIndex", + "traits": { + "smithy.api#default": 0 + } }, "Type": { "target": "com.amazonaws.clouddirectory#BatchWriteExceptionType" @@ -2886,14 +2893,14 @@ "type": "blob" }, "com.amazonaws.clouddirectory#Bool": { - "type": "boolean" - }, - "com.amazonaws.clouddirectory#BooleanAttributeValue": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.clouddirectory#BooleanAttributeValue": { + "type": "boolean" + }, "com.amazonaws.clouddirectory#CannotListParentOfRootException": { "type": "structure", "members": { @@ -3182,6 +3189,7 @@ "IsUnique": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the attribute that is being indexed has unique values or\n not.
", "smithy.api#required": {} } @@ -4052,6 +4060,9 @@ "input": { "target": "com.amazonaws.clouddirectory#DetachTypedLinkRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.clouddirectory#AccessDeniedException" @@ -4462,6 +4473,7 @@ "IsImmutable": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the attribute is mutable or not.
" } }, @@ -6793,6 +6805,7 @@ "IncludeAllLinksToEachParent": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to True, returns all ListObjectParentsResponse$ParentLinks. There could be multiple links between a parent-child pair.
" } } @@ -7669,7 +7682,6 @@ "com.amazonaws.clouddirectory#NumberResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -8517,7 +8529,6 @@ "com.amazonaws.clouddirectory#TagsNumberResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50 } @@ -8621,6 +8632,7 @@ "IsImmutable": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the attribute is mutable or not.
" } }, @@ -9381,6 +9393,7 @@ "DryRun": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.
" } } @@ -9476,6 +9489,7 @@ "DryRun": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.
" } } diff --git a/codegen/sdk/aws-models/cloudformation.json b/codegen/sdk/aws-models/cloudformation.json index 87d72749f95..3f3c5842f2f 100644 --- a/codegen/sdk/aws-models/cloudformation.json +++ b/codegen/sdk/aws-models/cloudformation.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -30,10 +30,7 @@ }, "shapes": { "com.amazonaws.cloudformation#AcceptTermsAndConditions": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#Account": { "type": "string", @@ -292,16 +289,10 @@ } }, "com.amazonaws.cloudformation#AutoDeploymentNullable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#AutoUpdate": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#BatchDescribeTypeConfigurations": { "type": "operation", @@ -388,15 +379,11 @@ } }, "com.amazonaws.cloudformation#BoxedInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudformation#BoxedMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -953,24 +940,6 @@ }, "com.amazonaws.cloudformation#CloudFormation": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "CloudFormation", - "arnNamespace": "cloudformation", - "cloudFormationName": "CloudFormation", - "cloudTrailEventSource": "cloudformation.amazonaws.com", - "endpointPrefix": "cloudformation" - }, - "aws.auth#sigv4": { - "name": "cloudformation" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "CloudFormation allows you to create and manage Amazon Web Services infrastructure\n deployments predictably and repeatedly. You can use CloudFormation to leverage\n Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store,\n Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly\n reliable, highly scalable, cost-effective applications without creating or configuring the\n underlying Amazon Web Services infrastructure.
\nWith CloudFormation, you declare all your resources and dependencies in a template\n file. The template defines a collection of resources as a single unit called a stack.\n CloudFormation creates and deletes all member resources of the stack together and\n manages all dependencies between the resources for you.
\nFor more information about CloudFormation, see the CloudFormation product page.
\nCloudFormation makes use of other Amazon Web Services products. If you need\n additional technical information about a specific Amazon Web Services product, you can find\n the product's technical documentation at \n docs.aws.amazon.com\n .
CloudFormation allows you to create and manage Amazon Web Services infrastructure\n deployments predictably and repeatedly. You can use CloudFormation to leverage\n Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store,\n Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly\n reliable, highly scalable, cost-effective applications without creating or configuring the\n underlying Amazon Web Services infrastructure.
\nWith CloudFormation, you declare all your resources and dependencies in a template\n file. The template defines a collection of resources as a single unit called a stack.\n CloudFormation creates and deletes all member resources of the stack together and\n manages all dependencies between the resources for you.
\nFor more information about CloudFormation, see the CloudFormation product page.
\nCloudFormation makes use of other Amazon Web Services products. If you need\n additional technical information about a specific Amazon Web Services product, you can find\n the product's technical documentation at \n docs.aws.amazon.com\n .
Removes the stack instances from the specified stack set, but doesn't delete the stacks.\n You can't reassociate a retained stack or add an existing, saved stack to a new stack\n set.
\nFor more information, see Stack set operation options.
", "smithy.api#required": {} } @@ -3961,24 +3949,19 @@ } }, "com.amazonaws.cloudformation#DisableRollback": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#DriftedStackInstancesCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.cloudformation#EnableTerminationProtection": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#ErrorCode": { "type": "string", @@ -4216,6 +4199,7 @@ "com.amazonaws.cloudformation#FailedStackInstancesCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4224,7 +4208,6 @@ "com.amazonaws.cloudformation#FailureToleranceCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4233,7 +4216,6 @@ "com.amazonaws.cloudformation#FailureTolerancePercentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -4558,7 +4540,6 @@ "com.amazonaws.cloudformation#HookInvocationCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4787,6 +4768,7 @@ "com.amazonaws.cloudformation#InProgressStackInstancesCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4795,16 +4777,14 @@ "com.amazonaws.cloudformation#InSyncStackInstancesCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.cloudformation#IncludeNestedStacks": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#InsufficientCapabilitiesException": { "type": "structure", @@ -4875,22 +4855,13 @@ } }, "com.amazonaws.cloudformation#IsActivated": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#IsDefaultConfiguration": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#IsDefaultVersion": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#Key": { "type": "string" @@ -4919,10 +4890,7 @@ "type": "string" }, "com.amazonaws.cloudformation#LimitValue": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudformation#ListChangeSets": { "type": "operation", @@ -5805,7 +5773,6 @@ "com.amazonaws.cloudformation#MajorVersion": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100000 @@ -5827,15 +5794,11 @@ } }, "com.amazonaws.cloudformation#ManagedExecutionNullable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#MaxConcurrentCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5844,7 +5807,6 @@ "com.amazonaws.cloudformation#MaxConcurrentPercentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5854,7 +5816,6 @@ "com.amazonaws.cloudformation#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5887,7 +5848,6 @@ "com.amazonaws.cloudformation#MonitoringTimeInMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 180 @@ -5921,10 +5881,7 @@ } }, "com.amazonaws.cloudformation#NoEcho": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#NotificationARN": { "type": "string" @@ -7276,19 +7233,16 @@ } }, "com.amazonaws.cloudformation#RetainStacks": { - "type": "boolean" - }, - "com.amazonaws.cloudformation#RetainStacksNullable": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.cloudformation#RetainStacksNullable": { + "type": "boolean" + }, "com.amazonaws.cloudformation#RetainStacksOnAccountRemovalNullable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#RoleARN": { "type": "string", @@ -8893,30 +8847,35 @@ "TotalStackInstancesCount": { "target": "com.amazonaws.cloudformation#TotalStackInstancesCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of stack instances belonging to this stack set.
\nThe total number of stack instances is equal to the total of:
\nStack instances that match the stack set configuration.
\nStack instances that have drifted from the stack set configuration.
\nStack instances where the drift detection operation has failed.
\nStack instances currently being checked for drift.
\nThe number of stack instances that have drifted from the expected template and parameter\n configuration of the stack set. A stack instance is considered to have drifted if one or\n more of the resources in the associated stack don't match their expected\n configuration.
" } }, "InSyncStackInstancesCount": { "target": "com.amazonaws.cloudformation#InSyncStackInstancesCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of stack instances which match the expected template and parameter\n configuration of the stack set.
" } }, "InProgressStackInstancesCount": { "target": "com.amazonaws.cloudformation#InProgressStackInstancesCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of stack instances that are currently being checked for drift.
" } }, "FailedStackInstancesCount": { "target": "com.amazonaws.cloudformation#FailedStackInstancesCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of stack instances for which the drift detection operation failed.
" } } @@ -9698,7 +9657,6 @@ "com.amazonaws.cloudformation#SupportedMajorVersion": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65535 @@ -9935,7 +9893,6 @@ "com.amazonaws.cloudformation#TimeoutMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -9964,6 +9921,7 @@ "com.amazonaws.cloudformation#TotalStackInstancesCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -10875,16 +10833,10 @@ "type": "string" }, "com.amazonaws.cloudformation#UsePreviousTemplate": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#UsePreviousValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#ValidateTemplate": { "type": "operation", diff --git a/codegen/sdk/aws-models/cloudfront.json b/codegen/sdk/aws-models/cloudfront.json index ea82f6c56ae..237d1996840 100644 --- a/codegen/sdk/aws-models/cloudfront.json +++ b/codegen/sdk/aws-models/cloudfront.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -981,24 +981,6 @@ }, "com.amazonaws.cloudfront#Cloudfront2020_05_31": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "CloudFront", - "arnNamespace": "cloudfront", - "cloudFormationName": "CloudFront", - "cloudTrailEventSource": "cloudfront.amazonaws.com", - "endpointPrefix": "cloudfront" - }, - "aws.auth#sigv4": { - "name": "cloudfront" - }, - "aws.protocols#restXml": {}, - "smithy.api#documentation": "This is the Amazon CloudFront API Reference. This guide\n is for developers who need detailed information about \n\t\t\tCloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the Amazon CloudFront Developer Guide.
", - "smithy.api#title": "Amazon CloudFront", - "smithy.api#xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" - } - }, "version": "2020-05-31", "operations": [ { @@ -1295,7 +1277,25 @@ { "target": "com.amazonaws.cloudfront#UpdateStreamingDistribution" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "CloudFront", + "arnNamespace": "cloudfront", + "cloudFormationName": "CloudFront", + "cloudTrailEventSource": "cloudfront.amazonaws.com", + "endpointPrefix": "cloudfront" + }, + "aws.auth#sigv4": { + "name": "cloudfront" + }, + "aws.protocols#restXml": {}, + "smithy.api#documentation": "This is the Amazon CloudFront API Reference. This guide\n is for developers who need detailed information about \n\t\t\tCloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the Amazon CloudFront Developer Guide.
", + "smithy.api#title": "Amazon CloudFront", + "smithy.api#xmlNamespace": { + "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" + } + } }, "com.amazonaws.cloudfront#CommentType": { "type": "string", @@ -12266,7 +12266,6 @@ "com.amazonaws.cloudfront#SamplingRate": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0.0, "max": 100.0 @@ -15270,10 +15269,7 @@ } }, "com.amazonaws.cloudfront#boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudfront#distributionIdString": { "type": "string", @@ -15285,25 +15281,18 @@ } }, "com.amazonaws.cloudfront#integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudfront#listConflictingAliasesMaxItemsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 100 } } }, "com.amazonaws.cloudfront#long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.cloudfront#sensitiveStringType": { "type": "string", diff --git a/codegen/sdk/aws-models/cloudhsm-v2.json b/codegen/sdk/aws-models/cloudhsm-v2.json index 9b7d777e822..d4ddf37234a 100644 --- a/codegen/sdk/aws-models/cloudhsm-v2.json +++ b/codegen/sdk/aws-models/cloudhsm-v2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -194,7 +194,6 @@ "com.amazonaws.cloudhsmv2#BackupsMaxSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -268,10 +267,7 @@ } }, "com.amazonaws.cloudhsmv2#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudhsmv2#Cert": { "type": "string", @@ -549,7 +545,6 @@ "com.amazonaws.cloudhsmv2#ClustersMaxSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 25 @@ -1433,7 +1428,6 @@ "com.amazonaws.cloudhsmv2#MaxSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/cloudhsm.json b/codegen/sdk/aws-models/cloudhsm.json index ae7fefa6e94..cddc11b89d6 100644 --- a/codegen/sdk/aws-models/cloudhsm.json +++ b/codegen/sdk/aws-models/cloudhsm.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -96,7 +96,10 @@ } }, "com.amazonaws.cloudhsm#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cloudhsm#Certificate": { "type": "string", @@ -246,6 +249,7 @@ "retryable": { "target": "com.amazonaws.cloudhsm#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if the action can be retried.
" } } @@ -286,6 +290,7 @@ "retryable": { "target": "com.amazonaws.cloudhsm#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if the action can be retried.
" } } @@ -1185,6 +1190,7 @@ "retryable": { "target": "com.amazonaws.cloudhsm#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if the action can be retried.
" } } diff --git a/codegen/sdk/aws-models/cloudsearch-domain.json b/codegen/sdk/aws-models/cloudsearch-domain.json index 0a247cdc13e..f73e28bd158 100644 --- a/codegen/sdk/aws-models/cloudsearch-domain.json +++ b/codegen/sdk/aws-models/cloudsearch-domain.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -30,7 +30,10 @@ }, "shapes": { "com.amazonaws.cloudsearchdomain#Adds": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#AmazonCloudSearch2013": { "type": "service", @@ -83,6 +86,7 @@ "count": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of hits that contain the facet value in the specified facet field.
" } } @@ -130,7 +134,10 @@ "type": "string" }, "com.amazonaws.cloudsearchdomain#Deletes": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#DocumentServiceException": { "type": "structure", @@ -174,7 +181,10 @@ } }, "com.amazonaws.cloudsearchdomain#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#Expr": { "type": "string" @@ -218,24 +228,28 @@ "count": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of documents that contain a value in the specified field in the result set.
" } }, "missing": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of documents that do not contain a value in the specified field in the result set.
" } }, "sum": { "target": "com.amazonaws.cloudsearchdomain#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The sum of the field values across the documents in the result set. null for date fields.
The sum of all field values in the result set squared.
" } }, @@ -248,6 +262,7 @@ "stddev": { "target": "com.amazonaws.cloudsearchdomain#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The standard deviation of the values in the specified field in the result set.
" } } @@ -330,12 +345,14 @@ "found": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of documents that match the search request.
" } }, "start": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The index of the first matching document.
" } }, @@ -357,10 +374,16 @@ } }, "com.amazonaws.cloudsearchdomain#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#Partial": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cloudsearchdomain#Query": { "type": "string" @@ -472,6 +495,7 @@ "partial": { "target": "com.amazonaws.cloudsearchdomain#Partial", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables partial results to be returned if one or more index partitions are unavailable. When your search index is partitioned across multiple search instances, by default Amazon CloudSearch only returns results if every partition can be queried. This means that the failure of a single search instance can result in 5xx (internal server) errors. When you enable partial results, Amazon CloudSearch returns whatever results are available and includes the percentage of documents searched in the search results (percent-searched). This enables you to more gracefully degrade your users' search experience. For example, rather than displaying no results, you could display the partial results and a message indicating that the results might be incomplete due to a temporary system outage.
", "smithy.api#httpQuery": "partial" } @@ -508,6 +532,7 @@ "size": { "target": "com.amazonaws.cloudsearchdomain#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the maximum number of search hits to include in the response.
", "smithy.api#httpQuery": "size" } @@ -522,6 +547,7 @@ "start": { "target": "com.amazonaws.cloudsearchdomain#Start", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the offset of the first search hit you want to return. Note that the result set is zero-based; the first result is at index 0. You can specify either the start or cursor parameter in a request, they are mutually exclusive.
For more information, see Paginating Results in the Amazon CloudSearch Developer Guide.
", "smithy.api#httpQuery": "start" } @@ -576,6 +602,7 @@ "timems": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "How long it took to process the request, in milliseconds.
" } }, @@ -591,13 +618,19 @@ } }, "com.amazonaws.cloudsearchdomain#Size": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#Sort": { "type": "string" }, "com.amazonaws.cloudsearchdomain#Start": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#Stat": { "type": "string" @@ -651,6 +684,7 @@ "found": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of documents that were found to match the query string.
" } }, @@ -687,6 +721,7 @@ "size": { "target": "com.amazonaws.cloudsearchdomain#SuggestionsSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the maximum number of suggestions to return.
", "smithy.api#httpQuery": "size" } @@ -722,6 +757,7 @@ "timems": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "How long it took to process the request, in milliseconds.
" } }, @@ -751,6 +787,7 @@ "score": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The relevance score of a suggested match.
" } }, @@ -772,7 +809,10 @@ } }, "com.amazonaws.cloudsearchdomain#SuggestionsSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#UploadDocuments": { "type": "operation", @@ -832,12 +872,14 @@ "adds": { "target": "com.amazonaws.cloudsearchdomain#Adds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of documents that were added to the search domain.
" } }, "deletes": { "target": "com.amazonaws.cloudsearchdomain#Deletes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of documents that were deleted from the search domain.
" } }, diff --git a/codegen/sdk/aws-models/cloudsearch.json b/codegen/sdk/aws-models/cloudsearch.json index a324ecb25bf..b63abcf8298 100644 --- a/codegen/sdk/aws-models/cloudsearch.json +++ b/codegen/sdk/aws-models/cloudsearch.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -430,6 +430,7 @@ "Options": { "target": "com.amazonaws.cloudsearch#MultiAZ", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The availability options configured for the domain.
", "smithy.api#required": {} } @@ -461,10 +462,7 @@ } }, "com.amazonaws.cloudsearch#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudsearch#BuildSuggesters": { "type": "operation", @@ -1966,12 +1964,14 @@ "SearchPartitionCount": { "target": "com.amazonaws.cloudsearch#PartitionCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of partitions across which the search index is spread.
" } }, "SearchInstanceCount": { "target": "com.amazonaws.cloudsearch#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of search instances that are available to process search requests.
" } }, @@ -1993,10 +1993,7 @@ } }, "com.amazonaws.cloudsearch#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.cloudsearch#DoubleArrayOptions": { "type": "structure", @@ -2396,6 +2393,7 @@ "com.amazonaws.cloudsearch#InstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -2590,12 +2588,14 @@ "MaximumReplicationCount": { "target": "com.amazonaws.cloudsearch#MaximumReplicationCount", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "MaximumPartitionCount": { "target": "com.amazonaws.cloudsearch#MaximumPartitionCount", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } } @@ -2603,6 +2603,9 @@ }, "com.amazonaws.cloudsearch#ListDomainNames": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.cloudsearch#ListDomainNamesResponse" }, @@ -2709,14 +2712,12 @@ } }, "com.amazonaws.cloudsearch#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.cloudsearch#MaximumPartitionCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -2725,13 +2726,17 @@ "com.amazonaws.cloudsearch#MaximumReplicationCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.cloudsearch#MultiAZ": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cloudsearch#OptionState": { "type": "string", @@ -2777,6 +2782,7 @@ "UpdateVersion": { "target": "com.amazonaws.cloudsearch#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A unique integer that indicates when this option was last updated.
" } }, @@ -2801,6 +2807,7 @@ "com.amazonaws.cloudsearch#PartitionCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of partitions used to hold the domain's index.
", "smithy.api#range": { "min": 1 @@ -2941,12 +2948,14 @@ "DesiredReplicationCount": { "target": "com.amazonaws.cloudsearch#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of replicas you want to preconfigure for each index partition.
" } }, "DesiredPartitionCount": { "target": "com.amazonaws.cloudsearch#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of partitions you want to preconfigure for your domain. Only valid when\n you select m2.2xlarge as the desired instance type.
Specifies whether the trail is created in the current region or in all regions. The default is false, which creates a trail only in the region where you are signed in. As a best practice, consider\n creating trails that log events in all regions.
" } }, "EnableLogFileValidation": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "Specifies whether log file integrity validation is enabled. The default is false.
\nWhen you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail does \n not create digest files for log files that were delivered during a period in which log file integrity validation was disabled. \n For example, if you enable log file integrity validation at noon on January 1, disable it at noon on January 2, and re-enable \n it at noon on January 10, digest files will not be created for the log files delivered from noon on January 2 to noon on \n January 10. The same applies whenever you stop CloudTrail logging or delete a trail.
\nSpecifies whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon Web Services account. \n The default is false, and cannot be true unless the call is made on behalf of an Amazon Web Services account that is the management account for an organization in \n Organizations.
" } }, @@ -1338,8 +1332,6 @@ "includeShadowTrails": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "Specifies whether to include shadow trails in the response. A shadow trail is the replication in a region of a trail that was created in a different region,\n or in the case of an organization trail, the replication of an organization trail in member accounts. If you do not include shadow trails, organization trails in a member account\n and region replication trails will not be returned. The default is true.
" } } @@ -4310,8 +4302,6 @@ "MaxResults": { "target": "com.amazonaws.cloudtrail#MaxResults", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 50, "smithy.api#documentation": "The number of events to return. Possible values are 1 through 50. The default is 50.
" } }, @@ -6380,16 +6370,12 @@ "IsMultiRegionTrail": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, \n shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region \n where it was created, and its shadow trails in other regions will be deleted. As a best practice, consider\n using trails that log events in all regions.
" } }, "EnableLogFileValidation": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "Specifies whether log file validation is enabled. The default is false.
\nWhen you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail \n does not create digest files for log files that were delivered during a period in which log file integrity validation \n was disabled. For example, if you enable log file integrity validation at noon on January 1, disable it at noon on \n January 2, and re-enable it at noon on January 10, digest files will not be created for the log files delivered from noon \n on January 2 to noon on January 10. The same applies whenever you stop CloudTrail logging or delete a trail.
\nSpecifies whether the trail is applied to all accounts in an organization in Organizations, or only for the current Amazon Web Services account. \n The default is false, and cannot be true unless the call is made on behalf of an Amazon Web Services account that is the management account for an organization in \n Organizations. If the trail is not an organization trail and this is set to true, the trail will be created in all Amazon Web Services accounts that belong\n to the organization. If the trail is an organization trail and this is set to false, the trail will remain in the current Amazon Web Services account but be \n deleted from all member accounts in the organization.
The size of the archive, in bytes.
" } }, "EventCount": { "target": "com.amazonaws.cloudwatchevents#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of events in the archive.
" } }, @@ -621,6 +625,7 @@ "Size": { "target": "com.amazonaws.cloudwatchevents#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the array, if this is an array batch job. Valid values are integers between 2\n and 10,000.
" } } @@ -669,6 +674,7 @@ "Attempts": { "target": "com.amazonaws.cloudwatchevents#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of times to attempt to retry, if the job fails. Valid values are 1–10.
" } } @@ -678,7 +684,10 @@ } }, "com.amazonaws.cloudwatchevents#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cloudwatchevents#CancelReplay": { "type": "operation", @@ -775,12 +784,14 @@ "weight": { "target": "com.amazonaws.cloudwatchevents#CapacityProviderStrategyItemWeight", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The weight value designates the relative percentage of the total number of tasks launched\n that should use the specified capacity provider. The weight value is taken into consideration\n after the base value, if defined, is satisfied.
" } }, "base": { "target": "com.amazonaws.cloudwatchevents#CapacityProviderStrategyItemBase", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The base value designates how many tasks, at a minimum, to run on the specified capacity\n provider. Only one capacity provider in a capacity provider strategy can have a base defined.\n If no value is specified, the default value of 0 is used.
" } } @@ -792,6 +803,7 @@ "com.amazonaws.cloudwatchevents#CapacityProviderStrategyItemBase": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100000 @@ -801,6 +813,7 @@ "com.amazonaws.cloudwatchevents#CapacityProviderStrategyItemWeight": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -1011,6 +1024,7 @@ "IsValueSecret": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specified whether the value is secret.
" } } @@ -1059,6 +1073,7 @@ "IsValueSecret": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specified whether the value is a secret.
" } } @@ -1198,6 +1213,7 @@ "IsValueSecret": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the value is secret.
" } } @@ -1845,6 +1861,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#DeactivateEventSourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -2115,6 +2134,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#DeleteEventBusRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -2144,6 +2166,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#DeletePartnerEventSourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -2183,6 +2208,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#DeleteRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -2220,6 +2248,7 @@ "Force": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify\n Force as True to delete the rule. This parameter is ignored for\n rules that are not managed rules. You can check whether a rule is a managed rule by using\n DescribeRule or ListRules and checking the ManagedBy\n field of the response.
The size of the archive in bytes.
" } }, "EventCount": { "target": "com.amazonaws.cloudwatchevents#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of events in the archive.
" } }, @@ -2930,6 +2961,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#DisableRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -3015,12 +3049,14 @@ "EnableECSManagedTags": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable Amazon ECS managed tags for the task. For more information,\n see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer\n Guide.
" } }, "EnableExecuteCommand": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether or not to enable the execute command functionality for the containers in this\n task. If true, this enables execute command functionality on all containers in the\n task.
" } }, @@ -3064,6 +3100,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#EnableRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -3374,7 +3413,10 @@ } }, "com.amazonaws.cloudwatchevents#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudwatchevents#InternalException": { "type": "structure", @@ -3461,7 +3503,6 @@ "com.amazonaws.cloudwatchevents#LimitMax100": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3471,7 +3512,6 @@ "com.amazonaws.cloudwatchevents#LimitMin1": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4230,7 +4270,10 @@ } }, "com.amazonaws.cloudwatchevents#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudwatchevents#ManagedBy": { "type": "string", @@ -4256,7 +4299,6 @@ "com.amazonaws.cloudwatchevents#MaximumEventAgeInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 86400 @@ -4266,7 +4308,6 @@ "com.amazonaws.cloudwatchevents#MaximumRetryAttempts": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 185 @@ -4663,6 +4704,7 @@ "FailedEntryCount": { "target": "com.amazonaws.cloudwatchevents#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of failed entries.
" } }, @@ -4794,6 +4836,7 @@ "FailedEntryCount": { "target": "com.amazonaws.cloudwatchevents#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of events from this operation that could not be written to the partner event\n bus.
" } }, @@ -4842,6 +4885,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#PutPermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -5061,6 +5107,7 @@ "FailedEntryCount": { "target": "com.amazonaws.cloudwatchevents#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of failed entries.
" } }, @@ -5171,6 +5218,7 @@ "WithEvent": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to send an event back to EventBridge after the SQL statement\n runs.
" } } @@ -5203,6 +5251,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#RemovePermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -5233,6 +5284,7 @@ "RemoveAllPermissions": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to remove all permissions.
" } }, @@ -5296,6 +5348,7 @@ "Force": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify\n Force as True to remove targets. This parameter is ignored for\n rules that are not managed rules. You can check whether a rule is a managed rule by using\n DescribeRule or ListRules and checking the ManagedBy\n field of the response.
The number of failed entries.
" } }, @@ -5552,7 +5606,6 @@ "com.amazonaws.cloudwatchevents#RetentionDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6347,6 +6400,7 @@ "Result": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the event matches the event pattern.
" } } diff --git a/codegen/sdk/aws-models/cloudwatch-logs.json b/codegen/sdk/aws-models/cloudwatch-logs.json index b1c88ea1e07..8ba441dc133 100644 --- a/codegen/sdk/aws-models/cloudwatch-logs.json +++ b/codegen/sdk/aws-models/cloudwatch-logs.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -333,15 +333,11 @@ "com.amazonaws.cloudwatchlogs#Days": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The number of days to retain the log events in the specified log group.\n Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, and 3653.
\nTo set a log group to never have log events expire, use\n DeleteRetentionPolicy.\n
" } }, "com.amazonaws.cloudwatchlogs#DefaultValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.cloudwatchlogs#DeleteDestination": { "type": "operation", @@ -550,6 +546,7 @@ "success": { "target": "com.amazonaws.cloudwatchlogs#Success", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value of TRUE indicates that the operation succeeded. FALSE indicates that the operation\n failed.
" } } @@ -673,10 +670,7 @@ } }, "com.amazonaws.cloudwatchlogs#Descending": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatchlogs#DescribeDestinations": { "type": "operation", @@ -807,7 +801,6 @@ "com.amazonaws.cloudwatchlogs#DescribeLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -1072,7 +1065,6 @@ "com.amazonaws.cloudwatchlogs#DescribeQueriesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -1455,12 +1447,14 @@ } }, "com.amazonaws.cloudwatchlogs#EventNumber": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudwatchlogs#EventsLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1652,10 +1646,7 @@ "type": "string" }, "com.amazonaws.cloudwatchlogs#FilterCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudwatchlogs#FilterLogEvents": { "type": "operation", @@ -1836,10 +1827,7 @@ } }, "com.amazonaws.cloudwatchlogs#ForceUpdate": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatchlogs#GetLogEvents": { "type": "operation", @@ -2151,10 +2139,7 @@ } }, "com.amazonaws.cloudwatchlogs#Interleaved": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatchlogs#InvalidOperationException": { "type": "structure", @@ -2260,10 +2245,7 @@ } }, "com.amazonaws.cloudwatchlogs#LogEventIndex": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudwatchlogs#LogGroup": { "type": "structure", @@ -2324,6 +2306,7 @@ "percent": { "target": "com.amazonaws.cloudwatchlogs#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of log events queried that contained the field.
" } } @@ -2442,10 +2425,7 @@ } }, "com.amazonaws.cloudwatchlogs#LogStreamSearchedCompletely": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatchlogs#LogStreams": { "type": "list", @@ -2455,24 +2435,6 @@ }, "com.amazonaws.cloudwatchlogs#Logs_20140328": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "CloudWatch Logs", - "arnNamespace": "logs", - "cloudFormationName": "Logs", - "cloudTrailEventSource": "cloudwatchlogs.amazonaws.com", - "endpointPrefix": "logs" - }, - "aws.auth#sigv4": { - "name": "logs" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "You can use Amazon CloudWatch Logs to monitor, store, and access your log files from\n EC2 instances, CloudTrail, and other sources. You can then retrieve the associated\n log data from CloudWatch Logs using the CloudWatch console, CloudWatch Logs commands in the\n Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch Logs SDK.
\nYou can use CloudWatch Logs to:
\n\n Monitor logs from EC2 instances in real-time: You\n can use CloudWatch Logs to monitor applications and systems using log data. For example,\n CloudWatch Logs can track the number of errors that occur in your application logs and\n send you a notification whenever the rate of errors exceeds a threshold that you specify.\n CloudWatch Logs uses your log data for monitoring so no code changes are required. For\n example, you can monitor application logs for specific literal terms (such as\n \"NullReferenceException\") or count the number of occurrences of a literal term at a\n particular position in log data (such as \"404\" status codes in an Apache access log). When\n the term you are searching for is found, CloudWatch Logs reports the data to a CloudWatch\n metric that you specify.
\n\n Monitor CloudTrail logged events: You can\n create alarms in CloudWatch and receive notifications of particular API activity as\n captured by CloudTrail. You can use the notification to perform troubleshooting.
\n\n Archive log data: You can use CloudWatch Logs to\n store your log data in highly durable storage. You can change the log retention setting so\n that any log events older than this setting are automatically deleted. The CloudWatch Logs\n agent makes it easy to quickly send both rotated and non-rotated log data off of a host\n and into the log service. You can then access the raw log data when you need it.
\nYou can use Amazon CloudWatch Logs to monitor, store, and access your log files from\n EC2 instances, CloudTrail, and other sources. You can then retrieve the associated\n log data from CloudWatch Logs using the CloudWatch console, CloudWatch Logs commands in the\n Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch Logs SDK.
\nYou can use CloudWatch Logs to:
\n\n Monitor logs from EC2 instances in real-time: You\n can use CloudWatch Logs to monitor applications and systems using log data. For example,\n CloudWatch Logs can track the number of errors that occur in your application logs and\n send you a notification whenever the rate of errors exceeds a threshold that you specify.\n CloudWatch Logs uses your log data for monitoring so no code changes are required. For\n example, you can monitor application logs for specific literal terms (such as\n \"NullReferenceException\") or count the number of occurrences of a literal term at a\n particular position in log data (such as \"404\" status codes in an Apache access log). When\n the term you are searching for is found, CloudWatch Logs reports the data to a CloudWatch\n metric that you specify.
\n\n Monitor CloudTrail logged events: You can\n create alarms in CloudWatch and receive notifications of particular API activity as\n captured by CloudTrail. You can use the notification to perform troubleshooting.
\n\n Archive log data: You can use CloudWatch Logs to\n store your log data in highly durable storage. You can change the log retention setting so\n that any log events older than this setting are automatically deleted. The CloudWatch Logs\n agent makes it easy to quickly send both rotated and non-rotated log data off of a host\n and into the log service. You can then access the raw log data when you need it.
\nThe event number.
" } }, @@ -2855,6 +2836,7 @@ "com.amazonaws.cloudwatchlogs#Percentage": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -3362,10 +3344,7 @@ } }, "com.amazonaws.cloudwatchlogs#QueryCharOffset": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudwatchlogs#QueryCompileError": { "type": "structure", @@ -3526,7 +3505,6 @@ "com.amazonaws.cloudwatchlogs#QueryListMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3545,18 +3523,21 @@ "recordsMatched": { "target": "com.amazonaws.cloudwatchlogs#StatsValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of log events that matched the query string.
" } }, "recordsScanned": { "target": "com.amazonaws.cloudwatchlogs#StatsValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of log events scanned during the query.
" } }, "bytesScanned": { "target": "com.amazonaws.cloudwatchlogs#StatsValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of bytes in the log events scanned during the query.
" } } @@ -3887,10 +3868,7 @@ } }, "com.amazonaws.cloudwatchlogs#StartFromHead": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatchlogs#StartQuery": { "type": "operation", @@ -3977,7 +3955,10 @@ } }, "com.amazonaws.cloudwatchlogs#StatsValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudwatchlogs#StopQuery": { "type": "operation", @@ -4020,6 +4001,7 @@ "success": { "target": "com.amazonaws.cloudwatchlogs#Success", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "This is true if the query was stopped by the StopQuery operation.
The size of the dashboard, in bytes.
" } } @@ -761,10 +759,7 @@ } }, "com.amazonaws.cloudwatch#DatapointValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.cloudwatch#DatapointValueMap": { "type": "map", @@ -790,7 +785,6 @@ "com.amazonaws.cloudwatch#DatapointsToAlarm": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1722,7 +1716,6 @@ "com.amazonaws.cloudwatch#EvaluationPeriods": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -2007,10 +2000,7 @@ "type": "string" }, "com.amazonaws.cloudwatch#GetMetricDataMaxDatapoints": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudwatch#GetMetricDataOutput": { "type": "structure", @@ -2297,24 +2287,6 @@ }, "com.amazonaws.cloudwatch#GraniteServiceVersion20100801": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "CloudWatch", - "arnNamespace": "monitoring", - "cloudFormationName": "CloudWatch", - "cloudTrailEventSource": "cloudwatch.amazonaws.com", - "endpointPrefix": "monitoring" - }, - "aws.auth#sigv4": { - "name": "monitoring" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services) resources and the\n\t\t\tapplications you run on Amazon Web Services in real time. You can use CloudWatch to collect and track\n\t\t\tmetrics, which are the variables you want to measure for your resources and\n\t\t\tapplications.
\n\n\t\tCloudWatch alarms send notifications or automatically change the resources you are monitoring based on rules\n\t\t\tthat you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon EC2\n\t\t\tinstances. Then, use this data to determine whether you should launch\n\t\t\tadditional instances to handle increased load. You can also use this data to stop\n\t\t\tunder-used instances to save\n\t\t\tmoney.
\n\n\t\tIn addition to monitoring the built-in metrics that come with Amazon Web Services, you can monitor\n\t\t\tyour own custom metrics. With CloudWatch, you gain system-wide visibility into resource\n\t\t\tutilization, application performance, and operational health.
", - "smithy.api#title": "Amazon CloudWatch", - "smithy.api#xmlNamespace": { - "uri": "http://monitoring.amazonaws.com/doc/2010-08-01/" - } - }, "version": "2010-08-01", "operations": [ { @@ -2431,7 +2403,25 @@ { "target": "com.amazonaws.cloudwatch#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "CloudWatch", + "arnNamespace": "monitoring", + "cloudFormationName": "CloudWatch", + "cloudTrailEventSource": "cloudwatch.amazonaws.com", + "endpointPrefix": "monitoring" + }, + "aws.auth#sigv4": { + "name": "monitoring" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services) resources and the\n\t\t\tapplications you run on Amazon Web Services in real time. You can use CloudWatch to collect and track\n\t\t\tmetrics, which are the variables you want to measure for your resources and\n\t\t\tapplications.
\n\n\t\tCloudWatch alarms send notifications or automatically change the resources you are monitoring based on rules\n\t\t\tthat you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon EC2\n\t\t\tinstances. Then, use this data to determine whether you should launch\n\t\t\tadditional instances to handle increased load. You can also use this data to stop\n\t\t\tunder-used instances to save\n\t\t\tmoney.
\n\n\t\tIn addition to monitoring the built-in metrics that come with Amazon Web Services, you can monitor\n\t\t\tyour own custom metrics. With CloudWatch, you gain system-wide visibility into resource\n\t\t\tutilization, application performance, and operational health.
", + "smithy.api#title": "Amazon CloudWatch", + "smithy.api#xmlNamespace": { + "uri": "http://monitoring.amazonaws.com/doc/2010-08-01/" + } + } }, "com.amazonaws.cloudwatch#HistoryData": { "type": "string", @@ -2504,6 +2494,7 @@ "ManagedRule": { "target": "com.amazonaws.cloudwatch#InsightRuleIsManaged", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "\n\t\t\tAn optional built-in rule that Amazon Web Services manages.\n\t\t
" } } @@ -2607,12 +2598,14 @@ } }, "com.amazonaws.cloudwatch#InsightRuleIsManaged": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cloudwatch#InsightRuleMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -2738,22 +2731,13 @@ } }, "com.amazonaws.cloudwatch#InsightRuleUnboundDouble": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.cloudwatch#InsightRuleUnboundInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudwatch#InsightRuleUnboundLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.cloudwatch#InsightRules": { "type": "list", @@ -3094,7 +3078,6 @@ "com.amazonaws.cloudwatch#ListMetricStreamsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -3332,7 +3315,6 @@ "com.amazonaws.cloudwatch#MaxRecords": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3342,7 +3324,6 @@ "com.amazonaws.cloudwatch#MaxReturnedResultsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4101,7 +4082,6 @@ "com.amazonaws.cloudwatch#Period": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4843,10 +4823,7 @@ "type": "string" }, "com.amazonaws.cloudwatch#ReturnData": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatch#ScanBy": { "type": "string", @@ -4948,7 +4925,10 @@ } }, "com.amazonaws.cloudwatch#Size": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudwatch#StandardUnit": { "type": "string", @@ -5280,17 +5260,13 @@ "com.amazonaws.cloudwatch#StorageResolution": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.cloudwatch#SuppressorPeriod": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudwatch#Tag": { "type": "structure", @@ -5404,10 +5380,7 @@ } }, "com.amazonaws.cloudwatch#Threshold": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.cloudwatch#Timestamp": { "type": "timestamp" diff --git a/codegen/sdk/aws-models/codeartifact.json b/codegen/sdk/aws-models/codeartifact.json index 57161996ee4..b8089436bda 100644 --- a/codegen/sdk/aws-models/codeartifact.json +++ b/codegen/sdk/aws-models/codeartifact.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -243,7 +243,6 @@ "com.amazonaws.codeartifact#AuthorizationTokenDurationSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 43200 @@ -251,28 +250,10 @@ } }, "com.amazonaws.codeartifact#BooleanOptional": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.codeartifact#CodeArtifactControlPlaneService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "codeartifact", - "arnNamespace": "codeartifact", - "cloudFormationName": "Codeartifact", - "cloudTrailEventSource": "codeartifact.amazonaws.com", - "endpointPrefix": "codeartifact" - }, - "aws.auth#sigv4": { - "name": "codeartifact" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "CodeArtifact is a fully managed artifact repository compatible with language-native\n package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to\n share packages with development teams and pull packages. Packages can be pulled from both\n public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact\n repository and another repository, which effectively merges their contents from the point of\n view of a package manager client.
\n \n\n CodeArtifact Components\n
\nUse the information in this guide to help you work with the following CodeArtifact components:
\n \n\n Repository: A CodeArtifact repository contains a set of package\n versions, each of which maps to a set of assets, or files. Repositories are\n polyglot, so a single repository can contain packages of any supported type. Each\n repository exposes endpoints for fetching and publishing packages using tools like the\n \n npm\n CLI, the Maven CLI (\n mvn\n ), Python CLIs (\n pip\n and twine), and NuGet CLIs (nuget and dotnet).
\n Domain: Repositories are aggregated into a higher-level entity known as a\n domain. All package assets and metadata are stored in the domain,\n but are consumed through repositories. A given package asset, such as a Maven JAR file, is\n stored once per domain, no matter how many repositories it's present in. All of the assets\n and metadata in a domain are encrypted with the same customer master key (CMK) stored in\n Key Management Service (KMS).
\nEach repository is a member of a single domain and can't be moved to a\n different domain.
\nThe domain allows organizational policy to be applied across multiple\n repositories, such as which accounts can access repositories in the domain, and\n which public repositories can be used as sources of packages.
\nAlthough an organization can have multiple domains, we recommend a single production\n domain that contains all published artifacts so that teams can find and share packages\n across their organization.
\n\n Package: A package is a bundle of software and the metadata required to\n resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, and NuGet package formats.
\nIn CodeArtifact, a package consists of:
\nA name (for example, webpack is the name of a\n popular npm package)
An optional namespace (for example, @types in @types/node)
A set of versions (for example, 1.0.0, 1.0.1,\n 1.0.2, etc.)
Package-level metadata (for example, npm tags)
\n\n Package version: A version of a package, such as @types/node 12.6.9. The version number\n format and semantics vary for different package formats. For example, npm package versions\n must conform to the Semantic Versioning\n specification. In CodeArtifact, a package version consists of the version identifier,\n metadata at the package version level, and a set of assets.
\n Upstream repository: One repository is upstream of another when the package versions in\n it can be accessed from the repository endpoint of the downstream repository, effectively\n merging the contents of the two repositories from the point of view of a client. CodeArtifact\n allows creating an upstream relationship between two repositories.
\n\n Asset: An individual file stored in CodeArtifact associated with a package version, such as an npm\n .tgz file or Maven POM and JAR files.
CodeArtifact supports these operations:
\n\n AssociateExternalConnection: Adds an existing external \n connection to a repository.\n
\n CopyPackageVersions: Copies package versions from one \n repository to another repository in the same domain.
\n CreateDomain: Creates a domain
\n CreateRepository: Creates a CodeArtifact repository in a domain.
\n DeleteDomain: Deletes a domain. You cannot delete a domain that contains\n repositories.
\n DeleteDomainPermissionsPolicy: Deletes the resource policy that is set on a domain.
\n DeletePackageVersions: Deletes versions of a package. After a package has\n been deleted, it can be republished, but its assets and metadata cannot be restored\n because they have been permanently removed from storage.
\n DeleteRepository: Deletes a repository. \n
\n DeleteRepositoryPermissionsPolicy: Deletes the resource policy that is set on a repository.
\n DescribeDomain: Returns a DomainDescription object that\n contains information about the requested domain.
\n DescribePackage: Returns a PackageDescription\n object that contains details about a package.
\n DescribePackageVersion: Returns a PackageVersionDescription\n object that contains details about a package version.
\n DescribeRepository: Returns a RepositoryDescription object\n that contains detailed information about the requested repository.
\n DisposePackageVersions: Disposes versions of a package. A package version\n with the status Disposed cannot be restored because they have been\n permanently removed from storage.
\n DisassociateExternalConnection: Removes an existing external connection from a repository. \n
\n GetAuthorizationToken: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed. \n The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.
\n GetDomainPermissionsPolicy: Returns the policy of a resource\n that is attached to the specified domain.
\n GetPackageVersionAsset: Returns the contents of an asset that is in a package version.
\n GetPackageVersionReadme: Gets the readme file or descriptive text for a package version.
\n GetRepositoryEndpoint: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each \n package format:\n
\n maven\n
\n npm\n
\n nuget\n
\n pypi\n
\n GetRepositoryPermissionsPolicy: Returns the resource policy that is set on a repository. \n
\n ListDomains: Returns a list of DomainSummary objects. Each\n returned DomainSummary object contains information about a domain.
\n ListPackages: Lists the packages in a repository.
\n ListPackageVersionAssets: Lists the assets for a given package version.
\n ListPackageVersionDependencies: Returns a list of the direct dependencies for a\n package version.
\n ListPackageVersions: Returns a list of package versions for a specified\n package in a repository.
\n ListRepositories: Returns a list of repositories owned by the Amazon Web Services account that called this method.
\n ListRepositoriesInDomain: Returns a list of the repositories in a domain.
\n PutDomainPermissionsPolicy: Attaches a resource policy to a domain.
\n PutPackageOriginConfiguration: Sets the package origin configuration for a package, which determine \n how new versions of the package can be added to a specific repository.
\n PutRepositoryPermissionsPolicy: Sets the resource policy on a repository\n that specifies permissions to access it.
\n UpdatePackageVersionsStatus: Updates the status of one or more versions of a package.
\n UpdateRepository: Updates the properties of a repository.
CodeArtifact is a fully managed artifact repository compatible with language-native\n package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to\n share packages with development teams and pull packages. Packages can be pulled from both\n public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact\n repository and another repository, which effectively merges their contents from the point of\n view of a package manager client.
\n \n\n CodeArtifact Components\n
\nUse the information in this guide to help you work with the following CodeArtifact components:
\n \n\n Repository: A CodeArtifact repository contains a set of package\n versions, each of which maps to a set of assets, or files. Repositories are\n polyglot, so a single repository can contain packages of any supported type. Each\n repository exposes endpoints for fetching and publishing packages using tools like the\n \n npm\n CLI, the Maven CLI (\n mvn\n ), Python CLIs (\n pip\n and twine), and NuGet CLIs (nuget and dotnet).
\n Domain: Repositories are aggregated into a higher-level entity known as a\n domain. All package assets and metadata are stored in the domain,\n but are consumed through repositories. A given package asset, such as a Maven JAR file, is\n stored once per domain, no matter how many repositories it's present in. All of the assets\n and metadata in a domain are encrypted with the same customer master key (CMK) stored in\n Key Management Service (KMS).
\nEach repository is a member of a single domain and can't be moved to a\n different domain.
\nThe domain allows organizational policy to be applied across multiple\n repositories, such as which accounts can access repositories in the domain, and\n which public repositories can be used as sources of packages.
\nAlthough an organization can have multiple domains, we recommend a single production\n domain that contains all published artifacts so that teams can find and share packages\n across their organization.
\n\n Package: A package is a bundle of software and the metadata required to\n resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, and NuGet package formats.
\nIn CodeArtifact, a package consists of:
\nA name (for example, webpack is the name of a\n popular npm package)
An optional namespace (for example, @types in @types/node)
A set of versions (for example, 1.0.0, 1.0.1,\n 1.0.2, etc.)
Package-level metadata (for example, npm tags)
\n\n Package version: A version of a package, such as @types/node 12.6.9. The version number\n format and semantics vary for different package formats. For example, npm package versions\n must conform to the Semantic Versioning\n specification. In CodeArtifact, a package version consists of the version identifier,\n metadata at the package version level, and a set of assets.
\n Upstream repository: One repository is upstream of another when the package versions in\n it can be accessed from the repository endpoint of the downstream repository, effectively\n merging the contents of the two repositories from the point of view of a client. CodeArtifact\n allows creating an upstream relationship between two repositories.
\n\n Asset: An individual file stored in CodeArtifact associated with a package version, such as an npm\n .tgz file or Maven POM and JAR files.
CodeArtifact supports these operations:
\n\n AssociateExternalConnection: Adds an existing external \n connection to a repository.\n
\n CopyPackageVersions: Copies package versions from one \n repository to another repository in the same domain.
\n CreateDomain: Creates a domain
\n CreateRepository: Creates a CodeArtifact repository in a domain.
\n DeleteDomain: Deletes a domain. You cannot delete a domain that contains\n repositories.
\n DeleteDomainPermissionsPolicy: Deletes the resource policy that is set on a domain.
\n DeletePackageVersions: Deletes versions of a package. After a package has\n been deleted, it can be republished, but its assets and metadata cannot be restored\n because they have been permanently removed from storage.
\n DeleteRepository: Deletes a repository. \n
\n DeleteRepositoryPermissionsPolicy: Deletes the resource policy that is set on a repository.
\n DescribeDomain: Returns a DomainDescription object that\n contains information about the requested domain.
\n DescribePackage: Returns a PackageDescription\n object that contains details about a package.
\n DescribePackageVersion: Returns a PackageVersionDescription\n object that contains details about a package version.
\n DescribeRepository: Returns a RepositoryDescription object\n that contains detailed information about the requested repository.
\n DisposePackageVersions: Disposes versions of a package. A package version\n with the status Disposed cannot be restored because they have been\n permanently removed from storage.
\n DisassociateExternalConnection: Removes an existing external connection from a repository. \n
\n GetAuthorizationToken: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed. \n The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.
\n GetDomainPermissionsPolicy: Returns the policy of a resource\n that is attached to the specified domain.
\n GetPackageVersionAsset: Returns the contents of an asset that is in a package version.
\n GetPackageVersionReadme: Gets the readme file or descriptive text for a package version.
\n GetRepositoryEndpoint: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each \n package format:\n
\n maven\n
\n npm\n
\n nuget\n
\n pypi\n
\n GetRepositoryPermissionsPolicy: Returns the resource policy that is set on a repository. \n
\n ListDomains: Returns a list of DomainSummary objects. Each\n returned DomainSummary object contains information about a domain.
\n ListPackages: Lists the packages in a repository.
\n ListPackageVersionAssets: Lists the assets for a given package version.
\n ListPackageVersionDependencies: Returns a list of the direct dependencies for a\n package version.
\n ListPackageVersions: Returns a list of package versions for a specified\n package in a repository.
\n ListRepositories: Returns a list of repositories owned by the Amazon Web Services account that called this method.
\n ListRepositoriesInDomain: Returns a list of the repositories in a domain.
\n PutDomainPermissionsPolicy: Attaches a resource policy to a domain.
\n PutPackageOriginConfiguration: Sets the package origin configuration for a package, which determine \n how new versions of the package can be added to a specific repository.
\n PutRepositoryPermissionsPolicy: Sets the resource policy on a repository\n that specifies permissions to access it.
\n UpdatePackageVersionsStatus: Updates the status of one or more versions of a package.
\n UpdateRepository: Updates the properties of a repository.
\n The number of repositories in the domain.\n
" } }, "assetSizeBytes": { "target": "com.amazonaws.codeartifact#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The total size of all assets in the domain.\n
" } }, @@ -2145,6 +2143,7 @@ "asset": { "target": "com.amazonaws.codeartifact#Asset", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "The binary file, or asset, that is downloaded.
", "smithy.api#httpPayload": {} } @@ -2494,7 +2493,10 @@ } }, "com.amazonaws.codeartifact#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codeartifact#InternalServerException": { "type": "structure", @@ -2578,7 +2580,6 @@ "com.amazonaws.codeartifact#ListDomainsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2662,7 +2663,6 @@ "com.amazonaws.codeartifact#ListPackageVersionAssetsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2979,7 +2979,6 @@ "com.amazonaws.codeartifact#ListPackageVersionsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3156,7 +3155,6 @@ "com.amazonaws.codeartifact#ListPackagesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3337,7 +3335,6 @@ "com.amazonaws.codeartifact#ListRepositoriesInDomainMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3412,7 +3409,6 @@ "com.amazonaws.codeartifact#ListRepositoriesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3518,14 +3514,14 @@ } }, "com.amazonaws.codeartifact#Long": { - "type": "long" - }, - "com.amazonaws.codeartifact#LongOptional": { "type": "long", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.codeartifact#LongOptional": { + "type": "long" + }, "com.amazonaws.codeartifact#PackageDependency": { "type": "structure", "members": { @@ -4558,10 +4554,7 @@ } }, "com.amazonaws.codeartifact#RetryAfterSeconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codeartifact#ServiceQuotaExceededException": { "type": "structure", diff --git a/codegen/sdk/aws-models/codebuild.json b/codegen/sdk/aws-models/codebuild.json index e0df2495fef..c40416e396e 100644 --- a/codegen/sdk/aws-models/codebuild.json +++ b/codegen/sdk/aws-models/codebuild.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -421,7 +421,10 @@ } }, "com.amazonaws.codebuild#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codebuild#BucketOwnerAccess": { "type": "string", @@ -581,6 +584,7 @@ "buildComplete": { "target": "com.amazonaws.codebuild#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the build is complete. True if complete; otherwise, false.
" } }, @@ -822,6 +826,7 @@ "complete": { "target": "com.amazonaws.codebuild#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if the batch build is complete.
" } }, @@ -1013,6 +1018,7 @@ "ignoreFailure": { "target": "com.amazonaws.codebuild#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies if failures in this build group can be ignored.
" } }, @@ -2088,6 +2094,7 @@ "deleteReports": { "target": "com.amazonaws.codebuild#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, deletes any reports that belong to a report group before deleting\n the report group.
If false, you must delete any reports in the report group. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete the reports. If you call\n DeleteReportGroup for a report group that contains one or more reports,\n an exception is thrown.
Set this to true to generate a publicly accessible URL for your project's build\n badge.
" } }, @@ -6194,7 +6198,6 @@ "com.amazonaws.codebuild#TimeOut": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 480 @@ -6525,6 +6528,7 @@ "rotateSecret": { "target": "com.amazonaws.codebuild#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": " A boolean value that specifies whether the associated GitHub repository's secret\n token should be updated. If you use Bitbucket for your repository,\n rotateSecret is ignored.
A Boolean value indicating whether the comment has been deleted.
" } }, @@ -2263,6 +2267,7 @@ "numberOfConflicts": { "target": "com.amazonaws.codecommit#NumberOfConflicts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of conflicts, including both hunk conflicts and metadata conflicts.
" } }, @@ -2275,18 +2280,21 @@ "contentConflict": { "target": "com.amazonaws.codecommit#IsContentConflict", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value indicating whether there are conflicts in the content of a file.
" } }, "fileModeConflict": { "target": "com.amazonaws.codecommit#IsFileModeConflict", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value indicating whether there are conflicts in the file mode of a file.
" } }, "objectTypeConflict": { "target": "com.amazonaws.codecommit#IsObjectTypeConflict", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.
" } }, @@ -2366,10 +2374,7 @@ "type": "string" }, "com.amazonaws.codecommit#Count": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codecommit#CreateApprovalRuleTemplate": { "type": "operation", @@ -2448,6 +2453,9 @@ "input": { "target": "com.amazonaws.codecommit#CreateBranchInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#BranchNameExistsException" @@ -2697,6 +2705,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If the commit contains deletions, whether to keep a folder or folder structure if the\n changes leave the folders empty. If true, a ..gitkeep file is created for empty folders.\n The default is false.
" } }, @@ -3268,6 +3277,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If the commit contains deletions, whether to keep a folder or folder structure if the\n changes leave the folders empty. If this is specified as true, a .gitkeep file is\n created for empty folders. The default is false.
" } }, @@ -3631,6 +3641,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If a file is the only object in the folder or directory, specifies whether to delete\n the folder or directory that contains the file. By default, empty folders are deleted.\n This includes empty folders that are part of the directory structure. For example, if\n the path to a file is dir1/dir2/dir3/dir4, and dir2 and dir3 are empty, deleting the\n last file in dir4 also deletes the empty folders dir4, dir3, and dir2.
" } }, @@ -4202,6 +4213,9 @@ "input": { "target": "com.amazonaws.codecommit#DisassociateApprovalRuleTemplateFromRepositoryInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#ApprovalRuleTemplateDoesNotExistException" @@ -4428,12 +4442,14 @@ "approved": { "target": "com.amazonaws.codecommit#Approved", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the state of the pull request is approved.
" } }, "overridden": { "target": "com.amazonaws.codecommit#Overridden", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
" } }, @@ -4705,7 +4721,10 @@ } }, "com.amazonaws.codecommit#FileSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codecommit#FileSizes": { "type": "structure", @@ -4713,18 +4732,21 @@ "source": { "target": "com.amazonaws.codecommit#FileSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of a file in the source of a merge or pull request.
" } }, "destination": { "target": "com.amazonaws.codecommit#FileSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of a file in the destination of a merge or pull request.
" } }, "base": { "target": "com.amazonaws.codecommit#FileSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of a file in the base of a merge or pull request.
" } } @@ -5756,6 +5778,7 @@ "fileSize": { "target": "com.amazonaws.codecommit#ObjectSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the contents of the file, in bytes.
", "smithy.api#required": {} } @@ -6164,6 +6187,7 @@ "mergeable": { "target": "com.amazonaws.codecommit#IsMergeable", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that indicates whether the code is mergeable by the specified merge option.
", "smithy.api#required": {} } @@ -6541,6 +6565,7 @@ "overridden": { "target": "com.amazonaws.codecommit#Overridden", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that indicates whether a pull request has had its rules set aside (TRUE) or whether all approval rules still apply (FALSE).
" } }, @@ -7682,46 +7707,67 @@ } }, "com.amazonaws.codecommit#IsCommentDeleted": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsContentConflict": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsFileModeConflict": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsHunkConflict": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsMergeable": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsMerged": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsMove": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsObjectTypeConflict": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#KeepEmptyFolders": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#LastModifiedDate": { "type": "timestamp" }, "com.amazonaws.codecommit#Limit": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codecommit#LineNumber": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codecommit#ListApprovalRuleTemplates": { "type": "operation", @@ -8338,10 +8384,7 @@ } }, "com.amazonaws.codecommit#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codecommit#MaximumBranchesExceededException": { "type": "structure", @@ -8807,6 +8850,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If the commit contains deletions, whether to keep a folder or folder structure if the\n changes leave the folders empty. If this is specified as true, a .gitkeep file is\n created for empty folders. The default is false.
" } }, @@ -9029,6 +9073,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If the commit contains deletions, whether to keep a folder or folder structure if the\n changes leave the folders empty. If true, a .gitkeep file is created for empty folders.\n The default is false.
" } }, @@ -9063,6 +9108,7 @@ "isConflict": { "target": "com.amazonaws.codecommit#IsHunkConflict", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value indicating whether a combination of hunks contains a conflict.\n Conflicts occur when the same file or the same lines in a file were modified in both the\n source and destination of a merge or pull request. Valid values include true, false, and\n null. True when the hunk represents a conflict and one or more files contains a line\n conflict. File mode conflicts in a merge do not set this to true.
" } }, @@ -9127,6 +9173,7 @@ "isMerged": { "target": "com.amazonaws.codecommit#IsMerged", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value indicating whether the merge has been made.
" } }, @@ -9504,6 +9551,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If the commit contains deletions, whether to keep a folder or folder structure if the\n changes leave the folders empty. If true, a .gitkeep file is created for empty folders.\n The default is false.
" } }, @@ -9707,6 +9755,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If the commit contains deletions, whether to keep a folder or folder structure if the\n changes leave the folders empty. If true, a .gitkeep file is created for empty folders.\n The default is false.
" } }, @@ -9799,7 +9848,10 @@ } }, "com.amazonaws.codecommit#NumberOfConflicts": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codecommit#NumberOfRuleTemplatesExceededException": { "type": "structure", @@ -9835,7 +9887,10 @@ "type": "string" }, "com.amazonaws.codecommit#ObjectSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codecommit#ObjectTypeEnum": { "type": "string", @@ -9922,7 +9977,10 @@ } }, "com.amazonaws.codecommit#Overridden": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#OverrideAlreadySetException": { "type": "structure", @@ -9944,6 +10002,9 @@ "input": { "target": "com.amazonaws.codecommit#OverridePullRequestApprovalRulesInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#EncryptionIntegrityChecksFailedException" @@ -10136,10 +10197,7 @@ } }, "com.amazonaws.codecommit#Position": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.codecommit#PostCommentForComparedCommit": { "type": "operation", @@ -11071,6 +11129,9 @@ "input": { "target": "com.amazonaws.codecommit#PutCommentReactionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#CommentDeletedException" @@ -12352,6 +12413,7 @@ "isMove": { "target": "com.amazonaws.codecommit#IsMove", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to remove the source file from the parent commit.
" } } @@ -12480,6 +12542,9 @@ "input": { "target": "com.amazonaws.codecommit#TagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#InvalidRepositoryNameException" @@ -12822,6 +12887,9 @@ "input": { "target": "com.amazonaws.codecommit#UntagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#InvalidRepositoryNameException" @@ -13126,6 +13194,9 @@ "input": { "target": "com.amazonaws.codecommit#UpdateDefaultBranchInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#BranchDoesNotExistException" @@ -13298,6 +13369,9 @@ "input": { "target": "com.amazonaws.codecommit#UpdatePullRequestApprovalStateInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#ApprovalStateRequiredException" @@ -13584,6 +13658,9 @@ "input": { "target": "com.amazonaws.codecommit#UpdateRepositoryDescriptionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#EncryptionIntegrityChecksFailedException" @@ -13643,6 +13720,9 @@ "input": { "target": "com.amazonaws.codecommit#UpdateRepositoryNameInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#InvalidRepositoryNameException" diff --git a/codegen/sdk/aws-models/codedeploy.json b/codegen/sdk/aws-models/codedeploy.json index db62fdcc7e7..7dad6bc962b 100644 --- a/codegen/sdk/aws-models/codedeploy.json +++ b/codegen/sdk/aws-models/codedeploy.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -34,6 +34,9 @@ "input": { "target": "com.amazonaws.codedeploy#AddTagsToOnPremisesInstancesInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#InstanceLimitExceededException" @@ -86,7 +89,9 @@ "com.amazonaws.codedeploy#AdditionalDeploymentStatusInfo": { "type": "string", "traits": { - "smithy.api#deprecated": {} + "smithy.api#deprecated": { + "message": "AdditionalDeploymentStatusInfo is deprecated, use DeploymentStatusMessageList instead." + } } }, "com.amazonaws.codedeploy#Alarm": { @@ -109,24 +114,26 @@ "enabled": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the alarm configuration is enabled.
" } }, "ignorePollAlarmFailure": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a deployment should continue if information about the current state\n of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
\n\n true: The deployment proceeds even if alarm status information\n can't be retrieved from Amazon CloudWatch.
\n false: The deployment stops if alarm status information can't be\n retrieved from Amazon CloudWatch.
A list of alarms configured for the deployment group. A maximum of 10 alarms can be\n added to a deployment group.
" + "smithy.api#documentation": "A list of alarms configured for the deployment or deployment group. A maximum of 10\n alarms can be added.
" } } }, "traits": { - "smithy.api#documentation": "Information about alarms associated with the deployment group.
" + "smithy.api#documentation": "Information about alarms associated with a deployment or deployment group.
" } }, "com.amazonaws.codedeploy#AlarmList": { @@ -144,7 +151,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -159,7 +166,7 @@ "content": { "target": "com.amazonaws.codedeploy#RawStringContent", "traits": { - "smithy.api#documentation": "The YAML-formatted or JSON-formatted revision string.
\nFor an AWS Lambda deployment, the content includes a Lambda function name, the alias\n for its original version, and the alias for its replacement version. The deployment\n shifts traffic from the original version of the Lambda function to the replacement\n version.
\nFor an Amazon ECS deployment, the content includes the task name, information about\n the load balancer that serves traffic to the container, and more.
\n For both types of deployments, the content can specify Lambda functions that run at\n specified hooks, such as BeforeInstall, during a deployment.
The YAML-formatted or JSON-formatted revision string.
\nFor an Lambda deployment, the content includes a Lambda\n function name, the alias for its original version, and the alias for its replacement\n version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.
\nFor an Amazon ECS deployment, the content includes the task name, information\n about the load balancer that serves traffic to the container, and more.
\n For both types of deployments, the content can specify Lambda functions\n that run at specified hooks, such as BeforeInstall, during a deployment.\n
A revision for an AWS Lambda or Amazon ECS deployment that is a YAML-formatted or\n JSON-formatted string. For AWS Lambda and Amazon ECS deployments, the revision is the\n same as the AppSpec file. This method replaces the deprecated RawString\n data type.
A revision for an Lambda or Amazon ECS deployment that is a\n YAML-formatted or JSON-formatted string. For Lambda and Amazon ECS deployments, the revision is the same as the AppSpec file. This method replaces the\n deprecated RawString data type.
The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "An application with the specified name with the IAM user or AWS account already\n exists.
", + "smithy.api#documentation": "An application with the specified name with the IAM user or Amazon Web Services account already exists.
", "smithy.api#error": "client" } }, @@ -194,12 +201,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The application does not exist with the IAM user or AWS account.
", + "smithy.api#documentation": "The application does not exist with the IAM user or Amazon Web Services account.
", "smithy.api#error": "client" } }, @@ -230,6 +237,7 @@ "linkedToGitHub": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if the user has authenticated with GitHub for the specified application.\n Otherwise, false.
" } }, @@ -242,7 +250,7 @@ "computePlatform": { "target": "com.amazonaws.codedeploy#ComputePlatform", "traits": { - "smithy.api#documentation": "The destination platform type for deployment of the application (Lambda\n or Server).
The destination platform type for deployment of the application (Lambda or Server).
The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -280,7 +288,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -290,22 +298,26 @@ } }, "com.amazonaws.codedeploy#ApplicationRevisionSortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "registerTime", - "name": "RegisterTime" - }, - { - "value": "firstUsedTime", - "name": "FirstUsedTime" - }, - { - "value": "lastUsedTime", - "name": "LastUsedTime" + "type": "enum", + "members": { + "RegisterTime": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "registerTime" + } + }, + "FirstUsedTime": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "firstUsedTime" } - ] + }, + "LastUsedTime": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "lastUsedTime" + } + } } }, "com.amazonaws.codedeploy#ApplicationsInfoList": { @@ -335,7 +347,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -350,6 +362,7 @@ "enabled": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a defined automatic rollback configuration is currently\n enabled.
" } }, @@ -365,22 +378,26 @@ } }, "com.amazonaws.codedeploy#AutoRollbackEvent": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEPLOYMENT_FAILURE", - "name": "DEPLOYMENT_FAILURE" - }, - { - "value": "DEPLOYMENT_STOP_ON_ALARM", - "name": "DEPLOYMENT_STOP_ON_ALARM" - }, - { - "value": "DEPLOYMENT_STOP_ON_REQUEST", - "name": "DEPLOYMENT_STOP_ON_REQUEST" + "type": "enum", + "members": { + "DEPLOYMENT_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOYMENT_FAILURE" + } + }, + "DEPLOYMENT_STOP_ON_ALARM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOYMENT_STOP_ON_ALARM" + } + }, + "DEPLOYMENT_STOP_ON_REQUEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOYMENT_STOP_ON_REQUEST" } - ] + } } }, "com.amazonaws.codedeploy#AutoRollbackEventsList": { @@ -465,7 +482,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "The name of an AWS CodeDeploy application about which to get revision\n information.
", + "smithy.api#documentation": "The name of an CodeDeploy application about which to get revision\n information.
", "smithy.api#required": {} } }, @@ -603,7 +620,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "The name of an AWS CodeDeploy application associated with the applicable IAM user or\n AWS account.
", + "smithy.api#documentation": "The name of an CodeDeploy application associated with the applicable\n IAM or Amazon Web Services account.
", "smithy.api#required": {} } }, @@ -674,7 +691,7 @@ "smithy.api#deprecated": { "message": "This operation is deprecated, use BatchGetDeploymentTargets instead." }, - "smithy.api#documentation": " This method works, but is deprecated. Use BatchGetDeploymentTargets\n instead.
Returns an array of one or more instances associated with a deployment. This method\n works with EC2/On-premises and AWS Lambda compute platforms. The newer\n BatchGetDeploymentTargets works with all compute platforms. The maximum\n number of instances that can be returned is 25.
This method works, but is deprecated. Use BatchGetDeploymentTargets\n instead.
Returns an array of one or more instances associated with a deployment. This method\n works with EC2/On-premises and Lambda compute platforms. The newer\n BatchGetDeploymentTargets works with all compute platforms. The maximum\n number of instances that can be returned is 25.
Returns an array of one or more targets associated with a deployment. This method\n works with all compute types and should be used instead of the deprecated\n BatchGetDeploymentInstances. The maximum number of targets that can be\n returned is 25.
The type of targets returned depends on the deployment's compute platform or\n deployment method:
\n\n EC2/On-premises: Information about EC2 instance\n targets.
\n\n AWS Lambda: Information about Lambda functions\n targets.
\n\n Amazon ECS: Information about Amazon ECS\n service targets.
\n\n CloudFormation: Information about targets of\n blue/green deployments initiated by a CloudFormation stack update.
\n Returns an array of one or more targets associated with a deployment. This method\n works with all compute types and should be used instead of the deprecated\n BatchGetDeploymentInstances. The maximum number of targets that can be\n returned is 25.
The type of targets returned depends on the deployment's compute platform or\n deployment method:
\n\n EC2/On-premises: Information about Amazon EC2 instance targets.
\n\n Lambda: Information about\n Lambda functions targets.
\n\n Amazon ECS: Information about Amazon ECS service targets.
\n\n CloudFormation: Information about\n targets of blue/green deployments initiated by a CloudFormation stack\n update.
\nThe unique IDs of the deployment targets. The compute platform of the deployment\n determines the type of the targets and their formats. The maximum number of deployment\n target IDs you can specify is 25.
\n For deployments that use the EC2/On-premises compute platform, the target IDs\n are EC2 or on-premises instances IDs, and their target type is\n instanceTarget.
For deployments that use the AWS Lambda compute platform, the target IDs are\n the names of Lambda functions, and their target type is\n instanceTarget.
For deployments that use the Amazon ECS compute platform, the target IDs are\n pairs of Amazon ECS clusters and services specified using the format\n . Their target type is\n ecsTarget.
For deployments that are deployed with AWS CloudFormation, the target IDs are\n CloudFormation stack IDs. Their target type is\n cloudFormationTarget.
The unique IDs of the deployment targets. The compute platform of the deployment\n determines the type of the targets and their formats. The maximum number of deployment\n target IDs you can specify is 25.
\n For deployments that use the EC2/On-premises compute platform, the target IDs\n are Amazon EC2 or on-premises instances IDs, and their target type is\n instanceTarget.
For deployments that use the Lambda compute platform, the\n target IDs are the names of Lambda functions, and their target type\n is instanceTarget.
For deployments that use the Amazon ECS compute platform, the target\n IDs are pairs of Amazon ECS clusters and services specified using the\n format . Their target type\n is ecsTarget.
For deployments that are deployed with CloudFormation, the target IDs are\n CloudFormation stack IDs. Their target type is\n cloudFormationTarget.
A list of target objects for a deployment. Each target object contains details about\n the target, such as its status and lifecycle events. The type of the target objects\n depends on the deployment' compute platform.
\n\n EC2/On-premises: Each target object is an EC2\n or on-premises instance.
\n\n AWS Lambda: The target object is a specific\n version of an AWS Lambda function.
\n\n Amazon ECS: The target object is an Amazon ECS\n service.
\n\n CloudFormation: The target object is an AWS\n CloudFormation blue/green deployment.
\nA list of target objects for a deployment. Each target object contains details about\n the target, such as its status and lifecycle events. The type of the target objects\n depends on the deployment' compute platform.
\n\n EC2/On-premises: Each target object is an\n Amazon EC2 or on-premises instance.
\n\n Lambda: The target object is a\n specific version of an Lambda function.
\n\n Amazon ECS: The target object is an\n Amazon ECS service.
\n\n CloudFormation: The target object is\n an CloudFormation blue/green deployment.
\nThe message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -945,7 +962,8 @@ "terminationWaitTimeInMinutes": { "target": "com.amazonaws.codedeploy#Duration", "traits": { - "smithy.api#documentation": "For an Amazon EC2 deployment, the number of minutes to wait after a successful\n blue/green deployment before terminating instances from the original environment.
\n\nFor an Amazon ECS deployment, the number of minutes before deleting the original\n (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts traffic from the\n original (blue) task set to a replacement (green) task set.
\n\nThe maximum setting is 2880 minutes (2 days).
" + "smithy.api#default": 0, + "smithy.api#documentation": "For an Amazon EC2 deployment, the number of minutes to wait after a successful\n blue/green deployment before terminating instances from the original environment.
\n\nFor an Amazon ECS deployment, the number of minutes before deleting the\n original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts\n traffic from the original (blue) task set to a replacement (green) task set.
\n\nThe maximum setting is 2880 minutes (2 days).
" } } }, @@ -954,7 +972,10 @@ } }, "com.amazonaws.codedeploy#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codedeploy#BucketNameFilterRequiredException": { "type": "structure", @@ -962,7 +983,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -972,30 +993,38 @@ } }, "com.amazonaws.codedeploy#BundleType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "tar", - "name": "Tar" - }, - { - "value": "tgz", - "name": "TarGZip" - }, - { - "value": "zip", - "name": "Zip" - }, - { - "value": "YAML", - "name": "YAML" - }, - { - "value": "JSON", - "name": "JSON" - } - ] + "type": "enum", + "members": { + "Tar": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tar" + } + }, + "TarGZip": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tgz" + } + }, + "Zip": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "zip" + } + }, + "YAML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YAML" + } + }, + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" + } + } } }, "com.amazonaws.codedeploy#CloudFormationResourceType": { @@ -1007,7 +1036,7 @@ "deploymentId": { "target": "com.amazonaws.codedeploy#DeploymentId", "traits": { - "smithy.api#documentation": "The unique ID of an AWS CloudFormation blue/green deployment.
" + "smithy.api#documentation": "The unique ID of an CloudFormation blue/green deployment.
" } }, "targetId": { @@ -1019,36 +1048,37 @@ "lastUpdatedAt": { "target": "com.amazonaws.codedeploy#Time", "traits": { - "smithy.api#documentation": "The date and time when the target application was updated by an AWS CloudFormation\n blue/green deployment.
" + "smithy.api#documentation": "The date and time when the target application was updated by an CloudFormation\n blue/green deployment.
" } }, "lifecycleEvents": { "target": "com.amazonaws.codedeploy#LifecycleEventList", "traits": { - "smithy.api#documentation": "The lifecycle events of the AWS CloudFormation blue/green deployment to this target\n application.
" + "smithy.api#documentation": "The lifecycle events of the CloudFormation blue/green deployment to this target\n application.
" } }, "status": { "target": "com.amazonaws.codedeploy#TargetStatus", "traits": { - "smithy.api#documentation": "The status of an AWS CloudFormation blue/green deployment's target application.\n
" + "smithy.api#documentation": "The status of an CloudFormation blue/green deployment's target application.\n
" } }, "resourceType": { "target": "com.amazonaws.codedeploy#CloudFormationResourceType", "traits": { - "smithy.api#documentation": "The resource type for the AWS CloudFormation blue/green deployment.
" + "smithy.api#documentation": "The resource type for the CloudFormation blue/green deployment.
" } }, "targetVersionWeight": { "target": "com.amazonaws.codedeploy#TrafficWeight", "traits": { - "smithy.api#documentation": "The percentage of production traffic that the target version of an AWS CloudFormation\n blue/green deployment receives.
" + "smithy.api#default": 0, + "smithy.api#documentation": "The percentage of production traffic that the target version of an CloudFormation\n blue/green deployment receives.
" } } }, "traits": { - "smithy.api#documentation": "Information about the target to be updated by an AWS CloudFormation blue/green\n deployment. This target type is used for all deployments initiated by a CloudFormation\n stack update.
" + "smithy.api#documentation": "Information about the target to be updated by an CloudFormation blue/green\n deployment. This target type is used for all deployments initiated by a CloudFormation stack update.
" } }, "com.amazonaws.codedeploy#CodeDeploy_20141006": { @@ -1209,7 +1239,7 @@ "name": "codedeploy" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "AWS CodeDeploy is a deployment service that automates application deployments to\n Amazon EC2 instances, on-premises instances running in your own facility, serverless AWS\n Lambda functions, or applications in an Amazon ECS service.
\nYou can deploy a nearly unlimited variety of application content, such as an updated\n Lambda function, updated applications in an Amazon ECS service, code, web and\n configuration files, executables, packages, scripts, multimedia files, and so on. AWS\n CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub\n repositories, or Bitbucket repositories. You do not need to make changes to your\n existing code before you can use AWS CodeDeploy.
\nAWS CodeDeploy makes it easier for you to rapidly release new features, helps you\n avoid downtime during application deployment, and handles the complexity of updating\n your applications, without many of the risks associated with error-prone manual\n deployments.
\n\n AWS CodeDeploy Components\n
\nUse the information in this guide to help you work with the following AWS CodeDeploy\n components:
\n\n Application: A name that uniquely identifies\n the application you want to deploy. AWS CodeDeploy uses this name, which\n functions as a container, to ensure the correct combination of revision,\n deployment configuration, and deployment group are referenced during a\n deployment.
\n\n Deployment group: A set of individual\n instances, CodeDeploy Lambda deployment configuration settings, or an Amazon ECS\n service and network details. A Lambda deployment group specifies how to route\n traffic to a new version of a Lambda function. An Amazon ECS deployment group\n specifies the service created in Amazon ECS to deploy, a load balancer, and a\n listener to reroute production traffic to an updated containerized application.\n An EC2/On-premises deployment group contains individually tagged instances,\n Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All deployment\n groups can specify optional trigger, alarm, and rollback settings.
\n\n Deployment configuration: A set of deployment\n rules and deployment success and failure conditions used by AWS CodeDeploy\n during a deployment.
\n\n Deployment: The process and the components used\n when updating a Lambda function, a containerized application in an Amazon ECS\n service, or of installing content on one or more instances.
\n\n Application revisions: For an AWS Lambda\n deployment, this is an AppSpec file that specifies the Lambda function to be\n updated and one or more functions to validate deployment lifecycle events. For\n an Amazon ECS deployment, this is an AppSpec file that specifies the Amazon ECS\n task definition, container, and port where production traffic is rerouted. For\n an EC2/On-premises deployment, this is an archive file that contains source\n content—source code, webpages, executable files, and deployment scripts—along\n with an AppSpec file. Revisions are stored in Amazon S3 buckets or GitHub\n repositories. For Amazon S3, a revision is uniquely identified by its Amazon S3\n object key and its ETag, version, or both. For GitHub, a revision is uniquely\n identified by its commit ID.
\nThis guide also contains information to help you get details about the instances in\n your deployments, to make on-premises instances available for AWS CodeDeploy\n deployments, to get details about a Lambda function deployment, and to get details about\n Amazon ECS service deployments.
\n\n AWS CodeDeploy Information Resources\n
\nCodeDeploy is a deployment service that automates application deployments\n to Amazon EC2 instances, on-premises instances running in your own facility,\n serverless Lambda functions, or applications in an Amazon ECS\n service.
\nYou can deploy a nearly unlimited variety of application content, such as an updated\n Lambda function, updated applications in an Amazon ECS service,\n code, web and configuration files, executables, packages, scripts, multimedia files, and\n so on. CodeDeploy can deploy application content stored in Amazon S3\n buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes\n to your existing code before you can use CodeDeploy.
\nCodeDeploy makes it easier for you to rapidly release new features, helps\n you avoid downtime during application deployment, and handles the complexity of updating\n your applications, without many of the risks associated with error-prone manual\n deployments.
\n\n CodeDeploy Components\n
\nUse the information in this guide to help you work with the following CodeDeploy components:
\n\n Application: A name that uniquely identifies\n the application you want to deploy. CodeDeploy uses this name, which\n functions as a container, to ensure the correct combination of revision,\n deployment configuration, and deployment group are referenced during a\n deployment.
\n\n Deployment group: A set of individual\n instances, CodeDeploy\n Lambda deployment configuration settings, or an Amazon ECS\n service and network details. A Lambda deployment group specifies how\n to route traffic to a new version of a Lambda function. An Amazon ECS deployment group specifies the service created in Amazon ECS to deploy, a load balancer, and a listener to reroute production\n traffic to an updated containerized application. An Amazon EC2/On-premises deployment group contains individually tagged instances, Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All\n deployment groups can specify optional trigger, alarm, and rollback\n settings.
\n\n Deployment configuration: A set of deployment\n rules and deployment success and failure conditions used by CodeDeploy during a deployment.
\n\n Deployment: The process and the components used\n when updating a Lambda function, a containerized application in an\n Amazon ECS service, or of installing content on one or more\n instances.
\n\n Application revisions: For an Lambda deployment, this is an AppSpec file that specifies the\n Lambda function to be updated and one or more functions to\n validate deployment lifecycle events. For an Amazon ECS deployment, this\n is an AppSpec file that specifies the Amazon ECS task definition,\n container, and port where production traffic is rerouted. For an EC2/On-premises\n deployment, this is an archive file that contains source content—source code,\n webpages, executable files, and deployment scripts—along with an AppSpec file.\n Revisions are stored in Amazon S3 buckets or GitHub repositories. For\n Amazon S3, a revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For GitHub, a revision is uniquely\n identified by its commit ID.
\nThis guide also contains information to help you get details about the instances in\n your deployments, to make on-premises instances available for CodeDeploy\n deployments, to get details about a Lambda function deployment, and to get\n details about Amazon ECS service deployments.
\n\n CodeDeploy Information Resources\n
\nThe name of the application. This name must be unique with the applicable IAM user or\n AWS account.
", + "smithy.api#documentation": "The name of the application. This name must be unique with the applicable IAM or Amazon Web Services account.
", "smithy.api#required": {} } }, @@ -1372,6 +1409,9 @@ "target": "com.amazonaws.codedeploy#CreateDeploymentOutput" }, "errors": [ + { + "target": "com.amazonaws.codedeploy#AlarmsLimitExceededException" + }, { "target": "com.amazonaws.codedeploy#ApplicationDoesNotExistException" }, @@ -1393,6 +1433,9 @@ { "target": "com.amazonaws.codedeploy#DescriptionTooLongException" }, + { + "target": "com.amazonaws.codedeploy#InvalidAlarmConfigException" + }, { "target": "com.amazonaws.codedeploy#InvalidApplicationNameException" }, @@ -1497,7 +1540,7 @@ "minimumHealthyHosts": { "target": "com.amazonaws.codedeploy#MinimumHealthyHosts", "traits": { - "smithy.api#documentation": "The minimum number of healthy instances that should be available at any time during\n the deployment. There are two parameters expected in the input: type and value.
\nThe type parameter takes either of the following values:
\nHOST_COUNT: The value parameter represents the minimum number of healthy\n instances as an absolute value.
\nFLEET_PERCENT: The value parameter represents the minimum number of healthy\n instances as a percentage of the total number of instances in the deployment. If\n you specify FLEET_PERCENT, at the start of the deployment, AWS CodeDeploy\n converts the percentage to the equivalent number of instances and rounds up\n fractional instances.
\nThe value parameter takes an integer.
\nFor example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT\n and a value of 95.
" + "smithy.api#documentation": "The minimum number of healthy instances that should be available at any time during\n the deployment. There are two parameters expected in the input: type and value.
\nThe type parameter takes either of the following values:
\nHOST_COUNT: The value parameter represents the minimum number of healthy\n instances as an absolute value.
\nFLEET_PERCENT: The value parameter represents the minimum number of healthy\n instances as a percentage of the total number of instances in the deployment. If\n you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up\n fractional instances.
\nThe value parameter takes an integer.
\nFor example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT\n and a value of 95.
" } }, "trafficRoutingConfig": { @@ -1650,7 +1693,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.
", + "smithy.api#documentation": "The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
", "smithy.api#required": {} } }, @@ -1664,13 +1707,13 @@ "deploymentConfigName": { "target": "com.amazonaws.codedeploy#DeploymentConfigName", "traits": { - "smithy.api#documentation": "If specified, the deployment configuration name can be either one of the predefined\n configurations provided with AWS CodeDeploy or a custom deployment configuration that\n you create by calling the create deployment configuration operation.
\n\n CodeDeployDefault.OneAtATime is the default deployment configuration. It\n is used if a configuration isn't specified for the deployment or deployment\n group.
For more information about the predefined deployment configurations in AWS CodeDeploy,\n see Working with\n Deployment Configurations in CodeDeploy in the AWS CodeDeploy User\n Guide.
" + "smithy.api#documentation": "If specified, the deployment configuration name can be either one of the predefined\n configurations provided with CodeDeploy or a custom deployment configuration\n that you create by calling the create deployment configuration operation.
\n\n CodeDeployDefault.OneAtATime is the default deployment configuration. It\n is used if a configuration isn't specified for the deployment or deployment\n group.
For more information about the predefined deployment configurations in CodeDeploy, see Working with\n Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
" } }, "ec2TagFilters": { "target": "com.amazonaws.codedeploy#EC2TagFilterList", "traits": { - "smithy.api#documentation": "The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances\n with any of the specified tags. Cannot be used in the same call as ec2TagSet.
" + "smithy.api#documentation": "The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call\n as ec2TagSet.
" } }, "onPremisesInstanceTagFilters": { @@ -1688,14 +1731,14 @@ "serviceRoleArn": { "target": "com.amazonaws.codedeploy#Role", "traits": { - "smithy.api#documentation": "A service role Amazon Resource Name (ARN) that allows AWS CodeDeploy to act on the\n user's behalf when interacting with AWS services.
", + "smithy.api#documentation": "A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on\n the user's behalf when interacting with Amazon Web Services services.
", "smithy.api#required": {} } }, "triggerConfigurations": { "target": "com.amazonaws.codedeploy#TriggerConfigList", "traits": { - "smithy.api#documentation": "Information about triggers to create when the deployment group is created. For\n examples, see Create a Trigger for an\n AWS CodeDeploy Event in the AWS CodeDeploy User\n Guide.
" + "smithy.api#documentation": "Information about triggers to create when the deployment group is created. For\n examples, see Create a Trigger for an\n CodeDeploy Event in the CodeDeploy\n User Guide.
" } }, "alarmConfiguration": { @@ -1713,7 +1756,7 @@ "outdatedInstancesStrategy": { "target": "com.amazonaws.codedeploy#OutdatedInstancesStrategy", "traits": { - "smithy.api#documentation": "Indicates what happens when new EC2 instances are launched mid-deployment and do not\n receive the deployed application revision.
\nIf this option is set to UPDATE or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new EC2 instances.
If this option is set to IGNORE, CodeDeploy does not initiate a\n deployment to update the new EC2 instances. This may result in instances having\n different revisions.
Indicates what happens when new Amazon EC2 instances are launched\n mid-deployment and do not receive the deployed application revision.
\nIf this option is set to UPDATE or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new Amazon EC2 instances.
If this option is set to IGNORE, CodeDeploy does not initiate a\n deployment to update the new Amazon EC2 instances. This may result in instances\n having different revisions.
Information about groups of tags applied to EC2 instances. The deployment group\n includes only EC2 instances identified by all the tag groups. Cannot be used in the same\n call as ec2TagFilters.
Information about groups of tags applied to Amazon EC2 instances. The\n deployment group includes only Amazon EC2 instances identified by all the tag\n groups. Cannot be used in the same call as ec2TagFilters.
The target Amazon ECS services in the deployment group. This applies only to\n deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service\n is specified as an Amazon ECS cluster and service name pair using the format\n .
The target Amazon ECS services in the deployment group. This applies only to\n deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name\n pair using the format .
The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.
", + "smithy.api#documentation": "The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
", "smithy.api#required": {} } }, @@ -1802,7 +1845,7 @@ "deploymentConfigName": { "target": "com.amazonaws.codedeploy#DeploymentConfigName", "traits": { - "smithy.api#documentation": "The name of a deployment configuration associated with the IAM user or AWS\n account.
\nIf not specified, the value configured in the deployment group is used as the default.\n If the deployment group does not have a deployment configuration associated with it,\n CodeDeployDefault.OneAtATime is used by default.
The name of a deployment configuration associated with the IAM user or\n Amazon Web Services account.
\nIf not specified, the value configured in the deployment group is used as the default.\n If the deployment group does not have a deployment configuration associated with it,\n CodeDeployDefault.OneAtATime is used by default.
If true, then if an ApplicationStop, BeforeBlockTraffic, or\n AfterBlockTraffic deployment lifecycle event to an instance fails, then\n the deployment continues to the next deployment lifecycle event. For example, if\n ApplicationStop fails, the deployment continues with\n DownloadBundle. If BeforeBlockTraffic fails, the\n deployment continues with BlockTraffic. If AfterBlockTraffic\n fails, the deployment continues with ApplicationStop.
If false or not specified, then if a lifecycle event fails during a deployment to an\n instance, that deployment fails. If deployment to that instance is part of an overall\n deployment and the number of healthy hosts is not less than the minimum number of\n healthy hosts, then a deployment to the next instance is attempted.
\n\n During a deployment, the AWS CodeDeploy agent runs the scripts specified for\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic in the AppSpec file from the previous successful\n deployment. (All other scripts are run from the AppSpec file in the current deployment.)\n If one of these scripts contains an error and does not run successfully, the deployment\n can fail.
If the cause of the failure is a script from the last successful deployment that will\n never run successfully, create a new deployment and use\n ignoreApplicationStopFailures to specify that the\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic failures should be ignored.
If true, then if an ApplicationStop, BeforeBlockTraffic, or\n AfterBlockTraffic deployment lifecycle event to an instance fails, then\n the deployment continues to the next deployment lifecycle event. For example, if\n ApplicationStop fails, the deployment continues with\n DownloadBundle. If BeforeBlockTraffic fails, the\n deployment continues with BlockTraffic. If AfterBlockTraffic\n fails, the deployment continues with ApplicationStop.
If false or not specified, then if a lifecycle event fails during a deployment to an\n instance, that deployment fails. If deployment to that instance is part of an overall\n deployment and the number of healthy hosts is not less than the minimum number of\n healthy hosts, then a deployment to the next instance is attempted.
\n\n During a deployment, the CodeDeploy agent runs the scripts specified for\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic in the AppSpec file from the previous successful\n deployment. (All other scripts are run from the AppSpec file in the current deployment.)\n If one of these scripts contains an error and does not run successfully, the deployment\n can fail.
If the cause of the failure is a script from the last successful deployment that will\n never run successfully, create a new deployment and use\n ignoreApplicationStopFailures to specify that the\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic failures should be ignored.
Indicates whether to deploy to all instances or only to instances that are not\n running the latest application revision.
" } }, "fileExistsBehavior": { "target": "com.amazonaws.codedeploy#FileExistsBehavior", "traits": { - "smithy.api#documentation": "Information about how AWS CodeDeploy handles files that already exist in a deployment\n target location but weren't part of the previous successful deployment.
\nThe fileExistsBehavior parameter takes any of the following\n values:
DISALLOW: The deployment fails. This is also the default behavior if no option\n is specified.
\nOVERWRITE: The version of the file from the application revision currently\n being deployed replaces the version already on the instance.
\nRETAIN: The version of the file already on the instance is kept and used as\n part of the new deployment.
\nInformation about how CodeDeploy handles files that already exist in a\n deployment target location but weren't part of the previous successful\n deployment.
\nThe fileExistsBehavior parameter takes any of the following\n values:
DISALLOW: The deployment fails. This is also the default behavior if no option\n is specified.
\nOVERWRITE: The version of the file from the application revision currently\n being deployed replaces the version already on the instance.
\nRETAIN: The version of the file already on the instance is kept and used as\n part of the new deployment.
\nAllows you to specify information about alarms associated with a deployment. The alarm\n configuration that you specify here will override the alarm configuration at the\n deployment group level. Consider overriding the alarm configuration if you have set up\n alarms at the deployment group level that are causing deployment failures. In this case,\n you would call CreateDeployment to create a new deployment that uses a\n previous application revision that is known to work, and set its alarm configuration to\n turn off alarm polling. Turning off alarm polling ensures that the new deployment\n proceeds without being blocked by the alarm that was generated by the previous, failed,\n deployment.
If you specify an overrideAlarmConfiguration, you need the\n UpdateDeploymentGroup IAM permission when calling\n CreateDeployment.
The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.
", + "smithy.api#documentation": "The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
", "smithy.api#required": {} } } @@ -1900,6 +1954,9 @@ "input": { "target": "com.amazonaws.codedeploy#DeleteDeploymentConfigInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#DeploymentConfigInUseException" @@ -1924,7 +1981,7 @@ "deploymentConfigName": { "target": "com.amazonaws.codedeploy#DeploymentConfigName", "traits": { - "smithy.api#documentation": "The name of a deployment configuration associated with the IAM user or AWS\n account.
", + "smithy.api#documentation": "The name of a deployment configuration associated with the IAM user or\n Amazon Web Services account.
", "smithy.api#required": {} } } @@ -1968,7 +2025,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.
", + "smithy.api#documentation": "The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
", "smithy.api#required": {} } }, @@ -1990,7 +2047,7 @@ "hooksNotCleanedUp": { "target": "com.amazonaws.codedeploy#AutoScalingGroupList", "traits": { - "smithy.api#documentation": "If the output contains no data, and the corresponding deployment group contained at\n least one Auto Scaling group, AWS CodeDeploy successfully removed all corresponding Auto\n Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.\n If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle\n event hooks from the Amazon EC2 instances in the Auto Scaling group.
" + "smithy.api#documentation": "If the output contains no data, and the corresponding deployment group contained at\n least one Auto Scaling group, CodeDeploy successfully removed all\n corresponding Auto Scaling lifecycle event hooks from the Amazon EC2\n instances in the Auto Scaling group. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from\n the Amazon EC2 instances in the Auto Scaling group.
" } } }, @@ -2073,7 +2130,7 @@ "externalId": { "target": "com.amazonaws.codedeploy#ExternalId", "traits": { - "smithy.api#documentation": "The unique ID of an external resource (for example, a CloudFormation stack ID) that is\n linked to one or more CodeDeploy resources.
" + "smithy.api#documentation": "The unique ID of an external resource (for example, a CloudFormation stack\n ID) that is linked to one or more CodeDeploy resources.
" } } } @@ -2088,7 +2145,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -2103,12 +2160,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "A deployment configuration with the specified name with the IAM user or AWS account\n already exists.
", + "smithy.api#documentation": "A deployment configuration with the specified name with the IAM user or\n Amazon Web Services account already exists.
", "smithy.api#error": "client" } }, @@ -2118,12 +2175,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The deployment configuration does not exist with the IAM user or AWS account.
", + "smithy.api#documentation": "The deployment configuration does not exist with the IAM user or\n Amazon Web Services account.
", "smithy.api#error": "client" } }, @@ -2136,7 +2193,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -2181,7 +2238,7 @@ "trafficRoutingConfig": { "target": "com.amazonaws.codedeploy#TrafficRoutingConfig", "traits": { - "smithy.api#documentation": "The configuration that specifies how the deployment traffic is routed. Used for\n deployments with a Lambda or ECS compute platform only.
" + "smithy.api#documentation": "The configuration that specifies how the deployment traffic is routed. Used for\n deployments with a Lambda or Amazon ECS compute platform\n only.
" } } }, @@ -2195,7 +2252,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -2219,7 +2276,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -2235,38 +2292,50 @@ } }, "com.amazonaws.codedeploy#DeploymentCreator": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "user", - "name": "User" - }, - { - "value": "autoscaling", - "name": "Autoscaling" - }, - { - "value": "codeDeployRollback", - "name": "CodeDeployRollback" - }, - { - "value": "CodeDeploy", - "name": "CodeDeploy" - }, - { - "value": "CodeDeployAutoUpdate", - "name": "CodeDeployAutoUpdate" - }, - { - "value": "CloudFormation", - "name": "CloudFormation" - }, - { - "value": "CloudFormationRollback", - "name": "CloudFormationRollback" - } - ] + "type": "enum", + "members": { + "User": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "user" + } + }, + "Autoscaling": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "autoscaling" + } + }, + "CodeDeployRollback": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "codeDeployRollback" + } + }, + "CodeDeploy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CodeDeploy" + } + }, + "CodeDeployAutoUpdate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CodeDeployAutoUpdate" + } + }, + "CloudFormation": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CloudFormation" + } + }, + "CloudFormationRollback": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CloudFormationRollback" + } + } } }, "com.amazonaws.codedeploy#DeploymentDoesNotExistException": { @@ -2275,12 +2344,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The deployment with the IAM user or AWS account does not exist.
", + "smithy.api#documentation": "The deployment with the IAM user or Amazon Web Services account does not\n exist.
", "smithy.api#error": "client" } }, @@ -2290,12 +2359,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "A deployment group with the specified name with the IAM user or AWS account already\n exists.
", + "smithy.api#documentation": "A deployment group with the specified name with the IAM user or Amazon Web Services account already exists.
", "smithy.api#error": "client" } }, @@ -2305,12 +2374,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The named deployment group with the IAM user or AWS account does not exist.
", + "smithy.api#documentation": "The named deployment group with the IAM user or Amazon Web Services account does not exist.
", "smithy.api#error": "client" } }, @@ -2347,7 +2416,7 @@ "ec2TagFilters": { "target": "com.amazonaws.codedeploy#EC2TagFilterList", "traits": { - "smithy.api#documentation": "The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances\n with any of the specified tags.
" + "smithy.api#documentation": "The Amazon EC2 tags on which to filter. The deployment group includes EC2\n instances with any of the specified tags.
" } }, "onPremisesInstanceTagFilters": { @@ -2365,7 +2434,7 @@ "serviceRoleArn": { "target": "com.amazonaws.codedeploy#Role", "traits": { - "smithy.api#documentation": "A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make\n calls to AWS services on your behalf. For more information, see Create a\n Service Role for AWS CodeDeploy in the AWS CodeDeploy User\n Guide.
" + "smithy.api#documentation": "A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make\n calls to Amazon Web Services services on your behalf. For more information, see Create a\n Service Role for CodeDeploy in the CodeDeploy User Guide.
" } }, "targetRevision": { @@ -2401,7 +2470,7 @@ "outdatedInstancesStrategy": { "target": "com.amazonaws.codedeploy#OutdatedInstancesStrategy", "traits": { - "smithy.api#documentation": "Indicates what happens when new EC2 instances are launched mid-deployment and do not\n receive the deployed application revision.
\nIf this option is set to UPDATE or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new EC2 instances.
If this option is set to IGNORE, CodeDeploy does not initiate a\n deployment to update the new EC2 instances. This may result in instances having\n different revisions.
Indicates what happens when new Amazon EC2 instances are launched\n mid-deployment and do not receive the deployed application revision.
\nIf this option is set to UPDATE or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new Amazon EC2 instances.
If this option is set to IGNORE, CodeDeploy does not initiate a\n deployment to update the new Amazon EC2 instances. This may result in instances\n having different revisions.
Information about groups of tags applied to an EC2 instance. The deployment group\n includes only EC2 instances identified by all of the tag groups. Cannot be used in the\n same call as ec2TagFilters.
" + "smithy.api#documentation": "Information about groups of tags applied to an Amazon EC2 instance. The\n deployment group includes only Amazon EC2 instances identified by all of the tag\n groups. Cannot be used in the same call as ec2TagFilters.
" } }, "onPremisesTagSet": { @@ -2449,7 +2518,7 @@ "ecsServices": { "target": "com.amazonaws.codedeploy#ECSServiceList", "traits": { - "smithy.api#documentation": " The target Amazon ECS services in the deployment group. This applies only to\n deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service\n is specified as an Amazon ECS cluster and service name pair using the format\n .
The target Amazon ECS services in the deployment group. This applies only to\n deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name\n pair using the format .
The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -2493,7 +2562,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -2517,7 +2586,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -2610,13 +2679,14 @@ "creator": { "target": "com.amazonaws.codedeploy#DeploymentCreator", "traits": { - "smithy.api#documentation": "The means by which the deployment was created:
\n\n user: A user created the deployment.
\n autoscaling: Amazon EC2 Auto Scaling created the\n deployment.
\n codeDeployRollback: A rollback process created the\n deployment.
\n CodeDeployAutoUpdate: An auto-update process created the\n deployment when it detected outdated EC2 instances.
The means by which the deployment was created:
\n\n user: A user created the deployment.
\n autoscaling: Amazon EC2 Auto Scaling created the deployment.
\n codeDeployRollback: A rollback process created the\n deployment.
\n CodeDeployAutoUpdate: An auto-update process created the\n deployment when it detected outdated Amazon EC2 instances.
If true, then if an ApplicationStop, BeforeBlockTraffic, or\n AfterBlockTraffic deployment lifecycle event to an instance fails, then\n the deployment continues to the next deployment lifecycle event. For example, if\n ApplicationStop fails, the deployment continues with DownloadBundle. If\n BeforeBlockTraffic fails, the deployment continues with\n BlockTraffic. If AfterBlockTraffic fails, the deployment\n continues with ApplicationStop.
If false or not specified, then if a lifecycle event fails during a deployment to an\n instance, that deployment fails. If deployment to that instance is part of an overall\n deployment and the number of healthy hosts is not less than the minimum number of\n healthy hosts, then a deployment to the next instance is attempted.
\n\n During a deployment, the AWS CodeDeploy agent runs the scripts specified for\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic in the AppSpec file from the previous successful\n deployment. (All other scripts are run from the AppSpec file in the current deployment.)\n If one of these scripts contains an error and does not run successfully, the deployment\n can fail.
If the cause of the failure is a script from the last successful deployment that will\n never run successfully, create a new deployment and use\n ignoreApplicationStopFailures to specify that the\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic failures should be ignored.
If true, then if an ApplicationStop, BeforeBlockTraffic, or\n AfterBlockTraffic deployment lifecycle event to an instance fails, then\n the deployment continues to the next deployment lifecycle event. For example, if\n ApplicationStop fails, the deployment continues with DownloadBundle. If\n BeforeBlockTraffic fails, the deployment continues with\n BlockTraffic. If AfterBlockTraffic fails, the deployment\n continues with ApplicationStop.
If false or not specified, then if a lifecycle event fails during a deployment to an\n instance, that deployment fails. If deployment to that instance is part of an overall\n deployment and the number of healthy hosts is not less than the minimum number of\n healthy hosts, then a deployment to the next instance is attempted.
\n\n During a deployment, the CodeDeploy agent runs the scripts specified for\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic in the AppSpec file from the previous successful\n deployment. (All other scripts are run from the AppSpec file in the current deployment.)\n If one of these scripts contains an error and does not run successfully, the deployment\n can fail.
If the cause of the failure is a script from the last successful deployment that will\n never run successfully, create a new deployment and use\n ignoreApplicationStopFailures to specify that the\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic failures should be ignored.
Indicates whether only instances that are not running the latest application revision\n are to be deployed to.
" } }, @@ -2652,6 +2723,7 @@ "instanceTerminationWaitTimeStarted": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the wait period set for the termination of instances in the original\n environment has started. Status is 'false' if the KEEP_ALIVE option is specified.\n Otherwise, 'true' as soon as the termination wait period starts.
" } }, @@ -2676,7 +2748,7 @@ "fileExistsBehavior": { "target": "com.amazonaws.codedeploy#FileExistsBehavior", "traits": { - "smithy.api#documentation": "Information about how AWS CodeDeploy handles files that already exist in a deployment\n target location but weren't part of the previous successful deployment.
\n\n DISALLOW: The deployment fails. This is also the default behavior\n if no option is specified.
\n OVERWRITE: The version of the file from the application revision\n currently being deployed replaces the version already on the instance.
\n RETAIN: The version of the file already on the instance is kept\n and used as part of the new deployment.
Information about how CodeDeploy handles files that already exist in a\n deployment target location but weren't part of the previous successful\n deployment.
\n\n DISALLOW: The deployment fails. This is also the default behavior\n if no option is specified.
\n OVERWRITE: The version of the file from the application revision\n currently being deployed replaces the version already on the instance.
\n RETAIN: The version of the file already on the instance is kept\n and used as part of the new deployment.
The unique ID for an external resource (for example, a CloudFormation stack ID) that\n is linked to this deployment.
" + "smithy.api#documentation": "The unique ID for an external resource (for example, a CloudFormation stack\n ID) that is linked to this deployment.
" } }, "relatedDeployments": { "target": "com.amazonaws.codedeploy#RelatedDeployments" + }, + "overrideAlarmConfiguration": { + "target": "com.amazonaws.codedeploy#AlarmConfiguration" } }, "traits": { @@ -2711,7 +2786,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -2726,7 +2801,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -2741,7 +2816,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -2751,18 +2826,20 @@ } }, "com.amazonaws.codedeploy#DeploymentOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "WITH_TRAFFIC_CONTROL", - "name": "WITH_TRAFFIC_CONTROL" - }, - { - "value": "WITHOUT_TRAFFIC_CONTROL", - "name": "WITHOUT_TRAFFIC_CONTROL" + "type": "enum", + "members": { + "WITH_TRAFFIC_CONTROL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WITH_TRAFFIC_CONTROL" + } + }, + "WITHOUT_TRAFFIC_CONTROL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WITHOUT_TRAFFIC_CONTROL" } - ] + } } }, "com.amazonaws.codedeploy#DeploymentOverview": { @@ -2771,36 +2848,42 @@ "Pending": { "target": "com.amazonaws.codedeploy#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of instances in the deployment in a pending state.
" } }, "InProgress": { "target": "com.amazonaws.codedeploy#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of instances in which the deployment is in progress.
" } }, "Succeeded": { "target": "com.amazonaws.codedeploy#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of instances in the deployment to which revisions have been successfully\n deployed.
" } }, "Failed": { "target": "com.amazonaws.codedeploy#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of instances in the deployment in a failed state.
" } }, "Skipped": { "target": "com.amazonaws.codedeploy#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of instances in the deployment in a skipped state.
" } }, "Ready": { "target": "com.amazonaws.codedeploy#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of instances in a replacement environment ready to receive traffic in a\n blue/green deployment.
" } } @@ -2810,18 +2893,20 @@ } }, "com.amazonaws.codedeploy#DeploymentReadyAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CONTINUE_DEPLOYMENT", - "name": "CONTINUE_DEPLOYMENT" - }, - { - "value": "STOP_DEPLOYMENT", - "name": "STOP_DEPLOYMENT" + "type": "enum", + "members": { + "CONTINUE_DEPLOYMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTINUE_DEPLOYMENT" + } + }, + "STOP_DEPLOYMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOP_DEPLOYMENT" } - ] + } } }, "com.amazonaws.codedeploy#DeploymentReadyOption": { @@ -2836,6 +2921,7 @@ "waitTimeInMinutes": { "target": "com.amazonaws.codedeploy#Duration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of minutes to wait before the status of a blue/green deployment is changed\n to Stopped if rerouting is not started manually. Applies only to the\n STOP_DEPLOYMENT option for actionOnTimeout.
Information about the target for a deployment that uses the AWS Lambda compute\n platform.
" + "smithy.api#documentation": "Information about the target for a deployment that uses the Lambda\n compute platform.
" } }, "ecsTarget": { "target": "com.amazonaws.codedeploy#ECSTarget", "traits": { - "smithy.api#documentation": "Information about the target for a deployment that uses the Amazon ECS compute\n platform.
" + "smithy.api#documentation": "Information about the target for a deployment that uses the Amazon ECS\n compute platform.
" } }, "cloudFormationTarget": { @@ -2956,7 +3056,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -2971,7 +3071,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -2992,66 +3092,76 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The maximum number of targets that can be associated with an Amazon ECS or AWS Lambda\n deployment was exceeded. The target list of both types of deployments must have exactly\n one item. This exception does not apply to EC2/On-premises deployments.
", + "smithy.api#documentation": "The maximum number of targets that can be associated with an Amazon ECS or\n Lambda deployment was exceeded. The target list of both types of\n deployments must have exactly one item. This exception does not apply to EC2/On-premises\n deployments.
", "smithy.api#error": "client" } }, "com.amazonaws.codedeploy#DeploymentTargetType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "InstanceTarget", - "name": "INSTANCE_TARGET" - }, - { - "value": "LambdaTarget", - "name": "LAMBDA_TARGET" - }, - { - "value": "ECSTarget", - "name": "ECS_TARGET" - }, - { - "value": "CloudFormationTarget", - "name": "CLOUDFORMATION_TARGET" - } - ] + "type": "enum", + "members": { + "INSTANCE_TARGET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceTarget" + } + }, + "LAMBDA_TARGET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LambdaTarget" + } + }, + "ECS_TARGET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECSTarget" + } + }, + "CLOUDFORMATION_TARGET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CloudFormationTarget" + } + } } }, "com.amazonaws.codedeploy#DeploymentType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IN_PLACE", - "name": "IN_PLACE" - }, - { - "value": "BLUE_GREEN", - "name": "BLUE_GREEN" + "type": "enum", + "members": { + "IN_PLACE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PLACE" + } + }, + "BLUE_GREEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BLUE_GREEN" } - ] + } } }, "com.amazonaws.codedeploy#DeploymentWaitType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "READY_WAIT", - "name": "READY_WAIT" - }, - { - "value": "TERMINATION_WAIT", - "name": "TERMINATION_WAIT" + "type": "enum", + "members": { + "READY_WAIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY_WAIT" + } + }, + "TERMINATION_WAIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERMINATION_WAIT" } - ] + } } }, "com.amazonaws.codedeploy#DeploymentsInfoList": { @@ -3071,6 +3181,9 @@ "input": { "target": "com.amazonaws.codedeploy#DeregisterOnPremisesInstanceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#InstanceNameRequiredException" @@ -3107,7 +3220,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -3140,7 +3253,7 @@ "logTail": { "target": "com.amazonaws.codedeploy#LogTail", "traits": { - "smithy.api#documentation": "The last portion of the diagnostic log.
\nIf available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic log.
" + "smithy.api#documentation": "The last portion of the diagnostic log.
\nIf available, CodeDeploy returns up to the last 4 KB of the diagnostic\n log.
" } } }, @@ -3149,7 +3262,10 @@ } }, "com.amazonaws.codedeploy#Duration": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codedeploy#EC2TagFilter": { "type": "structure", @@ -3184,22 +3300,26 @@ } }, "com.amazonaws.codedeploy#EC2TagFilterType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "KEY_ONLY", - "name": "KEY_ONLY" - }, - { - "value": "VALUE_ONLY", - "name": "VALUE_ONLY" - }, - { - "value": "KEY_AND_VALUE", - "name": "KEY_AND_VALUE" + "type": "enum", + "members": { + "KEY_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEY_ONLY" } - ] + }, + "VALUE_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VALUE_ONLY" + } + }, + "KEY_AND_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEY_AND_VALUE" + } + } } }, "com.amazonaws.codedeploy#EC2TagSet": { @@ -3208,12 +3328,12 @@ "ec2TagSetList": { "target": "com.amazonaws.codedeploy#EC2TagSetList", "traits": { - "smithy.api#documentation": "A list that contains other lists of EC2 instance tag groups. For an instance to be\n included in the deployment group, it must be identified by all of the tag groups in the\n list.
" + "smithy.api#documentation": "A list that contains other lists of Amazon EC2 instance tag groups. For an\n instance to be included in the deployment group, it must be identified by all of the tag\n groups in the list.
" } } }, "traits": { - "smithy.api#documentation": "Information about groups of EC2 instance tags.
" + "smithy.api#documentation": "Information about groups of Amazon EC2 instance tags.
" } }, "com.amazonaws.codedeploy#EC2TagSetList": { @@ -3237,12 +3357,12 @@ "clusterName": { "target": "com.amazonaws.codedeploy#ECSClusterName", "traits": { - "smithy.api#documentation": "The name of the cluster that the Amazon ECS service is associated with.
" + "smithy.api#documentation": "The name of the cluster that the Amazon ECS service is associated with.\n
" } } }, "traits": { - "smithy.api#documentation": "Contains the service and cluster names used to identify an Amazon ECS deployment's\n target.
" + "smithy.api#documentation": "Contains the service and cluster names used to identify an Amazon ECS\n deployment's target.
" } }, "com.amazonaws.codedeploy#ECSServiceList": { @@ -3257,12 +3377,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The Amazon ECS service is associated with more than one deployment groups. An Amazon\n ECS service can be associated with only one deployment group.
", + "smithy.api#documentation": "The Amazon ECS service is associated with more than one deployment groups. An\n Amazon ECS service can be associated with only one deployment group.
", "smithy.api#error": "client" } }, @@ -3293,13 +3413,13 @@ "lastUpdatedAt": { "target": "com.amazonaws.codedeploy#Time", "traits": { - "smithy.api#documentation": "The date and time when the target Amazon ECS application was updated by a deployment.\n
" + "smithy.api#documentation": "The date and time when the target Amazon ECS application was updated by a\n deployment.
" } }, "lifecycleEvents": { "target": "com.amazonaws.codedeploy#LifecycleEventList", "traits": { - "smithy.api#documentation": "The lifecycle events of the deployment to this target Amazon ECS application.
" + "smithy.api#documentation": "The lifecycle events of the deployment to this target Amazon ECS application.\n
" } }, "status": { @@ -3331,19 +3451,22 @@ "desiredCount": { "target": "com.amazonaws.codedeploy#ECSTaskSetCount", "traits": { - "smithy.api#documentation": "The number of tasks in a task set. During a deployment that uses the Amazon ECS\n compute type, CodeDeploy instructs Amazon ECS to create a new task set and uses this\n value to determine how many tasks to create. After the updated task set is created,\n CodeDeploy shifts traffic to the new task set.
" + "smithy.api#default": 0, + "smithy.api#documentation": "The number of tasks in a task set. During a deployment that uses the Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a new task set and\n uses this value to determine how many tasks to create. After the updated task set is\n created, CodeDeploy shifts traffic to the new task set.
" } }, "pendingCount": { "target": "com.amazonaws.codedeploy#ECSTaskSetCount", "traits": { - "smithy.api#documentation": " The number of tasks in the task set that are in the PENDING status\n during an Amazon ECS deployment. A task in the PENDING state is preparing\n to enter the RUNNING state. A task set enters the PENDING\n status when it launches for the first time, or when it is restarted after being in the\n STOPPED state.
The number of tasks in the task set that are in the PENDING status\n during an Amazon ECS deployment. A task in the PENDING state is\n preparing to enter the RUNNING state. A task set enters the\n PENDING status when it launches for the first time, or when it is\n restarted after being in the STOPPED state.
The number of tasks in the task set that are in the RUNNING status\n during an Amazon ECS deployment. A task in the RUNNING state is running and\n ready for use.
The number of tasks in the task set that are in the RUNNING status\n during an Amazon ECS deployment. A task in the RUNNING state is\n running and ready for use.
The percentage of traffic served by this task set.
" } }, "targetGroup": { "target": "com.amazonaws.codedeploy#TargetGroupInfo", "traits": { - "smithy.api#documentation": "The target group associated with the task set. The target group is used by AWS\n CodeDeploy to manage traffic to a task set.
" + "smithy.api#documentation": "The target group associated with the task set. The target group is used by CodeDeploy to manage traffic to a task set.
" } }, "taskSetLabel": { @@ -3372,11 +3496,14 @@ } }, "traits": { - "smithy.api#documentation": "Information about a set of Amazon ECS tasks in an AWS CodeDeploy deployment. An\n Amazon ECS task set includes details such as the desired number of tasks, how many tasks\n are running, and whether the task set serves production traffic. An AWS CodeDeploy\n application that uses the Amazon ECS compute platform deploys a containerized\n application in an Amazon ECS service as a task set.
" + "smithy.api#documentation": "Information about a set of Amazon ECS tasks in an CodeDeploy\n deployment. An Amazon ECS task set includes details such as the desired number\n of tasks, how many tasks are running, and whether the task set serves production\n traffic. An CodeDeploy application that uses the Amazon ECS compute\n platform deploys a containerized application in an Amazon ECS service as a task\n set.
" } }, "com.amazonaws.codedeploy#ECSTaskSetCount": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codedeploy#ECSTaskSetIdentifier": { "type": "string" @@ -3417,146 +3544,212 @@ "type": "string" }, "com.amazonaws.codedeploy#ErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AGENT_ISSUE", - "name": "AGENT_ISSUE" - }, - { - "value": "ALARM_ACTIVE", - "name": "ALARM_ACTIVE" - }, - { - "value": "APPLICATION_MISSING", - "name": "APPLICATION_MISSING" - }, - { - "value": "AUTOSCALING_VALIDATION_ERROR", - "name": "AUTOSCALING_VALIDATION_ERROR" - }, - { - "value": "AUTO_SCALING_CONFIGURATION", - "name": "AUTO_SCALING_CONFIGURATION" - }, - { - "value": "AUTO_SCALING_IAM_ROLE_PERMISSIONS", - "name": "AUTO_SCALING_IAM_ROLE_PERMISSIONS" - }, - { - "value": "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND", - "name": "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND" - }, - { - "value": "CUSTOMER_APPLICATION_UNHEALTHY", - "name": "CUSTOMER_APPLICATION_UNHEALTHY" - }, - { - "value": "DEPLOYMENT_GROUP_MISSING", - "name": "DEPLOYMENT_GROUP_MISSING" - }, - { - "value": "ECS_UPDATE_ERROR", - "name": "ECS_UPDATE_ERROR" - }, - { - "value": "ELASTIC_LOAD_BALANCING_INVALID", - "name": "ELASTIC_LOAD_BALANCING_INVALID" - }, - { - "value": "ELB_INVALID_INSTANCE", - "name": "ELB_INVALID_INSTANCE" - }, - { - "value": "HEALTH_CONSTRAINTS", - "name": "HEALTH_CONSTRAINTS" - }, - { - "value": "HEALTH_CONSTRAINTS_INVALID", - "name": "HEALTH_CONSTRAINTS_INVALID" - }, - { - "value": "HOOK_EXECUTION_FAILURE", - "name": "HOOK_EXECUTION_FAILURE" - }, - { - "value": "IAM_ROLE_MISSING", - "name": "IAM_ROLE_MISSING" - }, - { - "value": "IAM_ROLE_PERMISSIONS", - "name": "IAM_ROLE_PERMISSIONS" - }, - { - "value": "INTERNAL_ERROR", - "name": "INTERNAL_ERROR" - }, - { - "value": "INVALID_ECS_SERVICE", - "name": "INVALID_ECS_SERVICE" - }, - { - "value": "INVALID_LAMBDA_CONFIGURATION", - "name": "INVALID_LAMBDA_CONFIGURATION" - }, - { - "value": "INVALID_LAMBDA_FUNCTION", - "name": "INVALID_LAMBDA_FUNCTION" - }, - { - "value": "INVALID_REVISION", - "name": "INVALID_REVISION" - }, - { - "value": "MANUAL_STOP", - "name": "MANUAL_STOP" - }, - { - "value": "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION", - "name": "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION" - }, - { - "value": "MISSING_ELB_INFORMATION", - "name": "MISSING_ELB_INFORMATION" - }, - { - "value": "MISSING_GITHUB_TOKEN", - "name": "MISSING_GITHUB_TOKEN" - }, - { - "value": "NO_EC2_SUBSCRIPTION", - "name": "NO_EC2_SUBSCRIPTION" - }, - { - "value": "NO_INSTANCES", - "name": "NO_INSTANCES" - }, - { - "value": "OVER_MAX_INSTANCES", - "name": "OVER_MAX_INSTANCES" - }, - { - "value": "RESOURCE_LIMIT_EXCEEDED", - "name": "RESOURCE_LIMIT_EXCEEDED" - }, - { - "value": "REVISION_MISSING", - "name": "REVISION_MISSING" - }, - { - "value": "THROTTLED", - "name": "THROTTLED" - }, - { - "value": "TIMEOUT", - "name": "TIMEOUT" - }, - { - "value": "CLOUDFORMATION_STACK_FAILURE", - "name": "CLOUDFORMATION_STACK_FAILURE" - } - ] + "type": "enum", + "members": { + "AGENT_ISSUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT_ISSUE" + } + }, + "ALARM_ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALARM_ACTIVE" + } + }, + "APPLICATION_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPLICATION_MISSING" + } + }, + "AUTOSCALING_VALIDATION_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTOSCALING_VALIDATION_ERROR" + } + }, + "AUTO_SCALING_CONFIGURATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_SCALING_CONFIGURATION" + } + }, + "AUTO_SCALING_IAM_ROLE_PERMISSIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_SCALING_IAM_ROLE_PERMISSIONS" + } + }, + "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND" + } + }, + "CUSTOMER_APPLICATION_UNHEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_APPLICATION_UNHEALTHY" + } + }, + "DEPLOYMENT_GROUP_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOYMENT_GROUP_MISSING" + } + }, + "ECS_UPDATE_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECS_UPDATE_ERROR" + } + }, + "ELASTIC_LOAD_BALANCING_INVALID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELASTIC_LOAD_BALANCING_INVALID" + } + }, + "ELB_INVALID_INSTANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELB_INVALID_INSTANCE" + } + }, + "HEALTH_CONSTRAINTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEALTH_CONSTRAINTS" + } + }, + "HEALTH_CONSTRAINTS_INVALID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEALTH_CONSTRAINTS_INVALID" + } + }, + "HOOK_EXECUTION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HOOK_EXECUTION_FAILURE" + } + }, + "IAM_ROLE_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM_ROLE_MISSING" + } + }, + "IAM_ROLE_PERMISSIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM_ROLE_PERMISSIONS" + } + }, + "INTERNAL_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_ERROR" + } + }, + "INVALID_ECS_SERVICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ECS_SERVICE" + } + }, + "INVALID_LAMBDA_CONFIGURATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_LAMBDA_CONFIGURATION" + } + }, + "INVALID_LAMBDA_FUNCTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_LAMBDA_FUNCTION" + } + }, + "INVALID_REVISION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_REVISION" + } + }, + "MANUAL_STOP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANUAL_STOP" + } + }, + "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION" + } + }, + "MISSING_ELB_INFORMATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISSING_ELB_INFORMATION" + } + }, + "MISSING_GITHUB_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISSING_GITHUB_TOKEN" + } + }, + "NO_EC2_SUBSCRIPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO_EC2_SUBSCRIPTION" + } + }, + "NO_INSTANCES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO_INSTANCES" + } + }, + "OVER_MAX_INSTANCES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OVER_MAX_INSTANCES" + } + }, + "RESOURCE_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_LIMIT_EXCEEDED" + } + }, + "REVISION_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REVISION_MISSING" + } + }, + "THROTTLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THROTTLED" + } + }, + "TIMEOUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMEOUT" + } + }, + "CLOUDFORMATION_STACK_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOUDFORMATION_STACK_FAILURE" + } + } } }, "com.amazonaws.codedeploy#ErrorInformation": { @@ -3565,7 +3758,7 @@ "code": { "target": "com.amazonaws.codedeploy#ErrorCode", "traits": { - "smithy.api#documentation": "For more information, see Error Codes for AWS\n CodeDeploy in the AWS CodeDeploy User Guide.
\nThe error code:
\nAPPLICATION_MISSING: The application was missing. This error code is most\n likely raised if the application is deleted after the deployment is created, but\n before it is started.
\nDEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is\n most likely raised if the deployment group is deleted after the deployment is\n created, but before it is started.
\nHEALTH_CONSTRAINTS: The deployment failed on too many instances to be\n successfully deployed within the instance health constraints specified.
\nHEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed\n within the instance health constraints specified.
\nIAM_ROLE_MISSING: The service role cannot be accessed.
\nIAM_ROLE_PERMISSIONS: The service role does not have the correct\n permissions.
\nINTERNAL_ERROR: There was an internal error.
\nNO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon\n EC2.
\nNO_INSTANCES: No instances were specified, or no instances can be\n found.
\nOVER_MAX_INSTANCES: The maximum number of instances was exceeded.
\nTHROTTLED: The operation was throttled because the calling account exceeded\n the throttling limits of one or more AWS services.
\nTIMEOUT: The deployment has timed out.
\nREVISION_MISSING: The revision ID was missing. This error code is most likely\n raised if the revision is deleted after the deployment is created, but before it\n is started.
\nFor more information, see Error Codes for CodeDeploy in the CodeDeploy User Guide.
\nThe error code:
\nAPPLICATION_MISSING: The application was missing. This error code is most\n likely raised if the application is deleted after the deployment is created, but\n before it is started.
\nDEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is\n most likely raised if the deployment group is deleted after the deployment is\n created, but before it is started.
\nHEALTH_CONSTRAINTS: The deployment failed on too many instances to be\n successfully deployed within the instance health constraints specified.
\nHEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed\n within the instance health constraints specified.
\nIAM_ROLE_MISSING: The service role cannot be accessed.
\nIAM_ROLE_PERMISSIONS: The service role does not have the\n correct permissions.
\nINTERNAL_ERROR: There was an internal error.
\nNO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2.
\nNO_INSTANCES: No instances were specified, or no instances can be\n found.
\nOVER_MAX_INSTANCES: The maximum number of instances was exceeded.
\nTHROTTLED: The operation was throttled because the calling account exceeded\n the throttling limits of one or more Amazon Web Services services.
\nTIMEOUT: The deployment has timed out.
\nREVISION_MISSING: The revision ID was missing. This error code is most likely\n raised if the revision is deleted after the deployment is created, but before it\n is started.
\nWhen the revision was first used by AWS CodeDeploy.
" + "smithy.api#documentation": "When the revision was first used by CodeDeploy.
" } }, "lastUsedTime": { "target": "com.amazonaws.codedeploy#Timestamp", "traits": { - "smithy.api#documentation": "When the revision was last used by AWS CodeDeploy.
" + "smithy.api#documentation": "When the revision was last used by CodeDeploy.
" } }, "registerTime": { "target": "com.amazonaws.codedeploy#Timestamp", "traits": { - "smithy.api#documentation": "When the revision was registered with AWS CodeDeploy.
" + "smithy.api#documentation": "When the revision was registered with CodeDeploy.
" } } }, @@ -3680,7 +3877,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.
", + "smithy.api#documentation": "The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
", "smithy.api#required": {} } } @@ -3875,7 +4072,7 @@ "deploymentConfigName": { "target": "com.amazonaws.codedeploy#DeploymentConfigName", "traits": { - "smithy.api#documentation": "The name of a deployment configuration associated with the IAM user or AWS\n account.
", + "smithy.api#documentation": "The name of a deployment configuration associated with the IAM user or\n Amazon Web Services account.
", "smithy.api#required": {} } } @@ -3939,7 +4136,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.
", + "smithy.api#documentation": "The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
", "smithy.api#required": {} } }, @@ -3975,7 +4172,7 @@ "deploymentId": { "target": "com.amazonaws.codedeploy#DeploymentId", "traits": { - "smithy.api#documentation": "The unique ID of a deployment associated with the IAM user or AWS account.
", + "smithy.api#documentation": "The unique ID of a deployment associated with the IAM user or Amazon Web Services account.
", "smithy.api#required": {} } } @@ -4196,7 +4393,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4220,7 +4417,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4250,18 +4447,20 @@ } }, "com.amazonaws.codedeploy#GreenFleetProvisioningAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DISCOVER_EXISTING", - "name": "DISCOVER_EXISTING" - }, - { - "value": "COPY_AUTO_SCALING_GROUP", - "name": "COPY_AUTO_SCALING_GROUP" + "type": "enum", + "members": { + "DISCOVER_EXISTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISCOVER_EXISTING" + } + }, + "COPY_AUTO_SCALING_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COPY_AUTO_SCALING_GROUP" } - ] + } } }, "com.amazonaws.codedeploy#GreenFleetProvisioningOption": { @@ -4270,7 +4469,7 @@ "action": { "target": "com.amazonaws.codedeploy#GreenFleetProvisioningAction", "traits": { - "smithy.api#documentation": "The method used to add instances to a replacement environment.
\n\n DISCOVER_EXISTING: Use instances that already exist or will be\n created manually.
\n COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto\n Scaling group to define and create instances in a new Auto Scaling group.
The method used to add instances to a replacement environment.
\n\n DISCOVER_EXISTING: Use instances that already exist or will be\n created manually.
\n COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling\n group.
The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "No IAM ARN was included in the request. You must use an IAM session ARN or IAM user\n ARN in the request.
", + "smithy.api#documentation": "No IAM ARN was included in the request. You must use an IAM session ARN or IAM user ARN in the request.
", "smithy.api#error": "client" } }, @@ -4302,12 +4501,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The request included an IAM session ARN that has already been used to register a\n different instance.
", + "smithy.api#documentation": "The request included an IAM session ARN that has already been used to\n register a different instance.
", "smithy.api#error": "client" } }, @@ -4320,12 +4519,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The specified IAM user ARN is already registered with an on-premises instance.
", + "smithy.api#documentation": "The specified IAM user ARN is already registered with an on-premises\n instance.
", "smithy.api#error": "client" } }, @@ -4335,7 +4534,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4345,25 +4544,30 @@ } }, "com.amazonaws.codedeploy#InstanceAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TERMINATE", - "name": "TERMINATE" - }, - { - "value": "KEEP_ALIVE", - "name": "KEEP_ALIVE" + "type": "enum", + "members": { + "TERMINATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERMINATE" } - ] + }, + "KEEP_ALIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEEP_ALIVE" + } + } } }, "com.amazonaws.codedeploy#InstanceArn": { "type": "string" }, "com.amazonaws.codedeploy#InstanceCount": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codedeploy#InstanceDoesNotExistException": { "type": "structure", @@ -4371,7 +4575,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4392,7 +4596,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4466,7 +4670,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4484,7 +4688,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4505,66 +4709,80 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An on-premises instance name was not specified.
", + "smithy.api#error": "client" + } + }, + "com.amazonaws.codedeploy#InstanceNotRegisteredException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.codedeploy#Message", + "traits": { + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The specified on-premises instance is not registered.
", + "smithy.api#error": "client" + } + }, + "com.amazonaws.codedeploy#InstanceStatus": { + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Succeeded" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SKIPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Skipped" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unknown" } - } - }, - "traits": { - "smithy.api#documentation": "An on-premises instance name was not specified.
", - "smithy.api#error": "client" - } - }, - "com.amazonaws.codedeploy#InstanceNotRegisteredException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.codedeploy#Message", + }, + "READY": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#enumValue": "Ready" } } }, - "traits": { - "smithy.api#documentation": "The specified on-premises instance is not registered.
", - "smithy.api#error": "client" - } - }, - "com.amazonaws.codedeploy#InstanceStatus": { - "type": "string", "traits": { "smithy.api#deprecated": { "message": "InstanceStatus is deprecated, use TargetStatus instead." - }, - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Succeeded", - "name": "SUCCEEDED" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Skipped", - "name": "SKIPPED" - }, - { - "value": "Unknown", - "name": "UNKNOWN" - }, - { - "value": "Ready", - "name": "READY" - } - ] + } } }, "com.amazonaws.codedeploy#InstanceStatusList": { @@ -4677,18 +4895,20 @@ } }, "com.amazonaws.codedeploy#InstanceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Blue", - "name": "BLUE" - }, - { - "value": "Green", - "name": "GREEN" + "type": "enum", + "members": { + "BLUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Blue" + } + }, + "GREEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Green" } - ] + } } }, "com.amazonaws.codedeploy#InstanceTypeList": { @@ -4709,7 +4929,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4724,7 +4944,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4739,7 +4959,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4754,7 +4974,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4769,12 +4989,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The Auto Scaling group was specified in an invalid format or does not exist.
", + "smithy.api#documentation": "The Auto Scaling group was specified in an invalid format or does not\n exist.
", "smithy.api#error": "client" } }, @@ -4784,7 +5004,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4799,7 +5019,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4814,12 +5034,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The computePlatform is invalid. The computePlatform should be Lambda,\n Server, or ECS.
The computePlatform is invalid. The computePlatform should be Lambda, Server, or ECS.
The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4844,7 +5064,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4859,7 +5079,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4874,7 +5094,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4889,7 +5109,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4904,7 +5124,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4919,7 +5139,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4934,7 +5154,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4949,7 +5169,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4964,7 +5184,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4979,7 +5199,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -4994,7 +5214,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5009,7 +5229,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5024,12 +5244,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "An invalid fileExistsBehavior option was specified to determine how AWS CodeDeploy\n handles files or directories that already exist in a deployment target location, but\n weren't part of the previous successful deployment. Valid values include \"DISALLOW,\"\n \"OVERWRITE,\" and \"RETAIN.\"
", + "smithy.api#documentation": "An invalid fileExistsBehavior option was specified to determine how CodeDeploy handles files or directories that already exist in a deployment\n target location, but weren't part of the previous successful deployment. Valid values\n include \"DISALLOW,\" \"OVERWRITE,\" and \"RETAIN.\"
", "smithy.api#error": "client" } }, @@ -5039,7 +5259,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5054,7 +5274,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5069,7 +5289,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5084,7 +5304,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5099,12 +5319,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments,\n false is expected. For EC2/On-premises deployments, true\n or false is expected.
The IgnoreApplicationStopFailures value is invalid. For Lambda\n deployments, false is expected. For EC2/On-premises deployments,\n true or false is expected.
The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5129,7 +5349,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5144,7 +5364,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5159,7 +5379,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5174,7 +5394,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5189,7 +5409,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5204,12 +5424,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The result of a Lambda validation function that verifies a lifecycle event is invalid.\n It should return Succeeded or Failed.
The result of a Lambda validation function that verifies a lifecycle event\n is invalid. It should return Succeeded or Failed.
The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5234,7 +5454,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5249,7 +5469,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5264,7 +5484,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5279,7 +5499,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5294,7 +5514,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5309,7 +5529,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5324,12 +5544,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The service role ARN was specified in an invalid format. Or, if an Auto Scaling group\n was specified, the specified service role does not grant the appropriate permissions to\n Amazon EC2 Auto Scaling.
", + "smithy.api#documentation": "The service role ARN was specified in an invalid format. Or, if an Auto Scaling\n group was specified, the specified service role does not grant the appropriate\n permissions to Amazon EC2 Auto Scaling.
", "smithy.api#error": "client" } }, @@ -5339,7 +5559,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5354,7 +5574,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5369,7 +5589,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5384,7 +5604,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5399,7 +5619,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5414,7 +5634,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5429,7 +5649,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5444,7 +5664,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5459,7 +5679,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5474,7 +5694,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5489,7 +5709,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5504,12 +5724,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments,\n false is expected. For EC2/On-premises deployments, true\n or false is expected.
The UpdateOutdatedInstancesOnly value is invalid. For Lambda\n deployments, false is expected. For EC2/On-premises deployments,\n true or false is expected.
The alias of a Lambda function. For more information, see AWS Lambda Function Aliases in the\n AWS Lambda Developer Guide.
" + "smithy.api#documentation": "The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer\n Guide.
" } }, "currentVersion": { "target": "com.amazonaws.codedeploy#Version", "traits": { - "smithy.api#documentation": "The version of a Lambda function that production traffic points to.
" + "smithy.api#documentation": "The version of a Lambda function that production traffic points to.\n
" } }, "targetVersion": { "target": "com.amazonaws.codedeploy#Version", "traits": { - "smithy.api#documentation": "The version of a Lambda function that production traffic points to after the Lambda\n function is deployed.
" + "smithy.api#documentation": "The version of a Lambda function that production traffic points to after\n the Lambda function is deployed.
" } }, "targetVersionWeight": { "target": "com.amazonaws.codedeploy#TrafficWeight", "traits": { - "smithy.api#documentation": "The percentage of production traffic that the target version of a Lambda function\n receives.
" + "smithy.api#default": 0, + "smithy.api#documentation": "The percentage of production traffic that the target version of a Lambda\n function receives.
" } } }, @@ -5584,30 +5805,30 @@ "status": { "target": "com.amazonaws.codedeploy#TargetStatus", "traits": { - "smithy.api#documentation": "The status an AWS Lambda deployment's target Lambda function.
" + "smithy.api#documentation": "The status an Lambda deployment's target Lambda function.\n
" } }, "lastUpdatedAt": { "target": "com.amazonaws.codedeploy#Time", "traits": { - "smithy.api#documentation": "The date and time when the target Lambda function was updated by a deployment.\n
" + "smithy.api#documentation": "The date and time when the target Lambda function was updated by a\n deployment.
" } }, "lifecycleEvents": { "target": "com.amazonaws.codedeploy#LifecycleEventList", "traits": { - "smithy.api#documentation": "The lifecycle events of the deployment to this target Lambda function.
" + "smithy.api#documentation": "The lifecycle events of the deployment to this target Lambda function.\n
" } }, "lambdaFunctionInfo": { "target": "com.amazonaws.codedeploy#LambdaFunctionInfo", "traits": { - "smithy.api#documentation": " A LambdaFunctionInfo object that describes a target Lambda function.\n
A LambdaFunctionInfo object that describes a target Lambda\n function.
Information about the target AWS Lambda function during an AWS Lambda deployment.\n
" + "smithy.api#documentation": "Information about the target Lambda function during an Lambda deployment.
" } }, "com.amazonaws.codedeploy#LastDeploymentInfo": { @@ -5643,34 +5864,44 @@ } }, "com.amazonaws.codedeploy#LifecycleErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Success", - "name": "SUCCESS" - }, - { - "value": "ScriptMissing", - "name": "SCRIPT_MISSING" - }, - { - "value": "ScriptNotExecutable", - "name": "SCRIPT_NOT_EXECUTABLE" - }, - { - "value": "ScriptTimedOut", - "name": "SCRIPT_TIMED_OUT" - }, - { - "value": "ScriptFailed", - "name": "SCRIPT_FAILED" - }, - { - "value": "UnknownError", - "name": "UNKNOWN_ERROR" - } - ] + "type": "enum", + "members": { + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Success" + } + }, + "SCRIPT_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScriptMissing" + } + }, + "SCRIPT_NOT_EXECUTABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScriptNotExecutable" + } + }, + "SCRIPT_TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScriptTimedOut" + } + }, + "SCRIPT_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScriptFailed" + } + }, + "UNKNOWN_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UnknownError" + } + } } }, "com.amazonaws.codedeploy#LifecycleEvent": { @@ -5717,7 +5948,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5739,34 +5970,44 @@ "type": "string" }, "com.amazonaws.codedeploy#LifecycleEventStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Succeeded", - "name": "SUCCEEDED" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Skipped", - "name": "SKIPPED" - }, - { - "value": "Unknown", - "name": "UNKNOWN" - } - ] + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Succeeded" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SKIPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Skipped" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unknown" + } + } } }, "com.amazonaws.codedeploy#LifecycleHookLimitExceededException": { @@ -5775,7 +6016,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -5842,14 +6083,14 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.
", + "smithy.api#documentation": "The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
", "smithy.api#required": {} } }, "sortBy": { "target": "com.amazonaws.codedeploy#ApplicationRevisionSortBy", "traits": { - "smithy.api#documentation": "The column name to use to sort the list results:
\n\n registerTime: Sort by the time the revisions were registered with\n AWS CodeDeploy.
\n firstUsedTime: Sort by the time the revisions were first used in\n a deployment.
\n lastUsedTime: Sort by the time the revisions were last used in a\n deployment.
If not specified or set to null, the results are returned in an arbitrary order.\n
" + "smithy.api#documentation": "The column name to use to sort the list results:
\n\n registerTime: Sort by the time the revisions were registered with\n CodeDeploy.
\n firstUsedTime: Sort by the time the revisions were first used in\n a deployment.
\n lastUsedTime: Sort by the time the revisions were last used in a\n deployment.
If not specified or set to null, the results are returned in an arbitrary order.\n
" } }, "sortOrder": { @@ -5867,7 +6108,7 @@ "s3KeyPrefix": { "target": "com.amazonaws.codedeploy#S3Key", "traits": { - "smithy.api#documentation": "A key prefix for the set of Amazon S3 objects to limit the search for revisions.\n
" + "smithy.api#documentation": "A key prefix for the set of Amazon S3 objects to limit the search for\n revisions.
" } }, "deployed": { @@ -5921,7 +6162,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the applications registered with the IAM user or AWS account.
", + "smithy.api#documentation": "Lists the applications registered with the IAM user or Amazon Web Services account.
", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5977,7 +6218,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the deployment configurations with the IAM user or AWS account.
", + "smithy.api#documentation": "Lists the deployment configurations with the IAM user or Amazon Web Services account.
", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -6042,7 +6283,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the deployment groups for an application registered with the IAM user or AWS\n account.
", + "smithy.api#documentation": "Lists the deployment groups for an application registered with the IAM\n user or Amazon Web Services account.
", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -6056,7 +6297,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.
", + "smithy.api#documentation": "The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
", "smithy.api#required": {} } }, @@ -6141,7 +6382,7 @@ "smithy.api#deprecated": { "message": "This operation is deprecated, use ListDeploymentTargets instead." }, - "smithy.api#documentation": " The newer BatchGetDeploymentTargets should be used instead because\n it works with all compute types. ListDeploymentInstances throws an\n exception if it is used with a compute platform other than EC2/On-premises or AWS\n Lambda.
Lists the instance for a deployment associated with the IAM user or AWS account.
", + "smithy.api#documentation": " The newer BatchGetDeploymentTargets should be used instead because\n it works with all compute types. ListDeploymentInstances throws an\n exception if it is used with a compute platform other than EC2/On-premises or\n Lambda.
Lists the instance for a deployment associated with the IAM user or\n Amazon Web Services account.
", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -6324,7 +6565,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the deployments in a deployment group for an application registered with the IAM\n user or AWS account.
", + "smithy.api#documentation": "Lists the deployments in a deployment group for an application registered with the\n IAM user or Amazon Web Services account.
", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -6338,7 +6579,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.
\nIf applicationName is specified, then\n deploymentGroupName must be specified. If it is not specified, then\n deploymentGroupName must not be specified.
The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
\nIf applicationName is specified, then\n deploymentGroupName must be specified. If it is not specified, then\n deploymentGroupName must not be specified.
The minimum healthy instance type:
\n\n HOST_COUNT: The minimum number of healthy instances as an\n absolute value.
\n FLEET_PERCENT: The minimum number of healthy instances as a\n percentage of the total number of instances in the deployment.
In an example of nine instances, if a HOST_COUNT of six is specified, deploy to up to\n three instances at a time. The deployment is successful if six or more instances are\n deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is\n specified, deploy to up to five instances at a time. The deployment is successful if\n four or more instances are deployed to successfully. Otherwise, the deployment\n fails.
\nIn a call to the GetDeploymentConfig, CodeDeployDefault.OneAtATime\n returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This\n means a deployment to only one instance at a time. (You cannot set the type to\n MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with\n CodeDeployDefault.OneAtATime, AWS CodeDeploy attempts to ensure that all instances\n but one are kept in a healthy state during the deployment. Although this allows one\n instance at a time to be taken offline for a new deployment, it also means that if\n the deployment to the last instance fails, the overall deployment is still\n successful.
For more information, see AWS CodeDeploy Instance\n Health in the AWS CodeDeploy User Guide.
" + "smithy.api#documentation": "The minimum healthy instance type:
\n\n HOST_COUNT: The minimum number of healthy instances as an\n absolute value.
\n FLEET_PERCENT: The minimum number of healthy instances as a\n percentage of the total number of instances in the deployment.
In an example of nine instances, if a HOST_COUNT of six is specified, deploy to up to\n three instances at a time. The deployment is successful if six or more instances are\n deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is\n specified, deploy to up to five instances at a time. The deployment is successful if\n four or more instances are deployed to successfully. Otherwise, the deployment\n fails.
\nIn a call to the GetDeploymentConfig, CodeDeployDefault.OneAtATime\n returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This\n means a deployment to only one instance at a time. (You cannot set the type to\n MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with\n CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all\n instances but one are kept in a healthy state during the deployment. Although this\n allows one instance at a time to be taken offline for a new deployment, it also\n means that if the deployment to the last instance fails, the overall deployment is\n still successful.
For more information, see CodeDeploy\n Instance Health in the CodeDeploy User\n Guide.
" } }, "value": { "target": "com.amazonaws.codedeploy#MinimumHealthyHostsValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum healthy instance value.
" } } @@ -6661,22 +6907,27 @@ } }, "com.amazonaws.codedeploy#MinimumHealthyHostsType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HOST_COUNT", - "name": "HOST_COUNT" - }, - { - "value": "FLEET_PERCENT", - "name": "FLEET_PERCENT" + "type": "enum", + "members": { + "HOST_COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HOST_COUNT" } - ] + }, + "FLEET_PERCENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLEET_PERCENT" + } + } } }, "com.amazonaws.codedeploy#MinimumHealthyHostsValue": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codedeploy#MultipleIamArnsProvidedException": { "type": "structure", @@ -6684,12 +6935,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "Both an IAM user ARN and an IAM session ARN were included in the request. Use only one\n ARN type.
", + "smithy.api#documentation": "Both an IAM user ARN and an IAM session ARN were\n included in the request. Use only one ARN type.
", "smithy.api#error": "client" } }, @@ -6697,10 +6948,7 @@ "type": "string" }, "com.amazonaws.codedeploy#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.codedeploy#OnPremisesTagSet": { "type": "structure", @@ -6728,7 +6976,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -6738,22 +6986,27 @@ } }, "com.amazonaws.codedeploy#OutdatedInstancesStrategy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UPDATE", - "name": "Update" - }, - { - "value": "IGNORE", - "name": "Ignore" + "type": "enum", + "members": { + "Update": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE" + } + }, + "Ignore": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IGNORE" } - ] + } } }, "com.amazonaws.codedeploy#Percentage": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codedeploy#PutLifecycleEventHookExecutionStatus": { "type": "operation", @@ -6787,7 +7040,7 @@ } ], "traits": { - "smithy.api#documentation": " Sets the result of a Lambda validation function. The function validates lifecycle\n hooks during a deployment that uses the AWS Lambda or Amazon ECS compute platform. For\n AWS Lambda deployments, the available lifecycle hooks are\n BeforeAllowTraffic and AfterAllowTraffic. For Amazon ECS\n deployments, the available lifecycle hooks are BeforeInstall,\n AfterInstall, AfterAllowTestTraffic,\n BeforeAllowTraffic, and AfterAllowTraffic. Lambda\n validation functions return Succeeded or Failed. For more\n information, see AppSpec 'hooks' Section for an AWS Lambda Deployment and AppSpec 'hooks' Section for an Amazon ECS Deployment.
Sets the result of a Lambda validation function. The function validates\n lifecycle hooks during a deployment that uses the Lambda or Amazon ECS compute platform. For Lambda deployments, the available\n lifecycle hooks are BeforeAllowTraffic and AfterAllowTraffic.\n For Amazon ECS deployments, the available lifecycle hooks are\n BeforeInstall, AfterInstall,\n AfterAllowTestTraffic, BeforeAllowTraffic, and\n AfterAllowTraffic. Lambda validation functions return\n Succeeded or Failed. For more information, see AppSpec 'hooks' Section for an Lambda Deployment and\n AppSpec 'hooks' Section for an Amazon ECS Deployment.
The unique ID of a deployment. Pass this ID to a Lambda function that validates a\n deployment lifecycle event.
" + "smithy.api#documentation": "The unique ID of a deployment. Pass this ID to a Lambda function that\n validates a deployment lifecycle event.
" } }, "lifecycleEventHookExecutionId": { @@ -6808,7 +7061,7 @@ "status": { "target": "com.amazonaws.codedeploy#LifecycleEventStatus", "traits": { - "smithy.api#documentation": "The result of a Lambda function that validates a deployment lifecycle event.\n Succeeded and Failed are the only valid values for\n status.
The result of a Lambda function that validates a deployment lifecycle\n event. The values listed in Valid Values are valid for\n lifecycle statuses in general; however, only Succeeded and\n Failed can be passed successfully in your API call.
The YAML-formatted or JSON-formatted revision string. It includes information about\n which Lambda function to update and optional Lambda functions that validate deployment\n lifecycle events.
" + "smithy.api#documentation": "The YAML-formatted or JSON-formatted revision string. It includes information about\n which Lambda function to update and optional Lambda functions\n that validate deployment lifecycle events.
" } }, "sha256": { @@ -6844,7 +7097,7 @@ "smithy.api#deprecated": { "message": "RawString and String revision type are deprecated, use AppSpecContent type instead." }, - "smithy.api#documentation": "A revision for an AWS Lambda deployment that is a YAML-formatted or JSON-formatted\n string. For AWS Lambda deployments, the revision is the same as the AppSpec file.
" + "smithy.api#documentation": "A revision for an Lambda deployment that is a YAML-formatted or\n JSON-formatted string. For Lambda deployments, the revision is the same\n as the AppSpec file.
" } }, "com.amazonaws.codedeploy#RawStringContent": { @@ -6858,6 +7111,9 @@ "input": { "target": "com.amazonaws.codedeploy#RegisterApplicationRevisionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#ApplicationDoesNotExistException" @@ -6879,7 +7135,7 @@ } ], "traits": { - "smithy.api#documentation": "Registers with AWS CodeDeploy a revision for the specified application.
" + "smithy.api#documentation": "Registers with CodeDeploy a revision for the specified application.
" } }, "com.amazonaws.codedeploy#RegisterApplicationRevisionInput": { @@ -6888,7 +7144,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.
", + "smithy.api#documentation": "The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
", "smithy.api#required": {} } }, @@ -6915,6 +7171,9 @@ "input": { "target": "com.amazonaws.codedeploy#RegisterOnPremisesInstanceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#IamArnRequiredException" @@ -6948,7 +7207,7 @@ } ], "traits": { - "smithy.api#documentation": "Registers an on-premises instance.
\nOnly one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request.\n You cannot use both.
\nRegisters an on-premises instance.
\nOnly one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.
\nThe ARN of the IAM session to associate with the on-premises instance.
" + "smithy.api#documentation": "The ARN of the IAM session to associate with the on-premises\n instance.
" } }, "iamUserArn": { "target": "com.amazonaws.codedeploy#IamUserArn", "traits": { - "smithy.api#documentation": "The ARN of the IAM user to associate with the on-premises instance.
" + "smithy.api#documentation": "The ARN of the IAM user to associate with the on-premises\n instance.
" } } }, @@ -6979,18 +7238,20 @@ } }, "com.amazonaws.codedeploy#RegistrationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Registered", - "name": "Registered" - }, - { - "value": "Deregistered", - "name": "Deregistered" + "type": "enum", + "members": { + "Registered": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Registered" } - ] + }, + "Deregistered": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Deregistered" + } + } } }, "com.amazonaws.codedeploy#RelatedDeployments": { @@ -7018,6 +7279,9 @@ "input": { "target": "com.amazonaws.codedeploy#RemoveTagsFromOnPremisesInstancesInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#InstanceLimitExceededException" @@ -7076,7 +7340,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -7091,7 +7355,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -7106,12 +7370,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, "traits": { - "smithy.api#documentation": "The named revision does not exist with the IAM user or AWS account.
", + "smithy.api#documentation": "The named revision does not exist with the IAM user or Amazon Web Services account.
", "smithy.api#error": "client" } }, @@ -7147,7 +7411,7 @@ "revisionType": { "target": "com.amazonaws.codedeploy#RevisionLocationType", "traits": { - "smithy.api#documentation": "The type of application revision:
\nS3: An application revision stored in Amazon S3.
\nGitHub: An application revision stored in GitHub (EC2/On-premises deployments\n only).
\nString: A YAML-formatted or JSON-formatted string (AWS Lambda deployments\n only).
\nAppSpecContent: An AppSpecContent object that contains the\n contents of an AppSpec file for an AWS Lambda or Amazon ECS deployment. The\n content is formatted as JSON or YAML stored as a RawString.
The type of application revision:
\nS3: An application revision stored in Amazon S3.
\nGitHub: An application revision stored in GitHub (EC2/On-premises deployments\n only).
\nString: A YAML-formatted or JSON-formatted string (Lambda\n deployments only).
\nAppSpecContent: An AppSpecContent object that contains the\n contents of an AppSpec file for an Lambda or Amazon ECS\n deployment. The content is formatted as JSON or YAML stored as a\n RawString.
Information about the location of an AWS Lambda deployment revision stored as a\n RawString.
" + "smithy.api#documentation": "Information about the location of an Lambda deployment revision stored\n as a RawString.
" } }, "appSpecContent": { "target": "com.amazonaws.codedeploy#AppSpecContent", "traits": { - "smithy.api#documentation": "The content of an AppSpec file for an AWS Lambda or Amazon ECS deployment. The\n content is formatted as JSON or YAML and stored as a RawString.
" + "smithy.api#documentation": "The content of an AppSpec file for an Lambda or Amazon ECS\n deployment. The content is formatted as JSON or YAML and stored as a RawString.
" } } }, @@ -7186,26 +7450,32 @@ } }, "com.amazonaws.codedeploy#RevisionLocationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "S3", - "name": "S3" - }, - { - "value": "GitHub", - "name": "GitHub" - }, - { - "value": "String", - "name": "String" - }, - { - "value": "AppSpecContent", - "name": "AppSpecContent" - } - ] + "type": "enum", + "members": { + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" + } + }, + "GitHub": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GitHub" + } + }, + "String": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "String" + } + }, + "AppSpecContent": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AppSpecContent" + } + } } }, "com.amazonaws.codedeploy#RevisionRequiredException": { @@ -7214,7 +7484,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -7232,7 +7502,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -7279,7 +7549,7 @@ "bucket": { "target": "com.amazonaws.codedeploy#S3Bucket", "traits": { - "smithy.api#documentation": "The name of the Amazon S3 bucket where the application revision is stored.
" + "smithy.api#documentation": "The name of the Amazon S3 bucket where the application revision is\n stored.
" } }, "key": { @@ -7297,7 +7567,7 @@ "version": { "target": "com.amazonaws.codedeploy#VersionId", "traits": { - "smithy.api#documentation": "A specific version of the Amazon S3 object that represents the bundled artifacts for\n the application revision.
\nIf the version is not specified, the system uses the most recent version by\n default.
" + "smithy.api#documentation": "A specific version of the Amazon S3 object that represents the bundled\n artifacts for the application revision.
\nIf the version is not specified, the system uses the most recent version by\n default.
" } }, "eTag": { @@ -7319,6 +7589,9 @@ "input": { "target": "com.amazonaws.codedeploy#SkipWaitTimeForInstanceTerminationInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException" @@ -7358,18 +7631,20 @@ } }, "com.amazonaws.codedeploy#SortOrder": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ascending", - "name": "Ascending" - }, - { - "value": "descending", - "name": "Descending" + "type": "enum", + "members": { + "Ascending": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ascending" + } + }, + "Descending": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "descending" } - ] + } } }, "com.amazonaws.codedeploy#StopDeployment": { @@ -7446,18 +7721,20 @@ } }, "com.amazonaws.codedeploy#StopStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "Succeeded", - "name": "SUCCEEDED" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Succeeded" } - ] + } } }, "com.amazonaws.codedeploy#Tag": { @@ -7513,22 +7790,26 @@ } }, "com.amazonaws.codedeploy#TagFilterType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "KEY_ONLY", - "name": "KEY_ONLY" - }, - { - "value": "VALUE_ONLY", - "name": "VALUE_ONLY" - }, - { - "value": "KEY_AND_VALUE", - "name": "KEY_AND_VALUE" + "type": "enum", + "members": { + "KEY_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEY_ONLY" + } + }, + "VALUE_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VALUE_ONLY" + } + }, + "KEY_AND_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEY_AND_VALUE" } - ] + } } }, "com.amazonaws.codedeploy#TagKeyList": { @@ -7543,7 +7824,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -7564,7 +7845,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -7640,7 +7921,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -7653,18 +7934,20 @@ "type": "string" }, "com.amazonaws.codedeploy#TargetFilterName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TargetStatus", - "name": "TARGET_STATUS" - }, - { - "value": "ServerInstanceLabel", - "name": "SERVER_INSTANCE_LABEL" + "type": "enum", + "members": { + "TARGET_STATUS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TargetStatus" + } + }, + "SERVER_INSTANCE_LABEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ServerInstanceLabel" } - ] + } } }, "com.amazonaws.codedeploy#TargetFilters": { @@ -7711,18 +7994,18 @@ "prodTrafficRoute": { "target": "com.amazonaws.codedeploy#TrafficRoute", "traits": { - "smithy.api#documentation": "The path used by a load balancer to route production traffic when an Amazon ECS\n deployment is complete.
" + "smithy.api#documentation": "The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
" } }, "testTrafficRoute": { "target": "com.amazonaws.codedeploy#TrafficRoute", "traits": { - "smithy.api#documentation": "An optional path used by a load balancer to route test traffic after an Amazon ECS\n deployment. Validation can occur while test traffic is served during a deployment.\n
" + "smithy.api#documentation": "An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a\n deployment.
" } } }, "traits": { - "smithy.api#documentation": "Information about two target groups and how traffic is routed during an Amazon ECS\n deployment. An optional test traffic route can be specified.
" + "smithy.api#documentation": "Information about two target groups and how traffic is routed during an Amazon ECS deployment. An optional test traffic route can be specified.
" } }, "com.amazonaws.codedeploy#TargetGroupPairInfoList": { @@ -7752,13 +8035,13 @@ "autoScalingGroups": { "target": "com.amazonaws.codedeploy#AutoScalingGroupNameList", "traits": { - "smithy.api#documentation": "The names of one or more Auto Scaling groups to identify a replacement environment for\n a blue/green deployment.
" + "smithy.api#documentation": "The names of one or more Auto Scaling groups to identify a replacement\n environment for a blue/green deployment.
" } }, "ec2TagSet": { "target": "com.amazonaws.codedeploy#EC2TagSet", "traits": { - "smithy.api#documentation": "Information about the groups of EC2 instance tags that an instance must be identified\n by in order for it to be included in the replacement environment for a blue/green\n deployment. Cannot be used in the same call as tagFilters.
Information about the groups of Amazon EC2 instance tags that an instance must\n be identified by in order for it to be included in the replacement environment for a\n blue/green deployment. Cannot be used in the same call as\n tagFilters.
The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -7840,18 +8137,20 @@ "canaryPercentage": { "target": "com.amazonaws.codedeploy#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of traffic to shift in the first increment of a\n TimeBasedCanary deployment.
The number of minutes between the first and second traffic shifts of a\n TimeBasedCanary deployment.
A configuration that shifts traffic from one version of a Lambda function or ECS task\n set to another in two increments. The original and target Lambda function versions or\n ECS task sets are specified in the deployment's AppSpec file.
" + "smithy.api#documentation": "A configuration that shifts traffic from one version of a Lambda function\n or Amazon ECS task set to another in two increments. The original and target\n Lambda function versions or ECS task sets are specified in the\n deployment's AppSpec file.
" } }, "com.amazonaws.codedeploy#TimeBasedLinear": { @@ -7860,18 +8159,20 @@ "linearPercentage": { "target": "com.amazonaws.codedeploy#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of traffic that is shifted at the start of each increment of a\n TimeBasedLinear deployment.
The number of minutes between each incremental traffic shift of a\n TimeBasedLinear deployment.
A configuration that shifts traffic from one version of a Lambda function or ECS task\n set to another in equal increments, with an equal number of minutes between each\n increment. The original and target Lambda function versions or ECS task sets are\n specified in the deployment's AppSpec file.
" + "smithy.api#documentation": "A configuration that shifts traffic from one version of a Lambda function\n or ECS task set to another in equal increments, with an equal number of minutes between\n each increment. The original and target Lambda function versions or ECS task\n sets are specified in the deployment's AppSpec file.
" } }, "com.amazonaws.codedeploy#TimeRange": { @@ -7923,41 +8224,48 @@ "timeBasedCanary": { "target": "com.amazonaws.codedeploy#TimeBasedCanary", "traits": { - "smithy.api#documentation": "A configuration that shifts traffic from one version of a Lambda function or ECS task\n set to another in two increments. The original and target Lambda function versions or\n ECS task sets are specified in the deployment's AppSpec file.
" + "smithy.api#documentation": "A configuration that shifts traffic from one version of a Lambda function\n or ECS task set to another in two increments. The original and target Lambda\n function versions or ECS task sets are specified in the deployment's AppSpec\n file.
" } }, "timeBasedLinear": { "target": "com.amazonaws.codedeploy#TimeBasedLinear", "traits": { - "smithy.api#documentation": "A configuration that shifts traffic from one version of a Lambda function or ECS task\n set to another in equal increments, with an equal number of minutes between each\n increment. The original and target Lambda function versions or ECS task sets are\n specified in the deployment's AppSpec file.
" + "smithy.api#documentation": "A configuration that shifts traffic from one version of a Lambda function\n or Amazon ECS task set to another in equal increments, with an equal number of\n minutes between each increment. The original and target Lambda function\n versions or Amazon ECS task sets are specified in the deployment's AppSpec\n file.
" } } }, "traits": { - "smithy.api#documentation": "The configuration that specifies how traffic is shifted from one version of a Lambda\n function to another version during an AWS Lambda deployment, or from one Amazon ECS task\n set to another during an Amazon ECS deployment.
" + "smithy.api#documentation": "The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an Lambda deployment,\n or from one Amazon ECS task set to another during an Amazon ECS\n deployment.
" } }, "com.amazonaws.codedeploy#TrafficRoutingType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TimeBasedCanary", - "name": "TimeBasedCanary" - }, - { - "value": "TimeBasedLinear", - "name": "TimeBasedLinear" - }, - { - "value": "AllAtOnce", - "name": "AllAtOnce" + "type": "enum", + "members": { + "TimeBasedCanary": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TimeBasedCanary" + } + }, + "TimeBasedLinear": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TimeBasedLinear" + } + }, + "AllAtOnce": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AllAtOnce" } - ] + } } }, "com.amazonaws.codedeploy#TrafficWeight": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codedeploy#TriggerConfig": { "type": "structure", @@ -7992,50 +8300,68 @@ } }, "com.amazonaws.codedeploy#TriggerEventType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DeploymentStart", - "name": "DEPLOYMENT_START" - }, - { - "value": "DeploymentSuccess", - "name": "DEPLOYMENT_SUCCESS" - }, - { - "value": "DeploymentFailure", - "name": "DEPLOYMENT_FAILURE" - }, - { - "value": "DeploymentStop", - "name": "DEPLOYMENT_STOP" - }, - { - "value": "DeploymentRollback", - "name": "DEPLOYMENT_ROLLBACK" - }, - { - "value": "DeploymentReady", - "name": "DEPLOYMENT_READY" - }, - { - "value": "InstanceStart", - "name": "INSTANCE_START" - }, - { - "value": "InstanceSuccess", - "name": "INSTANCE_SUCCESS" - }, - { - "value": "InstanceFailure", - "name": "INSTANCE_FAILURE" - }, - { - "value": "InstanceReady", - "name": "INSTANCE_READY" - } - ] + "type": "enum", + "members": { + "DEPLOYMENT_START": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentStart" + } + }, + "DEPLOYMENT_SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentSuccess" + } + }, + "DEPLOYMENT_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentFailure" + } + }, + "DEPLOYMENT_STOP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentStop" + } + }, + "DEPLOYMENT_ROLLBACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentRollback" + } + }, + "DEPLOYMENT_READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentReady" + } + }, + "INSTANCE_START": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceStart" + } + }, + "INSTANCE_SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceSuccess" + } + }, + "INSTANCE_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceFailure" + } + }, + "INSTANCE_READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceReady" + } + } } }, "com.amazonaws.codedeploy#TriggerEventTypeList": { @@ -8056,7 +8382,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -8071,7 +8397,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "The message that corresponds to the exception thrown by AWS CodeDeploy.
" + "smithy.api#documentation": "The message that corresponds to the exception thrown by CodeDeploy.
" } } }, @@ -8146,6 +8472,9 @@ "input": { "target": "com.amazonaws.codedeploy#UpdateApplicationInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#ApplicationAlreadyExistsException" @@ -8323,7 +8652,7 @@ "ec2TagFilters": { "target": "com.amazonaws.codedeploy#EC2TagFilterList", "traits": { - "smithy.api#documentation": "The replacement set of Amazon EC2 tags on which to filter, if you want to change them.\n To keep the existing tags, enter their names. To remove tags, do not enter any tag\n names.
" + "smithy.api#documentation": "The replacement set of Amazon EC2 tags on which to filter, if you want to\n change them. To keep the existing tags, enter their names. To remove tags, do not enter\n any tag names.
" } }, "onPremisesInstanceTagFilters": { @@ -8335,7 +8664,7 @@ "autoScalingGroups": { "target": "com.amazonaws.codedeploy#AutoScalingGroupNameList", "traits": { - "smithy.api#documentation": "The replacement list of Auto Scaling groups to be included in the deployment group, if\n you want to change them. To keep the Auto Scaling groups, enter their names. To remove\n Auto Scaling groups, do not enter any Auto Scaling group names.
" + "smithy.api#documentation": "The replacement list of Auto Scaling groups to be included in the deployment\n group, if you want to change them.
\nTo keep the Auto Scaling groups, enter their names or do not specify this\n parameter.
\nTo remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to\n launch and receive the error \"Heartbeat Timeout\" in the\n CodeDeploy User Guide.
\nInformation about triggers to change when the deployment group is updated. For\n examples, see Edit a Trigger in a\n CodeDeploy Deployment Group in the AWS CodeDeploy User\n Guide.
" + "smithy.api#documentation": "Information about triggers to change when the deployment group is updated. For\n examples, see Edit a Trigger in a\n CodeDeploy Deployment Group in the CodeDeploy User\n Guide.
" } }, "alarmConfiguration": { @@ -8365,7 +8694,7 @@ "outdatedInstancesStrategy": { "target": "com.amazonaws.codedeploy#OutdatedInstancesStrategy", "traits": { - "smithy.api#documentation": "Indicates what happens when new EC2 instances are launched mid-deployment and do not\n receive the deployed application revision.
\nIf this option is set to UPDATE or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new EC2 instances.
If this option is set to IGNORE, CodeDeploy does not initiate a\n deployment to update the new EC2 instances. This may result in instances having\n different revisions.
Indicates what happens when new Amazon EC2 instances are launched\n mid-deployment and do not receive the deployed application revision.
\nIf this option is set to UPDATE or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new Amazon EC2 instances.
If this option is set to IGNORE, CodeDeploy does not initiate a\n deployment to update the new Amazon EC2 instances. This may result in instances\n having different revisions.
Information about groups of tags applied to on-premises instances. The deployment\n group includes only EC2 instances identified by all the tag groups.
" + "smithy.api#documentation": "Information about groups of tags applied to on-premises instances. The deployment\n group includes only Amazon EC2 instances identified by all the tag\n groups.
" } }, "ecsServices": { "target": "com.amazonaws.codedeploy#ECSServiceList", "traits": { - "smithy.api#documentation": " The target Amazon ECS services in the deployment group. This applies only to\n deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service\n is specified as an Amazon ECS cluster and service name pair using the format\n .
The target Amazon ECS services in the deployment group. This applies only to\n deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name\n pair using the format .
If the output contains no data, and the corresponding deployment group contained at\n least one Auto Scaling group, AWS CodeDeploy successfully removed all corresponding Auto\n Scaling lifecycle event hooks from the AWS account. If the output contains data, AWS\n CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the AWS\n account.
" + "smithy.api#documentation": "If the output contains no data, and the corresponding deployment group contained at\n least one Auto Scaling group, CodeDeploy successfully removed all\n corresponding Auto Scaling lifecycle event hooks from the Amazon Web Services account. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon Web Services account.
" } } }, @@ -8433,7 +8762,10 @@ "type": "string" }, "com.amazonaws.codedeploy#WaitTimeInMins": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } } } } diff --git a/codegen/sdk/aws-models/codeguru-reviewer.json b/codegen/sdk/aws-models/codeguru-reviewer.json index 69f19e0b0c9..fe6b8c30ed7 100644 --- a/codegen/sdk/aws-models/codeguru-reviewer.json +++ b/codegen/sdk/aws-models/codeguru-reviewer.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.codegurureviewer#AWSGuruFrontendService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "CodeGuru Reviewer", - "arnNamespace": "codeguru-reviewer", - "cloudFormationName": "CodeGuruReviewer", - "cloudTrailEventSource": "codegurureviewer.amazonaws.com", - "endpointPrefix": "codeguru-reviewer" - }, - "aws.auth#sigv4": { - "name": "codeguru-reviewer" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a\n service that uses program analysis and machine learning to detect potential defects that\n are difficult for developers to find and recommends fixes in your Java and Python\n code.
\n\nBy proactively detecting and providing recommendations for addressing code defects and\n implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of\n your code base during the code review stage. For more information about CodeGuru Reviewer, see the\n \n Amazon CodeGuru Reviewer User Guide.\n
\n\nTo improve the security of your CodeGuru Reviewer API calls, you can establish a private connection\n between your VPC and CodeGuru Reviewer by creating an interface VPC endpoint. For\n more information, see CodeGuru Reviewer and interface VPC\n endpoints (Amazon Web Services PrivateLink) in the Amazon CodeGuru Reviewer User\n Guide.
", - "smithy.api#title": "Amazon CodeGuru Reviewer" - }, "version": "2019-09-19", "operations": [ { @@ -90,7 +75,22 @@ { "target": "com.amazonaws.codegurureviewer#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "CodeGuru Reviewer", + "arnNamespace": "codeguru-reviewer", + "cloudFormationName": "CodeGuruReviewer", + "cloudTrailEventSource": "codegurureviewer.amazonaws.com", + "endpointPrefix": "codeguru-reviewer" + }, + "aws.auth#sigv4": { + "name": "codeguru-reviewer" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a\n service that uses program analysis and machine learning to detect potential defects that\n are difficult for developers to find and recommends fixes in your Java and Python\n code.
\n\nBy proactively detecting and providing recommendations for addressing code defects and\n implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of\n your code base during the code review stage. For more information about CodeGuru Reviewer, see the\n \n Amazon CodeGuru Reviewer User Guide.\n
\n\nTo improve the security of your CodeGuru Reviewer API calls, you can establish a private connection\n between your VPC and CodeGuru Reviewer by creating an interface VPC endpoint. For\n more information, see CodeGuru Reviewer and interface VPC\n endpoints (Amazon Web Services PrivateLink) in the Amazon CodeGuru Reviewer User\n Guide.
", + "smithy.api#title": "Amazon CodeGuru Reviewer" + } }, "com.amazonaws.codegurureviewer#AccessDeniedException": { "type": "structure", @@ -106,18 +106,20 @@ } }, "com.amazonaws.codegurureviewer#AnalysisType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Security", - "name": "SECURITY" - }, - { - "value": "CodeQuality", - "name": "CODE_QUALITY" + "type": "enum", + "members": { + "SECURITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Security" + } + }, + "CODE_QUALITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CodeQuality" } - ] + } } }, "com.amazonaws.codegurureviewer#AnalysisTypes": { @@ -301,7 +303,7 @@ "BuildArtifactsObjectKey": { "target": "com.amazonaws.codegurureviewer#BuildArtifactsObjectKey", "traits": { - "smithy.api#documentation": "The S3 object key for a build artifacts .zip file that contains .jar or .class files.\n This is required for a code review with security analysis. For more information, see Create\n code reviews with security analysis in the Amazon CodeGuru Reviewer User\n Guide.
" + "smithy.api#documentation": "The S3 object key for a build artifacts .zip file that contains .jar or .class files.\n This is required for a code review with security analysis. For more information, see Create\n code reviews with GitHub Actions in the Amazon CodeGuru Reviewer User\n Guide.
" } } }, @@ -578,22 +580,26 @@ } }, "com.amazonaws.codegurureviewer#ConfigFileState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Present", - "name": "PRESENT" - }, - { - "value": "Absent", - "name": "ABSENT" - }, - { - "value": "PresentWithErrors", - "name": "PRESENT_WITH_ERRORS" + "type": "enum", + "members": { + "PRESENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Present" + } + }, + "ABSENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Absent" + } + }, + "PRESENT_WITH_ERRORS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PresentWithErrors" } - ] + } } }, "com.amazonaws.codegurureviewer#ConflictException": { @@ -1036,18 +1042,20 @@ } }, "com.amazonaws.codegurureviewer#EncryptionOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWS_OWNED_CMK", - "name": "AoCmk" - }, - { - "value": "CUSTOMER_MANAGED_CMK", - "name": "CmCmk" + "type": "enum", + "members": { + "AoCmk": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_OWNED_CMK" + } + }, + "CmCmk": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_MANAGED_CMK" } - ] + } } }, "com.amazonaws.codegurureviewer#ErrorMessage": { @@ -1103,10 +1111,7 @@ } }, "com.amazonaws.codegurureviewer#FindingsCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.codegurureviewer#InternalServerException": { "type": "structure", @@ -1122,26 +1127,32 @@ } }, "com.amazonaws.codegurureviewer#JobState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Completed", - "name": "COMPLETED" - }, - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Deleting", - "name": "DELETING" - } - ] + "type": "enum", + "members": { + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Completed" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Deleting" + } + } } }, "com.amazonaws.codegurureviewer#JobStates": { @@ -1187,16 +1198,10 @@ } }, "com.amazonaws.codegurureviewer#LineNumber": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codegurureviewer#LinesOfCodeCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.codegurureviewer#ListCodeReviews": { "type": "operation", @@ -1237,7 +1242,6 @@ "com.amazonaws.codegurureviewer#ListCodeReviewsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1448,7 +1452,6 @@ "com.amazonaws.codegurureviewer#ListRecommendationsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 300 @@ -1662,7 +1665,6 @@ "com.amazonaws.codegurureviewer#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1788,30 +1790,38 @@ } }, "com.amazonaws.codegurureviewer#ProviderType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CodeCommit", - "name": "CODE_COMMIT" - }, - { - "value": "GitHub", - "name": "GIT_HUB" - }, - { - "value": "Bitbucket", - "name": "BITBUCKET" - }, - { - "value": "GitHubEnterpriseServer", - "name": "GIT_HUB_ENTERPRISE_SERVER" - }, - { - "value": "S3Bucket", - "name": "S3_BUCKET" - } - ] + "type": "enum", + "members": { + "CODE_COMMIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CodeCommit" + } + }, + "GIT_HUB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GitHub" + } + }, + "BITBUCKET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Bitbucket" + } + }, + "GIT_HUB_ENTERPRISE_SERVER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GitHubEnterpriseServer" + } + }, + "S3_BUCKET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3Bucket" + } + } } }, "com.amazonaws.codegurureviewer#ProviderTypes": { @@ -1900,18 +1910,20 @@ "members": {} }, "com.amazonaws.codegurureviewer#Reaction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ThumbsUp", - "name": "THUMBS_UP" - }, - { - "value": "ThumbsDown", - "name": "THUMBS_DOWN" + "type": "enum", + "members": { + "THUMBS_UP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ThumbsUp" } - ] + }, + "THUMBS_DOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ThumbsDown" + } + } } }, "com.amazonaws.codegurureviewer#Reactions": { @@ -1927,54 +1939,74 @@ } }, "com.amazonaws.codegurureviewer#RecommendationCategory": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWSBestPractices", - "name": "AWS_BEST_PRACTICES" - }, - { - "value": "AWSCloudFormationIssues", - "name": "AWS_CLOUDFORMATION_ISSUES" - }, - { - "value": "DuplicateCode", - "name": "DUPLICATE_CODE" - }, - { - "value": "CodeMaintenanceIssues", - "name": "CODE_MAINTENANCE_ISSUES" - }, - { - "value": "ConcurrencyIssues", - "name": "CONCURRENCY_ISSUES" - }, - { - "value": "InputValidations", - "name": "INPUT_VALIDATIONS" - }, - { - "value": "PythonBestPractices", - "name": "PYTHON_BEST_PRACTICES" - }, - { - "value": "JavaBestPractices", - "name": "JAVA_BEST_PRACTICES" - }, - { - "value": "ResourceLeaks", - "name": "RESOURCE_LEAKS" - }, - { - "value": "SecurityIssues", - "name": "SECURITY_ISSUES" - }, - { - "value": "CodeInconsistencies", - "name": "CODE_INCONSISTENCIES" - } - ] + "type": "enum", + "members": { + "AWS_BEST_PRACTICES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWSBestPractices" + } + }, + "AWS_CLOUDFORMATION_ISSUES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWSCloudFormationIssues" + } + }, + "DUPLICATE_CODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DuplicateCode" + } + }, + "CODE_MAINTENANCE_ISSUES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CodeMaintenanceIssues" + } + }, + "CONCURRENCY_ISSUES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ConcurrencyIssues" + } + }, + "INPUT_VALIDATIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InputValidations" + } + }, + "PYTHON_BEST_PRACTICES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PythonBestPractices" + } + }, + "JAVA_BEST_PRACTICES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JavaBestPractices" + } + }, + "RESOURCE_LEAKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceLeaks" + } + }, + "SECURITY_ISSUES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SecurityIssues" + } + }, + "CODE_INCONSISTENCIES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CodeInconsistencies" + } + } } }, "com.amazonaws.codegurureviewer#RecommendationFeedback": { @@ -2260,30 +2292,38 @@ } }, "com.amazonaws.codegurureviewer#RepositoryAssociationState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Associated", - "name": "ASSOCIATED" - }, - { - "value": "Associating", - "name": "ASSOCIATING" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Disassociating", - "name": "DISASSOCIATING" - }, - { - "value": "Disassociated", - "name": "DISASSOCIATED" - } - ] + "type": "enum", + "members": { + "ASSOCIATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Associated" + } + }, + "ASSOCIATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Associating" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "DISASSOCIATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Disassociating" + } + }, + "DISASSOCIATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Disassociated" + } + } } }, "com.amazonaws.codegurureviewer#RepositoryAssociationStates": { @@ -2605,30 +2645,38 @@ } }, "com.amazonaws.codegurureviewer#Severity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Info", - "name": "INFO" - }, - { - "value": "Low", - "name": "LOW" - }, - { - "value": "Medium", - "name": "MEDIUM" - }, - { - "value": "High", - "name": "HIGH" - }, - { - "value": "Critical", - "name": "CRITICAL" - } - ] + "type": "enum", + "members": { + "INFO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Info" + } + }, + "LOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Low" + } + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Medium" + } + }, + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "High" + } + }, + "CRITICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Critical" + } + } } }, "com.amazonaws.codegurureviewer#ShortDescription": { @@ -2847,18 +2895,20 @@ "type": "timestamp" }, "com.amazonaws.codegurureviewer#Type": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PullRequest", - "name": "PULL_REQUEST" - }, - { - "value": "RepositoryAnalysis", - "name": "REPOSITORY_ANALYSIS" + "type": "enum", + "members": { + "PULL_REQUEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PullRequest" + } + }, + "REPOSITORY_ANALYSIS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RepositoryAnalysis" } - ] + } } }, "com.amazonaws.codegurureviewer#UntagResource": { @@ -2949,22 +2999,26 @@ } }, "com.amazonaws.codegurureviewer#VendorName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GitHub", - "name": "GITHUB" - }, - { - "value": "GitLab", - "name": "GITLAB" - }, - { - "value": "NativeS3", - "name": "NATIVE_S3" - } - ] + "type": "enum", + "members": { + "GITHUB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GitHub" + } + }, + "GITLAB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GitLab" + } + }, + "NATIVE_S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NativeS3" + } + } } } } diff --git a/codegen/sdk/aws-models/codeguruprofiler.json b/codegen/sdk/aws-models/codeguruprofiler.json index 68b2066e3cc..d3a76ed76e2 100644 --- a/codegen/sdk/aws-models/codeguruprofiler.json +++ b/codegen/sdk/aws-models/codeguruprofiler.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.codeguruprofiler#ActionGroup": { "type": "string", @@ -474,7 +474,7 @@ } }, "com.amazonaws.codeguruprofiler#Channels": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.codeguruprofiler#Channel" }, @@ -482,7 +482,8 @@ "smithy.api#length": { "min": 1, "max": 2 - } + }, + "smithy.api#uniqueItems": {} } }, "com.amazonaws.codeguruprofiler#ClientToken": { @@ -879,7 +880,7 @@ } }, "com.amazonaws.codeguruprofiler#EventPublishers": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.codeguruprofiler#EventPublisher" }, @@ -887,7 +888,8 @@ "smithy.api#length": { "min": 1, "max": 1 - } + }, + "smithy.api#uniqueItems": {} } }, "com.amazonaws.codeguruprofiler#FeedbackType": { @@ -1023,10 +1025,7 @@ } }, "com.amazonaws.codeguruprofiler#FrameMetricValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.codeguruprofiler#FrameMetricValues": { "type": "list", @@ -1917,7 +1916,6 @@ "com.amazonaws.codeguruprofiler#MaxDepth": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1927,7 +1925,6 @@ "com.amazonaws.codeguruprofiler#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2113,6 +2110,7 @@ "thresholdPercent": { "target": "com.amazonaws.codeguruprofiler#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The percentage of time an application spends in one method that triggers \n a recommendation. The percentage of time is the same as the percentage of \n the total gathered sample counts during analysis.\n
" } }, @@ -2130,6 +2128,7 @@ "com.amazonaws.codeguruprofiler#Percentage": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -3174,4 +3173,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/codepipeline.json b/codegen/sdk/aws-models/codepipeline.json index e72120c1add..03e617a4590 100644 --- a/codegen/sdk/aws-models/codepipeline.json +++ b/codegen/sdk/aws-models/codepipeline.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -284,6 +284,7 @@ "required": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the configuration property is a required value.
", "smithy.api#required": {} } @@ -291,6 +292,7 @@ "key": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the configuration property is a key.
", "smithy.api#required": {} } @@ -298,6 +300,7 @@ "secret": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the configuration property is secret. Secrets are hidden from all calls\n except for GetJobDetails, GetThirdPartyJobDetails,\n PollForJobs, and PollForThirdPartyJobs.
When updating a pipeline, passing * * * * * without changing any other values of\n the action preserves the previous value of the secret.
", "smithy.api#required": {} } @@ -305,6 +308,7 @@ "queryable": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates that the property is used with PollForJobs. When creating a\n custom action, an action can have up to one queryable property. If it has one, that\n property must be both required and not secret.
If you create a pipeline with a custom action type, and that custom action contains\n a queryable property, the value for that configuration property is subject to other\n restrictions. The value must be less than or equal to twenty (20) characters. The value\n can contain only alphanumeric characters, underscores, and hyphens.
" } }, @@ -839,7 +843,6 @@ "com.amazonaws.codepipeline#ActionRunOrder": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 999 @@ -937,6 +940,7 @@ "minimumCount": { "target": "com.amazonaws.codepipeline#MinimumActionTypeArtifactCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum number of artifacts that can be used with the action type. For example,\n you should specify a minimum and maximum of zero input artifacts for an action type with\n a category of source.
The maximum number of artifacts that can be used with the actiontype. For example, you\n should specify a minimum and maximum of zero input artifacts for an action type with a\n category of source.
Whether the configuration property is an optional value.
", "smithy.api#required": {} } @@ -1202,6 +1208,7 @@ "key": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the configuration property is a key.
", "smithy.api#required": {} } @@ -1209,6 +1216,7 @@ "noEcho": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to omit the field value entered by the customer in the log. If\n true, the value is not saved in CloudTrail logs for the action\n execution.
Indicates that the property is used with polling. An action type can have up to one\n queryable property. If it has one, that property must be both required and not\n secret.
" } }, @@ -1437,6 +1446,7 @@ "minimumCount": { "target": "com.amazonaws.codepipeline#MinimumArtifactCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum number of artifacts allowed for the action type.
", "smithy.api#required": {} } @@ -1444,6 +1454,7 @@ "maximumCount": { "target": "com.amazonaws.codepipeline#MaximumArtifactCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of artifacts allowed for the action type.
", "smithy.api#required": {} } @@ -1651,7 +1662,10 @@ } }, "com.amazonaws.codepipeline#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codepipeline#ClientId": { "type": "string", @@ -2091,6 +2105,9 @@ "input": { "target": "com.amazonaws.codepipeline#DeleteCustomActionTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#ConcurrentModificationException" @@ -2137,6 +2154,9 @@ "input": { "target": "com.amazonaws.codepipeline#DeletePipelineInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#ConcurrentModificationException" @@ -2249,6 +2269,9 @@ "input": { "target": "com.amazonaws.codepipeline#DisableStageTransitionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#PipelineNotFoundException" @@ -2327,6 +2350,9 @@ "input": { "target": "com.amazonaws.codepipeline#EnableStageTransitionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#PipelineNotFoundException" @@ -2372,7 +2398,10 @@ } }, "com.amazonaws.codepipeline#Enabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codepipeline#EncryptionKey": { "type": "structure", @@ -3375,7 +3404,6 @@ "com.amazonaws.codepipeline#JobTimeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 43200 @@ -3944,7 +3972,6 @@ "com.amazonaws.codepipeline#MaxBatchSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3953,7 +3980,6 @@ "com.amazonaws.codepipeline#MaxPipelines": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3963,7 +3989,6 @@ "com.amazonaws.codepipeline#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3973,6 +3998,7 @@ "com.amazonaws.codepipeline#MaximumActionTypeArtifactCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 10 @@ -3982,6 +4008,7 @@ "com.amazonaws.codepipeline#MaximumArtifactCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 5 @@ -4000,6 +4027,7 @@ "com.amazonaws.codepipeline#MinimumActionTypeArtifactCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 10 @@ -4009,6 +4037,7 @@ "com.amazonaws.codepipeline#MinimumArtifactCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 5 @@ -4102,7 +4131,6 @@ "com.amazonaws.codepipeline#Percentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -4484,7 +4512,6 @@ "com.amazonaws.codepipeline#PipelineVersion": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4731,6 +4758,7 @@ "newRevision": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the artifact revision was previously used in an execution of the\n specified pipeline.
" } }, @@ -4839,6 +4867,9 @@ "input": { "target": "com.amazonaws.codepipeline#PutJobFailureResultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#InvalidJobStateException" @@ -4881,6 +4912,9 @@ "input": { "target": "com.amazonaws.codepipeline#PutJobSuccessResultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#InvalidJobStateException" @@ -4943,6 +4977,9 @@ "input": { "target": "com.amazonaws.codepipeline#PutThirdPartyJobFailureResultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#InvalidClientTokenException" @@ -4995,6 +5032,9 @@ "input": { "target": "com.amazonaws.codepipeline#PutThirdPartyJobSuccessResultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#InvalidClientTokenException" @@ -5793,6 +5833,7 @@ "abandon": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Use this option to stop the pipeline execution by abandoning, rather than finishing,\n in-progress actions.
\nThis option can lead to failed or out-of-sequence tasks.
\nWhether the transition between stages is enabled (true) or disabled\n (false).
" } }, @@ -6198,6 +6240,9 @@ "input": { "target": "com.amazonaws.codepipeline#UpdateActionTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#ActionTypeNotFoundException" diff --git a/codegen/sdk/aws-models/codestar-connections.json b/codegen/sdk/aws-models/codestar-connections.json index 2f3f22e6dad..a455e556ba1 100644 --- a/codegen/sdk/aws-models/codestar-connections.json +++ b/codegen/sdk/aws-models/codestar-connections.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -670,6 +670,7 @@ "MaxResults": { "target": "com.amazonaws.codestarconnections#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned nextToken value.
The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned nextToken value.
The status of the notification rule. The default value is ENABLED. If the status is\n set to DISABLED, notifications aren't sent for the notification rule.
Whether the team member is allowed to use an SSH public/private key pair to remotely\n access project resources, for example Amazon EC2 instances.
" } } @@ -550,6 +550,7 @@ "deleteStack": { "target": "com.amazonaws.codestar#DeleteStack", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to send a delete request for the primary stack in AWS CloudFormation originally\n used to generate the project and its resources. This option will delete all AWS resources for\n the project (except for any buckets in Amazon S3) as well as deleting the project itself.\n Recommended for most use cases.
" } } @@ -573,7 +574,10 @@ } }, "com.amazonaws.codestar#DeleteStack": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codestar#DeleteUserProfile": { "type": "operation", @@ -885,6 +889,7 @@ "privateRepository": { "target": "com.amazonaws.codestar#RepositoryIsPrivate", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the GitHub repository is to be a private repository.
", "smithy.api#required": {} } @@ -892,6 +897,7 @@ "issuesEnabled": { "target": "com.amazonaws.codestar#RepositoryEnableIssues", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to enable issues for the GitHub repository.
", "smithy.api#required": {} } @@ -991,7 +997,7 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum amount of data that can be contained in a single set of results.
" } } @@ -1057,7 +1063,7 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum amount of data that can be contained in a single set of results.
" } } @@ -1122,7 +1128,7 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Reserved for future use.
" } } @@ -1187,7 +1193,7 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of team members you want returned in a response.
" } } @@ -1243,7 +1249,7 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return in a response.
" } } @@ -1270,6 +1276,7 @@ "com.amazonaws.codestar#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1451,7 +1458,10 @@ } }, "com.amazonaws.codestar#RemoteAccessAllowed": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codestar#RepositoryDescription": { "type": "string", @@ -1464,10 +1474,16 @@ } }, "com.amazonaws.codestar#RepositoryEnableIssues": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codestar#RepositoryIsPrivate": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codestar#RepositoryName": { "type": "string", @@ -1699,7 +1715,7 @@ "remoteAccessAllowed": { "target": "com.amazonaws.codestar#RemoteAccessAllowed", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Whether the user is allowed to remotely access project resources using an SSH\n public/private key pair.
" } } @@ -1976,7 +1992,7 @@ "remoteAccessAllowed": { "target": "com.amazonaws.codestar#RemoteAccessAllowed", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Whether a team member is allowed to remotely access project resources using the SSH\n public key associated with the user's profile. Even if this is set to True, the user must\n associate a public key with their profile before the user can access resources.
" } } @@ -2000,7 +2016,7 @@ "remoteAccessAllowed": { "target": "com.amazonaws.codestar#RemoteAccessAllowed", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Whether a team member is allowed to remotely access project resources using the SSH\n public key associated with the user's profile.
" } } diff --git a/codegen/sdk/aws-models/cognito-identity-provider.json b/codegen/sdk/aws-models/cognito-identity-provider.json index cbf650413f8..809822da606 100644 --- a/codegen/sdk/aws-models/cognito-identity-provider.json +++ b/codegen/sdk/aws-models/cognito-identity-provider.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -34,24 +34,6 @@ }, "com.amazonaws.cognitoidentityprovider#AWSCognitoIdentityProviderService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Cognito Identity Provider", - "arnNamespace": "cognito-idp", - "cloudFormationName": "Cognito", - "cloudTrailEventSource": "cognitoidentityprovider.amazonaws.com", - "endpointPrefix": "cognito-idp" - }, - "aws.auth#sigv4": { - "name": "cognito-idp" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Using the Amazon Cognito user pools API, you can create a user pool to manage directories and\n users. You can authenticate a user to obtain tokens related to user identity and access\n policies.
\nThis API reference provides information about user pools in Amazon Cognito user pools.
\nFor more information, see the Amazon Cognito\n Documentation.
", - "smithy.api#title": "Amazon Cognito Identity Provider", - "smithy.api#xmlNamespace": { - "uri": "http://cognito-idp.amazonaws.com/doc/2016-04-18/" - } - }, "version": "2016-04-18", "operations": [ { @@ -357,12 +339,29 @@ { "target": "com.amazonaws.cognitoidentityprovider#VerifyUserAttribute" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Cognito Identity Provider", + "arnNamespace": "cognito-idp", + "cloudFormationName": "Cognito", + "cloudTrailEventSource": "cognitoidentityprovider.amazonaws.com", + "endpointPrefix": "cognito-idp" + }, + "aws.auth#sigv4": { + "name": "cognito-idp" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Using the Amazon Cognito user pools API, you can create a user pool to manage directories and\n users. You can authenticate a user to obtain tokens related to user identity and access\n policies.
\nThis API reference provides information about user pools in Amazon Cognito user pools.
\nFor more information, see the Amazon Cognito\n Documentation.
", + "smithy.api#title": "Amazon Cognito Identity Provider", + "smithy.api#xmlNamespace": { + "uri": "http://cognito-idp.amazonaws.com/doc/2016-04-18/" + } + } }, "com.amazonaws.cognitoidentityprovider#AccessTokenValidityType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 86400 @@ -384,7 +383,10 @@ } }, "com.amazonaws.cognitoidentityprovider#AccountTakeoverActionNotifyType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitoidentityprovider#AccountTakeoverActionType": { "type": "structure", @@ -392,6 +394,7 @@ "Notify": { "target": "com.amazonaws.cognitoidentityprovider#AccountTakeoverActionNotifyType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Flag specifying whether to send a notification.
", "smithy.api#required": {} } @@ -747,12 +750,14 @@ "AllowAdminCreateUserOnly": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to True if only the administrator is allowed to create user profiles.\n Set to False if users can sign themselves up via an app.
The user account expiration limit, in days, after which a new account that hasn't\n signed in is no longer usable. To reset the account after that time limit, you must call\n AdminCreateUser again, specifying \"RESEND\" for the\n MessageAction parameter. The default value for this parameter is 7.
If you set a value for TemporaryPasswordValidityDays in\n PasswordPolicy, that value will be used, and\n UnusedAccountValidityDays will be no longer be an available\n parameter for that user pool.
This parameter is used only if the phone_number_verified or\n email_verified attribute is set to True. Otherwise, it is\n ignored.
If this parameter is set to True and the phone number or email address\n specified in the UserAttributes parameter already exists as an alias with a different\n user, the API call will migrate the alias from the previous user to the newly created\n user. The previous user will no longer be able to log in using that alias.
If this parameter is set to False, the API throws an\n AliasExistsException error if the alias already exists. The default\n value is False.
Indicates that the status is enabled.
\n True if the password is permanent, False if it is\n temporary.
If UserDataShared is true, Amazon Cognito includes user data in the\n events that it publishes to Amazon Pinpoint analytics.
The expiration period of the authentication result in seconds.
" } }, @@ -3175,7 +3185,10 @@ } }, "com.amazonaws.cognitoidentityprovider#BooleanType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitoidentityprovider#CSSType": { "type": "string" @@ -3691,6 +3704,7 @@ "UserConfirmationNecessary": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the user confirmation must confirm the device response.
" } } @@ -3924,6 +3938,7 @@ "ForceAliasCreation": { "target": "com.amazonaws.cognitoidentityprovider#ForceAliasCreation", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean to be specified to force user confirmation irrespective of existing alias. By\n default set to False. If this parameter is set to True and the\n phone number/email used for sign up confirmation already exists as an alias with a\n different user, the API call will migrate the alias from the previous user to the newly\n created user being confirmed. If set to False, the API will throw an\n AliasExistsException error.
Boolean to specify whether you want to generate a secret for the user pool client\n being created.
" } }, "RefreshTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The refresh token time limit. After this limit expires, your user can't use \n their refresh token. To specify the time unit for RefreshTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.
For example, when you set RefreshTokenValidity as 10 and\n TokenValidityUnits as days, your user can refresh their session\n and retrieve new access and ID tokens for 10 days.
The default time unit for RefreshTokenValidity in an API request is days. \n You can't set RefreshTokenValidity to 0. If you do, Amazon Cognito overrides the \n value with the default value of 30 days. Valid range is displayed below \n in seconds.
Set to true if the client is allowed to follow the OAuth protocol when interacting\n with Amazon Cognito user pools.
" } }, @@ -5796,12 +5814,14 @@ "ChallengeRequiredOnNewDevice": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When true, a remembered device can sign in with device authentication instead of SMS\n and time-based one-time password (TOTP) factors for multi-factor authentication\n (MFA).
\nWhether or not ChallengeRequiredOnNewDevice is true, users who sign in\n with devices that have not been confirmed or remembered must still provide a second\n factor in a user pool that requires MFA.
When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a\n \n ConfirmDevice API request. In your app, create a prompt for\n your user to choose whether they want to remember their device. Return the user's choice\n in an \n UpdateDeviceStatus API request.
\nWhen DeviceOnlyRememberedOnUserPrompt is false, Amazon\n Cognito immediately remembers devices that you register in a ConfirmDevice\n API request.
The maximum number of resource servers to return.
" } }, @@ -8377,6 +8406,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#PoolQueryLimitType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of import jobs you want the request to return.
", "smithy.api#required": {} } @@ -8460,6 +8490,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#QueryLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results you want the request to return when listing the user\n pool clients.
" } }, @@ -8538,6 +8569,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#PoolQueryLimitType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results you want the request to return when listing the user\n pools.
", "smithy.api#required": {} } @@ -8757,7 +8789,10 @@ } }, "com.amazonaws.cognitoidentityprovider#LongType": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cognitoidentityprovider#MFAMethodNotFoundException": { "type": "structure", @@ -9025,6 +9060,7 @@ "com.amazonaws.cognitoidentityprovider#PasswordPolicyMinLengthType": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 6, "max": 99 @@ -9037,36 +9073,42 @@ "MinimumLength": { "target": "com.amazonaws.cognitoidentityprovider#PasswordPolicyMinLengthType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum length of the password in the policy that you have set. This value can't\n be less than 6.
" } }, "RequireUppercase": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "In the password policy that you have set, refers to whether you have required users to\n use at least one uppercase letter in their password.
" } }, "RequireLowercase": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "In the password policy that you have set, refers to whether you have required users to\n use at least one lowercase letter in their password.
" } }, "RequireNumbers": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "In the password policy that you have set, refers to whether you have required users to\n use at least one number in their password.
" } }, "RequireSymbols": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "In the password policy that you have set, refers to whether you have required users to\n use at least one symbol in their password.
" } }, "TemporaryPasswordValidityDays": { "target": "com.amazonaws.cognitoidentityprovider#TemporaryPasswordValidityDaysType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days a temporary password is valid in the password policy. If the user\n doesn't sign in during this time, an administrator must reset their password.
\nWhen you set TemporaryPasswordValidityDays for a user pool, you can\n no longer set a value for the legacy UnusedAccountValidityDays\n parameter in that user pool.
A positive integer specifying priority of a method with 1 being the highest\n priority.
", "smithy.api#required": {} } @@ -9353,6 +9397,7 @@ "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 315360000 @@ -9971,12 +10016,14 @@ "Enabled": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether SMS text message MFA is activated. If an MFA type is activated for a\n user, the user will be prompted for MFA during all sign-in attempts, unless device\n tracking is turned on and the device has been trusted.
" } }, "PreferredMfa": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether SMS is the preferred MFA method.
" } } @@ -10003,21 +10050,21 @@ "DeveloperOnlyAttribute": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "You should use WriteAttributes in the user pool client to control how attributes can\n be mutated for new use cases instead of using\n DeveloperOnlyAttribute.
Specifies whether the attribute type is developer only. This attribute can only be\n modified by an administrator. Users won't be able to modify this attribute using their\n access token. For example, DeveloperOnlyAttribute can be modified using\n AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.
Specifies whether the value of the attribute can be changed.
\nFor any user pool attribute that is mapped to an IdP attribute, you must set this\n parameter to true. Amazon Cognito updates mapped attributes when users sign in to\n your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error\n when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User\n Pool.
Specifies whether a user pool attribute is required. If the attribute is required and\n the user doesn't provide a value, registration or sign-in will fail.
" } }, @@ -10642,6 +10689,7 @@ "UserConfirmed": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A response from the server indicating that a user registration has been\n confirmed.
", "smithy.api#required": {} } @@ -10762,6 +10810,7 @@ "Enabled": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether software token MFA is activated.
" } } @@ -10776,12 +10825,14 @@ "Enabled": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether software token MFA is activated. If an MFA type is activated for a\n user, the user will be prompted for MFA during all sign-in attempts, unless device\n tracking is turned on and the device has been trusted.
" } }, "PreferredMfa": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether software token MFA is the preferred MFA method.
" } } @@ -11043,6 +11094,7 @@ "com.amazonaws.cognitoidentityprovider#TemporaryPasswordValidityDaysType": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 365 @@ -11938,6 +11990,7 @@ "RefreshTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The refresh token time limit. After this limit expires, your user can't use \n their refresh token. To specify the time unit for RefreshTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.
For example, when you set RefreshTokenValidity as 10 and\n TokenValidityUnits as days, your user can refresh their session\n and retrieve new access and ID tokens for 10 days.
The default time unit for RefreshTokenValidity in an API request is days. \n You can't set RefreshTokenValidity to 0. If you do, Amazon Cognito overrides the \n value with the default value of 30 days. Valid range is displayed below \n in seconds.
Set to true if the client is allowed to follow the OAuth protocol when interacting\n with Amazon Cognito user pools.
" } }, @@ -12442,18 +12496,21 @@ "ImportedUsers": { "target": "com.amazonaws.cognitoidentityprovider#LongType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of users that were successfully imported.
" } }, "SkippedUsers": { "target": "com.amazonaws.cognitoidentityprovider#LongType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of users that were skipped.
" } }, "FailedUsers": { "target": "com.amazonaws.cognitoidentityprovider#LongType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of users that couldn't be imported.
" } }, @@ -12636,6 +12693,7 @@ "RefreshTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The refresh token time limit. After this limit expires, your user can't use \n their refresh token. To specify the time unit for RefreshTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.
For example, when you set RefreshTokenValidity as 10 and\n TokenValidityUnits as days, your user can refresh their session\n and retrieve new access and ID tokens for 10 days.
The default time unit for RefreshTokenValidity in an API request is days. \n You can't set RefreshTokenValidity to 0. If you do, Amazon Cognito overrides the \n value with the default value of 30 days. Valid range is displayed below \n in seconds.
Set to true if the client is allowed to follow the OAuth protocol when interacting\n with Amazon Cognito user pools.
" } }, @@ -13004,6 +13062,7 @@ "EstimatedNumberOfUsers": { "target": "com.amazonaws.cognitoidentityprovider#IntegerType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A number estimating the size of the user pool.
" } }, @@ -13149,6 +13208,7 @@ "Enabled": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the user is enabled.
" } }, @@ -13510,10 +13570,7 @@ } }, "com.amazonaws.cognitoidentityprovider#WrappedBooleanType": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" } } } diff --git a/codegen/sdk/aws-models/cognito-identity.json b/codegen/sdk/aws-models/cognito-identity.json index 9ce6655178c..6c4ef533f6b 100644 --- a/codegen/sdk/aws-models/cognito-identity.json +++ b/codegen/sdk/aws-models/cognito-identity.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -179,10 +179,7 @@ } }, "com.amazonaws.cognitoidentity#ClassicFlow": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cognitoidentity#CognitoIdentityProvider": { "type": "structure", @@ -202,7 +199,7 @@ "ServerSideTokenCheck": { "target": "com.amazonaws.cognitoidentity#CognitoIdentityProviderTokenCheck", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "TRUE if server-side token validation is enabled for the identity provider’s\n token.
\nOnce you set ServerSideTokenCheck to TRUE for an identity pool, that\n identity pool will check with the integrated user pools to make sure that the user has not\n been globally signed out or deleted before the identity pool provides an OIDC token or AWS\n credentials for the user.
If the user is signed out or deleted, the identity pool will return a 400 Not\n Authorized error.
" } } @@ -238,7 +235,10 @@ } }, "com.amazonaws.cognitoidentity#CognitoIdentityProviderTokenCheck": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitoidentity#ConcurrentModificationException": { "type": "structure", @@ -301,6 +301,7 @@ "AllowUnauthenticatedIdentities": { "target": "com.amazonaws.cognitoidentity#IdentityPoolUnauthenticated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "TRUE if the identity pool supports unauthenticated logins.
", "smithy.api#required": {} } @@ -444,6 +445,9 @@ "input": { "target": "com.amazonaws.cognitoidentity#DeleteIdentityPoolInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentity#InternalErrorException" @@ -1132,7 +1136,10 @@ } }, "com.amazonaws.cognitoidentity#HideDisabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitoidentity#IdentitiesList": { "type": "list", @@ -1214,6 +1221,7 @@ "AllowUnauthenticatedIdentities": { "target": "com.amazonaws.cognitoidentity#IdentityPoolUnauthenticated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "TRUE if the identity pool supports unauthenticated logins.
", "smithy.api#required": {} } @@ -1321,7 +1329,10 @@ } }, "com.amazonaws.cognitoidentity#IdentityPoolUnauthenticated": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitoidentity#IdentityPoolsList": { "type": "list", @@ -1477,6 +1488,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentity#QueryLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of identities to return.
", "smithy.api#required": {} } @@ -1490,6 +1502,7 @@ "HideDisabled": { "target": "com.amazonaws.cognitoidentity#HideDisabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "An optional boolean parameter that allows you to hide disabled identities. If\n omitted, the ListIdentities API will include disabled identities in the response.
" } } @@ -1565,6 +1578,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentity#QueryLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of identities to return.
", "smithy.api#required": {} } @@ -1730,6 +1744,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentity#QueryLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of identities to return.
" } }, @@ -1994,6 +2009,7 @@ "com.amazonaws.cognitoidentity#QueryLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 60 @@ -2146,6 +2162,9 @@ "input": { "target": "com.amazonaws.cognitoidentity#SetIdentityPoolRolesInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentity#ConcurrentModificationException" @@ -2366,7 +2385,6 @@ "com.amazonaws.cognitoidentity#TokenDuration": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 86400 @@ -2394,6 +2412,9 @@ "input": { "target": "com.amazonaws.cognitoidentity#UnlinkDeveloperIdentityInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentity#InternalErrorException" @@ -2459,6 +2480,9 @@ "input": { "target": "com.amazonaws.cognitoidentity#UnlinkIdentityInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentity#ExternalServiceException" @@ -2640,10 +2664,7 @@ } }, "com.amazonaws.cognitoidentity#UseDefaults": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" } } } diff --git a/codegen/sdk/aws-models/cognito-sync.json b/codegen/sdk/aws-models/cognito-sync.json index 0570ffe3eca..270bfbc4959 100644 --- a/codegen/sdk/aws-models/cognito-sync.json +++ b/codegen/sdk/aws-models/cognito-sync.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -144,7 +144,10 @@ } }, "com.amazonaws.cognitosync#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitosync#BulkPublish": { "type": "operation", @@ -1004,6 +1007,7 @@ "DatasetCount": { "target": "com.amazonaws.cognitosync#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of datasets for the\n identity." } }, @@ -1019,10 +1023,16 @@ } }, "com.amazonaws.cognitosync#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cognitosync#IntegerString": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cognitosync#InternalErrorException": { "type": "structure", @@ -1188,6 +1198,7 @@ "MaxResults": { "target": "com.amazonaws.cognitosync#IntegerString", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to be\n returned.", "smithy.api#httpQuery": "maxResults" } @@ -1209,6 +1220,7 @@ "Count": { "target": "com.amazonaws.cognitosync#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of datasets returned." } }, @@ -1267,6 +1279,7 @@ "MaxResults": { "target": "com.amazonaws.cognitosync#IntegerString", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to\n be returned.", "smithy.api#httpQuery": "maxResults" } @@ -1288,12 +1301,14 @@ "MaxResults": { "target": "com.amazonaws.cognitosync#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to\n be returned." } }, "Count": { "target": "com.amazonaws.cognitosync#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of identities for the\n identity pool." } }, @@ -1383,6 +1398,7 @@ "MaxResults": { "target": "com.amazonaws.cognitosync#IntegerString", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to be\n returned.", "smithy.api#httpQuery": "maxResults" } @@ -1417,6 +1433,7 @@ "Count": { "target": "com.amazonaws.cognitosync#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of records." } }, @@ -1441,12 +1458,14 @@ "DatasetExists": { "target": "com.amazonaws.cognitosync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the dataset\n exists." } }, "DatasetDeletedAfterRequestedSyncCount": { "target": "com.amazonaws.cognitosync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value\n specifying whether to delete the dataset locally." } }, @@ -1462,10 +1481,7 @@ } }, "com.amazonaws.cognitosync#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.cognitosync#MergedDatasetNameList": { "type": "list", @@ -1794,6 +1810,9 @@ "input": { "target": "com.amazonaws.cognitosync#SetCognitoEventsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" diff --git a/codegen/sdk/aws-models/comprehend.json b/codegen/sdk/aws-models/comprehend.json index 5b9154538f4..afd5ffa201e 100644 --- a/codegen/sdk/aws-models/comprehend.json +++ b/codegen/sdk/aws-models/comprehend.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -906,21 +906,6 @@ }, "com.amazonaws.comprehend#Comprehend_20171127": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Comprehend", - "arnNamespace": "comprehend", - "cloudFormationName": "Comprehend", - "cloudTrailEventSource": "comprehend.amazonaws.com", - "endpointPrefix": "comprehend" - }, - "aws.auth#sigv4": { - "name": "comprehend" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Comprehend is an AWS service for gaining insight into the content of documents.\n Use these actions to determine the topics contained in your documents, the topics they\n discuss, the predominant sentiment expressed in them, the predominant language used, and\n more.
", - "smithy.api#title": "Amazon Comprehend" - }, "version": "2017-11-27", "operations": [ { @@ -1142,7 +1127,22 @@ { "target": "com.amazonaws.comprehend#UpdateEndpoint" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Comprehend", + "arnNamespace": "comprehend", + "cloudFormationName": "Comprehend", + "cloudTrailEventSource": "comprehend.amazonaws.com", + "endpointPrefix": "comprehend" + }, + "aws.auth#sigv4": { + "name": "comprehend" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Comprehend is an AWS service for gaining insight into the content of documents.\n Use these actions to determine the topics contained in your documents, the topics they\n discuss, the predominant sentiment expressed in them, the predominant language used, and\n more.
", + "smithy.api#title": "Amazon Comprehend" + } }, "com.amazonaws.comprehend#ConcurrentModificationException": { "type": "structure", @@ -3527,10 +3527,7 @@ } }, "com.amazonaws.comprehend#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.comprehend#EndpointFilter": { "type": "structure", @@ -4514,10 +4511,7 @@ } }, "com.amazonaws.comprehend#Float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.comprehend#IamRoleArn": { "type": "string", @@ -4626,7 +4620,6 @@ "com.amazonaws.comprehend#InferenceUnitsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4675,10 +4668,7 @@ } }, "com.amazonaws.comprehend#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.comprehend#InternalServerException": { "type": "structure", @@ -6175,7 +6165,6 @@ "com.amazonaws.comprehend#MaxResultsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -6237,7 +6226,6 @@ "com.amazonaws.comprehend#NumberOfTopicsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/comprehendmedical.json b/codegen/sdk/aws-models/comprehendmedical.json index 12a8c69d09f..cd41587db61 100644 --- a/codegen/sdk/aws-models/comprehendmedical.json +++ b/codegen/sdk/aws-models/comprehendmedical.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -294,21 +294,6 @@ }, "com.amazonaws.comprehendmedical#ComprehendMedical_20181030": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ComprehendMedical", - "arnNamespace": "comprehendmedical", - "cloudFormationName": "ComprehendMedical", - "cloudTrailEventSource": "comprehendmedical.amazonaws.com", - "endpointPrefix": "comprehendmedical" - }, - "aws.auth#sigv4": { - "name": "comprehendmedical" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Comprehend Medical; extracts structured information from unstructured clinical text. Use these actions\n to gain insight in your documents.
", - "smithy.api#title": "AWS Comprehend Medical" - }, "version": "2018-10-30", "operations": [ { @@ -389,7 +374,22 @@ { "target": "com.amazonaws.comprehendmedical#StopSNOMEDCTInferenceJob" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ComprehendMedical", + "arnNamespace": "comprehendmedical", + "cloudFormationName": "ComprehendMedical", + "cloudTrailEventSource": "comprehendmedical.amazonaws.com", + "endpointPrefix": "comprehendmedical" + }, + "aws.auth#sigv4": { + "name": "comprehendmedical" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Comprehend Medical; extracts structured information from unstructured clinical text. Use these actions\n to gain insight in your documents.
", + "smithy.api#title": "AWS Comprehend Medical" + } }, "com.amazonaws.comprehendmedical#DescribeEntitiesDetectionV2Job": { "type": "operation", @@ -1114,10 +1114,7 @@ } }, "com.amazonaws.comprehendmedical#Float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.comprehendmedical#ICD10CMAttribute": { "type": "structure", @@ -1672,10 +1669,7 @@ } }, "com.amazonaws.comprehendmedical#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.comprehendmedical#InternalServerException": { "type": "structure", @@ -2131,7 +2125,6 @@ "com.amazonaws.comprehendmedical#MaxResultsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 diff --git a/codegen/sdk/aws-models/compute-optimizer.json b/codegen/sdk/aws-models/compute-optimizer.json index 29b2f0fa737..9ad806f8c87 100644 --- a/codegen/sdk/aws-models/compute-optimizer.json +++ b/codegen/sdk/aws-models/compute-optimizer.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -104,18 +104,21 @@ "desiredCapacity": { "target": "com.amazonaws.computeoptimizer#DesiredCapacity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The desired capacity, or number of instances, for the Auto Scaling group.
" } }, "minSize": { "target": "com.amazonaws.computeoptimizer#MinSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum size, or minimum number of instances, for the Auto Scaling\n group.
" } }, "maxSize": { "target": "com.amazonaws.computeoptimizer#MaxSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum size, or maximum number of instances, for the Auto Scaling\n group.
" } }, @@ -169,6 +172,7 @@ "lookBackPeriodInDays": { "target": "com.amazonaws.computeoptimizer#LookBackPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days for which utilization metrics were analyzed for the Auto Scaling group.
" } }, @@ -231,12 +235,14 @@ "performanceRisk": { "target": "com.amazonaws.computeoptimizer#PerformanceRisk", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The performance risk of the Auto Scaling group configuration\n recommendation.
\nPerformance risk indicates the likelihood of the recommended instance type not meeting\n the resource needs of your workload. Compute Optimizer calculates an individual\n performance risk score for each specification of the recommended instance, including\n CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput,\n and network PPS.\n The performance\n risk of the recommended instance is calculated as the maximum performance risk score\n across the analyzed resource specifications.
\nThe value ranges from 0 - 4, with 0 meaning\n that the recommended resource is predicted to always provide enough hardware capability.\n The higher the performance risk is, the more likely you should validate whether the\n recommendation will meet the performance requirements of your workload before migrating\n your resource.
The rank of the Auto Scaling group recommendation option.
\nThe top recommendation option is ranked as 1.
Compute Optimizer is a service that analyzes the configuration and utilization\n metrics of your Amazon Web Services compute resources, such as Amazon EC2\n instances, Amazon EC2 Auto Scaling groups, Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates\n optimization recommendations to reduce the cost and improve the performance of your\n workloads. Compute Optimizer also provides recent utilization metric data, in addition\n to projected utilization metric data for the recommendations, which you can use to\n evaluate which recommendation provides the best price-performance trade-off. The\n analysis of your usage patterns can help you decide when to move or resize your running\n resources, and still meet your performance and capacity requirements. For more\n information about Compute Optimizer, including the required permissions to use the\n service, see the Compute Optimizer User Guide.
", - "smithy.api#title": "AWS Compute Optimizer" - }, "version": "2019-11-01", "operations": [ { @@ -345,7 +336,22 @@ { "target": "com.amazonaws.computeoptimizer#UpdateEnrollmentStatus" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Compute Optimizer", + "arnNamespace": "compute-optimizer", + "cloudFormationName": "ComputeOptimizer", + "cloudTrailEventSource": "computeoptimizer.amazonaws.com", + "endpointPrefix": "compute-optimizer" + }, + "aws.auth#sigv4": { + "name": "compute-optimizer" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Compute Optimizer is a service that analyzes the configuration and utilization\n metrics of your Amazon Web Services compute resources, such as Amazon EC2\n instances, Amazon EC2 Auto Scaling groups, Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates\n optimization recommendations to reduce the cost and improve the performance of your\n workloads. Compute Optimizer also provides recent utilization metric data, in addition\n to projected utilization metric data for the recommendations, which you can use to\n evaluate which recommendation provides the best price-performance trade-off. The\n analysis of your usage patterns can help you decide when to move or resize your running\n resources, and still meet your performance and capacity requirements. For more\n information about Compute Optimizer, including the required permissions to use the\n service, see the Compute Optimizer User Guide.
", + "smithy.api#title": "AWS Compute Optimizer" + } }, "com.amazonaws.computeoptimizer#CpuVendorArchitecture": { "type": "string", @@ -418,24 +424,28 @@ "high": { "target": "com.amazonaws.computeoptimizer#High", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A count of the applicable resource types with a high performance risk rating.
" } }, "medium": { "target": "com.amazonaws.computeoptimizer#Medium", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A count of the applicable resource types with a medium performance risk rating.
" } }, "low": { "target": "com.amazonaws.computeoptimizer#Low", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A count of the applicable resource types with a low performance risk rating.
" } }, "veryLow": { "target": "com.amazonaws.computeoptimizer#VeryLow", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A count of the applicable resource types with a very low performance risk\n rating.
" } } @@ -596,7 +606,10 @@ } }, "com.amazonaws.computeoptimizer#DesiredCapacity": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#DestinationBucket": { "type": "string" @@ -700,6 +713,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#MetricValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the utilization metric.
" } } @@ -807,6 +821,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#Value", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the estimated monthly savings.
" } } @@ -890,6 +905,7 @@ "includeMemberAccounts": { "target": "com.amazonaws.computeoptimizer#IncludeMemberAccounts", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to include recommendations for resources in all member accounts of\n the organization if your account is the management account of an organization.
\nThe member accounts must also be opted in to Compute Optimizer, and trusted access for\n Compute Optimizer must be enabled in the organization account. For more information,\n see Compute Optimizer and Amazon Web Services Organizations trusted access in the\n Compute Optimizer User Guide.
\nRecommendations for member accounts of the organization are not included in the export\n file if this parameter is omitted.
\nThis parameter cannot be specified together with the account IDs parameter. The\n parameters are mutually exclusive.
\nRecommendations for member accounts are not included in the export if this parameter,\n or the account IDs parameter, is omitted.
" } }, @@ -1006,6 +1022,7 @@ "includeMemberAccounts": { "target": "com.amazonaws.computeoptimizer#IncludeMemberAccounts", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to include recommendations for resources in all member accounts of\n the organization if your account is the management account of an organization.
\nThe member accounts must also be opted in to Compute Optimizer, and trusted access for\n Compute Optimizer must be enabled in the organization account. For more information,\n see Compute Optimizer and Amazon Web Services Organizations trusted access in the\n Compute Optimizer User Guide.
\nRecommendations for member accounts of the organization are not included in the export\n file if this parameter is omitted.
\nThis parameter cannot be specified together with the account IDs parameter. The\n parameters are mutually exclusive.
\nRecommendations for member accounts are not included in the export if this parameter,\n or the account IDs parameter, is omitted.
" } } @@ -1100,6 +1117,7 @@ "includeMemberAccounts": { "target": "com.amazonaws.computeoptimizer#IncludeMemberAccounts", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to include recommendations for resources in all member accounts of\n the organization if your account is the management account of an organization.
\nThe member accounts must also be opted in to Compute Optimizer, and trusted access for\n Compute Optimizer must be enabled in the organization account. For more information,\n see Compute Optimizer and Amazon Web Services Organizations trusted access in the\n Compute Optimizer User Guide.
\nRecommendations for member accounts of the organization are not included in the export\n file if this parameter is omitted.
\nRecommendations for member accounts are not included in the export if this parameter,\n or the account IDs parameter, is omitted.
" } }, @@ -1202,6 +1220,7 @@ "includeMemberAccounts": { "target": "com.amazonaws.computeoptimizer#IncludeMemberAccounts", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to include recommendations for resources in all member accounts of\n the organization if your account is the management account of an organization.
\nThe member accounts must also be opted in to Compute Optimizer, and trusted access for\n Compute Optimizer must be enabled in the organization account. For more information,\n see Compute Optimizer and Amazon Web Services Organizations trusted access in the\n Compute Optimizer User Guide.
\nRecommendations for member accounts of the organization are not included in the export\n file if this parameter is omitted.
\nThis parameter cannot be specified together with the account IDs parameter. The\n parameters are mutually exclusive.
\nRecommendations for member accounts are not included in the export if this parameter,\n or the account IDs parameter, is omitted.
" } } @@ -2389,6 +2408,7 @@ "period": { "target": "com.amazonaws.computeoptimizer#Period", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The granularity, in seconds, of the projected metrics data points.
", "smithy.api#required": {} } @@ -2541,6 +2561,7 @@ "memberAccountsEnrolled": { "target": "com.amazonaws.computeoptimizer#MemberAccountsEnrolled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Confirms the enrollment status of member accounts of the organization, if the account\n is a management account of an organization.
" } }, @@ -2913,13 +2934,19 @@ } }, "com.amazonaws.computeoptimizer#High": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#Identifier": { "type": "string" }, "com.amazonaws.computeoptimizer#IncludeMemberAccounts": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.computeoptimizer#InferredWorkloadType": { "type": "string", @@ -3037,6 +3064,7 @@ "lookBackPeriodInDays": { "target": "com.amazonaws.computeoptimizer#LookBackPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days for which utilization metrics were analyzed for the\n instance.
" } }, @@ -3182,12 +3210,14 @@ "performanceRisk": { "target": "com.amazonaws.computeoptimizer#PerformanceRisk", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The performance risk of the instance recommendation option.
\nPerformance risk indicates the likelihood of the recommended instance type not meeting\n the resource needs of your workload. Compute Optimizer calculates an individual\n performance risk score for each specification of the recommended instance, including\n CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput,\n and network PPS.\n The performance\n risk of the recommended instance is calculated as the maximum performance risk score\n across the analyzed resource specifications.
\nThe value ranges from 0 - 4, with 0 meaning\n that the recommended resource is predicted to always provide enough hardware capability.\n The higher the performance risk is, the more likely you should validate whether the\n recommendation will meet the performance requirements of your workload before migrating\n your resource.
The rank of the instance recommendation option.
\nThe top recommendation option is ranked as 1.
The values of the projected utilization metrics.
" } } @@ -3384,12 +3415,14 @@ "rank": { "target": "com.amazonaws.computeoptimizer#Rank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The rank of the function recommendation option.
\nThe top recommendation option is ranked as 1.
The memory size, in MB, of the function recommendation option.
" } }, @@ -3470,12 +3503,14 @@ "currentMemorySize": { "target": "com.amazonaws.computeoptimizer#MemorySize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of memory, in MB, that's allocated to the current function.
" } }, "numberOfInvocations": { "target": "com.amazonaws.computeoptimizer#NumberOfInvocations", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of times your function code was applied during the look-back period.
" } }, @@ -3488,6 +3523,7 @@ "lookbackPeriodInDays": { "target": "com.amazonaws.computeoptimizer#LookBackPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days for which utilization metrics were analyzed for the\n function.
" } }, @@ -3639,6 +3675,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#MetricValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the utilization metric.
" } } @@ -3673,28 +3710,43 @@ } }, "com.amazonaws.computeoptimizer#LookBackPeriodInDays": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#Low": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#MaxResults": { + "type": "integer" + }, + "com.amazonaws.computeoptimizer#MaxSize": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, - "com.amazonaws.computeoptimizer#MaxSize": { - "type": "integer" - }, "com.amazonaws.computeoptimizer#Medium": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#MemberAccountsEnrolled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.computeoptimizer#MemorySize": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#Message": { "type": "string" @@ -3781,7 +3833,10 @@ } }, "com.amazonaws.computeoptimizer#MetricValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#MetricValues": { "type": "list", @@ -3813,7 +3868,10 @@ } }, "com.amazonaws.computeoptimizer#MinSize": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#MissingAuthenticationToken": { "type": "structure", @@ -3832,14 +3890,14 @@ "type": "string" }, "com.amazonaws.computeoptimizer#NumberOfInvocations": { - "type": "long" - }, - "com.amazonaws.computeoptimizer#NumberOfMemberAccountsOptedIn": { - "type": "integer", + "type": "long", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.computeoptimizer#NumberOfMemberAccountsOptedIn": { + "type": "integer" + }, "com.amazonaws.computeoptimizer#OptInRequiredException": { "type": "structure", "members": { @@ -3856,6 +3914,7 @@ "com.amazonaws.computeoptimizer#PerformanceRisk": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 4 @@ -3863,7 +3922,10 @@ } }, "com.amazonaws.computeoptimizer#Period": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#PlatformDifference": { "type": "string", @@ -4013,7 +4075,10 @@ "members": {} }, "com.amazonaws.computeoptimizer#Rank": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#ReasonCodeSummaries": { "type": "list", @@ -4033,6 +4098,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#SummaryValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the finding reason code summary.
" } } @@ -4287,6 +4353,7 @@ "rank": { "target": "com.amazonaws.computeoptimizer#Rank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The rank of the recommendation option projected metric.
\nThe top recommendation option is ranked as 1.
The projected metric rank correlates to the recommendation option rank. For example,\n the projected metric ranked as 1 is related to the recommendation option\n that is also ranked as 1 in the same response.
The estimated monthly savings possible as a percentage of monthly cost by adopting\n Compute Optimizer recommendations for a given resource.
" } }, @@ -4417,7 +4485,10 @@ } }, "com.amazonaws.computeoptimizer#SavingsOpportunityPercentage": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#Scope": { "type": "structure", @@ -4518,6 +4589,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#SummaryValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the recommendation summary.
" } }, @@ -4533,7 +4605,10 @@ } }, "com.amazonaws.computeoptimizer#SummaryValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#ThrottlingException": { "type": "structure", @@ -4605,6 +4680,7 @@ "includeMemberAccounts": { "target": "com.amazonaws.computeoptimizer#IncludeMemberAccounts", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to enroll member accounts of the organization if the account is the\n management account of an organization.
" } } @@ -4645,6 +4721,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#MetricValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the utilization metric.
" } } @@ -4660,10 +4737,16 @@ } }, "com.amazonaws.computeoptimizer#Value": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VeryLow": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VolumeArn": { "type": "string" @@ -4675,16 +4758,28 @@ } }, "com.amazonaws.computeoptimizer#VolumeBaselineIOPS": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VolumeBaselineThroughput": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VolumeBurstIOPS": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VolumeBurstThroughput": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VolumeConfiguration": { "type": "structure", @@ -4698,30 +4793,35 @@ "volumeSize": { "target": "com.amazonaws.computeoptimizer#VolumeSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the volume, in GiB.
" } }, "volumeBaselineIOPS": { "target": "com.amazonaws.computeoptimizer#VolumeBaselineIOPS", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The baseline IOPS of the volume.
" } }, "volumeBurstIOPS": { "target": "com.amazonaws.computeoptimizer#VolumeBurstIOPS", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The burst IOPS of the volume.
" } }, "volumeBaselineThroughput": { "target": "com.amazonaws.computeoptimizer#VolumeBaselineThroughput", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The baseline throughput of the volume.
" } }, "volumeBurstThroughput": { "target": "com.amazonaws.computeoptimizer#VolumeBurstThroughput", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The burst throughput of the volume.
" } } @@ -4766,6 +4866,7 @@ "lookBackPeriodInDays": { "target": "com.amazonaws.computeoptimizer#LookBackPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days for which utilization metrics were analyzed for the volume.
" } }, @@ -4804,12 +4905,14 @@ "performanceRisk": { "target": "com.amazonaws.computeoptimizer#PerformanceRisk", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The performance risk of the volume recommendation option.
\nPerformance risk is the likelihood of the recommended volume type meeting the\n performance requirement of your workload.
\nThe value ranges from 0 - 4, with 0 meaning\n that the recommended resource is predicted to always provide enough hardware capability.\n The higher the performance risk is, the more likely you should validate whether the\n recommendation will meet the performance requirements of your workload before migrating\n your resource.
The rank of the volume recommendation option.
\nThe top recommendation option is ranked as 1.
If true, aggregate existing Config regions and future\n\t\t\tregions.
" } }, @@ -202,18 +203,21 @@ "CompliantRuleCount": { "target": "com.amazonaws.configservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of compliant Config Rules.
" } }, "NonCompliantRuleCount": { "target": "com.amazonaws.configservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of noncompliant Config Rules.
" } }, "TotalRuleCount": { "target": "com.amazonaws.configservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of compliant rules, noncompliant rules, and the rules that do not have any applicable resources to evaluate upon resulting in insufficient data.
" } } @@ -228,12 +232,14 @@ "CompliantConformancePackCount": { "target": "com.amazonaws.configservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of compliant conformance packs.
" } }, "NonCompliantConformancePackCount": { "target": "com.amazonaws.configservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of noncompliant conformance packs.
" } } @@ -584,7 +590,10 @@ } }, "com.amazonaws.configservice#AllSupported": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.configservice#AmazonResourceName": { "type": "string", @@ -607,7 +616,6 @@ "com.amazonaws.configservice#AutoRemediationAttemptSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 2678000 @@ -617,7 +625,6 @@ "com.amazonaws.configservice#AutoRemediationAttempts": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 25 @@ -849,7 +856,10 @@ } }, "com.amazonaws.configservice#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.configservice#ChannelName": { "type": "string", @@ -959,12 +969,14 @@ "CappedCount": { "target": "com.amazonaws.configservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of Amazon Web Services resources or Config rules responsible for\n\t\t\tthe current compliance of the item.
" } }, "CapExceeded": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the maximum count is reached.
" } } @@ -1327,6 +1339,7 @@ "FirstEvaluationStarted": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Config has evaluated your resources\n\t\t\tagainst the rule at least once.
\n\t\t\n\t\t\t\t\t true - Config has evaluated your Amazon Web Services\n\t\t\t\t\tresources against the rule at least once.
\n\t\t\t\t\t false - Config has not finished evaluating your Amazon Web Services resources against the\n\t\t\t\t\trule\n\t\t\t\t\tat least once.
Specifies whether or not the recorder is currently\n\t\t\trecording.
" } }, @@ -2383,6 +2397,7 @@ "com.amazonaws.configservice#CosmosPageLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -2409,6 +2424,7 @@ "EnableDebugLogDelivery": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is false.
The maximum number of evaluation results returned on each page.\n\t\t\tThe default is\n\t\t\tmaximum.\n\t\t\tIf you specify 0, Config uses the default.
" } }, @@ -3293,6 +3310,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of conformance packs compliance details returned on each page. The default is maximum. If you specify 0, Config uses the default.
" } }, @@ -3356,6 +3374,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of AggregationAuthorizations returned on\n\t\t\teach page. The default is maximum. If you specify 0, Config uses\n\t\t\tthe default.
" } }, @@ -3508,6 +3527,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of evaluation results returned on each page.\n\t\t\tThe default is 10. You cannot specify a number greater than 100. If\n\t\t\tyou specify 0, Config uses the default.
" } }, @@ -3589,6 +3609,7 @@ "Limit": { "target": "com.amazonaws.configservice#RuleLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of rule evaluation results that you want\n\t\t\treturned.
\n\t\t\n\t\tThis parameter is required if the rule limit for your account\n\t\t\tis more than the default of 150 rules.
\n\t\tFor information about requesting a rule limit increase, see\n\t\t\t\tConfig Limits in the Amazon Web Services General\n\t\t\t\tReference Guide.
" } } @@ -3739,6 +3760,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of AggregatorSourceStatus returned on each\n\t\t\tpage. The default is maximum. If you specify 0, Config uses the\n\t\t\tdefault.
" } } @@ -3811,6 +3833,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of configuration aggregators returned on\n\t\t\teach page. The default is maximum. If you specify 0, Config uses\n\t\t\tthe default.
" } } @@ -3960,6 +3983,7 @@ "com.amazonaws.configservice#DescribeConformancePackComplianceLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -3985,6 +4009,7 @@ "Limit": { "target": "com.amazonaws.configservice#DescribeConformancePackComplianceLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of Config rules within a conformance pack are returned on each page.
" } }, @@ -4062,6 +4087,7 @@ "Limit": { "target": "com.amazonaws.configservice#PageSizeLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of conformance packs status returned on each page.
" } }, @@ -4134,6 +4160,7 @@ "Limit": { "target": "com.amazonaws.configservice#PageSizeLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of conformance packs returned on each page.
" } }, @@ -4296,6 +4323,7 @@ "Limit": { "target": "com.amazonaws.configservice#CosmosPageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of OrganizationConfigRuleStatuses returned on each page. If you do no specify a number, Config uses the default. The default is 100.
The maximum number of organization Config rules returned on each page. If you do no specify a number, Config uses the default. The default is 100.
" } }, @@ -4440,6 +4469,7 @@ "Limit": { "target": "com.amazonaws.configservice#CosmosPageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of OrganizationConformancePackStatuses returned on each page. \n\t\t\tIf you do no specify a number, Config uses the default. The default is 100.
" } }, @@ -4512,6 +4542,7 @@ "Limit": { "target": "com.amazonaws.configservice#CosmosPageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of organization config packs returned on each page. If you do no specify a\n\t\t\tnumber, Config uses the default. The default is 100.
" } }, @@ -4572,6 +4603,7 @@ "com.amazonaws.configservice#DescribePendingAggregationRequestsLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 20 @@ -4584,6 +4616,7 @@ "Limit": { "target": "com.amazonaws.configservice#DescribePendingAggregationRequestsLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of evaluation results returned on each page.\n\t\t\tThe default is maximum. If you specify 0, Config uses the\n\t\t\tdefault.
" } }, @@ -4691,6 +4724,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of RemediationExceptionResourceKey returned on each page. The default is 25. If you specify 0, Config uses the default.
" } }, @@ -4767,6 +4801,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of RemediationExecutionStatuses returned on each page. The default is maximum. If you specify 0, Config uses the default.
" } }, @@ -5289,6 +5324,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of evaluation results returned on each page.\n\t\t\tThe default is 50. You cannot specify a number greater than 100. If\n\t\t\tyou specify 0, Config uses the default.
" } }, @@ -5373,6 +5409,7 @@ "Limit": { "target": "com.amazonaws.configservice#GroupByAPILimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of evaluation results returned on each page.\n\t\t\tThe default is 1000. You cannot specify a number greater than 1000.\n\t\t\tIf you specify 0, Config uses the default.
" } }, @@ -5463,6 +5500,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results returned on each page. The default is maximum. If you specify 0, Config uses the default.
" } }, @@ -5553,6 +5591,7 @@ "Limit": { "target": "com.amazonaws.configservice#GroupByAPILimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of GroupedResourceCount objects returned on each page. The default is 1000. You cannot specify a number greater than 1000. If you specify 0, Config uses the default.
" } }, @@ -5570,6 +5609,7 @@ "TotalDiscoveredResources": { "target": "com.amazonaws.configservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of resources that are present in an aggregator with the filters that you provide.
", "smithy.api#required": {} } @@ -5698,6 +5738,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of evaluation results returned on each page.\n\t\t\tThe default is 10. You cannot specify a number greater than 100. If\n\t\t\tyou specify 0, Config uses the default.
" } }, @@ -5916,6 +5957,7 @@ "com.amazonaws.configservice#GetConformancePackComplianceDetailsLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5941,6 +5983,7 @@ "Limit": { "target": "com.amazonaws.configservice#GetConformancePackComplianceDetailsLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of evaluation results returned on each page. If you do no specify a number, Config uses the default. The default is 100.
" } }, @@ -6018,6 +6061,7 @@ "Limit": { "target": "com.amazonaws.configservice#PageSizeLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of conformance packs returned on each page.
" } }, @@ -6125,6 +6169,7 @@ "limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of ResourceCount objects\n\t\t\treturned on each page. The default is 100. You cannot specify a\n\t\t\tnumber greater than 100. If you specify 0, Config uses the\n\t\t\tdefault.
" } }, @@ -6142,6 +6187,7 @@ "totalDiscoveredResources": { "target": "com.amazonaws.configservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of resources that Config is recording in\n\t\t\tthe region for your account. If you specify resource types in the\n\t\t\trequest, Config returns only the total number of resources for\n\t\t\tthose resource types.
\n\n\n\t\t\n Example\n
\nConfig is recording three resource types in the US\n\t\t\t\t\tEast (Ohio) Region for your account: 25 EC2 instances, 20\n\t\t\t\t\tIAM users, and 15 S3 buckets, for a total of 60\n\t\t\t\t\tresources.
\n\t\t\tYou make a call to the\n\t\t\t\t\t\tGetDiscoveredResourceCounts action and\n\t\t\t\t\tspecify the resource type,\n\t\t\t\t\t\t\"AWS::EC2::Instances\", in the\n\t\t\t\t\trequest.
Config returns 25 for\n\t\t\t\t\t\ttotalDiscoveredResources.
The maximum number of OrganizationConfigRuleDetailedStatus returned on each page. If you do not specify a number, Config uses the default. The default is 100.
The maximum number of OrganizationConformancePackDetailedStatuses returned on each page. \n\t\t\tIf you do not specify a number, Config uses the default. The default is 100.
The maximum number of configuration items returned on each\n\t\t\tpage. The default is 10. You cannot specify a number greater than\n\t\t\t100. If you specify 0, Config uses the default.
" } }, @@ -6516,6 +6565,7 @@ "com.amazonaws.configservice#GroupByAPILimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -6535,6 +6585,7 @@ "ResourceCount": { "target": "com.amazonaws.configservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of resources in the group.
", "smithy.api#required": {} } @@ -6551,7 +6602,10 @@ } }, "com.amazonaws.configservice#IncludeGlobalResourceTypes": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.configservice#InsufficientDeliveryPolicyException": { "type": "structure", @@ -6584,7 +6638,10 @@ } }, "com.amazonaws.configservice#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.configservice#InvalidConfigurationRecorderNameException": { "type": "structure", @@ -6805,6 +6862,7 @@ "com.amazonaws.configservice#Limit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -6884,6 +6942,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of resource identifiers returned on each page. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
" } }, @@ -6964,6 +7023,7 @@ "Limit": { "target": "com.amazonaws.configservice#PageSizeLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of conformance pack compliance scores returned on each page.
" } }, @@ -7050,12 +7110,14 @@ "limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of resource identifiers returned on each\n\t\t\tpage. The default is 100. You cannot specify a number greater than\n\t\t\t100. If you specify 0, Config uses the default.
" } }, "includeDeletedResources": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Config includes deleted resources in the\n\t\t\tresults. By default, deleted resources are not included.
" } }, @@ -7127,7 +7189,7 @@ "MaxResults": { "target": "com.amazonaws.configservice#Limit", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned with a single call.
" } } @@ -7195,6 +7257,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, Config uses the default.
" } }, @@ -7224,7 +7287,10 @@ } }, "com.amazonaws.configservice#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.configservice#MaxActiveResourcesExceededException": { "type": "structure", @@ -7769,6 +7835,7 @@ "AllAwsRegions": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, aggregate existing Config regions and future\n\t\t\tregions.
" } } @@ -8616,6 +8683,7 @@ "com.amazonaws.configservice#PageSizeLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 20 @@ -8669,7 +8737,6 @@ "com.amazonaws.configservice#Percentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -9092,6 +9159,7 @@ "TestMode": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Use this parameter to specify a test run for\n\t\t\tPutEvaluations. You can verify whether your Lambda function will deliver evaluation results to Config. No\n\t\t\tupdates occur to your existing evaluations, and evaluation results\n\t\t\tare not sent to Config.
When TestMode is true,\n\t\t\t\t\tPutEvaluations doesn't require a valid value\n\t\t\t\tfor the ResultToken parameter, but the value cannot\n\t\t\t\tbe null.
Number of days Config stores your historical\n\t\t\tinformation.
\n\t\tCurrently, only applicable to the configuration item\n\t\t\t\thistory.
\n\t\tSpecifies whether Config records configuration changes for\n\t\t\tevery supported type of regional resource.
\n\t\tIf you set this option to true, when Config\n\t\t\tadds support for a new type of regional resource, it starts\n\t\t\trecording resources of that type automatically.
If you set this option to true, you cannot\n\t\t\tenumerate a list of resourceTypes.
Specifies whether Config includes all supported types of\n\t\t\tglobal resources (for example, IAM resources) with the resources\n\t\t\tthat it records.
\n\t\tBefore you can set this option to true, you must\n\t\t\tset the allSupported option to\n\t\t\ttrue.
If you set this option to true, when Config\n\t\t\tadds support for a new type of global resource, it starts recording\n\t\t\tresources of that type automatically.
The configuration details for any global resource are the same\n\t\t\tin all regions. To prevent duplicate configuration items, you should\n\t\t\tconsider customizing Config in only one region to record global\n\t\t\tresources.
" } }, @@ -9835,6 +9906,7 @@ "Automatic": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The remediation is triggered automatically.
" } }, @@ -10182,6 +10254,7 @@ "count": { "target": "com.amazonaws.configservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of resources.
" } } @@ -11093,6 +11166,7 @@ "RetentionPeriodInDays": { "target": "com.amazonaws.configservice#RetentionPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of days Config stores your historical information.
\n\t\tCurrently, only applicable to the configuration item history.
\nThe maximum number of query results returned on each page.
" } }, "MaxResults": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of query results returned on each page. Config also allows the Limit request parameter.
" } }, @@ -11333,6 +11411,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of query results returned on each page.
" } }, @@ -11495,24 +11574,6 @@ }, "com.amazonaws.configservice#StarlingDoveService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Config Service", - "arnNamespace": "config", - "cloudFormationName": "Config", - "cloudTrailEventSource": "configservice.amazonaws.com", - "endpointPrefix": "config" - }, - "aws.auth#sigv4": { - "name": "config" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Config provides a way to keep track of the configurations\n\t\t\tof all the Amazon Web Services resources associated with your Amazon Web Services account. You can\n\t\t\tuse Config to get the current and historical configurations of\n\t\t\teach Amazon Web Services resource and also to get information about the relationship\n\t\t\tbetween the resources. An Amazon Web Services resource can be an Amazon Compute\n\t\t\tCloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an\n\t\t\telastic network Interface (ENI), or a security group. For a complete\n\t\t\tlist of resources currently supported by Config, see Supported Amazon Web Services resources.
\n\n\t\tYou can access and manage Config through the Amazon Web Services Management\n\t\t\tConsole, the Amazon Web Services Command Line Interface (Amazon Web Services CLI), the Config\n\t\t\tAPI, or the Amazon Web Services SDKs for Config. This reference guide contains\n\t\t\tdocumentation for the Config API and the Amazon Web Services CLI commands that\n\t\t\tyou can use to manage Config. The Config API uses the\n\t\t\tSignature Version 4 protocol for signing requests. For more\n\t\t\tinformation about how to sign a request with this protocol, see\n\t\t\t\tSignature\n\t\t\t\tVersion 4 Signing Process. For detailed information\n\t\t\tabout Config features and their associated actions or commands,\n\t\t\tas well as how to work with Amazon Web Services Management Console, see What Is Config in the Config Developer\n\t\t\t\tGuide.
", - "smithy.api#title": "AWS Config", - "smithy.api#xmlNamespace": { - "uri": "http://config.amazonaws.com/doc/2014-11-12/" - } - }, "version": "2014-11-12", "operations": [ { @@ -11782,7 +11843,25 @@ { "target": "com.amazonaws.configservice#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Config Service", + "arnNamespace": "config", + "cloudFormationName": "Config", + "cloudTrailEventSource": "configservice.amazonaws.com", + "endpointPrefix": "config" + }, + "aws.auth#sigv4": { + "name": "config" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Config provides a way to keep track of the configurations\n\t\t\tof all the Amazon Web Services resources associated with your Amazon Web Services account. You can\n\t\t\tuse Config to get the current and historical configurations of\n\t\t\teach Amazon Web Services resource and also to get information about the relationship\n\t\t\tbetween the resources. An Amazon Web Services resource can be an Amazon Compute\n\t\t\tCloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an\n\t\t\telastic network Interface (ENI), or a security group. For a complete\n\t\t\tlist of resources currently supported by Config, see Supported Amazon Web Services resources.
\n\n\t\tYou can access and manage Config through the Amazon Web Services Management\n\t\t\tConsole, the Amazon Web Services Command Line Interface (Amazon Web Services CLI), the Config\n\t\t\tAPI, or the Amazon Web Services SDKs for Config. This reference guide contains\n\t\t\tdocumentation for the Config API and the Amazon Web Services CLI commands that\n\t\t\tyou can use to manage Config. The Config API uses the\n\t\t\tSignature Version 4 protocol for signing requests. For more\n\t\t\tinformation about how to sign a request with this protocol, see\n\t\t\t\tSignature\n\t\t\t\tVersion 4 Signing Process. For detailed information\n\t\t\tabout Config features and their associated actions or commands,\n\t\t\tas well as how to work with Amazon Web Services Management Console, see What Is Config in the Config Developer\n\t\t\t\tGuide.
", + "smithy.api#title": "AWS Config", + "smithy.api#xmlNamespace": { + "uri": "http://config.amazonaws.com/doc/2014-11-12/" + } + } }, "com.amazonaws.configservice#StartConfigRulesEvaluation": { "type": "operation", diff --git a/codegen/sdk/aws-models/connect-contact-lens.json b/codegen/sdk/aws-models/connect-contact-lens.json index 4e230b1503e..c7b936b4eae 100644 --- a/codegen/sdk/aws-models/connect-contact-lens.json +++ b/codegen/sdk/aws-models/connect-contact-lens.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -119,6 +119,7 @@ "com.amazonaws.connectcontactlens#CharacterOffset": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -130,6 +131,7 @@ "BeginOffsetChar": { "target": "com.amazonaws.connectcontactlens#CharacterOffset", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The beginning of the issue.
", "smithy.api#required": {} } @@ -137,6 +139,7 @@ "EndOffsetChar": { "target": "com.amazonaws.connectcontactlens#CharacterOffset", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The end of the issue.
", "smithy.api#required": {} } @@ -278,6 +281,7 @@ "MaxResults": { "target": "com.amazonaws.connectcontactlens#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximimum number of results to return per page.
" } }, @@ -337,6 +341,7 @@ "com.amazonaws.connectcontactlens#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -359,6 +364,7 @@ "com.amazonaws.connectcontactlens#OffsetMillis": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -390,6 +396,7 @@ "BeginOffsetMillis": { "target": "com.amazonaws.connectcontactlens#OffsetMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The beginning offset in milliseconds where the category rule was detected.
", "smithy.api#required": {} } @@ -397,6 +404,7 @@ "EndOffsetMillis": { "target": "com.amazonaws.connectcontactlens#OffsetMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ending offset in milliseconds where the category rule was detected.
", "smithy.api#required": {} } @@ -532,6 +540,7 @@ "BeginOffsetMillis": { "target": "com.amazonaws.connectcontactlens#OffsetMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The beginning offset in the contact for this transcript.
", "smithy.api#required": {} } @@ -539,6 +548,7 @@ "EndOffsetMillis": { "target": "com.amazonaws.connectcontactlens#OffsetMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The end offset in the contact for this transcript.
", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/connect.json b/codegen/sdk/aws-models/connect.json index 679c52a12bc..b2e328383aa 100644 --- a/codegen/sdk/aws-models/connect.json +++ b/codegen/sdk/aws-models/connect.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -52,6 +52,7 @@ "com.amazonaws.connect#AfterContactWorkTimeLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -237,7 +238,6 @@ "com.amazonaws.connect#AgentStatusOrderNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -265,18 +265,20 @@ } }, "com.amazonaws.connect#AgentStatusState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } } }, "com.amazonaws.connect#AgentStatusSummary": { @@ -318,22 +320,26 @@ } }, "com.amazonaws.connect#AgentStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ROUTABLE", - "name": "ROUTABLE" - }, - { - "value": "CUSTOM", - "name": "CUSTOM" - }, - { - "value": "OFFLINE", - "name": "OFFLINE" + "type": "enum", + "members": { + "ROUTABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROUTABLE" + } + }, + "CUSTOM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOM" + } + }, + "OFFLINE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OFFLINE" } - ] + } } }, "com.amazonaws.connect#AgentStatusTypes": { @@ -368,21 +374,6 @@ }, "com.amazonaws.connect#AmazonConnectService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Connect", - "arnNamespace": "connect", - "cloudFormationName": "Connect", - "cloudTrailEventSource": "connect.amazonaws.com", - "endpointPrefix": "connect" - }, - "aws.auth#sigv4": { - "name": "connect" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer\n contact center and provide reliable customer engagement at any scale.
\nAmazon Connect provides metrics and real-time reporting that enable you to optimize contact routing.\n You can also resolve customer issues more efficiently by getting customers in touch with the\n appropriate agents.
\nThere are limits to the number of Amazon Connect resources that you can create. There are also limits\n to the number of requests that you can make per second. For more information, see Amazon Connect\n Service Quotas in the Amazon Connect Administrator Guide.
\nYou can connect programmatically to an Amazon Web Services service by using an endpoint. For\n a list of Amazon Connect endpoints, see Amazon Connect Endpoints.
\nWorking with flows? Check out the Amazon Connect Flow language.
\nAmazon Connect is a cloud-based contact center solution that you use to set up and manage a customer\n contact center and provide reliable customer engagement at any scale.
\nAmazon Connect provides metrics and real-time reporting that enable you to optimize contact routing.\n You can also resolve customer issues more efficiently by getting customers in touch with the\n appropriate agents.
\nThere are limits to the number of Amazon Connect resources that you can create. There are also limits\n to the number of requests that you can make per second. For more information, see Amazon Connect\n Service Quotas in the Amazon Connect Administrator Guide.
\nYou can connect programmatically to an Amazon Web Services service by using an endpoint. For\n a list of Amazon Connect endpoints, see Amazon Connect Endpoints.
\nWorking with flows? Check out the Amazon Connect Flow language.
\nThe flag to indicate if answer machine detection analysis needs to be performed for a voice\n call. If set to true, TrafficType must be set as CAMPAIGN.\n
Wait for the answering machine prompt.
" } } @@ -870,10 +878,7 @@ } }, "com.amazonaws.connect#ApproximateTotalCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.connect#AssociateApprovedOrigin": { "type": "operation", @@ -1605,7 +1610,10 @@ } }, "com.amazonaws.connect#AutoAccept": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.connect#AvailableNumberSummary": { "type": "structure", @@ -1640,7 +1648,10 @@ } }, "com.amazonaws.connect#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.connect#BotName": { "type": "string", @@ -1670,22 +1681,26 @@ } }, "com.amazonaws.connect#Channel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "VOICE", - "name": "VOICE" - }, - { - "value": "CHAT", - "name": "CHAT" - }, - { - "value": "TASK", - "name": "TASK" + "type": "enum", + "members": { + "VOICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VOICE" } - ] + }, + "CHAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHAT" + } + }, + "TASK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TASK" + } + } } }, "com.amazonaws.connect#ChannelToCountMap": { @@ -1730,7 +1745,6 @@ "com.amazonaws.connect#ChatDurationInMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 10080 @@ -1956,19 +1970,20 @@ } }, "com.amazonaws.connect#Comparison": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LT", - "name": "LT" + "type": "enum", + "members": { + "LT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LT" } - ] + } } }, "com.amazonaws.connect#Concurrency": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -2247,33 +2262,37 @@ } }, "com.amazonaws.connect#ContactFlowModuleState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "ARCHIVED", - "name": "ARCHIVED" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } - ] + }, + "ARCHIVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ARCHIVED" + } + } } }, "com.amazonaws.connect#ContactFlowModuleStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PUBLISHED", - "name": "PUBLISHED" - }, - { - "value": "SAVED", - "name": "SAVED" + "type": "enum", + "members": { + "PUBLISHED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PUBLISHED" } - ] + }, + "SAVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAVED" + } + } } }, "com.amazonaws.connect#ContactFlowModuleSummary": { @@ -2336,18 +2355,20 @@ } }, "com.amazonaws.connect#ContactFlowState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "ARCHIVED", - "name": "ARCHIVED" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } - ] + }, + "ARCHIVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ARCHIVED" + } + } } }, "com.amazonaws.connect#ContactFlowSummary": { @@ -2395,46 +2416,62 @@ } }, "com.amazonaws.connect#ContactFlowType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CONTACT_FLOW", - "name": "CONTACT_FLOW" - }, - { - "value": "CUSTOMER_QUEUE", - "name": "CUSTOMER_QUEUE" - }, - { - "value": "CUSTOMER_HOLD", - "name": "CUSTOMER_HOLD" - }, - { - "value": "CUSTOMER_WHISPER", - "name": "CUSTOMER_WHISPER" - }, - { - "value": "AGENT_HOLD", - "name": "AGENT_HOLD" - }, - { - "value": "AGENT_WHISPER", - "name": "AGENT_WHISPER" - }, - { - "value": "OUTBOUND_WHISPER", - "name": "OUTBOUND_WHISPER" - }, - { - "value": "AGENT_TRANSFER", - "name": "AGENT_TRANSFER" - }, - { - "value": "QUEUE_TRANSFER", - "name": "QUEUE_TRANSFER" - } - ] + "type": "enum", + "members": { + "CONTACT_FLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACT_FLOW" + } + }, + "CUSTOMER_QUEUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_QUEUE" + } + }, + "CUSTOMER_HOLD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_HOLD" + } + }, + "CUSTOMER_WHISPER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_WHISPER" + } + }, + "AGENT_HOLD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT_HOLD" + } + }, + "AGENT_WHISPER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT_WHISPER" + } + }, + "OUTBOUND_WHISPER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTBOUND_WHISPER" + } + }, + "AGENT_TRANSFER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT_TRANSFER" + } + }, + "QUEUE_TRANSFER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUE_TRANSFER" + } + } } }, "com.amazonaws.connect#ContactFlowTypes": { @@ -2459,34 +2496,44 @@ } }, "com.amazonaws.connect#ContactInitiationMethod": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INBOUND", - "name": "INBOUND" - }, - { - "value": "OUTBOUND", - "name": "OUTBOUND" - }, - { - "value": "TRANSFER", - "name": "TRANSFER" - }, - { - "value": "QUEUE_TRANSFER", - "name": "QUEUE_TRANSFER" - }, - { - "value": "CALLBACK", - "name": "CALLBACK" - }, - { - "value": "API", - "name": "API" - } - ] + "type": "enum", + "members": { + "INBOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INBOUND" + } + }, + "OUTBOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTBOUND" + } + }, + "TRANSFER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TRANSFER" + } + }, + "QUEUE_TRANSFER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUE_TRANSFER" + } + }, + "CALLBACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CALLBACK" + } + }, + "API": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "API" + } + } } }, "com.amazonaws.connect#ContactNotFoundException": { @@ -2519,46 +2566,62 @@ } }, "com.amazonaws.connect#ContactState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INCOMING", - "name": "INCOMING" - }, - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "CONNECTING", - "name": "CONNECTING" - }, - { - "value": "CONNECTED", - "name": "CONNECTED" - }, - { - "value": "CONNECTED_ONHOLD", - "name": "CONNECTED_ONHOLD" - }, - { - "value": "MISSED", - "name": "MISSED" - }, - { - "value": "ERROR", - "name": "ERROR" - }, - { - "value": "ENDED", - "name": "ENDED" - }, - { - "value": "REJECTED", - "name": "REJECTED" - } - ] + "type": "enum", + "members": { + "INCOMING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INCOMING" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "CONNECTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTING" + } + }, + "CONNECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTED" + } + }, + "CONNECTED_ONHOLD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTED_ONHOLD" + } + }, + "MISSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISSED" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + }, + "ENDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENDED" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" + } + } } }, "com.amazonaws.connect#ContactStates": { @@ -2673,7 +2736,6 @@ "DisplayOrder": { "target": "com.amazonaws.connect#AgentStatusOrderNumber", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The display order of the status.
" } }, @@ -3300,7 +3362,7 @@ "MaxContacts": { "target": "com.amazonaws.connect#QueueMaxContacts", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of contacts that can be in the queue before it is considered full.
" } }, @@ -4235,7 +4297,6 @@ "Value": { "target": "com.amazonaws.connect#Value", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The value of the metric.
" } } @@ -4251,63 +4312,89 @@ } }, "com.amazonaws.connect#CurrentMetricName": { - "type": "string", + "type": "enum", + "members": { + "AGENTS_ONLINE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_ONLINE" + } + }, + "AGENTS_AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_AVAILABLE" + } + }, + "AGENTS_ON_CALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_ON_CALL" + } + }, + "AGENTS_NON_PRODUCTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_NON_PRODUCTIVE" + } + }, + "AGENTS_AFTER_CONTACT_WORK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_AFTER_CONTACT_WORK" + } + }, + "AGENTS_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_ERROR" + } + }, + "AGENTS_STAFFED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_STAFFED" + } + }, + "CONTACTS_IN_QUEUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_IN_QUEUE" + } + }, + "OLDEST_CONTACT_AGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OLDEST_CONTACT_AGE" + } + }, + "CONTACTS_SCHEDULED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_SCHEDULED" + } + }, + "AGENTS_ON_CONTACT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_ON_CONTACT" + } + }, + "SLOTS_ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SLOTS_ACTIVE" + } + }, + "SLOTS_AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SLOTS_AVAILABLE" + } + } + }, "traits": { - "smithy.api#documentation": "The current metric names.
", - "smithy.api#enum": [ - { - "value": "AGENTS_ONLINE", - "name": "AGENTS_ONLINE" - }, - { - "value": "AGENTS_AVAILABLE", - "name": "AGENTS_AVAILABLE" - }, - { - "value": "AGENTS_ON_CALL", - "name": "AGENTS_ON_CALL" - }, - { - "value": "AGENTS_NON_PRODUCTIVE", - "name": "AGENTS_NON_PRODUCTIVE" - }, - { - "value": "AGENTS_AFTER_CONTACT_WORK", - "name": "AGENTS_AFTER_CONTACT_WORK" - }, - { - "value": "AGENTS_ERROR", - "name": "AGENTS_ERROR" - }, - { - "value": "AGENTS_STAFFED", - "name": "AGENTS_STAFFED" - }, - { - "value": "CONTACTS_IN_QUEUE", - "name": "CONTACTS_IN_QUEUE" - }, - { - "value": "OLDEST_CONTACT_AGE", - "name": "OLDEST_CONTACT_AGE" - }, - { - "value": "CONTACTS_SCHEDULED", - "name": "CONTACTS_SCHEDULED" - }, - { - "value": "AGENTS_ON_CONTACT", - "name": "AGENTS_ON_CONTACT" - }, - { - "value": "SLOTS_ACTIVE", - "name": "SLOTS_ACTIVE" - }, - { - "value": "SLOTS_AVAILABLE", - "name": "SLOTS_AVAILABLE" - } - ] + "smithy.api#documentation": "The current metric names.
" } }, "com.amazonaws.connect#CurrentMetricResult": { @@ -4407,6 +4494,7 @@ "com.amazonaws.connect#Delay": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 9999 @@ -6291,22 +6379,26 @@ } }, "com.amazonaws.connect#DirectoryType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SAML", - "name": "SAML" - }, - { - "value": "CONNECT_MANAGED", - "name": "CONNECT_MANAGED" - }, - { - "value": "EXISTING_DIRECTORY", - "name": "EXISTING_DIRECTORY" + "type": "enum", + "members": { + "SAML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAML" + } + }, + "CONNECT_MANAGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECT_MANAGED" + } + }, + "EXISTING_DIRECTORY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXISTING_DIRECTORY" } - ] + } } }, "com.amazonaws.connect#DirectoryUserId": { @@ -6903,14 +6995,14 @@ } }, "com.amazonaws.connect#EncryptionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "KMS", - "name": "KMS" + "type": "enum", + "members": { + "KMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KMS" } - ] + } } }, "com.amazonaws.connect#Filters": { @@ -7087,7 +7179,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
" } } @@ -7182,7 +7274,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
" } } @@ -7359,7 +7451,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
" } } @@ -7531,18 +7623,20 @@ } }, "com.amazonaws.connect#Grouping": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUEUE", - "name": "QUEUE" - }, - { - "value": "CHANNEL", - "name": "CHANNEL" + "type": "enum", + "members": { + "QUEUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUE" + } + }, + "CHANNEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHANNEL" } - ] + } } }, "com.amazonaws.connect#Groupings": { @@ -7625,18 +7719,20 @@ "type": "string" }, "com.amazonaws.connect#HierarchyGroupMatchType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EXACT", - "name": "EXACT" - }, - { - "value": "WITH_CHILD_GROUPS", - "name": "WITH_CHILD_GROUPS" + "type": "enum", + "members": { + "EXACT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXACT" + } + }, + "WITH_CHILD_GROUPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WITH_CHILD_GROUPS" } - ] + } } }, "com.amazonaws.connect#HierarchyGroupName": { @@ -7937,7 +8033,6 @@ "Value": { "target": "com.amazonaws.connect#Value", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The value of the metric.
" } } @@ -7953,111 +8048,161 @@ } }, "com.amazonaws.connect#HistoricalMetricName": { - "type": "string", + "type": "enum", + "members": { + "CONTACTS_QUEUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_QUEUED" + } + }, + "CONTACTS_HANDLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_HANDLED" + } + }, + "CONTACTS_ABANDONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_ABANDONED" + } + }, + "CONTACTS_CONSULTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_CONSULTED" + } + }, + "CONTACTS_AGENT_HUNG_UP_FIRST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_AGENT_HUNG_UP_FIRST" + } + }, + "CONTACTS_HANDLED_INCOMING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_HANDLED_INCOMING" + } + }, + "CONTACTS_HANDLED_OUTBOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_HANDLED_OUTBOUND" + } + }, + "CONTACTS_HOLD_ABANDONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_HOLD_ABANDONS" + } + }, + "CONTACTS_TRANSFERRED_IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_TRANSFERRED_IN" + } + }, + "CONTACTS_TRANSFERRED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_TRANSFERRED_OUT" + } + }, + "CONTACTS_TRANSFERRED_IN_FROM_QUEUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_TRANSFERRED_IN_FROM_QUEUE" + } + }, + "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE" + } + }, + "CONTACTS_MISSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_MISSED" + } + }, + "CALLBACK_CONTACTS_HANDLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CALLBACK_CONTACTS_HANDLED" + } + }, + "API_CONTACTS_HANDLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "API_CONTACTS_HANDLED" + } + }, + "OCCUPANCY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OCCUPANCY" + } + }, + "HANDLE_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HANDLE_TIME" + } + }, + "AFTER_CONTACT_WORK_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AFTER_CONTACT_WORK_TIME" + } + }, + "QUEUED_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUED_TIME" + } + }, + "ABANDON_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ABANDON_TIME" + } + }, + "QUEUE_ANSWER_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUE_ANSWER_TIME" + } + }, + "HOLD_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HOLD_TIME" + } + }, + "INTERACTION_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERACTION_TIME" + } + }, + "INTERACTION_AND_HOLD_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERACTION_AND_HOLD_TIME" + } + }, + "SERVICE_LEVEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVICE_LEVEL" + } + } + }, "traits": { - "smithy.api#documentation": "The historical metric names.
", - "smithy.api#enum": [ - { - "value": "CONTACTS_QUEUED", - "name": "CONTACTS_QUEUED" - }, - { - "value": "CONTACTS_HANDLED", - "name": "CONTACTS_HANDLED" - }, - { - "value": "CONTACTS_ABANDONED", - "name": "CONTACTS_ABANDONED" - }, - { - "value": "CONTACTS_CONSULTED", - "name": "CONTACTS_CONSULTED" - }, - { - "value": "CONTACTS_AGENT_HUNG_UP_FIRST", - "name": "CONTACTS_AGENT_HUNG_UP_FIRST" - }, - { - "value": "CONTACTS_HANDLED_INCOMING", - "name": "CONTACTS_HANDLED_INCOMING" - }, - { - "value": "CONTACTS_HANDLED_OUTBOUND", - "name": "CONTACTS_HANDLED_OUTBOUND" - }, - { - "value": "CONTACTS_HOLD_ABANDONS", - "name": "CONTACTS_HOLD_ABANDONS" - }, - { - "value": "CONTACTS_TRANSFERRED_IN", - "name": "CONTACTS_TRANSFERRED_IN" - }, - { - "value": "CONTACTS_TRANSFERRED_OUT", - "name": "CONTACTS_TRANSFERRED_OUT" - }, - { - "value": "CONTACTS_TRANSFERRED_IN_FROM_QUEUE", - "name": "CONTACTS_TRANSFERRED_IN_FROM_QUEUE" - }, - { - "value": "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE", - "name": "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE" - }, - { - "value": "CONTACTS_MISSED", - "name": "CONTACTS_MISSED" - }, - { - "value": "CALLBACK_CONTACTS_HANDLED", - "name": "CALLBACK_CONTACTS_HANDLED" - }, - { - "value": "API_CONTACTS_HANDLED", - "name": "API_CONTACTS_HANDLED" - }, - { - "value": "OCCUPANCY", - "name": "OCCUPANCY" - }, - { - "value": "HANDLE_TIME", - "name": "HANDLE_TIME" - }, - { - "value": "AFTER_CONTACT_WORK_TIME", - "name": "AFTER_CONTACT_WORK_TIME" - }, - { - "value": "QUEUED_TIME", - "name": "QUEUED_TIME" - }, - { - "value": "ABANDON_TIME", - "name": "ABANDON_TIME" - }, - { - "value": "QUEUE_ANSWER_TIME", - "name": "QUEUE_ANSWER_TIME" - }, - { - "value": "HOLD_TIME", - "name": "HOLD_TIME" - }, - { - "value": "INTERACTION_TIME", - "name": "INTERACTION_TIME" - }, - { - "value": "INTERACTION_AND_HOLD_TIME", - "name": "INTERACTION_AND_HOLD_TIME" - }, - { - "value": "SERVICE_LEVEL", - "name": "SERVICE_LEVEL" - } - ] + "smithy.api#documentation": "The historical metric names.
" } }, "com.amazonaws.connect#HistoricalMetricResult": { @@ -8095,6 +8240,7 @@ "com.amazonaws.connect#Hours": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 87600 @@ -8104,6 +8250,7 @@ "com.amazonaws.connect#Hours24Format": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 23 @@ -8202,38 +8349,50 @@ } }, "com.amazonaws.connect#HoursOfOperationDays": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUNDAY", - "name": "SUNDAY" - }, - { - "value": "MONDAY", - "name": "MONDAY" - }, - { - "value": "TUESDAY", - "name": "TUESDAY" - }, - { - "value": "WEDNESDAY", - "name": "WEDNESDAY" - }, - { - "value": "THURSDAY", - "name": "THURSDAY" - }, - { - "value": "FRIDAY", - "name": "FRIDAY" - }, - { - "value": "SATURDAY", - "name": "SATURDAY" - } - ] + "type": "enum", + "members": { + "SUNDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUNDAY" + } + }, + "MONDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MONDAY" + } + }, + "TUESDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TUESDAY" + } + }, + "WEDNESDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WEDNESDAY" + } + }, + "THURSDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THURSDAY" + } + }, + "FRIDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FRIDAY" + } + }, + "SATURDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SATURDAY" + } + } } }, "com.amazonaws.connect#HoursOfOperationDescription": { @@ -8289,7 +8448,7 @@ "Hours": { "target": "com.amazonaws.connect#Hours24Format", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The hours.
", "smithy.api#required": {} } @@ -8297,7 +8456,7 @@ "Minutes": { "target": "com.amazonaws.connect#MinutesLimit60", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The minutes.
", "smithy.api#required": {} } @@ -8321,10 +8480,7 @@ } }, "com.amazonaws.connect#InboundCallsEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.connect#Instance": { "type": "structure", @@ -8395,46 +8551,62 @@ } }, "com.amazonaws.connect#InstanceAttributeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INBOUND_CALLS", - "name": "INBOUND_CALLS" - }, - { - "value": "OUTBOUND_CALLS", - "name": "OUTBOUND_CALLS" - }, - { - "value": "CONTACTFLOW_LOGS", - "name": "CONTACTFLOW_LOGS" - }, - { - "value": "CONTACT_LENS", - "name": "CONTACT_LENS" - }, - { - "value": "AUTO_RESOLVE_BEST_VOICES", - "name": "AUTO_RESOLVE_BEST_VOICES" - }, - { - "value": "USE_CUSTOM_TTS_VOICES", - "name": "USE_CUSTOM_TTS_VOICES" - }, - { - "value": "EARLY_MEDIA", - "name": "EARLY_MEDIA" - }, - { - "value": "MULTI_PARTY_CONFERENCE", - "name": "MULTI_PARTY_CONFERENCE" - }, - { - "value": "HIGH_VOLUME_OUTBOUND", - "name": "HIGH_VOLUME_OUTBOUND" - } - ] + "type": "enum", + "members": { + "INBOUND_CALLS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INBOUND_CALLS" + } + }, + "OUTBOUND_CALLS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTBOUND_CALLS" + } + }, + "CONTACTFLOW_LOGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTFLOW_LOGS" + } + }, + "CONTACT_LENS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACT_LENS" + } + }, + "AUTO_RESOLVE_BEST_VOICES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_RESOLVE_BEST_VOICES" + } + }, + "USE_CUSTOM_TTS_VOICES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USE_CUSTOM_TTS_VOICES" + } + }, + "EARLY_MEDIA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EARLY_MEDIA" + } + }, + "MULTI_PARTY_CONFERENCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MULTI_PARTY_CONFERENCE" + } + }, + "HIGH_VOLUME_OUTBOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIGH_VOLUME_OUTBOUND" + } + } } }, "com.amazonaws.connect#InstanceAttributeValue": { @@ -8456,22 +8628,26 @@ } }, "com.amazonaws.connect#InstanceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATION_IN_PROGRESS", - "name": "CREATION_IN_PROGRESS" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "CREATION_FAILED", - "name": "CREATION_FAILED" + "type": "enum", + "members": { + "CREATION_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_IN_PROGRESS" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "CREATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_FAILED" } - ] + } } }, "com.amazonaws.connect#InstanceStatusReason": { @@ -8540,38 +8716,50 @@ } }, "com.amazonaws.connect#InstanceStorageResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CHAT_TRANSCRIPTS", - "name": "CHAT_TRANSCRIPTS" - }, - { - "value": "CALL_RECORDINGS", - "name": "CALL_RECORDINGS" - }, - { - "value": "SCHEDULED_REPORTS", - "name": "SCHEDULED_REPORTS" - }, - { - "value": "MEDIA_STREAMS", - "name": "MEDIA_STREAMS" - }, - { - "value": "CONTACT_TRACE_RECORDS", - "name": "CONTACT_TRACE_RECORDS" - }, - { - "value": "AGENT_EVENTS", - "name": "AGENT_EVENTS" - }, - { - "value": "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS", - "name": "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" - } - ] + "type": "enum", + "members": { + "CHAT_TRANSCRIPTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHAT_TRANSCRIPTS" + } + }, + "CALL_RECORDINGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CALL_RECORDINGS" + } + }, + "SCHEDULED_REPORTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCHEDULED_REPORTS" + } + }, + "MEDIA_STREAMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEDIA_STREAMS" + } + }, + "CONTACT_TRACE_RECORDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACT_TRACE_RECORDS" + } + }, + "AGENT_EVENTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT_EVENTS" + } + }, + "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" + } + } } }, "com.amazonaws.connect#InstanceSummary": { @@ -8645,7 +8833,6 @@ "com.amazonaws.connect#IntegerCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -8723,30 +8910,44 @@ } }, "com.amazonaws.connect#IntegrationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EVENT", - "name": "EVENT" - }, - { - "value": "VOICE_ID", - "name": "VOICE_ID" - }, - { - "value": "PINPOINT_APP", - "name": "PINPOINT_APP" - }, - { - "value": "WISDOM_ASSISTANT", - "name": "WISDOM_ASSISTANT" - }, - { - "value": "WISDOM_KNOWLEDGE_BASE", - "name": "WISDOM_KNOWLEDGE_BASE" - } - ] + "type": "enum", + "members": { + "EVENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EVENT" + } + }, + "VOICE_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VOICE_ID" + } + }, + "PINPOINT_APP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PINPOINT_APP" + } + }, + "WISDOM_ASSISTANT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WISDOM_ASSISTANT" + } + }, + "WISDOM_KNOWLEDGE_BASE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WISDOM_KNOWLEDGE_BASE" + } + }, + "CASES_DOMAIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CASES_DOMAIN" + } + } } }, "com.amazonaws.connect#InternalServiceException": { @@ -8898,6 +9099,7 @@ "RetentionPeriodHours": { "target": "com.amazonaws.connect#Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of hours data is retained in the stream. Kinesis Video Streams retains the data\n in a data store that is associated with the stream.
\nThe default value is 0, indicating that the stream does not persist data.
", "smithy.api#required": {} } @@ -8996,18 +9198,20 @@ } }, "com.amazonaws.connect#LexVersion": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "V1", - "name": "V1" - }, - { - "value": "V2", - "name": "V2" + "type": "enum", + "members": { + "V1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "V1" + } + }, + "V2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "V2" } - ] + } } }, "com.amazonaws.connect#LimitExceededException": { @@ -9051,7 +9255,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
", "smithy.api#httpQuery": "maxResults" } @@ -9183,7 +9387,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult25", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
", "smithy.api#httpQuery": "maxResults" } @@ -9265,7 +9469,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult25", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
", "smithy.api#httpQuery": "maxResults" } @@ -9361,7 +9565,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
", "smithy.api#httpQuery": "maxResults" } @@ -9460,6 +9664,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return per page. The default MaxResult size is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -9632,6 +9837,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return per page.
" } }, @@ -9722,6 +9928,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return per page. The default MaxResult size is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -9806,7 +10013,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult7", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
", "smithy.api#httpQuery": "maxResults" } @@ -9899,7 +10106,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult10", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
", "smithy.api#httpQuery": "maxResults" } @@ -9967,7 +10174,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult10", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
", "smithy.api#httpQuery": "maxResults" } @@ -10056,7 +10263,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
", "smithy.api#httpQuery": "maxResults" } @@ -10141,7 +10348,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult25", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
", "smithy.api#httpQuery": "maxResults" } @@ -10226,7 +10433,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult25", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page. If no value is specified, the default is 10.\n
", "smithy.api#httpQuery": "maxResults" } @@ -10325,6 +10532,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return per page. The default MaxResult size is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -10450,7 +10658,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
" } }, @@ -10558,7 +10766,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page. The default MaxResult size is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -10651,7 +10859,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page. The default MaxResult size is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -10743,6 +10951,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return per page. The default MaxResult size is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -10827,7 +11036,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page. The default MaxResult size is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -10927,7 +11136,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page. The default MaxResult size is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -11012,7 +11221,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page. The default MaxResult size is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -11097,7 +11306,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult2", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
", "smithy.api#httpQuery": "maxResults" } @@ -11190,7 +11399,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
", "smithy.api#httpQuery": "maxResults" } @@ -11275,7 +11484,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page. The default MaxResult size is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -11418,7 +11627,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
\nIt is not expected that you set this.
\nThe maximum number of results to return per page.
", "smithy.api#httpQuery": "maxResults" } @@ -11610,7 +11819,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page. The default MaxResult size is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -11695,7 +11904,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page. The default MaxResult size is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -11720,14 +11929,12 @@ } }, "com.amazonaws.connect#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.connect#MaxResult10": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -11737,6 +11944,7 @@ "com.amazonaws.connect#MaxResult100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -11746,6 +11954,7 @@ "com.amazonaws.connect#MaxResult1000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -11755,6 +11964,7 @@ "com.amazonaws.connect#MaxResult2": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 2 @@ -11764,6 +11974,7 @@ "com.amazonaws.connect#MaxResult25": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 @@ -11773,6 +11984,7 @@ "com.amazonaws.connect#MaxResult7": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 7 @@ -11798,6 +12010,7 @@ "Concurrency": { "target": "com.amazonaws.connect#Concurrency", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of contacts an agent can have on a channel simultaneously.
\nValid Range for VOICE: Minimum value of 1. Maximum value of 1.
Valid Range for CHAT: Minimum value of 1. Maximum value of 10.
Valid Range for TASK: Minimum value of 1. Maximum value of 10.
The phone number in E.164 format.
", - "smithy.api#required": {} + "smithy.api#enumValue": "AF" } - } - }, - "traits": { - "smithy.api#documentation": "Contains information about a phone number for a quick connect.
" - } - }, - "com.amazonaws.connect#PhoneNumberStatus": { - "type": "structure", - "members": { - "Status": { + }, + "AL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AL" + } + }, + "DZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DZ" + } + }, + "AS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AS" + } + }, + "AD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AD" + } + }, + "AO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AO" + } + }, + "AI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AI" + } + }, + "AQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AQ" + } + }, + "AG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AG" + } + }, + "AR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AR" + } + }, + "AM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AM" + } + }, + "AW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AW" + } + }, + "AU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AU" + } + }, + "AT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AT" + } + }, + "AZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AZ" + } + }, + "BS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BS" + } + }, + "BH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BH" + } + }, + "BD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BD" + } + }, + "BB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BB" + } + }, + "BY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BY" + } + }, + "BE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BE" + } + }, + "BZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BZ" + } + }, + "BJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BJ" + } + }, + "BM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BM" + } + }, + "BT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BT" + } + }, + "BO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BO" + } + }, + "BA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BA" + } + }, + "BW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BW" + } + }, + "BR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BR" + } + }, + "IO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IO" + } + }, + "VG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VG" + } + }, + "BN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BN" + } + }, + "BG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BG" + } + }, + "BF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BF" + } + }, + "BI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BI" + } + }, + "KH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KH" + } + }, + "CM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CM" + } + }, + "CA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CA" + } + }, + "CV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CV" + } + }, + "KY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KY" + } + }, + "CF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CF" + } + }, + "TD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TD" + } + }, + "CL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CL" + } + }, + "CN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CN" + } + }, + "CX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CX" + } + }, + "CC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CC" + } + }, + "CO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CO" + } + }, + "KM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KM" + } + }, + "CK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CK" + } + }, + "CR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CR" + } + }, + "HR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HR" + } + }, + "CU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CU" + } + }, + "CW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CW" + } + }, + "CY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CY" + } + }, + "CZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CZ" + } + }, + "CD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CD" + } + }, + "DK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DK" + } + }, + "DJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DJ" + } + }, + "DM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DM" + } + }, + "DO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DO" + } + }, + "TL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TL" + } + }, + "EC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC" + } + }, + "EG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EG" + } + }, + "SV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SV" + } + }, + "GQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GQ" + } + }, + "ER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ER" + } + }, + "EE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EE" + } + }, + "ET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ET" + } + }, + "FK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FK" + } + }, + "FO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FO" + } + }, + "FJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FJ" + } + }, + "FI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FI" + } + }, + "FR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FR" + } + }, + "PF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PF" + } + }, + "GA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GA" + } + }, + "GM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GM" + } + }, + "GE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GE" + } + }, + "DE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DE" + } + }, + "GH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GH" + } + }, + "GI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GI" + } + }, + "GR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GR" + } + }, + "GL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GL" + } + }, + "GD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GD" + } + }, + "GU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GU" + } + }, + "GT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GT" + } + }, + "GG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GG" + } + }, + "GN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GN" + } + }, + "GW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GW" + } + }, + "GY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GY" + } + }, + "HT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HT" + } + }, + "HN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HN" + } + }, + "HK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HK" + } + }, + "HU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HU" + } + }, + "IS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IS" + } + }, + "IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN" + } + }, + "ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ID" + } + }, + "IR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IR" + } + }, + "IQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IQ" + } + }, + "IE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IE" + } + }, + "IM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IM" + } + }, + "IL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IL" + } + }, + "IT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IT" + } + }, + "CI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CI" + } + }, + "JM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JM" + } + }, + "JP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JP" + } + }, + "JE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JE" + } + }, + "JO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JO" + } + }, + "KZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KZ" + } + }, + "KE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KE" + } + }, + "KI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KI" + } + }, + "KW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KW" + } + }, + "KG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KG" + } + }, + "LA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LA" + } + }, + "LV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LV" + } + }, + "LB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LB" + } + }, + "LS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LS" + } + }, + "LR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LR" + } + }, + "LY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LY" + } + }, + "LI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LI" + } + }, + "LT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LT" + } + }, + "LU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LU" + } + }, + "MO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MO" + } + }, + "MK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MK" + } + }, + "MG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MG" + } + }, + "MW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MW" + } + }, + "MY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MY" + } + }, + "MV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MV" + } + }, + "ML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ML" + } + }, + "MT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MT" + } + }, + "MH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MH" + } + }, + "MR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MR" + } + }, + "MU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MU" + } + }, + "YT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YT" + } + }, + "MX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MX" + } + }, + "FM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FM" + } + }, + "MD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MD" + } + }, + "MC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MC" + } + }, + "MN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MN" + } + }, + "ME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ME" + } + }, + "MS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MS" + } + }, + "MA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MA" + } + }, + "MZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MZ" + } + }, + "MM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MM" + } + }, + "NA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NA" + } + }, + "NR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NR" + } + }, + "NP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NP" + } + }, + "NL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NL" + } + }, + "AN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AN" + } + }, + "NC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NC" + } + }, + "NZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NZ" + } + }, + "NI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NI" + } + }, + "NE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NE" + } + }, + "NG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NG" + } + }, + "NU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NU" + } + }, + "KP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KP" + } + }, + "MP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MP" + } + }, + "NO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO" + } + }, + "OM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OM" + } + }, + "PK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PK" + } + }, + "PW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PW" + } + }, + "PA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PA" + } + }, + "PG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PG" + } + }, + "PY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PY" + } + }, + "PE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PE" + } + }, + "PH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PH" + } + }, + "PN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PN" + } + }, + "PL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PL" + } + }, + "PT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PT" + } + }, + "PR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PR" + } + }, + "QA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QA" + } + }, + "CG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CG" + } + }, + "RE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RE" + } + }, + "RO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RO" + } + }, + "RU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RU" + } + }, + "RW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RW" + } + }, + "BL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BL" + } + }, + "SH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SH" + } + }, + "KN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KN" + } + }, + "LC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LC" + } + }, + "MF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MF" + } + }, + "PM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PM" + } + }, + "VC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VC" + } + }, + "WS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WS" + } + }, + "SM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SM" + } + }, + "ST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ST" + } + }, + "SA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SA" + } + }, + "SN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SN" + } + }, + "RS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RS" + } + }, + "SC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SC" + } + }, + "SL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SL" + } + }, + "SG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SG" + } + }, + "SX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SX" + } + }, + "SK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SK" + } + }, + "SI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SI" + } + }, + "SB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SB" + } + }, + "SO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SO" + } + }, + "ZA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZA" + } + }, + "KR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KR" + } + }, + "ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ES" + } + }, + "LK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LK" + } + }, + "SD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SD" + } + }, + "SR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SR" + } + }, + "SJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SJ" + } + }, + "SZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SZ" + } + }, + "SE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SE" + } + }, + "CH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CH" + } + }, + "SY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SY" + } + }, + "TW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TW" + } + }, + "TJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TJ" + } + }, + "TZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TZ" + } + }, + "TH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TH" + } + }, + "TG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TG" + } + }, + "TK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TK" + } + }, + "TO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TO" + } + }, + "TT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TT" + } + }, + "TN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TN" + } + }, + "TR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TR" + } + }, + "TM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TM" + } + }, + "TC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TC" + } + }, + "TV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TV" + } + }, + "VI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VI" + } + }, + "UG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UG" + } + }, + "UA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UA" + } + }, + "AE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AE" + } + }, + "GB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GB" + } + }, + "US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "US" + } + }, + "UY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UY" + } + }, + "UZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UZ" + } + }, + "VU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VU" + } + }, + "VA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VA" + } + }, + "VE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VE" + } + }, + "VN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VN" + } + }, + "WF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WF" + } + }, + "EH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EH" + } + }, + "YE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YE" + } + }, + "ZM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZM" + } + }, + "ZW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZW" + } + } + } + }, + "com.amazonaws.connect#PhoneNumberCountryCodes": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#PhoneNumberCountryCode" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, + "com.amazonaws.connect#PhoneNumberDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 500 + }, + "smithy.api#pattern": "^[\\W\\S_]*$" + } + }, + "com.amazonaws.connect#PhoneNumberId": { + "type": "string" + }, + "com.amazonaws.connect#PhoneNumberPrefix": { + "type": "string", + "traits": { + "smithy.api#pattern": "^\\\\+?[0-9]{1,11}$" + } + }, + "com.amazonaws.connect#PhoneNumberQuickConnectConfig": { + "type": "structure", + "members": { + "PhoneNumber": { + "target": "com.amazonaws.connect#PhoneNumber", + "traits": { + "smithy.api#documentation": "The phone number in E.164 format.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Contains information about a phone number for a quick connect.
" + } + }, + "com.amazonaws.connect#PhoneNumberStatus": { + "type": "structure", + "members": { + "Status": { "target": "com.amazonaws.connect#PhoneNumberWorkflowStatus", "traits": { "smithy.api#documentation": "The status.
" @@ -13068,18 +13751,20 @@ } }, "com.amazonaws.connect#PhoneNumberType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TOLL_FREE", - "name": "TOLL_FREE" - }, - { - "value": "DID", - "name": "DID" + "type": "enum", + "members": { + "TOLL_FREE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TOLL_FREE" + } + }, + "DID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DID" } - ] + } } }, "com.amazonaws.connect#PhoneNumberTypes": { @@ -13105,37 +13790,43 @@ } }, "com.amazonaws.connect#PhoneNumberWorkflowStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CLAIMED", - "name": "Claimed" - }, - { - "value": "IN_PROGRESS", - "name": "InProgress" - }, - { - "value": "FAILED", - "name": "Failed" + "type": "enum", + "members": { + "Claimed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLAIMED" + } + }, + "InProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "Failed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" } - ] + } } }, "com.amazonaws.connect#PhoneType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SOFT_PHONE", - "name": "SOFT_PHONE" - }, - { - "value": "DESK_PHONE", - "name": "DESK_PHONE" + "type": "enum", + "members": { + "SOFT_PHONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOFT_PHONE" + } + }, + "DESK_PHONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DESK_PHONE" } - ] + } } }, "com.amazonaws.connect#Prefix": { @@ -13150,6 +13841,7 @@ "com.amazonaws.connect#Priority": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 99 @@ -13296,34 +13988,44 @@ } }, "com.amazonaws.connect#PropertyValidationExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INVALID_FORMAT", - "name": "INVALID_FORMAT" - }, - { - "value": "UNIQUE_CONSTRAINT_VIOLATED", - "name": "UNIQUE_CONSTRAINT_VIOLATED" - }, - { - "value": "REFERENCED_RESOURCE_NOT_FOUND", - "name": "REFERENCED_RESOURCE_NOT_FOUND" - }, - { - "value": "RESOURCE_NAME_ALREADY_EXISTS", - "name": "RESOURCE_NAME_ALREADY_EXISTS" - }, - { - "value": "REQUIRED_PROPERTY_MISSING", - "name": "REQUIRED_PROPERTY_MISSING" - }, - { - "value": "NOT_SUPPORTED", - "name": "NOT_SUPPORTED" - } - ] + "type": "enum", + "members": { + "INVALID_FORMAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_FORMAT" + } + }, + "UNIQUE_CONSTRAINT_VIOLATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNIQUE_CONSTRAINT_VIOLATED" + } + }, + "REFERENCED_RESOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REFERENCED_RESOURCE_NOT_FOUND" + } + }, + "RESOURCE_NAME_ALREADY_EXISTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_NAME_ALREADY_EXISTS" + } + }, + "REQUIRED_PROPERTY_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REQUIRED_PROPERTY_MISSING" + } + }, + "NOT_SUPPORTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_SUPPORTED" + } + } } }, "com.amazonaws.connect#PutUserStatus": { @@ -13437,7 +14139,7 @@ "MaxContacts": { "target": "com.amazonaws.connect#QueueMaxContacts", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of contacts that can be in the queue before it is considered full.
" } }, @@ -13493,6 +14195,7 @@ "com.amazonaws.connect#QueueMaxContacts": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -13602,18 +14305,20 @@ } }, "com.amazonaws.connect#QueueStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + } } }, "com.amazonaws.connect#QueueSummary": { @@ -13655,18 +14360,20 @@ } }, "com.amazonaws.connect#QueueType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STANDARD", - "name": "STANDARD" - }, - { - "value": "AGENT", - "name": "AGENT" + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" + } + }, + "AGENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT" } - ] + } } }, "com.amazonaws.connect#QueueTypes": { @@ -13830,22 +14537,26 @@ } }, "com.amazonaws.connect#QuickConnectType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "USER", - "name": "USER" - }, - { - "value": "QUEUE", - "name": "QUEUE" - }, - { - "value": "PHONE_NUMBER", - "name": "PHONE_NUMBER" + "type": "enum", + "members": { + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER" + } + }, + "QUEUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUE" + } + }, + "PHONE_NUMBER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PHONE_NUMBER" } - ] + } } }, "com.amazonaws.connect#QuickConnectTypes": { @@ -13924,18 +14635,20 @@ } }, "com.amazonaws.connect#ReferenceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "APPROVED", - "name": "APPROVED" - }, - { - "value": "REJECTED", - "name": "REJECTED" + "type": "enum", + "members": { + "APPROVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPROVED" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" } - ] + } } }, "com.amazonaws.connect#ReferenceSummary": { @@ -13989,34 +14702,44 @@ } }, "com.amazonaws.connect#ReferenceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "URL", - "name": "URL" - }, - { - "value": "ATTACHMENT", - "name": "ATTACHMENT" - }, - { - "value": "NUMBER", - "name": "NUMBER" - }, - { - "value": "STRING", - "name": "STRING" - }, - { - "value": "DATE", - "name": "DATE" - }, - { - "value": "EMAIL", - "name": "EMAIL" - } - ] + "type": "enum", + "members": { + "URL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "URL" + } + }, + "ATTACHMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ATTACHMENT" + } + }, + "NUMBER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NUMBER" + } + }, + "STRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STRING" + } + }, + "DATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATE" + } + }, + "EMAIL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EMAIL" + } + } } }, "com.amazonaws.connect#ReferenceTypes": { @@ -14176,38 +14899,50 @@ } }, "com.amazonaws.connect#ResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CONTACT", - "name": "CONTACT" - }, - { - "value": "CONTACT_FLOW", - "name": "CONTACT_FLOW" - }, - { - "value": "INSTANCE", - "name": "INSTANCE" - }, - { - "value": "PARTICIPANT", - "name": "PARTICIPANT" - }, - { - "value": "HIERARCHY_LEVEL", - "name": "HIERARCHY_LEVEL" - }, - { - "value": "HIERARCHY_GROUP", - "name": "HIERARCHY_GROUP" - }, - { - "value": "USER", - "name": "USER" - } - ] + "type": "enum", + "members": { + "CONTACT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACT" + } + }, + "CONTACT_FLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACT_FLOW" + } + }, + "INSTANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTANCE" + } + }, + "PARTICIPANT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARTICIPANT" + } + }, + "HIERARCHY_LEVEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIERARCHY_LEVEL" + } + }, + "HIERARCHY_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIERARCHY_GROUP" + } + }, + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER" + } + } } }, "com.amazonaws.connect#ResumeContactRecording": { @@ -14376,7 +15111,7 @@ "Priority": { "target": "com.amazonaws.connect#Priority", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The order in which contacts are to be handled for the queue. For more information, see\n Queues: priority and\n delay.
", "smithy.api#required": {} } @@ -14384,7 +15119,7 @@ "Delay": { "target": "com.amazonaws.connect#Delay", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The delay, in seconds, a contact should be in the queue before they are routed to an\n available agent. For more information, see Queues: priority and\n delay in the Amazon Connect Administrator Guide.
", "smithy.api#required": {} } @@ -14433,6 +15168,7 @@ "Priority": { "target": "com.amazonaws.connect#Priority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The order in which contacts are to be handled for the queue. For more information, see\n Queues: priority and\n delay.
", "smithy.api#required": {} } @@ -14440,6 +15176,7 @@ "Delay": { "target": "com.amazonaws.connect#Delay", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The delay, in seconds, that a contact should be in the queue before they are routed to an\n available agent. For more information, see Queues: priority and\n delay in the Amazon Connect Administrator Guide.
", "smithy.api#required": {} } @@ -14680,7 +15417,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult10", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
" } }, @@ -14768,7 +15505,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
" } }, @@ -14868,7 +15605,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
" } }, @@ -14968,7 +15705,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
" } }, @@ -15067,7 +15804,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return per page.
" } }, @@ -15156,6 +15893,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return per page.
" } }, @@ -15203,14 +15941,14 @@ } }, "com.amazonaws.connect#SearchableQueueType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STANDARD", - "name": "STANDARD" + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" } - ] + } } }, "com.amazonaws.connect#SecurityKey": { @@ -15486,18 +16224,20 @@ } }, "com.amazonaws.connect#SourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SALESFORCE", - "name": "SALESFORCE" - }, - { - "value": "ZENDESK", - "name": "ZENDESK" + "type": "enum", + "members": { + "SALESFORCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SALESFORCE" } - ] + }, + "ZENDESK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZENDESK" + } + } } }, "com.amazonaws.connect#StartChatContact": { @@ -16005,22 +16745,26 @@ } }, "com.amazonaws.connect#Statistic": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUM", - "name": "SUM" - }, - { - "value": "MAX", - "name": "MAX" - }, - { - "value": "AVG", - "name": "AVG" + "type": "enum", + "members": { + "SUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUM" + } + }, + "MAX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAX" + } + }, + "AVG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVG" } - ] + } } }, "com.amazonaws.connect#StopContact": { @@ -16200,26 +16944,32 @@ "members": {} }, "com.amazonaws.connect#StorageType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "S3", - "name": "S3" - }, - { - "value": "KINESIS_VIDEO_STREAM", - "name": "KINESIS_VIDEO_STREAM" - }, - { - "value": "KINESIS_STREAM", - "name": "KINESIS_STREAM" - }, - { - "value": "KINESIS_FIREHOSE", - "name": "KINESIS_FIREHOSE" - } - ] + "type": "enum", + "members": { + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" + } + }, + "KINESIS_VIDEO_STREAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KINESIS_VIDEO_STREAM" + } + }, + "KINESIS_STREAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KINESIS_STREAM" + } + }, + "KINESIS_FIREHOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KINESIS_FIREHOSE" + } + } } }, "com.amazonaws.connect#StreamingId": { @@ -16235,22 +16985,26 @@ "type": "string" }, "com.amazonaws.connect#StringComparisonType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STARTS_WITH", - "name": "STARTS_WITH" - }, - { - "value": "CONTAINS", - "name": "CONTAINS" - }, - { - "value": "EXACT", - "name": "EXACT" + "type": "enum", + "members": { + "STARTS_WITH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTS_WITH" + } + }, + "CONTAINS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTAINS" + } + }, + "EXACT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXACT" } - ] + } } }, "com.amazonaws.connect#StringCondition": { @@ -16654,58 +17408,80 @@ } }, "com.amazonaws.connect#TaskTemplateFieldType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NAME", - "name": "NAME" - }, - { - "value": "DESCRIPTION", - "name": "DESCRIPTION" - }, - { - "value": "SCHEDULED_TIME", - "name": "SCHEDULED_TIME" - }, - { - "value": "QUICK_CONNECT", - "name": "QUICK_CONNECT" - }, - { - "value": "URL", - "name": "URL" - }, - { - "value": "NUMBER", - "name": "NUMBER" - }, - { - "value": "TEXT", - "name": "TEXT" - }, - { - "value": "TEXT_AREA", - "name": "TEXT_AREA" - }, - { - "value": "DATE_TIME", - "name": "DATE_TIME" - }, - { - "value": "BOOLEAN", - "name": "BOOLEAN" - }, - { - "value": "SINGLE_SELECT", - "name": "SINGLE_SELECT" - }, - { - "value": "EMAIL", - "name": "EMAIL" - } - ] + "type": "enum", + "members": { + "NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAME" + } + }, + "DESCRIPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DESCRIPTION" + } + }, + "SCHEDULED_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCHEDULED_TIME" + } + }, + "QUICK_CONNECT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICK_CONNECT" + } + }, + "URL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "URL" + } + }, + "NUMBER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NUMBER" + } + }, + "TEXT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TEXT" + } + }, + "TEXT_AREA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TEXT_AREA" + } + }, + "DATE_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATE_TIME" + } + }, + "BOOLEAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BOOLEAN" + } + }, + "SINGLE_SELECT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_SELECT" + } + }, + "EMAIL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EMAIL" + } + } } }, "com.amazonaws.connect#TaskTemplateFieldValue": { @@ -16807,18 +17583,20 @@ } }, "com.amazonaws.connect#TaskTemplateStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } - ] + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" + } + } } }, "com.amazonaws.connect#Threshold": { @@ -16833,7 +17611,6 @@ "ThresholdValue": { "target": "com.amazonaws.connect#ThresholdValue", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The threshold value to compare.
" } } @@ -16843,10 +17620,7 @@ } }, "com.amazonaws.connect#ThresholdValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.connect#ThrottlingException": { "type": "structure", @@ -16872,18 +17646,20 @@ "type": "timestamp" }, "com.amazonaws.connect#TrafficType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GENERAL", - "name": "GENERAL" - }, - { - "value": "CAMPAIGN", - "name": "CAMPAIGN" + "type": "enum", + "members": { + "GENERAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GENERAL" + } + }, + "CAMPAIGN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CAMPAIGN" } - ] + } } }, "com.amazonaws.connect#TransferContact": { @@ -16998,22 +17774,26 @@ } }, "com.amazonaws.connect#Unit": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SECONDS", - "name": "SECONDS" - }, - { - "value": "COUNT", - "name": "COUNT" - }, - { - "value": "PERCENT", - "name": "PERCENT" + "type": "enum", + "members": { + "SECONDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SECONDS" + } + }, + "COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COUNT" + } + }, + "PERCENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERCENT" } - ] + } } }, "com.amazonaws.connect#UntagResource": { @@ -17160,13 +17940,13 @@ "DisplayOrder": { "target": "com.amazonaws.connect#AgentStatusOrderNumber", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The display order of the agent status.
" } }, "ResetOrderNumber": { "target": "com.amazonaws.connect#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A number indicating the reset order of the agent status.
" } } @@ -18164,7 +18944,7 @@ "MaxContacts": { "target": "com.amazonaws.connect#QueueMaxContacts", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of contacts that can be in the queue before it is considered full.
" } } @@ -19495,18 +20275,20 @@ } }, "com.amazonaws.connect#UseCaseType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RULES_EVALUATION", - "name": "RULES_EVALUATION" - }, - { - "value": "CONNECT_CAMPAIGNS", - "name": "CONNECT_CAMPAIGNS" + "type": "enum", + "members": { + "RULES_EVALUATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RULES_EVALUATION" + } + }, + "CONNECT_CAMPAIGNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECT_CAMPAIGNS" } - ] + } } }, "com.amazonaws.connect#User": { @@ -19734,12 +20516,14 @@ "AutoAccept": { "target": "com.amazonaws.connect#AutoAccept", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The Auto accept setting.
" } }, "AfterContactWorkTimeLimit": { "target": "com.amazonaws.connect#AfterContactWorkTimeLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The After Call Work (ACW) timeout setting, in seconds.
" } }, @@ -19949,10 +20733,7 @@ } }, "com.amazonaws.connect#Value": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.connect#Vocabulary": { "type": "structure", @@ -20044,94 +20825,134 @@ } }, "com.amazonaws.connect#VocabularyLanguageCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ar-AE", - "name": "AR_AE" - }, - { - "value": "de-CH", - "name": "DE_CH" - }, - { - "value": "de-DE", - "name": "DE_DE" - }, - { - "value": "en-AB", - "name": "EN_AB" - }, - { - "value": "en-AU", - "name": "EN_AU" - }, - { - "value": "en-GB", - "name": "EN_GB" - }, - { - "value": "en-IE", - "name": "EN_IE" - }, - { - "value": "en-IN", - "name": "EN_IN" - }, - { - "value": "en-US", - "name": "EN_US" - }, - { - "value": "en-WL", - "name": "EN_WL" - }, - { - "value": "es-ES", - "name": "ES_ES" - }, - { - "value": "es-US", - "name": "ES_US" - }, - { - "value": "fr-CA", - "name": "FR_CA" - }, - { - "value": "fr-FR", - "name": "FR_FR" - }, - { - "value": "hi-IN", - "name": "HI_IN" - }, - { - "value": "it-IT", - "name": "IT_IT" - }, - { - "value": "ja-JP", - "name": "JA_JP" - }, - { - "value": "ko-KR", - "name": "KO_KR" - }, - { - "value": "pt-BR", - "name": "PT_BR" - }, - { - "value": "pt-PT", - "name": "PT_PT" - }, - { - "value": "zh-CN", - "name": "ZH_CN" - } - ] + "type": "enum", + "members": { + "AR_AE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ar-AE" + } + }, + "DE_CH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de-CH" + } + }, + "DE_DE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de-DE" + } + }, + "EN_AB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-AB" + } + }, + "EN_AU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-AU" + } + }, + "EN_GB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-GB" + } + }, + "EN_IE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-IE" + } + }, + "EN_IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-IN" + } + }, + "EN_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-US" + } + }, + "EN_WL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-WL" + } + }, + "ES_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-ES" + } + }, + "ES_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-US" + } + }, + "FR_CA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fr-CA" + } + }, + "FR_FR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fr-FR" + } + }, + "HI_IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hi-IN" + } + }, + "IT_IT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "it-IT" + } + }, + "JA_JP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ja-JP" + } + }, + "KO_KR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ko-KR" + } + }, + "PT_BR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pt-BR" + } + }, + "PT_PT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pt-PT" + } + }, + "ZH_CN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "zh-CN" + } + } } }, "com.amazonaws.connect#VocabularyLastModifiedTime": { @@ -20158,26 +20979,32 @@ } }, "com.amazonaws.connect#VocabularyState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATION_IN_PROGRESS", - "name": "CREATION_IN_PROGRESS" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "CREATION_FAILED", - "name": "CREATION_FAILED" - }, - { - "value": "DELETE_IN_PROGRESS", - "name": "DELETE_IN_PROGRESS" - } - ] + "type": "enum", + "members": { + "CREATION_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_IN_PROGRESS" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "CREATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_FAILED" + } + }, + "DELETE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_IN_PROGRESS" + } + } } }, "com.amazonaws.connect#VocabularySummary": { @@ -20257,22 +21084,26 @@ } }, "com.amazonaws.connect#VoiceRecordingTrack": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FROM_AGENT", - "name": "FROM_AGENT" - }, - { - "value": "TO_AGENT", - "name": "TO_AGENT" - }, - { - "value": "ALL", - "name": "ALL" - } - ] + "type": "enum", + "members": { + "FROM_AGENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FROM_AGENT" + } + }, + "TO_AGENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TO_AGENT" + } + }, + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" + } + } } } } diff --git a/codegen/sdk/aws-models/connectcampaigns.json b/codegen/sdk/aws-models/connectcampaigns.json index 5950002188e..fb694cf1527 100644 --- a/codegen/sdk/aws-models/connectcampaigns.json +++ b/codegen/sdk/aws-models/connectcampaigns.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.connectcampaigns#AccessDeniedException": { "type": "structure", @@ -25,19 +25,6 @@ }, "com.amazonaws.connectcampaigns#AmazonConnectCampaignService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ConnectCampaigns", - "arnNamespace": "connect-campaigns", - "cloudTrailEventSource": "connect-campaigns.amazonaws.com" - }, - "aws.auth#sigv4": { - "name": "connect-campaigns" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Provide APIs to create and manage Amazon Connect Campaigns.", - "smithy.api#title": "AmazonConnectCampaignService" - }, "version": "2021-01-30", "operations": [ { @@ -106,7 +93,20 @@ { "target": "com.amazonaws.connectcampaigns#UpdateCampaignOutboundCallConfig" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ConnectCampaigns", + "arnNamespace": "connect-campaigns", + "cloudTrailEventSource": "connect-campaigns.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "connect-campaigns" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Provide APIs to create and manage Amazon Connect Campaigns.", + "smithy.api#title": "AmazonConnectCampaignService" + } }, "com.amazonaws.connectcampaigns#AnswerMachineDetectionConfig": { "type": "structure", @@ -171,7 +171,6 @@ "com.amazonaws.connectcampaigns#BandwidthAllocation": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The bandwidth allocation of a queue resource.", "smithy.api#range": { "min": 0, @@ -766,6 +765,7 @@ "com.amazonaws.connectcampaigns#Enabled": { "type": "boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean to indicate if custom encryption has been enabled." } }, @@ -775,6 +775,7 @@ "enabled": { "target": "com.amazonaws.connectcampaigns#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#required": {} } }, @@ -1488,7 +1489,6 @@ "com.amazonaws.connectcampaigns#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The maximum number of results to return per page.", "smithy.api#range": { "min": 1, @@ -2431,4 +2431,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/connectcases.json b/codegen/sdk/aws-models/connectcases.json new file mode 100644 index 00000000000..f892e0c93bc --- /dev/null +++ b/codegen/sdk/aws-models/connectcases.json @@ -0,0 +1,4279 @@ +{ + "smithy": "2.0", + "shapes": { + "com.amazonaws.connectcases#AccessDeniedException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "You do not have sufficient access to perform this action.
", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.connectcases#AmazonConnectCases": { + "type": "service", + "version": "2022-10-03", + "operations": [ + { + "target": "com.amazonaws.connectcases#ListTagsForResource" + }, + { + "target": "com.amazonaws.connectcases#TagResource" + }, + { + "target": "com.amazonaws.connectcases#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.connectcases#Case" + }, + { + "target": "com.amazonaws.connectcases#Domain" + }, + { + "target": "com.amazonaws.connectcases#Field" + }, + { + "target": "com.amazonaws.connectcases#Layout" + }, + { + "target": "com.amazonaws.connectcases#Template" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "ConnectCases", + "arnNamespace": "cases", + "cloudTrailEventSource": "event-source-placeholder", + "endpointPrefix": "cases" + }, + "aws.auth#sigv4": { + "name": "cases" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "Welcome to the Amazon Connect Cases API Reference. This guide provides information about the\n Amazon Connect Cases API, which you can use to create, update, get, and list Cases domains,\n fields, field options, layouts, templates, cases, related items, and tags.
\n\nFor more information about Amazon Connect Cases, see Amazon Connect Cases in the\n Amazon Connect Administrator Guide.
", + "smithy.api#title": "Amazon Connect Cases" + } + }, + "com.amazonaws.connectcases#Arn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#AssociationTime": { + "type": "timestamp", + "traits": { + "smithy.api#timestampFormat": "date-time" + } + }, + "com.amazonaws.connectcases#BasicLayout": { + "type": "structure", + "members": { + "topPanel": { + "target": "com.amazonaws.connectcases#LayoutSections", + "traits": { + "smithy.api#documentation": "This represents sections in a panel of the page layout.
" + } + }, + "moreInfo": { + "target": "com.amazonaws.connectcases#LayoutSections", + "traits": { + "smithy.api#documentation": "This represents sections in a tab of the page layout.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Content specific to BasicLayout type. It configures fields in the top panel\n and More Info tab of agent application.
Returns the description for the list of fields in the request parameters.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/fields-batch", + "method": "POST" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#BatchGetFieldErrorList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldError" + } + }, + "com.amazonaws.connectcases#BatchGetFieldIdentifierList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldIdentifier" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.connectcases#BatchGetFieldList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#GetFieldResponse" + } + }, + "com.amazonaws.connectcases#BatchGetFieldRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "fields": { + "target": "com.amazonaws.connectcases#BatchGetFieldIdentifierList", + "traits": { + "smithy.api#documentation": "A list of unique field identifiers.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#BatchGetFieldResponse": { + "type": "structure", + "members": { + "fields": { + "target": "com.amazonaws.connectcases#BatchGetFieldList", + "traits": { + "smithy.api#documentation": "A list of detailed field information.
", + "smithy.api#length": { + "max": 50 + }, + "smithy.api#required": {} + } + }, + "errors": { + "target": "com.amazonaws.connectcases#BatchGetFieldErrorList", + "traits": { + "smithy.api#documentation": "A list of field errors.
", + "smithy.api#length": { + "max": 50 + }, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#BatchPutFieldOptions": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#BatchPutFieldOptionsRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#BatchPutFieldOptionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates and updates a set of field options for a single select field in a Cases\n domain.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/fields/{fieldId}/options", + "method": "PUT" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#BatchPutFieldOptionsRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "The unique identifier of a field.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "options": { + "target": "com.amazonaws.connectcases#FieldOptionsList", + "traits": { + "smithy.api#documentation": "A list of FieldOption objects.
A list of field errors.
", + "smithy.api#length": { + "max": 50 + } + } + } + } + }, + "com.amazonaws.connectcases#Case": { + "type": "resource", + "identifiers": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId" + }, + "caseId": { + "target": "com.amazonaws.connectcases#CaseId" + } + }, + "create": { + "target": "com.amazonaws.connectcases#CreateCase" + }, + "read": { + "target": "com.amazonaws.connectcases#GetCase" + }, + "update": { + "target": "com.amazonaws.connectcases#UpdateCase" + }, + "collectionOperations": [ + { + "target": "com.amazonaws.connectcases#ListCasesForContact" + }, + { + "target": "com.amazonaws.connectcases#SearchCases" + } + ], + "resources": [ + { + "target": "com.amazonaws.connectcases#RelatedItem" + } + ], + "traits": { + "aws.api#arn": { + "template": "domain/{domainId}/case/{caseId}" + } + } + }, + "com.amazonaws.connectcases#CaseArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#CaseEventIncludedData": { + "type": "structure", + "members": { + "fields": { + "target": "com.amazonaws.connectcases#FieldIdentifierList", + "traits": { + "smithy.api#documentation": "List of field identifiers.
", + "smithy.api#length": { + "max": 50 + }, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Details of what case data is published through the case event stream.
" + } + }, + "com.amazonaws.connectcases#CaseFilter": { + "type": "union", + "members": { + "field": { + "target": "com.amazonaws.connectcases#FieldFilter", + "traits": { + "smithy.api#documentation": "A list of fields to filter on.
" + } + }, + "not": { + "target": "com.amazonaws.connectcases#CaseFilter" + }, + "andAll": { + "target": "com.amazonaws.connectcases#CaseFilterList", + "traits": { + "smithy.api#documentation": "Provides \"and all\" filtering.
", + "smithy.api#length": { + "max": 10 + } + } + } + }, + "traits": { + "smithy.api#documentation": "A filter for cases. Only one value can be provided.
" + } + }, + "com.amazonaws.connectcases#CaseFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#CaseFilter" + } + }, + "com.amazonaws.connectcases#CaseId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#CaseSummary": { + "type": "structure", + "members": { + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "A unique identifier of the case.
", + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "A unique identifier of a template.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Case summary information.
" + } + }, + "com.amazonaws.connectcases#CaseSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#CaseSummary" + } + }, + "com.amazonaws.connectcases#Channel": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.connectcases#ChannelList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#Channel" + } + }, + "com.amazonaws.connectcases#CommentBody": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.connectcases#CommentBodyTextType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Text/Plain", + "name": "PLAINTEXT" + } + ] + } + }, + "com.amazonaws.connectcases#CommentContent": { + "type": "structure", + "members": { + "body": { + "target": "com.amazonaws.connectcases#CommentBody", + "traits": { + "smithy.api#documentation": "Text in the body of a Comment on a case.
Type of the text in the box of a Comment on a case.
Represents the content of a Comment to be returned to agents.
A filter for related items of type Comment.
The requested operation would cause a conflict with the current state of a service\n resource associated with the request. Resolve the conflict before retrying this request. See\n the accompanying error message for details.
", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.connectcases#ConnectedToSystemTime": { + "type": "timestamp", + "traits": { + "smithy.api#timestampFormat": "date-time" + } + }, + "com.amazonaws.connectcases#Contact": { + "type": "structure", + "members": { + "contactArn": { + "target": "com.amazonaws.connectcases#ContactArn", + "traits": { + "smithy.api#documentation": "A unique identifier of a contact in Amazon Connect.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents an Amazon Connect contact object.
" + } + }, + "com.amazonaws.connectcases#ContactArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#ContactContent": { + "type": "structure", + "members": { + "contactArn": { + "target": "com.amazonaws.connectcases#ContactArn", + "traits": { + "smithy.api#documentation": "A unique identifier of a contact in Amazon Connect.
", + "smithy.api#required": {} + } + }, + "channel": { + "target": "com.amazonaws.connectcases#Channel", + "traits": { + "smithy.api#documentation": "A list of channels to filter on for related items of type Contact.
The difference between the InitiationTimestamp and the\n DisconnectTimestamp of the contact.
An object that represents a content of an Amazon Connect contact object.
" + } + }, + "com.amazonaws.connectcases#ContactFilter": { + "type": "structure", + "members": { + "channel": { + "target": "com.amazonaws.connectcases#ChannelList", + "traits": { + "smithy.api#documentation": "A list of channels to filter on for related items of type Contact.
A unique identifier of a contact in Amazon Connect.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A filter for related items of type Contact.
Creates a case in the specified Cases domain. Case system and custom fields are taken\n as an array id/value pairs with a declared data types.
\n\n customer_id is a required field when creating a case.
The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "A unique identifier of a template.
", + "smithy.api#required": {} + } + }, + "fields": { + "target": "com.amazonaws.connectcases#FieldValueList", + "traits": { + "smithy.api#documentation": "An array of objects with field ID (matching ListFields/DescribeField) and value union\n data.
", + "smithy.api#length": { + "max": 100 + }, + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.
", + "smithy.api#idempotencyToken": {}, + "smithy.api#length": { + "max": 64 + } + } + } + } + }, + "com.amazonaws.connectcases#CreateCaseResponse": { + "type": "structure", + "members": { + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "A unique identifier of the case.
", + "smithy.api#required": {} + } + }, + "caseArn": { + "target": "com.amazonaws.connectcases#CaseArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the case.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateDomain": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#CreateDomainRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#CreateDomainResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a domain, which is a container for all case data, such as cases, fields, templates\n and layouts. Each Amazon Connect instance can be associated with only one Cases\n domain.
\nThis will not associate your connect instance to Cases domain. Instead, use the\n Amazon Connect\n CreateIntegrationAssociation API.
\nThe name for your Cases domain. It must be unique for your Amazon Web Services\n account.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateDomainResponse": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#required": {} + } + }, + "domainArn": { + "target": "com.amazonaws.connectcases#DomainArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) for the Cases domain.
", + "smithy.api#required": {} + } + }, + "domainStatus": { + "target": "com.amazonaws.connectcases#DomainStatus", + "traits": { + "smithy.api#documentation": "The status of the domain.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateField": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#CreateFieldRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#CreateFieldResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a field in the Cases domain. This field is used to define the case object\n model (that is, defines what data can be captured on cases) in a Cases domain.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/fields", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#CreateFieldRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#FieldName", + "traits": { + "smithy.api#documentation": "The name of the field.
", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.connectcases#FieldType", + "traits": { + "smithy.api#documentation": "Defines the data type, some system constraints, and default display of the field.
", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.connectcases#FieldDescription", + "traits": { + "smithy.api#documentation": "The description of the field.
" + } + } + } + }, + "com.amazonaws.connectcases#CreateFieldResponse": { + "type": "structure", + "members": { + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "The unique identifier of a field.
", + "smithy.api#required": {} + } + }, + "fieldArn": { + "target": "com.amazonaws.connectcases#FieldArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the field.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateLayout": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#CreateLayoutRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#CreateLayoutResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a layout in the Cases domain. Layouts define the following configuration in\n the top section and More Info tab of the Cases user interface:
\nFields to display to the users
\nField ordering
\nTitle and Status fields cannot be part of layouts since they are not\n configurable.
\nThe unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#LayoutName", + "traits": { + "smithy.api#documentation": "The name of the layout. It must be unique for the Cases domain.
", + "smithy.api#required": {} + } + }, + "content": { + "target": "com.amazonaws.connectcases#LayoutContent", + "traits": { + "smithy.api#documentation": "Information about which fields will be present in the layout, and information about the\n order of the fields.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateLayoutResponse": { + "type": "structure", + "members": { + "layoutId": { + "target": "com.amazonaws.connectcases#LayoutId", + "traits": { + "smithy.api#documentation": "The unique identifier of the layout.
", + "smithy.api#required": {} + } + }, + "layoutArn": { + "target": "com.amazonaws.connectcases#LayoutArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the newly created layout.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateRelatedItem": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#CreateRelatedItemRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#CreateRelatedItemResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a related item (comments, tasks, and contacts) and associates it with a\n case.
\nA Related Item is a resource that is associated with a case. It may or may not have an\n external identifier linking it to an external resource (for example, a\n contactArn). All Related Items have their own internal identifier, the\n relatedItemArn. Examples of related items include comments and\n contacts.
The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "A unique identifier of the case.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.connectcases#RelatedItemType", + "traits": { + "smithy.api#documentation": "The type of a related item.
", + "smithy.api#required": {} + } + }, + "content": { + "target": "com.amazonaws.connectcases#RelatedItemInputContent", + "traits": { + "smithy.api#documentation": "The content of a related item to be created.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateRelatedItemResponse": { + "type": "structure", + "members": { + "relatedItemId": { + "target": "com.amazonaws.connectcases#RelatedItemId", + "traits": { + "smithy.api#documentation": "The unique identifier of the related item.
", + "smithy.api#required": {} + } + }, + "relatedItemArn": { + "target": "com.amazonaws.connectcases#RelatedItemArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the related item.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#CreateTemplateRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#CreateTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a template in the Cases domain. This template is used to define the case\n object model (that is, define what data can be captured on cases) in a Cases domain. A\n template must have a unique name within a domain, and it must reference existing field IDs and layout\n IDs. Additionally, multiple fields with same IDs are not allowed within the same Template.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/templates", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#CreateTemplateRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#TemplateName", + "traits": { + "smithy.api#documentation": "A name for the template. It must be unique per domain.
", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.connectcases#TemplateDescription", + "traits": { + "smithy.api#documentation": "A brief description of the template.
" + } + }, + "layoutConfiguration": { + "target": "com.amazonaws.connectcases#LayoutConfiguration", + "traits": { + "smithy.api#documentation": "Configuration of layouts associated to the template.
" + } + }, + "requiredFields": { + "target": "com.amazonaws.connectcases#RequiredFieldList", + "traits": { + "smithy.api#documentation": "A list of fields that must contain a value for a case to be successfully created with this\n template.
" + } + } + } + }, + "com.amazonaws.connectcases#CreateTemplateResponse": { + "type": "structure", + "members": { + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "A unique identifier of a template.
", + "smithy.api#required": {} + } + }, + "templateArn": { + "target": "com.amazonaws.connectcases#TemplateArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the newly created template.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreatedTime": { + "type": "timestamp", + "traits": { + "smithy.api#timestampFormat": "date-time" + } + }, + "com.amazonaws.connectcases#Domain": { + "type": "resource", + "identifiers": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId" + } + }, + "create": { + "target": "com.amazonaws.connectcases#CreateDomain" + }, + "read": { + "target": "com.amazonaws.connectcases#GetDomain" + }, + "list": { + "target": "com.amazonaws.connectcases#ListDomains" + }, + "operations": [ + { + "target": "com.amazonaws.connectcases#GetCaseEventConfiguration" + }, + { + "target": "com.amazonaws.connectcases#PutCaseEventConfiguration" + } + ], + "traits": { + "aws.api#arn": { + "template": "domain/{domainId}" + } + } + }, + "com.amazonaws.connectcases#DomainArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#DomainId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#DomainName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^.*[\\S]$" + } + }, + "com.amazonaws.connectcases#DomainStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Active", + "name": "ACTIVE" + }, + { + "value": "CreationInProgress", + "name": "CREATION_IN_PROGRESS" + }, + { + "value": "CreationFailed", + "name": "CREATION_FAILED" + } + ] + } + }, + "com.amazonaws.connectcases#DomainSummary": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the domain.
", + "smithy.api#required": {} + } + }, + "domainArn": { + "target": "com.amazonaws.connectcases#DomainArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the domain.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#DomainName", + "traits": { + "smithy.api#documentation": "The name of the domain.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Object for the summarized details of the domain.
" + } + }, + "com.amazonaws.connectcases#DomainSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#DomainSummary" + } + }, + "com.amazonaws.connectcases#EventBridgeConfiguration": { + "type": "structure", + "members": { + "enabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "Indicates whether the to broadcast case event data to the customer.
", + "smithy.api#required": {} + } + }, + "includedData": { + "target": "com.amazonaws.connectcases#EventIncludedData", + "traits": { + "smithy.api#documentation": "Details of what case and related item data is published through the case event\n stream.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration to enable EventBridge case event delivery and determine what data is\n delivered.
" + } + }, + "com.amazonaws.connectcases#EventIncludedData": { + "type": "structure", + "members": { + "caseData": { + "target": "com.amazonaws.connectcases#CaseEventIncludedData", + "traits": { + "smithy.api#documentation": "Details of what case data is published through the case event stream.
" + } + }, + "relatedItemData": { + "target": "com.amazonaws.connectcases#RelatedItemEventIncludedData", + "traits": { + "smithy.api#documentation": "Details of what related item data is published through the case event stream.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Details of what case and related item data is published through the case event\n stream.
" + } + }, + "com.amazonaws.connectcases#Field": { + "type": "resource", + "identifiers": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId" + }, + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId" + } + }, + "create": { + "target": "com.amazonaws.connectcases#CreateField" + }, + "update": { + "target": "com.amazonaws.connectcases#UpdateField" + }, + "list": { + "target": "com.amazonaws.connectcases#ListFields" + }, + "operations": [ + { + "target": "com.amazonaws.connectcases#BatchPutFieldOptions" + }, + { + "target": "com.amazonaws.connectcases#ListFieldOptions" + } + ], + "collectionOperations": [ + { + "target": "com.amazonaws.connectcases#BatchGetField" + } + ], + "traits": { + "aws.api#arn": { + "template": "domain/{domainId}/field/{fieldId}" + } + } + }, + "com.amazonaws.connectcases#FieldArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#FieldDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 255 + } + } + }, + "com.amazonaws.connectcases#FieldError": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "The field identifier that caused the error.
", + "smithy.api#required": {} + } + }, + "errorCode": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The error code from getting a field.
", + "smithy.api#required": {} + } + }, + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The error message from getting a field.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Object for errors on fields.
" + } + }, + "com.amazonaws.connectcases#FieldFilter": { + "type": "union", + "members": { + "equalTo": { + "target": "com.amazonaws.connectcases#FieldValue", + "traits": { + "smithy.api#documentation": "Object containing field identifier and value information.
" + } + }, + "contains": { + "target": "com.amazonaws.connectcases#FieldValue", + "traits": { + "smithy.api#documentation": "Object containing field identifier and value information.
" + } + }, + "greaterThan": { + "target": "com.amazonaws.connectcases#FieldValue", + "traits": { + "smithy.api#documentation": "Object containing field identifier and value information.
" + } + }, + "greaterThanOrEqualTo": { + "target": "com.amazonaws.connectcases#FieldValue", + "traits": { + "smithy.api#documentation": "Object containing field identifier and value information.
" + } + }, + "lessThan": { + "target": "com.amazonaws.connectcases#FieldValue", + "traits": { + "smithy.api#documentation": "Object containing field identifier and value information.
" + } + }, + "lessThanOrEqualTo": { + "target": "com.amazonaws.connectcases#FieldValue", + "traits": { + "smithy.api#documentation": "Object containing field identifier and value information.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A filter for fields. Only one value can be provided.
" + } + }, + "com.amazonaws.connectcases#FieldGroup": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Name of the field group.
", + "smithy.api#length": { + "max": 100 + } + } + }, + "fields": { + "target": "com.amazonaws.connectcases#FieldList", + "traits": { + "smithy.api#documentation": "Represents an ordered list containing field related information.
", + "smithy.api#length": { + "max": 30 + }, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Object for a group of fields and associated properties.
" + } + }, + "com.amazonaws.connectcases#FieldId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#FieldIdentifier": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "Unique identifier of a field.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Object for unique identifier of a field.
" + } + }, + "com.amazonaws.connectcases#FieldIdentifierList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldIdentifier" + } + }, + "com.amazonaws.connectcases#FieldItem": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "Unique identifier of a field.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Object for field related information.
" + } + }, + "com.amazonaws.connectcases#FieldList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldItem" + } + }, + "com.amazonaws.connectcases#FieldName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^.*[\\S]$" + } + }, + "com.amazonaws.connectcases#FieldNamespace": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "System", + "name": "SYSTEM" + }, + { + "value": "Custom", + "name": "CUSTOM" + } + ] + } + }, + "com.amazonaws.connectcases#FieldOption": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.connectcases#FieldOptionName", + "traits": { + "smithy.api#documentation": "\n FieldOptionName has max length 100 and disallows trailing spaces.
\n FieldOptionValue has max length 100 and must be alphanumeric with hyphens and\n underscores.
Describes whether the FieldOption is active (displayed) or inactive.
Object for field Options information.
" + } + }, + "com.amazonaws.connectcases#FieldOptionError": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Error message from creating or updating field option.
", + "smithy.api#required": {} + } + }, + "errorCode": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Error code from creating or updating field option.
", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.connectcases#FieldOptionValue", + "traits": { + "smithy.api#documentation": "The field option value that caused the error.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Object for field Options errors.
" + } + }, + "com.amazonaws.connectcases#FieldOptionErrorList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldOptionError" + } + }, + "com.amazonaws.connectcases#FieldOptionName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^.*[\\S]$" + } + }, + "com.amazonaws.connectcases#FieldOptionValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^.*[\\S]$" + } + }, + "com.amazonaws.connectcases#FieldOptionsList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldOption" + } + }, + "com.amazonaws.connectcases#FieldSummary": { + "type": "structure", + "members": { + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "The unique identifier of a field.
", + "smithy.api#required": {} + } + }, + "fieldArn": { + "target": "com.amazonaws.connectcases#FieldArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the field.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#FieldName", + "traits": { + "smithy.api#documentation": "Name of the field.
", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.connectcases#FieldType", + "traits": { + "smithy.api#documentation": "The type of a field.
", + "smithy.api#required": {} + } + }, + "namespace": { + "target": "com.amazonaws.connectcases#FieldNamespace", + "traits": { + "smithy.api#documentation": "The namespace of a field.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Object for the summarized details of the field.
" + } + }, + "com.amazonaws.connectcases#FieldSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldSummary" + } + }, + "com.amazonaws.connectcases#FieldType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Text", + "name": "TEXT" + }, + { + "value": "Number", + "name": "NUMBER" + }, + { + "value": "Boolean", + "name": "BOOLEAN" + }, + { + "value": "DateTime", + "name": "DATE_TIME" + }, + { + "value": "SingleSelect", + "name": "SINGLE_SELECT" + } + ] + } + }, + "com.amazonaws.connectcases#FieldValue": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "Unique identifier of a field.
", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.connectcases#FieldValueUnion", + "traits": { + "smithy.api#documentation": "Union of potential field value types.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Object for case field values.
" + } + }, + "com.amazonaws.connectcases#FieldValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldValue" + } + }, + "com.amazonaws.connectcases#FieldValueUnion": { + "type": "union", + "members": { + "stringValue": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "String value type.
", + "smithy.api#length": { + "max": 500 + } + } + }, + "doubleValue": { + "target": "smithy.api#Double", + "traits": { + "smithy.api#documentation": "Can be either null, or have a Double number value type. Only one value can be\n provided.
" + } + }, + "booleanValue": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "Can be either null, or have a Boolean value type. Only one value can be provided.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Object to store union of Field values.
" + } + }, + "com.amazonaws.connectcases#GetCase": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#GetCaseRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#GetCaseResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Returns information about a specific case if it exists.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/cases/{caseId}", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#GetCaseEventConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#GetCaseEventConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#GetCaseEventConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Returns the case event publishing configuration.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/case-event-configuration", + "method": "POST" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#GetCaseEventConfigurationRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#GetCaseEventConfigurationResponse": { + "type": "structure", + "members": { + "eventBridge": { + "target": "com.amazonaws.connectcases#EventBridgeConfiguration", + "traits": { + "smithy.api#documentation": "Configuration to enable EventBridge case event delivery and determine what data is\n delivered.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#GetCaseRequest": { + "type": "structure", + "members": { + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "A unique identifier of the case.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "fields": { + "target": "com.amazonaws.connectcases#FieldIdentifierList", + "traits": { + "smithy.api#documentation": "A list of unique field identifiers.
", + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
" + } + } + } + }, + "com.amazonaws.connectcases#GetCaseResponse": { + "type": "structure", + "members": { + "fields": { + "target": "com.amazonaws.connectcases#FieldValueList", + "traits": { + "smithy.api#documentation": "A list of detailed field information.
", + "smithy.api#length": { + "max": 100 + }, + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "A unique identifier of a template.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. This is null if there are no more results to return.
" + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
" + } + } + } + }, + "com.amazonaws.connectcases#GetDomain": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#GetDomainRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#GetDomainResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Returns information about a specific domain if it exists.
", + "smithy.api#http": { + "uri": "/domains/{domainId}", + "method": "POST" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#GetDomainRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#GetDomainResponse": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#required": {} + } + }, + "domainArn": { + "target": "com.amazonaws.connectcases#DomainArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) for the Cases domain.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#DomainName", + "traits": { + "smithy.api#documentation": "The name of the Cases domain.
", + "smithy.api#required": {} + } + }, + "createdTime": { + "target": "com.amazonaws.connectcases#CreatedTime", + "traits": { + "smithy.api#documentation": "The timestamp when the Cases domain was created.
", + "smithy.api#required": {} + } + }, + "domainStatus": { + "target": "com.amazonaws.connectcases#DomainStatus", + "traits": { + "smithy.api#documentation": "The status of the Cases domain.
", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
" + } + } + } + }, + "com.amazonaws.connectcases#GetFieldResponse": { + "type": "structure", + "members": { + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "Unique identifier of the field.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#FieldName", + "traits": { + "smithy.api#documentation": "Name of the field.
", + "smithy.api#required": {} + } + }, + "fieldArn": { + "target": "com.amazonaws.connectcases#FieldArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the field.
", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.connectcases#FieldDescription", + "traits": { + "smithy.api#documentation": "Description of the field.
" + } + }, + "type": { + "target": "com.amazonaws.connectcases#FieldType", + "traits": { + "smithy.api#documentation": "Type of the field.
", + "smithy.api#required": {} + } + }, + "namespace": { + "target": "com.amazonaws.connectcases#FieldNamespace", + "traits": { + "smithy.api#documentation": "Namespace of the field.
", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Object to store detailed field information.
" + } + }, + "com.amazonaws.connectcases#GetLayout": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#GetLayoutRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#GetLayoutResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Returns the details for the requested layout.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/layouts/{layoutId}", + "method": "POST" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#GetLayoutRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "layoutId": { + "target": "com.amazonaws.connectcases#LayoutId", + "traits": { + "smithy.api#documentation": "The unique identifier of the layout.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#GetLayoutResponse": { + "type": "structure", + "members": { + "layoutId": { + "target": "com.amazonaws.connectcases#LayoutId", + "traits": { + "smithy.api#documentation": "The unique identifier of the layout.
", + "smithy.api#required": {} + } + }, + "layoutArn": { + "target": "com.amazonaws.connectcases#LayoutArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the newly created layout.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#LayoutName", + "traits": { + "smithy.api#documentation": "The name of the layout. It must be unique.
", + "smithy.api#required": {} + } + }, + "content": { + "target": "com.amazonaws.connectcases#LayoutContent", + "traits": { + "smithy.api#documentation": "Information about which fields will be present in the layout, the order of the fields, and\n read-only attribute of the field.
", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
" + } + } + } + }, + "com.amazonaws.connectcases#GetTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#GetTemplateRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#GetTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Returns the details for the requested template.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/templates/{templateId}", + "method": "POST" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#GetTemplateRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "A unique identifier of a template.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#GetTemplateResponse": { + "type": "structure", + "members": { + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "A unique identifier of a template.
", + "smithy.api#required": {} + } + }, + "templateArn": { + "target": "com.amazonaws.connectcases#TemplateArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the template.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#TemplateName", + "traits": { + "smithy.api#documentation": "The name of the template.
", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.connectcases#TemplateDescription", + "traits": { + "smithy.api#documentation": "A brief description of the template.
" + } + }, + "layoutConfiguration": { + "target": "com.amazonaws.connectcases#LayoutConfiguration", + "traits": { + "smithy.api#documentation": "Configuration of layouts associated to the template.
" + } + }, + "requiredFields": { + "target": "com.amazonaws.connectcases#RequiredFieldList", + "traits": { + "smithy.api#documentation": "A list of fields that must contain a value for a case to be successfully created with this\n template.
" + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
" + } + } + } + }, + "com.amazonaws.connectcases#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "retryAfterSeconds": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "Advice to clients on when the call can be safely retried.
", + "smithy.api#httpHeader": "Retry-After" + } + } + }, + "traits": { + "smithy.api#documentation": "We couldn't process your request because of an issue with the server. Try again\n later.
", + "smithy.api#error": "server", + "smithy.api#httpError": 500, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.connectcases#Layout": { + "type": "resource", + "identifiers": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId" + }, + "layoutId": { + "target": "com.amazonaws.connectcases#LayoutId" + } + }, + "create": { + "target": "com.amazonaws.connectcases#CreateLayout" + }, + "read": { + "target": "com.amazonaws.connectcases#GetLayout" + }, + "update": { + "target": "com.amazonaws.connectcases#UpdateLayout" + }, + "list": { + "target": "com.amazonaws.connectcases#ListLayouts" + }, + "traits": { + "aws.api#arn": { + "template": "domain/{domainId}/layout/{layoutId}" + } + } + }, + "com.amazonaws.connectcases#LayoutArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#LayoutConfiguration": { + "type": "structure", + "members": { + "defaultLayout": { + "target": "com.amazonaws.connectcases#LayoutId", + "traits": { + "smithy.api#documentation": "Unique identifier of a layout.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Object to store configuration of layouts associated to the template.
" + } + }, + "com.amazonaws.connectcases#LayoutContent": { + "type": "union", + "members": { + "basic": { + "target": "com.amazonaws.connectcases#BasicLayout", + "traits": { + "smithy.api#documentation": "Content specific to BasicLayout type. It configures fields in the top panel\n and More Info tab of Cases user interface.
Object to store union of different versions of layout content.
" + } + }, + "com.amazonaws.connectcases#LayoutId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#LayoutName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^.*[\\S]$" + } + }, + "com.amazonaws.connectcases#LayoutSections": { + "type": "structure", + "members": { + "sections": { + "target": "com.amazonaws.connectcases#SectionsList" + } + }, + "traits": { + "smithy.api#documentation": "Ordered list containing different kinds of sections that can be added. A LayoutSections object can only contain one section.
" + } + }, + "com.amazonaws.connectcases#LayoutSummary": { + "type": "structure", + "members": { + "layoutId": { + "target": "com.amazonaws.connectcases#LayoutId", + "traits": { + "smithy.api#documentation": "The unique identifier for of the layout.
", + "smithy.api#required": {} + } + }, + "layoutArn": { + "target": "com.amazonaws.connectcases#LayoutArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the layout.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#LayoutName", + "traits": { + "smithy.api#documentation": "The name of the layout.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Object for the summarized details of the layout.
" + } + }, + "com.amazonaws.connectcases#LayoutSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#LayoutSummary" + } + }, + "com.amazonaws.connectcases#ListCasesForContact": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListCasesForContactRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListCasesForContactResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists cases for a given contact.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/list-cases-for-contact", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#ListCasesForContactRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "contactArn": { + "target": "com.amazonaws.connectcases#ContactArn", + "traits": { + "smithy.api#documentation": "A unique identifier of a contact in Amazon Connect.
", + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#range": { + "min": 1, + "max": 10 + } + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
" + } + } + } + }, + "com.amazonaws.connectcases#ListCasesForContactResponse": { + "type": "structure", + "members": { + "cases": { + "target": "com.amazonaws.connectcases#CaseSummaryList", + "traits": { + "smithy.api#documentation": "A list of Case summary information.
", + "smithy.api#length": { + "max": 10 + }, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. This is null if there are no more results to return.
" + } + } + } + }, + "com.amazonaws.connectcases#ListDomains": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListDomainsRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListDomainsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists all cases domains in the Amazon Web Services account. Each list item is a condensed\n summary object of the domain.
", + "smithy.api#http": { + "uri": "/domains-list", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#ListDomainsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.connectcases#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 10 + } + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.connectcases#ListDomainsResponse": { + "type": "structure", + "members": { + "domains": { + "target": "com.amazonaws.connectcases#DomainSummaryList", + "traits": { + "smithy.api#documentation": "The Cases domain.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. This is null if there are no more results to return.
" + } + } + } + }, + "com.amazonaws.connectcases#ListFieldOptions": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListFieldOptionsRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListFieldOptionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists all of the field options for a field identifier in the domain.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/fields/{fieldId}/options-list", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#ListFieldOptionsRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "The unique identifier of a field.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.connectcases#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + }, + "values": { + "target": "com.amazonaws.connectcases#ValuesList", + "traits": { + "smithy.api#documentation": "A list of FieldOption values to filter on for\n ListFieldOptions.
A list of FieldOption objects.
The token for the next set of results. This is null if there are no more results to return.
" + } + } + } + }, + "com.amazonaws.connectcases#ListFields": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListFieldsRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListFieldsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists all fields in a Cases domain.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/fields-list", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#ListFieldsRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.connectcases#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.connectcases#ListFieldsResponse": { + "type": "structure", + "members": { + "fields": { + "target": "com.amazonaws.connectcases#FieldSummaryList", + "traits": { + "smithy.api#documentation": "List of detailed field information.
", + "smithy.api#length": { + "max": 100 + }, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. This is null if there are no more results to return.
" + } + } + } + }, + "com.amazonaws.connectcases#ListLayouts": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListLayoutsRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListLayoutsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists all layouts in the given cases domain. Each list item is a condensed summary object\n of the layout.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/layouts-list", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#ListLayoutsRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.connectcases#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.connectcases#ListLayoutsResponse": { + "type": "structure", + "members": { + "layouts": { + "target": "com.amazonaws.connectcases#LayoutSummaryList", + "traits": { + "smithy.api#documentation": "The layouts for the domain.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. This is null if there are no more results to return.
" + } + } + } + }, + "com.amazonaws.connectcases#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists tags for a resource.
", + "smithy.api#http": { + "uri": "/tags/{arn}", + "method": "GET" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.connectcases#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN)
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
" + } + } + } + }, + "com.amazonaws.connectcases#ListTemplates": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListTemplatesRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListTemplatesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists all of the templates in a Cases domain. Each list item is a condensed summary\n object of the template.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/templates-list", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#ListTemplatesRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.connectcases#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.connectcases#ListTemplatesResponse": { + "type": "structure", + "members": { + "templates": { + "target": "com.amazonaws.connectcases#TemplateSummaryList", + "traits": { + "smithy.api#documentation": "List of template summary objects.
", + "smithy.api#length": { + "max": 100 + }, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. This is null if there are no more results to return.
" + } + } + } + }, + "com.amazonaws.connectcases#MaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.connectcases#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 9000 + } + } + }, + "com.amazonaws.connectcases#Order": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Asc", + "name": "ASCENDING" + }, + { + "value": "Desc", + "name": "DESCENDING" + } + ] + } + }, + "com.amazonaws.connectcases#PutCaseEventConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#PutCaseEventConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#PutCaseEventConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "API for adding case event publishing configuration
", + "smithy.api#http": { + "uri": "/domains/{domainId}/case-event-configuration", + "method": "PUT" + } + } + }, + "com.amazonaws.connectcases#PutCaseEventConfigurationRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "eventBridge": { + "target": "com.amazonaws.connectcases#EventBridgeConfiguration", + "traits": { + "smithy.api#documentation": "Configuration to enable EventBridge case event delivery and determine what data is\n delivered.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#PutCaseEventConfigurationResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.connectcases#RelatedItem": { + "type": "resource", + "identifiers": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId" + }, + "caseId": { + "target": "com.amazonaws.connectcases#CaseId" + }, + "relatedItemId": { + "target": "com.amazonaws.connectcases#RelatedItemId" + } + }, + "create": { + "target": "com.amazonaws.connectcases#CreateRelatedItem" + }, + "list": { + "target": "com.amazonaws.connectcases#SearchRelatedItems" + }, + "traits": { + "aws.api#arn": { + "template": "domain/{domainId}/case/{caseId}/related-item/{relatedItemId}" + } + } + }, + "com.amazonaws.connectcases#RelatedItemArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#RelatedItemContent": { + "type": "union", + "members": { + "contact": { + "target": "com.amazonaws.connectcases#ContactContent", + "traits": { + "smithy.api#documentation": "Represents the content of a contact to be returned to agents.
" + } + }, + "comment": { + "target": "com.amazonaws.connectcases#CommentContent", + "traits": { + "smithy.api#documentation": "Represents the content of a comment to be returned to agents.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the content of a particular type of related item.
" + } + }, + "com.amazonaws.connectcases#RelatedItemEventIncludedData": { + "type": "structure", + "members": { + "includeContent": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "Details of what related item data is published through the case event stream.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Details of what related item data is published through the case event stream.
" + } + }, + "com.amazonaws.connectcases#RelatedItemFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#RelatedItemTypeFilter" + } + }, + "com.amazonaws.connectcases#RelatedItemId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#RelatedItemInputContent": { + "type": "union", + "members": { + "contact": { + "target": "com.amazonaws.connectcases#Contact", + "traits": { + "smithy.api#documentation": "Object representing a contact in Amazon Connect as an API request field.
" + } + }, + "comment": { + "target": "com.amazonaws.connectcases#CommentContent", + "traits": { + "smithy.api#documentation": "Represents the content of a comment to be returned to agents.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the content of a related item to be created.
" + } + }, + "com.amazonaws.connectcases#RelatedItemType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Contact", + "name": "CONTACT" + }, + { + "value": "Comment", + "name": "COMMENT" + } + ] + } + }, + "com.amazonaws.connectcases#RelatedItemTypeFilter": { + "type": "union", + "members": { + "contact": { + "target": "com.amazonaws.connectcases#ContactFilter", + "traits": { + "smithy.api#documentation": "A filter for related items of type Contact.
A filter for related items of type Comment.
The list of types of related items and their parameters to use for filtering.
" + } + }, + "com.amazonaws.connectcases#RequiredField": { + "type": "structure", + "members": { + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "Unique identifier of a field.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "List of fields that must have a value provided to create a case.
" + } + }, + "com.amazonaws.connectcases#RequiredFieldList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#RequiredField" + }, + "traits": { + "smithy.api#length": { + "max": 100 + } + } + }, + "com.amazonaws.connectcases#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "resourceId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Unique identifier of the resource affected.
", + "smithy.api#required": {} + } + }, + "resourceType": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Type of the resource affected.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "We couldn't find the requested resource. Check that your resources exists and were created\n in the same Amazon Web Services Region as your request, and try your request again.
", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.connectcases#SearchCases": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#SearchCasesRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#SearchCasesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Searches for cases within their associated Cases domain. Search results are returned\n as a paginated list of abridged case documents.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/cases-search", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "cases" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#SearchCasesRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "The maximum number of cases to return. The current maximum supported value is 25. This is\n also the default value when no other value is provided.
", + "smithy.api#range": { + "min": 1, + "max": 25 + } + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
" + } + }, + "searchTerm": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "A word or phrase used to perform a quick search.
", + "smithy.api#length": { + "min": 0, + "max": 255 + } + } + }, + "filter": { + "target": "com.amazonaws.connectcases#CaseFilter", + "traits": { + "smithy.api#documentation": "A list of filter objects.
" + } + }, + "sorts": { + "target": "com.amazonaws.connectcases#SortList", + "traits": { + "smithy.api#documentation": "A list of sorts where each sort specifies a field and their sort order to be applied to\n the results.
", + "smithy.api#length": { + "min": 0, + "max": 2 + } + } + }, + "fields": { + "target": "com.amazonaws.connectcases#FieldIdentifierList", + "traits": { + "smithy.api#documentation": "The list of field identifiers to be returned as part of the response.
", + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + } + } + }, + "com.amazonaws.connectcases#SearchCasesResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. This is null if there are no more results to return.
" + } + }, + "cases": { + "target": "com.amazonaws.connectcases#SearchCasesResponseItemList", + "traits": { + "smithy.api#documentation": "A list of case documents where each case contains the properties CaseId and\n Fields where each field is a complex union structure.
A unique identifier of the case.
", + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "A unique identifier of a template.
", + "smithy.api#required": {} + } + }, + "fields": { + "target": "com.amazonaws.connectcases#FieldValueList", + "traits": { + "smithy.api#documentation": "List of case field values.
", + "smithy.api#length": { + "max": 10 + }, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A list of items that represent cases.
" + } + }, + "com.amazonaws.connectcases#SearchCasesResponseItemList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#SearchCasesResponseItem" + }, + "traits": { + "smithy.api#sparse": {} + } + }, + "com.amazonaws.connectcases#SearchRelatedItems": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#SearchRelatedItemsRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#SearchRelatedItemsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Searches for related items that are associated with a case.
\nIf no filters are provided, this returns all related items associated with a\n case.
\nThe unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "A unique identifier of the case.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#range": { + "min": 1, + "max": 25 + } + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
" + } + }, + "filters": { + "target": "com.amazonaws.connectcases#RelatedItemFilterList", + "traits": { + "smithy.api#documentation": "The list of types of related items and their parameters to use for filtering.
", + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + } + } + }, + "com.amazonaws.connectcases#SearchRelatedItemsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. This is null if there are no more results to return.
" + } + }, + "relatedItems": { + "target": "com.amazonaws.connectcases#SearchRelatedItemsResponseItemList", + "traits": { + "smithy.api#documentation": "A list of items related to a case.
", + "smithy.api#length": { + "max": 25 + }, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#SearchRelatedItemsResponseItem": { + "type": "structure", + "members": { + "relatedItemId": { + "target": "com.amazonaws.connectcases#RelatedItemId", + "traits": { + "smithy.api#documentation": "Unique identifier of a related item.
", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.connectcases#RelatedItemType", + "traits": { + "smithy.api#documentation": "Type of a related item.
", + "smithy.api#required": {} + } + }, + "associationTime": { + "target": "com.amazonaws.connectcases#AssociationTime", + "traits": { + "smithy.api#documentation": "Time at which a related item was associated with a case.
", + "smithy.api#required": {} + } + }, + "content": { + "target": "com.amazonaws.connectcases#RelatedItemContent", + "traits": { + "smithy.api#documentation": "Represents the content of a particular type of related item.
", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A list of items that represent RelatedItems.
" + } + }, + "com.amazonaws.connectcases#SearchRelatedItemsResponseItemList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#SearchRelatedItemsResponseItem" + }, + "traits": { + "smithy.api#sparse": {} + } + }, + "com.amazonaws.connectcases#Section": { + "type": "union", + "members": { + "fieldGroup": { + "target": "com.amazonaws.connectcases#FieldGroup", + "traits": { + "smithy.api#documentation": "Consists of a group of fields and associated properties.
" + } + } + }, + "traits": { + "smithy.api#documentation": "This represents a sections within a panel or tab of the page layout.
" + } + }, + "com.amazonaws.connectcases#SectionsList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#Section" + }, + "traits": { + "smithy.api#documentation": "Ordered list containing different kinds of sections that can be added.
", + "smithy.api#length": { + "max": 1 + } + } + }, + "com.amazonaws.connectcases#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The service quota has been exceeded. For a list of service quotas, see Amazon Connect Service Quotas in the Amazon Connect\n Administrator Guide.
", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.connectcases#Sort": { + "type": "structure", + "members": { + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "Unique identifier of a field.
", + "smithy.api#required": {} + } + }, + "sortOrder": { + "target": "com.amazonaws.connectcases#Order", + "traits": { + "smithy.api#documentation": "A structured set of sort terms
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "A structured set of sort terms.
" + } + }, + "com.amazonaws.connectcases#SortList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#Sort" + }, + "traits": { + "smithy.api#documentation": "/@documentation(\"The templateId\")" + } + }, + "com.amazonaws.connectcases#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" + } + }, + "com.amazonaws.connectcases#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.connectcases#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#TagResourceRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Adds tags to a resource.
", + "smithy.api#http": { + "uri": "/tags/{arn}", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#TagResourceRequest": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.connectcases#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN)
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#Tags": { + "type": "map", + "key": { + "target": "smithy.api#String" + }, + "value": { + "target": "smithy.api#String" + }, + "traits": { + "smithy.api#sparse": {} + } + }, + "com.amazonaws.connectcases#Template": { + "type": "resource", + "identifiers": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId" + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId" + } + }, + "create": { + "target": "com.amazonaws.connectcases#CreateTemplate" + }, + "read": { + "target": "com.amazonaws.connectcases#GetTemplate" + }, + "update": { + "target": "com.amazonaws.connectcases#UpdateTemplate" + }, + "list": { + "target": "com.amazonaws.connectcases#ListTemplates" + }, + "traits": { + "aws.api#arn": { + "template": "domain/{domainId}/template/{templateId}" + } + } + }, + "com.amazonaws.connectcases#TemplateArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#TemplateDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 255 + } + } + }, + "com.amazonaws.connectcases#TemplateId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#TemplateName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^.*[\\S]$" + } + }, + "com.amazonaws.connectcases#TemplateSummary": { + "type": "structure", + "members": { + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "The unique identifier for the template.
", + "smithy.api#required": {} + } + }, + "templateArn": { + "target": "com.amazonaws.connectcases#TemplateArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the template.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#TemplateName", + "traits": { + "smithy.api#documentation": "The template name.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Template summary information.
" + } + }, + "com.amazonaws.connectcases#TemplateSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#TemplateSummary" + } + }, + "com.amazonaws.connectcases#ThrottlingException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The rate has been exceeded for this API. Please try again after a few minutes.
", + "smithy.api#error": "client", + "smithy.api#httpError": 429, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.connectcases#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#UntagResourceRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Untags a resource.
", + "smithy.api#http": { + "uri": "/tags/{arn}", + "method": "DELETE" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#UntagResourceRequest": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.connectcases#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN)
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tagKeys": { + "target": "com.amazonaws.connectcases#TagKeyList", + "traits": { + "smithy.api#documentation": "List of tag keys.
", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#UpdateCase": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#UpdateCaseRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#UpdateCaseResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the values of fields on a case. Fields to be updated are\n received as an array of id/value pairs identical to the CreateCase input .
If the action is successful, the service sends back an HTTP 200 response with an empty\n HTTP body.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/cases/{caseId}", + "method": "PUT" + } + } + }, + "com.amazonaws.connectcases#UpdateCaseRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "A unique identifier of the case.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "fields": { + "target": "com.amazonaws.connectcases#FieldValueList", + "traits": { + "smithy.api#documentation": "An array of objects with fieldId (matching ListFields/DescribeField) and\n value union data, structured identical to CreateCase.
Updates the properties of an existing field.
", + "smithy.api#http": { + "uri": "/domains/{domainId}/fields/{fieldId}", + "method": "PUT" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#UpdateFieldRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "The unique identifier of a field.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#FieldName", + "traits": { + "smithy.api#documentation": "The name of the field.
" + } + }, + "description": { + "target": "com.amazonaws.connectcases#FieldDescription", + "traits": { + "smithy.api#documentation": "The description of a field.
" + } + } + } + }, + "com.amazonaws.connectcases#UpdateFieldResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.connectcases#UpdateLayout": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#UpdateLayoutRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#UpdateLayoutResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the attributes of an existing layout.
\nIf the action is successful, the service sends back an HTTP 200 response with an empty\n HTTP body.
\nA ValidationException is returned when you add non-existent\n fieldIds to a layout.
Title and Status fields cannot be part of layouts because they are not\n configurable.
\nThe unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "layoutId": { + "target": "com.amazonaws.connectcases#LayoutId", + "traits": { + "smithy.api#documentation": "The unique identifier of the layout.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#LayoutName", + "traits": { + "smithy.api#documentation": "The name of the layout. It must be unique per domain.
" + } + }, + "content": { + "target": "com.amazonaws.connectcases#LayoutContent", + "traits": { + "smithy.api#documentation": "Information about which fields will be present in the layout, the order of the fields, and\n a read-only attribute of the field.
" + } + } + } + }, + "com.amazonaws.connectcases#UpdateLayoutResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.connectcases#UpdateTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#UpdateTemplateRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#UpdateTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the attributes of an existing template. The template attributes that can be\n modified include name, description, layouts,\n and requiredFields. At least one of these\n attributes must not be null. If a null value is provided for a given attribute, that attribute\n is ignored and its current value is preserved.
The unique identifier of the Cases domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "A unique identifier for the template.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#TemplateName", + "traits": { + "smithy.api#documentation": "The name of the template. It must be unique per domain.
" + } + }, + "description": { + "target": "com.amazonaws.connectcases#TemplateDescription", + "traits": { + "smithy.api#documentation": "A brief description of the template.
" + } + }, + "layoutConfiguration": { + "target": "com.amazonaws.connectcases#LayoutConfiguration", + "traits": { + "smithy.api#documentation": "Configuration of layouts associated to the template.
" + } + }, + "requiredFields": { + "target": "com.amazonaws.connectcases#RequiredFieldList", + "traits": { + "smithy.api#documentation": "A list of fields that must contain a value for a case to be successfully created with this\n template.
" + } + } + } + }, + "com.amazonaws.connectcases#UpdateTemplateResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.connectcases#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request isn't valid. Check the syntax and try again.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.connectcases#Value": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 100 + } + } + }, + "com.amazonaws.connectcases#ValuesList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#Value" + }, + "traits": { + "smithy.api#length": { + "max": 1 + } + } + } + } +} diff --git a/codegen/sdk/aws-models/connectparticipant.json b/codegen/sdk/aws-models/connectparticipant.json index 061b5d6e97c..4576665361c 100644 --- a/codegen/sdk/aws-models/connectparticipant.json +++ b/codegen/sdk/aws-models/connectparticipant.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -47,21 +47,6 @@ }, "com.amazonaws.connectparticipant#AmazonConnectParticipantServiceLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ConnectParticipant", - "arnNamespace": "connect", - "cloudFormationName": "ConnectParticipant", - "cloudTrailEventSource": "connectparticipant.amazonaws.com", - "endpointPrefix": "participant.connect" - }, - "aws.auth#sigv4": { - "name": "execute-api" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage\n a customer contact center and provide reliable customer engagement at any scale.
\nAmazon Connect enables customer contacts through voice or chat.
\n\nThe APIs described here are used by chat participants, such as agents and\n customers.
", - "smithy.api#title": "Amazon Connect Participant Service" - }, "version": "2018-09-07", "operations": [ { @@ -88,7 +73,22 @@ { "target": "com.amazonaws.connectparticipant#StartAttachmentUpload" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ConnectParticipant", + "arnNamespace": "connect", + "cloudFormationName": "ConnectParticipant", + "cloudTrailEventSource": "connectparticipant.amazonaws.com", + "endpointPrefix": "participant.connect" + }, + "aws.auth#sigv4": { + "name": "execute-api" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage\n a customer contact center and provide reliable customer engagement at any scale.
\nAmazon Connect enables customer contacts through voice or chat.
\n\nThe APIs described here are used by chat participants, such as agents and\n customers.
", + "smithy.api#title": "Amazon Connect Participant Service" + } }, "com.amazonaws.connectparticipant#ArtifactId": { "type": "string", @@ -174,6 +174,7 @@ "com.amazonaws.connectparticipant#AttachmentSizeInBytes": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -186,10 +187,7 @@ } }, "com.amazonaws.connectparticipant#Bool": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.connectparticipant#ChatContent": { "type": "string", @@ -677,7 +675,7 @@ "MaxResults": { "target": "com.amazonaws.connectparticipant#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return in the page. Default: 10.
" } }, @@ -831,6 +829,7 @@ "com.amazonaws.connectparticipant#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -843,6 +842,7 @@ "com.amazonaws.connectparticipant#MostRecent": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -1187,6 +1187,7 @@ "AttachmentSizeInBytes": { "target": "com.amazonaws.connectparticipant#AttachmentSizeInBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the attachment in bytes.
", "smithy.api#required": {} } @@ -1251,6 +1252,7 @@ "MostRecent": { "target": "com.amazonaws.connectparticipant#MostRecent", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The start position of the most recent message where you want to start.
" } } diff --git a/codegen/sdk/aws-models/controltower.json b/codegen/sdk/aws-models/controltower.json index c5970988a22..a3eabab406b 100644 --- a/codegen/sdk/aws-models/controltower.json +++ b/codegen/sdk/aws-models/controltower.json @@ -1,8 +1,23 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.controltower#AWSControlTowerApis": { "type": "service", + "version": "2018-05-10", + "operations": [ + { + "target": "com.amazonaws.controltower#DisableControl" + }, + { + "target": "com.amazonaws.controltower#EnableControl" + }, + { + "target": "com.amazonaws.controltower#GetControlOperation" + }, + { + "target": "com.amazonaws.controltower#ListEnabledControls" + } + ], "traits": { "aws.api#service": { "sdkId": "ControlTower", @@ -36,22 +51,7 @@ }, "smithy.api#documentation": "These interfaces allow you to apply the AWS library of pre-defined controls to your\norganizational units, programmatically. In this context, controls are the same as AWS Control Tower guardrails.
\nTo call these APIs, you'll need to know:
\nthe ControlARN for the control--that is, the\n guardrail--you are targeting,
and the ARN associated with the target organizational unit (OU).
\n\n To get the ControlARN for your AWS Control Tower guardrail:\n
The ControlARN contains the control name which is specified in each guardrail. For a list of control names for Strongly recommended and Elective guardrails, see Resource identifiers for APIs and guardrails in the Automating tasks section of the AWS Control Tower User Guide. Remember that Mandatory guardrails cannot be added or removed.
\n ARN format: \n arn:aws:controltower:{REGION}::control/{CONTROL_NAME}\n
\n Example:\n
\n\n arn:aws:controltower:us-west-2::control/AWS-GR_AUTOSCALING_LAUNCH_CONFIG_PUBLIC_IP_DISABLED\n
\n To get the ARN for an OU:\n
\nIn the AWS Organizations console, you can find the ARN for the OU on the Organizational unit details page associated with that OU.
\n\n OU ARN format:\n
\n\n arn:${Partition}:organizations::${MasterAccountId}:ou/o-${OrganizationId}/ou-${OrganizationalUnitId}\n
\n Details and examples\n
\n\n Creating AWS Control Tower resources with AWS CloudFormation\n
\nTo view the open source resource repository on GitHub, see aws-cloudformation/aws-cloudformation-resource-providers-controltower\n
\n\n Recording API Requests\n
\nAWS Control Tower supports AWS CloudTrail, a service that records AWS API calls for your AWS account and delivers log files to an Amazon S3 bucket. By using information collected by CloudTrail, you can determine which requests the AWS Control Tower service received, who made the request and when, and so on. For more about AWS Control Tower and its support for CloudTrail, see Logging AWS Control Tower Actions with AWS CloudTrail in the AWS Control Tower User Guide. To learn more about CloudTrail, including how to turn it on and find your log files, see the AWS CloudTrail User Guide.
", "smithy.api#title": "AWS Control Tower" - }, - "version": "2018-05-10", - "operations": [ - { - "target": "com.amazonaws.controltower#DisableControl" - }, - { - "target": "com.amazonaws.controltower#EnableControl" - }, - { - "target": "com.amazonaws.controltower#GetControlOperation" - }, - { - "target": "com.amazonaws.controltower#ListEnabledControls" - } - ] + } }, "com.amazonaws.controltower#AccessDeniedException": { "type": "structure", @@ -493,7 +493,6 @@ "com.amazonaws.controltower#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -613,4 +612,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/cost-explorer.json b/codegen/sdk/aws-models/cost-explorer.json index 62f63285045..92967a31e98 100644 --- a/codegen/sdk/aws-models/cost-explorer.json +++ b/codegen/sdk/aws-models/cost-explorer.json @@ -3207,8 +3207,6 @@ "Context": { "target": "com.amazonaws.costexplorer#Context", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "COST_AND_USAGE", "smithy.api#documentation": "The context for the call to GetDimensionValues. This can be RESERVATIONS or COST_AND_USAGE. \n\t\t\tThe default value is COST_AND_USAGE. If the context is set to RESERVATIONS, the resulting dimension values \n\t\t\tcan be used in the GetReservationUtilization operation. If the context is set to COST_AND_USAGE, \n\t\t\tthe resulting dimension values can be used in the GetCostAndUsage operation.
If you set the context to COST_AND_USAGE, you can use the following \n dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible values are the following:
\n- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services.
\n- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an\n acting reseller for Amazon Web Services in India.
\n- Amazon Web Services Marketplace: The entity that supports the sale of solutions that are\n built on Amazon Web Services by third-party software providers.
\nCACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
\nDEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ.
DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL.
\nINSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge.
INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit different use cases.\n Examples are Compute Optimized (for example, C4,\n C5, C6g, and C7g), Memory Optimization\n (for example, R4, R5n, R5b, and\n R6g).
INVOICING_ENTITY - The name of the entity that issues the Amazon Web Services\n invoice.
\nLEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.
\nLINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value \n field contains the Amazon Web Services ID of the member account.
\nOPERATING_SYSTEM - The operating system. Examples are Windows or Linux.
\nOPERATION - The action performed. Examples include RunInstance and CreateBucket.
PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
\nPURCHASE_TYPE - The reservation type of the purchase that this usage is related to.\n Examples include On-Demand Instances and Standard Reserved Instances.
\nRESERVATION_ID - The unique identifier for an Amazon Web Services Reservation Instance.
\nSAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
\nSAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute).
\nSERVICE - The Amazon Web Services service such as Amazon DynamoDB.
\nTENANCY - The tenancy of a resource. Examples are shared or dedicated.
\nUSAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation\n includes a unit attribute. Examples include GB and Hrs.
USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this \n operation includes a unit attribute.
\nREGION - The Amazon Web Services Region.
\nRECORD_TYPE - The different types of charges such as Reserved Instance (RI) fees, usage\n costs, tax refunds, and credits.
\nRESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.
\nIf you set the context to RESERVATIONS, you can use the following \n dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a.
CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
\nDEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ.
INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge.
LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value \n field contains the Amazon Web Services ID of the member account.
\nPLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
\nREGION - The Amazon Web Services Region.
\nSCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone.
\nTAG (Coverage only) - The tags that are associated with a Reserved Instance (RI).
\nTENANCY - The tenancy of a resource. Examples are shared or dedicated.
\nIf you set the context to SAVINGS_PLANS, you can use the following dimensions for searching:
SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)
\nPAYMENT_OPTION - The payment option for the given Savings Plans (for example, All\n Upfront)
\nREGION - The Amazon Web Services Region.
\nINSTANCE_TYPE_FAMILY - The family of instances (For example, m5)
LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value \n field contains the Amazon Web Services ID of the member account.
\nSAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
\nIf GroupBy is set, Granularity can't be set. If Granularity isn't set, \n\t\t\tthe response object doesn't include Granularity, either MONTHLY or DAILY. \n\t\t\tIf both GroupBy and Granularity aren't set, GetReservationUtilization defaults to DAILY.
The GetReservationUtilization operation supports only DAILY and MONTHLY granularities.
The option to see recommendations within the same instance family or recommendations\n for instances across other families. The default value is\n SAME_INSTANCE_FAMILY.
Number of records processed in APPFLOW_INTEGRATION workflow.
Total steps completed in APPFLOW_INTEGRATION workflow.
Total steps in APPFLOW_INTEGRATION workflow.
Total number of records processed during execution of workflow step for APPFLOW_INTEGRATION workflow.
Welcome to the Amazon Connect Customer Profiles API Reference. This guide provides information\n about the Amazon Connect Customer Profiles API, including supported operations, data types,\n parameters, and schemas.
\nAmazon Connect Customer Profiles is a unified customer profile for your contact center that has\n pre-built connectors powered by AppFlow that make it easy to combine customer information\n from third party applications, such as Salesforce (CRM), ServiceNow (ITSM), and your\n enterprise resource planning (ERP), with contact history from your Amazon Connect contact\n center.
\nIf you're new to Amazon Connect , you might find it helpful to also review the Amazon Connect Administrator Guide.
", - "smithy.api#title": "Amazon Connect Customer Profiles" - }, "version": "2020-08-15", "operations": [ { @@ -1100,7 +1089,22 @@ { "target": "com.amazonaws.customerprofiles#UpdateProfile" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Customer Profiles", + "arnNamespace": "profile", + "cloudFormationName": "CustomerProfiles", + "cloudTrailEventSource": "customerprofiles.amazonaws.com", + "endpointPrefix": "profile" + }, + "aws.auth#sigv4": { + "name": "profile" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Welcome to the Amazon Connect Customer Profiles API Reference. This guide provides information\n about the Amazon Connect Customer Profiles API, including supported operations, data types,\n parameters, and schemas.
\nAmazon Connect Customer Profiles is a unified customer profile for your contact center that has\n pre-built connectors powered by AppFlow that make it easy to combine customer information\n from third party applications, such as Salesforce (CRM), ServiceNow (ITSM), and your\n enterprise resource planning (ERP), with contact history from your Amazon Connect contact\n center.
\nIf you're new to Amazon Connect , you might find it helpful to also review the Amazon Connect Administrator Guide.
", + "smithy.api#title": "Amazon Connect Customer Profiles" + } }, "com.amazonaws.customerprofiles#DataPullMode": { "type": "string", @@ -1626,24 +1630,28 @@ "ProfileCount": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of profiles currently in the domain.
" } }, "MeteringProfileCount": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of profiles that you are currently paying for in the domain. If you have more\n than 100 objects associated with a single profile, that profile counts as two profiles. If\n you have more than 200 objects, that profile counts as three, and so on.
" } }, "ObjectCount": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of objects in domain.
" } }, "TotalSize": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total size, in bytes, of all objects in the domain.
" } } @@ -1653,15 +1661,11 @@ } }, "com.amazonaws.customerprofiles#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.customerprofiles#Double0To1": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0.0, "max": 1.0 @@ -2040,18 +2044,21 @@ "NumberOfMatchesInSample": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of match groups in the domain that have been reviewed in this preview dry\n run.
" } }, "NumberOfProfilesInSample": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of profiles found in this preview dry run.
" } }, "NumberOfProfilesWillBeMerged": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of profiles that would be merged if this wasn't a preview dry run.
" } } @@ -2592,6 +2599,7 @@ "AllowProfileCreation": { "target": "com.amazonaws.customerprofiles#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a profile should be created when data is received if one doesn’t exist\n for an object of this type. The default is FALSE. If the AllowProfileCreation\n flag is set to FALSE, then the service tries to fetch a standard profile and\n associate this object with the profile. If it is set to TRUE, and if no match\n is found, then the service creates a new standard profile.
Indicates whether a profile should be created when data is received if one doesn’t exist\n for an object of this type. The default is FALSE. If the AllowProfileCreation\n flag is set to FALSE, then the service tries to fetch a standard profile and\n associate this object with the profile. If it is set to TRUE, and if no match\n is found, then the service creates a new standard profile.
The number of profiles reviewed.
" } }, "NumberOfMatchesFound": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of matches found.
" } }, "NumberOfMergesDone": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of merges completed.
" } } @@ -5091,6 +5103,7 @@ "AllowProfileCreation": { "target": "com.amazonaws.customerprofiles#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a profile should be created when data is received if one doesn’t exist\n for an object of this type. The default is FALSE. If the AllowProfileCreation\n flag is set to FALSE, then the service tries to fetch a standard profile and\n associate this object with the profile. If it is set to TRUE, and if no match\n is found, then the service creates a new standard profile.
Indicates whether a profile should be created when data is received if one doesn’t exist\n for an object of this type. The default is FALSE. If the AllowProfileCreation\n flag is set to FALSE, then the service tries to fetch a standard profile and\n associate this object with the profile. If it is set to TRUE, and if no match\n is found, then the service creates a new standard profile.
The flag that enables dynamic fetching of new (recently added) fields in the Salesforce\n objects while running a flow.
" } }, "IncludeDeletedRecords": { "target": "com.amazonaws.customerprofiles#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Amazon AppFlow includes deleted files in the flow run.
" } } @@ -5502,6 +5518,7 @@ "com.amazonaws.customerprofiles#ScheduleOffset": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 36000 @@ -5545,7 +5562,7 @@ "ScheduleOffset": { "target": "com.amazonaws.customerprofiles#ScheduleOffset", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Specifies the optional offset that is added to the time interval for a\n schedule-triggered flow.
" } }, @@ -6817,7 +6834,10 @@ } }, "com.amazonaws.customerprofiles#boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.customerprofiles#encryptionKey": { "type": "string", @@ -6831,7 +6851,6 @@ "com.amazonaws.customerprofiles#expirationDaysInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1098 @@ -6839,12 +6858,14 @@ } }, "com.amazonaws.customerprofiles#long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.customerprofiles#matchesNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6853,7 +6874,6 @@ "com.amazonaws.customerprofiles#maxSize100": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -6874,10 +6894,7 @@ } }, "com.amazonaws.customerprofiles#optionalBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.customerprofiles#requestValueList": { "type": "list", diff --git a/codegen/sdk/aws-models/data-pipeline.json b/codegen/sdk/aws-models/data-pipeline.json index c616a05b73c..0de1c8de114 100644 --- a/codegen/sdk/aws-models/data-pipeline.json +++ b/codegen/sdk/aws-models/data-pipeline.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -353,6 +353,9 @@ "input": { "target": "com.amazonaws.datapipeline#DeletePipelineInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.datapipeline#InternalServiceError" @@ -434,6 +437,7 @@ "evaluateExpressions": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.
" } }, @@ -467,6 +471,7 @@ "hasMoreResults": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether there are more results to return.
" } } @@ -812,6 +817,7 @@ "hasMoreResults": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether there are more results that can be obtained by a subsequent call.
" } } @@ -1234,6 +1240,7 @@ "errored": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether there were validation errors, and the pipeline definition is stored but cannot be \n activated until you correct the pipeline and call PutPipelineDefinition to commit the corrected pipeline.
Indicates whether there are more results that can be obtained by a subsequent call.
" } } @@ -1466,6 +1474,7 @@ "canceled": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.
", "smithy.api#required": {} } @@ -1528,6 +1537,7 @@ "terminate": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the calling task runner should terminate.
", "smithy.api#required": {} } @@ -1568,6 +1578,9 @@ "input": { "target": "com.amazonaws.datapipeline#SetStatusInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.datapipeline#InternalServiceError" @@ -1857,6 +1870,7 @@ "errored": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether there were validation errors.
", "smithy.api#required": {} } @@ -1939,14 +1953,14 @@ } }, "com.amazonaws.datapipeline#boolean": { - "type": "boolean" - }, - "com.amazonaws.datapipeline#cancelActive": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.datapipeline#cancelActive": { + "type": "boolean" + }, "com.amazonaws.datapipeline#errorMessage": { "type": "string" }, @@ -1993,10 +2007,7 @@ } }, "com.amazonaws.datapipeline#int": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.datapipeline#longString": { "type": "string", diff --git a/codegen/sdk/aws-models/database-migration-service.json b/codegen/sdk/aws-models/database-migration-service.json index 32459c14cab..a1ae590e147 100644 --- a/codegen/sdk/aws-models/database-migration-service.json +++ b/codegen/sdk/aws-models/database-migration-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -56,12 +56,14 @@ "Used": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount currently used toward the quota maximum.
" } }, "Max": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum allowed value for the quota.
" } } @@ -127,24 +129,6 @@ }, "com.amazonaws.databasemigrationservice#AmazonDMSv20160101": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Database Migration Service", - "arnNamespace": "dms", - "cloudFormationName": "DMS", - "cloudTrailEventSource": "databasemigrationservice.amazonaws.com", - "endpointPrefix": "dms" - }, - "aws.auth#sigv4": { - "name": "dms" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Database Migration Service (DMS) can migrate your data to and from the most\n widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL\n Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise\n (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as\n heterogeneous migrations between different database platforms, such as Oracle to MySQL or\n SQL Server to PostgreSQL.
\nFor more information about DMS, see What Is Database Migration Service?\n in the Database Migration Service User Guide.\n
", - "smithy.api#title": "AWS Database Migration Service", - "smithy.api#xmlNamespace": { - "uri": "http://dms.amazonaws.com/doc/2016-01-01/" - } - }, "version": "2016-01-01", "operations": [ { @@ -342,7 +326,25 @@ { "target": "com.amazonaws.databasemigrationservice#UpdateSubscriptionsToEventBridge" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Database Migration Service", + "arnNamespace": "dms", + "cloudFormationName": "DMS", + "cloudTrailEventSource": "databasemigrationservice.amazonaws.com", + "endpointPrefix": "dms" + }, + "aws.auth#sigv4": { + "name": "dms" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Database Migration Service (DMS) can migrate your data to and from the most\n widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL\n Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise\n (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as\n heterogeneous migrations between different database platforms, such as Oracle to MySQL or\n SQL Server to PostgreSQL.
\nFor more information about DMS, see What Is Database Migration Service?\n in the Database Migration Service User Guide.\n
", + "smithy.api#title": "AWS Database Migration Service", + "smithy.api#xmlNamespace": { + "uri": "http://dms.amazonaws.com/doc/2016-01-01/" + } + } }, "com.amazonaws.databasemigrationservice#ApplyPendingMaintenanceAction": { "type": "operation", @@ -465,14 +467,14 @@ } }, "com.amazonaws.databasemigrationservice#Boolean": { - "type": "boolean" - }, - "com.amazonaws.databasemigrationservice#BooleanOptional": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.databasemigrationservice#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.databasemigrationservice#CancelReplicationTaskAssessmentRun": { "type": "operation", "input": { @@ -4823,10 +4825,7 @@ } }, "com.amazonaws.databasemigrationservice#DoubleOptional": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.databasemigrationservice#DynamoDbSettings": { "type": "structure", @@ -5377,6 +5376,7 @@ "Enabled": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value that indicates if the event subscription is enabled.
" } } @@ -5771,7 +5771,10 @@ } }, "com.amazonaws.databasemigrationservice#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.databasemigrationservice#IntegerList": { "type": "list", @@ -5780,10 +5783,7 @@ } }, "com.amazonaws.databasemigrationservice#IntegerOptional": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.databasemigrationservice#InvalidCertificateFault": { "type": "structure", @@ -6211,14 +6211,14 @@ } }, "com.amazonaws.databasemigrationservice#Long": { - "type": "long" - }, - "com.amazonaws.databasemigrationservice#LongOptional": { "type": "long", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.databasemigrationservice#LongOptional": { + "type": "long" + }, "com.amazonaws.databasemigrationservice#MessageFormatValue": { "type": "string", "traits": { @@ -6746,6 +6746,7 @@ "ApplyImmediately": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the changes should be applied immediately or during the next\n maintenance window.
" } }, @@ -6782,6 +6783,7 @@ "AllowMajorVersionUpgrade": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates that major version upgrades are allowed. Changing this parameter does not\n result in an outage, and the change is asynchronously applied as soon as possible.
\nThis parameter must be set to true when specifying a value for the\n EngineVersion parameter that is a different major version than the\n replication instance's current version.
The minimum amount of storage (in gigabytes) that can be allocated for the replication\n instance.
" } }, "MaxAllocatedStorage": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum amount of storage (in gigabytes) that can be allocated for the replication\n instance.
" } }, "DefaultAllocatedStorage": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The default amount of storage (in gigabytes) that is allocated for the replication\n instance.
" } }, "IncludedAllocatedStorage": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of storage (in gigabytes) that is allocated for the replication\n instance.
" } }, @@ -7939,6 +7945,7 @@ "Port": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Transmission Control Protocol (TCP) port for the endpoint.
", "smithy.api#required": {} } @@ -8452,6 +8459,7 @@ "AllocatedStorage": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of storage (in gigabytes) that is allocated for the replication\n instance.
" } }, @@ -8494,6 +8502,7 @@ "MultiAZ": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": " Specifies whether the replication instance is a Multi-AZ deployment. You can't set the\n AvailabilityZone parameter if the Multi-AZ parameter is set to\n true.
Boolean value indicating if minor version upgrades will be automatically applied to the\n instance.
" } }, @@ -8550,6 +8560,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": " Specifies the accessibility options for the replication instance. A value of\n true represents an instance with a public IP address. A value of\n false represents an instance with a private IP address. The default value\n is true.
The size, in bytes, of the replication task log.
" } } @@ -8996,12 +9008,14 @@ "IndividualAssessmentCount": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of individual assessments that are specified to run.
" } }, "IndividualAssessmentCompletedCount": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of individual assessments that have completed, successfully or not.
" } } @@ -9069,36 +9083,42 @@ "FullLoadProgressPercent": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percent complete for the full load migration task.
" } }, "ElapsedTimeMillis": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The elapsed time of the task, in milliseconds.
" } }, "TablesLoaded": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of tables loaded for this task.
" } }, "TablesLoading": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of tables currently loading for this task.
" } }, "TablesQueued": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of tables queued for this task.
" } }, "TablesErrored": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of errors that have occurred during this task.
" } }, @@ -10155,6 +10175,7 @@ "SupportsCDC": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if change data capture (CDC) is supported.
" } }, @@ -10267,42 +10288,49 @@ "Inserts": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of insert actions performed on a table.
" } }, "Deletes": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of delete actions performed on a table.
" } }, "Updates": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of update actions performed on a table.
" } }, "Ddls": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The data definition language (DDL) used to build and modify the structure of your tables.
" } }, "FullLoadRows": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of rows added during the full load operation.
" } }, "FullLoadCondtnlChkFailedRows": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of rows that failed conditional checks during the full load operation (valid\n only for migrations where DynamoDB is the target).
" } }, "FullLoadErrorRows": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of rows that failed to load during the full load operation (valid only for\n migrations where DynamoDB is the target).
" } }, @@ -10339,18 +10367,21 @@ "ValidationPendingRecords": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of records that have yet to be validated.
" } }, "ValidationFailedRecords": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of records that failed validation.
" } }, "ValidationSuspendedRecords": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of records that couldn't be validated.
" } }, diff --git a/codegen/sdk/aws-models/databrew.json b/codegen/sdk/aws-models/databrew.json index c8a9dc711cb..ec70aa8e615 100644 --- a/codegen/sdk/aws-models/databrew.json +++ b/codegen/sdk/aws-models/databrew.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.databrew#AWSGlueDataBrew": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DataBrew", - "arnNamespace": "databrew", - "cloudFormationName": "DataBrew", - "cloudTrailEventSource": "databrew.amazonaws.com", - "endpointPrefix": "databrew" - }, - "aws.auth#sigv4": { - "name": "databrew" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Glue DataBrew is a visual, cloud-scale data-preparation service. DataBrew\n simplifies data preparation tasks, targeting data issues that are hard to spot and\n time-consuming to fix. DataBrew empowers users of all technical levels to visualize the\n data and perform one-click data transformations, with no coding required.
", - "smithy.api#title": "AWS Glue DataBrew" - }, "version": "2017-07-25", "operations": [ { @@ -180,7 +165,22 @@ { "target": "com.amazonaws.databrew#UpdateSchedule" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DataBrew", + "arnNamespace": "databrew", + "cloudFormationName": "DataBrew", + "cloudTrailEventSource": "databrew.amazonaws.com", + "endpointPrefix": "databrew" + }, + "aws.auth#sigv4": { + "name": "databrew" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Glue DataBrew is a visual, cloud-scale data-preparation service. DataBrew\n simplifies data preparation tasks, targeting data issues that are hard to spot and\n time-consuming to fix. DataBrew empowers users of all technical levels to visualize the\n data and perform one-click data transformations, with no coding required.
", + "smithy.api#title": "AWS Glue DataBrew" + } }, "com.amazonaws.databrew#AccessDeniedException": { "type": "structure", @@ -205,10 +205,7 @@ } }, "com.amazonaws.databrew#ActionId": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.databrew#AllowedStatisticList": { "type": "list", @@ -261,10 +258,16 @@ } }, "com.amazonaws.databrew#AssumeControl": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.databrew#Attempt": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.databrew#BatchDeleteRecipeVersion": { "type": "operation", @@ -395,7 +398,6 @@ "com.amazonaws.databrew#ColumnRange": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 20 @@ -575,7 +577,10 @@ } }, "com.amazonaws.databrew#CreateColumn": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.databrew#CreateDataset": { "type": "operation", @@ -731,12 +736,14 @@ "MaxCapacity": { "target": "com.amazonaws.databrew#MaxCapacity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of nodes that DataBrew can use when the job processes data.
" } }, "MaxRetries": { "target": "com.amazonaws.databrew#MaxRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of times to retry the job after a job run fails.
" } }, @@ -774,6 +781,7 @@ "Timeout": { "target": "com.amazonaws.databrew#Timeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.
The maximum number of nodes that DataBrew can consume when the job processes\n data.
" } }, "MaxRetries": { "target": "com.amazonaws.databrew#MaxRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of times to retry the job after a job run fails.
" } }, @@ -1033,6 +1043,7 @@ "Timeout": { "target": "com.amazonaws.databrew#Timeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.
A value that, if true, means that any data in the location specified for output \n is overwritten with new output. Not supported with DatabaseOptions.
" } } @@ -1627,6 +1639,7 @@ "CreateColumn": { "target": "com.amazonaws.databrew#CreateColumn", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Optional boolean value that defines whether the captured value of this parameter \n should be used to create a new column in a dataset.
" } }, @@ -2237,12 +2250,14 @@ "MaxCapacity": { "target": "com.amazonaws.databrew#MaxCapacity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of compute nodes that DataBrew can consume when the job processes\n data.
" } }, "MaxRetries": { "target": "com.amazonaws.databrew#MaxRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of times to retry the job after a job run fails.
" } }, @@ -2306,6 +2321,7 @@ "Timeout": { "target": "com.amazonaws.databrew#Timeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.
The number of times that DataBrew has attempted to run the job.
" } }, @@ -2393,6 +2410,7 @@ "ExecutionTime": { "target": "com.amazonaws.databrew#ExecutionTime", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time, in seconds, during which the job run consumed resources.
" } }, @@ -2937,7 +2955,10 @@ } }, "com.amazonaws.databrew#Disabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.databrew#EncryptionKeyArn": { "type": "string", @@ -3038,7 +3059,10 @@ } }, "com.amazonaws.databrew#ExecutionTime": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.databrew#Expression": { "type": "string", @@ -3056,6 +3080,7 @@ "MaxFiles": { "target": "com.amazonaws.databrew#MaxFiles", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of Amazon S3 files to select.
", "smithy.api#required": {} } @@ -3135,10 +3160,7 @@ } }, "com.amazonaws.databrew#HeaderRow": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.databrew#HiddenColumnList": { "type": "list", @@ -3291,12 +3313,14 @@ "MaxCapacity": { "target": "com.amazonaws.databrew#MaxCapacity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of nodes that can be consumed when the job processes data.
" } }, "MaxRetries": { "target": "com.amazonaws.databrew#MaxRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of times to retry the job after a job run fails.
" } }, @@ -3345,6 +3369,7 @@ "Timeout": { "target": "com.amazonaws.databrew#Timeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.
The number of times that DataBrew has attempted to run the job.
" } }, @@ -3428,6 +3454,7 @@ "ExecutionTime": { "target": "com.amazonaws.databrew#ExecutionTime", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time, in seconds, during which a job run consumed resources.
" } }, @@ -3588,10 +3615,7 @@ } }, "com.amazonaws.databrew#JobSize": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.databrew#JobType": { "type": "string", @@ -3614,6 +3638,7 @@ "MultiLine": { "target": "com.amazonaws.databrew#MultiLine", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that specifies whether JSON input contains embedded new line\n characters.
" } } @@ -4298,11 +4323,15 @@ } }, "com.amazonaws.databrew#MaxCapacity": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.databrew#MaxFiles": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -4311,7 +4340,6 @@ "com.amazonaws.databrew#MaxOutputFiles": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 999 @@ -4321,7 +4349,6 @@ "com.amazonaws.databrew#MaxResults100": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4331,6 +4358,7 @@ "com.amazonaws.databrew#MaxRetries": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4354,7 +4382,10 @@ } }, "com.amazonaws.databrew#MultiLine": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.databrew#NextToken": { "type": "string", @@ -4435,6 +4466,7 @@ "Overwrite": { "target": "com.amazonaws.databrew#OverwriteOutput", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that, if true, means that any data in the location specified for output is\n overwritten with new output.
" } }, @@ -4520,7 +4552,10 @@ } }, "com.amazonaws.databrew#OverwriteOutput": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.databrew#ParameterMap": { "type": "map", @@ -4621,7 +4656,10 @@ } }, "com.amazonaws.databrew#Preview": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.databrew#ProfileConfiguration": { "type": "structure", @@ -5088,10 +5126,7 @@ "type": "string" }, "com.amazonaws.databrew#RowRange": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.databrew#Rule": { "type": "structure", @@ -5106,6 +5141,7 @@ "Disabled": { "target": "com.amazonaws.databrew#Disabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that specifies whether the rule is disabled. Once a rule is \n disabled, a profile job will not validate it during a job run. Default \n value is false.
" } }, @@ -5142,6 +5178,7 @@ "com.amazonaws.databrew#RuleCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -5231,6 +5268,7 @@ "RuleCount": { "target": "com.amazonaws.databrew#RuleCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of rules that are defined in the ruleset.
" } }, @@ -5348,7 +5386,6 @@ "com.amazonaws.databrew#SampleSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5000 @@ -5492,6 +5529,7 @@ "Preview": { "target": "com.amazonaws.databrew#Preview", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, the result of the recipe step will be returned, but not applied.
" } }, @@ -5610,7 +5648,6 @@ "com.amazonaws.databrew#SheetIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 200 @@ -5672,7 +5709,6 @@ "com.amazonaws.databrew#StartColumnIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -5779,6 +5815,7 @@ "AssumeControl": { "target": "com.amazonaws.databrew#AssumeControl", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that, if true, enables you to take control of a session, even if a different\n client is currently accessing the project.
" } } @@ -5805,7 +5842,6 @@ "com.amazonaws.databrew#StartRowIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -5891,7 +5927,6 @@ "com.amazonaws.databrew#StepIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6076,6 +6111,7 @@ "Value": { "target": "com.amazonaws.databrew#ThresholdValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of a threshold.
", "smithy.api#required": {} } @@ -6138,6 +6174,7 @@ "com.amazonaws.databrew#ThresholdValue": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -6146,6 +6183,7 @@ "com.amazonaws.databrew#Timeout": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -6354,12 +6392,14 @@ "MaxCapacity": { "target": "com.amazonaws.databrew#MaxCapacity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of compute nodes that DataBrew can use when the job processes\n data.
" } }, "MaxRetries": { "target": "com.amazonaws.databrew#MaxRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of times to retry the job after a job run fails.
" } }, @@ -6385,6 +6425,7 @@ "Timeout": { "target": "com.amazonaws.databrew#Timeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.
The maximum number of nodes that DataBrew can consume when the job processes\n data.
" } }, "MaxRetries": { "target": "com.amazonaws.databrew#MaxRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of times to retry the job after a job run fails.
" } }, @@ -6596,6 +6639,7 @@ "Timeout": { "target": "com.amazonaws.databrew#Timeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.
To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
" } }, @@ -893,6 +894,7 @@ "Revoked": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A status indicating that subscribers' access to the revision was revoked.
" } }, @@ -906,20 +908,6 @@ }, "com.amazonaws.dataexchange#DataExchange": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DataExchange", - "arnNamespace": "dataexchange", - "cloudTrailEventSource": "dataexchange.amazonaws.com", - "endpointPrefix": "dataexchange" - }, - "aws.auth#sigv4": { - "name": "dataexchange" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.
\nAs a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIS to download or copy your entitled data sets to Amazon S3 for use across a variety of AWS analytics and machine learning services.
\nAs a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.
\nA data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.
", - "smithy.api#title": "AWS Data Exchange" - }, "version": "2017-07-25", "operations": [ { @@ -1009,7 +997,21 @@ { "target": "com.amazonaws.dataexchange#UpdateRevision" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DataExchange", + "arnNamespace": "dataexchange", + "cloudTrailEventSource": "dataexchange.amazonaws.com", + "endpointPrefix": "dataexchange" + }, + "aws.auth#sigv4": { + "name": "dataexchange" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.
\nAs a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIS to download or copy your entitled data sets to Amazon S3 for use across a variety of AWS analytics and machine learning services.
\nAs a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.
\nA data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.
", + "smithy.api#title": "AWS Data Exchange" + } }, "com.amazonaws.dataexchange#DataSetEntry": { "type": "structure", @@ -2139,6 +2141,7 @@ "Finalized": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
" } }, @@ -2175,6 +2178,7 @@ "Revoked": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A status indicating that subscribers' access to the revision was revoked.
" } }, @@ -2660,6 +2664,7 @@ "LimitValue": { "target": "com.amazonaws.dataexchange#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the exceeded limit.
" } }, @@ -2872,6 +2877,7 @@ "MaxResults": { "target": "com.amazonaws.dataexchange#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results returned by a single call.
", "smithy.api#httpQuery": "maxResults" } @@ -2946,6 +2952,7 @@ "MaxResults": { "target": "com.amazonaws.dataexchange#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results returned by a single call.
", "smithy.api#httpQuery": "maxResults" } @@ -3034,6 +3041,7 @@ "MaxResults": { "target": "com.amazonaws.dataexchange#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results returned by a single call.
", "smithy.api#httpQuery": "maxResults" } @@ -3115,6 +3123,7 @@ "MaxResults": { "target": "com.amazonaws.dataexchange#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results returned by a single call.
", "smithy.api#httpQuery": "maxResults" } @@ -3270,6 +3279,7 @@ "MaxResults": { "target": "com.amazonaws.dataexchange#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results returned by a single call.
", "smithy.api#httpQuery": "maxResults" } @@ -3363,6 +3373,7 @@ "com.amazonaws.dataexchange#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 @@ -3663,6 +3674,7 @@ "Finalized": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
" } }, @@ -3695,6 +3707,7 @@ "Revoked": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A status indicating that subscribers' access to the revision was revoked.
" } }, @@ -3819,6 +3832,7 @@ "Finalized": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
" } }, @@ -3849,6 +3863,7 @@ "Revoked": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A status indicating that subscribers' access to the revision was revoked.
" } }, @@ -3866,6 +3881,7 @@ "Size": { "target": "com.amazonaws.dataexchange#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the S3 object that is the object.
", "smithy.api#required": {} } @@ -4022,6 +4038,7 @@ "LimitValue": { "target": "com.amazonaws.dataexchange#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the exceeded limit.
" } }, @@ -4672,6 +4689,7 @@ "Finalized": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.
" } }, @@ -4715,6 +4733,7 @@ "Finalized": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
" } }, @@ -4745,6 +4764,7 @@ "Revoked": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A status indicating that subscribers' access to the revision was revoked.
" } }, @@ -4780,13 +4800,22 @@ } }, "com.amazonaws.dataexchange#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.dataexchange#__double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.dataexchange#__doubleMin0": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.dataexchange#__string": { "type": "string" @@ -4820,4 +4849,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/datasync.json b/codegen/sdk/aws-models/datasync.json index 215827b4a40..5bb58f94f75 100644 --- a/codegen/sdk/aws-models/datasync.json +++ b/codegen/sdk/aws-models/datasync.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -126,7 +126,6 @@ "com.amazonaws.datasync#BytesPerSecond": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -1 } @@ -2260,30 +2259,35 @@ "EstimatedFilesToTransfer": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The expected number of files that is to be transferred over the network. This value is\n calculated during the PREPARING phase, before the TRANSFERRING phase. This value is the\n expected number of files to be transferred. It's calculated based on comparing the\n content of the source and destination locations and finding the delta that needs to be\n transferred.
" } }, "EstimatedBytesToTransfer": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The estimated physical number of bytes that is to be transferred over the\n network.
" } }, "FilesTransferred": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The actual number of files that was transferred over the network. This value is\n calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated\n periodically when each file is read from the source and sent over the network.
\nIf failures occur during a transfer, this value can be less than\n EstimatedFilesToTransfer. This value can also be greater than\n EstimatedFilesTransferred in some cases. This element is\n implementation-specific for some location types, so don't use it as an indicator for a correct\n file number or to monitor your task execution.
The number of logical bytes written to the destination Amazon Web Services storage resource.
" } }, "BytesTransferred": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The physical number of bytes transferred over the network.
" } }, @@ -2426,7 +2430,6 @@ "com.amazonaws.datasync#Duration": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -2636,21 +2639,6 @@ }, "com.amazonaws.datasync#FmrsService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DataSync", - "arnNamespace": "datasync", - "cloudFormationName": "DataSync", - "cloudTrailEventSource": "datasync.amazonaws.com", - "endpointPrefix": "datasync" - }, - "aws.auth#sigv4": { - "name": "datasync" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "DataSync is a managed data transfer service that makes it simpler for you to\n automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)\n or Amazon Elastic File System (Amazon EFS).
\nThis API interface reference for DataSync contains documentation for a\n programming interface that you can use to manage DataSync.
", - "smithy.api#title": "AWS DataSync" - }, "version": "2018-11-09", "operations": [ { @@ -2785,7 +2773,22 @@ { "target": "com.amazonaws.datasync#UpdateTaskExecution" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DataSync", + "arnNamespace": "datasync", + "cloudFormationName": "DataSync", + "cloudTrailEventSource": "datasync.amazonaws.com", + "endpointPrefix": "datasync" + }, + "aws.auth#sigv4": { + "name": "datasync" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "DataSync is a managed data transfer service that makes it simpler for you to\n automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)\n or Amazon Elastic File System (Amazon EFS).
\nThis API interface reference for DataSync contains documentation for a\n programming interface that you can use to manage DataSync.
", + "smithy.api#title": "AWS DataSync" + } }, "com.amazonaws.datasync#FsxFilesystemArn": { "type": "string", @@ -2940,7 +2943,6 @@ "com.amazonaws.datasync#HdfsBlockSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1048576, "max": 1073741824 @@ -3006,7 +3008,6 @@ "com.amazonaws.datasync#HdfsReplicationFactor": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 512 @@ -3049,7 +3050,6 @@ "com.amazonaws.datasync#HdfsServerPort": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65536 @@ -3656,7 +3656,6 @@ "com.amazonaws.datasync#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -3779,7 +3778,6 @@ "com.amazonaws.datasync#ObjectStorageServerPort": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65536 @@ -5366,7 +5364,10 @@ } }, "com.amazonaws.datasync#long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.datasync#string": { "type": "string" diff --git a/codegen/sdk/aws-models/dax.json b/codegen/sdk/aws-models/dax.json index 0252a8ba2f5..1d75faffebf 100644 --- a/codegen/sdk/aws-models/dax.json +++ b/codegen/sdk/aws-models/dax.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -407,6 +407,7 @@ "ReplicationFactor": { "target": "com.amazonaws.dax#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of nodes in the DAX cluster. A replication factor of 1 will\n create a single-node cluster, without any read replicas. For additional fault tolerance,\n you can create a multiple node cluster with one or more read replicas. To do this, set\n ReplicationFactor to a number between 3 (one primary and two read replicas) and 10 (one primary and nine read replicas). \n If the AvailabilityZones parameter is provided, its length must equal the ReplicationFactor.
AWS recommends that you have at least two read replicas per cluster.
\nThe new number of nodes for the DAX cluster.
", "smithy.api#required": {} } @@ -1256,6 +1258,7 @@ "Port": { "target": "com.amazonaws.dax#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port number that applications should use to connect to the endpoint.
" } }, @@ -1365,6 +1368,7 @@ "NewReplicationFactor": { "target": "com.amazonaws.dax#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The new number of nodes for the DAX cluster.
", "smithy.api#required": {} } @@ -1402,14 +1406,14 @@ } }, "com.amazonaws.dax#Integer": { - "type": "integer" - }, - "com.amazonaws.dax#IntegerOptional": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.dax#IntegerOptional": { + "type": "integer" + }, "com.amazonaws.dax#InvalidARNFault": { "type": "structure", "members": { @@ -2023,10 +2027,7 @@ } }, "com.amazonaws.dax#SSEEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dax#SSESpecification": { "type": "structure", diff --git a/codegen/sdk/aws-models/detective.json b/codegen/sdk/aws-models/detective.json index fd0d91ac747..328a8d1320c 100644 --- a/codegen/sdk/aws-models/detective.json +++ b/codegen/sdk/aws-models/detective.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -174,21 +174,6 @@ }, "com.amazonaws.detective#AmazonDetective": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Detective", - "arnNamespace": "detective", - "cloudFormationName": "Detective", - "cloudTrailEventSource": "detective.amazonaws.com", - "endpointPrefix": "api.detective" - }, - "aws.auth#sigv4": { - "name": "detective" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Detective uses machine learning and purpose-built visualizations to help you to\n analyze and investigate security issues across your Amazon Web Services (Amazon Web Services) workloads. Detective automatically extracts time-based events such\n as login attempts, API calls, and network traffic from CloudTrail and Amazon Virtual Private Cloud (Amazon VPC) flow logs. It also extracts findings detected by\n Amazon GuardDuty.
\nThe Detective API primarily supports the creation and management of behavior\n graphs. A behavior graph contains the extracted data from a set of member accounts, and is\n created and managed by an administrator account.
\nTo add a member account to the behavior graph, the administrator account sends an\n invitation to the account. When the account accepts the invitation, it becomes a member\n account in the behavior graph.
\nDetective is also integrated with Organizations. The organization\n management account designates the Detective administrator account for the\n organization. That account becomes the administrator account for the organization behavior\n graph. The Detective administrator account is also the delegated administrator\n account for Detective in Organizations.
\nThe Detective administrator account can enable any organization account as a\n member account in the organization behavior graph. The organization accounts do not receive\n invitations. The Detective administrator account can also invite other accounts to\n the organization behavior graph.
\nEvery behavior graph is specific to a Region. You can only use the API to manage\n behavior graphs that belong to the Region that is associated with the currently selected\n endpoint.
\nThe administrator account for a behavior graph can use the Detective API to do\n the following:
\nEnable and disable Detective. Enabling Detective creates a new\n behavior graph.
\nView the list of member accounts in a behavior graph.
\nAdd member accounts to a behavior graph.
\nRemove member accounts from a behavior graph.
\nApply tags to a behavior graph.
\nThe organization management account can use the Detective API to select the\n delegated administrator for Detective.
\nThe Detective administrator account for an organization can use the Detective API to do the following:
\nPerform all of the functions of an administrator account.
\nDetermine whether to automatically enable new organization accounts as member\n accounts in the organization behavior graph.
\nAn invited member account can use the Detective API to do the following:
\nView the list of behavior graphs that they are invited to.
\nAccept an invitation to contribute to a behavior graph.
\nDecline an invitation to contribute to a behavior graph.
\nRemove their account from a behavior graph.
\nAll API actions are logged as CloudTrail events. See Logging Detective API Calls with CloudTrail.
\nWe replaced the term \"master account\" with the term \"administrator account.\" An\n administrator account is used to centrally manage multiple accounts. In the case of\n Detective, the administrator account manages the accounts in their behavior\n graph.
\nDetective uses machine learning and purpose-built visualizations to help you to\n analyze and investigate security issues across your Amazon Web Services (Amazon Web Services) workloads. Detective automatically extracts time-based events such\n as login attempts, API calls, and network traffic from CloudTrail and Amazon Virtual Private Cloud (Amazon VPC) flow logs. It also extracts findings detected by\n Amazon GuardDuty.
\nThe Detective API primarily supports the creation and management of behavior\n graphs. A behavior graph contains the extracted data from a set of member accounts, and is\n created and managed by an administrator account.
\nTo add a member account to the behavior graph, the administrator account sends an\n invitation to the account. When the account accepts the invitation, it becomes a member\n account in the behavior graph.
\nDetective is also integrated with Organizations. The organization\n management account designates the Detective administrator account for the\n organization. That account becomes the administrator account for the organization behavior\n graph. The Detective administrator account is also the delegated administrator\n account for Detective in Organizations.
\nThe Detective administrator account can enable any organization account as a\n member account in the organization behavior graph. The organization accounts do not receive\n invitations. The Detective administrator account can also invite other accounts to\n the organization behavior graph.
\nEvery behavior graph is specific to a Region. You can only use the API to manage\n behavior graphs that belong to the Region that is associated with the currently selected\n endpoint.
\nThe administrator account for a behavior graph can use the Detective API to do\n the following:
\nEnable and disable Detective. Enabling Detective creates a new\n behavior graph.
\nView the list of member accounts in a behavior graph.
\nAdd member accounts to a behavior graph.
\nRemove member accounts from a behavior graph.
\nApply tags to a behavior graph.
\nThe organization management account can use the Detective API to select the\n delegated administrator for Detective.
\nThe Detective administrator account for an organization can use the Detective API to do the following:
\nPerform all of the functions of an administrator account.
\nDetermine whether to automatically enable new organization accounts as member\n accounts in the organization behavior graph.
\nAn invited member account can use the Detective API to do the following:
\nView the list of behavior graphs that they are invited to.
\nAccept an invitation to contribute to a behavior graph.
\nDecline an invitation to contribute to a behavior graph.
\nRemove their account from a behavior graph.
\nAll API actions are logged as CloudTrail events. See Logging Detective API Calls with CloudTrail.
\nWe replaced the term \"master account\" with the term \"administrator account.\" An\n administrator account is used to centrally manage multiple accounts. In the case of\n Detective, the administrator account manages the accounts in their behavior\n graph.
\nif set to true, then the invited accounts do not receive email\n notifications. By default, this is set to false, and the invited accounts\n receive email notifications.
Organization accounts in the organization behavior graph do not receive email\n notifications.
" } }, @@ -803,6 +804,7 @@ "AutoEnable": { "target": "com.amazonaws.detective#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to automatically enable new organization accounts as member accounts\n in the organization behavior graph.
" } } @@ -1646,7 +1648,6 @@ "com.amazonaws.detective#MemberResultsLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 200 @@ -1722,10 +1723,7 @@ } }, "com.amazonaws.detective#Percentage": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.detective#RejectInvitation": { "type": "operation", @@ -2206,6 +2204,7 @@ "AutoEnable": { "target": "com.amazonaws.detective#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to automatically enable new organization accounts as member accounts\n in the organization behavior graph.
" } } diff --git a/codegen/sdk/aws-models/device-farm.json b/codegen/sdk/aws-models/device-farm.json index f07f0c714d6..5c86a1e9eab 100644 --- a/codegen/sdk/aws-models/device-farm.json +++ b/codegen/sdk/aws-models/device-farm.json @@ -80,8 +80,6 @@ "defaultJobTimeoutMinutes": { "target": "com.amazonaws.devicefarm#JobTimeoutMinutes", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 150, "smithy.api#documentation": "The default number of minutes (at the account level) a test run executes before it times out. The\n default value is 150 minutes.
" } }, @@ -632,8 +630,6 @@ "packageCleanup": { "target": "com.amazonaws.devicefarm#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "When set to true, Device Farm removes app packages after a test run. The default value is\n false for private devices.
When set to true, Device Farm reboots the instance after a test run. The default value is\n true.
The billing method for the remote access session.
" } }, @@ -2630,8 +2622,6 @@ "videoCapture": { "target": "com.amazonaws.devicefarm#VideoCapture", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "Set to true to enable video capture. Otherwise, set to false. The default is true.
" } }, @@ -3904,8 +3894,6 @@ "packageCleanup": { "target": "com.amazonaws.devicefarm#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "When set to true, Device Farm removes app packages after a test run. The default value is\n false for private devices.
When set to true, Device Farm reboots the instance after a test run. The default value is\n true.
The default number of minutes (at the project level) a test run executes before it times out. The\n default value is 150 minutes.
" } }, @@ -6656,8 +6640,6 @@ "billingMethod": { "target": "com.amazonaws.devicefarm#BillingMethod", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "METERED", "smithy.api#documentation": "The billing method of the remote access session. Possible values include METERED or\n UNMETERED. For more information about metered devices, see AWS Device Farm\n terminology.
Specifies the billing method for a test run: metered or\n unmetered. If the parameter is not specified, the default value is\n metered.
If you have unmetered device slots, you must set this to unmetered to use them.\n Otherwise, the run is counted toward metered device minutes.
Specifies the billing method for a test run: metered or\n unmetered. If the parameter is not specified, the default value is\n metered.
If you have purchased unmetered device slots, you must set this parameter to unmetered to\n make use of them. Otherwise, your run counts against your metered time.
The updated choice for whether you want to specify package cleanup. The default value\n is false for private devices.
An integer that specifies the number of open proactive insights in your Amazon Web Services\n\t\t\taccount.
" } }, "OpenReactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer that specifies the number of open reactive insights in your Amazon Web Services\n\t\t\taccount.
" } } @@ -205,6 +207,7 @@ "NumberOfLogLinesScanned": { "target": "com.amazonaws.devopsguru#NumberOfLogLinesScanned", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n\t\t\tThe number of log lines that were scanned for anomalous log events.\n\t\t
" } }, @@ -239,10 +242,7 @@ } }, "com.amazonaws.devopsguru#AnomalyLimit": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.devopsguru#AnomalyName": { "type": "string" @@ -295,22 +295,26 @@ } }, "com.amazonaws.devopsguru#AnomalySeverity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LOW", - "name": "LOW" - }, - { - "value": "MEDIUM", - "name": "MEDIUM" - }, - { - "value": "HIGH", - "name": "HIGH" + "type": "enum", + "members": { + "LOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOW" } - ] + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEDIUM" + } + }, + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIGH" + } + } } }, "com.amazonaws.devopsguru#AnomalySource": { @@ -363,18 +367,20 @@ } }, "com.amazonaws.devopsguru#AnomalyStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ONGOING", - "name": "ONGOING" - }, - { - "value": "CLOSED", - "name": "CLOSED" + "type": "enum", + "members": { + "ONGOING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONGOING" + } + }, + "CLOSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOSED" } - ] + } } }, "com.amazonaws.devopsguru#AnomalyTimeRange": { @@ -399,18 +405,20 @@ } }, "com.amazonaws.devopsguru#AnomalyType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CAUSAL", - "name": "CAUSAL" - }, - { - "value": "CONTEXTUAL", - "name": "CONTEXTUAL" + "type": "enum", + "members": { + "CAUSAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CAUSAL" + } + }, + "CONTEXTUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTEXTUAL" } - ] + } } }, "com.amazonaws.devopsguru#AppBoundaryKey": { @@ -441,21 +449,6 @@ }, "com.amazonaws.devopsguru#CapstoneControlPlaneService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DevOps Guru", - "arnNamespace": "devops-guru", - "cloudFormationName": "DevOpsGuru", - "cloudTrailEventSource": "devopsguru.amazonaws.com", - "endpointPrefix": "devops-guru" - }, - "aws.auth#sigv4": { - "name": "devops-guru" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in\n\t\t\tbusiness critical operational applications. You specify the Amazon Web Services resources that you\n\t\t\twant DevOps Guru to cover, then the Amazon CloudWatch metrics and Amazon Web Services CloudTrail events related to those\n\t\t\tresources are analyzed. When anomalous behavior is detected, DevOps Guru creates an\n\t\t\t\tinsight that includes recommendations, related events, and\n\t\t\trelated metrics that can help you improve your operational applications. For more\n\t\t\tinformation, see What is Amazon DevOps Guru.
\n\n\t\tYou can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight\n\t\t\tis created. You can also enable DevOps Guru to generate an OpsItem in Amazon Web Services Systems Manager for each\n\t\t\tinsight to help you manage and track your work addressing insights.
\n\n\t\tTo learn about the DevOps Guru workflow, see How DevOps Guru works. To\n\t\t\tlearn about DevOps Guru concepts, see Concepts in DevOps Guru.
", - "smithy.api#title": "Amazon DevOps Guru" - }, "version": "2020-12-01", "operations": [ { @@ -551,7 +544,22 @@ { "target": "com.amazonaws.devopsguru#UpdateServiceIntegration" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DevOps Guru", + "arnNamespace": "devops-guru", + "cloudFormationName": "DevOpsGuru", + "cloudTrailEventSource": "devopsguru.amazonaws.com", + "endpointPrefix": "devops-guru" + }, + "aws.auth#sigv4": { + "name": "devops-guru" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in\n\t\t\tbusiness critical operational applications. You specify the Amazon Web Services resources that you\n\t\t\twant DevOps Guru to cover, then the Amazon CloudWatch metrics and Amazon Web Services CloudTrail events related to those\n\t\t\tresources are analyzed. When anomalous behavior is detected, DevOps Guru creates an\n\t\t\t\tinsight that includes recommendations, related events, and\n\t\t\trelated metrics that can help you improve your operational applications. For more\n\t\t\tinformation, see What is Amazon DevOps Guru.
\n\n\t\tYou can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight\n\t\t\tis created. You can also enable DevOps Guru to generate an OpsItem in Amazon Web Services Systems Manager for each\n\t\t\tinsight to help you manage and track your work addressing insights.
\n\n\t\tTo learn about the DevOps Guru workflow, see How DevOps Guru works. To\n\t\t\tlearn about DevOps Guru concepts, see Concepts in DevOps Guru.
", + "smithy.api#title": "Amazon DevOps Guru" + } }, "com.amazonaws.devopsguru#Channels": { "type": "list", @@ -638,22 +646,26 @@ } }, "com.amazonaws.devopsguru#CloudWatchMetricDataStatusCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Complete", - "name": "COMPLETE" - }, - { - "value": "InternalError", - "name": "INTERNAL_ERROR" - }, - { - "value": "PartialData", - "name": "PARTIAL_DATA" + "type": "enum", + "members": { + "COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Complete" + } + }, + "INTERNAL_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InternalError" + } + }, + "PARTIAL_DATA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PartialData" } - ] + } } }, "com.amazonaws.devopsguru#CloudWatchMetricsDataSummary": { @@ -712,6 +724,7 @@ "Period": { "target": "com.amazonaws.devopsguru#CloudWatchMetricsPeriod", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The length of time associated with the CloudWatch metric in number of seconds.
" } }, @@ -771,45 +784,62 @@ "type": "string" }, "com.amazonaws.devopsguru#CloudWatchMetricsPeriod": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#CloudWatchMetricsStat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Sum", - "name": "SUM" - }, - { - "value": "Average", - "name": "AVERAGE" - }, - { - "value": "SampleCount", - "name": "SAMPLE_COUNT" - }, - { - "value": "Minimum", - "name": "MINIMUM" - }, - { - "value": "Maximum", - "name": "MAXIMUM" - }, - { - "value": "p99", - "name": "P99" - }, - { - "value": "p90", - "name": "P90" - }, - { - "value": "p50", - "name": "P50" - } - ] + "type": "enum", + "members": { + "SUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Sum" + } + }, + "AVERAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Average" + } + }, + "SAMPLE_COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SampleCount" + } + }, + "MINIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Minimum" + } + }, + "MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Maximum" + } + }, + "P99": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "p99" + } + }, + "P90": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "p90" + } + }, + "P50": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "p50" + } + } } }, "com.amazonaws.devopsguru#CloudWatchMetricsUnit": { @@ -846,7 +876,10 @@ } }, "com.amazonaws.devopsguru#Cost": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#CostEstimationResourceCollectionFilter": { "type": "structure", @@ -860,7 +893,7 @@ "Tags": { "target": "com.amazonaws.devopsguru#TagCostEstimationResourceCollectionFilters", "traits": { - "smithy.api#documentation": "The Amazon Web Services tags used to filter the resource collection that is used for a cost\n\t\t\testimate.
\nTags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
The Amazon Web Services tags used to filter the resource collection that is used for a cost\n\t\t\testimate.
\nTags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
An integer that specifies the number of open reactive insights in your Amazon Web Services account.\n\t\t
", "smithy.api#required": {} } @@ -1047,6 +1088,7 @@ "OpenProactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenProactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer that specifies the number of open proactive insights in your Amazon Web Services\n\t\t\taccount.
", "smithy.api#required": {} } @@ -1054,6 +1096,7 @@ "MetricsAnalyzed": { "target": "com.amazonaws.devopsguru#NumMetricsAnalyzed", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer that specifies the number of metrics that have been analyzed in your Amazon Web Services\n\t\t\taccount.
", "smithy.api#required": {} } @@ -1122,6 +1165,7 @@ "ReactiveInsights": { "target": "com.amazonaws.devopsguru#NumReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer that specifies the number of open reactive insights in your Amazon Web Services account\n\t\t\tthat were created during the time range passed in.
", "smithy.api#required": {} } @@ -1129,6 +1173,7 @@ "ProactiveInsights": { "target": "com.amazonaws.devopsguru#NumProactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer that specifies the number of open proactive insights in your Amazon Web Services account\n\t\t\tthat were created during the time range passed in.
", "smithy.api#required": {} } @@ -1437,6 +1482,7 @@ "OpenReactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer that specifies the number of open reactive insights in your Amazon Web Services\n\t\t\taccount.
", "smithy.api#required": {} } @@ -1444,6 +1490,7 @@ "OpenProactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenProactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer that specifies the number of open proactive insights in your Amazon Web Services\n\t\t\taccount.
", "smithy.api#required": {} } @@ -1451,6 +1498,7 @@ "MetricsAnalyzed": { "target": "com.amazonaws.devopsguru#NumMetricsAnalyzed", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer that specifies the number of metrics that have been analyzed in your\n\t\t\torganization.
", "smithy.api#required": {} } @@ -1531,6 +1579,7 @@ "ReactiveInsights": { "target": "com.amazonaws.devopsguru#NumReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer that specifies the number of open reactive insights in your Amazon Web Services\n\t\t\taccount.
", "smithy.api#required": {} } @@ -1538,6 +1587,7 @@ "ProactiveInsights": { "target": "com.amazonaws.devopsguru#NumProactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer that specifies the number of open proactive insights in your Amazon Web Services\n\t\t\taccount.
", "smithy.api#required": {} } @@ -1645,7 +1695,7 @@ "Tags": { "target": "com.amazonaws.devopsguru#TagHealths", "traits": { - "smithy.api#documentation": "Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
The Amazon Web Services tags that are used by resources in the resource collection.
\n\t\tTags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
The Amazon Web Services tags that are used by resources in the resource collection.
\n\t\tTags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
The estimated monthly cost to analyze the Amazon Web Services resources. This value is the sum of\n\t\t\tthe estimated costs to analyze each resource in the Costs object in this\n\t\t\tresponse.
The number of open proactive insights.
" } }, "OpenReactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of open reactive insights.
" } }, @@ -2332,37 +2405,43 @@ } }, "com.amazonaws.devopsguru#InsightSeverity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LOW", - "name": "LOW" - }, - { - "value": "MEDIUM", - "name": "MEDIUM" - }, - { - "value": "HIGH", - "name": "HIGH" + "type": "enum", + "members": { + "LOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOW" } - ] + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEDIUM" + } + }, + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIGH" + } + } } }, "com.amazonaws.devopsguru#InsightStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ONGOING", - "name": "ONGOING" - }, - { - "value": "CLOSED", - "name": "CLOSED" + "type": "enum", + "members": { + "ONGOING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONGOING" + } + }, + "CLOSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOSED" } - ] + } } }, "com.amazonaws.devopsguru#InsightStatuses": { @@ -2399,18 +2478,20 @@ } }, "com.amazonaws.devopsguru#InsightType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "REACTIVE", - "name": "REACTIVE" - }, - { - "value": "PROACTIVE", - "name": "PROACTIVE" + "type": "enum", + "members": { + "REACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REACTIVE" + } + }, + "PROACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PROACTIVE" } - ] + } } }, "com.amazonaws.devopsguru#InternalServerException": { @@ -2425,6 +2506,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.devopsguru#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds after which the action that caused the internal server\n\t\t\texception can be retried.
", "smithy.api#httpHeader": "Retry-After" } @@ -2478,7 +2560,6 @@ "com.amazonaws.devopsguru#ListAnomaliesForInsightMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -2587,7 +2668,6 @@ "com.amazonaws.devopsguru#ListAnomalousLogGroupsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 200 @@ -2727,7 +2807,6 @@ "com.amazonaws.devopsguru#ListEventsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 200 @@ -2877,7 +2956,6 @@ "com.amazonaws.devopsguru#ListInsightsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3045,7 +3123,6 @@ "com.amazonaws.devopsguru#ListMonitoredResourcesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -3339,54 +3416,74 @@ } }, "com.amazonaws.devopsguru#Locale": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DE_DE", - "name": "DE_DE" - }, - { - "value": "EN_US", - "name": "EN_US" - }, - { - "value": "EN_GB", - "name": "EN_GB" - }, - { - "value": "ES_ES", - "name": "ES_ES" - }, - { - "value": "FR_FR", - "name": "FR_FR" - }, - { - "value": "IT_IT", - "name": "IT_IT" - }, - { - "value": "JA_JP", - "name": "JA_JP" - }, - { - "value": "KO_KR", - "name": "KO_KR" - }, - { - "value": "PT_BR", - "name": "PT_BR" - }, - { - "value": "ZH_CN", - "name": "ZH_CN" - }, - { - "value": "ZH_TW", - "name": "ZH_TW" - } - ] + "type": "enum", + "members": { + "DE_DE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DE_DE" + } + }, + "EN_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EN_US" + } + }, + "EN_GB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EN_GB" + } + }, + "ES_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ES_ES" + } + }, + "FR_FR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FR_FR" + } + }, + "IT_IT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IT_IT" + } + }, + "JA_JP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JA_JP" + } + }, + "KO_KR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KO_KR" + } + }, + "PT_BR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PT_BR" + } + }, + "ZH_CN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZH_CN" + } + }, + "ZH_TW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZH_TW" + } + } } }, "com.amazonaws.devopsguru#LogAnomalyClass": { @@ -3425,6 +3522,7 @@ "NumberOfLogLinesOccurrences": { "target": "com.amazonaws.devopsguru#NumberOfLogLinesOccurrences", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n\t\t\tThe number of log lines where this anomalous log event occurs.\n\t\t
" } }, @@ -3487,42 +3585,56 @@ } }, "com.amazonaws.devopsguru#LogAnomalyType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "KEYWORD", - "name": "KEYWORD" - }, - { - "value": "KEYWORD_TOKEN", - "name": "KEYWORD_TOKEN" - }, - { - "value": "FORMAT", - "name": "FORMAT" - }, - { - "value": "HTTP_CODE", - "name": "HTTP_CODE" - }, - { - "value": "BLOCK_FORMAT", - "name": "BLOCK_FORMAT" - }, - { - "value": "NUMERICAL_POINT", - "name": "NUMERICAL_POINT" - }, - { - "value": "NUMERICAL_NAN", - "name": "NUMERICAL_NAN" - }, - { - "value": "NEW_FIELD_NAME", - "name": "NEW_FIELD_NAME" - } - ] + "type": "enum", + "members": { + "KEYWORD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEYWORD" + } + }, + "KEYWORD_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEYWORD_TOKEN" + } + }, + "FORMAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FORMAT" + } + }, + "HTTP_CODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP_CODE" + } + }, + "BLOCK_FORMAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BLOCK_FORMAT" + } + }, + "NUMERICAL_POINT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NUMERICAL_POINT" + } + }, + "NUMERICAL_NAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NUMERICAL_NAN" + } + }, + "NEW_FIELD_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW_FIELD_NAME" + } + } } }, "com.amazonaws.devopsguru#LogEventId": { @@ -3581,16 +3693,10 @@ } }, "com.amazonaws.devopsguru#MeanTimeToRecoverInMilliseconds": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.devopsguru#MetricValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.devopsguru#MonitoredResourceIdentifier": { "type": "structure", @@ -3663,6 +3769,12 @@ "smithy.api#documentation": "Information about a notification channel configured in DevOps Guru to send notifications\n\t\t\twhen insights are created.
\nIf you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission \n\t\t\t\tto it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. \n\t\t\t\tFor more information, see Permissions \n\t\t\t\tfor cross account Amazon SNS topics.
\n\t\t\t\tIf you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
\n\t\t\t\tIf you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions \n\t\t\t\tto the CMK. For more information, see Permissions for \n\t\t\t\tAmazon Web Services KMS–encrypted Amazon SNS topics.
", "smithy.api#required": {} } + }, + "Filters": { + "target": "com.amazonaws.devopsguru#NotificationFilterConfig", + "traits": { + "smithy.api#documentation": "\n\t\t\tThe filter configurations for the Amazon SNS notification topic you use with DevOps Guru. \n\t\t\tIf you do not provide filter configurations, the default configurations are to receive notifications for all message types of High or Medium severity.\n\t\t
\n\t\t\tThe severity levels that you want to receive notifications for. For example, you can choose to receive notifications only for insights with HIGH and MEDIUM severity levels. \n\t\t\tFor more information, see Understanding insight severities.\n\t\t
\n\t\t\tThe events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.\n\t\t
" + } + } + }, + "traits": { + "smithy.api#documentation": "\n\t\t\tThe filter configurations for the Amazon SNS notification topic you use with DevOps Guru. You can choose to specify which events or message types to receive notifications for.\n\t\t\tYou can also choose to specify which severity levels to receive notifications for. \n\t\t
" + } + }, + "com.amazonaws.devopsguru#NotificationMessageType": { + "type": "enum", + "members": { + "NEW_INSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW_INSIGHT" + } + }, + "CLOSED_INSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOSED_INSIGHT" + } + }, + "NEW_ASSOCIATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW_ASSOCIATION" + } + }, + "SEVERITY_UPGRADED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SEVERITY_UPGRADED" + } + }, + "NEW_RECOMMENDATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW_RECOMMENDATION" + } + } + } + }, + "com.amazonaws.devopsguru#NotificationMessageTypes": { + "type": "list", + "member": { + "target": "com.amazonaws.devopsguru#NotificationMessageType" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 5 + } + } + }, "com.amazonaws.devopsguru#NumMetricsAnalyzed": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#NumOpenProactiveInsights": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#NumOpenReactiveInsights": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#NumProactiveInsights": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#NumReactiveInsights": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#NumberOfLogLinesOccurrences": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#NumberOfLogLinesScanned": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#OpsCenterIntegration": { "type": "structure", @@ -3729,25 +3929,28 @@ } }, "com.amazonaws.devopsguru#OptInStatus": { - "type": "string", - "traits": { - "smithy.api#documentation": "Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems Manager OpsItem for each created\n\t\t\tinsight.
", - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } + }, + "traits": { + "smithy.api#documentation": "Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems Manager OpsItem for each created\n\t\t\tinsight.
" } }, "com.amazonaws.devopsguru#OrganizationResourceCollectionMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -3755,26 +3958,32 @@ } }, "com.amazonaws.devopsguru#OrganizationResourceCollectionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWS_CLOUD_FORMATION", - "name": "AWS_CLOUD_FORMATION" - }, - { - "value": "AWS_SERVICE", - "name": "AWS_SERVICE" - }, - { - "value": "AWS_ACCOUNT", - "name": "AWS_ACCOUNT" - }, - { - "value": "AWS_TAGS", - "name": "AWS_TAGS" - } - ] + "type": "enum", + "members": { + "AWS_CLOUD_FORMATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_CLOUD_FORMATION" + } + }, + "AWS_SERVICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_SERVICE" + } + }, + "AWS_ACCOUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_ACCOUNT" + } + }, + "AWS_TAGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_TAGS" + } + } } }, "com.amazonaws.devopsguru#OrganizationalUnitId": { @@ -3858,7 +4067,6 @@ "com.amazonaws.devopsguru#PerformanceInsightsMetricLimitInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -4054,10 +4262,7 @@ } }, "com.amazonaws.devopsguru#PerformanceInsightsValueDouble": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.devopsguru#PredictionTimeRange": { "type": "structure", @@ -5126,7 +5331,7 @@ "Tags": { "target": "com.amazonaws.devopsguru#TagCollections", "traits": { - "smithy.api#documentation": "The Amazon Web Services tags that are used by resources in the resource collection.
\n\t\tTags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
The Amazon Web Services tags that are used by resources in the resource collection.
\n\t\tTags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
The Amazon Web Services tags used to filter the resources in the resource collection.
\n\t\tTags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
The Amazon Web Services tags used to filter the resources in the resource collection.
\n\t\tTags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
The number of open proactive insights in the Amazon Web Services service
" } }, "OpenReactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of open reactive insights in the Amazon Web Services service
" } } @@ -5629,110 +5840,158 @@ } }, "com.amazonaws.devopsguru#ServiceName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "API_GATEWAY", - "name": "API_GATEWAY" - }, - { - "value": "APPLICATION_ELB", - "name": "APPLICATION_ELB" - }, - { - "value": "AUTO_SCALING_GROUP", - "name": "AUTO_SCALING_GROUP" - }, - { - "value": "CLOUD_FRONT", - "name": "CLOUD_FRONT" - }, - { - "value": "DYNAMO_DB", - "name": "DYNAMO_DB" - }, - { - "value": "EC2", - "name": "EC2" - }, - { - "value": "ECS", - "name": "ECS" - }, - { - "value": "EKS", - "name": "EKS" - }, - { - "value": "ELASTIC_BEANSTALK", - "name": "ELASTIC_BEANSTALK" - }, - { - "value": "ELASTI_CACHE", - "name": "ELASTI_CACHE" - }, - { - "value": "ELB", - "name": "ELB" - }, - { - "value": "ES", - "name": "ES" - }, - { - "value": "KINESIS", - "name": "KINESIS" - }, - { - "value": "LAMBDA", - "name": "LAMBDA" - }, - { - "value": "NAT_GATEWAY", - "name": "NAT_GATEWAY" - }, - { - "value": "NETWORK_ELB", - "name": "NETWORK_ELB" - }, - { - "value": "RDS", - "name": "RDS" - }, - { - "value": "REDSHIFT", - "name": "REDSHIFT" - }, - { - "value": "ROUTE_53", - "name": "ROUTE_53" - }, - { - "value": "S3", - "name": "S3" - }, - { - "value": "SAGE_MAKER", - "name": "SAGE_MAKER" - }, - { - "value": "SNS", - "name": "SNS" - }, - { - "value": "SQS", - "name": "SQS" - }, - { - "value": "STEP_FUNCTIONS", - "name": "STEP_FUNCTIONS" - }, - { - "value": "SWF", - "name": "SWF" - } - ] + "type": "enum", + "members": { + "API_GATEWAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "API_GATEWAY" + } + }, + "APPLICATION_ELB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPLICATION_ELB" + } + }, + "AUTO_SCALING_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_SCALING_GROUP" + } + }, + "CLOUD_FRONT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOUD_FRONT" + } + }, + "DYNAMO_DB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DYNAMO_DB" + } + }, + "EC2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC2" + } + }, + "ECS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECS" + } + }, + "EKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EKS" + } + }, + "ELASTIC_BEANSTALK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELASTIC_BEANSTALK" + } + }, + "ELASTI_CACHE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELASTI_CACHE" + } + }, + "ELB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELB" + } + }, + "ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ES" + } + }, + "KINESIS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KINESIS" + } + }, + "LAMBDA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAMBDA" + } + }, + "NAT_GATEWAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAT_GATEWAY" + } + }, + "NETWORK_ELB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NETWORK_ELB" + } + }, + "RDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RDS" + } + }, + "REDSHIFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REDSHIFT" + } + }, + "ROUTE_53": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROUTE_53" + } + }, + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" + } + }, + "SAGE_MAKER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAGE_MAKER" + } + }, + "SNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNS" + } + }, + "SQS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQS" + } + }, + "STEP_FUNCTIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STEP_FUNCTIONS" + } + }, + "SWF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SWF" + } + } } }, "com.amazonaws.devopsguru#ServiceNames": { @@ -5772,18 +6031,21 @@ "Count": { "target": "com.amazonaws.devopsguru#CostEstimationServiceResourceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of active resources analyzed for this service to create a monthly cost\n\t\t\testimate.
" } }, "UnitCost": { "target": "com.amazonaws.devopsguru#Cost", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The price per hour to analyze the resources in the service.\n\t\t\tFor more information, \n\t\t\tsee Estimate your \n\t\t\tAmazon DevOps Guru costs and \n\t\t\tAmazon DevOps Guru pricing.
" } }, "Cost": { "target": "com.amazonaws.devopsguru#Cost", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total estimated monthly cost to analyze the active resources for this\n\t\t\tresource.
" } } @@ -5924,7 +6186,7 @@ "AppBoundaryKey": { "target": "com.amazonaws.devopsguru#AppBoundaryKey", "traits": { - "smithy.api#documentation": "An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.
\nThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.
\nThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
A collection of Amazon Web Services stags.
\nTags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
A collection of Amazon Web Services tags.
\nTags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.
\nThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.
\nThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.
\nThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.
\nThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.
\nThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.
\nThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
The number of seconds after which the action that caused the throttling exception can\n\t\t\tbe retried.
", "smithy.api#httpHeader": "Retry-After" } @@ -6219,18 +6482,20 @@ } }, "com.amazonaws.devopsguru#UpdateResourceCollectionAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ADD", - "name": "ADD" - }, - { - "value": "REMOVE", - "name": "REMOVE" + "type": "enum", + "members": { + "ADD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ADD" + } + }, + "REMOVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REMOVE" } - ] + } } }, "com.amazonaws.devopsguru#UpdateResourceCollectionFilter": { @@ -6245,7 +6510,7 @@ "Tags": { "target": "com.amazonaws.devopsguru#UpdateTagCollectionFilters", "traits": { - "smithy.api#documentation": "The updated Amazon Web Services tags used to filter the resources in the resource collection.
\n\t\tTags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
The updated Amazon Web Services tags used to filter the resources in the resource collection.
\n\t\tTags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.
\n \tEach Amazon Web Services tag has two parts.
\n \tA tag key (for example, CostCenter,\n \t\t\t\tEnvironment, Project, or Secret). Tag\n \t\t\t\tkeys are case-sensitive.
An optional field known as a tag value (for example,\n \t\t\t\t111122223333, Production, or a team\n \t\t\t\tname). Omitting the tag value is the same as using an empty\n \t\t\t\tstring. Like tag keys, tag values are\n \t\t\t\tcase-sensitive.
Together these are known as key-value pairs.
\n \tThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.
\nThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.
\nThe string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.
The dedicated VLAN provisioned to the connection.
", "smithy.api#required": {} } @@ -243,6 +247,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The dedicated VLAN provisioned to the hosted connection.
", "smithy.api#required": {} } @@ -680,6 +685,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
" } }, @@ -801,7 +807,10 @@ "type": "string" }, "com.amazonaws.directconnect#BooleanFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directconnect#CIDR": { "type": "string" @@ -1093,6 +1102,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the VLAN.
" } }, @@ -1252,7 +1262,10 @@ } }, "com.amazonaws.directconnect#Count": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.directconnect#CreateBGPPeer": { "type": "operation", @@ -1659,6 +1672,7 @@ "numberOfConnections": { "target": "com.amazonaws.directconnect#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of physical dedicated connections initially provisioned and bundled by the\n LAG.
", "smithy.api#required": {} } @@ -1914,6 +1928,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
" } }, @@ -2354,6 +2369,9 @@ }, "com.amazonaws.directconnect#DescribeCustomerMetadata": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.directconnect#DescribeCustomerMetadataResponse" }, @@ -2858,6 +2876,9 @@ }, "com.amazonaws.directconnect#DescribeLocations": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.directconnect#Locations" }, @@ -2988,6 +3009,9 @@ }, "com.amazonaws.directconnect#DescribeVirtualGateways": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.directconnect#VirtualGateways" }, @@ -3528,10 +3552,7 @@ } }, "com.amazonaws.directconnect#EnableSiteLink": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.directconnect#EncryptionMode": { "type": "string" @@ -3742,10 +3763,7 @@ } }, "com.amazonaws.directconnect#JumboFrameCapable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.directconnect#Lag": { "type": "structure", @@ -3759,6 +3777,7 @@ "numberOfConnections": { "target": "com.amazonaws.directconnect#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of physical dedicated connections bundled by the LAG, up to a maximum of 10.
" } }, @@ -3801,6 +3820,7 @@ "minimumLinks": { "target": "com.amazonaws.directconnect#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
" } }, @@ -3831,6 +3851,7 @@ "allowsHostedConnections": { "target": "com.amazonaws.directconnect#BooleanFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the LAG can host other connections.
" } }, @@ -4122,22 +4143,13 @@ } }, "com.amazonaws.directconnect#LongAsn": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.directconnect#MTU": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.directconnect#MacSecCapable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.directconnect#MacSecKey": { "type": "structure", @@ -4178,10 +4190,7 @@ } }, "com.amazonaws.directconnect#MaxResultSetSize": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.directconnect#NewBGPPeer": { "type": "structure", @@ -4189,6 +4198,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
" } }, @@ -4234,6 +4244,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the VLAN.
", "smithy.api#required": {} } @@ -4241,6 +4252,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
\nThe valid values are 1-2147483647.
", "smithy.api#required": {} } @@ -4317,6 +4329,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the VLAN.
", "smithy.api#required": {} } @@ -4324,6 +4337,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
\nThe valid values are 1-2147483647.
", "smithy.api#required": {} } @@ -4382,6 +4396,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the VLAN.
", "smithy.api#required": {} } @@ -4389,6 +4404,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
\nThe valid values are 1-2147483647.
", "smithy.api#required": {} } @@ -4447,6 +4463,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the VLAN.
", "smithy.api#required": {} } @@ -4454,6 +4471,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
\nThe valid values are 1-2147483647.
", "smithy.api#required": {} } @@ -4511,12 +4529,14 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the VLAN.
" } }, "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
\nThe valid values are 1-2147483647.
" } }, @@ -4585,12 +4605,14 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the VLAN.
" } }, "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
\nThe valid values are 1-2147483647.
" } }, @@ -4656,24 +4678,6 @@ }, "com.amazonaws.directconnect#OvertureService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Direct Connect", - "arnNamespace": "directconnect", - "cloudFormationName": "DirectConnect", - "cloudTrailEventSource": "directconnect.amazonaws.com", - "endpointPrefix": "directconnect" - }, - "aws.auth#sigv4": { - "name": "directconnect" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. \n One end of the cable is connected to your router, the other to an Direct Connect router. With this connection\n in place, you can create virtual interfaces directly to the Amazon Web Services Cloud (for example, to Amazon EC2 \n and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A \n connection provides access to all Amazon Web Services Regions except the China (Beijing) and (China) Ningxia Regions. \n Amazon Web Services resources in the China Regions can only be accessed through locations associated with those Regions.
", - "smithy.api#title": "AWS Direct Connect", - "smithy.api#xmlNamespace": { - "uri": "http://directconnect.amazonaws.com/doc/2012-10-25/" - } - }, "version": "2012-10-25", "operations": [ { @@ -4865,7 +4869,25 @@ { "target": "com.amazonaws.directconnect#UpdateVirtualInterfaceAttributes" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Direct Connect", + "arnNamespace": "directconnect", + "cloudFormationName": "DirectConnect", + "cloudTrailEventSource": "directconnect.amazonaws.com", + "endpointPrefix": "directconnect" + }, + "aws.auth#sigv4": { + "name": "directconnect" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. \n One end of the cable is connected to your router, the other to an Direct Connect router. With this connection\n in place, you can create virtual interfaces directly to the Amazon Web Services Cloud (for example, to Amazon EC2 \n and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A \n connection provides access to all Amazon Web Services Regions except the China (Beijing) and (China) Ningxia Regions. \n Amazon Web Services resources in the China Regions can only be accessed through locations associated with those Regions.
", + "smithy.api#title": "AWS Direct Connect", + "smithy.api#xmlNamespace": { + "uri": "http://directconnect.amazonaws.com/doc/2012-10-25/" + } + } }, "com.amazonaws.directconnect#OwnerAccount": { "type": "string" @@ -4898,10 +4920,7 @@ "type": "string" }, "com.amazonaws.directconnect#RequestMACSec": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.directconnect#ResourceArn": { "type": "string" @@ -5012,10 +5031,7 @@ "type": "string" }, "com.amazonaws.directconnect#SiteLinkEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.directconnect#Software": { "type": "string" @@ -5247,10 +5263,7 @@ } }, "com.amazonaws.directconnect#TestDuration": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.directconnect#TestId": { "type": "string" @@ -5491,6 +5504,7 @@ "minimumLinks": { "target": "com.amazonaws.directconnect#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum number of physical connections that must be operational for the LAG itself to be operational.
" } }, @@ -5553,7 +5567,10 @@ } }, "com.amazonaws.directconnect#VLAN": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.directconnect#Vendor": { "type": "string" @@ -5649,12 +5666,14 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the VLAN.
" } }, "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
\nThe valid values are 1-2147483647.
" } }, diff --git a/codegen/sdk/aws-models/directory-service.json b/codegen/sdk/aws-models/directory-service.json index f21cfa51bd1..2fb675e388f 100644 --- a/codegen/sdk/aws-models/directory-service.json +++ b/codegen/sdk/aws-models/directory-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -160,6 +160,7 @@ "UpdateSecurityGroupForDirectoryControllers": { "target": "com.amazonaws.directoryservice#UpdateSecurityGroupForDirectoryControllers", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If set to true, updates the inbound and outbound rules of the security group that has\n the description: \"Amazon Web Services created security group for directory ID\n directory controllers.\" Following are the new rules:
\nInbound:
\nType: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0
\nType: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0
\nType: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0
\nType: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0
\nType: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0
\nType: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0
\nType: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0
\nType: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0
\nType: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0
\nType: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0
\nType: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0
\nType: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source:\n 0.0.0.0/0
\nType: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source:\n 0.0.0.0/0
\nType: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0
\nType: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0
\nType: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0
\nType: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0
\nOutbound:
\nType: All traffic, Protocol: All, Range: All, Destination: 0.0.0.0/0
\nThese security rules impact an internal network interface that is not exposed\n publicly.
" } } @@ -763,7 +764,10 @@ } }, "com.amazonaws.directoryservice#CloudOnlyDirectoriesLimitReached": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#Computer": { "type": "structure", @@ -948,7 +952,10 @@ } }, "com.amazonaws.directoryservice#ConnectedDirectoriesLimitReached": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#CreateAlias": { "type": "operation", @@ -1459,7 +1466,10 @@ } }, "com.amazonaws.directoryservice#CreateSnapshotBeforeSchemaExtension": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#CreateSnapshotRequest": { "type": "structure", @@ -1616,7 +1626,10 @@ } }, "com.amazonaws.directoryservice#DeleteAssociatedConditionalForwarder": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#DeleteConditionalForwarder": { "type": "operation", @@ -1870,6 +1883,7 @@ "DeleteAssociatedConditionalForwarder": { "target": "com.amazonaws.directoryservice#DeleteAssociatedConditionalForwarder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Delete a conditional forwarder as part of a DeleteTrustRequest.
" } } @@ -2926,6 +2940,7 @@ "com.amazonaws.directoryservice#DesiredNumberOfDomainControllers": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 2 } @@ -3244,12 +3259,14 @@ "SsoEnabled": { "target": "com.amazonaws.directoryservice#SsoEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and DisableSso.
" } }, "DesiredNumberOfDomainControllers": { "target": "com.amazonaws.directoryservice#DesiredNumberOfDomainControllers", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The desired number of domain controllers in the directory if the directory is Microsoft\n AD.
" } }, @@ -3357,6 +3374,7 @@ "CloudOnlyDirectoriesLimitReached": { "target": "com.amazonaws.directoryservice#CloudOnlyDirectoriesLimitReached", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if the cloud directory limit has been reached.
" } }, @@ -3375,6 +3393,7 @@ "CloudOnlyMicrosoftADLimitReached": { "target": "com.amazonaws.directoryservice#CloudOnlyDirectoriesLimitReached", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if the Managed Microsoft AD directory limit has been reached.
" } }, @@ -3393,6 +3412,7 @@ "ConnectedDirectoriesLimitReached": { "target": "com.amazonaws.directoryservice#ConnectedDirectoriesLimitReached", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if the connected directory limit has been reached.
" } } @@ -3424,24 +3444,6 @@ }, "com.amazonaws.directoryservice#DirectoryService_20150416": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Directory Service", - "arnNamespace": "ds", - "cloudFormationName": "DirectoryService", - "cloudTrailEventSource": "directoryservice.amazonaws.com", - "endpointPrefix": "ds" - }, - "aws.auth#sigv4": { - "name": "ds" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Directory Service is a web service that makes it easy for you to setup and run directories in the\n Amazon Web Services cloud, or connect your Amazon Web Services resources with an existing self-managed Microsoft Active\n Directory. This guide provides detailed information about Directory Service operations, data types,\n parameters, and errors. For information about Directory Services features, see Directory Service and the Directory Service\n Administration Guide.
\nAmazon Web Services provides SDKs that consist of libraries and sample code for various\n programming languages and platforms (Java, Ruby, .Net, iOS, Android, etc.). The SDKs\n provide a convenient way to create programmatic access to Directory Service and other Amazon Web Services\n services. For more information about the Amazon Web Services SDKs, including how to download and\n install them, see Tools for Amazon Web\n Services.
\nDirectory Service is a web service that makes it easy for you to setup and run directories in the\n Amazon Web Services cloud, or connect your Amazon Web Services resources with an existing self-managed Microsoft Active\n Directory. This guide provides detailed information about Directory Service operations, data types,\n parameters, and errors. For information about Directory Services features, see Directory Service and the Directory Service\n Administration Guide.
\nAmazon Web Services provides SDKs that consist of libraries and sample code for various\n programming languages and platforms (Java, Ruby, .Net, iOS, Android, etc.). The SDKs\n provide a convenient way to create programmatic access to Directory Service and other Amazon Web Services\n services. For more information about the Amazon Web Services SDKs, including how to download and\n install them, see Tools for Amazon Web\n Services.
\nThe port that your RADIUS server is using for communications. Your self-managed\n network must allow inbound traffic over this port from the Directory Service servers.
" } }, "RadiusTimeout": { "target": "com.amazonaws.directoryservice#RadiusTimeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time, in seconds, to wait for the RADIUS server to respond.
" } }, "RadiusRetries": { "target": "com.amazonaws.directoryservice#RadiusRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of times that communication with the RADIUS server is\n attempted.
" } }, @@ -5567,6 +5593,7 @@ "UseSameUsername": { "target": "com.amazonaws.directoryservice#UseSameUsername", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Not currently used.
" } } @@ -5608,6 +5635,7 @@ "com.amazonaws.directoryservice#RadiusTimeout": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 20 @@ -5647,6 +5675,7 @@ "DesiredNumberOfDomainControllers": { "target": "com.amazonaws.directoryservice#DesiredNumberOfDomainControllers", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The desired number of domain controllers in the specified Region for the specified\n directory.
" } }, @@ -6839,6 +6868,7 @@ "ManualSnapshotsLimitReached": { "target": "com.amazonaws.directoryservice#ManualSnapshotsLimitReached", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if the manual snapshot limit has been reached.
" } } @@ -6901,7 +6931,10 @@ } }, "com.amazonaws.directoryservice#SsoEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#StageReason": { "type": "string" @@ -6954,6 +6987,7 @@ "CreateSnapshotBeforeSchemaExtension": { "target": "com.amazonaws.directoryservice#CreateSnapshotBeforeSchemaExtension", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, creates a snapshot of the directory before applying the schema\n extension.
", "smithy.api#required": {} } @@ -7555,6 +7589,7 @@ "DesiredNumber": { "target": "com.amazonaws.directoryservice#DesiredNumberOfDomainControllers", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of domain controllers desired in the directory.
", "smithy.api#required": {} } @@ -7621,7 +7656,10 @@ } }, "com.amazonaws.directoryservice#UpdateSecurityGroupForDirectoryControllers": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#UpdateSettings": { "type": "operation", @@ -7750,7 +7788,10 @@ } }, "com.amazonaws.directoryservice#UseSameUsername": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#UserDoesNotExistException": { "type": "structure", diff --git a/codegen/sdk/aws-models/dlm.json b/codegen/sdk/aws-models/dlm.json index b1e84f6d590..13fc8d777ee 100644 --- a/codegen/sdk/aws-models/dlm.json +++ b/codegen/sdk/aws-models/dlm.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -73,6 +73,36 @@ "smithy.api#pattern": "^[0-9A-Za-z _-]+$" } }, + "com.amazonaws.dlm#ArchiveRetainRule": { + "type": "structure", + "members": { + "RetentionArchiveTier": { + "target": "com.amazonaws.dlm#RetentionArchiveTier", + "traits": { + "smithy.api#documentation": "Information about retention period in the Amazon EBS Snapshots Archive. For more information, see \n\t\t\tArchive Amazon \n\t\t\t\tEBS snapshots.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "\n [Snapshot policies only] Specifies information about the archive storage tier retention period.
" + } + }, + "com.amazonaws.dlm#ArchiveRule": { + "type": "structure", + "members": { + "RetainRule": { + "target": "com.amazonaws.dlm#ArchiveRetainRule", + "traits": { + "smithy.api#documentation": "Information about the retention period for the snapshot archiving rule.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "\n [Snapshot policies only] Specifies a snapshot archiving rule for a schedule.
" + } + }, "com.amazonaws.dlm#AvailabilityZone": { "type": "string", "traits": { @@ -116,17 +146,18 @@ } }, "com.amazonaws.dlm#CopyTags": { - "type": "boolean" - }, - "com.amazonaws.dlm#CopyTagsNullable": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.dlm#CopyTagsNullable": { + "type": "boolean" + }, "com.amazonaws.dlm#Count": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -223,7 +254,8 @@ "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { - "smithy.api#documentation": "The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and\n\t\t\t24.
" + "smithy.api#default": 0, + "smithy.api#documentation": "The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.
" } }, "IntervalUnit": { @@ -235,7 +267,7 @@ "Times": { "target": "com.amazonaws.dlm#TimesList", "traits": { - "smithy.api#documentation": "The time, in UTC, to start the operation. The supported format is hh:mm.
\n\t\tThe operation occurs within a one-hour window following the specified time. If you do\n\t\t\tnot specify a time, Amazon DLM selects a time within the next 24 hours.
" + "smithy.api#documentation": "The time, in UTC, to start the operation. The supported format is hh:mm.
\n\t\tThe operation occurs within a one-hour window following the specified time. If you do\n\t\t\tnot specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.
" } }, "CronExpression": { @@ -246,7 +278,7 @@ } }, "traits": { - "smithy.api#documentation": "\n [Snapshot and AMI policies only] Specifies when the policy should create snapshots or AMIs.
\n\t\tYou must specify either a Cron expression or an interval, interval unit, and start\n\t\t\ttime. You cannot specify both.
\n\t\t\n [Snapshot and AMI policies only] Specifies when the policy should create snapshots or AMIs.
\n\t\tYou must specify either CronExpression, or \n\t\t\t\t\t\tInterval, IntervalUnit, \n\t\t\t\t\t\tand Times.
\n\t\t\t\tIf you need to specify an ArchiveRule for the schedule, then you must\n\t\t\t\t\t\tspecify a creation frequency of at least 28 days.
\n\t\t\t\tThe period after which to deprecate the cross-Region AMI copies. The period must be less than or \n\t\t\tequal to the cross-Region AMI copy retention period, and it can't be greater than 10 years. This is \n\t\t\tequivalent to 120 months, 520 weeks, or 3650 days.
" } }, @@ -322,6 +355,7 @@ "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. \n\t\t\tThis is equivalent to 1200 months, 5200 weeks, or 36500 days.
" } }, @@ -419,7 +453,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified lifecycle policy and halts the automated operations that the\n\t\t\tpolicy specified.
", + "smithy.api#documentation": "Deletes the specified lifecycle policy and halts the automated operations that the\n\t\t\tpolicy specified.
\n\t\tFor more information about deleting a policy, see Delete lifecycle \n\t\t\tpolicies.
", "smithy.api#http": { "method": "DELETE", "uri": "/policies/{PolicyId}", @@ -450,12 +484,14 @@ "Count": { "target": "com.amazonaws.dlm#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "If the schedule has a count-based retention rule, this parameter specifies the number of oldest \n\t\t\tAMIs to deprecate. The count must be less than or equal to the schedule's retention count, and it \n\t\t\tcan't be greater than 1000.
" } }, "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "If the schedule has an age-based retention rule, this parameter specifies the period after which \n\t\t\tto deprecate AMIs created by the schedule. The period must be less than or equal to the schedule's \n\t\t\tretention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 \n\t\t\tweeks, or 3650 days.
" } }, @@ -481,10 +517,7 @@ } }, "com.amazonaws.dlm#Encrypted": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dlm#EncryptionConfiguration": { "type": "structure", @@ -564,32 +597,29 @@ } }, "com.amazonaws.dlm#EventSourceValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MANAGED_CWE", - "name": "MANAGED_CWE" + "type": "enum", + "members": { + "MANAGED_CWE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANAGED_CWE" } - ] + } } }, "com.amazonaws.dlm#EventTypeValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "shareSnapshot", - "name": "SHARE_SNAPSHOT" + "type": "enum", + "members": { + "SHARE_SNAPSHOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "shareSnapshot" } - ] + } } }, "com.amazonaws.dlm#ExcludeBootVolume": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dlm#ExcludeDataVolumeTagList": { "type": "list", @@ -619,12 +649,14 @@ "Count": { "target": "com.amazonaws.dlm#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of snapshots to be enabled with fast snapshot restore.
" } }, "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time to enable fast snapshot restore. The maximum is 100 years. This is\n\t\t\tequivalent to 1200 months, 5200 weeks, or 36500 days.
" } }, @@ -643,7 +675,7 @@ } }, "traits": { - "smithy.api#documentation": "\n [Snapshot policies only] Specifies a rule for enabling fast snapshot restore for snapshots created by \n\t\t\tsnaspshot policies. You can enable fast snapshot restore based on either a count or a time \n\t\t\tinterval.
" + "smithy.api#documentation": "\n [Snapshot policies only] Specifies a rule for enabling fast snapshot restore for snapshots created by\n\t\t\tsnapshot policies. You can enable fast snapshot restore based on either a count or a\n\t\t\ttime interval.
" } }, "com.amazonaws.dlm#GetLifecyclePolicies": { @@ -781,22 +813,26 @@ } }, "com.amazonaws.dlm#GettablePolicyStateValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "ERROR", - "name": "ERROR" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" } - ] + } } }, "com.amazonaws.dlm#InternalServerException": { @@ -818,20 +854,21 @@ "com.amazonaws.dlm#Interval": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.dlm#IntervalUnitValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HOURS", - "name": "HOURS" + "type": "enum", + "members": { + "HOURS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HOURS" } - ] + } } }, "com.amazonaws.dlm#InvalidRequestException": { @@ -1049,25 +1086,24 @@ } }, "com.amazonaws.dlm#LocationValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CLOUD", - "name": "CLOUD" - }, - { - "value": "OUTPOST_LOCAL", - "name": "OUTPOST_LOCAL" + "type": "enum", + "members": { + "CLOUD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOUD" + } + }, + "OUTPOST_LOCAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTPOST_LOCAL" } - ] + } } }, "com.amazonaws.dlm#NoReboot": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dlm#Parameter": { "type": "string" @@ -1101,7 +1137,7 @@ } }, "traits": { - "smithy.api#documentation": "\n [Snapshot and AMI policies only] Specifies optional parameters for snapshot and AMI policies. The \n\t\t\tset of valid parameters depends on the combination of policy type and target resource \n\t\t\ttype.
\n\t\tIf you choose to exclude boot volumes and you specify tags that consequently exclude \n\t\t\tall of the additional data volumes attached to an instance, then Amazon DLM will not create \n\t\t\tany snapshots for the affected instance, and it will emit a SnapshotsCreateFailed \n\t\t\tAmazon CloudWatch metric. For more information, see Monitor your policies \n\t\t\t\tusing Amazon CloudWatch.
\n [Snapshot and AMI policies only] Specifies optional parameters for snapshot and AMI policies. The \n\t\t\tset of valid parameters depends on the combination of policy type and target resource \n\t\t\ttype.
\n\t\tIf you choose to exclude boot volumes and you specify tags that consequently exclude \n\t\t\tall of the additional data volumes attached to an instance, then Amazon Data Lifecycle Manager will not create \n\t\t\tany snapshots for the affected instance, and it will emit a SnapshotsCreateFailed \n\t\t\tAmazon CloudWatch metric. For more information, see Monitor your policies \n\t\t\t\tusing Amazon CloudWatch.
The number of snapshots to retain for each volume, up to a maximum of 1000. For example if you want to \n\t\t\tretain a maximum of three snapshots, specify 3. When the fourth snapshot is created, the \n\t\t\toldest retained snapshot is deleted, or it is moved to the archive tier if you have specified an \n\t\t\tArchiveRule.
The amount of time to retain each snapshot. The maximum is 100 years. This is\n\t\t\tequivalent to 1200 months, 5200 weeks, or 36500 days.
" + } + }, + "IntervalUnit": { + "target": "com.amazonaws.dlm#RetentionIntervalUnitValues", + "traits": { + "smithy.api#documentation": "The unit of time for time-based retention. For example, to retain snapshots for 3 months, specify \n\t\t\tInterval=3 and IntervalUnit=MONTHS. Once the snapshot has been retained for \n\t\t\t3 months, it is deleted, or it is moved to the archive tier if you have specified an \n\t\t\tArchiveRule.
\n [Snapshot and AMI policies only] Specifies a retention rule for snapshots created by snapshot policies, or for AMIs \n\t\t\tcreated by AMI policies.
\n\t\t\n\t\tFor snapshot policies that have an ArchiveRule, this retention rule\n\t\t\t\tapplies to standard tier retention. When the retention threshold is met, snapshots\n\t\t\t\tare moved from the standard to the archive tier.
\n\t\t\tFor snapshot policies that do not have an ArchiveRule, snapshots \n\t\t\t\tare permanently deleted when this retention threshold is met.
\n\t\tYou can retain snapshots based on either a count or a time interval.
\t\t\n\t\t\n Count-based retention\n
\n\t\t\t\tYou must specify Count. \n\t\t\t\t\tIf you specify an ArchiveRule for the schedule, then you can specify a retention count of \n\t\t\t\t\t0 to archive snapshots immediately after creation. If you specify a FastRestoreRule, \n\t\t\t\t\tShareRule, or a CrossRegionCopyRule, then you must specify a retention count \n\t\t\t\t\tof 1 or more.
\n Age-based retention\n
\n\t\t\t\tYou must specify Interval \n\t\t\t\t\tand IntervalUnit. If you specify an ArchiveRule for the \n\t\t\t\t\tschedule, then you can specify a retention interval of 0 days to archive snapshots immediately \n\t\t\t\t\tafter creation. If you specify a FastRestoreRule, ShareRule, or a \n\t\t\t\t\tCrossRegionCopyRule, then you must specify a retention interval of 1 day or \n\t\t\t\t\tmore.
The number of snapshots to retain for each volume, up to a maximum of 1000.
" + "smithy.api#default": 0, + "smithy.api#documentation": "The maximum number of snapshots to retain in the archive storage tier for each volume. \n\t\t\tThe count must ensure that each snapshot remains in the archive tier for at least \n\t\t90 days. For example, if the schedule creates snapshots every 30 days, you must specify a \n\t\tcount of 3 or more to ensure that each snapshot is archived for at least 90 days.
" } }, "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { - "smithy.api#documentation": "The amount of time to retain each snapshot. The maximum is 100 years. This is\n\t\t\tequivalent to 1200 months, 5200 weeks, or 36500 days.
" + "smithy.api#default": 0, + "smithy.api#documentation": "Specifies the period of time to retain snapshots in the archive tier. After this period \n\t\t\texpires, the snapshot is permanently deleted.
" } }, "IntervalUnit": { "target": "com.amazonaws.dlm#RetentionIntervalUnitValues", "traits": { - "smithy.api#documentation": "The unit of time for time-based retention.
" + "smithy.api#documentation": "The unit of time in which to measure the Interval. For \n\t\t\texample, to retain a snapshots in the archive tier for 6 months, specify Interval=6 \n\t\t\tand IntervalUnit=MONTHS.
\n [Snapshot and AMI policies only] Specifies a retention rule for snapshots created by snapshot policies \n\t\t\tor for AMIs created by AMI policies. You can retain snapshots based on either a count or a time interval.
\n\t\tYou must specify either Count, or Interval \n\t\t\tand IntervalUnit.
" + "smithy.api#documentation": "\n [Snapshot policies only] Describes the retention rule for archived snapshots. Once the archive \n\t\t\tretention threshold is met, the snapshots are permanently deleted from the archive tier.
\n\t\tThe archive retention rule must retain snapshots in the archive tier for a minimum \n\t\t\t\tof 90 days.
\n\t\tFor count-based schedules, you must specify Count. For age-based\n\t\t\t\tschedules, you must specify Interval and\n\t\t\t\t IntervalUnit.
\n\t\tFor more information about using snapshot archiving, see Considerations for \n\t\t\tsnapshot lifecycle policies.
" } }, "com.amazonaws.dlm#RetentionIntervalUnitValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DAYS", - "name": "DAYS" - }, - { - "value": "WEEKS", - "name": "WEEKS" - }, - { - "value": "MONTHS", - "name": "MONTHS" - }, - { - "value": "YEARS", - "name": "YEARS" - } - ] + "type": "enum", + "members": { + "DAYS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DAYS" + } + }, + "WEEKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WEEKS" + } + }, + "MONTHS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MONTHS" + } + }, + "YEARS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YEARS" + } + } } }, "com.amazonaws.dlm#Schedule": { @@ -1358,6 +1438,7 @@ "CopyTags": { "target": "com.amazonaws.dlm#CopyTags", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Copy all user-defined tags on a source volume to snapshots of the volume created by\n\t\t\tthis policy.
" } }, @@ -1408,6 +1489,12 @@ "traits": { "smithy.api#documentation": "\n [AMI policies only] The AMI deprecation rule for the schedule.
" } + }, + "ArchiveRule": { + "target": "com.amazonaws.dlm#ArchiveRule", + "traits": { + "smithy.api#documentation": "\n [Snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving \n\t\t\trule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's \n\t\t\tretention threshold is met. Snapshots are then retained in the archive tier for the archive retention \n\t\t\tperiod that you specify.
\n\t\tFor more information about using snapshot archiving, see Considerations for \n\t\t\t\tsnapshot lifecycle policies.
" + } } }, "traits": { @@ -1437,18 +1524,20 @@ } }, "com.amazonaws.dlm#SettablePolicyStateValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } } }, "com.amazonaws.dlm#ShareRule": { @@ -1464,6 +1553,7 @@ "UnshareInterval": { "target": "com.amazonaws.dlm#Interval", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.
" } }, @@ -1513,6 +1603,25 @@ } } }, + "com.amazonaws.dlm#StandardTierRetainRuleCount": { + "type": "integer", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0, + "max": 1000 + } + } + }, + "com.amazonaws.dlm#StandardTierRetainRuleInterval": { + "type": "integer", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0 + } + } + }, "com.amazonaws.dlm#StatusMessage": { "type": "string", "traits": { @@ -1833,7 +1942,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates the specified lifecycle policy.
", + "smithy.api#documentation": "Updates the specified lifecycle policy.
\n\t\tFor more information about updating a policy, see Modify lifecycle \n\t\t\tpolicies.
", "smithy.api#http": { "method": "PATCH", "uri": "/policies/{PolicyId}", @@ -1896,21 +2005,6 @@ }, "com.amazonaws.dlm#dlm_20180112": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DLM", - "arnNamespace": "dlm", - "cloudFormationName": "DLM", - "cloudTrailEventSource": "dlm.amazonaws.com", - "endpointPrefix": "dlm" - }, - "aws.auth#sigv4": { - "name": "dlm" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create\n\t\t\tlifecycle policies, which are used to automate operations on the specified\n\t\t\tresources.
\n\t\tAmazon DLM supports Amazon EBS volumes and snapshots. For information about using Amazon DLM\n\t\t\twith Amazon EBS, see Automating the Amazon EBS\n\t\t\t\tSnapshot Lifecycle in the Amazon EC2 User Guide.
", - "smithy.api#title": "Amazon Data Lifecycle Manager" - }, "version": "2018-01-12", "operations": [ { @@ -1937,7 +2031,22 @@ { "target": "com.amazonaws.dlm#UpdateLifecyclePolicy" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DLM", + "arnNamespace": "dlm", + "cloudFormationName": "DLM", + "cloudTrailEventSource": "dlm.amazonaws.com", + "endpointPrefix": "dlm" + }, + "aws.auth#sigv4": { + "name": "dlm" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create\n\t\t\tlifecycle policies, which are used to automate operations on the specified\n\t\t\tresources.
\n\t\tAmazon Data Lifecycle Manager supports Amazon EBS volumes and snapshots. For information about using Amazon Data Lifecycle Manager\n\t\t\twith Amazon EBS, see \n\t\t\t\tAmazon Data Lifecycle Manager in the Amazon EC2 User Guide.
", + "smithy.api#title": "Amazon Data Lifecycle Manager" + } } } } diff --git a/codegen/sdk/aws-models/docdb.json b/codegen/sdk/aws-models/docdb.json index 249575fa89a..05ef107545d 100644 --- a/codegen/sdk/aws-models/docdb.json +++ b/codegen/sdk/aws-models/docdb.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -126,24 +126,6 @@ }, "com.amazonaws.docdb#AmazonRDSv19": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DocDB", - "arnNamespace": "rds", - "cloudFormationName": "DocDB", - "cloudTrailEventSource": "docdb.amazonaws.com", - "endpointPrefix": "rds" - }, - "aws.auth#sigv4": { - "name": "rds" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Amazon DocumentDB API documentation
", - "smithy.api#title": "Amazon DocumentDB with MongoDB compatibility", - "smithy.api#xmlNamespace": { - "uri": "http://rds.amazonaws.com/doc/2014-10-31/" - } - }, "version": "2014-10-31", "operations": [ { @@ -305,7 +287,25 @@ { "target": "com.amazonaws.docdb#StopDBCluster" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DocDB", + "arnNamespace": "rds", + "cloudFormationName": "DocDB", + "cloudTrailEventSource": "docdb.amazonaws.com", + "endpointPrefix": "rds" + }, + "aws.auth#sigv4": { + "name": "rds" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Amazon DocumentDB API documentation
", + "smithy.api#title": "Amazon DocumentDB with MongoDB compatibility", + "smithy.api#xmlNamespace": { + "uri": "http://rds.amazonaws.com/doc/2014-10-31/" + } + } }, "com.amazonaws.docdb#ApplyMethod": { "type": "string", @@ -441,14 +441,14 @@ } }, "com.amazonaws.docdb#Boolean": { - "type": "boolean" - }, - "com.amazonaws.docdb#BooleanOptional": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.docdb#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.docdb#Certificate": { "type": "structure", "members": { @@ -1508,6 +1508,7 @@ "MultiAZ": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the cluster has instances in multiple Availability Zones.
" } }, @@ -1586,6 +1587,7 @@ "StorageEncrypted": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the cluster is encrypted.
" } }, @@ -1634,6 +1636,7 @@ "DeletionProtection": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether this cluster can be deleted. If DeletionProtection is\n enabled, the cluster cannot be deleted unless it is modified and\n DeletionProtection is disabled. DeletionProtection\n protects clusters from being accidentally deleted.
A value that is true if the cluster member is the primary instance for\n the cluster and false otherwise.
Specifies the port that the cluster was listening on at the time of the\n snapshot.
" } }, @@ -1982,12 +1987,14 @@ "PercentProgress": { "target": "com.amazonaws.docdb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the percentage of the estimated data that has been transferred.
" } }, "StorageEncrypted": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the cluster snapshot is encrypted.
" } }, @@ -2174,6 +2181,7 @@ "SupportsLogExportsToCloudwatchLogs": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether the engine version supports exporting the log types\n specified by ExportableLogTypes to CloudWatch Logs.
Specifies the number of days for which automatic snapshots are retained.
" } }, @@ -2307,12 +2316,14 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Does not apply. This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set.
" } }, "PubliclyAccessible": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Not supported. Amazon DocumentDB does not currently support public endpoints. The value \n of PubliclyAccessible is always false.
Specifies whether or not the instance is encrypted.
" } }, @@ -2456,6 +2468,7 @@ "Normal": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that is true if the instance is operating normally, or\n false if the instance is in an error state.
Determines whether a final cluster snapshot is created before the cluster is deleted. If true is specified, no cluster snapshot is created. If false is specified, a cluster snapshot is created before the DB cluster is deleted.
If SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier parameter.
Default: false\n
Set to true to include shared manual cluster snapshots from other Amazon Web Services accounts that this Amazon Web Services account has been given permission to copy or restore, and otherwise false. The default is false.
Set to true to include manual cluster snapshots that are public and can be copied or restored by any Amazon Web Services account, and otherwise false. The default is false.
Indicates that only the default version of the specified engine or engine and major\n version combination is returned.
" } }, @@ -4158,6 +4175,7 @@ "Port": { "target": "com.amazonaws.docdb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the port that the database engine is listening on.
" } }, @@ -4357,6 +4375,7 @@ "Enabled": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value indicating whether the subscription is enabled. A value of\n true indicates that the subscription is enabled.
Specifies whether the Amazon DocumentDB cluster is the primary cluster (that is, has read-write capability) for the Amazon DocumentDB global cluster with which it is associated.
" } } @@ -4790,14 +4810,14 @@ } }, "com.amazonaws.docdb#Integer": { - "type": "integer" - }, - "com.amazonaws.docdb#IntegerOptional": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.docdb#IntegerOptional": { + "type": "integer" + }, "com.amazonaws.docdb#InvalidDBClusterSnapshotStateFault": { "type": "structure", "members": { @@ -5158,6 +5178,7 @@ "ApplyImmediately": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that specifies whether the changes in this request and any pending changes are\n asynchronously applied as soon as possible, regardless of the\n PreferredMaintenanceWindow setting for the cluster. If this\n parameter is set to false, changes to the cluster are applied during the\n next maintenance window.
The ApplyImmediately parameter affects only the\n NewDBClusterIdentifier and MasterUserPassword values. If\n you set this parameter value to false, the changes to the\n NewDBClusterIdentifier and MasterUserPassword values are\n applied during the next maintenance window. All other changes are applied immediately,\n regardless of the value of the ApplyImmediately parameter.
Default: false\n
Specifies whether the modifications in this request and any pending modifications are\n asynchronously applied as soon as possible, regardless of the\n PreferredMaintenanceWindow setting for the instance.
If this parameter is set to false, changes to the instance are\n applied during the next maintenance window. Some parameter changes can cause an outage\n and are applied on the next reboot.
Default: false\n
Indicates whether an instance is in a virtual private cloud (VPC).
" } } @@ -5797,6 +5820,7 @@ "IsModifiable": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": " Indicates whether (true) or not (false) the parameter can\n be modified. Some parameters have security or operational implications that prevent them\n from being changed.
A value that is set to true to reset all parameters in the cluster\n parameter group to their default values, and false otherwise. You can't use\n this parameter if there is a list of parameter names specified for the\n Parameters parameter.
A value that is set to true to restore the cluster to the latest\n restorable backup time, and false otherwise.
Default: false\n
Constraints: Cannot be specified if the RestoreToTime parameter is\n provided.
A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
A value that indicates whether a database engine is upgraded to a major\n version.
" } } diff --git a/codegen/sdk/aws-models/drs.json b/codegen/sdk/aws-models/drs.json index a3fc8447846..5b53f3a6241 100644 --- a/codegen/sdk/aws-models/drs.json +++ b/codegen/sdk/aws-models/drs.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.drs#ARN": { "type": "string", @@ -101,6 +101,7 @@ "cores": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of CPU cores.
" } }, @@ -369,6 +370,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
", "smithy.api#required": {} } @@ -548,24 +550,28 @@ "totalStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total amount of data to be replicated in bytes.
" } }, "replicatedStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of data replicated so far in bytes.
" } }, "rescannedStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of data to be rescanned in bytes.
" } }, "backloggedStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the replication backlog in bytes.
" } } @@ -1013,6 +1019,7 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of Job log items to retrieve.
" } }, @@ -1091,6 +1098,7 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of Jobs to retrieve.
" } }, @@ -1216,6 +1224,7 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of Recovery Instances to retrieve.
" } }, @@ -1330,6 +1339,7 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of Recovery Snapshots to retrieve.
" } }, @@ -1431,6 +1441,7 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of Replication Configuration Templates to retrieve.
" } }, @@ -1509,6 +1520,7 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of Source Servers to retrieve.
" } }, @@ -1682,6 +1694,7 @@ "bytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of storage on the disk in bytes.
" } } @@ -1774,40 +1787,6 @@ }, "com.amazonaws.drs#ElasticDisasterRecoveryService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "drs", - "arnNamespace": "drs", - "awsProductName": "drs", - "cloudTrailEventSource": "drs.amazonaws.com" - }, - "aws.auth#sigv4": { - "name": "drs" - }, - "aws.iam#defineConditionKeys": { - "drs:EC2InstanceARN": { - "type": "String", - "documentation": "Filters access by the EC2 instance the request originated from" - } - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "Content-Type", - "X-Amz-Content-Sha256", - "X-Amz-User-Agent", - "X-Amzn-Trace-Id" - ], - "additionalExposedHeaders": [ - "X-Amzn-Errortype", - "X-Amzn-Requestid", - "X-Amzn-Trace-Id", - "X-Amz-Apigw-Id" - ] - }, - "smithy.api#documentation": "AWS Elastic Disaster Recovery Service.
", - "smithy.api#title": "Elastic Disaster Recovery Service" - }, "version": "2020-02-26", "operations": [ { @@ -1848,7 +1827,41 @@ { "target": "com.amazonaws.drs#SourceServerResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "drs", + "arnNamespace": "drs", + "awsProductName": "drs", + "cloudTrailEventSource": "drs.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "drs" + }, + "aws.iam#defineConditionKeys": { + "drs:EC2InstanceARN": { + "type": "String", + "documentation": "Filters access by the EC2 instance the request originated from" + } + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "Content-Type", + "X-Amz-Content-Sha256", + "X-Amz-User-Agent", + "X-Amzn-Trace-Id" + ], + "additionalExposedHeaders": [ + "X-Amzn-Errortype", + "X-Amzn-Requestid", + "X-Amzn-Trace-Id", + "X-Amz-Apigw-Id" + ] + }, + "smithy.api#documentation": "AWS Elastic Disaster Recovery Service.
", + "smithy.api#title": "Elastic Disaster Recovery Service" + } }, "com.amazonaws.drs#ExtensionStatus": { "type": "string", @@ -2002,6 +2015,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Configure bandwidth throttling for the outbound data transfer rate of the Recovery Instance in Mbps.
" } }, @@ -2249,6 +2263,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds after which the request should be safe to retry.
", "smithy.api#httpHeader": "Retry-After" } @@ -2838,6 +2853,7 @@ "maxResults": { "target": "com.amazonaws.drs#MaxResultsReplicatingSourceServers", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of extensible source servers to retrieve.
" } }, @@ -3008,6 +3024,7 @@ "com.amazonaws.drs#MaxResultsReplicatingSourceServers": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 300 @@ -3084,6 +3101,7 @@ "ruleID": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the rule.
" } }, @@ -3097,6 +3115,7 @@ "interval": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "How often, in the chosen units, a snapshot should be taken.
", "smithy.api#required": {} } @@ -3104,6 +3123,7 @@ "retentionDuration": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration to retain a snapshot for, in the chosen units.
", "smithy.api#required": {} } @@ -3182,6 +3202,7 @@ "com.amazonaws.drs#PositiveInteger": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3343,24 +3364,28 @@ "totalStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total amount of data to be replicated in bytes.
" } }, "replicatedStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of data replicated so far in bytes.
" } }, "rescannedStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of data to be rescanned in bytes.
" } }, "backloggedStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the replication backlog in bytes.
" } } @@ -3548,6 +3573,7 @@ "bytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of storage on the disk in bytes.
" } }, @@ -3694,6 +3720,7 @@ "ramBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of RAM in bytes.
" } }, @@ -3910,6 +3937,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
" } }, @@ -4016,12 +4044,14 @@ "iops": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The requested number of I/O operations per second (IOPS).
" } }, "throughput": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The throughput to use for the EBS volume in MiB/s. This parameter is valid only for gp3 volumes.
" } }, @@ -4150,6 +4180,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
" } }, @@ -4429,6 +4460,7 @@ "ramBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of RAM in bytes.
" } }, @@ -4919,6 +4951,7 @@ "com.amazonaws.drs#StrictlyPositiveInteger": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -5264,6 +5297,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Configure bandwidth throttling for the outbound data transfer rate of the Recovery Instance in Mbps.
" } }, @@ -5475,6 +5509,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
" } }, @@ -5608,6 +5643,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
" } }, @@ -5739,4 +5775,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/dynamodb-streams.json b/codegen/sdk/aws-models/dynamodb-streams.json index 4c3515c20f4..66a6438cdd4 100644 --- a/codegen/sdk/aws-models/dynamodb-streams.json +++ b/codegen/sdk/aws-models/dynamodb-streams.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -125,10 +125,7 @@ } }, "com.amazonaws.dynamodbstreams#BooleanAttributeValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodbstreams#Date": { "type": "timestamp" @@ -196,6 +193,21 @@ }, "com.amazonaws.dynamodbstreams#DynamoDBStreams_20120810": { "type": "service", + "version": "2012-08-10", + "operations": [ + { + "target": "com.amazonaws.dynamodbstreams#DescribeStream" + }, + { + "target": "com.amazonaws.dynamodbstreams#GetRecords" + }, + { + "target": "com.amazonaws.dynamodbstreams#GetShardIterator" + }, + { + "target": "com.amazonaws.dynamodbstreams#ListStreams" + } + ], "traits": { "aws.api#service": { "sdkId": "DynamoDB Streams", @@ -213,22 +225,7 @@ "smithy.api#xmlNamespace": { "uri": "http://dynamodb.amazonaws.com/doc/2012-08-10/" } - }, - "version": "2012-08-10", - "operations": [ - { - "target": "com.amazonaws.dynamodbstreams#DescribeStream" - }, - { - "target": "com.amazonaws.dynamodbstreams#GetRecords" - }, - { - "target": "com.amazonaws.dynamodbstreams#GetShardIterator" - }, - { - "target": "com.amazonaws.dynamodbstreams#ListStreams" - } - ] + } }, "com.amazonaws.dynamodbstreams#ErrorMessage": { "type": "string" @@ -580,10 +577,7 @@ } }, "com.amazonaws.dynamodbstreams#NullAttributeValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodbstreams#NumberAttributeValue": { "type": "string" @@ -616,7 +610,6 @@ "com.amazonaws.dynamodbstreams#PositiveIntegerObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -625,7 +618,6 @@ "com.amazonaws.dynamodbstreams#PositiveLongObject": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } diff --git a/codegen/sdk/aws-models/dynamodb.json b/codegen/sdk/aws-models/dynamodb.json index c1bec4a26b1..10ecd145ce1 100644 --- a/codegen/sdk/aws-models/dynamodb.json +++ b/codegen/sdk/aws-models/dynamodb.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -447,10 +447,7 @@ } }, "com.amazonaws.dynamodb#Backfilling": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#BackupArn": { "type": "string", @@ -582,7 +579,6 @@ "com.amazonaws.dynamodb#BackupSizeBytes": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -726,7 +722,6 @@ "com.amazonaws.dynamodb#BackupsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1112,7 +1107,6 @@ "com.amazonaws.dynamodb#BilledSizeBytes": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -1163,16 +1157,10 @@ } }, "com.amazonaws.dynamodb#BooleanAttributeValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#BooleanObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#CancellationReason": { "type": "structure", @@ -1426,10 +1414,7 @@ } }, "com.amazonaws.dynamodb#ConsistentRead": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#ConsumedCapacity": { "type": "structure", @@ -1488,10 +1473,7 @@ } }, "com.amazonaws.dynamodb#ConsumedCapacityUnits": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.dynamodb#ContinuousBackupsDescription": { "type": "structure", @@ -3131,10 +3113,7 @@ } }, "com.amazonaws.dynamodb#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.dynamodb#DuplicateItemException": { "type": "structure", @@ -3150,28 +3129,6 @@ }, "com.amazonaws.dynamodb#DynamoDB_20120810": { "type": "service", - "traits": { - "aws.api#clientEndpointDiscovery": { - "operation": "com.amazonaws.dynamodb#DescribeEndpoints", - "error": "com.amazonaws.dynamodb#InvalidEndpointException" - }, - "aws.api#service": { - "sdkId": "DynamoDB", - "arnNamespace": "dynamodb", - "cloudFormationName": "DynamoDB", - "cloudTrailEventSource": "dynamodb.amazonaws.com", - "endpointPrefix": "dynamodb" - }, - "aws.auth#sigv4": { - "name": "dynamodb" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Amazon DynamoDB is a fully managed NoSQL database service that provides fast\n and predictable performance with seamless scalability. DynamoDB lets you\n offload the administrative burdens of operating and scaling a distributed database, so\n that you don't have to worry about hardware provisioning, setup and configuration,\n replication, software patching, or cluster scaling.
\n\nWith DynamoDB, you can create database tables that can store and retrieve\n any amount of data, and serve any level of request traffic. You can scale up or scale\n down your tables' throughput capacity without downtime or performance degradation, and\n use the Amazon Web Services Management Console to monitor resource utilization and performance\n metrics.
\n\nDynamoDB automatically spreads the data and traffic for your tables over\n a sufficient number of servers to handle your throughput and storage requirements, while\n maintaining consistent and fast performance. All of your data is stored on solid state\n disks (SSDs) and automatically replicated across multiple Availability Zones in an\n Amazon Web Services Region, providing built-in high availability and data\n durability.
", - "smithy.api#title": "Amazon DynamoDB", - "smithy.api#xmlNamespace": { - "uri": "http://dynamodb.amazonaws.com/doc/2012-08-10/" - } - }, "version": "2012-08-10", "operations": [ { @@ -3333,7 +3290,29 @@ { "target": "com.amazonaws.dynamodb#UpdateTimeToLive" } - ] + ], + "traits": { + "aws.api#clientEndpointDiscovery": { + "operation": "com.amazonaws.dynamodb#DescribeEndpoints", + "error": "com.amazonaws.dynamodb#InvalidEndpointException" + }, + "aws.api#service": { + "sdkId": "DynamoDB", + "arnNamespace": "dynamodb", + "cloudFormationName": "DynamoDB", + "cloudTrailEventSource": "dynamodb.amazonaws.com", + "endpointPrefix": "dynamodb" + }, + "aws.auth#sigv4": { + "name": "dynamodb" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Amazon DynamoDB is a fully managed NoSQL database service that provides fast\n and predictable performance with seamless scalability. DynamoDB lets you\n offload the administrative burdens of operating and scaling a distributed database, so\n that you don't have to worry about hardware provisioning, setup and configuration,\n replication, software patching, or cluster scaling.
\n\nWith DynamoDB, you can create database tables that can store and retrieve\n any amount of data, and serve any level of request traffic. You can scale up or scale\n down your tables' throughput capacity without downtime or performance degradation, and\n use the Amazon Web Services Management Console to monitor resource utilization and performance\n metrics.
\n\nDynamoDB automatically spreads the data and traffic for your tables over\n a sufficient number of servers to handle your throughput and storage requirements, while\n maintaining consistent and fast performance. All of your data is stored on solid state\n disks (SSDs) and automatically replicated across multiple Availability Zones in an\n Amazon Web Services Region, providing built-in high availability and data\n durability.
", + "smithy.api#title": "Amazon DynamoDB", + "smithy.api#xmlNamespace": { + "uri": "http://dynamodb.amazonaws.com/doc/2012-08-10/" + } + } }, "com.amazonaws.dynamodb#EnableKinesisStreamingDestination": { "type": "operation", @@ -3380,6 +3359,7 @@ "CachePeriodInMinutes": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Endpoint cache time to live (TTL) value.
", "smithy.api#required": {} } @@ -3398,6 +3378,7 @@ "com.amazonaws.dynamodb#ErrorCount": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4267,12 +4248,14 @@ "IndexSizeBytes": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total size of the specified index, in bytes. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this\n value.
" } }, "ItemCount": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of items in the specified index. DynamoDB updates this value approximately\n every six hours. Recent changes might not be reflected in this value.
" } }, @@ -4737,6 +4720,7 @@ "ErrorCount": { "target": "com.amazonaws.dynamodb#ErrorCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The number of errors occurred on importing the source file into the target table.\n
" } }, @@ -4785,18 +4769,21 @@ "ProcessedSizeBytes": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The total size of data processed from the source file, in Bytes.\n
" } }, "ProcessedItemCount": { "target": "com.amazonaws.dynamodb#ProcessedItemCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The total number of items processed from the source file.\n
" } }, "ImportedItemCount": { "target": "com.amazonaws.dynamodb#ImportedItemCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The number of items successfully imported into the new table.\n
" } }, @@ -4877,6 +4864,7 @@ "com.amazonaws.dynamodb#ImportedItemCount": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4980,14 +4968,14 @@ } }, "com.amazonaws.dynamodb#Integer": { - "type": "integer" - }, - "com.amazonaws.dynamodb#IntegerObject": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.dynamodb#IntegerObject": { + "type": "integer" + }, "com.amazonaws.dynamodb#InternalServerError": { "type": "structure", "members": { @@ -5084,10 +5072,7 @@ } }, "com.amazonaws.dynamodb#ItemCollectionSizeEstimateBound": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.dynamodb#ItemCollectionSizeEstimateRange": { "type": "list", @@ -5113,7 +5098,6 @@ "com.amazonaws.dynamodb#ItemCount": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -5509,6 +5493,7 @@ "MaxResults": { "target": "com.amazonaws.dynamodb#ListContributorInsightsLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of results to return per page.
" } } @@ -5517,6 +5502,7 @@ "com.amazonaws.dynamodb#ListContributorInsightsLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "max": 100 } @@ -5590,7 +5576,6 @@ "com.amazonaws.dynamodb#ListExportsMaxLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 25 @@ -5725,7 +5710,6 @@ "com.amazonaws.dynamodb#ListImportsMaxLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 25 @@ -5801,7 +5785,6 @@ "com.amazonaws.dynamodb#ListTablesInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5942,12 +5925,14 @@ "IndexSizeBytes": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total size of the specified index, in bytes. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this\n value.
" } }, "ItemCount": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of items in the specified index. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this\n value.
" } }, @@ -6007,7 +5992,10 @@ } }, "com.amazonaws.dynamodb#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.dynamodb#MapAttributeValue": { "type": "map", @@ -6045,17 +6033,13 @@ "com.amazonaws.dynamodb#NonNegativeLongObject": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.dynamodb#NullAttributeValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#NumberAttributeValue": { "type": "string" @@ -6206,7 +6190,6 @@ "com.amazonaws.dynamodb#PositiveIntegerObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -6215,7 +6198,6 @@ "com.amazonaws.dynamodb#PositiveLongObject": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -6235,6 +6217,7 @@ "com.amazonaws.dynamodb#ProcessedItemCount": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -6736,12 +6719,14 @@ "Count": { "target": "com.amazonaws.dynamodb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of items in the response.
\nIf you used a QueryFilter in the request, then Count is the\n number of items returned after the filter was applied, and ScannedCount is\n the number of matching items before the filter was applied.
If you did not use a filter in the request, then Count and\n ScannedCount are the same.
The number of items evaluated, before any QueryFilter is applied. A high\n ScannedCount value with few, or no, Count results\n indicates an inefficient Query operation. For more information, see Count and\n ScannedCount in the Amazon DynamoDB Developer\n Guide.
If you did not use a filter in the request, then ScannedCount is the same\n as Count.
The number of items in the response.
\nIf you set ScanFilter in the request, then Count is the\n number of items returned after the filter was applied, and ScannedCount is\n the number of matching items before the filter was applied.
If you did not use a filter in the request, then Count is the same as\n ScannedCount.
The number of items evaluated, before any ScanFilter is applied. A high\n ScannedCount value with few, or no, Count results\n indicates an inefficient Scan operation. For more information, see Count and\n ScannedCount in the Amazon DynamoDB Developer\n Guide.
If you did not use a filter in the request, then ScannedCount is the same\n as Count.
Size of the table in bytes. Note that this is an approximate value.
" } }, @@ -8304,10 +8284,7 @@ } }, "com.amazonaws.dynamodb#StreamEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#StreamSpecification": { "type": "structure", @@ -8533,12 +8510,14 @@ "TableSizeBytes": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total size of the specified table, in bytes. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this\n value.
" } }, "ItemCount": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of items in the specified table. DynamoDB updates this value approximately\n every six hours. Recent changes might not be reflected in this value.
" } }, @@ -8851,10 +8830,7 @@ } }, "com.amazonaws.dynamodb#TimeToLiveEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#TimeToLiveSpecification": { "type": "structure", diff --git a/codegen/sdk/aws-models/ebs.json b/codegen/sdk/aws-models/ebs.json index 0e393afafa0..1421aea4e0b 100644 --- a/codegen/sdk/aws-models/ebs.json +++ b/codegen/sdk/aws-models/ebs.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -94,17 +94,13 @@ "com.amazonaws.ebs#BlockIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.ebs#BlockSize": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.ebs#BlockToken": { "type": "string", @@ -126,10 +122,7 @@ } }, "com.amazonaws.ebs#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.ebs#ChangedBlock": { "type": "structure", @@ -167,7 +160,6 @@ "com.amazonaws.ebs#ChangedBlocksCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -332,10 +324,7 @@ } }, "com.amazonaws.ebs#DataLength": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.ebs#Description": { "type": "string", @@ -349,21 +338,6 @@ }, "com.amazonaws.ebs#Ebs": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "EBS", - "arnNamespace": "ebs", - "cloudFormationName": "EBS", - "cloudTrailEventSource": "ebs.amazonaws.com", - "endpointPrefix": "ebs" - }, - "aws.auth#sigv4": { - "name": "ebs" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to \n \t\tyour snapshots, read data on your snapshots, and identify the differences or changes between \n \t\ttwo snapshots. If you’re an independent software vendor (ISV) who offers backup services for \n \t\tAmazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on \n \t\tyour Amazon EBS volumes through snapshots. This can be done without having to create new volumes \n \t\tfrom snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.
\n \t\t\n \tYou can create incremental snapshots directly from data on-premises into volumes and the \n \t\tcloud to use for quick disaster recovery. With the ability to write and read snapshots, you can \n \t\twrite your on-premises data to an snapshot during a disaster. Then after recovery, you can \n \t\trestore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and \n \t\tmaintain complex mechanisms to copy data to and from Amazon EBS.
\n\n\nThis API reference provides detailed information about the actions, data types,\n parameters, and errors of the EBS direct APIs. For more information about the elements that\n make up the EBS direct APIs, and examples of how to use them effectively, see Accessing the Contents of an Amazon EBS Snapshot in the Amazon Elastic Compute Cloud User\n Guide. For more information about the supported Amazon Web Services Regions, endpoints,\n and service quotas for the EBS direct APIs, see Amazon Elastic Block Store Endpoints and Quotas in\n the Amazon Web Services General Reference.
", - "smithy.api#title": "Amazon Elastic Block Store" - }, "version": "2019-11-02", "operations": [ { @@ -384,7 +358,22 @@ { "target": "com.amazonaws.ebs#StartSnapshot" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "EBS", + "arnNamespace": "ebs", + "cloudFormationName": "EBS", + "cloudTrailEventSource": "ebs.amazonaws.com", + "endpointPrefix": "ebs" + }, + "aws.auth#sigv4": { + "name": "ebs" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to \n \t\tyour snapshots, read data on your snapshots, and identify the differences or changes between \n \t\ttwo snapshots. If you’re an independent software vendor (ISV) who offers backup services for \n \t\tAmazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on \n \t\tyour Amazon EBS volumes through snapshots. This can be done without having to create new volumes \n \t\tfrom snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.
\n \t\t\n \tYou can create incremental snapshots directly from data on-premises into volumes and the \n \t\tcloud to use for quick disaster recovery. With the ability to write and read snapshots, you can \n \t\twrite your on-premises data to an snapshot during a disaster. Then after recovery, you can \n \t\trestore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and \n \t\tmaintain complex mechanisms to copy data to and from Amazon EBS.
\n\n\nThis API reference provides detailed information about the actions, data types,\n parameters, and errors of the EBS direct APIs. For more information about the elements that\n make up the EBS direct APIs, and examples of how to use them effectively, see Accessing the Contents of an Amazon EBS Snapshot in the Amazon Elastic Compute Cloud User\n Guide. For more information about the supported Amazon Web Services Regions, endpoints,\n and service quotas for the EBS direct APIs, see Amazon Elastic Block Store Endpoints and Quotas in\n the Amazon Web Services General Reference.
", + "smithy.api#title": "Amazon Elastic Block Store" + } }, "com.amazonaws.ebs#ErrorMessage": { "type": "string", @@ -474,6 +463,7 @@ "BlockData": { "target": "com.amazonaws.ebs#BlockData", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "The data content of the block.
", "smithy.api#httpPayload": {} } @@ -760,7 +750,6 @@ "com.amazonaws.ebs#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 100, "max": 10000 @@ -790,7 +779,6 @@ "com.amazonaws.ebs#Progress": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -1267,7 +1255,6 @@ "com.amazonaws.ebs#Timeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10, "max": 4320 @@ -1351,7 +1338,6 @@ "com.amazonaws.ebs#VolumeSize": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } diff --git a/codegen/sdk/aws-models/ec2-instance-connect.json b/codegen/sdk/aws-models/ec2-instance-connect.json index 1564eef75f3..5a205aec0f5 100644 --- a/codegen/sdk/aws-models/ec2-instance-connect.json +++ b/codegen/sdk/aws-models/ec2-instance-connect.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,15 @@ "shapes": { "com.amazonaws.ec2instanceconnect#AWSEC2InstanceConnectService": { "type": "service", + "version": "2018-04-02", + "operations": [ + { + "target": "com.amazonaws.ec2instanceconnect#SendSerialConsoleSSHPublicKey" + }, + { + "target": "com.amazonaws.ec2instanceconnect#SendSSHPublicKey" + } + ], "traits": { "aws.api#service": { "sdkId": "EC2 Instance Connect", @@ -45,16 +54,7 @@ "aws.protocols#awsJson1_1": {}, "smithy.api#documentation": "Amazon EC2 Instance Connect enables system administrators to publish one-time use SSH\n public keys to EC2, providing users a simple and secure way to connect to their\n instances.
", "smithy.api#title": "AWS EC2 Instance Connect" - }, - "version": "2018-04-02", - "operations": [ - { - "target": "com.amazonaws.ec2instanceconnect#SendSerialConsoleSSHPublicKey" - }, - { - "target": "com.amazonaws.ec2instanceconnect#SendSSHPublicKey" - } - ] + } }, "com.amazonaws.ec2instanceconnect#AuthException": { "type": "structure", @@ -279,6 +279,7 @@ "Success": { "target": "com.amazonaws.ec2instanceconnect#Success", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Is true if the request succeeds and an error otherwise.
" } } @@ -344,6 +345,7 @@ "SerialPort": { "target": "com.amazonaws.ec2instanceconnect#SerialPort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The serial port of the EC2 instance. Currently only port 0 is supported.
\nDefault: 0
" } }, @@ -368,6 +370,7 @@ "Success": { "target": "com.amazonaws.ec2instanceconnect#Success", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Is true if the request succeeds and an error otherwise.
" } } @@ -427,6 +430,7 @@ "com.amazonaws.ec2instanceconnect#SerialPort": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 0 @@ -454,7 +458,10 @@ "type": "string" }, "com.amazonaws.ec2instanceconnect#Success": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ec2instanceconnect#ThrottlingException": { "type": "structure", diff --git a/codegen/sdk/aws-models/ec2.json b/codegen/sdk/aws-models/ec2.json index a10eb2fc9da..6a6b4e0b47b 100644 --- a/codegen/sdk/aws-models/ec2.json +++ b/codegen/sdk/aws-models/ec2.json @@ -32384,6 +32384,14 @@ "smithy.api#documentation": "Indicates whether DNS resolution is enabled for\n\t\t\t\tthe VPC. If this attribute is true, the Amazon DNS server\n\t\t\t\tresolves DNS hostnames for your instances to their corresponding\n\t\t\t\tIP addresses; otherwise, it does not.
Indicates whether Network Address Usage metrics are enabled for your VPC.
", + "smithy.api#xmlName": "enableNetworkAddressUsageMetrics" + } } } }, @@ -44711,6 +44719,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.
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 lastLaunchedTime data is available starting April 2017.
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.
Indicates whether Network Address Usage metrics are enabled for your VPC.
" + } } } }, @@ -67210,7 +67257,7 @@ "traits": { "smithy.api#default": 0, "smithy.api#range": { - "min": 1, + "min": 0, "max": 65535 } } @@ -69257,6 +69304,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.
If you set the value to v2.0, make sure that your AMI software can support IMDSv2.
If a repository contains images, forces the deletion.
" } } @@ -870,7 +874,10 @@ "type": "timestamp" }, "com.amazonaws.ecrpublic#ForceFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ecrpublic#GetAuthorizationToken": { "type": "operation", @@ -1313,10 +1320,7 @@ } }, "com.amazonaws.ecrpublic#ImageSizeInBytes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.ecrpublic#ImageTag": { "type": "string", @@ -1668,10 +1672,7 @@ } }, "com.amazonaws.ecrpublic#LayerSizeInBytes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.ecrpublic#LayersNotFoundException": { "type": "structure", @@ -1753,15 +1754,11 @@ } }, "com.amazonaws.ecrpublic#MarketplaceCertified": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.ecrpublic#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -1798,14 +1795,16 @@ "com.amazonaws.ecrpublic#PartSize": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.ecrpublic#PrimaryRegistryAliasFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ecrpublic#PushTimestamp": { "type": "timestamp" @@ -2129,6 +2128,7 @@ "primaryRegistryAlias": { "target": "com.amazonaws.ecrpublic#PrimaryRegistryAliasFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether or not the registry alias is the primary alias for the registry. If true, the\n alias is the primary registry alias and is displayed in both the repository URL and the\n image URI used in the docker pull commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in the repository\n URI in a docker pull command.
Whether or not the registry alias is the default alias for the registry. When the first\n public repository is created, your public registry is assigned a default registry\n alias.
", "smithy.api#required": {} } @@ -2237,10 +2238,7 @@ } }, "com.amazonaws.ecrpublic#RegistryVerified": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.ecrpublic#Repository": { "type": "structure", @@ -2538,6 +2536,7 @@ "force": { "target": "com.amazonaws.ecrpublic#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If the policy you are attempting to set on a repository policy would prevent you from\n setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental\n repository lock outs.
" } } diff --git a/codegen/sdk/aws-models/ecr.json b/codegen/sdk/aws-models/ecr.json index 6e073e3dcf4..becc3e41a4c 100644 --- a/codegen/sdk/aws-models/ecr.json +++ b/codegen/sdk/aws-models/ecr.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.ecr#AmazonEC2ContainerRegistry_V20150921": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ECR", - "arnNamespace": "ecr", - "cloudFormationName": "ECR", - "cloudTrailEventSource": "ecr.amazonaws.com", - "endpointPrefix": "api.ecr" - }, - "aws.auth#sigv4": { - "name": "ecr" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the\n familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR\n provides a secure, scalable, and reliable registry for your Docker or Open Container\n Initiative (OCI) images. Amazon ECR supports private repositories with resource-based\n permissions using IAM so that specific users or Amazon EC2 instances can access\n repositories and images.
\nAmazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the\n Amazon Web Services General Reference.
", - "smithy.api#title": "Amazon EC2 Container Registry", - "smithy.api#xmlNamespace": { - "uri": "http://ecr.amazonaws.com/doc/2015-09-21/" - } - }, "version": "2015-09-21", "operations": [ { @@ -174,7 +156,25 @@ { "target": "com.amazonaws.ecr#UploadLayerPart" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ECR", + "arnNamespace": "ecr", + "cloudFormationName": "ECR", + "cloudTrailEventSource": "ecr.amazonaws.com", + "endpointPrefix": "api.ecr" + }, + "aws.auth#sigv4": { + "name": "ecr" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the\n familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR\n provides a secure, scalable, and reliable registry for your Docker or Open Container\n Initiative (OCI) images. Amazon ECR supports private repositories with resource-based\n permissions using IAM so that specific users or Amazon EC2 instances can access\n repositories and images.
\nAmazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the\n Amazon Web Services General Reference.
", + "smithy.api#title": "Amazon EC2 Container Registry", + "smithy.api#xmlNamespace": { + "uri": "http://ecr.amazonaws.com/doc/2015-09-21/" + } + } }, "com.amazonaws.ecr#Arch": { "type": "string" @@ -331,7 +331,10 @@ } }, "com.amazonaws.ecr#BaseScore": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ecr#BatchCheckLayerAvailability": { "type": "operation", @@ -898,6 +901,7 @@ "baseScore": { "target": "com.amazonaws.ecr#BaseScore", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The base CVSS score used for the finding.
" } }, @@ -962,6 +966,7 @@ "score": { "target": "com.amazonaws.ecr#Score", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The CVSS score.
" } }, @@ -1305,6 +1310,7 @@ "force": { "target": "com.amazonaws.ecr#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If a repository contains images, forces the deletion.
" } } @@ -1939,6 +1945,7 @@ "score": { "target": "com.amazonaws.ecr#Score", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The Amazon Inspector score given to the finding.
" } }, @@ -1990,10 +1997,7 @@ } }, "com.amazonaws.ecr#Epoch": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.ecr#EvaluationTimestamp": { "type": "timestamp" @@ -2057,7 +2061,10 @@ } }, "com.amazonaws.ecr#ForceFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ecr#GetAuthorizationToken": { "type": "operation", @@ -2634,7 +2641,6 @@ "com.amazonaws.ecr#ImageCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -3036,6 +3042,7 @@ "scanOnPush": { "target": "com.amazonaws.ecr#ScanOnPushFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The setting that determines whether images are scanned after being pushed to a\n repository. If set to true, images will be scanned after being pushed. If\n this parameter is not specified, it will default to false and images will\n not be scanned unless a scan is manually started with the API_StartImageScan API.
Whether or not scan on push is configured for the repository.
" } }, @@ -5099,7 +5097,10 @@ } }, "com.amazonaws.ecr#ScanOnPushFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ecr#ScanStatus": { "type": "string", @@ -5243,7 +5244,10 @@ } }, "com.amazonaws.ecr#Score": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ecr#ScoreDetails": { "type": "structure", @@ -5326,6 +5330,7 @@ "force": { "target": "com.amazonaws.ecr#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If the policy you are attempting to set on a repository policy would prevent you from\n setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental\n repository lock outs.
" } } @@ -5360,7 +5365,6 @@ "com.amazonaws.ecr#SeverityCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/ecs.json b/codegen/sdk/aws-models/ecs.json index f494050a33b..da339bbb129 100644 --- a/codegen/sdk/aws-models/ecs.json +++ b/codegen/sdk/aws-models/ecs.json @@ -421,8 +421,6 @@ "managedTerminationProtection": { "target": "com.amazonaws.ecs#ManagedTerminationProtection", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "DISABLED", "smithy.api#documentation": "The managed termination protection setting to use for the Auto Scaling group capacity\n\t\t\tprovider. This determines whether the Auto Scaling group has managed termination\n\t\t\tprotection. The default is disabled.
\n\t\tWhen using managed termination protection, managed scaling must also be used\n\t\t\t\totherwise managed termination protection doesn't work.
\n\t\tWhen managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in\n\t\t\tan Auto Scaling group that contain tasks from being terminated during a scale-in action.\n\t\t\tThe Auto Scaling group and each instance in the Auto Scaling group must have instance\n\t\t\tprotection from scale-in actions enabled as well. For more information, see Instance Protection in the Auto Scaling User Guide.
\n\t\tWhen managed termination protection is disabled, your Amazon EC2 instances aren't protected\n\t\t\tfrom termination when the Auto Scaling group scales in.
" } } @@ -1271,8 +1269,6 @@ "stopTimeout": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 30, "smithy.api#documentation": "Time duration (in seconds) to wait before the container is forcefully killed if it\n\t\t\tdoesn't exit normally on its own.
\n\t\tFor tasks using the Fargate launch type, the task or service requires\n\t\t\tthe following platforms:
\n\t\tLinux platform version 1.3.0 or later.
Windows platform version 1.0.0 or later.
The max stop timeout value is 120 seconds and if the parameter is not specified, the\n\t\t\tdefault value of 30 seconds is used.
\n\t\tFor tasks that use the EC2 launch type, if the stopTimeout\n\t\t\tparameter isn't specified, the value set for the Amazon ECS container agent configuration\n\t\t\tvariable ECS_CONTAINER_STOP_TIMEOUT is used. If neither the\n\t\t\t\tstopTimeout parameter or the ECS_CONTAINER_STOP_TIMEOUT\n\t\t\tagent configuration variable are set, then the default values of 30 seconds for Linux\n\t\t\tcontainers and 30 seconds on Windows containers are used. Your container instances\n\t\t\trequire at least version 1.26.0 of the container agent to use a container stop timeout\n\t\t\tvalue. However, we recommend using the latest container agent version. For information\n\t\t\tabout checking your agent version and updating to the latest version, see Updating the Amazon ECS Container Agent in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide. If you're using an Amazon ECS-optimized Linux AMI, your\n\t\t\tinstance needs at least version 1.26.0-1 of the ecs-init package. If your\n\t\t\tcontainer instances are launched from version 20190301 or later, then they\n\t\t\tcontain the required versions of the container agent and ecs-init. For more\n\t\t\tinformation, see Amazon ECS-optimized Linux AMI\n\t\t\tin the Amazon Elastic Container Service Developer Guide.
The deployment controller type to use.
\n\t\tThere are three deployment controller types available:
\n\t\tThe rolling update (ECS) deployment type involves replacing\n\t\t\t\t\t\tthe current running version of the container with the latest version. The\n\t\t\t\t\t\tnumber of containers Amazon ECS adds or removes from the service during a rolling\n\t\t\t\t\t\tupdate is controlled by adjusting the minimum and maximum number of healthy\n\t\t\t\t\t\ttasks allowed during a service deployment, as specified in the DeploymentConfiguration.
The blue/green (CODE_DEPLOY) deployment type uses the\n\t\t\t\t\t\tblue/green deployment model powered by CodeDeploy, which allows you to verify a\n\t\t\t\t\t\tnew deployment of a service before sending production traffic to it.
The external (EXTERNAL) deployment type enables you to use\n\t\t\t\t\t\tany third-party deployment controller for full control over the deployment\n\t\t\t\t\t\tprocess for an Amazon ECS service.
Determines whether to use the Amazon ECS task IAM role defined in a task definition when\n\t\t\tmounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the\n\t\t\t\tEFSVolumeConfiguration. If this parameter is omitted, the default value\n\t\t\tof DISABLED is used. For more information, see Using\n\t\t\t\tAmazon EFS access points in the Amazon Elastic Container Service Developer Guide.
Determines whether to use encryption for Amazon EFS data in transit between the Amazon ECS host\n\t\t\tand the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is\n\t\t\tused. If this parameter is omitted, the default value of DISABLED is used.\n\t\t\tFor more information, see Encrypting data in transit in\n\t\t\tthe Amazon Elastic File System User Guide.
The log setting to use for redirecting logs for your execute command results. The\n\t\t\tfollowing log settings are available.
\n\t\t\n NONE: The execute command session is not logged.
\n DEFAULT: The awslogs configuration in the task\n\t\t\t\t\tdefinition is used. If no logging parameter is specified, it defaults to this\n\t\t\t\t\tvalue. If no awslogs log driver is configured in the task\n\t\t\t\t\tdefinition, the output won't be logged.
\n OVERRIDE: Specify the logging details as a part of\n\t\t\t\t\t\tlogConfiguration. If the OVERRIDE logging option\n\t\t\t\t\tis specified, the logConfiguration is required.
The time period in seconds between each health check execution. You may specify\n\t\t\tbetween 5 and 300 seconds. The default value is 30 seconds.
" } }, "timeout": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 5, "smithy.api#documentation": "The time period in seconds to wait for a health check to succeed before it is\n\t\t\tconsidered a failure. You may specify between 2 and 60 seconds. The default value is\n\t\t\t5.
" } }, "retries": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 3, "smithy.api#documentation": "The number of times to retry a failed health check before the container is considered\n\t\t\tunhealthy. You may specify between 1 and 10 retries. The default value is 3.
" } }, @@ -4611,8 +4593,6 @@ "swappiness": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 60, "smithy.api#documentation": "This allows you to tune a container's memory swappiness behavior. A\n\t\t\t\tswappiness value of 0 will cause swapping to not happen\n\t\t\tunless absolutely necessary. A swappiness value of 100 will\n\t\t\tcause pages to be swapped very aggressively. Accepted values are whole numbers between\n\t\t\t\t0 and 100. If the swappiness parameter is not\n\t\t\tspecified, a default value of 60 is used. If a value is not specified for\n\t\t\t\tmaxSwap then this parameter is ignored. This parameter maps to the\n\t\t\t\t--memory-swappiness option to docker run.
If you're using tasks that use the Fargate launch type, the\n\t\t\t\t\tswappiness parameter isn't supported.
The minimum number of container instances that Amazon ECS scales in or scales out at one\n\t\t\ttime. If this parameter is omitted, the default value of 1 is used.
The maximum number of container instances that Amazon ECS scales in or scales out at one\n\t\t\ttime. If this parameter is omitted, the default value of 10000 is\n\t\t\tused.
The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute\n\t\t\tto CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value\n\t\t\tof 300 seconds is used.
If this value is true, the container has read-only access to the volume.\n\t\t\tIf this value is false, then the container can write to the volume. The\n\t\t\tdefault value is false.
The port number on the container instance to reserve for your container.
\n\t\tIf you use containers in a task with the awsvpc or host\n\t\t\tnetwork mode, the hostPort can either be left blank or set to the same\n\t\t\tvalue as the containerPort.
If you use containers in a task with the bridge network mode, you can\n\t\t\tspecify a non-reserved host port for your container port mapping, or you can omit the\n\t\t\t\thostPort (or set it to 0) while specifying a\n\t\t\t\tcontainerPort and your container automatically receives a port in the\n\t\t\tephemeral port range for your container instance operating system and Docker\n\t\t\tversion.
The default ephemeral port range for Docker version 1.6.0 and later is listed on the\n\t\t\tinstance under /proc/sys/net/ipv4/ip_local_port_range. If this kernel\n\t\t\tparameter is unavailable, the default ephemeral port range from 49153 through 65535 is\n\t\t\tused. Do not attempt to specify a host port in the ephemeral port range as these are\n\t\t\treserved for automatic assignment. In general, ports below 32768 are outside of the\n\t\t\tephemeral port range.
The default ephemeral port range from 49153 through 65535 is always used for\n\t\t\t\tDocker versions before 1.6.0.
\n\t\tThe default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the\n\t\t\tAmazon ECS container agent ports 51678-51680. Any host port that was previously specified in\n\t\t\ta running task is also reserved while the task is running. That is, after a task stops,\n\t\t\tthe host port is released. The current reserved ports are displayed in the\n\t\t\t\tremainingResources of DescribeContainerInstances\n\t\t\toutput. A container instance can have up to 100 reserved ports at a time. This number\n\t\t\tincludes the default reserved ports. Automatically assigned ports aren't included in the\n\t\t\t100 reserved ports quota.
The port number on the container instance to reserve for your container.
\n\t\tIf you use containers in a task with the awsvpc or host\n\t\t\tnetwork mode, the hostPort can either be left blank or set to the same\n\t\t\tvalue as the containerPort.
If you use containers in a task with the bridge network mode, you can\n\t\t\tspecify a non-reserved host port for your container port mapping, or you can omit the\n\t\t\t\thostPort (or set it to 0) while specifying a\n\t\t\t\tcontainerPort and your container automatically receives a port in the\n\t\t\tephemeral port range for your container instance operating system and Docker\n\t\t\tversion.
The default ephemeral port range for Docker version 1.6.0 and later is listed on the\n\t\t\tinstance under /proc/sys/net/ipv4/ip_local_port_range. If this kernel\n\t\t\tparameter is unavailable, the default ephemeral port range from 49153 through 65535 is\n\t\t\tused. Do not attempt to specify a host port in the ephemeral port range as these are\n\t\t\treserved for automatic assignment. In general, ports below 32768 are outside of the\n\t\t\tephemeral port range.
The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the\n\t\t\tAmazon ECS container agent ports 51678-51680. Any host port that was previously specified in\n\t\t\ta running task is also reserved while the task is running. That is, after a task stops,\n\t\t\tthe host port is released. The current reserved ports are displayed in the\n\t\t\t\tremainingResources of DescribeContainerInstances\n\t\t\toutput. A container instance can have up to 100 reserved ports at a time. This number\n\t\t\tincludes the default reserved ports. Automatically assigned ports aren't included in the\n\t\t\t100 reserved ports quota.
The protocol used for the port mapping. Valid values are tcp and\n\t\t\t\tudp. The default is tcp.
The resource name for which to modify the account setting. If\n\t\t\t\tserviceLongArnFormat is specified, the ARN for your Amazon ECS services is\n\t\t\taffected. If taskLongArnFormat is specified, the ARN and resource ID for\n\t\t\tyour Amazon ECS tasks is affected. If containerInstanceLongArnFormat is\n\t\t\tspecified, the ARN and resource ID for your Amazon ECS container instances is affected. If\n\t\t\t\tawsvpcTrunking is specified, the ENI limit for your Amazon ECS container\n\t\t\tinstances is affected. If containerInsights is specified, the default\n\t\t\tsetting for CloudWatch Container Insights for your clusters is affected.
The resource name for which to modify the account setting. If\n\t\t\t\tserviceLongArnFormat is specified, the ARN for your Amazon ECS services is\n\t\t\taffected. If taskLongArnFormat is specified, the ARN and resource ID for\n\t\t\tyour Amazon ECS tasks is affected. If containerInstanceLongArnFormat is\n\t\t\tspecified, the ARN and resource ID for your Amazon ECS container instances is affected. If\n\t\t\t\tawsvpcTrunking is specified, the ENI limit for your Amazon ECS container\n\t\t\tinstances is affected. If containerInsights is specified, the default\n\t\t\tsetting for CloudWatch Container Insights for your clusters is affected.
Fargate is transitioning from task count-based quotas to vCPU-based quotas. You can set\n\t\t\tthe name to fargateVCPULimit to opt in or opt out of the vCPU-based quotas.\n\t\t\tFor information about the opt in timeline, see Fargate vCPU-based quotas timeline in the\n\t\t\t\tAmazon ECS Developer Guide.
The Docker networking mode to use for the containers in the task. The valid values are\n none, bridge, awsvpc, and host.\n If no network mode is specified, the default is bridge.
For Amazon ECS tasks on Fargate, the awsvpc network mode is required. \n For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, or awsvpc can be used. If the network\n mode is set to none, you cannot specify port mappings in your container\n definitions, and the tasks containers do not have external connectivity. The\n host and awsvpc network modes offer the highest networking\n performance for containers because they use the EC2 network stack instead of the\n virtualized network stack provided by the bridge mode.
With the host and awsvpc network modes, exposed container\n ports are mapped directly to the corresponding host port (for the host\n network mode) or the attached elastic network interface port (for the\n awsvpc network mode), so you cannot take advantage of dynamic host port\n mappings.
When using the host network mode, you should not run\n containers using the root user (UID 0). It is considered best practice\n to use a non-root user.
If the network mode is awsvpc, the task is allocated an elastic network\n interface, and you must specify a NetworkConfiguration value when you create\n a service or run a task with the task definition. For more information, see Task Networking in the\n Amazon Elastic Container Service Developer Guide.
If the network mode is host, you cannot run multiple instantiations of the\n same task on a single container instance when port mappings are used.
For more information, see Network\n settings in the Docker run reference.
" } }, @@ -6619,7 +6587,7 @@ "ephemeralStorage": { "target": "com.amazonaws.ecs#EphemeralStorage", "traits": { - "smithy.api#documentation": "The amount of ephemeral storage to allocate for the task. This parameter is used to\n\t\t\texpand the total amount of ephemeral storage available, beyond the default amount, for\n\t\t\ttasks hosted on Fargate. For more information, see Fargate task\n\t\t\t\tstorage in the Amazon ECS User Guide for Fargate.
\n\t\tThis parameter is only supported for tasks hosted on Fargate using\n\t\t\t\tthe following platform versions:
\n\t\t\tLinux platform version 1.4.0 or later.
Windows platform version 1.0.0 or later.
The amount of ephemeral storage to allocate for the task. This parameter is used to\n\t\t\texpand the total amount of ephemeral storage available, beyond the default amount, for\n\t\t\ttasks hosted on Fargate. For more information, see Fargate task\n\t\t\t\tstorage in the Amazon ECS User Guide for Fargate.
\n\t\tThis parameter is only supported for tasks hosted on Fargate using\n\t\t\t\tthe following platform versions:
\n\t\t\tLinux platform version 1.4.0 or later.
The Docker networking mode to use for the containers in the task. The valid values are\n none, bridge, awsvpc, and host.\n If no network mode is specified, the default is bridge.
For Amazon ECS tasks on Fargate, the awsvpc network mode is required. \n For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, or awsvpc can be used. If the network\n mode is set to none, you cannot specify port mappings in your container\n definitions, and the tasks containers do not have external connectivity. The\n host and awsvpc network modes offer the highest networking\n performance for containers because they use the EC2 network stack instead of the\n virtualized network stack provided by the bridge mode.
With the host and awsvpc network modes, exposed container\n ports are mapped directly to the corresponding host port (for the host\n network mode) or the attached elastic network interface port (for the\n awsvpc network mode), so you cannot take advantage of dynamic host port\n mappings.
When using the host network mode, you should not run\n containers using the root user (UID 0). It is considered best practice\n to use a non-root user.
If the network mode is awsvpc, the task is allocated an elastic network\n interface, and you must specify a NetworkConfiguration value when you create\n a service or run a task with the task definition. For more information, see Task Networking in the\n Amazon Elastic Container Service Developer Guide.
If the network mode is host, you cannot run multiple instantiations of the\n same task on a single container instance when port mappings are used.
For more information, see Network\n settings in the Docker run reference.
" } }, @@ -8434,7 +8400,7 @@ "volumes": { "target": "com.amazonaws.ecs#VolumeList", "traits": { - "smithy.api#documentation": "The list of data volume definitions for the task. For more information, see Using data volumes in tasks in the\n\t\t\tAmazon Elastic Container Service Developer Guide.
\n\t\tThe host and sourcePath parameters aren't supported for\n\t\t\t\ttasks run on Fargate.
The list of data volume definitions for the task. For more information, see Using data volumes in tasks in the\n\t\t\tAmazon Elastic Container Service Developer Guide.
\n\t\tThe host and sourcePath parameters aren't supported for\n\t\t\t\ttasks run on Fargate.
If this value is true, the container has read-only access to the volume.\n\t\t\tIf this value is false, then the container can write to the volume. The\n\t\t\tdefault value is false.
The current number of mount targets that the file system has. For more information, see CreateMountTarget.
", "smithy.api#required": {} } @@ -2012,7 +2031,6 @@ "com.amazonaws.efs#FileSystemNullableSizeValue": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -2041,6 +2059,7 @@ "Value": { "target": "com.amazonaws.efs#FileSystemSizeValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The latest known metered size (in bytes) of data stored in the file system.
", "smithy.api#required": {} } @@ -2071,6 +2090,7 @@ "com.amazonaws.efs#FileSystemSizeValue": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -2079,7 +2099,6 @@ "com.amazonaws.efs#Gid": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 4294967295 @@ -2373,21 +2392,6 @@ }, "com.amazonaws.efs#MagnolioAPIService_v20150201": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "EFS", - "arnNamespace": "elasticfilesystem", - "cloudFormationName": "EFS", - "cloudTrailEventSource": "efs.amazonaws.com", - "endpointPrefix": "elasticfilesystem" - }, - "aws.auth#sigv4": { - "name": "elasticfilesystem" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for\n use with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and\n remove files, so that your applications have the storage they need, when they need it. For\n more information, see the Amazon Elastic File System API Reference and the Amazon Elastic File System User Guide.
", - "smithy.api#title": "Amazon Elastic File System" - }, "version": "2015-02-01", "operations": [ { @@ -2480,7 +2484,22 @@ { "target": "com.amazonaws.efs#UpdateFileSystem" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "EFS", + "arnNamespace": "elasticfilesystem", + "cloudFormationName": "EFS", + "cloudTrailEventSource": "efs.amazonaws.com", + "endpointPrefix": "elasticfilesystem" + }, + "aws.auth#sigv4": { + "name": "elasticfilesystem" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for\n use with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and\n remove files, so that your applications have the storage they need, when they need it. For\n more information, see the Amazon Elastic File System API Reference and the Amazon Elastic File System User Guide.
", + "smithy.api#title": "Amazon Elastic File System" + } }, "com.amazonaws.efs#Marker": { "type": "string", @@ -2495,7 +2514,6 @@ "com.amazonaws.efs#MaxItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -2504,7 +2522,6 @@ "com.amazonaws.efs#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "Max results used for pagination.", "smithy.api#range": { "min": 1 @@ -2516,6 +2533,9 @@ "input": { "target": "com.amazonaws.efs#ModifyMountTargetSecurityGroupsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.efs#BadRequest" @@ -2589,6 +2609,7 @@ "com.amazonaws.efs#MountTargetCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -2748,7 +2769,6 @@ "com.amazonaws.efs#OwnerGid": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 4294967295 @@ -2758,7 +2778,6 @@ "com.amazonaws.efs#OwnerUid": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 4294967295 @@ -2857,7 +2876,6 @@ "com.amazonaws.efs#ProvisionedThroughputInMibps": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1.0 } @@ -3017,6 +3035,7 @@ "BypassPolicyLockoutSafetyCheck": { "target": "com.amazonaws.efs#BypassPolicyLockoutSafetyCheck", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Optional) A boolean that specifies whether or not to bypass the FileSystemPolicy lockout safety check. The lockout safety check \n determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making future PutFileSystemPolicy requests on this file system.\n Set BypassPolicyLockoutSafetyCheck to True only when you intend to prevent \n the IAM principal that is making the request from making subsequent PutFileSystemPolicy requests on this file system. \n The default value is False.\n
Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy\n for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain\n your own Kubernetes control plane. Kubernetes is an open-source system for automating\n the deployment, scaling, and management of containerized applications.
\nAmazon EKS runs up-to-date versions of the open-source Kubernetes software, so\n you can use all the existing plugins and tooling from the Kubernetes community.\n Applications running on Amazon EKS are fully compatible with applications\n running on any standard Kubernetes environment, whether running in on-premises data\n centers or public clouds. This means that you can easily migrate any standard Kubernetes\n application to Amazon EKS without any code modification required.
", - "smithy.api#title": "Amazon Elastic Kubernetes Service" - }, "version": "2017-11-01", "operations": [ { @@ -189,7 +174,22 @@ { "target": "com.amazonaws.eks#UpdateNodegroupVersion" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "EKS", + "arnNamespace": "eks", + "cloudFormationName": "EKS", + "cloudTrailEventSource": "eks.amazonaws.com", + "endpointPrefix": "eks" + }, + "aws.auth#sigv4": { + "name": "eks" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy\n for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain\n your own Kubernetes control plane. Kubernetes is an open-source system for automating\n the deployment, scaling, and management of containerized applications.
\nAmazon EKS runs up-to-date versions of the open-source Kubernetes software, so\n you can use all the existing plugins and tooling from the Kubernetes community.\n Applications running on Amazon EKS are fully compatible with applications\n running on any standard Kubernetes environment, whether running in on-premises data\n centers or public clouds. This means that you can easily migrate any standard Kubernetes\n application to Amazon EKS without any code modification required.
", + "smithy.api#title": "Amazon Elastic Kubernetes Service" + } }, "com.amazonaws.eks#AccessDeniedException": { "type": "structure", @@ -650,24 +650,20 @@ } }, "com.amazonaws.eks#Boolean": { - "type": "boolean" - }, - "com.amazonaws.eks#BoxedBoolean": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.eks#BoxedBoolean": { + "type": "boolean" + }, "com.amazonaws.eks#BoxedInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.eks#Capacity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1000,6 +996,7 @@ "defaultVersion": { "target": "com.amazonaws.eks#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The supported default version.
" } } @@ -1653,6 +1650,7 @@ "preserve": { "target": "com.amazonaws.eks#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM\n account is associated with the add-on, it is not removed.
", "smithy.api#httpQuery": "preserve" } @@ -2106,7 +2104,6 @@ "com.amazonaws.eks#DescribeAddonVersionsRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2968,7 +2965,6 @@ "com.amazonaws.eks#FargateProfilesRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3288,7 +3284,6 @@ "com.amazonaws.eks#ListAddonsRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3378,7 +3373,6 @@ "com.amazonaws.eks#ListClustersRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3553,7 +3547,6 @@ "com.amazonaws.eks#ListIdentityProviderConfigsRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3647,7 +3640,6 @@ "com.amazonaws.eks#ListNodegroupsRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3801,7 +3793,6 @@ "com.amazonaws.eks#ListUpdatesRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4245,7 +4236,6 @@ "com.amazonaws.eks#NonZeroInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4464,7 +4454,6 @@ "com.amazonaws.eks#PercentCapacity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5467,6 +5456,7 @@ "force": { "target": "com.amazonaws.eks#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Force the update if the existing node group's pods are unable to be drained due to a\n pod disruption budget issue. If an update fails because pods could not be drained, you\n can force the update after it fails to terminate the old node whether or not any pods\n are running on the node.
" } }, @@ -5762,12 +5752,14 @@ "endpointPublicAccess": { "target": "com.amazonaws.eks#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "This parameter indicates whether the Amazon EKS public API server endpoint is\n enabled. If the Amazon EKS public API server endpoint is disabled, your\n cluster's Kubernetes API server can only receive requests that originate from within the\n cluster VPC.
" } }, "endpointPrivateAccess": { "target": "com.amazonaws.eks#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "This parameter indicates whether the Amazon EKS private API server endpoint is\n enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes\n API requests that originate from within your cluster's VPC use the private VPC endpoint\n instead of traversing the internet. If this value is disabled and you have nodes or\n Fargate pods in the cluster, then ensure that\n publicAccessCidrs includes the necessary CIDR blocks for communication\n with the nodes or Fargate pods. For more information, see Amazon EKS cluster endpoint access control in the\n \n Amazon EKS User Guide\n .
Average number of requests handled by the web server per second over the last 10\n seconds.
" } }, @@ -607,10 +608,7 @@ } }, "com.amazonaws.elasticbeanstalk#ApplicationVersionProccess": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#ApplicationVersionStatus": { "type": "string", @@ -723,6 +721,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#AssociateEnvironmentOperationsRoleMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#InsufficientPrivilegesException" @@ -755,10 +756,7 @@ } }, "com.amazonaws.elasticbeanstalk#AutoCreateApplication": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#AutoScalingGroup": { "type": "structure", @@ -793,22 +791,19 @@ } }, "com.amazonaws.elasticbeanstalk#BoxedBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#BoxedInt": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticbeanstalk#BranchName": { "type": "string" }, "com.amazonaws.elasticbeanstalk#BranchOrder": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticbeanstalk#BuildConfiguration": { "type": "structure", @@ -983,10 +978,7 @@ } }, "com.amazonaws.elasticbeanstalk#CnameAvailability": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#CodeBuildNotInServiceRegionException": { "type": "structure", @@ -1821,6 +1813,9 @@ }, "com.amazonaws.elasticbeanstalk#CreateStorageLocation": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.elasticbeanstalk#CreateStorageLocationResultMessage" }, @@ -1905,6 +1900,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#DeleteApplicationMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#OperationInProgressException" @@ -1940,6 +1938,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#DeleteApplicationVersionMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#InsufficientPrivilegesException" @@ -1991,6 +1992,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#DeleteConfigurationTemplateMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#OperationInProgressException" @@ -2027,6 +2031,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#DeleteEnvironmentConfigurationMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "Deletes the draft configuration associated with the running environment.
\nUpdating a running environment with any configuration changes creates a draft\n configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update\n fails. The DeploymentStatus for the draft configuration indicates whether the\n deployment is in process or has failed. The draft configuration remains in existence until it\n is deleted with this action.
The port that is used by the Listener.
" } } @@ -4264,7 +4275,10 @@ } }, "com.amazonaws.elasticbeanstalk#LoadAverageValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticbeanstalk#LoadBalancer": { "type": "structure", @@ -4430,7 +4444,6 @@ "com.amazonaws.elasticbeanstalk#ManagedActionHistoryMaxItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4526,7 +4539,6 @@ "com.amazonaws.elasticbeanstalk#MaxRecords": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -4552,22 +4564,13 @@ } }, "com.amazonaws.elasticbeanstalk#NullableDouble": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.elasticbeanstalk#NullableInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticbeanstalk#NullableLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.elasticbeanstalk#OperatingSystemName": { "type": "string" @@ -4608,22 +4611,13 @@ "type": "string" }, "com.amazonaws.elasticbeanstalk#OptionRestrictionMaxLength": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticbeanstalk#OptionRestrictionMaxValue": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticbeanstalk#OptionRestrictionMinValue": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticbeanstalk#OptionRestrictionRegex": { "type": "structure", @@ -4686,7 +4680,6 @@ "com.amazonaws.elasticbeanstalk#PlatformBranchMaxRecords": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4716,6 +4709,7 @@ "BranchOrder": { "target": "com.amazonaws.elasticbeanstalk#BranchOrder", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An ordinal number that designates the order in which platform branches have been added to\n a platform. This can be helpful, for example, if your code calls the\n ListPlatformBranches action and then displays a list of platform\n branches.
A larger BranchOrder value designates a newer platform branch within the\n platform.
Initiates a request to compile the specified type of information of the deployed\n environment.
\n Setting the InfoType to tail compiles the last lines from\n the application server log files of every Amazon EC2 instance in your environment.
Setting the InfoType to bundle compresses the application\n server log files for every Amazon EC2 instance into a .zip file. Legacy and .NET\n containers do not support bundle logs.
Use RetrieveEnvironmentInfo to obtain the set of logs.
\nRelated Topics
\nCauses the environment to restart the application container server running on each\n Amazon EC2 instance.
" } @@ -5835,6 +5840,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#SwapEnvironmentCNAMEsMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "Swaps the CNAMEs of two environments.
" } @@ -5948,10 +5956,7 @@ } }, "com.amazonaws.elasticbeanstalk#TerminateEnvForce": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#TerminateEnvironment": { "type": "operation", @@ -6003,10 +6008,7 @@ } }, "com.amazonaws.elasticbeanstalk#TerminateEnvironmentResources": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#TimeFilterEnd": { "type": "timestamp" @@ -6452,6 +6454,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#UpdateTagsForResourceMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#InsufficientPrivilegesException" @@ -6498,10 +6503,7 @@ } }, "com.amazonaws.elasticbeanstalk#UserDefinedOption": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#ValidateConfigurationSettings": { "type": "operation", diff --git a/codegen/sdk/aws-models/elastic-inference.json b/codegen/sdk/aws-models/elastic-inference.json index faaa7ba0a79..cdd92c25182 100644 --- a/codegen/sdk/aws-models/elastic-inference.json +++ b/codegen/sdk/aws-models/elastic-inference.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -325,6 +325,7 @@ "maxResults": { "target": "com.amazonaws.elasticinference#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The total number of items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output.\n To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command.\n Do not use the NextToken response element directly outside of the AWS CLI.\n
" } }, @@ -496,7 +497,10 @@ } }, "com.amazonaws.elasticinference#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticinference#InternalServerException": { "type": "structure", @@ -533,6 +537,7 @@ "value": { "target": "com.amazonaws.elasticinference#Value", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The throughput value of the Elastic Inference Accelerator type.\n
" } } @@ -628,6 +633,7 @@ "com.amazonaws.elasticinference#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -640,6 +646,7 @@ "sizeInMiB": { "target": "com.amazonaws.elasticinference#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The size in mebibytes of the Elastic Inference Accelerator type.\n
" } } @@ -867,7 +874,10 @@ "members": {} }, "com.amazonaws.elasticinference#Value": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticinference#ValueStringList": { "type": "list", diff --git a/codegen/sdk/aws-models/elastic-load-balancing-v2.json b/codegen/sdk/aws-models/elastic-load-balancing-v2.json index 071fea16894..d146ffc5044 100644 --- a/codegen/sdk/aws-models/elastic-load-balancing-v2.json +++ b/codegen/sdk/aws-models/elastic-load-balancing-v2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -106,7 +106,6 @@ "com.amazonaws.elasticloadbalancingv2#ActionOrder": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50000 @@ -114,30 +113,38 @@ } }, "com.amazonaws.elasticloadbalancingv2#ActionTypeEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "forward", - "name": "FORWARD" - }, - { - "value": "authenticate-oidc", - "name": "AUTHENTICATE_OIDC" - }, - { - "value": "authenticate-cognito", - "name": "AUTHENTICATE_COGNITO" - }, - { - "value": "redirect", - "name": "REDIRECT" - }, - { - "value": "fixed-response", - "name": "FIXED_RESPONSE" + "type": "enum", + "members": { + "FORWARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "forward" + } + }, + "AUTHENTICATE_OIDC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "authenticate-oidc" + } + }, + "AUTHENTICATE_COGNITO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "authenticate-cognito" + } + }, + "REDIRECT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "redirect" + } + }, + "FIXED_RESPONSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fixed-response" } - ] + } } }, "com.amazonaws.elasticloadbalancingv2#Actions": { @@ -299,22 +306,26 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionConditionalBehaviorEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "deny", - "name": "DENY" - }, - { - "value": "allow", - "name": "ALLOW" - }, - { - "value": "authenticate", - "name": "AUTHENTICATE" + "type": "enum", + "members": { + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "deny" + } + }, + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "allow" } - ] + }, + "AUTHENTICATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "authenticate" + } + } } }, "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionConfig": { @@ -383,10 +394,7 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionSessionTimeout": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionUserPoolArn": { "type": "string" @@ -422,22 +430,26 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionConditionalBehaviorEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "deny", - "name": "DENY" - }, - { - "value": "allow", - "name": "ALLOW" - }, - { - "value": "authenticate", - "name": "AUTHENTICATE" + "type": "enum", + "members": { + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "deny" + } + }, + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "allow" } - ] + }, + "AUTHENTICATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "authenticate" + } + } } }, "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionConfig": { @@ -535,19 +547,13 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionSessionTimeout": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionTokenEndpoint": { "type": "string" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionUseExistingClientSecret": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionUserInfoEndpoint": { "type": "string" @@ -668,6 +674,7 @@ "Priority": { "target": "com.amazonaws.elasticloadbalancingv2#CipherPriority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The priority of the cipher.
" } } @@ -680,7 +687,10 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#CipherPriority": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticloadbalancingv2#Ciphers": { "type": "list", @@ -1226,10 +1236,7 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#Default": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticloadbalancingv2#DeleteListener": { "type": "operation", @@ -2248,24 +2255,6 @@ }, "com.amazonaws.elasticloadbalancingv2#ElasticLoadBalancing_v10": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Elastic Load Balancing v2", - "arnNamespace": "elasticloadbalancing", - "cloudFormationName": "ElasticLoadBalancingV2", - "cloudTrailEventSource": "elasticloadbalancingv2.amazonaws.com", - "endpointPrefix": "elasticloadbalancing" - }, - "aws.auth#sigv4": { - "name": "elasticloadbalancing" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "A load balancer distributes incoming traffic across targets, such as your EC2 instances.\n This enables you to increase the availability of your application. The load balancer also\n monitors the health of its registered targets and ensures that it routes traffic only to\n healthy targets. You configure your load balancer to accept incoming traffic by specifying one\n or more listeners, which are configured with a protocol and port number for connections from\n clients to the load balancer. You configure a target group with a protocol and port number for\n connections from the load balancer to the targets, and with health check settings to be used\n when checking the health status of the targets.
\n\nElastic Load Balancing supports the following types of load balancers: Application Load\n Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This\n reference covers the following load balancer types:
\nApplication Load Balancer - Operates at the application layer (layer 7) and supports\n HTTP and HTTPS.
\nNetwork Load Balancer - Operates at the transport layer (layer 4) and supports TCP,\n TLS, and UDP.
\nGateway Load Balancer - Operates at the network layer (layer 3).
\nFor more information, see the Elastic Load Balancing User\n Guide.
\n\n \n \n\n \n \n\nAll Elastic Load Balancing operations are idempotent, which means that they complete at\n most one time. If you repeat an operation, it succeeds.
", - "smithy.api#title": "Elastic Load Balancing", - "smithy.api#xmlNamespace": { - "uri": "http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/" - } - }, "version": "2015-12-01", "operations": [ { @@ -2370,7 +2359,25 @@ { "target": "com.amazonaws.elasticloadbalancingv2#SetSubnets" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Elastic Load Balancing v2", + "arnNamespace": "elasticloadbalancing", + "cloudFormationName": "ElasticLoadBalancingV2", + "cloudTrailEventSource": "elasticloadbalancingv2.amazonaws.com", + "endpointPrefix": "elasticloadbalancing" + }, + "aws.auth#sigv4": { + "name": "elasticloadbalancing" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "A load balancer distributes incoming traffic across targets, such as your EC2 instances.\n This enables you to increase the availability of your application. The load balancer also\n monitors the health of its registered targets and ensures that it routes traffic only to\n healthy targets. You configure your load balancer to accept incoming traffic by specifying one\n or more listeners, which are configured with a protocol and port number for connections from\n clients to the load balancer. You configure a target group with a protocol and port number for\n connections from the load balancer to the targets, and with health check settings to be used\n when checking the health status of the targets.
\n\nElastic Load Balancing supports the following types of load balancers: Application Load\n Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This\n reference covers the following load balancer types:
\nApplication Load Balancer - Operates at the application layer (layer 7) and supports\n HTTP and HTTPS.
\nNetwork Load Balancer - Operates at the transport layer (layer 4) and supports TCP,\n TLS, and UDP.
\nGateway Load Balancer - Operates at the network layer (layer 3).
\nFor more information, see the Elastic Load Balancing User\n Guide.
\n\n \n \n\n \n \n\nAll Elastic Load Balancing operations are idempotent, which means that they complete at\n most one time. If you repeat an operation, it succeeds.
", + "smithy.api#title": "Elastic Load Balancing", + "smithy.api#xmlNamespace": { + "uri": "http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/" + } + } }, "com.amazonaws.elasticloadbalancingv2#ErrorDescription": { "type": "string" @@ -2450,15 +2457,11 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#HealthCheckEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticloadbalancingv2#HealthCheckIntervalSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 300 @@ -2471,7 +2474,6 @@ "com.amazonaws.elasticloadbalancingv2#HealthCheckThresholdCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2, "max": 10 @@ -2481,7 +2483,6 @@ "com.amazonaws.elasticloadbalancingv2#HealthCheckTimeoutSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2, "max": 120 @@ -2685,22 +2686,27 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#IpAddressType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ipv4", - "name": "IPV4" - }, - { - "value": "dualstack", - "name": "DUALSTACK" + "type": "enum", + "members": { + "IPV4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ipv4" } - ] + }, + "DUALSTACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "dualstack" + } + } } }, "com.amazonaws.elasticloadbalancingv2#IsDefault": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.elasticloadbalancingv2#Limit": { "type": "structure", @@ -3033,18 +3039,20 @@ } }, "com.amazonaws.elasticloadbalancingv2#LoadBalancerSchemeEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "internet-facing", - "name": "INTERNET_FACING" - }, - { - "value": "internal", - "name": "INTERNAL" + "type": "enum", + "members": { + "INTERNET_FACING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "internet-facing" + } + }, + "INTERNAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "internal" } - ] + } } }, "com.amazonaws.elasticloadbalancingv2#LoadBalancerState": { @@ -3068,45 +3076,55 @@ } }, "com.amazonaws.elasticloadbalancingv2#LoadBalancerStateEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "active", - "name": "ACTIVE" - }, - { - "value": "provisioning", - "name": "PROVISIONING" - }, - { - "value": "active_impaired", - "name": "ACTIVE_IMPAIRED" - }, - { - "value": "failed", - "name": "FAILED" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "active" + } + }, + "PROVISIONING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "provisioning" + } + }, + "ACTIVE_IMPAIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "active_impaired" } - ] + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "failed" + } + } } }, "com.amazonaws.elasticloadbalancingv2#LoadBalancerTypeEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "application", - "name": "APPLICATION" - }, - { - "value": "network", - "name": "NETWORK" - }, - { - "value": "gateway", - "name": "GATEWAY" + "type": "enum", + "members": { + "APPLICATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "application" + } + }, + "NETWORK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "network" + } + }, + "GATEWAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "gateway" } - ] + } } }, "com.amazonaws.elasticloadbalancingv2#LoadBalancers": { @@ -3570,7 +3588,6 @@ "com.amazonaws.elasticloadbalancingv2#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 400 @@ -3603,7 +3620,6 @@ "com.amazonaws.elasticloadbalancingv2#Port": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65535 @@ -3631,38 +3647,50 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#ProtocolEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HTTP", - "name": "HTTP" - }, - { - "value": "HTTPS", - "name": "HTTPS" - }, - { - "value": "TCP", - "name": "TCP" - }, - { - "value": "TLS", - "name": "TLS" - }, - { - "value": "UDP", - "name": "UDP" - }, - { - "value": "TCP_UDP", - "name": "TCP_UDP" - }, - { - "value": "GENEVE", - "name": "GENEVE" + "type": "enum", + "members": { + "HTTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP" + } + }, + "HTTPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTPS" } - ] + }, + "TCP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TCP" + } + }, + "TLS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TLS" + } + }, + "UDP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UDP" + } + }, + "TCP_UDP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TCP_UDP" + } + }, + "GENEVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GENEVE" + } + } } }, "com.amazonaws.elasticloadbalancingv2#ProtocolVersion": { @@ -3790,18 +3818,20 @@ } }, "com.amazonaws.elasticloadbalancingv2#RedirectActionStatusCodeEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HTTP_301", - "name": "HTTP_301" - }, - { - "value": "HTTP_302", - "name": "HTTP_302" + "type": "enum", + "members": { + "HTTP_301": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP_301" } - ] + }, + "HTTP_302": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP_302" + } + } } }, "com.amazonaws.elasticloadbalancingv2#RegisterTargets": { @@ -4004,6 +4034,7 @@ "IsDefault": { "target": "com.amazonaws.elasticloadbalancingv2#IsDefault", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether this is the default rule.
" } } @@ -4103,7 +4134,6 @@ "com.amazonaws.elasticloadbalancingv2#RulePriority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50000 @@ -4188,7 +4218,7 @@ } ], "traits": { - "smithy.api#documentation": "Sets the type of IP addresses used by the subnets of the specified Application Load\n Balancer or Network Load Balancer.
" + "smithy.api#documentation": "Sets the type of IP addresses used by the subnets of the specified load balancer.
" } }, "com.amazonaws.elasticloadbalancingv2#SetIpAddressTypeInput": { @@ -4807,7 +4837,7 @@ "Key": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupAttributeKey", "traits": { - "smithy.api#documentation": "The name of the attribute.
\n\nThe following attribute is supported by all load balancers:
\n\n deregistration_delay.timeout_seconds - The amount of time, in seconds,\n for Elastic Load Balancing to wait before changing the state of a deregistering target\n from draining to unused. The range is 0-3600 seconds. The\n default value is 300 seconds. If the target is a Lambda function, this attribute is not\n supported.
The following attributes are supported by Application Load Balancers, Network Load\n Balancers, and Gateway Load Balancers:
\n\n stickiness.enabled - Indicates whether target stickiness is enabled. The\n value is true or false. The default is\n false.
\n stickiness.type - Indicates the type of stickiness. The possible values\n are:
\n lb_cookie and app_cookie for Application Load Balancers
\n source_ip for Network Load Balancers
\n source_ip_dest_ip and source_ip_dest_ip_proto for Gateway Load\n Balancers
The following attributes are supported only if the load balancer is an Application Load\n Balancer and the target is an instance or an IP address:
\n\n load_balancing.algorithm.type - The load balancing algorithm determines\n how the load balancer selects targets when routing requests. The value is\n round_robin or least_outstanding_requests. The default is\n round_robin.
\n slow_start.duration_seconds - The time period, in seconds, during which a\n newly registered target receives an increasing share of the traffic to the target group.\n After this time period ends, the target receives its full share of traffic. The range is\n 30-900 seconds (15 minutes). The default is 0 seconds (disabled).
\n stickiness.app_cookie.cookie_name - Indicates the name of the\n application-based cookie. Names that start with the following prefixes are not allowed:\n AWSALB, AWSALBAPP, and AWSALBTG; they're reserved\n for use by the load balancer.
\n stickiness.app_cookie.duration_seconds - The time period, in seconds,\n during which requests from a client should be routed to the same target. After this time\n period expires, the application-based cookie is considered stale. The range is 1 second to\n 1 week (604800 seconds). The default value is 1 day (86400 seconds).
\n stickiness.lb_cookie.duration_seconds - The time period, in seconds,\n during which requests from a client should be routed to the same target. After this time\n period expires, the load balancer-generated cookie is considered stale. The range is 1\n second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
The following attribute is supported only if the load balancer is an Application Load\n Balancer and the target is a Lambda function:
\n\n lambda.multi_value_headers.enabled - Indicates whether the request and\n response headers that are exchanged between the load balancer and the Lambda function\n include arrays of values or strings. The value is true or false.\n The default is false. If the value is false and the request\n contains a duplicate header field name or query parameter key, the load balancer uses the\n last value sent by the client.
The following attributes are supported only by Network Load Balancers:
\n\n deregistration_delay.connection_termination.enabled - Indicates whether\n the load balancer terminates connections at the end of the deregistration timeout. The\n value is true or false. The default is\n false.
\n preserve_client_ip.enabled - Indicates whether client IP preservation is\n enabled. The value is true or false. The default is disabled if\n the target group type is IP address and the target group protocol is TCP or TLS.\n Otherwise, the default is enabled. Client IP preservation cannot be disabled for UDP and\n TCP_UDP target groups.
\n proxy_protocol_v2.enabled - Indicates whether Proxy Protocol version 2 is\n enabled. The value is true or false. The default is\n false.
The name of the attribute.
\n\nThe following attribute is supported by all load balancers:
\n\n deregistration_delay.timeout_seconds - The amount of time, in seconds,\n for Elastic Load Balancing to wait before changing the state of a deregistering target\n from draining to unused. The range is 0-3600 seconds. The\n default value is 300 seconds. If the target is a Lambda function, this attribute is not\n supported.
The following attributes are supported by Application Load Balancers, Network Load\n Balancers, and Gateway Load Balancers:
\n\n stickiness.enabled - Indicates whether target stickiness is enabled. The\n value is true or false. The default is\n false.
\n stickiness.type - Indicates the type of stickiness. The possible values\n are:
\n lb_cookie and app_cookie for Application Load Balancers.
\n source_ip for Network Load Balancers.
\n source_ip_dest_ip and source_ip_dest_ip_proto for Gateway Load\n Balancers.
The following attributes are supported only if the load balancer is an Application Load\n Balancer and the target is an instance or an IP address:
\n\n load_balancing.algorithm.type - The load balancing algorithm determines\n how the load balancer selects targets when routing requests. The value is\n round_robin or least_outstanding_requests. The default is\n round_robin.
\n slow_start.duration_seconds - The time period, in seconds, during which a\n newly registered target receives an increasing share of the traffic to the target group.\n After this time period ends, the target receives its full share of traffic. The range is\n 30-900 seconds (15 minutes). The default is 0 seconds (disabled).
\n stickiness.app_cookie.cookie_name - Indicates the name of the\n application-based cookie. Names that start with the following prefixes are not allowed:\n AWSALB, AWSALBAPP, and AWSALBTG; they're reserved\n for use by the load balancer.
\n stickiness.app_cookie.duration_seconds - The time period, in seconds,\n during which requests from a client should be routed to the same target. After this time\n period expires, the application-based cookie is considered stale. The range is 1 second to\n 1 week (604800 seconds). The default value is 1 day (86400 seconds).
\n stickiness.lb_cookie.duration_seconds - The time period, in seconds,\n during which requests from a client should be routed to the same target. After this time\n period expires, the load balancer-generated cookie is considered stale. The range is 1\n second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
The following attribute is supported only if the load balancer is an Application Load\n Balancer and the target is a Lambda function:
\n\n lambda.multi_value_headers.enabled - Indicates whether the request and\n response headers that are exchanged between the load balancer and the Lambda function\n include arrays of values or strings. The value is true or false.\n The default is false. If the value is false and the request\n contains a duplicate header field name or query parameter key, the load balancer uses the\n last value sent by the client.
The following attributes are supported only by Network Load Balancers:
\n\n deregistration_delay.connection_termination.enabled - Indicates whether\n the load balancer terminates connections at the end of the deregistration timeout. The\n value is true or false. The default is\n false.
\n preserve_client_ip.enabled - Indicates whether client IP preservation is\n enabled. The value is true or false. The default is disabled if\n the target group type is IP address and the target group protocol is TCP or TLS.\n Otherwise, the default is enabled. Client IP preservation cannot be disabled for UDP and\n TCP_UDP target groups.
\n proxy_protocol_v2.enabled - Indicates whether Proxy Protocol version 2 is\n enabled. The value is true or false. The default is\n false.
The following attributes are supported only by Gateway Load Balancers:
\n\n target_failover.on_deregistration - Indicates how the Gateway Load\n Balancer handles existing flows when a target is deregistered. The possible values are\n rebalance and no_rebalance. The default is\n no_rebalance. The two attributes\n (target_failover.on_deregistration and\n target_failover.on_unhealthy) can't be set independently. The value you set\n for both attributes must be the same.
\n target_failover.on_unhealthy - Indicates how the Gateway Load Balancer\n handles existing flows when a target is unhealthy. The possible values are\n rebalance and no_rebalance. The default is\n no_rebalance. The two attributes\n (target_failover.on_deregistration and\n target_failover.on_unhealthy) cannot be set independently. The value you\n set for both attributes must be the same.
Specifies whether access logs are enabled for the load balancer.
", "smithy.api#required": {} } @@ -63,14 +64,14 @@ } }, "com.amazonaws.elasticloadbalancing#AccessLogEnabled": { - "type": "boolean" - }, - "com.amazonaws.elasticloadbalancing#AccessLogInterval": { - "type": "integer", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.elasticloadbalancing#AccessLogInterval": { + "type": "integer" + }, "com.amazonaws.elasticloadbalancing#AccessLogPrefix": { "type": "string" }, @@ -95,7 +96,10 @@ } }, "com.amazonaws.elasticloadbalancing#AccessPointPort": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticloadbalancing#AddAvailabilityZonesInput": { "type": "structure", @@ -408,6 +412,7 @@ "InstancePort": { "target": "com.amazonaws.elasticloadbalancing#InstancePort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port on which the EC2 instance is listening.
" } }, @@ -507,6 +512,7 @@ "Enabled": { "target": "com.amazonaws.elasticloadbalancing#ConnectionDrainingEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether connection draining is enabled for the load balancer.
", "smithy.api#required": {} } @@ -523,14 +529,14 @@ } }, "com.amazonaws.elasticloadbalancing#ConnectionDrainingEnabled": { - "type": "boolean" - }, - "com.amazonaws.elasticloadbalancing#ConnectionDrainingTimeout": { - "type": "integer", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.elasticloadbalancing#ConnectionDrainingTimeout": { + "type": "integer" + }, "com.amazonaws.elasticloadbalancing#ConnectionSettings": { "type": "structure", "members": { @@ -547,10 +553,7 @@ } }, "com.amazonaws.elasticloadbalancing#CookieExpirationPeriod": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.elasticloadbalancing#CookieName": { "type": "string" @@ -932,6 +935,7 @@ "Enabled": { "target": "com.amazonaws.elasticloadbalancing#CrossZoneLoadBalancingEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether cross-zone load balancing is enabled for the load balancer.
", "smithy.api#required": {} } @@ -942,7 +946,10 @@ } }, "com.amazonaws.elasticloadbalancing#CrossZoneLoadBalancingEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.elasticloadbalancing#DNSName": { "type": "string" @@ -1811,10 +1818,7 @@ } }, "com.amazonaws.elasticloadbalancing#EndPointPort": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticloadbalancing#ErrorDescription": { "type": "string" @@ -1832,6 +1836,7 @@ "Interval": { "target": "com.amazonaws.elasticloadbalancing#HealthCheckInterval", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The approximate interval, in seconds, between health checks of an individual instance.
", "smithy.api#required": {} } @@ -1839,6 +1844,7 @@ "Timeout": { "target": "com.amazonaws.elasticloadbalancing#HealthCheckTimeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time, in seconds, during which no response means a failed health check.
\nThis value must be less than the Interval value.
The number of consecutive health check failures required before moving the instance to the Unhealthy state.
The number of consecutive health checks successes required before moving the instance to the Healthy state.
The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
", "smithy.api#required": {} } @@ -2135,6 +2147,7 @@ "InstancePort": { "target": "com.amazonaws.elasticloadbalancing#InstancePort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port on which the instance is listening.
", "smithy.api#required": {} } @@ -2479,7 +2492,6 @@ "com.amazonaws.elasticloadbalancing#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 400 @@ -2937,6 +2949,7 @@ "LoadBalancerPort": { "target": "com.amazonaws.elasticloadbalancing#AccessPointPort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port that uses the specified SSL certificate.
", "smithy.api#required": {} } @@ -3058,6 +3071,7 @@ "LoadBalancerPort": { "target": "com.amazonaws.elasticloadbalancing#AccessPointPort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The external port of the load balancer.
", "smithy.api#required": {} } @@ -3287,6 +3301,7 @@ "com.amazonaws.elasticloadbalancing#UnhealthyThreshold": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 10 diff --git a/codegen/sdk/aws-models/elastic-transcoder.json b/codegen/sdk/aws-models/elastic-transcoder.json index da2ec52f2c1..c92a1b34245 100644 --- a/codegen/sdk/aws-models/elastic-transcoder.json +++ b/codegen/sdk/aws-models/elastic-transcoder.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -2266,16 +2266,10 @@ } }, "com.amazonaws.elastictranscoder#NullableInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elastictranscoder#NullableLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.elastictranscoder#OneTo512String": { "type": "string", diff --git a/codegen/sdk/aws-models/elasticache.json b/codegen/sdk/aws-models/elasticache.json index b3c74a3e56f..40f56193c89 100644 --- a/codegen/sdk/aws-models/elasticache.json +++ b/codegen/sdk/aws-models/elasticache.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -171,24 +171,6 @@ }, "com.amazonaws.elasticache#AmazonElastiCacheV9": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ElastiCache", - "arnNamespace": "elasticache", - "cloudFormationName": "ElastiCache", - "cloudTrailEventSource": "elasticache.amazonaws.com", - "endpointPrefix": "elasticache" - }, - "aws.auth#sigv4": { - "name": "elasticache" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Amazon ElastiCache is a web service that makes it easier to set up, operate, \n and scale a distributed cache in the cloud.
\nWith ElastiCache, customers get all of the benefits of a high-performance, \n in-memory cache with less of the administrative burden involved in launching and managing a distributed cache. \n The service makes setup, scaling, \n and cluster failure handling much simpler than in a self-managed cache deployment.
\nIn addition, through integration with Amazon CloudWatch, \n customers get enhanced visibility into the key performance statistics \n associated with their cache and can receive alarms if a part of their cache runs hot.
", - "smithy.api#title": "Amazon ElastiCache", - "smithy.api#xmlNamespace": { - "uri": "http://elasticache.amazonaws.com/doc/2015-02-02/" - } - }, "version": "2015-02-02", "operations": [ { @@ -386,7 +368,25 @@ { "target": "com.amazonaws.elasticache#TestFailover" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ElastiCache", + "arnNamespace": "elasticache", + "cloudFormationName": "ElastiCache", + "cloudTrailEventSource": "elasticache.amazonaws.com", + "endpointPrefix": "elasticache" + }, + "aws.auth#sigv4": { + "name": "elasticache" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Amazon ElastiCache is a web service that makes it easier to set up, operate, \n and scale a distributed cache in the cloud.
\nWith ElastiCache, customers get all of the benefits of a high-performance, \n in-memory cache with less of the administrative burden involved in launching and managing a distributed cache. \n The service makes setup, scaling, \n and cluster failure handling much simpler than in a self-managed cache deployment.
\nIn addition, through integration with Amazon CloudWatch, \n customers get enhanced visibility into the key performance statistics \n associated with their cache and can receive alarms if a part of their cache runs hot.
", + "smithy.api#title": "Amazon ElastiCache", + "smithy.api#xmlNamespace": { + "uri": "http://elasticache.amazonaws.com/doc/2015-02-02/" + } + } }, "com.amazonaws.elasticache#AuthTokenUpdateStatus": { "type": "string", @@ -695,14 +695,14 @@ } }, "com.amazonaws.elasticache#Boolean": { - "type": "boolean" - }, - "com.amazonaws.elasticache#BooleanOptional": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.elasticache#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.elasticache#CacheCluster": { "type": "structure", "members": { @@ -814,6 +814,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions. \n
" } }, @@ -874,6 +875,7 @@ "ReplicationGroupLogDeliveryEnabled": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value indicating whether log delivery is enabled for the replication group.
" } }, @@ -1140,6 +1142,7 @@ "IsModifiable": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether (true) or not (false) the parameter can be\n modified. Some parameters have security or operational implications that prevent them\n from being changed.
Indicates whether the parameter group is associated with a Global datastore
" } }, @@ -1852,6 +1856,7 @@ "Force": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Forces the migration to stop without ensuring that data is in sync. It is recommended to use this option only to abort the migration and not recommended when application wants to continue migration to ElastiCache.
" } } @@ -1878,6 +1883,7 @@ "NewReplicaCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of replicas you want in this node group at the end of this operation. \n The maximum value for NewReplicaCount is 5.\n The minimum value depends upon the type of Redis replication group you are working with.
The minimum number of replicas in a shard or replication group is:
\nRedis (cluster mode disabled)
\nIf Multi-AZ: 1
\nIf Multi-AZ: 0
\nRedis (cluster mode enabled): 0 (though you will not be able to failover to a replica if your primary node fails)
\nThe number of node groups (shards) that results from the modification of the shard configuration
", "smithy.api#required": {} } @@ -3138,6 +3145,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
", "smithy.api#required": {} } @@ -3233,6 +3241,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If True, the number of replica nodes is decreased immediately. \n\n ApplyImmediately=False is not currently supported.
The primary replication group is retained as a standalone replication group.
", "smithy.api#required": {} } @@ -3974,6 +3984,7 @@ "DefaultOnly": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, specifies that only the default version of the specified engine or engine\n and major version combination is to be returned.
The port number that the cache engine is listening on.
" } } @@ -5748,6 +5763,7 @@ "NodeGroupCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of node groups you wish to add
", "smithy.api#required": {} } @@ -5761,6 +5777,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates that the process begins immediately. At present, the only permitted value for this parameter is true.
", "smithy.api#required": {} } @@ -5850,6 +5867,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If True, the number of replica nodes is increased immediately. \n\n ApplyImmediately=False is not currently supported.
If true, this parameter causes the modifications in this request and any\n pending modifications to be applied, asynchronously and as soon as possible, regardless\n of the PreferredMaintenanceWindow setting for the cluster.
If false, changes to the cluster are applied on the next\n maintenance reboot, or the next failure reboot, whichever occurs first.
If you perform a ModifyCacheCluster before a pending modification is applied, \n the pending modification is replaced by the newer modification.
Valid values: true | false\n
Default: false\n
This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible. Modifications to Global \n Replication Groups cannot be requested to be applied in PreferredMaintenceWindow.\n
", "smithy.api#required": {} } @@ -6946,6 +6966,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, this parameter causes the modifications in this request and any\n pending modifications to be applied, asynchronously and as soon as possible, regardless\n of the PreferredMaintenanceWindow setting for the replication group.
If false, changes to the nodes in the replication group are applied on\n the next maintenance reboot, or the next failure reboot, whichever occurs first.
Valid values: true | false\n
Default: false\n
The number of node groups (shards) that results from the modification of the\n shard configuration.
", "smithy.api#required": {} } @@ -7092,6 +7114,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates that the shard reconfiguration process begins immediately. \n At present, the only permitted value for this parameter is true.
Value: true
", "smithy.api#required": {} } @@ -7834,6 +7857,7 @@ "IsModifiable": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether (true) or not (false) the parameter can be modified. \n Some parameters have security or operational implications that prevent them from being changed.
If True, redistribution is applied immediately.
The monetary amount of the recurring charge.
" } }, @@ -8548,6 +8574,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions. \n
" } } @@ -8748,24 +8775,28 @@ "Duration": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration of the reservation in seconds.
" } }, "FixedPrice": { "target": "com.amazonaws.elasticache#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The fixed price charged for this reserved cache node.
" } }, "UsagePrice": { "target": "com.amazonaws.elasticache#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The hourly price charged for this reserved cache node.
" } }, "CacheNodeCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of cache nodes that have been reserved.
" } }, @@ -8902,18 +8933,21 @@ "Duration": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration of the offering. in seconds.
" } }, "FixedPrice": { "target": "com.amazonaws.elasticache#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The fixed price charged for this offering.
" } }, "UsagePrice": { "target": "com.amazonaws.elasticache#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The hourly price charged for this offering.
" } }, @@ -9028,6 +9062,7 @@ "ResetAllParameters": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, \n all parameters in the cache parameter group are reset to their default values.\n If false, only the parameters listed by ParameterNameValues\n are reset to their default values.
Valid values: true | false\n
The percentage of the slot migration that is complete.
" } } @@ -9544,6 +9580,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions. \n
" } }, diff --git a/codegen/sdk/aws-models/elasticsearch-service.json b/codegen/sdk/aws-models/elasticsearch-service.json index af414666b9a..f05996cafcc 100644 --- a/codegen/sdk/aws-models/elasticsearch-service.json +++ b/codegen/sdk/aws-models/elasticsearch-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -344,24 +344,6 @@ }, "com.amazonaws.elasticsearchservice#AmazonElasticsearchService2015": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Elasticsearch Service", - "arnNamespace": "es", - "cloudFormationName": "Elasticsearch", - "cloudTrailEventSource": "elasticsearchservice.amazonaws.com", - "endpointPrefix": "es" - }, - "aws.auth#sigv4": { - "name": "es" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Use the Amazon Elasticsearch Configuration API to create, configure, and manage Elasticsearch domains.
\nFor sample code that uses the Configuration API, see the Amazon Elasticsearch Service Developer Guide.\n The guide also contains sample code for sending signed HTTP requests to the Elasticsearch APIs.
\nThe endpoint for configuration service requests is region-specific: es.region.amazonaws.com.\n For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,\n see Regions and Endpoints.
", - "smithy.api#title": "Amazon Elasticsearch Service", - "smithy.api#xmlNamespace": { - "uri": "http://es.amazonaws.com/doc/2015-01-01/" - } - }, "version": "2015-01-01", "operations": [ { @@ -487,7 +469,25 @@ { "target": "com.amazonaws.elasticsearchservice#UpgradeElasticsearchDomain" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Elasticsearch Service", + "arnNamespace": "es", + "cloudFormationName": "Elasticsearch", + "cloudTrailEventSource": "elasticsearchservice.amazonaws.com", + "endpointPrefix": "es" + }, + "aws.auth#sigv4": { + "name": "es" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Use the Amazon Elasticsearch Configuration API to create, configure, and manage Elasticsearch domains.
\nFor sample code that uses the Configuration API, see the Amazon Elasticsearch Service Developer Guide.\n The guide also contains sample code for sending signed HTTP requests to the Elasticsearch APIs.
\nThe endpoint for configuration service requests is region-specific: es.region.amazonaws.com.\n For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,\n see Regions and Endpoints.
", + "smithy.api#title": "Amazon Elasticsearch Service", + "smithy.api#xmlNamespace": { + "uri": "http://es.amazonaws.com/doc/2015-01-01/" + } + } }, "com.amazonaws.elasticsearchservice#AssociatePackage": { "type": "operation", @@ -811,6 +811,7 @@ "UpdateVersion": { "target": "com.amazonaws.elasticsearchservice#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the Auto-Tune options latest version.
" } }, @@ -875,10 +876,7 @@ } }, "com.amazonaws.elasticsearchservice#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticsearchservice#CancelElasticsearchServiceSoftwareUpdate": { "type": "operation", @@ -1055,6 +1053,7 @@ "TotalNumberOfStages": { "target": "com.amazonaws.elasticsearchservice#TotalNumberOfStages", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of stages required for the configuration change.
" } }, @@ -1908,6 +1907,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set this value to limit the number of results returned. If not specified, defaults to 100.
" } }, @@ -2313,6 +2313,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set this value to limit the number of results returned. If not specified, defaults to 100.
" } }, @@ -2389,6 +2390,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set this value to limit the number of results returned. If not specified, defaults to 100.
" } }, @@ -2534,6 +2536,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Limits results to a maximum number of packages.
" } }, @@ -2614,6 +2617,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set this value to limit the number of results returned. If not specified, defaults to 100.
", "smithy.api#httpQuery": "maxResults" } @@ -2699,6 +2703,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set this value to limit the number of results returned. If not specified, defaults to 100.
", "smithy.api#httpQuery": "maxResults" } @@ -3068,16 +3073,10 @@ } }, "com.amazonaws.elasticsearchservice#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.elasticsearchservice#DryRun": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticsearchservice#DryRunResults": { "type": "structure", @@ -3102,6 +3101,7 @@ "Value": { "target": "com.amazonaws.elasticsearchservice#DurationValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.
" } }, @@ -3119,6 +3119,7 @@ "com.amazonaws.elasticsearchservice#DurationValue": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.
", "smithy.api#range": { "min": 1, @@ -4078,6 +4079,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Limits results to a maximum number of versions.
", "smithy.api#httpQuery": "maxResults" } @@ -4166,6 +4168,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -4377,6 +4380,7 @@ "com.amazonaws.elasticsearchservice#InstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the number of EC2 instances in the Elasticsearch domain.
", "smithy.api#range": { "min": 1 @@ -4387,10 +4391,16 @@ "type": "structure", "members": { "MinimumInstanceCount": { - "target": "com.amazonaws.elasticsearchservice#MinimumInstanceCount" + "target": "com.amazonaws.elasticsearchservice#MinimumInstanceCount", + "traits": { + "smithy.api#default": 0 + } }, "MaximumInstanceCount": { - "target": "com.amazonaws.elasticsearchservice#MaximumInstanceCount" + "target": "com.amazonaws.elasticsearchservice#MaximumInstanceCount", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -4412,14 +4422,14 @@ "type": "string" }, "com.amazonaws.elasticsearchservice#Integer": { - "type": "integer" - }, - "com.amazonaws.elasticsearchservice#IntegerClass": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.elasticsearchservice#IntegerClass": { + "type": "integer" + }, "com.amazonaws.elasticsearchservice#InternalException": { "type": "structure", "members": { @@ -4659,6 +4669,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Limits results to a maximum number of domains.
", "smithy.api#httpQuery": "maxResults" } @@ -4749,6 +4760,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Set this value to limit the number of results returned.\n Value provided must be greater than 30 else it wont be honored.\n
", "smithy.api#httpQuery": "maxResults" } @@ -4827,6 +4839,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Set this value to limit the number of results returned.\n Value provided must be greater than 10 else it wont be honored.\n
", "smithy.api#httpQuery": "maxResults" } @@ -4909,6 +4922,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Limits results to a maximum number of packages.
", "smithy.api#httpQuery": "maxResults" } @@ -5105,6 +5119,7 @@ "com.amazonaws.elasticsearchservice#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Set this value to limit the number of results returned.\n
", "smithy.api#range": { "max": 100 @@ -5114,6 +5129,7 @@ "com.amazonaws.elasticsearchservice#MaximumInstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Maximum number of Instances that can be instantiated for given InstanceType.\n
" } }, @@ -5129,6 +5145,7 @@ "com.amazonaws.elasticsearchservice#MinimumInstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Minimum number of Instances that can be instantiated for given InstanceType.\n
" } }, @@ -5222,6 +5239,7 @@ "UpdateVersion": { "target": "com.amazonaws.elasticsearchservice#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the latest version for the entity.
" } }, @@ -5640,6 +5658,7 @@ "InstanceCount": { "target": "com.amazonaws.elasticsearchservice#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of Elasticsearch instances to reserve.
" } } @@ -5853,6 +5872,7 @@ "Duration": { "target": "com.amazonaws.elasticsearchservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration, in seconds, for which the Elasticsearch instance is reserved.
" } }, @@ -5877,6 +5897,7 @@ "ElasticsearchInstanceCount": { "target": "com.amazonaws.elasticsearchservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of Elasticsearch instances that have been reserved.
" } }, @@ -5927,6 +5948,7 @@ "Duration": { "target": "com.amazonaws.elasticsearchservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
" } }, @@ -6580,11 +6602,15 @@ } }, "com.amazonaws.elasticsearchservice#TotalNumberOfStages": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticsearchservice#UIntValue": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/emr-containers.json b/codegen/sdk/aws-models/emr-containers.json index 63eec7ca4b9..d511005eb8e 100644 --- a/codegen/sdk/aws-models/emr-containers.json +++ b/codegen/sdk/aws-models/emr-containers.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -41,21 +41,6 @@ }, "com.amazonaws.emrcontainers#AwsChicagoWebService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "EMR containers", - "arnNamespace": "emr-containers", - "cloudFormationName": "EMRcontainers", - "cloudTrailEventSource": "emrcontainers.amazonaws.com", - "endpointPrefix": "emr-containers" - }, - "aws.auth#sigv4": { - "name": "emr-containers" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run\n open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With\n this deployment option, you can focus on running analytics workloads while Amazon EMR on\n EKS builds, configures, and manages containers for open-source applications. For more\n information about Amazon EMR on EKS concepts and tasks, see What is Amazon EMR on\n EKS.
\n\n Amazon EMR containers is the API name for Amazon EMR on EKS. The\n emr-containers prefix is used in the following scenarios:
It is the prefix in the CLI commands for Amazon EMR on EKS. For example, aws\n emr-containers start-job-run.
It is the prefix before IAM policy actions for Amazon EMR on EKS. For example,\n \"Action\": [ \"emr-containers:StartJobRun\"]. For more information, see\n Policy actions for Amazon EMR on EKS.
It is the prefix used in Amazon EMR on EKS service endpoints. For example,\n emr-containers.us-east-2.amazonaws.com. For more information, see\n Amazon EMR on EKS Service Endpoints.
Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run\n open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With\n this deployment option, you can focus on running analytics workloads while Amazon EMR on\n EKS builds, configures, and manages containers for open-source applications. For more\n information about Amazon EMR on EKS concepts and tasks, see What is Amazon EMR on\n EKS.
\n\n Amazon EMR containers is the API name for Amazon EMR on EKS. The\n emr-containers prefix is used in the following scenarios:
It is the prefix in the CLI commands for Amazon EMR on EKS. For example, aws\n emr-containers start-job-run.
It is the prefix before IAM policy actions for Amazon EMR on EKS. For example,\n \"Action\": [ \"emr-containers:StartJobRun\"]. For more information, see\n Policy actions for Amazon EMR on EKS.
It is the prefix used in Amazon EMR on EKS service endpoints. For example,\n emr-containers.us-east-2.amazonaws.com. For more information, see\n Amazon EMR on EKS Service Endpoints.
Specifies the amount of idle time in seconds after which the cluster automatically\n terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven\n days).
" } } @@ -526,6 +527,7 @@ "BlockPublicSecurityGroupRules": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Amazon EMR block public access is enabled (true)\n or disabled (false). By default, the value is false for accounts\n that have created EMR clusters before July 2019. For accounts created after this, the\n default is true.
Specifies whether the cluster should terminate after completing all steps.
" } }, "TerminationProtected": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Amazon EMR will lock the cluster to prevent the EC2 instances\n from being terminated by an API call or user intervention, or in the event of a cluster\n error.
" } }, "VisibleToAllUsers": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals\n in the Amazon Web Services account can perform EMR cluster actions on the cluster that their\n IAM policies allow. When false, only the IAM principal that created the\n cluster and the Amazon Web Services account root user can perform EMR actions, regardless of\n IAM permissions policies attached to other IAM principals.
The default value is true if a value is not provided when creating a\n cluster using the EMR API RunJobFlow command, the CLI\n create-cluster command, or the Amazon Web Services Management Console.
Amazon EMR is a web service that makes it easier to process large amounts of\n data efficiently. Amazon EMR uses Hadoop processing combined with several Amazon Web Services services to do tasks such as web indexing, data mining, log file analysis,\n machine learning, scientific simulation, and data warehouse management.
", - "smithy.api#title": "Amazon EMR", - "smithy.api#xmlNamespace": { - "uri": "http://elasticmapreduce.amazonaws.com/doc/2009-03-31" - } - }, "version": "2009-03-31", "operations": [ { @@ -2589,7 +2576,25 @@ { "target": "com.amazonaws.emr#UpdateStudioSessionMapping" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "EMR", + "arnNamespace": "elasticmapreduce", + "cloudFormationName": "EMR", + "cloudTrailEventSource": "emr.amazonaws.com", + "endpointPrefix": "elasticmapreduce" + }, + "aws.auth#sigv4": { + "name": "elasticmapreduce" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon EMR is a web service that makes it easier to process large amounts of\n data efficiently. Amazon EMR uses Hadoop processing combined with several Amazon Web Services services to do tasks such as web indexing, data mining, log file analysis,\n machine learning, scientific simulation, and data warehouse management.
", + "smithy.api#title": "Amazon EMR", + "smithy.api#xmlNamespace": { + "uri": "http://elasticmapreduce.amazonaws.com/doc/2009-03-31" + } + } }, "com.amazonaws.emr#ErrorCode": { "type": "string", @@ -3407,6 +3412,7 @@ "ConfigurationsVersion": { "target": "com.amazonaws.emr#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number of the requested configuration specification for this instance\n group.
" } }, @@ -3419,6 +3425,7 @@ "LastSuccessfullyAppliedConfigurationsVersion": { "target": "com.amazonaws.emr#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number of a configuration specification that was successfully applied for an\n instance group last time.
" } }, @@ -4198,10 +4205,7 @@ } }, "com.amazonaws.emr#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.emr#InternalServerError": { "type": "structure", @@ -4322,6 +4326,7 @@ "VisibleToAllUsers": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals\n in the Amazon Web Services account can perform EMR cluster actions that their IAM policies\n allow. When false, only the IAM principal that created the cluster and the\n Amazon Web Services account root user can perform EMR actions, regardless of IAM\n permissions policies attached to other IAM principals.
The default value is true if a value is not provided when creating a\n cluster using the EMR API RunJobFlow command, the CLI\n create-cluster command, or the Amazon Web Services Management Console.
Specifies whether the cluster should remain available after completing all steps.\n Defaults to true. For more information about configuring cluster termination,\n see Control Cluster Termination in the EMR Management\n Guide.
Specifies whether to lock the cluster to prevent the Amazon EC2 instances from\n being terminated by API call, user intervention, or in the event of a job-flow\n error.
" } }, @@ -4631,12 +4638,14 @@ "KeepJobFlowAliveWhenNoSteps": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the cluster should remain available after completing all steps.
" } }, "TerminationProtected": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the Amazon EC2 instances in the cluster are protected from\n termination by API calls, user intervention, or in the event of a job-flow error.
" } }, @@ -5474,7 +5483,10 @@ } }, "com.amazonaws.emr#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.emr#ManagedScalingPolicy": { "type": "structure", @@ -5511,7 +5523,6 @@ "com.amazonaws.emr#MaxResultsNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5678,7 +5689,6 @@ "com.amazonaws.emr#NonNegativeDouble": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0.0 } @@ -6053,7 +6063,6 @@ "com.amazonaws.emr#Port": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -1, "max": 65535 @@ -6555,6 +6564,7 @@ "VisibleToAllUsers": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The VisibleToAllUsers parameter is no longer supported. By default, the value is set\n to true. Setting it to false now has no effect.
Set this value to true so that IAM principals in the Amazon Web Services account associated with the cluster can perform EMR actions on the cluster\n that their IAM policies allow. This value defaults to true for clusters\n created using the EMR API or the CLI\n create-cluster command.
When set to false, only the IAM principal that created the cluster and the\n Amazon Web Services account root user can perform EMR actions for the cluster, regardless\n of the IAM permissions policies attached to other IAM principals. For more information, see\n Understanding the EMR Cluster VisibleToAllUsers Setting in the\n Amazon EMRManagement Guide.
A Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or\n job-flow error.
", "smithy.api#required": {} } @@ -7006,6 +7017,7 @@ "VisibleToAllUsers": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value of true indicates that an IAM principal in the Amazon Web Services account can perform EMR actions on the cluster that the IAM policies attached\n to the principal allow. A value of false indicates that only the IAM principal\n that created the cluster and the Amazon Web Services root user can perform EMR actions on\n the cluster.
Amazon EventBridge helps you to respond to state changes in your Amazon Web Services resources. When your\n resources change state, they automatically send events to an event stream. You can create\n rules that match selected events in the stream and route them to targets to take action. You\n can also use rules to take action on a predetermined schedule. For example, you can configure\n rules to:
\nAutomatically invoke an Lambda function to update DNS entries when an event\n notifies you that Amazon EC2 instance enters the running state.
\nDirect specific API records from CloudTrail to an Amazon Kinesis data stream for\n detailed analysis of potential security or availability risks.
\nPeriodically invoke a built-in target to create a snapshot of an Amazon EBS\n volume.
\nFor more information about the features of Amazon EventBridge, see the Amazon EventBridge User\n Guide.
", - "smithy.api#title": "Amazon EventBridge", - "smithy.api#xmlNamespace": { - "uri": "http://events.amazonaws.com/doc/2015-10-07" - } - }, "version": "2015-10-07", "operations": [ { @@ -219,7 +201,25 @@ { "target": "com.amazonaws.eventbridge#UpdateEndpoint" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "EventBridge", + "arnNamespace": "events", + "cloudFormationName": "Events", + "cloudTrailEventSource": "eventbridge.amazonaws.com", + "endpointPrefix": "events" + }, + "aws.auth#sigv4": { + "name": "events" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon EventBridge helps you to respond to state changes in your Amazon Web Services resources. When your\n resources change state, they automatically send events to an event stream. You can create\n rules that match selected events in the stream and route them to targets to take action. You\n can also use rules to take action on a predetermined schedule. For example, you can configure\n rules to:
\nAutomatically invoke an Lambda function to update DNS entries when an event\n notifies you that Amazon EC2 instance enters the running state.
\nDirect specific API records from CloudTrail to an Amazon Kinesis data stream for\n detailed analysis of potential security or availability risks.
\nPeriodically invoke a built-in target to create a snapshot of an Amazon EBS\n volume.
\nFor more information about the features of Amazon EventBridge, see the Amazon EventBridge User\n Guide.
", + "smithy.api#title": "Amazon EventBridge", + "smithy.api#xmlNamespace": { + "uri": "http://events.amazonaws.com/doc/2015-10-07" + } + } }, "com.amazonaws.eventbridge#AccountId": { "type": "string", @@ -246,6 +246,9 @@ "input": { "target": "com.amazonaws.eventbridge#ActivateEventSourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -399,7 +402,6 @@ "com.amazonaws.eventbridge#ApiDestinationInvocationRateLimitPerSecond": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -472,12 +474,14 @@ "SizeBytes": { "target": "com.amazonaws.eventbridge#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the archive, in bytes.
" } }, "EventCount": { "target": "com.amazonaws.eventbridge#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of events in the archive.
" } }, @@ -636,6 +640,7 @@ "Size": { "target": "com.amazonaws.eventbridge#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the array, if this is an array batch job. Valid values are integers between 2\n and 10,000.
" } } @@ -684,6 +689,7 @@ "Attempts": { "target": "com.amazonaws.eventbridge#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of times to attempt to retry, if the job fails. Valid values are 1–10.
" } } @@ -693,7 +699,10 @@ } }, "com.amazonaws.eventbridge#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.eventbridge#CancelReplay": { "type": "operation", @@ -790,12 +799,14 @@ "weight": { "target": "com.amazonaws.eventbridge#CapacityProviderStrategyItemWeight", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The weight value designates the relative percentage of the total number of tasks launched\n that should use the specified capacity provider. The weight value is taken into consideration\n after the base value, if defined, is satisfied.
" } }, "base": { "target": "com.amazonaws.eventbridge#CapacityProviderStrategyItemBase", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The base value designates how many tasks, at a minimum, to run on the specified capacity\n provider. Only one capacity provider in a capacity provider strategy can have a base defined.\n If no value is specified, the default value of 0 is used.
" } } @@ -807,6 +818,7 @@ "com.amazonaws.eventbridge#CapacityProviderStrategyItemBase": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100000 @@ -816,6 +828,7 @@ "com.amazonaws.eventbridge#CapacityProviderStrategyItemWeight": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -1026,6 +1039,7 @@ "IsValueSecret": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specified whether the value is secret.
" } } @@ -1074,6 +1088,7 @@ "IsValueSecret": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specified whether the value is a secret.
" } } @@ -1213,6 +1228,7 @@ "IsValueSecret": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the value is secret.
" } } @@ -1974,6 +1990,9 @@ "input": { "target": "com.amazonaws.eventbridge#DeactivateEventSourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -2283,6 +2302,9 @@ "input": { "target": "com.amazonaws.eventbridge#DeleteEventBusRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -2312,6 +2334,9 @@ "input": { "target": "com.amazonaws.eventbridge#DeletePartnerEventSourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -2351,6 +2376,9 @@ "input": { "target": "com.amazonaws.eventbridge#DeleteRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -2388,6 +2416,7 @@ "Force": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify\n Force as True to delete the rule. This parameter is ignored for\n rules that are not managed rules. You can check whether a rule is a managed rule by using\n DescribeRule or ListRules and checking the ManagedBy\n field of the response.
The size of the archive in bytes.
" } }, "EventCount": { "target": "com.amazonaws.eventbridge#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of events in the archive.
" } }, @@ -3219,6 +3250,9 @@ "input": { "target": "com.amazonaws.eventbridge#DisableRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -3304,12 +3338,14 @@ "EnableECSManagedTags": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable Amazon ECS managed tags for the task. For more information,\n see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer\n Guide.
" } }, "EnableExecuteCommand": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether or not to enable the execute command functionality for the containers in this\n task. If true, this enables execute command functionality on all containers in the\n task.
" } }, @@ -3353,6 +3389,9 @@ "input": { "target": "com.amazonaws.eventbridge#EnableRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -3947,7 +3986,10 @@ } }, "com.amazonaws.eventbridge#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.eventbridge#InternalException": { "type": "structure", @@ -4034,7 +4076,6 @@ "com.amazonaws.eventbridge#LimitMax100": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4044,7 +4085,6 @@ "com.amazonaws.eventbridge#LimitMin1": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4866,7 +4906,10 @@ } }, "com.amazonaws.eventbridge#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.eventbridge#ManagedBy": { "type": "string", @@ -4892,7 +4935,6 @@ "com.amazonaws.eventbridge#MaximumEventAgeInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 86400 @@ -4902,7 +4944,6 @@ "com.amazonaws.eventbridge#MaximumRetryAttempts": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 185 @@ -5336,6 +5377,7 @@ "FailedEntryCount": { "target": "com.amazonaws.eventbridge#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of failed entries.
" } }, @@ -5467,6 +5509,7 @@ "FailedEntryCount": { "target": "com.amazonaws.eventbridge#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of events from this operation that could not be written to the partner event\n bus.
" } }, @@ -5515,6 +5558,9 @@ "input": { "target": "com.amazonaws.eventbridge#PutPermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -5734,6 +5780,7 @@ "FailedEntryCount": { "target": "com.amazonaws.eventbridge#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of failed entries.
" } }, @@ -5844,6 +5891,7 @@ "WithEvent": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to send an event back to EventBridge after the SQL statement\n runs.
" } } @@ -5876,6 +5924,9 @@ "input": { "target": "com.amazonaws.eventbridge#RemovePermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -5906,6 +5957,7 @@ "RemoveAllPermissions": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to remove all permissions.
" } }, @@ -5969,6 +6021,7 @@ "Force": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify\n Force as True to remove targets. This parameter is ignored for\n rules that are not managed rules. You can check whether a rule is a managed rule by using\n DescribeRule or ListRules and checking the ManagedBy\n field of the response.
The number of failed entries.
" } }, @@ -6254,7 +6308,6 @@ "com.amazonaws.eventbridge#RetentionDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -7089,6 +7142,7 @@ "Result": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the event matches the event pattern.
" } } diff --git a/codegen/sdk/aws-models/evidently.json b/codegen/sdk/aws-models/evidently.json index 1618a4a2a75..2664cc808bf 100644 --- a/codegen/sdk/aws-models/evidently.json +++ b/codegen/sdk/aws-models/evidently.json @@ -6134,4 +6134,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/finspace-data.json b/codegen/sdk/aws-models/finspace-data.json index 1998457d777..b5a545cb437 100644 --- a/codegen/sdk/aws-models/finspace-data.json +++ b/codegen/sdk/aws-models/finspace-data.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.finspacedata#AWSHabaneroPublicAPI": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "finspace data", - "arnNamespace": "finspace-api", - "cloudFormationName": "Finspacedata", - "cloudTrailEventSource": "finspacedata.amazonaws.com", - "endpointPrefix": "finspace-api" - }, - "aws.auth#sigv4": { - "name": "finspace-api" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "The FinSpace APIs let you take actions inside the FinSpace.
", - "smithy.api#title": "FinSpace Public API" - }, "version": "2020-07-13", "operations": [ { @@ -141,7 +126,22 @@ { "target": "com.amazonaws.finspacedata#UpdateUser" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "finspace data", + "arnNamespace": "finspace-api", + "cloudFormationName": "Finspacedata", + "cloudTrailEventSource": "finspacedata.amazonaws.com", + "endpointPrefix": "finspace-api" + }, + "aws.auth#sigv4": { + "name": "finspace-api" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "The FinSpace APIs let you take actions inside the FinSpace.
", + "smithy.api#title": "FinSpace Public API" + } }, "com.amazonaws.finspacedata#AccessDeniedException": { "type": "structure", @@ -303,6 +303,7 @@ "statusCode": { "target": "com.amazonaws.finspacedata#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The returned status code of the response.
", "smithy.api#httpResponseCode": {} } @@ -333,6 +334,7 @@ "expiration": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The Epoch time when the current credentials expire.
" } } @@ -344,6 +346,7 @@ "com.amazonaws.finspacedata#Boolean": { "type": "boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Common Boolean data type" } }, @@ -454,6 +457,7 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The timestamp at which the Changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, @@ -472,14 +476,14 @@ "activeUntilTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Time until which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, "activeFromTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Beginning time from which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, @@ -811,6 +815,7 @@ "autoUpdate": { "target": "com.amazonaws.finspacedata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Flag to indicate Dataview should be updated automatically.
" } }, @@ -829,7 +834,7 @@ "asOfTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Beginning time to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, @@ -1325,7 +1330,7 @@ "asOfTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, @@ -1362,18 +1367,21 @@ "autoUpdate": { "target": "com.amazonaws.finspacedata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The flag to indicate Dataview should be updated automatically.
" } }, "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } } @@ -1424,12 +1432,14 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The timestamp at which the Dataset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The last time that the Dataset was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, @@ -1853,6 +1863,7 @@ "statusCode": { "target": "com.amazonaws.finspacedata#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The returned status code of the response.
", "smithy.api#httpResponseCode": {} } @@ -2136,6 +2147,7 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The timestamp at which the Changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, @@ -2154,14 +2166,14 @@ "activeUntilTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Time until which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, "activeFromTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Beginning time from which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, @@ -2246,6 +2258,7 @@ "autoUpdate": { "target": "com.amazonaws.finspacedata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Flag to indicate Dataview should be updated automatically.
" } }, @@ -2264,7 +2277,7 @@ "asOfTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, @@ -2277,12 +2290,14 @@ "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, @@ -2410,12 +2425,14 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The timestamp at which the Dataset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The last time that the Dataset was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
" } }, @@ -2606,6 +2623,7 @@ "durationInMinutes": { "target": "com.amazonaws.finspacedata#SessionDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time duration in which the credentials remain valid.
", "smithy.api#httpQuery": "durationInMinutes" } @@ -2635,6 +2653,7 @@ "durationInMinutes": { "target": "com.amazonaws.finspacedata#SessionDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Returns the duration in which the credentials will remain valid.
" } } @@ -2744,30 +2763,35 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The timestamp at which the user account was created in FinSpace. The value is determined as epoch time in milliseconds.
" } }, "lastEnabledTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes the last time the user account was enabled. The value is determined as epoch time in milliseconds.
" } }, "lastDisabledTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes the last time the user account was disabled. The value is determined as epoch time in milliseconds.
" } }, "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes the last time the user account was updated. The value is determined as epoch time in milliseconds.
" } }, "lastLoginTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.
" } } @@ -2969,7 +2993,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results per page.
", "smithy.api#httpQuery": "maxResults" } @@ -3067,7 +3091,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results per page.
", "smithy.api#httpQuery": "maxResults" } @@ -3147,7 +3171,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results per page.
", "smithy.api#httpQuery": "maxResults" } @@ -3269,6 +3293,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results per page.
", "smithy.api#httpQuery": "maxResults", "smithy.api#required": {} @@ -3306,6 +3331,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results per page.
", "smithy.api#httpQuery": "maxResults", "smithy.api#required": {} @@ -3422,6 +3448,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results per page.
", "smithy.api#httpQuery": "maxResults", "smithy.api#required": {} @@ -3459,6 +3486,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results per page.
", "smithy.api#httpQuery": "maxResults", "smithy.api#required": {} @@ -3547,12 +3575,14 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The timestamp at which the group was created in FinSpace. The value is determined as epoch time in milliseconds.\n
" } }, "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes the last time the permission group was updated. The value is determined as epoch time in milliseconds.\n
" } }, @@ -3803,6 +3833,7 @@ "com.amazonaws.finspacedata#ResultLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -3918,6 +3949,7 @@ "com.amazonaws.finspacedata#SessionDuration": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 60, "max": 720 @@ -3957,7 +3989,10 @@ } }, "com.amazonaws.finspacedata#StatusCode": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.finspacedata#StringMapKey": { "type": "string", @@ -4022,6 +4057,7 @@ "com.amazonaws.finspacedata#TimestampEpoch": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Milliseconds since UTC epoch" } }, @@ -4471,30 +4507,35 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The timestamp at which the user account was created in FinSpace. The value is determined as epoch time in milliseconds.
" } }, "lastEnabledTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes the last time the user account was enabled. The value is determined as epoch time in milliseconds.\n
" } }, "lastDisabledTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes the last time the user account was disabled. The value is determined as epoch time in milliseconds.
" } }, "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes the last time the user account was updated. The value is determined as epoch time in milliseconds.\n
" } }, "lastLoginTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.\n
" } } diff --git a/codegen/sdk/aws-models/finspace.json b/codegen/sdk/aws-models/finspace.json index 59333071e83..e9a84afd202 100644 --- a/codegen/sdk/aws-models/finspace.json +++ b/codegen/sdk/aws-models/finspace.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.finspace#AWSHabaneroManagementService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "finspace", - "arnNamespace": "finspace", - "cloudFormationName": "Finspace", - "cloudTrailEventSource": "finspace.amazonaws.com", - "endpointPrefix": "finspace" - }, - "aws.auth#sigv4": { - "name": "finspace" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "The FinSpace management service provides the APIs for managing FinSpace environments.
", - "smithy.api#title": "FinSpace User Environment Management service" - }, "version": "2021-03-12", "operations": [ { @@ -72,7 +57,22 @@ { "target": "com.amazonaws.finspace#UpdateEnvironment" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "finspace", + "arnNamespace": "finspace", + "cloudFormationName": "Finspace", + "cloudTrailEventSource": "finspace.amazonaws.com", + "endpointPrefix": "finspace" + }, + "aws.auth#sigv4": { + "name": "finspace" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "The FinSpace management service provides the APIs for managing FinSpace environments.
", + "smithy.api#title": "FinSpace User Environment Management service" + } }, "com.amazonaws.finspace#AccessDeniedException": { "type": "structure", @@ -679,6 +679,7 @@ "maxResults": { "target": "com.amazonaws.finspace#ResultLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in this request.
", "smithy.api#httpQuery": "maxResults" } @@ -790,6 +791,7 @@ "com.amazonaws.finspace#ResultLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 diff --git a/codegen/sdk/aws-models/firehose.json b/codegen/sdk/aws-models/firehose.json index 0d5f4922e9f..5fc895a33fb 100644 --- a/codegen/sdk/aws-models/firehose.json +++ b/codegen/sdk/aws-models/firehose.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -53,7 +53,6 @@ "com.amazonaws.firehose#AmazonopensearchserviceBufferingIntervalInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 900 @@ -63,7 +62,6 @@ "com.amazonaws.firehose#AmazonopensearchserviceBufferingSizeInMBs": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -265,7 +263,6 @@ "com.amazonaws.firehose#AmazonopensearchserviceRetryDurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7200 @@ -308,17 +305,13 @@ "com.amazonaws.firehose#BlockSizeBytes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 67108864 } } }, "com.amazonaws.firehose#BooleanObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.firehose#BucketARN": { "type": "string", @@ -1068,7 +1061,6 @@ "com.amazonaws.firehose#DescribeDeliveryStreamInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1220,7 +1212,6 @@ "com.amazonaws.firehose#ElasticsearchBufferingIntervalInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 900 @@ -1230,7 +1221,6 @@ "com.amazonaws.firehose#ElasticsearchBufferingSizeInMBs": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1546,7 +1536,6 @@ "com.amazonaws.firehose#ElasticsearchRetryDurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7200 @@ -1978,7 +1967,6 @@ "com.amazonaws.firehose#HECAcknowledgmentTimeoutInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 180, "max": 600 @@ -2090,7 +2078,6 @@ "com.amazonaws.firehose#HttpEndpointBufferingIntervalInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 900 @@ -2100,7 +2087,6 @@ "com.amazonaws.firehose#HttpEndpointBufferingSizeInMBs": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 64 @@ -2384,7 +2370,6 @@ "com.amazonaws.firehose#HttpEndpointRetryDurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7200 @@ -2448,7 +2433,6 @@ "com.amazonaws.firehose#IntervalInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 900 @@ -2626,7 +2610,6 @@ "com.amazonaws.firehose#ListDeliveryStreamsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -2714,7 +2697,6 @@ "com.amazonaws.firehose#ListTagsForDeliveryStreamInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -2806,7 +2788,6 @@ "com.amazonaws.firehose#NonNegativeIntegerObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -2875,7 +2856,6 @@ "com.amazonaws.firehose#OrcRowIndexStride": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1000 } @@ -2952,7 +2932,6 @@ "com.amazonaws.firehose#OrcStripeSizeBytes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 8388608 } @@ -2994,7 +2973,6 @@ "com.amazonaws.firehose#ParquetPageSizeBytes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 65536 } @@ -3234,7 +3212,6 @@ "com.amazonaws.firehose#Proportion": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -3677,7 +3654,6 @@ "com.amazonaws.firehose#RedshiftRetryDurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7200 @@ -3746,7 +3722,6 @@ "com.amazonaws.firehose#RetryDurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7200 @@ -4062,7 +4037,6 @@ "com.amazonaws.firehose#SizeInMBs": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 128 @@ -4276,7 +4250,6 @@ "com.amazonaws.firehose#SplunkRetryDurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7200 diff --git a/codegen/sdk/aws-models/fis.json b/codegen/sdk/aws-models/fis.json index 702190d6263..86c64f77d29 100644 --- a/codegen/sdk/aws-models/fis.json +++ b/codegen/sdk/aws-models/fis.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -99,7 +99,7 @@ "required": { "target": "com.amazonaws.fis#ActionParameterRequired", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Indicates whether the parameter is required.
" } } @@ -138,7 +138,10 @@ } }, "com.amazonaws.fis#ActionParameterRequired": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.fis#ActionSummary": { "type": "structure", @@ -1805,21 +1808,6 @@ }, "com.amazonaws.fis#FaultInjectionSimulator": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "fis", - "arnNamespace": "fis", - "cloudFormationName": "Fis", - "cloudTrailEventSource": "fis.amazonaws.com", - "endpointPrefix": "fis" - }, - "aws.auth#sigv4": { - "name": "fis" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Fault Injection Simulator is a managed service that enables you to perform fault injection \n experiments on your Amazon Web Services workloads. For more information, see the Fault Injection Simulator User Guide.
", - "smithy.api#title": "AWS Fault Injection Simulator" - }, "version": "2020-12-01", "operations": [ { @@ -1870,7 +1858,22 @@ { "target": "com.amazonaws.fis#UpdateExperimentTemplate" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "fis", + "arnNamespace": "fis", + "cloudFormationName": "Fis", + "cloudTrailEventSource": "fis.amazonaws.com", + "endpointPrefix": "fis" + }, + "aws.auth#sigv4": { + "name": "fis" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Fault Injection Simulator is a managed service that enables you to perform fault injection \n experiments on your Amazon Web Services workloads. For more information, see the Fault Injection Simulator User Guide.
", + "smithy.api#title": "AWS Fault Injection Simulator" + } }, "com.amazonaws.fis#GetAction": { "type": "operation", @@ -2101,6 +2104,7 @@ "com.amazonaws.fis#ListActionsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2113,7 +2117,7 @@ "maxResults": { "target": "com.amazonaws.fis#ListActionsMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
Indicates whether the parameter is required.
" } } @@ -2822,7 +2826,10 @@ } }, "com.amazonaws.fis#TargetResourceTypeParameterRequired": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.fis#TargetResourceTypeSummary": { "type": "structure", diff --git a/codegen/sdk/aws-models/fms.json b/codegen/sdk/aws-models/fms.json index 9bfbcf7646f..b144f9062a9 100644 --- a/codegen/sdk/aws-models/fms.json +++ b/codegen/sdk/aws-models/fms.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -41,21 +41,6 @@ }, "com.amazonaws.fms#AWSFMS_20180101": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "FMS", - "arnNamespace": "fms", - "cloudFormationName": "FMS", - "cloudTrailEventSource": "fms.amazonaws.com", - "endpointPrefix": "fms" - }, - "aws.auth#sigv4": { - "name": "fms" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "This is the Firewall Manager API Reference. This guide is for\n developers who need detailed information about the Firewall Manager API actions, data\n types, and errors. For detailed information about Firewall Manager features, see the\n Firewall Manager Developer Guide.
\nSome API actions require explicit resource permissions. For information, see the developer guide topic\n Firewall Manager required permissions for API actions.\n
", - "smithy.api#title": "Firewall Management Service" - }, "version": "2018-01-01", "operations": [ { @@ -148,7 +133,22 @@ { "target": "com.amazonaws.fms#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "FMS", + "arnNamespace": "fms", + "cloudFormationName": "FMS", + "cloudTrailEventSource": "fms.amazonaws.com", + "endpointPrefix": "fms" + }, + "aws.auth#sigv4": { + "name": "fms" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "This is the Firewall Manager API Reference. This guide is for\n developers who need detailed information about the Firewall Manager API actions, data\n types, and errors. For detailed information about Firewall Manager features, see the\n Firewall Manager Developer Guide.
\nSome API actions require explicit resource permissions. For information, see the developer guide topic\n Firewall Manager required permissions for API actions.\n
", + "smithy.api#title": "Firewall Management Service" + } }, "com.amazonaws.fms#AccountRoleStatus": { "type": "string", @@ -493,6 +493,7 @@ "com.amazonaws.fms#BasicInteger": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -2147483648, "max": 2147483647 @@ -500,7 +501,10 @@ } }, "com.amazonaws.fms#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.fms#CIDR": { "type": "string", @@ -703,6 +707,7 @@ "DeleteAllPolicyResources": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If True, the request performs cleanup according to the policy type.
For WAF and Shield Advanced policies, the cleanup does the following:
\nDeletes rule groups created by Firewall Manager
\nRemoves web ACLs from in-scope resources
\nDeletes web ACLs that contain no rules or rule groups
\nFor security group policies, the cleanup does the following for each security group in\n the policy:
\nDisassociates the security group from in-scope resources
\nDeletes the security group if it was created through Firewall Manager and if it's\n no longer associated with any resources through another policy
\nAfter the cleanup, in-scope resources are no longer protected by web ACLs in this policy.\n Protection of out-of-scope resources remains unchanged. Scope is determined by tags that you\n create and accounts that you associate with the policy. When creating the policy, if you\n specify that only resources in specific accounts or with specific tags are in scope of the\n policy, those accounts and resources are handled by the policy. All others are out of scope.\n If you don't specify tags or accounts, all resources are in scope.
" } } @@ -909,6 +914,7 @@ "NumberOfRuleGroupsAlreadyAssociated": { "target": "com.amazonaws.fms#BasicInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of rule groups currently associated with the VPC.
" } } @@ -926,6 +932,7 @@ "com.amazonaws.fms#DnsRuleGroupPriority": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 10000 @@ -950,6 +957,7 @@ "ConflictingPriority": { "target": "com.amazonaws.fms#DnsRuleGroupPriority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The priority setting of the two conflicting rule groups.
" } }, @@ -1230,12 +1238,14 @@ "ViolatorCount": { "target": "com.amazonaws.fms#ResourceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of resources that are noncompliant with the specified policy. For WAF and\n Shield Advanced policies, a resource is considered noncompliant if it is not associated with\n the policy. For security group policies, a resource is considered noncompliant if it doesn't\n comply with the rules of the policy and remediation is disabled or not possible.
" } }, "EvaluationLimitExceeded": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates that over 100 resources are noncompliant with the Firewall Manager\n policy.
" } } @@ -1505,6 +1515,7 @@ "DefaultList": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the list to retrieve is a default list owned by Firewall Manager.
" } } @@ -1812,6 +1823,7 @@ "DefaultList": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the list to retrieve is a default list owned by Firewall Manager.
" } } @@ -1959,7 +1971,6 @@ "com.amazonaws.fms#IPPortNumber": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 65535 @@ -2088,6 +2099,7 @@ "DefaultLists": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the lists to retrieve are default lists owned by Firewall Manager.
" } }, @@ -2361,6 +2373,7 @@ "DefaultLists": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the lists to retrieve are default lists owned by Firewall Manager.
" } }, @@ -2632,6 +2645,7 @@ "IsRouteTableUsedInDifferentAZ": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Information about whether the route table is used in another Availability Zone.
" } }, @@ -2718,6 +2732,7 @@ "IsRouteTableUsedInDifferentAZ": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Information about whether the route table is used in another Availability Zone.
" } }, @@ -3111,7 +3126,6 @@ "com.amazonaws.fms#PaginationMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3205,6 +3219,7 @@ "ExcludeResourceTags": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If set to True, resources with the tags that are specified in the\n ResourceTag array are not in scope of the policy. If set to False,\n and the ResourceTag array is not null, only resources with the specified tags are\n in scope of the policy.
Indicates if the policy should be automatically applied to new resources.
", "smithy.api#required": {} } @@ -3219,6 +3235,7 @@ "DeleteUnusedFMManagedResources": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources\n that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL\n from a protected customer resource when the customer resource leaves policy scope.
\nBy default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.
\nThis option is not available for Shield Advanced or WAF Classic policies.
" } }, @@ -3269,6 +3286,7 @@ "EvaluationLimitExceeded": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if over 100 resources are noncompliant with the Firewall Manager\n policy.
" } }, @@ -3426,12 +3444,14 @@ "RemediationEnabled": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if the policy should be automatically applied to new resources.
" } }, "DeleteUnusedFMManagedResources": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources\n that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL\n from a protected customer resource when the customer resource leaves policy scope.
\nBy default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.
\nThis option is not available for Shield Advanced or WAF Classic policies.
" } } @@ -3475,6 +3495,7 @@ "IsDefaultAction": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Information about whether an action is taken by default.
" } } @@ -3538,10 +3559,7 @@ } }, "com.amazonaws.fms#PriorityNumber": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.fms#ProtectionData": { "type": "string" @@ -3991,6 +4009,7 @@ "Order": { "target": "com.amazonaws.fms#BasicInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The order of the remediation actions in the list.
" } } @@ -4012,6 +4031,7 @@ "com.amazonaws.fms#ResourceCount": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4430,6 +4450,7 @@ "IsDefaultAction": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if the current action is the default action.
" } } @@ -4622,6 +4643,7 @@ "Priority": { "target": "com.amazonaws.fms#StatelessRuleGroupPriority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The priority of the rule group. Network Firewall evaluates the stateless rule groups in a firewall policy starting from the lowest priority setting.
" } } @@ -4639,6 +4661,7 @@ "com.amazonaws.fms#StatelessRuleGroupPriority": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 diff --git a/codegen/sdk/aws-models/forecast.json b/codegen/sdk/aws-models/forecast.json index bf3564bad61..4c4663ea9d4 100644 --- a/codegen/sdk/aws-models/forecast.json +++ b/codegen/sdk/aws-models/forecast.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -93,21 +93,6 @@ }, "com.amazonaws.forecast#AmazonForecast": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "forecast", - "arnNamespace": "forecast", - "cloudFormationName": "Forecast", - "cloudTrailEventSource": "forecast.amazonaws.com", - "endpointPrefix": "forecast" - }, - "aws.auth#sigv4": { - "name": "forecast" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Provides APIs for creating and managing Amazon Forecast resources.
", - "smithy.api#title": "Amazon Forecast Service" - }, "version": "2018-06-26", "operations": [ { @@ -299,7 +284,22 @@ { "target": "com.amazonaws.forecast#UpdateDatasetGroup" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "forecast", + "arnNamespace": "forecast", + "cloudFormationName": "Forecast", + "cloudTrailEventSource": "forecast.amazonaws.com", + "endpointPrefix": "forecast" + }, + "aws.auth#sigv4": { + "name": "forecast" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Provides APIs for creating and managing Amazon Forecast resources.
", + "smithy.api#title": "Amazon Forecast Service" + } }, "com.amazonaws.forecast#Arn": { "type": "string", @@ -444,10 +444,7 @@ } }, "com.amazonaws.forecast#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.forecast#CategoricalParameterRange": { "type": "structure", @@ -845,6 +842,7 @@ "UseGeolocationForTimeZone": { "target": "com.amazonaws.forecast#UseGeolocationForTimeZone", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Automatically derive time zone information from the geolocation attribute. This option\n is ideal for datasets that contain timestamps in multiple time zones and those\n timestamps are expressed in local time.
" } }, @@ -1999,7 +1997,6 @@ "com.amazonaws.forecast#DayOfMonth": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 28 @@ -2864,6 +2861,7 @@ "UseGeolocationForTimeZone": { "target": "com.amazonaws.forecast#UseGeolocationForTimeZone", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether TimeZone is automatically derived from the geolocation\n attribute.
Provides APIs for creating and managing Amazon Forecast resources.
", "smithy.api#title": "Amazon Forecast Query Service" - }, - "version": "2018-06-26", - "operations": [ - { - "target": "com.amazonaws.forecastquery#QueryForecast" - }, - { - "target": "com.amazonaws.forecastquery#QueryWhatIfForecast" - } - ] + } }, "com.amazonaws.forecastquery#Arn": { "type": "string", @@ -109,10 +109,7 @@ "type": "string" }, "com.amazonaws.forecastquery#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.forecastquery#ErrorMessage": { "type": "string" diff --git a/codegen/sdk/aws-models/frauddetector.json b/codegen/sdk/aws-models/frauddetector.json index 2343d1eeb6d..cf51da54eff 100644 --- a/codegen/sdk/aws-models/frauddetector.json +++ b/codegen/sdk/aws-models/frauddetector.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -103,24 +103,6 @@ }, "com.amazonaws.frauddetector#AWSHawksNestServiceFacade": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "FraudDetector", - "arnNamespace": "frauddetector", - "cloudFormationName": "FraudDetector", - "cloudTrailEventSource": "frauddetector.amazonaws.com", - "endpointPrefix": "frauddetector" - }, - "aws.auth#sigv4": { - "name": "frauddetector" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "This is the Amazon Fraud Detector API Reference. This guide is for developers who need\n detailed information about Amazon Fraud Detector API actions, data types, and errors. For\n more information about Amazon Fraud Detector features, see the Amazon Fraud Detector User Guide.
\n \nWe provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.
\nThe Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter Action. AWS SDK provides libraries, \n sample code, tutorials, and other resources for software developers who prefer to build applications using language-specific APIs instead of submitting a request over \n HTTP or HTTPS. These libraries provide basic functions that automatically take care of tasks such as cryptographically signing your requests, retrying requests, and \n handling error responses, so that it is easier for you to get started. For more information about the AWS SDKs, see Tools to build on AWS.\n
This is the Amazon Fraud Detector API Reference. This guide is for developers who need\n detailed information about Amazon Fraud Detector API actions, data types, and errors. For\n more information about Amazon Fraud Detector features, see the Amazon Fraud Detector User Guide.
\n \nWe provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.
\nThe Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter Action. AWS SDK provides libraries, \n sample code, tutorials, and other resources for software developers who prefer to build applications using language-specific APIs instead of submitting a request over \n HTTP or HTTPS. These libraries provide basic functions that automatically take care of tasks such as cryptographically signing your requests, retrying requests, and \n handling error responses, so that it is easier for you to get started. For more information about the AWS SDKs, see Tools to build on AWS.\n
The error code.
" } }, @@ -563,6 +564,7 @@ "code": { "target": "com.amazonaws.frauddetector#Integer2", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The error code.
" } }, @@ -809,10 +811,7 @@ } }, "com.amazonaws.frauddetector#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.frauddetector#CancelBatchImportJob": { "type": "operation", @@ -1611,10 +1610,7 @@ } }, "com.amazonaws.frauddetector#DeleteAuditHistory": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.frauddetector#DeleteBatchImportJob": { "type": "operation", @@ -2559,7 +2555,6 @@ "com.amazonaws.frauddetector#DetectorVersionMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1000, "max": 2500 @@ -2626,7 +2621,6 @@ "com.amazonaws.frauddetector#DetectorsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 10 @@ -2935,7 +2929,6 @@ "com.amazonaws.frauddetector#EventPredictionsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50, "max": 100 @@ -3205,7 +3198,6 @@ "com.amazonaws.frauddetector#ExternalModelsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 10 @@ -4867,14 +4859,14 @@ } }, "com.amazonaws.frauddetector#Integer": { + "type": "integer" + }, + "com.amazonaws.frauddetector#Integer2": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, - "com.amazonaws.frauddetector#Integer2": { - "type": "integer" - }, "com.amazonaws.frauddetector#InternalServerException": { "type": "structure", "members": { @@ -5268,10 +5260,7 @@ } }, "com.amazonaws.frauddetector#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.frauddetector#MapOfStrings": { "type": "map", @@ -5865,7 +5854,6 @@ "com.amazonaws.frauddetector#OutcomesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50, "max": 100 @@ -6542,7 +6530,6 @@ "com.amazonaws.frauddetector#RulesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50, "max": 100 @@ -6783,7 +6770,6 @@ "com.amazonaws.frauddetector#TagsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50, "max": 50 @@ -7727,10 +7713,7 @@ "members": {} }, "com.amazonaws.frauddetector#UseEventVariables": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.frauddetector#ValidationException": { "type": "structure", @@ -7915,7 +7898,6 @@ "com.amazonaws.frauddetector#VariablesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50, "max": 100 @@ -7944,7 +7926,6 @@ "com.amazonaws.frauddetector#batchImportsMaxPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -7954,7 +7935,6 @@ "com.amazonaws.frauddetector#batchPredictionsMaxPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -8001,7 +7981,6 @@ "com.amazonaws.frauddetector#entityTypesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 10 @@ -8017,7 +7996,6 @@ "com.amazonaws.frauddetector#eventTypesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 10 @@ -8047,10 +8025,7 @@ } }, "com.amazonaws.frauddetector#float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.frauddetector#floatVersionString": { "type": "string", @@ -8110,7 +8085,6 @@ "com.amazonaws.frauddetector#labelsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10, "max": 50 @@ -8169,7 +8143,6 @@ "com.amazonaws.frauddetector#modelsMaxPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 diff --git a/codegen/sdk/aws-models/gamelift.json b/codegen/sdk/aws-models/gamelift.json index ee204561e10..87427c250bf 100644 --- a/codegen/sdk/aws-models/gamelift.json +++ b/codegen/sdk/aws-models/gamelift.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -300,10 +300,7 @@ } }, "com.amazonaws.gamelift#BooleanModel": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.gamelift#Build": { "type": "structure", @@ -4625,14 +4622,14 @@ "type": "string" }, "com.amazonaws.gamelift#Double": { - "type": "double" - }, - "com.amazonaws.gamelift#DoubleObject": { "type": "double", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.gamelift#DoubleObject": { + "type": "double" + }, "com.amazonaws.gamelift#EC2InstanceCounts": { "type": "structure", "members": { @@ -5788,31 +5785,16 @@ } }, "com.amazonaws.gamelift#Float": { - "type": "float" + "type": "float", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.gamelift#FreeText": { "type": "string" }, "com.amazonaws.gamelift#GameLift": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "GameLift", - "arnNamespace": "gamelift", - "cloudFormationName": "GameLift", - "cloudTrailEventSource": "gamelift.amazonaws.com", - "endpointPrefix": "gamelift" - }, - "aws.auth#sigv4": { - "name": "gamelift" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Web Services provides solutions for hosting session-based multiplayer game servers in the\n cloud, including tools for deploying, operating, and scaling game servers. Built on Amazon Web Services\n global computing infrastructure, GameLift helps you deliver high-performance,\n high-reliability, low-cost game servers while dynamically scaling your resource usage to\n meet player demand.
\n\n About GameLift solutions\n
\nGet more information on these GameLift solutions in the GameLift Developer Guide.
\nGameLift managed hosting -- GameLift offers a fully managed service to set up and maintain\n computing machines for hosting, manage game session and player session life\n cycle, and handle security, storage, and performance tracking. You can use\n automatic scaling tools to balance player demand and hosting costs, configure\n your game session management to minimize player latency, and add FlexMatch for\n matchmaking.
\nManaged hosting with Realtime Servers -- With GameLift Realtime Servers, you can quickly configure and set up\n ready-to-go game servers for your game. Realtime Servers provides a game server framework\n with core GameLift infrastructure already built in. Then use the full range of\n GameLift managed hosting features, including FlexMatch, for your game.
\nGameLift FleetIQ -- Use GameLift FleetIQ as a standalone service while hosting your games using EC2 instances and\n Auto Scaling groups. GameLift FleetIQ provides optimizations for game hosting, including\n boosting the viability of low-cost Spot Instances gaming. For a complete\n solution, pair the GameLift FleetIQ and FlexMatch standalone services.
\nGameLift FlexMatch -- Add matchmaking to your game hosting solution. FlexMatch is a\n customizable matchmaking service for multiplayer games. Use FlexMatch as\n integrated with GameLift managed hosting or incorporate FlexMatch as a standalone\n service into your own hosting solution.
\n\n About this API Reference\n
\nThis reference guide describes the low-level service API for Amazon Web Services. With each topic\n in this guide, you can find links to language-specific SDK guides and the Amazon Web Services CLI\n reference. Useful links:
\nAmazon Web Services provides solutions for hosting session-based multiplayer game servers in the\n cloud, including tools for deploying, operating, and scaling game servers. Built on Amazon Web Services\n global computing infrastructure, GameLift helps you deliver high-performance,\n high-reliability, low-cost game servers while dynamically scaling your resource usage to\n meet player demand.
\n\n About GameLift solutions\n
\nGet more information on these GameLift solutions in the GameLift Developer Guide.
\nGameLift managed hosting -- GameLift offers a fully managed service to set up and maintain\n computing machines for hosting, manage game session and player session life\n cycle, and handle security, storage, and performance tracking. You can use\n automatic scaling tools to balance player demand and hosting costs, configure\n your game session management to minimize player latency, and add FlexMatch for\n matchmaking.
\nManaged hosting with Realtime Servers -- With GameLift Realtime Servers, you can quickly configure and set up\n ready-to-go game servers for your game. Realtime Servers provides a game server framework\n with core GameLift infrastructure already built in. Then use the full range of\n GameLift managed hosting features, including FlexMatch, for your game.
\nGameLift FleetIQ -- Use GameLift FleetIQ as a standalone service while hosting your games using EC2 instances and\n Auto Scaling groups. GameLift FleetIQ provides optimizations for game hosting, including\n boosting the viability of low-cost Spot Instances gaming. For a complete\n solution, pair the GameLift FleetIQ and FlexMatch standalone services.
\nGameLift FlexMatch -- Add matchmaking to your game hosting solution. FlexMatch is a\n customizable matchmaking service for multiplayer games. Use FlexMatch as\n integrated with GameLift managed hosting or incorporate FlexMatch as a standalone\n service into your own hosting solution.
\n\n About this API Reference\n
\nThis reference guide describes the low-level service API for Amazon Web Services. With each topic\n in this guide, you can find links to language-specific SDK guides and the Amazon Web Services CLI\n reference. Useful links:
\nAmount of time that represents the time lag experienced by the player when\n connected to the specified Region.
" } } @@ -9547,7 +9546,6 @@ "com.amazonaws.gamelift#PortNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 60000 @@ -9557,7 +9555,6 @@ "com.amazonaws.gamelift#PositiveInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -9566,7 +9563,6 @@ "com.amazonaws.gamelift#PositiveLong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -9688,6 +9684,7 @@ "ScalingAdjustment": { "target": "com.amazonaws.gamelift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Amount of adjustment to make, based on the scaling adjustment type.
" } }, @@ -9700,6 +9697,7 @@ "Threshold": { "target": "com.amazonaws.gamelift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Metric value used to trigger a scaling event.
" } }, @@ -10111,7 +10109,6 @@ "com.amazonaws.gamelift#RuleSetLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -10225,6 +10222,7 @@ "ScalingAdjustment": { "target": "com.amazonaws.gamelift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Amount of adjustment to make, based on the scaling adjustment type.
" } }, @@ -10243,6 +10241,7 @@ "Threshold": { "target": "com.amazonaws.gamelift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Metric value used to trigger a scaling event.
" } }, @@ -11272,6 +11271,7 @@ "TargetValue": { "target": "com.amazonaws.gamelift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Desired value to use with a target-based scaling policy. The value must be relevant\n for whatever metric the scaling policy is using. For example, in a policy using the\n metric PercentAvailableGameSessions, the target value should be the preferred size of\n the fleet's buffer (the percent of capacity that should be idle and ready for new game\n sessions).
", "smithy.api#required": {} } @@ -12604,7 +12604,6 @@ "com.amazonaws.gamelift#WholeNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/gamesparks.json b/codegen/sdk/aws-models/gamesparks.json index 9ac550b6b21..55e651cd985 100644 --- a/codegen/sdk/aws-models/gamesparks.json +++ b/codegen/sdk/aws-models/gamesparks.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.gamesparks#ARN": { "type": "string", @@ -27,6 +27,7 @@ "com.amazonaws.gamesparks#ByteSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -877,6 +878,7 @@ "EnableTerminationProtection": { "target": "com.amazonaws.gamesparks#GameTerminationProtection", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Determines if the game can be deleted.
" } }, @@ -922,17 +924,6 @@ }, "com.amazonaws.gamesparks#GameSparks": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "GameSparks" - }, - "aws.auth#sigv4": { - "name": "gamesparks" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "", - "smithy.api#title": "GameSparks" - }, "version": "2021-08-17", "operations": [ { @@ -1034,7 +1025,18 @@ { "target": "com.amazonaws.gamesparks#UpdateStage" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "GameSparks" + }, + "aws.auth#sigv4": { + "name": "gamesparks" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "", + "smithy.api#title": "GameSparks" + } }, "com.amazonaws.gamesparks#GameState": { "type": "string", @@ -1090,7 +1092,10 @@ } }, "com.amazonaws.gamesparks#GameTerminationProtection": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.gamesparks#GeneratedCodeJobDescription": { "type": "string", @@ -2602,7 +2607,6 @@ "com.amazonaws.gamesparks#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2744,6 +2748,7 @@ "Size": { "target": "com.amazonaws.gamesparks#ByteSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size, in bytes, of the section contents.
" } }, @@ -3824,4 +3829,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/glacier.json b/codegen/sdk/aws-models/glacier.json index bd2f164f53d..59c2f8cf80a 100644 --- a/codegen/sdk/aws-models/glacier.json +++ b/codegen/sdk/aws-models/glacier.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -34,6 +34,9 @@ "input": { "target": "com.amazonaws.glacier#AbortMultipartUploadInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -94,6 +97,9 @@ "input": { "target": "com.amazonaws.glacier#AbortVaultLockInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -171,6 +177,9 @@ "input": { "target": "com.amazonaws.glacier#AddTagsToVaultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -455,6 +464,9 @@ "input": { "target": "com.amazonaws.glacier#CompleteVaultLockInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -628,6 +640,9 @@ "input": { "target": "com.amazonaws.glacier#DeleteArchiveInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -688,6 +703,9 @@ "input": { "target": "com.amazonaws.glacier#DeleteVaultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -716,6 +734,9 @@ "input": { "target": "com.amazonaws.glacier#DeleteVaultAccessPolicyInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -792,6 +813,9 @@ "input": { "target": "com.amazonaws.glacier#DeleteVaultNotificationsInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -1023,12 +1047,14 @@ "NumberOfArchives": { "target": "com.amazonaws.glacier#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of archives in the vault as of the last inventory date. This field will\n return null if an inventory has not yet run on the vault, for example if you\n just created the vault.
Total size, in bytes, of the archives in the vault as of the last inventory date.\n This field will return null if an inventory has not yet run on the vault, for example if\n you just created the vault.
" } } @@ -1242,6 +1268,7 @@ "body": { "target": "com.amazonaws.glacier#Stream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "The job data, either archive data or inventory data.
", "smithy.api#httpPayload": {} } @@ -1256,6 +1283,7 @@ "status": { "target": "com.amazonaws.glacier#httpstatus", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP response code for a job output request. The value depends on whether a range\n was specified in the request.
", "smithy.api#httpResponseCode": {} } @@ -1685,6 +1713,7 @@ "Completed": { "target": "com.amazonaws.glacier#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The job status. When a job is completed, you get the job's output using Get Job\n Output (GET output).
" } }, @@ -2645,6 +2674,7 @@ "PartSizeInBytes": { "target": "com.amazonaws.glacier#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The part size in bytes. This is the same value that you specified in the Initiate\n Multipart Upload request.
" } }, @@ -2914,10 +2944,7 @@ } }, "com.amazonaws.glacier#NullableLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.glacier#OutputLocation": { "type": "structure", @@ -3136,6 +3163,9 @@ "input": { "target": "com.amazonaws.glacier#RemoveTagsFromVaultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -3366,6 +3396,9 @@ "input": { "target": "com.amazonaws.glacier#SetDataRetrievalPolicyInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -3413,6 +3446,9 @@ "input": { "target": "com.amazonaws.glacier#SetVaultAccessPolicyInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -3472,6 +3508,9 @@ "input": { "target": "com.amazonaws.glacier#SetVaultNotificationsInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -3527,10 +3566,7 @@ } }, "com.amazonaws.glacier#Size": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.glacier#StatusCode": { "type": "string", @@ -3686,6 +3722,7 @@ "body": { "target": "com.amazonaws.glacier#Stream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "The data to upload.
", "smithy.api#httpPayload": {} } @@ -3719,6 +3756,7 @@ "PartSizeInBytes": { "target": "com.amazonaws.glacier#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The part size, in bytes, specified in the Initiate Multipart Upload request. This is\n the size of all the parts in the upload except the last part, which may be smaller than\n this size.
" } }, @@ -3811,6 +3849,7 @@ "body": { "target": "com.amazonaws.glacier#Stream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "The data to upload.
", "smithy.api#httpPayload": {} } @@ -3896,7 +3935,10 @@ } }, "com.amazonaws.glacier#boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.glacier#hashmap": { "type": "map", @@ -3908,10 +3950,16 @@ } }, "com.amazonaws.glacier#httpstatus": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.glacier#long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.glacier#string": { "type": "string" diff --git a/codegen/sdk/aws-models/global-accelerator.json b/codegen/sdk/aws-models/global-accelerator.json index 49902d97403..676251a7e5c 100644 --- a/codegen/sdk/aws-models/global-accelerator.json +++ b/codegen/sdk/aws-models/global-accelerator.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -2451,7 +2451,6 @@ "com.amazonaws.globalaccelerator#EndpointWeight": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 255 @@ -2462,10 +2461,7 @@ "type": "string" }, "com.amazonaws.globalaccelerator#GenericBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.globalaccelerator#GenericString": { "type": "string", @@ -2478,21 +2474,6 @@ }, "com.amazonaws.globalaccelerator#GlobalAccelerator_V20180706": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Global Accelerator", - "arnNamespace": "globalaccelerator", - "cloudFormationName": "GlobalAccelerator", - "cloudTrailEventSource": "globalaccelerator.amazonaws.com", - "endpointPrefix": "globalaccelerator" - }, - "aws.auth#sigv4": { - "name": "globalaccelerator" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "This is the Global Accelerator API Reference. This guide is for developers who need detailed information about\n\t\t Global Accelerator API actions, data types, and errors. For more information about Global Accelerator features, see the \n\t \tGlobal Accelerator Developer Guide.
\n\tGlobal Accelerator is a service in which you create accelerators to improve the performance \n\t\t\tof your applications for local and global users. Depending on the type of accelerator you choose, you can\n\t\t\tgain additional benefits.
\n\t\tBy using a standard accelerator, you can improve availability of your internet applications \n\t\t\t that are used by a global audience. With a standard accelerator, Global Accelerator directs traffic to optimal endpoints over the Amazon Web Services \n\t\t\t\tglobal network.
\nFor other scenarios, you might choose a custom routing accelerator. With a custom routing accelerator, you \n\t\t\t\tcan use application logic to directly map one or more users to a specific endpoint among many endpoints.
\nGlobal Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the \n\t\t \tUS West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2\n\t\t \ton AWS CLI commands.
By default, Global Accelerator provides you with static IP addresses that you associate with your accelerator. The static IP addresses \n\t\t\tare anycast from the Amazon Web Services edge network. For IPv4, Global Accelerator provides two static IPv4 addresses. For dual-stack,\n\t\t\tGlobal Accelerator provides a total of four addresses: two static IPv4 addresses and two static IPv6 addresses. \n\t\t\tWith a standard accelerator for IPv4, instead of using the addresses that Global Accelerator provides, you can configure \n\t\t\tthese entry points to be IPv4 addresses from your own IP address ranges that you bring toGlobal Accelerator (BYOIP).
\n\t\t\n\t\t\n\tFor a standard accelerator, \n\t they distribute incoming application traffic across multiple endpoint resources in multiple Amazon Web Services Regions , which increases \n\t\t\tthe availability of your applications. Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers, \n\t \tAmazon EC2 instances, or Elastic IP addresses that are located in one Amazon Web Services Region or multiple Amazon Web Services Regions. For custom routing\n\t accelerators, you map traffic that arrives to the static IP addresses to specific Amazon EC2 servers in endpoints that\n\t\t\tare virtual private cloud (VPC) subnets.
\n\t\t\n\t\tThe static IP addresses remain assigned to your accelerator for as long as it exists, even if you\n\t\t\t\tdisable the accelerator and it no longer accepts or routes traffic. However, when you\n\t\t\t\t\tdelete an accelerator, you lose the static IP addresses that\n\t\t\t\tare assigned to it, so you can no longer route traffic by using them. You can use\n\t\t\t\tIAM policies like tag-based permissions with Global Accelerator to limit the users who have\n\t\t\t\tpermissions to delete an accelerator. For more information, see Tag-based policies.
\nFor standard accelerators, Global Accelerator uses the Amazon Web Services global network to route traffic to the optimal regional endpoint based\n\t\t\ton health, client location, and policies that you configure. The service reacts instantly to\n\t\t\tchanges in health or configuration to ensure that internet traffic from clients is always\n\t\t\tdirected to healthy endpoints.
\n\t\tFor more information about understanding and using Global Accelerator, see the\n\t\t\tGlobal Accelerator Developer Guide.
", - "smithy.api#title": "AWS Global Accelerator" - }, "version": "2018-08-08", "operations": [ { @@ -2636,12 +2617,26 @@ { "target": "com.amazonaws.globalaccelerator#WithdrawByoipCidr" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Global Accelerator", + "arnNamespace": "globalaccelerator", + "cloudFormationName": "GlobalAccelerator", + "cloudTrailEventSource": "globalaccelerator.amazonaws.com", + "endpointPrefix": "globalaccelerator" + }, + "aws.auth#sigv4": { + "name": "globalaccelerator" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "This is the Global Accelerator API Reference. This guide is for developers who need detailed information about\n\t\t Global Accelerator API actions, data types, and errors. For more information about Global Accelerator features, see the \n\t \tGlobal Accelerator Developer Guide.
\n\tGlobal Accelerator is a service in which you create accelerators to improve the performance \n\t\t\tof your applications for local and global users. Depending on the type of accelerator you choose, you can\n\t\t\tgain additional benefits.
\n\t\tBy using a standard accelerator, you can improve availability of your internet applications \n\t\t\t that are used by a global audience. With a standard accelerator, Global Accelerator directs traffic to optimal endpoints over the Amazon Web Services \n\t\t\t\tglobal network.
\nFor other scenarios, you might choose a custom routing accelerator. With a custom routing accelerator, you \n\t\t\t\tcan use application logic to directly map one or more users to a specific endpoint among many endpoints.
\nGlobal Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the \n\t\t \tUS West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2\n\t\t \ton AWS CLI commands.
By default, Global Accelerator provides you with static IP addresses that you associate with your accelerator. The static IP addresses \n\t\t\tare anycast from the Amazon Web Services edge network. For IPv4, Global Accelerator provides two static IPv4 addresses. For dual-stack,\n\t\t\tGlobal Accelerator provides a total of four addresses: two static IPv4 addresses and two static IPv6 addresses. \n\t\t\tWith a standard accelerator for IPv4, instead of using the addresses that Global Accelerator provides, you can configure \n\t\t\tthese entry points to be IPv4 addresses from your own IP address ranges that you bring toGlobal Accelerator (BYOIP).
\n\t\t\n\t\t\n\tFor a standard accelerator, \n\t they distribute incoming application traffic across multiple endpoint resources in multiple Amazon Web Services Regions , which increases \n\t\t\tthe availability of your applications. Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers, \n\t \tAmazon EC2 instances, or Elastic IP addresses that are located in one Amazon Web Services Region or multiple Amazon Web Services Regions. For custom routing\n\t accelerators, you map traffic that arrives to the static IP addresses to specific Amazon EC2 servers in endpoints that\n\t\t\tare virtual private cloud (VPC) subnets.
\n\t\t\n\t\tThe static IP addresses remain assigned to your accelerator for as long as it exists, even if you\n\t\t\t\tdisable the accelerator and it no longer accepts or routes traffic. However, when you\n\t\t\t\t\tdelete an accelerator, you lose the static IP addresses that\n\t\t\t\tare assigned to it, so you can no longer route traffic by using them. You can use\n\t\t\t\tIAM policies like tag-based permissions with Global Accelerator to limit the users who have\n\t\t\t\tpermissions to delete an accelerator. For more information, see Tag-based policies.
\nFor standard accelerators, Global Accelerator uses the Amazon Web Services global network to route traffic to the optimal regional endpoint based\n\t\t\ton health, client location, and policies that you configure. The service reacts instantly to\n\t\t\tchanges in health or configuration to ensure that internet traffic from clients is always\n\t\t\tdirected to healthy endpoints.
\n\t\tFor more information about understanding and using Global Accelerator, see the\n\t\t\tGlobal Accelerator Developer Guide.
", + "smithy.api#title": "AWS Global Accelerator" + } }, "com.amazonaws.globalaccelerator#HealthCheckIntervalSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10, "max": 30 @@ -2661,7 +2656,6 @@ "com.amazonaws.globalaccelerator#HealthCheckPort": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65535 @@ -3624,7 +3618,6 @@ "com.amazonaws.globalaccelerator#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3684,7 +3677,6 @@ "com.amazonaws.globalaccelerator#PortMappingsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20000 @@ -3694,7 +3686,6 @@ "com.amazonaws.globalaccelerator#PortNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65535 @@ -4038,7 +4029,6 @@ "com.amazonaws.globalaccelerator#ThresholdCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -4051,7 +4041,6 @@ "com.amazonaws.globalaccelerator#TrafficDialPercentage": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 diff --git a/codegen/sdk/aws-models/glue.json b/codegen/sdk/aws-models/glue.json index 4a646e500d9..bbcf71a7392 100644 --- a/codegen/sdk/aws-models/glue.json +++ b/codegen/sdk/aws-models/glue.json @@ -561,6 +561,9 @@ { "target": "com.amazonaws.glue#UpdateJob" }, + { + "target": "com.amazonaws.glue#UpdateJobFromSourceControl" + }, { "target": "com.amazonaws.glue#UpdateMLTransform" }, @@ -573,6 +576,9 @@ { "target": "com.amazonaws.glue#UpdateSchema" }, + { + "target": "com.amazonaws.glue#UpdateSourceControlFromJob" + }, { "target": "com.amazonaws.glue#UpdateTable" }, @@ -1005,6 +1011,16 @@ } } }, + "com.amazonaws.glue#AuthTokenString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*$" + } + }, "com.amazonaws.glue#BackfillError": { "type": "structure", "members": { @@ -3979,6 +3995,16 @@ "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*$" } }, + "com.amazonaws.glue#CommitIdString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 40 + }, + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*$" + } + }, "com.amazonaws.glue#Comparator": { "type": "enum", "members": { @@ -5584,8 +5610,6 @@ "DisableValueTrimming": { "target": "com.amazonaws.glue#NullableBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "Specifies not to trim values before identifying the type of column values. The default value is true.
" } }, @@ -5829,8 +5853,6 @@ "GlueVersion": { "target": "com.amazonaws.glue#GlueVersionString", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "0.9", "smithy.api#documentation": "Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.
\n \nFor more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
\n\t \n\tDevelopment endpoints that are created without specifying a Glue version default to Glue 0.9.
\n\t\n\tYou can specify a version of Python support for development endpoints by using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided, the version defaults to Python 2.
The job timeout in minutes. This is the maximum time that a job run\n can consume resources before it is terminated and enters TIMEOUT\n status. The default is 2,880 minutes (48 hours).
Indicates whether the job is run with a standard or flexible execution class. The standard execution-class is ideal for time-sensitive workloads that require fast job startup and dedicated resources.
\n\nThe flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary.
\n\t\n\tOnly jobs with Glue version 3.0 and above and command type glueetl will be allowed to set ExecutionClass to FLEX. The flexible execution class is available for Spark jobs.
The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.
" + } } } }, @@ -6312,16 +6338,12 @@ "GlueVersion": { "target": "com.amazonaws.glue#GlueVersionString", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "0.9", "smithy.api#documentation": "This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.
" } }, "MaxCapacity": { "target": "com.amazonaws.glue#NullableDouble", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 10, "smithy.api#documentation": "The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of\n processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more\n information, see the Glue pricing\n page.
\n\t\t\n\t\t\t\n MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot be set.
If MaxCapacity is set then neither NumberOfWorkers or WorkerType can be set.
If WorkerType is set, then NumberOfWorkers is required (and vice versa).
\n MaxCapacity and NumberOfWorkers must both be at least 1.
When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.
When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.
The timeout of the task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.
\n \nFor more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
\n\t \n\tDevelopment endpoints that are created without specifying a Glue version default to Glue 0.9.
\n\t\n\tYou can specify a version of Python support for development endpoints by using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided, the version defaults to Python 2.
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
\n\t\n\tA value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.
This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.
" } }, "MaxCapacity": { "target": "com.amazonaws.glue#NullableDouble", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 10, "smithy.api#documentation": "The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of\n processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more\n information, see the Glue pricing\n page.
\n\t\t\nWhen the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.
The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
The job timeout in minutes. This is the maximum time that a job run\n can consume resources before it is terminated and enters TIMEOUT\n status. The default is 2,880 minutes (48 hours).
Indicates whether the job is run with a standard or flexible execution class. The standard execution class is ideal for time-sensitive workloads that require fast job startup and dedicated resources.
\n\nThe flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary.
\n\t\n\tOnly jobs with Glue version 3.0 and above and command type glueetl will be allowed to set ExecutionClass to FLEX. The flexible execution class is available for Spark jobs.
The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.
" + } } }, "traits": { @@ -16696,8 +16710,6 @@ "Timeout": { "target": "com.amazonaws.glue#Timeout", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 2880, "smithy.api#documentation": "The job timeout in minutes. This is the maximum time that a job run\n can consume resources before it is terminated and enters TIMEOUT\n status. The default is 2,880 minutes (48 hours).
Indicates whether the job is run with a standard or flexible execution class. The standard execution-class is ideal for time-sensitive workloads that require fast job startup and dedicated resources.
\n\nThe flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary.
\n\t\n\tOnly jobs with Glue version 3.0 and above and command type glueetl will be allowed to set ExecutionClass to FLEX. The flexible execution class is available for Spark jobs.
The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.
" + } } }, "traits": { @@ -16966,8 +16984,6 @@ "StartingOffsets": { "target": "com.amazonaws.glue#EnclosedInStringProperty", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "latest", "smithy.api#documentation": "The starting position in the Kafka topic to read data from. The possible values are \"earliest\" or \"latest\". The default value is \"latest\".
The timeout in milliseconds to poll data from Kafka in Spark job executors. The default value is 512.
The number of times to retry before failing to fetch Kafka offsets. The default value is 3.
The time in milliseconds to wait before retrying to fetch Kafka offsets. The default value is 10.
The starting position in the Kinesis data stream to read data from. The possible values are \"latest\", \"trim_horizon\", or \"earliest\". The default value is \"latest\".
The maximum time spent in the job executor to fetch a record from the Kinesis data stream per shard, specified in milliseconds (ms). The default value is 1000.
The maximum number of records to fetch per shard in the Kinesis data stream. The default value is 100000.
The maximum number of records to fetch from the Kinesis data stream in each getRecords operation. The default value is 10000.
Adds a time delay between two consecutive getRecords operations. The default value is \"False\". This option is only configurable for Glue version 2.0 and above.
The minimum time delay between two consecutive getRecords operations, specified in ms. The default value is 1000. This option is only configurable for Glue version 2.0 and above.
The minimum time interval between two ListShards API calls for your script to consider resharding. The default value is 1s.
The maximum number of retries for Kinesis Data Streams API requests. The default value is 3.
The cool-off time period (specified in ms) before retrying the Kinesis Data Streams API call. The default value is 1000.
The maximum cool-off time period (specified in ms) between two retries of a Kinesis Data Streams API call. The default value is 10000.
Avoids creating an empty microbatch job by checking for unread data in the Kinesis data stream before the batch is started. The default value is \"False\".
The maximum number of results to return. The default is 20, and maximum is 100.
" } }, @@ -18631,16 +18617,12 @@ "GlueVersion": { "target": "com.amazonaws.glue#GlueVersionString", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "0.9", "smithy.api#documentation": "This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.
" } }, "MaxCapacity": { "target": "com.amazonaws.glue#NullableDouble", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 10, "smithy.api#documentation": "The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of\n processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more\n information, see the Glue pricing\n page.
\n\t\t\n\t\t\n MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot be set.
If MaxCapacity is set then neither NumberOfWorkers or WorkerType can be set.
If WorkerType is set, then NumberOfWorkers is required (and vice versa).
\n MaxCapacity and NumberOfWorkers must both be at least 1.
When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
\n\t\n\tA value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.
This option controls the duration in milliseconds after which the s3 listing is likely to be consistent. Files with modification timestamps falling within the last maxBand milliseconds are tracked specially when using JobBookmarks to account for Amazon S3 eventual consistency. Most users don't need to set this option. The default is 900000 milliseconds, or 15 minutes.
" } }, @@ -21880,8 +21858,6 @@ "Separator": { "target": "com.amazonaws.glue#Separator", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "comma", "smithy.api#documentation": "Specifies the delimiter character. The default is a comma: \",\", but any other character can be specified.
", "smithy.api#required": {} } @@ -21889,16 +21865,12 @@ "Escaper": { "target": "com.amazonaws.glue#EnclosedInStringPropertyWithQuote", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "none", "smithy.api#documentation": "Specifies a character to use for escaping. This option is used only when reading CSV files. The default value is none. If enabled, the character which immediately follows is used as-is, except for a small set of well-known escapes (\\n, \\r, \\t, and \\0).
Specifies the character to use for quoting. The default is a double quote: '\"'. Set this to -1 to turn off quoting entirely.
A Boolean value that specifies whether a single record can span multiple lines. This can occur when a field contains a quoted new-line character. You must set this option to True if any record spans multiple lines. The default value is False, which allows for more aggressive file-splitting during parsing.
A Boolean value that specifies whether to treat the first line as a header. The default value is False.
A Boolean value that specifies whether to write the header to output. The default value is True.
A Boolean value that specifies whether to skip the first data line. The default value is False.
This option controls the duration in milliseconds after which the s3 listing is likely to be consistent. Files with modification timestamps falling within the last maxBand milliseconds are tracked specially when using JobBookmarks to account for Amazon S3 eventual consistency. Most users don't need to set this option. The default is 900000 milliseconds, or 15 minutes.
" } }, @@ -22211,8 +22173,6 @@ "Multiline": { "target": "com.amazonaws.glue#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that specifies whether a single record can span multiple lines. This can occur when a field contains a quoted new-line character. You must set this option to True if any record spans multiple lines. The default value is False, which allows for more aggressive file-splitting during parsing.
This option controls the duration in milliseconds after which the s3 listing is likely to be consistent. Files with modification timestamps falling within the last maxBand milliseconds are tracked specially when using JobBookmarks to account for Amazon S3 eventual consistency. Most users don't need to set this option. The default is 900000 milliseconds, or 15 minutes.
" } }, @@ -23384,6 +23342,96 @@ } } }, + "com.amazonaws.glue#SourceControlAuthStrategy": { + "type": "enum", + "members": { + "PERSONAL_ACCESS_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERSONAL_ACCESS_TOKEN" + } + }, + "AWS_SECRETS_MANAGER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_SECRETS_MANAGER" + } + } + } + }, + "com.amazonaws.glue#SourceControlDetails": { + "type": "structure", + "members": { + "Provider": { + "target": "com.amazonaws.glue#SourceControlProvider", + "traits": { + "smithy.api#documentation": "The provider for the remote repository.
" + } + }, + "Repository": { + "target": "com.amazonaws.glue#Generic512CharString", + "traits": { + "smithy.api#documentation": "The name of the remote repository that contains the job artifacts.
" + } + }, + "Owner": { + "target": "com.amazonaws.glue#Generic512CharString", + "traits": { + "smithy.api#documentation": "The owner of the remote repository that contains the job artifacts.
" + } + }, + "Branch": { + "target": "com.amazonaws.glue#Generic512CharString", + "traits": { + "smithy.api#documentation": "An optional branch in the remote repository.
" + } + }, + "Folder": { + "target": "com.amazonaws.glue#Generic512CharString", + "traits": { + "smithy.api#documentation": "An optional folder in the remote repository.
" + } + }, + "LastCommitId": { + "target": "com.amazonaws.glue#Generic512CharString", + "traits": { + "smithy.api#documentation": "The last commit ID for a commit in the remote repository.
" + } + }, + "AuthStrategy": { + "target": "com.amazonaws.glue#SourceControlAuthStrategy", + "traits": { + "smithy.api#documentation": "The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
" + } + }, + "AuthToken": { + "target": "com.amazonaws.glue#Generic512CharString", + "traits": { + "smithy.api#documentation": "The value of an authorization token.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.
" + } + }, + "com.amazonaws.glue#SourceControlProvider": { + "type": "enum", + "members": { + "GITHUB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GITHUB" + } + }, + "AWS_CODE_COMMIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_CODE_COMMIT" + } + } + } + }, "com.amazonaws.glue#SparkConnectorSource": { "type": "structure", "members": { @@ -25710,8 +25758,6 @@ "GlueVersion": { "target": "com.amazonaws.glue#GlueVersionString", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "0.9", "smithy.api#documentation": "This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.
" } }, @@ -26846,8 +26892,6 @@ "DisableValueTrimming": { "target": "com.amazonaws.glue#NullableBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "Specifies not to trim values before identifying the type of column values. The default value is true.
" } }, @@ -27073,6 +27117,111 @@ "smithy.api#documentation": "Updates an existing job definition. The previous job definition is completely overwritten by this information.
" } }, + "com.amazonaws.glue#UpdateJobFromSourceControl": { + "type": "operation", + "input": { + "target": "com.amazonaws.glue#UpdateJobFromSourceControlRequest" + }, + "output": { + "target": "com.amazonaws.glue#UpdateJobFromSourceControlResponse" + }, + "errors": [ + { + "target": "com.amazonaws.glue#AccessDeniedException" + }, + { + "target": "com.amazonaws.glue#AlreadyExistsException" + }, + { + "target": "com.amazonaws.glue#EntityNotFoundException" + }, + { + "target": "com.amazonaws.glue#InternalServiceException" + }, + { + "target": "com.amazonaws.glue#InvalidInputException" + }, + { + "target": "com.amazonaws.glue#OperationTimeoutException" + }, + { + "target": "com.amazonaws.glue#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Synchronizes a job from the source control repository. This operation takes the job artifacts that are located in the remote repository and updates the Glue internal stores with these artifacts.
\n\t\n\tThis API supports optional parameters which take in the repository information.
" + } + }, + "com.amazonaws.glue#UpdateJobFromSourceControlRequest": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "The name of the Glue job to be synchronized to or from the remote repository.
" + } + }, + "Provider": { + "target": "com.amazonaws.glue#SourceControlProvider", + "traits": { + "smithy.api#documentation": "The provider for the remote repository.
" + } + }, + "RepositoryName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "The name of the remote repository that contains the job artifacts.
" + } + }, + "RepositoryOwner": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "The owner of the remote repository that contains the job artifacts.
" + } + }, + "BranchName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "An optional branch in the remote repository.
" + } + }, + "Folder": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "An optional folder in the remote repository.
" + } + }, + "CommitId": { + "target": "com.amazonaws.glue#CommitIdString", + "traits": { + "smithy.api#documentation": "A commit ID for a commit in the remote repository.
" + } + }, + "AuthStrategy": { + "target": "com.amazonaws.glue#SourceControlAuthStrategy", + "traits": { + "smithy.api#documentation": "The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
" + } + }, + "AuthToken": { + "target": "com.amazonaws.glue#AuthTokenString", + "traits": { + "smithy.api#documentation": "The value of the authorization token.
" + } + } + } + }, + "com.amazonaws.glue#UpdateJobFromSourceControlResponse": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "The name of the Glue job.
" + } + } + } + }, "com.amazonaws.glue#UpdateJobRequest": { "type": "structure", "members": { @@ -27190,16 +27339,12 @@ "GlueVersion": { "target": "com.amazonaws.glue#GlueVersionString", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "0.9", "smithy.api#documentation": "This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.
" } }, "MaxCapacity": { "target": "com.amazonaws.glue#NullableDouble", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 10, "smithy.api#documentation": "The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of\n processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more\n information, see the Glue pricing\n page.
\n\t\t\nWhen the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.
The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
Synchronizes a job to the source control repository. This operation takes the job artifacts from the Glue internal stores and makes a commit to the remote repository that is configured on the job.
\n\n\tThis API supports optional parameters which take in the repository information.
" + } + }, + "com.amazonaws.glue#UpdateSourceControlFromJobRequest": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "The name of the Glue job to be synchronized to or from the remote repository.
" + } + }, + "Provider": { + "target": "com.amazonaws.glue#SourceControlProvider", + "traits": { + "smithy.api#documentation": "The provider for the remote repository.
" + } + }, + "RepositoryName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "The name of the remote repository that contains the job artifacts.
" + } + }, + "RepositoryOwner": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "The owner of the remote repository that contains the job artifacts.
" + } + }, + "BranchName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "An optional branch in the remote repository.
" + } + }, + "Folder": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "An optional folder in the remote repository.
" + } + }, + "CommitId": { + "target": "com.amazonaws.glue#CommitIdString", + "traits": { + "smithy.api#documentation": "A commit ID for a commit in the remote repository.
" + } + }, + "AuthStrategy": { + "target": "com.amazonaws.glue#SourceControlAuthStrategy", + "traits": { + "smithy.api#documentation": "The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
" + } + }, + "AuthToken": { + "target": "com.amazonaws.glue#AuthTokenString", + "traits": { + "smithy.api#documentation": "The value of the authorization token.
" + } + } + } + }, + "com.amazonaws.glue#UpdateSourceControlFromJobResponse": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "The name of the Glue job.
" + } + } + } + }, "com.amazonaws.glue#UpdateTable": { "type": "operation", "input": { diff --git a/codegen/sdk/aws-models/grafana.json b/codegen/sdk/aws-models/grafana.json index 4d7c623b7b5..2ad5ad99219 100644 --- a/codegen/sdk/aws-models/grafana.json +++ b/codegen/sdk/aws-models/grafana.json @@ -1,8 +1,37 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.grafana#AWSGrafanaControlPlane": { "type": "service", + "version": "2020-08-18", + "operations": [ + { + "target": "com.amazonaws.grafana#ListTagsForResource" + }, + { + "target": "com.amazonaws.grafana#TagResource" + }, + { + "target": "com.amazonaws.grafana#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.grafana#ApiKey" + }, + { + "target": "com.amazonaws.grafana#Authentication" + }, + { + "target": "com.amazonaws.grafana#License" + }, + { + "target": "com.amazonaws.grafana#Permission" + }, + { + "target": "com.amazonaws.grafana#Workspace" + } + ], "traits": { "aws.api#controlPlane": {}, "aws.api#service": { @@ -35,36 +64,7 @@ }, "smithy.api#documentation": "Amazon Managed Grafana is a fully managed and secure data visualization service that you can use to \n instantly query, correlate, and visualize operational metrics, logs, and traces from multiple sources. \n Amazon Managed Grafana makes it easy to deploy, operate, and scale Grafana, a widely deployed data visualization tool \n that is popular for its extensible data support.
\nWith Amazon Managed Grafana, you create logically isolated Grafana servers called workspaces. In\n a workspace, you can create Grafana dashboards and visualizations to analyze your metrics, logs, and traces without having to\n build, package, or deploy any hardware to run Grafana servers.
", "smithy.api#title": "Amazon Managed Grafana" - }, - "version": "2020-08-18", - "operations": [ - { - "target": "com.amazonaws.grafana#ListTagsForResource" - }, - { - "target": "com.amazonaws.grafana#TagResource" - }, - { - "target": "com.amazonaws.grafana#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.grafana#ApiKey" - }, - { - "target": "com.amazonaws.grafana#Authentication" - }, - { - "target": "com.amazonaws.grafana#License" - }, - { - "target": "com.amazonaws.grafana#Permission" - }, - { - "target": "com.amazonaws.grafana#Workspace" - } - ] + } }, "com.amazonaws.grafana#AccessDeniedException": { "type": "structure", @@ -1416,7 +1416,10 @@ } }, "com.amazonaws.grafana#LoginValidityDuration": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.grafana#NotificationDestinationType": { "type": "string", @@ -1673,6 +1676,7 @@ "loginValidityDuration": { "target": "com.amazonaws.grafana#LoginValidityDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "How long a sign-on session by a SAML user is valid, before the user has to sign on\n again.
" } } @@ -2771,4 +2775,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/greengrass.json b/codegen/sdk/aws-models/greengrass.json index 34bea933c3a..c67c0d70bbf 100644 --- a/codegen/sdk/aws-models/greengrass.json +++ b/codegen/sdk/aws-models/greengrass.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -187,18 +187,21 @@ "InvalidInputRecords": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of records that returned a non-retryable error. For example, this can occur if a group record from the input file uses an invalid format or specifies a nonexistent group version, or if the execution role doesn't grant permission to deploy a group or group version." } }, "RecordsProcessed": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of group records from the input file that have been processed so far, or attempted." } }, "RetryAttempts": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of deployment attempts that returned a retryable error. For example, a retry is triggered if the attempt to deploy a group returns a throttling error. ''StartBulkDeployment'' retries a group deployment up to five times." } } @@ -346,6 +349,7 @@ "PortNumber": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port of the Greengrass core. Usually 8883." } } @@ -416,6 +420,7 @@ "SyncShadow": { "target": "com.amazonaws.greengrass#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, the core's local shadow is automatically synced with the cloud." } }, @@ -2586,6 +2591,7 @@ "SyncShadow": { "target": "com.amazonaws.greengrass#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, the device's local shadow will be automatically synced with the cloud." } }, @@ -2802,18 +2808,21 @@ "MemorySize": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The memory size, in KB, which the function requires. This setting is not applicable and should be cleared when you run the Lambda function without containerization." } }, "Pinned": { "target": "com.amazonaws.greengrass#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if the function is pinned. Pinned means the function is long-lived and starts when the core starts." } }, "Timeout": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request." } } @@ -2828,6 +2837,7 @@ "AccessSysfs": { "target": "com.amazonaws.greengrass#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, the Lambda function is allowed to access the host's /sys folder. Use this when the Lambda function needs to read device information from /sys. This setting applies only when you run the Lambda function in a Greengrass container." } }, @@ -2935,12 +2945,14 @@ "Gid": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The group ID whose permissions are used to run a Lambda function." } }, "Uid": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The user ID whose permissions are used to run a Lambda function." } } @@ -5203,6 +5215,7 @@ "AutoAddGroupOwner": { "target": "com.amazonaws.greengrass#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, AWS IoT Greengrass automatically adds the specified Linux OS group owner of the resource to the Lambda process privileges. Thus the Lambda process will have the file access permissions of the added Linux group." } }, @@ -6596,6 +6609,7 @@ "Space": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of file space, in KB, to use if the local file system is used for logging purposes." } }, @@ -6733,6 +6747,7 @@ "Force": { "target": "com.amazonaws.greengrass#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, performs a best-effort only core reset." } }, @@ -7157,6 +7172,9 @@ "input": { "target": "com.amazonaws.greengrass#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.greengrass#BadRequestException" @@ -7258,6 +7276,9 @@ "input": { "target": "com.amazonaws.greengrass#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.greengrass#BadRequestException" @@ -7963,10 +7984,16 @@ } }, "com.amazonaws.greengrass#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.greengrass#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.greengrass#__listOfConnectivityInfo": { "type": "list", diff --git a/codegen/sdk/aws-models/greengrassv2.json b/codegen/sdk/aws-models/greengrassv2.json index 743a1c7b4e8..8e27f047dba 100644 --- a/codegen/sdk/aws-models/greengrassv2.json +++ b/codegen/sdk/aws-models/greengrassv2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -323,6 +323,7 @@ "com.amazonaws.greengrassv2#CPU": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -400,30 +401,38 @@ } }, "com.amazonaws.greengrassv2#CloudComponentState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "REQUESTED", - "name": "REQUESTED" - }, - { - "value": "INITIATED", - "name": "INITIATED" - }, - { - "value": "DEPLOYABLE", - "name": "DEPLOYABLE" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "DEPRECATED", - "name": "DEPRECATED" - } - ] + "type": "enum", + "members": { + "REQUESTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REQUESTED" + } + }, + "INITIATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INITIATED" + } + }, + "DEPLOYABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOYABLE" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "DEPRECATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPRECATED" + } + } } }, "com.amazonaws.greengrassv2#CloudComponentStatus": { @@ -602,18 +611,20 @@ } }, "com.amazonaws.greengrassv2#ComponentDependencyType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HARD", - "name": "HARD" - }, - { - "value": "SOFT", - "name": "SOFT" + "type": "enum", + "members": { + "HARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HARD" + } + }, + "SOFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOFT" } - ] + } } }, "com.amazonaws.greengrassv2#ComponentDeploymentSpecification": { @@ -819,18 +830,20 @@ } }, "com.amazonaws.greengrassv2#ComponentVisibilityScope": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PRIVATE", - "name": "PRIVATE" - }, - { - "value": "PUBLIC", - "name": "PUBLIC" + "type": "enum", + "members": { + "PRIVATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRIVATE" } - ] + }, + "PUBLIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PUBLIC" + } + } } }, "com.amazonaws.greengrassv2#ConflictException": { @@ -883,6 +896,7 @@ "portNumber": { "target": "com.amazonaws.greengrassv2#PortNumberInt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port where the MQTT broker operates on the core device. This port is typically 8883,\n which is the default port for the MQTT broker component that runs on core devices.
", "smithy.api#jsonName": "PortNumber" } @@ -944,18 +958,20 @@ } }, "com.amazonaws.greengrassv2#CoreDeviceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HEALTHY", - "name": "HEALTHY" - }, - { - "value": "UNHEALTHY", - "name": "UNHEALTHY" + "type": "enum", + "members": { + "HEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEALTHY" } - ] + }, + "UNHEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNHEALTHY" + } + } } }, "com.amazonaws.greengrassv2#CoreDeviceThingName": { @@ -1197,6 +1213,7 @@ "com.amazonaws.greengrassv2#DefaultMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1395,6 +1412,7 @@ "isLatestForTarget": { "target": "com.amazonaws.greengrassv2#IsLatestForTarget", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether or not the deployment is the latest revision for its target.
" } } @@ -1409,7 +1427,7 @@ "timeoutInSeconds": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The amount of time in seconds that each component on a device has to report that it's safe\n to update. If the component waits for longer than this timeout, then the deployment proceeds\n on the device.
\nDefault: 60\n
The amount of time in seconds that a component can validate its configuration updates. If\n the validation time exceeds this timeout, then the deployment proceeds for the device.
\nDefault: 30\n
The time at which the deployment job was last modified, expressed in ISO 8601\n format.
", "smithy.api#required": {} } + }, + "statusDetails": { + "target": "com.amazonaws.greengrassv2#EffectiveDeploymentStatusDetails", + "traits": { + "smithy.api#documentation": "The status details that explain why a deployment has an error. This response will be null\n if the deployment is in a success state.
" + } } }, "traits": { "smithy.api#documentation": "Contains information about a deployment job that IoT Greengrass sends to a Greengrass core device.
" } }, - "com.amazonaws.greengrassv2#EffectiveDeploymentExecutionStatus": { + "com.amazonaws.greengrassv2#EffectiveDeploymentErrorCode": { "type": "string", "traits": { - "smithy.api#enum": [ - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "QUEUED", - "name": "QUEUED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "TIMED_OUT", - "name": "TIMED_OUT" - }, - { - "value": "CANCELED", - "name": "CANCELED" - }, - { - "value": "REJECTED", - "name": "REJECTED" - } - ] + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.greengrassv2#EffectiveDeploymentErrorStack": { + "type": "list", + "member": { + "target": "com.amazonaws.greengrassv2#EffectiveDeploymentErrorCode" + } + }, + "com.amazonaws.greengrassv2#EffectiveDeploymentErrorType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.greengrassv2#EffectiveDeploymentErrorTypeList": { + "type": "list", + "member": { + "target": "com.amazonaws.greengrassv2#EffectiveDeploymentErrorType" + } + }, + "com.amazonaws.greengrassv2#EffectiveDeploymentExecutionStatus": { + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "QUEUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMED_OUT" + } + }, + "CANCELED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELED" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" + } + } + } + }, + "com.amazonaws.greengrassv2#EffectiveDeploymentStatusDetails": { + "type": "structure", + "members": { + "errorStack": { + "target": "com.amazonaws.greengrassv2#EffectiveDeploymentErrorStack", + "traits": { + "smithy.api#documentation": "Contains an ordered list of short error codes that range from the most generic error to\n the most specific one. The error codes describe the reason for failure whenever the\n coreDeviceExecutionStatus is in a failed state. The response will be an empty\n list if there is no error.
Contains tags which describe the error. You can use the error types to classify errors to\n assist with remediating the failure. The response will be an empty list if there is no\n error.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains all error-related information for the deployment record. The status details will\n be null if the deployment is in a success state.
\nGreengrass nucleus v2.8.0 or later is required to get an accurate errorStack and\n errorTypes response. This field will not be returned for earlier Greengrass nucleus\n versions.
Whether or not the deployment is the latest revision for its target.
" } }, @@ -2412,21 +2513,6 @@ }, "com.amazonaws.greengrassv2#GreengrassV2": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "GreengrassV2", - "arnNamespace": "greengrass", - "cloudFormationName": "GreengrassV2", - "cloudTrailEventSource": "greengrassv2.amazonaws.com", - "endpointPrefix": "greengrass" - }, - "aws.auth#sigv4": { - "name": "greengrass" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "IoT Greengrass brings local compute, messaging, data management, sync, and ML inference capabilities\n to edge devices. This enables devices to collect and analyze data closer to the source of\n information, react autonomously to local events, and communicate securely with each other on\n local networks. Local devices can also communicate securely with Amazon Web Services IoT Core and export IoT data\n to the Amazon Web Services Cloud. IoT Greengrass developers can use Lambda functions and components to create and\n deploy applications to fleets of edge devices for local operation.
\nIoT Greengrass Version 2 provides a new major version of the IoT Greengrass Core software, new APIs, and a new console.\n Use this API reference to learn how to use the IoT Greengrass V2 API operations to manage components,\n manage deployments, and core devices.
\nFor more information, see What is IoT Greengrass? in\n the IoT Greengrass V2 Developer Guide.
", - "smithy.api#title": "AWS IoT Greengrass V2" - }, "version": "2020-11-30", "operations": [ { @@ -2516,7 +2602,22 @@ { "target": "com.amazonaws.greengrassv2#UpdateConnectivityInfo" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "GreengrassV2", + "arnNamespace": "greengrass", + "cloudFormationName": "GreengrassV2", + "cloudTrailEventSource": "greengrassv2.amazonaws.com", + "endpointPrefix": "greengrass" + }, + "aws.auth#sigv4": { + "name": "greengrass" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "IoT Greengrass brings local compute, messaging, data management, sync, and ML inference capabilities\n to edge devices. This enables devices to collect and analyze data closer to the source of\n information, react autonomously to local events, and communicate securely with each other on\n local networks. Local devices can also communicate securely with Amazon Web Services IoT Core and export IoT data\n to the Amazon Web Services Cloud. IoT Greengrass developers can use Lambda functions and components to create and\n deploy applications to fleets of edge devices for local operation.
\nIoT Greengrass Version 2 provides a new major version of the IoT Greengrass Core software, new APIs, and a new console.\n Use this API reference to learn how to use the IoT Greengrass V2 API operations to manage components,\n manage deployments, and core devices.
\nFor more information, see What is IoT Greengrass? in\n the IoT Greengrass V2 Developer Guide.
", + "smithy.api#title": "AWS IoT Greengrass V2" + } }, "com.amazonaws.greengrassv2#InstalledComponent": { "type": "structure", @@ -2542,12 +2643,13 @@ "lifecycleStateDetails": { "target": "com.amazonaws.greengrassv2#LifecycleStateDetails", "traits": { - "smithy.api#documentation": "The details about the lifecycle state of the component.
" + "smithy.api#documentation": "A detailed response about the lifecycle state of the component that explains the reason\n why a component has an error or is broken.
" } }, "isRoot": { "target": "com.amazonaws.greengrassv2#IsRoot", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether or not the component is a root component.
" } }, @@ -2556,6 +2658,24 @@ "traits": { "smithy.api#documentation": "The status of how current the data is.
\nThis response is based off of component state changes. The status reflects component\n disruptions and deployments. If a component only sees a configuration update during a\n deployment, it might not undergo a state change and this status would not be updated.
" } + }, + "lastReportedTimestamp": { + "target": "com.amazonaws.greengrassv2#Timestamp", + "traits": { + "smithy.api#documentation": "The last time the Greengrass core device sent a message containing a certain component to the\n Amazon Web Services Cloud.
\nA component does not need to see a state change for this field to update.
" + } + }, + "lastInstallationSource": { + "target": "com.amazonaws.greengrassv2#NonEmptyString", + "traits": { + "smithy.api#documentation": "The most recent deployment source that brought the component to the Greengrass core device. For\n a thing group deployment or thing deployment, the source will be the The ID of the deployment. and for\n local deployments it will be LOCAL.
The status codes that indicate the reason for failure whenever the\n lifecycleState has an error or is in a broken state.
Greengrass nucleus v2.8.0 or later is required to get an accurate\n lifecycleStatusCodes response. This response can be inaccurate in earlier\n Greengrass nucleus versions.
The amount of time to wait before you retry the request.
", "smithy.api#httpHeader": "Retry-After" } @@ -2652,14 +2804,14 @@ } }, "com.amazonaws.greengrassv2#IoTJobAbortAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CANCEL", - "name": "CANCEL" + "type": "enum", + "members": { + "CANCEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCEL" } - ] + } } }, "com.amazonaws.greengrassv2#IoTJobAbortConfig": { @@ -2697,6 +2849,7 @@ "thresholdPercentage": { "target": "com.amazonaws.greengrassv2#IoTJobAbortThresholdPercentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum percentage of failureType failures that occur before the job can\n cancel.
This parameter supports up to two digits after the decimal (for example, you can specify\n 10.9 or 10.99, but not 10.999).
The minimum number of things that receive the configuration before the job can\n cancel.
", "smithy.api#required": {} } @@ -2727,32 +2881,39 @@ "com.amazonaws.greengrassv2#IoTJobAbortThresholdPercentage": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "max": 100 } } }, "com.amazonaws.greengrassv2#IoTJobExecutionFailureType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "REJECTED", - "name": "REJECTED" - }, - { - "value": "TIMED_OUT", - "name": "TIMED_OUT" - }, - { - "value": "ALL", - "name": "ALL" - } - ] + "type": "enum", + "members": { + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" + } + }, + "TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMED_OUT" + } + }, + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" + } + } } }, "com.amazonaws.greengrassv2#IoTJobExecutionsRolloutConfig": { @@ -2767,7 +2928,7 @@ "maximumPerMinute": { "target": "com.amazonaws.greengrassv2#IoTJobMaxExecutionsPerMin", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of devices that receive a pending job notification, per minute.
" } } @@ -2782,6 +2943,7 @@ "baseRatePerMinute": { "target": "com.amazonaws.greengrassv2#IoTJobRolloutBaseRatePerMinute", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum number of devices that receive a pending job notification, per minute, when\n the job starts. This parameter defines the initial rollout rate of the job.
", "smithy.api#required": {} } @@ -2789,6 +2951,7 @@ "incrementFactor": { "target": "com.amazonaws.greengrassv2#IoTJobRolloutIncrementFactor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The exponential factor to increase the rollout rate for the job.
\nThis parameter supports up to one digit after the decimal (for example, you can specify\n 1.5, but not 1.55).
The number of devices to receive the job notification before the rollout rate\n increases.
" } }, "numberOfSucceededThings": { "target": "com.amazonaws.greengrassv2#IoTJobNumberOfThings", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The number of devices to successfully run the configuration job before the rollout rate\n increases.
" } } @@ -2867,6 +3036,7 @@ "com.amazonaws.greengrassv2#IoTJobRolloutBaseRatePerMinute": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -2876,6 +3046,7 @@ "com.amazonaws.greengrassv2#IoTJobRolloutIncrementFactor": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 5 @@ -2888,7 +3059,7 @@ "inProgressTimeoutInMinutes": { "target": "com.amazonaws.greengrassv2#IoTJobInProgressTimeoutInMinutes", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The amount of time, in minutes, that devices have to complete the job. The timer starts\n when the job status is set to IN_PROGRESS. If the job status doesn't change to a\n terminal state before the time expires, then the job status is set to\n TIMED_OUT.
The timeout interval must be between 1 minute and 7 days (10080 minutes).
" } } @@ -2907,10 +3078,16 @@ } }, "com.amazonaws.greengrassv2#IsLatestForTarget": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.greengrassv2#IsRoot": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.greengrassv2#LambdaContainerParams": { "type": "structure", @@ -2918,14 +3095,14 @@ "memorySizeInKB": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The memory size of the container, expressed in kilobytes.
\nDefault: 16384 (16 MB)
Whether or not the container can read information from the device's /sys\n folder.
Default: false\n
Whether or not to add the component's system user as an owner of the device.
\nDefault: false\n
The maximum size of the message queue for the Lambda function component. The IoT Greengrass core\n stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to\n consume each message.
" } }, "maxInstancesCount": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of instances that a non-pinned Lambda function can run at the same\n time.
" } }, "maxIdleTimeInSeconds": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum amount of time in seconds that a non-pinned Lambda function can idle before the\n IoT Greengrass Core software stops its process.
" } }, "timeoutInSeconds": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum amount of time in seconds that the Lambda function can process a work\n item.
" } }, "statusTimeoutInSeconds": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The interval in seconds at which a pinned (also known as long-lived) Lambda function\n component sends status updates to the Lambda manager component.
" } }, "pinned": { "target": "com.amazonaws.greengrassv2#OptionalBoolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Whether or not the Lambda function is pinned, or long-lived.
\nA pinned Lambda function starts\n when IoT Greengrass starts and keeps running in its own container.
\nA non-pinned Lambda function starts only when it receives a work item and exists after\n it idles for maxIdleTimeInSeconds. If the function has multiple work items,\n the IoT Greengrass Core software creates multiple instances of the function.
Default: true\n
Whether or not to add the IoT Greengrass user group as an owner of the volume.
\nDefault: false\n
The maximum number of results to be returned per paginated request.
", "smithy.api#httpQuery": "maxResults" } @@ -3420,7 +3605,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per paginated request.
", "smithy.api#httpQuery": "maxResults" } @@ -3504,7 +3689,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per paginated request.
", "smithy.api#httpQuery": "maxResults" } @@ -3592,7 +3777,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per paginated request.
", "smithy.api#httpQuery": "maxResults" } @@ -3680,7 +3865,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per paginated request.
", "smithy.api#httpQuery": "maxResults" } @@ -3765,7 +3950,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per paginated request.
", "smithy.api#httpQuery": "maxResults" } @@ -3850,7 +4035,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per paginated request.
", "smithy.api#httpQuery": "maxResults" } @@ -3877,7 +4062,7 @@ "installedComponents": { "target": "com.amazonaws.greengrassv2#InstalledComponentList", "traits": { - "smithy.api#documentation": "A list that summarizes each component on the core device.
\nAccuracy of the lastStatusChangeTimestamp response depends on Greengrass nucleus\n v2.7.0. It performs best on Greengrass nucleus v2.7.0 and can be inaccurate on earlier\n versions.
A list that summarizes each component on the core device.
\nGreengrass nucleus v2.7.0 or later is required to get an accurate\n lastStatusChangeTimestamp response. This response can be inaccurate in\n earlier Greengrass nucleus versions.
Greengrass nucleus v2.8.0 or later is required to get an accurate\n lastInstallationSource and lastReportedTimestamp response. This\n response can be inaccurate or null in earlier Greengrass nucleus versions.
The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on\n the core device.
" } }, "cpus": { "target": "com.amazonaws.greengrassv2#CPU", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum amount of CPU time that a component's processes can use on the core device. A\n core device's total CPU time is equivalent to the device's number of CPU cores. For example,\n on a core device with 4 CPU cores, you can set this value to 2 to limit the\n component's processes to 50 percent usage of each CPU core. On a device with 1 CPU core, you\n can set this value to 0.25 to limit the component's processes to 25 percent usage\n of the CPU. If you set this value to a number greater than the number of CPU cores, the IoT Greengrass Core\n software doesn't limit the component's CPU usage.
The amount of time to wait before you retry the request.
", "smithy.api#httpHeader": "Retry-After" } @@ -4575,45 +4776,55 @@ } }, "com.amazonaws.greengrassv2#ValidationExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNKNOWN_OPERATION", - "name": "UNKNOWN_OPERATION" - }, - { - "value": "CANNOT_PARSE", - "name": "CANNOT_PARSE" - }, - { - "value": "FIELD_VALIDATION_FAILED", - "name": "FIELD_VALIDATION_FAILED" - }, - { - "value": "OTHER", - "name": "OTHER" - } - ] + "type": "enum", + "members": { + "UNKNOWN_OPERATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN_OPERATION" + } + }, + "CANNOT_PARSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANNOT_PARSE" + } + }, + "FIELD_VALIDATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIELD_VALIDATION_FAILED" + } + }, + "OTHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OTHER" + } + } } }, "com.amazonaws.greengrassv2#VendorGuidance": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "DISCONTINUED", - "name": "DISCONTINUED" - }, - { - "value": "DELETED", - "name": "DELETED" - } - ] + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "DISCONTINUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISCONTINUED" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + } } }, "com.amazonaws.greengrassv2#connectivityInfoList": { diff --git a/codegen/sdk/aws-models/groundstation.json b/codegen/sdk/aws-models/groundstation.json index 9fe4f04b6e2..38ec15df23a 100644 --- a/codegen/sdk/aws-models/groundstation.json +++ b/codegen/sdk/aws-models/groundstation.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.groundstation#AngleUnits": { "type": "string", @@ -1345,7 +1345,6 @@ "com.amazonaws.groundstation#DurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 21600 @@ -1971,6 +1970,7 @@ "noradSatelliteID": { "target": "com.amazonaws.groundstation#noradSatelliteID", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "NORAD satellite ID number.
" } }, @@ -3032,6 +3032,7 @@ "noradSatelliteID": { "target": "com.amazonaws.groundstation#noradSatelliteID", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "NORAD satellite ID number.
" } }, @@ -3527,6 +3528,7 @@ "com.amazonaws.groundstation#noradSatelliteID": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 99999 @@ -3544,4 +3546,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/guardduty.json b/codegen/sdk/aws-models/guardduty.json index f0f8fbbda41..763d9c8dc72 100644 --- a/codegen/sdk/aws-models/guardduty.json +++ b/codegen/sdk/aws-models/guardduty.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -166,6 +166,7 @@ "AllowsPublicReadAccess": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether public read access for the bucket is enabled through an\n Access Control List (ACL).
", "smithy.api#jsonName": "allowsPublicReadAccess" } @@ -173,6 +174,7 @@ "AllowsPublicWriteAccess": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether public write access for the bucket is enabled through an\n Access Control List (ACL).
", "smithy.api#jsonName": "allowsPublicWriteAccess" } @@ -618,6 +620,7 @@ "IgnorePublicAcls": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if S3 Block Public Access is set to IgnorePublicAcls.
Indicates if S3 Block Public Access is set to RestrictPublicBuckets.
Indicates if S3 Block Public Access is set to BlockPublicAcls.
Indicates if S3 Block Public Access is set to BlockPublicPolicy.
A value that indicates whether public read access for the bucket is enabled through a\n bucket policy.
", "smithy.api#jsonName": "allowsPublicReadAccess" } @@ -693,6 +703,7 @@ "AllowsPublicWriteAccess": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether public write access for the bucket is enabled through a\n bucket policy.
", "smithy.api#jsonName": "allowsPublicWriteAccess" } @@ -764,6 +775,7 @@ "Gt": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#deprecated": {}, "smithy.api#documentation": "Represents a greater than condition to be applied to a single field\n when querying for findings.
", "smithy.api#jsonName": "gt" @@ -772,6 +784,7 @@ "Gte": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#deprecated": {}, "smithy.api#documentation": "Represents a greater than or equal condition to be applied to a\n single field when querying for findings.
", "smithy.api#jsonName": "gte" @@ -780,6 +793,7 @@ "Lt": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#deprecated": {}, "smithy.api#documentation": "Represents a less than condition to be applied to a single field when\n querying for findings.
", "smithy.api#jsonName": "lt" @@ -788,6 +802,7 @@ "Lte": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#deprecated": {}, "smithy.api#documentation": "Represents a less than or equal condition to be applied to a single\n field when querying for findings.
", "smithy.api#jsonName": "lte" @@ -810,6 +825,7 @@ "GreaterThan": { "target": "com.amazonaws.guardduty#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Represents a greater than condition to be applied to a single field\n when querying for findings.
", "smithy.api#jsonName": "greaterThan" } @@ -817,6 +833,7 @@ "GreaterThanOrEqual": { "target": "com.amazonaws.guardduty#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Represents a greater than or equal condition to be applied to a\n single field when querying for findings.
", "smithy.api#jsonName": "greaterThanOrEqual" } @@ -824,6 +841,7 @@ "LessThan": { "target": "com.amazonaws.guardduty#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Represents a less than condition to be applied to a single field when\n querying for findings.
", "smithy.api#jsonName": "lessThan" } @@ -831,6 +849,7 @@ "LessThanOrEqual": { "target": "com.amazonaws.guardduty#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Represents a less than or equal condition to be applied to a single\n field when querying for findings.
", "smithy.api#jsonName": "lessThanOrEqual" } @@ -965,6 +984,7 @@ "Enable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that specifies whether the detector is to be enabled.
", "smithy.api#jsonName": "enable", "smithy.api#required": {} @@ -1075,6 +1095,7 @@ "Rank": { "target": "com.amazonaws.guardduty#FilterRank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the position of the filter in the list of current filters. Also specifies the\n order in which this filter is applied to the findings.
", "smithy.api#jsonName": "rank" } @@ -1181,6 +1202,7 @@ "Activate": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that indicates whether GuardDuty is to start using the uploaded\n IPSet.
", "smithy.api#jsonName": "activate", "smithy.api#required": {} @@ -1466,6 +1488,7 @@ "Activate": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that indicates whether GuardDuty is to start using the uploaded\n ThreatIntelSet.
", "smithy.api#jsonName": "activate", "smithy.api#required": {} @@ -1677,6 +1700,7 @@ "FreeTrialDaysRemaining": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A value that specifies the number of days left to use each enabled data source.
", "smithy.api#jsonName": "freeTrialDaysRemaining" } @@ -2249,6 +2273,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#IntegerValueWithMax", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.
", "smithy.api#jsonName": "maxResults" } @@ -2334,6 +2359,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether GuardDuty is automatically enabled for accounts added to the\n organization.
", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -2342,6 +2368,7 @@ "MemberAccountLimitReached": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the maximum number of allowed member accounts are already associated\n with the delegated administrator account for your organization.
", "smithy.api#jsonName": "memberAccountLimitReached", "smithy.api#required": {} @@ -2434,6 +2461,7 @@ "PublishingFailureStartTimestamp": { "target": "com.amazonaws.guardduty#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time, in epoch millisecond format, at which GuardDuty was first unable to publish\n findings to the destination.
", "smithy.api#jsonName": "publishingFailureStartTimestamp", "smithy.api#required": {} @@ -2785,6 +2813,7 @@ "Blocked": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the targeted port is blocked.
", "smithy.api#jsonName": "blocked" } @@ -2810,7 +2839,10 @@ } }, "com.amazonaws.guardduty#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.guardduty#EbsSnapshotPreservation": { "type": "string", @@ -2941,6 +2973,7 @@ "ActiveServicesCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of services that are running on the cluster in an ACTIVE state.
", "smithy.api#jsonName": "activeServicesCount" } @@ -2948,6 +2981,7 @@ "RegisteredContainerInstancesCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of container instances registered into the cluster.
", "smithy.api#jsonName": "registeredContainerInstancesCount" } @@ -2955,6 +2989,7 @@ "RunningTasksCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of tasks in the cluster that are in the RUNNING state.
", "smithy.api#jsonName": "runningTasksCount" } @@ -3237,6 +3272,7 @@ "GreaterThan": { "target": "com.amazonaws.guardduty#LongValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Represents a greater than condition to be applied to a single field\n when querying for scan entries.
", "smithy.api#jsonName": "greaterThan" } @@ -3244,6 +3280,7 @@ "LessThan": { "target": "com.amazonaws.guardduty#LongValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Represents a less than condition to be applied to a single field when\n querying for scan entries.
", "smithy.api#jsonName": "lessThan" } @@ -3335,6 +3372,7 @@ "com.amazonaws.guardduty#FilterRank": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -3363,6 +3401,7 @@ "Confidence": { "target": "com.amazonaws.guardduty#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The confidence score for the finding.
", "smithy.api#jsonName": "confidence" } @@ -3429,6 +3468,7 @@ "Severity": { "target": "com.amazonaws.guardduty#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The severity of the finding.
", "smithy.api#jsonName": "severity", "smithy.api#required": {} @@ -3610,6 +3650,7 @@ "Lat": { "target": "com.amazonaws.guardduty#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The latitude information of the remote IP address.
", "smithy.api#jsonName": "lat" } @@ -3617,6 +3658,7 @@ "Lon": { "target": "com.amazonaws.guardduty#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The longitude information of the remote IP address.
", "smithy.api#jsonName": "lon" } @@ -3850,6 +3892,7 @@ "Rank": { "target": "com.amazonaws.guardduty#FilterRank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the position of the filter in the list of current filters. Also specifies the\n order in which this filter is applied to the findings.
", "smithy.api#jsonName": "rank" } @@ -4132,6 +4175,7 @@ "InvitationsCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of received invitations.
", "smithy.api#jsonName": "invitationsCount" } @@ -4622,6 +4666,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in the response.
", "smithy.api#jsonName": "maxResults" } @@ -4662,21 +4707,6 @@ }, "com.amazonaws.guardduty#GuardDutyAPIService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "GuardDuty", - "arnNamespace": "guardduty", - "cloudFormationName": "GuardDuty", - "cloudTrailEventSource": "guardduty.amazonaws.com", - "endpointPrefix": "guardduty" - }, - "aws.auth#sigv4": { - "name": "guardduty" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon GuardDuty is a continuous security monitoring service that analyzes and processes\n the following data sources: VPC Flow Logs, AWS CloudTrail management event logs, CloudTrail S3 data event\n logs, EKS audit logs, and DNS logs.\n It uses threat intelligence\n feeds (such as lists of malicious IPs and domains) and machine learning to identify\n unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services environment.\n This can include issues like escalations of privileges, uses of exposed credentials, or\n communication with malicious IPs, URLs, or domains. For example, GuardDuty can detect\n compromised EC2 instances that serve malware or mine bitcoin.
\nGuardDuty also monitors Amazon Web Services account access behavior for signs of compromise. Some examples\n of this are unauthorized infrastructure deployments such as EC2 instances deployed in a Region\n that has never been used, or unusual API calls like a password policy change to reduce\n password strength.
\nGuardDuty informs you of the status of your Amazon Web Services environment by producing security findings\n that you can view in the GuardDuty console or through Amazon CloudWatch events. For more\n information, see the \n Amazon\n GuardDuty User Guide\n .
", - "smithy.api#title": "Amazon GuardDuty" - }, "version": "2017-11-28", "operations": [ { @@ -4874,7 +4904,22 @@ { "target": "com.amazonaws.guardduty#UpdateThreatIntelSet" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "GuardDuty", + "arnNamespace": "guardduty", + "cloudFormationName": "GuardDuty", + "cloudTrailEventSource": "guardduty.amazonaws.com", + "endpointPrefix": "guardduty" + }, + "aws.auth#sigv4": { + "name": "guardduty" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon GuardDuty is a continuous security monitoring service that analyzes and processes\n the following data sources: VPC Flow Logs, AWS CloudTrail management event logs, CloudTrail S3 data event\n logs, EKS audit logs, and DNS logs.\n It uses threat intelligence\n feeds (such as lists of malicious IPs and domains) and machine learning to identify\n unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services environment.\n This can include issues like escalations of privileges, uses of exposed credentials, or\n communication with malicious IPs, URLs, or domains. For example, GuardDuty can detect\n compromised EC2 instances that serve malware or mine bitcoin.
\nGuardDuty also monitors Amazon Web Services account access behavior for signs of compromise. Some examples\n of this are unauthorized infrastructure deployments such as EC2 instances deployed in a Region\n that has never been used, or unusual API calls like a password policy change to reduce\n password strength.
\nGuardDuty informs you of the status of your Amazon Web Services environment by producing security findings\n that you can view in the GuardDuty console or through Amazon CloudWatch events. For more\n information, see the \n Amazon\n GuardDuty User Guide\n .
", + "smithy.api#title": "Amazon GuardDuty" + } }, "com.amazonaws.guardduty#GuardDutyArn": { "type": "string", @@ -4902,6 +4947,7 @@ "Count": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of infected files with the highest severity threat detected.
", "smithy.api#jsonName": "count" } @@ -5054,11 +5100,15 @@ } }, "com.amazonaws.guardduty#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.guardduty#IntegerValueWithMax": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -5185,6 +5235,7 @@ "DisableEmailNotification": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that specifies whether you want to disable email notification to the accounts that you are inviting to GuardDuty as members.
", "smithy.api#jsonName": "disableEmailNotification" } @@ -5343,6 +5394,7 @@ "StatusCode": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The resulting HTTP response code of the Kubernetes API call action.
", "smithy.api#jsonName": "statusCode" } @@ -5365,6 +5417,7 @@ "Enable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The status of Kubernetes audit logs as a data source.
", "smithy.api#jsonName": "enable", "smithy.api#required": {} @@ -5523,6 +5576,7 @@ "HostNetwork": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the hostNetwork flag is enabled for the pods included in the workload.
", "smithy.api#jsonName": "hostNetwork" } @@ -5583,6 +5637,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.
", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -5664,6 +5719,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.
", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -5759,6 +5815,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 50. The maximum value is 50.
", "smithy.api#jsonName": "maxResults" } @@ -5838,6 +5895,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 50. The maximum value is 50.
", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -5910,6 +5968,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.
", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -5990,6 +6049,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 50. The maximum value is 50.
", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -6069,6 +6129,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in the response.
", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -6148,6 +6209,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in the response.
", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -6280,6 +6342,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.
", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -6336,6 +6399,7 @@ "Port": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port number of the local connection.
", "smithy.api#jsonName": "port" } @@ -6362,10 +6426,16 @@ } }, "com.amazonaws.guardduty#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.guardduty#LongValue": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.guardduty#MalwareProtectionConfiguration": { "type": "structure", @@ -6464,6 +6534,7 @@ "com.amazonaws.guardduty#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -6608,6 +6679,7 @@ "Blocked": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether EC2 blocked the network connection to your instance.
", "smithy.api#jsonName": "blocked" } @@ -6874,6 +6946,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether scanning EBS volumes should be auto-enabled for new members joining the organization.
", "smithy.api#jsonName": "autoEnable" } @@ -6889,6 +6962,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "An object that contains the status of whether scanning EBS volumes should be auto-enabled for new members joining the organization.
", "smithy.api#jsonName": "autoEnable" } @@ -6904,6 +6978,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that contains information on whether Kubernetes audit logs should be enabled\n automatically as a data source for the organization.
", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -6920,6 +6995,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether Kubernetes audit logs data source should be auto-enabled for new members joining the organization.
", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -6998,6 +7074,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that contains information on whether S3 data event logs will be enabled\n automatically as a data source for the organization.
", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -7014,6 +7091,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that describes whether S3 data event logs are automatically enabled for new\n members of the organization.
", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -7097,6 +7175,7 @@ "Blocked": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.
", "smithy.api#jsonName": "blocked" } @@ -7151,6 +7230,7 @@ "com.amazonaws.guardduty#PositiveLong": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -7274,6 +7354,7 @@ "Affiliated": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty environment. If this value is True the API caller is affiliated to your account in some way. If it is False the API caller is from outside your environment.
The port number of the remote connection.
", "smithy.api#jsonName": "port" } @@ -7515,6 +7597,7 @@ "Enable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The status of S3 data event logs as a data source.
", "smithy.api#jsonName": "enable", "smithy.api#required": {} @@ -7624,6 +7707,7 @@ "TotalBytes": { "target": "com.amazonaws.guardduty#PositiveLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Represents total bytes that were scanned.
", "smithy.api#jsonName": "totalBytes" } @@ -7631,6 +7715,7 @@ "FileCount": { "target": "com.amazonaws.guardduty#PositiveLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Represents the number of files that were scanned.
", "smithy.api#jsonName": "fileCount" } @@ -7752,6 +7837,7 @@ "EbsVolumes": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Describes the configuration for scanning EBS volumes as data source.
", "smithy.api#jsonName": "ebsVolumes" } @@ -7903,6 +7989,7 @@ "ItemCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of files infected with given threat.
", "smithy.api#jsonName": "itemCount" } @@ -7931,6 +8018,7 @@ "TotalGb": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total GB of files scanned for malware.
", "smithy.api#jsonName": "totalGb" } @@ -7938,6 +8026,7 @@ "Files": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of files scanned.
", "smithy.api#jsonName": "files" } @@ -7945,6 +8034,7 @@ "Volumes": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of scanned volumes.
", "smithy.api#jsonName": "volumes" } @@ -7966,6 +8056,7 @@ "Privileged": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the container is privileged.
", "smithy.api#jsonName": "privileged" } @@ -8023,6 +8114,7 @@ "Archived": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether this finding is archived.
", "smithy.api#jsonName": "archived" } @@ -8030,6 +8122,7 @@ "Count": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total count of the occurrences of this finding type.
", "smithy.api#jsonName": "count" } @@ -8412,6 +8505,7 @@ "ItemCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of infected files identified.
", "smithy.api#jsonName": "itemCount" } @@ -8419,6 +8513,7 @@ "UniqueThreatNameCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of unique threats by name identified, as part of the malware scan.
", "smithy.api#jsonName": "uniqueThreatNameCount" } @@ -8426,6 +8521,7 @@ "Shortened": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Flag to determine if the finding contains every single infected file-path and/or every threat.
", "smithy.api#jsonName": "shortened" } @@ -8568,6 +8664,7 @@ "Files": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of infected files.
", "smithy.api#jsonName": "files" } @@ -8803,6 +8900,7 @@ "Enable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the detector is enabled or not enabled.
", "smithy.api#jsonName": "enable" } @@ -8890,6 +8988,7 @@ "Rank": { "target": "com.amazonaws.guardduty#FilterRank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the position of the filter in the list of current filters. Also specifies the\n order in which this filter is applied to the findings.
", "smithy.api#jsonName": "rank" } @@ -9045,6 +9144,7 @@ "Activate": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The updated Boolean value that specifies whether the IPSet is active or not.
", "smithy.api#jsonName": "activate" } @@ -9219,6 +9319,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to automatically enable member accounts in the organization.
", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -9359,6 +9460,7 @@ "Activate": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The updated Boolean value that specifies whether the ThreateIntelSet is active or\n not.
", "smithy.api#jsonName": "activate" } @@ -9591,6 +9693,7 @@ "VolumeSizeInGB": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "EBS volume size in GB.
", "smithy.api#jsonName": "volumeSizeInGB" } diff --git a/codegen/sdk/aws-models/health.json b/codegen/sdk/aws-models/health.json index 2afabe8f383..daa4aec1b25 100644 --- a/codegen/sdk/aws-models/health.json +++ b/codegen/sdk/aws-models/health.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.health#AWSHealth_20160804": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Health", - "arnNamespace": "health", - "cloudFormationName": "Health", - "cloudTrailEventSource": "health.amazonaws.com", - "endpointPrefix": "health" - }, - "aws.auth#sigv4": { - "name": "health" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "The Health API provides programmatic access to the Health information that\n appears in the Personal Health Dashboard. You\n can use the API operations to get information about events that might affect your Amazon Web Services services and resources.
\nYou must have a Business, Enterprise On-Ramp, or Enterprise Support plan from Amazon Web Services Support to use the Health\n API. If you call the Health API from an Amazon Web Services account that\n doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a\n SubscriptionRequiredException error.
You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to\n call the Health API operations. Health supports a multi-Region\n application architecture and has two regional endpoints in an active-passive\n configuration. You can use the high availability endpoint example to determine\n which Amazon Web Services Region is active, so that you can get the latest information from the\n API. For more information, see Accessing the Health API in the\n Health User Guide.
\nFor authentication of requests, Health uses the Signature Version 4 Signing\n Process.
\nIf your Amazon Web Services account is part of Organizations, you can use the Health organizational\n view feature. This feature provides a centralized view of Health events across all\n accounts in your organization. You can aggregate Health events in real time to\n identify accounts in your organization that are affected by an operational event or get\n notified of security vulnerabilities. Use the organizational view API operations to enable\n this feature and return event information. For more information, see Aggregating\n Health events in the Health User Guide.
\nWhen you use the Health API operations to return Health events, see the\n following recommendations:
\nUse the eventScopeCode parameter to specify whether to return Health\n events that are public or account-specific.
\nUse pagination to view all events from the response. For example, if you call\n the DescribeEventsForOrganization operation to get all events in your\n organization, you might receive several page results. Specify the\n nextToken in the next request to return more results.
The Health API provides programmatic access to the Health information that\n appears in the Personal Health Dashboard. You\n can use the API operations to get information about events that might affect your Amazon Web Services services and resources.
\nYou must have a Business, Enterprise On-Ramp, or Enterprise Support plan from Amazon Web Services Support to use the Health\n API. If you call the Health API from an Amazon Web Services account that\n doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a\n SubscriptionRequiredException error.
You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to\n call the Health API operations. Health supports a multi-Region\n application architecture and has two regional endpoints in an active-passive\n configuration. You can use the high availability endpoint example to determine\n which Amazon Web Services Region is active, so that you can get the latest information from the\n API. For more information, see Accessing the Health API in the\n Health User Guide.
\nFor authentication of requests, Health uses the Signature Version 4 Signing\n Process.
\nIf your Amazon Web Services account is part of Organizations, you can use the Health organizational\n view feature. This feature provides a centralized view of Health events across all\n accounts in your organization. You can aggregate Health events in real time to\n identify accounts in your organization that are affected by an operational event or get\n notified of security vulnerabilities. Use the organizational view API operations to enable\n this feature and return event information. For more information, see Aggregating\n Health events in the Health User Guide.
\nWhen you use the Health API operations to return Health events, see the\n following recommendations:
\nUse the eventScopeCode parameter to specify whether to return Health\n events that are public or account-specific.
\nUse pagination to view all events from the response. For example, if you call\n the DescribeEventsForOrganization operation to get all events in your\n organization, you might receive several page results. Specify the\n nextToken in the next request to return more results.
The number of entities that match the criteria for the specified events.
" } } @@ -1092,6 +1108,7 @@ "count": { "target": "com.amazonaws.health#count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of events of the associated issue type.
" } } @@ -1696,7 +1713,10 @@ } }, "com.amazonaws.health#count": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.health#dateTimeRangeList": { "type": "list", @@ -1957,7 +1977,6 @@ "com.amazonaws.health#maxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10, "max": 100 @@ -1967,7 +1986,6 @@ "com.amazonaws.health#maxResultsLowerRange": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/healthlake.json b/codegen/sdk/aws-models/healthlake.json index 1ef55f5b714..78408ae5275 100644 --- a/codegen/sdk/aws-models/healthlake.json +++ b/codegen/sdk/aws-models/healthlake.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1245,7 +1245,6 @@ "com.amazonaws.healthlake#MaxResultsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 diff --git a/codegen/sdk/aws-models/honeycode.json b/codegen/sdk/aws-models/honeycode.json index 70cd344aac7..99c609d80f7 100644 --- a/codegen/sdk/aws-models/honeycode.json +++ b/codegen/sdk/aws-models/honeycode.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -160,6 +160,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The updated workbook cursor after adding the new rows at the end of the table.
", "smithy.api#required": {} } @@ -259,6 +260,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The updated workbook cursor after deleting the rows from the table.
", "smithy.api#required": {} } @@ -367,6 +369,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The updated workbook cursor after adding the new rows at the end of the table.
", "smithy.api#required": {} } @@ -469,6 +472,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The updated workbook cursor after updating or appending rows in the table.
", "smithy.api#required": {} } @@ -677,12 +681,14 @@ "hasHeaderRow": { "target": "com.amazonaws.honeycode#HasHeaderRow", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the input file has a header row at the top containing the column names.
" } }, "ignoreEmptyRows": { "target": "com.amazonaws.honeycode#IgnoreEmptyRows", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A parameter to indicate whether empty rows should be ignored or be included in the import.
" } }, @@ -1152,6 +1158,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Indicates the cursor of the workbook at which the data returned by this workbook is read. Workbook cursor\n keeps increasing with every update and the increments are not sequential.\n
", "smithy.api#required": {} } @@ -1165,10 +1172,16 @@ } }, "com.amazonaws.honeycode#HasHeaderRow": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.honeycode#IgnoreEmptyRows": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.honeycode#ImportColumnMap": { "type": "map", @@ -1419,6 +1432,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The updated workbook cursor after performing the automation action.
", "smithy.api#required": {} } @@ -1526,6 +1540,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor\n keeps increasing with every update and the increments are not sequential.\n
" } } @@ -1647,6 +1662,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor\n keeps increasing with every update and the increments are not sequential.\n
", "smithy.api#required": {} } @@ -1744,6 +1760,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor\n keeps increasing with every update and the increments are not sequential.\n
" } } @@ -1816,7 +1833,6 @@ "com.amazonaws.honeycode#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1950,6 +1966,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor\n keeps increasing with every update and the increments are not sequential.\n
", "smithy.api#required": {} } @@ -2167,21 +2184,6 @@ }, "com.amazonaws.honeycode#SheetsPublicApiService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Honeycode", - "arnNamespace": "honeycode", - "cloudFormationName": "Honeycode", - "cloudTrailEventSource": "honeycode.amazonaws.com", - "endpointPrefix": "honeycode" - }, - "aws.auth#sigv4": { - "name": "honeycode" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "\n Amazon Honeycode is a fully managed service that allows you to quickly build mobile and web apps for teams—without\n programming. Build Honeycode apps for managing almost anything, like projects, customers, operations, approvals,\n resources, and even your team.\n
", - "smithy.api#title": "Amazon Honeycode" - }, "version": "2020-03-01", "operations": [ { @@ -2229,11 +2231,27 @@ { "target": "com.amazonaws.honeycode#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Honeycode", + "arnNamespace": "honeycode", + "cloudFormationName": "Honeycode", + "cloudTrailEventSource": "honeycode.amazonaws.com", + "endpointPrefix": "honeycode" + }, + "aws.auth#sigv4": { + "name": "honeycode" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "\n Amazon Honeycode is a fully managed service that allows you to quickly build mobile and web apps for teams—without\n programming. Build Honeycode apps for managing almost anything, like projects, customers, operations, approvals,\n resources, and even your team.\n
", + "smithy.api#title": "Amazon Honeycode" + } }, "com.amazonaws.honeycode#SourceDataColumnIndex": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -2245,6 +2263,7 @@ "columnIndex": { "target": "com.amazonaws.honeycode#SourceDataColumnIndex", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The index of the column in the input file.
" } } @@ -2883,7 +2902,10 @@ } }, "com.amazonaws.honeycode#WorkbookCursor": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } } } } diff --git a/codegen/sdk/aws-models/iam.json b/codegen/sdk/aws-models/iam.json index bf6b7e99264..9a13effb297 100644 --- a/codegen/sdk/aws-models/iam.json +++ b/codegen/sdk/aws-models/iam.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.iam#AWSIdentityManagementV20100508": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IAM", - "arnNamespace": "iam", - "cloudFormationName": "IAM", - "cloudTrailEventSource": "iam.amazonaws.com", - "endpointPrefix": "iam" - }, - "aws.auth#sigv4": { - "name": "iam" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Identity and Access Management (IAM) is a web service for securely controlling \n access to Amazon Web Services services. With IAM, you can centrally manage users, security credentials\n such as access keys, and permissions that control which Amazon Web Services resources users and \n applications can access. For more information about IAM, see Identity and Access Management (IAM) and the Identity and Access Management User Guide.
", - "smithy.api#title": "AWS Identity and Access Management", - "smithy.api#xmlNamespace": { - "uri": "https://iam.amazonaws.com/doc/2010-05-08/" - } - }, "version": "2010-05-08", "operations": [ { @@ -525,7 +507,25 @@ { "target": "com.amazonaws.iam#UploadSSHPublicKey" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IAM", + "arnNamespace": "iam", + "cloudFormationName": "IAM", + "cloudTrailEventSource": "iam.amazonaws.com", + "endpointPrefix": "iam" + }, + "aws.auth#sigv4": { + "name": "iam" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Identity and Access Management (IAM) is a web service for securely controlling \n access to Amazon Web Services services. With IAM, you can centrally manage users, security credentials\n such as access keys, and permissions that control which Amazon Web Services resources users and \n applications can access. For more information about IAM, see Identity and Access Management (IAM) and the Identity and Access Management User Guide.
", + "smithy.api#title": "AWS Identity and Access Management", + "smithy.api#xmlNamespace": { + "uri": "https://iam.amazonaws.com/doc/2010-05-08/" + } + } }, "com.amazonaws.iam#AccessAdvisorUsageGranularityType": { "type": "string", @@ -1095,7 +1095,10 @@ } }, "com.amazonaws.iam#ColumnNumber": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iam#ConcurrentModificationException": { "type": "structure", @@ -1488,6 +1491,7 @@ "PasswordResetRequired": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the user is required to set a new password on next sign-in.
" } } @@ -1720,6 +1724,7 @@ "SetAsDefault": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to set this version as the policy's default version.
\nWhen this parameter is true, the new policy version becomes the operative\n version. That is, it becomes the version that is in effect for the IAM users, groups,\n and roles that the policy is attached to.
For more information about managed policy versions, see Versioning for managed\n policies in the IAM User Guide.
" } } @@ -3952,6 +3957,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your results were\n truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. We recommend that you check\n IsTruncated after every call to ensure that you receive all your\n results.
A flag to filter the results to only the attached policies.
\nWhen OnlyAttached is true, the returned list contains only\n the policies that are attached to an IAM user, group, or role. When\n OnlyAttached is false, or when the parameter is not\n included, all policies are returned.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
Specifies whether the user is required to set a new password on next sign-in.
" } } @@ -8328,6 +8374,7 @@ "IsAttachable": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the policy can be attached to an IAM user, group, or role.
" } }, @@ -8419,6 +8466,7 @@ "AllowedByOrganizations": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the simulated operation is allowed by the Organizations service control\n policies that impact the simulated user's account.
" } } @@ -8439,36 +8487,42 @@ "RequireSymbols": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether IAM user passwords must contain at least one of the following\n symbols:
\n! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
" } }, "RequireNumbers": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether IAM user passwords must contain at least one numeric character (0 to\n 9).
" } }, "RequireUppercaseCharacters": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether IAM user passwords must contain at least one uppercase character (A\n to Z).
" } }, "RequireLowercaseCharacters": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether IAM user passwords must contain at least one lowercase character (a\n to z).
" } }, "AllowUsersToChangePassword": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether IAM users are allowed to change their own password. Gives IAM\n users permissions to iam:ChangePassword for only their user and to the\n iam:GetAccountPasswordPolicy action. This option does not attach a\n permissions policy to each user, rather the permissions are applied at the account-level\n for all users by IAM.
Indicates whether passwords in the account expire. Returns true if\n MaxPasswordAge contains a value greater than 0. Returns false if\n MaxPasswordAge is 0 or not present.
Specifies whether an action is allowed by a permissions boundary that is applied to an\n IAM entity (user or role). A value of true means that the permissions\n boundary does not deny the action. This means that the policy includes an\n Allow statement that matches the request. In this case, if an\n identity-based policy also allows the action, the request is allowed. A value of\n false means that either the requested action is not allowed (implicitly\n denied) or that the action is explicitly denied by the permissions boundary. In both of\n these cases, the action is not allowed, regardless of the identity-based policy.
Specifies whether the policy can be attached to an IAM user, group, or role.
" } }, @@ -8874,6 +8930,7 @@ "IsDefaultVersion": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the policy version is set as the policy's default version.
" } }, @@ -8894,12 +8951,14 @@ "Line": { "target": "com.amazonaws.iam#LineNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The line containing the specified position in the document.
" } }, "Column": { "target": "com.amazonaws.iam#ColumnNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The column in the line containing the specified position in the document.
" } } @@ -10399,6 +10458,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.
Specifies whether IAM user passwords must contain at least one of the following\n non-alphanumeric characters:
\n! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
\nIf you do not specify a value for this parameter, then the operation uses the default\n value of false. The result is that passwords do not require at least one\n symbol character.
Specifies whether IAM user passwords must contain at least one numeric character (0\n to 9).
\nIf you do not specify a value for this parameter, then the operation uses the default\n value of false. The result is that passwords do not require at least one\n numeric character.
Specifies whether IAM user passwords must contain at least one uppercase character\n from the ISO basic Latin alphabet (A to Z).
\nIf you do not specify a value for this parameter, then the operation uses the default\n value of false. The result is that passwords do not require at least one\n uppercase character.
Specifies whether IAM user passwords must contain at least one lowercase character\n from the ISO basic Latin alphabet (a to z).
\nIf you do not specify a value for this parameter, then the operation uses the default\n value of false. The result is that passwords do not require at least one\n lowercase character.
Allows all IAM users in your account to use the Amazon Web Services Management Console to change their own\n passwords. For more information, see Permitting\n IAM users to change their own passwords in the\n IAM User Guide.
\nIf you do not specify a value for this parameter, then the operation uses the default\n value of false. The result is that IAM users in the account do not\n automatically have permissions to change their own password.
A Boolean that represents the current state of faster launching for the \n\t\t\tWindows AMI. Set to true to start using Windows faster launching, or \n\t\t\tfalse to stop using it.
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
" } } @@ -5367,7 +5366,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum items to return in a request.
" } }, @@ -5465,13 +5464,14 @@ "byName": { "target": "com.amazonaws.imagebuilder#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Returns the list of component build versions for the specified name.
" } }, "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum items to return in a request.
" } }, @@ -5569,7 +5569,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return in the list.
" } }, @@ -5661,7 +5661,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum items to return in a request.
" } }, @@ -5760,7 +5760,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum items to return in a request.
" } }, @@ -5856,7 +5856,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maxiumum number of results to return from the ListImagePackages request.
" } }, @@ -5958,7 +5958,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum items to return in a request.
" } }, @@ -6050,7 +6050,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum items to return in a request.
" } }, @@ -6148,7 +6148,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum items to return in a request.
" } }, @@ -6246,13 +6246,14 @@ "byName": { "target": "com.amazonaws.imagebuilder#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Requests a list of images with a specific recipe name.
" } }, "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum items to return in a request.
" } }, @@ -6350,7 +6351,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum items to return in a request.
" } }, @@ -6454,7 +6455,6 @@ "com.amazonaws.imagebuilder#MaxParallelLaunches": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -6471,10 +6471,7 @@ } }, "com.amazonaws.imagebuilder#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.imagebuilder#OrganizationArn": { "type": "string", @@ -7032,6 +7029,7 @@ "com.amazonaws.imagebuilder#RestrictedInteger": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 @@ -7402,7 +7400,6 @@ "com.amazonaws.imagebuilder#TargetResourceCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -7889,21 +7886,6 @@ }, "com.amazonaws.imagebuilder#imagebuilder": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "imagebuilder", - "arnNamespace": "imagebuilder", - "cloudFormationName": "Imagebuilder", - "cloudTrailEventSource": "imagebuilder.amazonaws.com", - "endpointPrefix": "imagebuilder" - }, - "aws.auth#sigv4": { - "name": "imagebuilder" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "EC2 Image Builder is a fully managed Amazon Web Services service that makes it easier to automate the \n creation, management, and deployment of customized, secure, and up-to-date \"golden\" server \n images that are pre-installed and pre-configured with software and settings to meet specific\n IT standards.
", - "smithy.api#title": "EC2 Image Builder" - }, "version": "2019-12-02", "operations": [ { @@ -8056,7 +8038,22 @@ { "target": "com.amazonaws.imagebuilder#UpdateInfrastructureConfiguration" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "imagebuilder", + "arnNamespace": "imagebuilder", + "cloudFormationName": "Imagebuilder", + "cloudTrailEventSource": "imagebuilder.amazonaws.com", + "endpointPrefix": "imagebuilder" + }, + "aws.auth#sigv4": { + "name": "imagebuilder" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "EC2 Image Builder is a fully managed Amazon Web Services service that makes it easier to automate the \n creation, management, and deployment of customized, secure, and up-to-date \"golden\" server \n images that are pre-installed and pre-configured with software and settings to meet specific\n IT standards.
", + "smithy.api#title": "EC2 Image Builder" + } } } } diff --git a/codegen/sdk/aws-models/inspector.json b/codegen/sdk/aws-models/inspector.json index dc467a0c559..5ef87c8d080 100644 --- a/codegen/sdk/aws-models/inspector.json +++ b/codegen/sdk/aws-models/inspector.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -456,10 +456,7 @@ } }, "com.amazonaws.inspector#ArnCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.inspector#AssessmentRulesPackageArnList": { "type": "list", @@ -507,6 +504,7 @@ "durationInSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration of the assessment run.
", "smithy.api#required": {} } @@ -654,6 +652,7 @@ "com.amazonaws.inspector#AssessmentRunDuration": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 180, "max": 86400 @@ -1080,6 +1079,7 @@ "durationInSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration in seconds specified for this assessment template. The default value is\n 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
", "smithy.api#required": {} } @@ -1188,6 +1188,7 @@ "schemaVersion": { "target": "com.amazonaws.inspector#NumericVersion", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The schema version of this data type.
", "smithy.api#required": {} } @@ -1347,10 +1348,7 @@ } }, "com.amazonaws.inspector#Bool": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.inspector#CreateAssessmentTarget": { "type": "operation", @@ -1469,6 +1467,7 @@ "durationInSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration of the assessment run in seconds.
", "smithy.api#required": {} } @@ -1614,6 +1613,9 @@ "input": { "target": "com.amazonaws.inspector#DeleteAssessmentRunRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -1655,6 +1657,9 @@ "input": { "target": "com.amazonaws.inspector#DeleteAssessmentTargetRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -1696,6 +1701,9 @@ "input": { "target": "com.amazonaws.inspector#DeleteAssessmentTemplateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -1886,6 +1894,9 @@ }, "com.amazonaws.inspector#DescribeCrossAccountAccessRole": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.inspector#DescribeCrossAccountAccessRoleResponse" }, @@ -2152,12 +2163,14 @@ "minSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum value of the duration range. Must be greater than zero.
" } }, "maxSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum value of the duration range. Must be less than or equal to 604800 seconds\n (1 week).
" } } @@ -2414,6 +2427,7 @@ "schemaVersion": { "target": "com.amazonaws.inspector#NumericVersion", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The schema version of this data type.
" } }, @@ -2474,12 +2488,14 @@ "numericSeverity": { "target": "com.amazonaws.inspector#NumericSeverity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The numeric value of the finding severity.
" } }, "confidence": { "target": "com.amazonaws.inspector#IocConfidence", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This data element is currently not used.
" } }, @@ -2523,10 +2539,7 @@ } }, "com.amazonaws.inspector#FindingCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.inspector#FindingFilter": { "type": "structure", @@ -3000,6 +3013,7 @@ "schemaVersion": { "target": "com.amazonaws.inspector#NumericVersion", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The schema version of this data type.
", "smithy.api#required": {} } @@ -3345,6 +3359,7 @@ "com.amazonaws.inspector#IocConfidence": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 10 @@ -3780,10 +3795,7 @@ } }, "com.amazonaws.inspector#ListEventSubscriptionsMaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.inspector#ListEventSubscriptionsRequest": { "type": "structure", @@ -3978,10 +3990,7 @@ } }, "com.amazonaws.inspector#ListMaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.inspector#ListParentArnList": { "type": "list", @@ -4132,10 +4141,7 @@ } }, "com.amazonaws.inspector#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.inspector#Message": { "type": "string", @@ -4310,6 +4316,7 @@ "com.amazonaws.inspector#NumericSeverity": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0.0, "max": 10.0 @@ -4319,6 +4326,7 @@ "com.amazonaws.inspector#NumericVersion": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4377,10 +4385,7 @@ } }, "com.amazonaws.inspector#PreviewAgentsMaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.inspector#PreviewAgentsRequest": { "type": "structure", @@ -4494,6 +4499,9 @@ "input": { "target": "com.amazonaws.inspector#RegisterCrossAccountAccessRoleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -4907,6 +4915,9 @@ "input": { "target": "com.amazonaws.inspector#SetTagsForResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -5073,6 +5084,9 @@ "input": { "target": "com.amazonaws.inspector#StopAssessmentRunRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -5117,6 +5131,9 @@ "input": { "target": "com.amazonaws.inspector#SubscribeToEventRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -5348,6 +5365,9 @@ "input": { "target": "com.amazonaws.inspector#UnsubscribeFromEventRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -5421,6 +5441,9 @@ "input": { "target": "com.amazonaws.inspector#UpdateAssessmentTargetRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" diff --git a/codegen/sdk/aws-models/inspector2.json b/codegen/sdk/aws-models/inspector2.json index 2510563bd88..c555851b73e 100644 --- a/codegen/sdk/aws-models/inspector2.json +++ b/codegen/sdk/aws-models/inspector2.json @@ -7240,4 +7240,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/iot-1click-devices-service.json b/codegen/sdk/aws-models/iot-1click-devices-service.json index dad23f70d2f..8e67a726bbe 100644 --- a/codegen/sdk/aws-models/iot-1click-devices-service.json +++ b/codegen/sdk/aws-models/iot-1click-devices-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -87,6 +87,7 @@ "Total": { "target": "com.amazonaws.iot1clickdevicesservice#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of devices associated with the claim code that has been processed in\n the claim request.
", "smithy.api#jsonName": "total" } @@ -211,6 +212,7 @@ "Enabled": { "target": "com.amazonaws.iot1clickdevicesservice#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value indicating whether or not the device is enabled.
", "smithy.api#jsonName": "enabled" } @@ -218,6 +220,7 @@ "RemainingLife": { "target": "com.amazonaws.iot1clickdevicesservice#__doubleMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A value between 0 and 1 inclusive, representing the fraction of life remaining for the\n device.
", "smithy.api#jsonName": "remainingLife" } @@ -709,6 +712,7 @@ "MaxResults": { "target": "com.amazonaws.iot1clickdevicesservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return per request. If not set, a default value of\n 100 is used.
", "smithy.api#httpQuery": "maxResults" } @@ -790,6 +794,7 @@ "MaxResults": { "target": "com.amazonaws.iot1clickdevicesservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return per request. If not set, a default value of\n 100 is used.
", "smithy.api#httpQuery": "maxResults" } @@ -875,6 +880,7 @@ "com.amazonaws.iot1clickdevicesservice#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 250 @@ -978,6 +984,9 @@ "input": { "target": "com.amazonaws.iot1clickdevicesservice#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot1clickdevicesservice#InternalFailureException" @@ -1077,6 +1086,9 @@ "input": { "target": "com.amazonaws.iot1clickdevicesservice#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot1clickdevicesservice#InternalFailureException" @@ -1160,6 +1172,7 @@ "Enabled": { "target": "com.amazonaws.iot1clickdevicesservice#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, the device is enabled. If false, the device is\n disabled.
", "smithy.api#jsonName": "enabled" } @@ -1171,13 +1184,22 @@ "members": {} }, "com.amazonaws.iot1clickdevicesservice#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot1clickdevicesservice#__doubleMin0Max100": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot1clickdevicesservice#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot1clickdevicesservice#__listOfDeviceDescription": { "type": "list", diff --git a/codegen/sdk/aws-models/iot-1click-projects.json b/codegen/sdk/aws-models/iot-1click-projects.json index c7532c1a9cf..48d3833a457 100644 --- a/codegen/sdk/aws-models/iot-1click-projects.json +++ b/codegen/sdk/aws-models/iot-1click-projects.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1022,7 +1022,6 @@ "com.amazonaws.iot1clickprojects#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 diff --git a/codegen/sdk/aws-models/iot-data-plane.json b/codegen/sdk/aws-models/iot-data-plane.json index 951be50fb47..89f35cc6516 100644 --- a/codegen/sdk/aws-models/iot-data-plane.json +++ b/codegen/sdk/aws-models/iot-data-plane.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -201,12 +201,14 @@ "qos": { "target": "com.amazonaws.iotdataplane#Qos", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The quality of service (QoS) level used to publish the retained message.
" } }, "lastModifiedTime": { "target": "com.amazonaws.iotdataplane#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
" } } @@ -330,21 +332,6 @@ }, "com.amazonaws.iotdataplane#IotMoonrakerService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoT Data Plane", - "arnNamespace": "iotdata", - "cloudFormationName": "IoTDataPlane", - "cloudTrailEventSource": "iotdataplane.amazonaws.com", - "endpointPrefix": "data-ats.iot" - }, - "aws.auth#sigv4": { - "name": "iotdata" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "IoT data enables secure, bi-directional communication between Internet-connected things (such as sensors,\n actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. It implements a broker for applications and\n things to publish messages over HTTP (Publish) and retrieve, update, and delete shadows. A shadow is a\n persistent representation of your things and their state in the Amazon Web Services cloud.
\nFind the endpoint address for actions in IoT data by running this CLI command:
\n\n aws iot describe-endpoint --endpoint-type iot:Data-ATS\n
The service name used by Amazon Web ServicesSignature Version 4\n to sign requests is: iotdevicegateway.
", - "smithy.api#title": "AWS IoT Data Plane" - }, "version": "2015-05-28", "operations": [ { @@ -368,7 +355,22 @@ { "target": "com.amazonaws.iotdataplane#UpdateThingShadow" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoT Data Plane", + "arnNamespace": "iotdata", + "cloudFormationName": "IoTDataPlane", + "cloudTrailEventSource": "iotdataplane.amazonaws.com", + "endpointPrefix": "data-ats.iot" + }, + "aws.auth#sigv4": { + "name": "iotdata" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "IoT data enables secure, bi-directional communication between Internet-connected things (such as sensors,\n actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. It implements a broker for applications and\n things to publish messages over HTTP (Publish) and retrieve, update, and delete shadows. A shadow is a\n persistent representation of your things and their state in the Amazon Web Services cloud.
\nFind the endpoint address for actions in IoT data by running this CLI command:
\n\n aws iot describe-endpoint --endpoint-type iot:Data-ATS\n
The service name used by Amazon Web ServicesSignature Version 4\n to sign requests is: iotdevicegateway.
", + "smithy.api#title": "AWS IoT Data Plane" + } }, "com.amazonaws.iotdataplane#JsonDocument": { "type": "blob" @@ -458,6 +460,7 @@ "timestamp": { "target": "com.amazonaws.iotdataplane#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The Epoch date and time the response was generated by IoT.
" } } @@ -519,6 +522,7 @@ "maxResults": { "target": "com.amazonaws.iotdataplane#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return at one time.
", "smithy.api#httpQuery": "maxResults" } @@ -545,6 +549,7 @@ "com.amazonaws.iotdataplane#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 200 @@ -579,7 +584,6 @@ "com.amazonaws.iotdataplane#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -590,13 +594,19 @@ "type": "blob" }, "com.amazonaws.iotdataplane#PayloadSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotdataplane#Publish": { "type": "operation", "input": { "target": "com.amazonaws.iotdataplane#PublishRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotdataplane#InternalFailureException" @@ -634,6 +644,7 @@ "qos": { "target": "com.amazonaws.iotdataplane#Qos", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The Quality of Service (QoS) level.
", "smithy.api#httpQuery": "qos" } @@ -641,6 +652,7 @@ "retain": { "target": "com.amazonaws.iotdataplane#Retain", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that determines whether to set the RETAIN flag when the message is published.
\nSetting the RETAIN flag causes the message to be retained and sent to new subscribers to the topic.
\nValid values: true | false\n
Default value: false\n
The size of the retained message's payload in bytes.
" } }, "qos": { "target": "com.amazonaws.iotdataplane#Qos", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The quality of service (QoS) level used to publish the retained message.
" } }, "lastModifiedTime": { "target": "com.amazonaws.iotdataplane#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
" } } @@ -792,7 +811,10 @@ } }, "com.amazonaws.iotdataplane#Timestamp": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotdataplane#Topic": { "type": "string" diff --git a/codegen/sdk/aws-models/iot-events-data.json b/codegen/sdk/aws-models/iot-events-data.json index d85a489a769..abbf4d4602f 100644 --- a/codegen/sdk/aws-models/iot-events-data.json +++ b/codegen/sdk/aws-models/iot-events-data.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1417,7 +1417,6 @@ "com.amazonaws.ioteventsdata#EpochMilliTimestamp": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 9223372036854775807 @@ -1502,21 +1501,6 @@ }, "com.amazonaws.ioteventsdata#IotColumboDataService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoT Events Data", - "arnNamespace": "ioteventsdata", - "cloudFormationName": "IoTEventsData", - "cloudTrailEventSource": "ioteventsdata.amazonaws.com", - "endpointPrefix": "data.iotevents" - }, - "aws.auth#sigv4": { - "name": "ioteventsdata" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "IoT Events monitors your equipment or device fleets for failures or changes in operation, and\n triggers actions when such events occur. You can use IoT Events Data API commands to send inputs to\n detectors, list detectors, and view or update a detector's status.
\nFor more information, see What is IoT Events? in the\n IoT Events Developer Guide.
", - "smithy.api#title": "AWS IoT Events Data" - }, "version": "2018-10-23", "operations": [ { @@ -1555,7 +1539,22 @@ { "target": "com.amazonaws.ioteventsdata#ListDetectors" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoT Events Data", + "arnNamespace": "ioteventsdata", + "cloudFormationName": "IoTEventsData", + "cloudTrailEventSource": "ioteventsdata.amazonaws.com", + "endpointPrefix": "data.iotevents" + }, + "aws.auth#sigv4": { + "name": "ioteventsdata" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "IoT Events monitors your equipment or device fleets for failures or changes in operation, and\n triggers actions when such events occur. You can use IoT Events Data API commands to send inputs to\n detectors, list detectors, and view or update a detector's status.
\nFor more information, see What is IoT Events? in the\n IoT Events Developer Guide.
", + "smithy.api#title": "AWS IoT Events Data" + } }, "com.amazonaws.ioteventsdata#KeyValue": { "type": "string", @@ -1733,7 +1732,6 @@ "com.amazonaws.ioteventsdata#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -1911,10 +1909,7 @@ } }, "com.amazonaws.ioteventsdata#Seconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.ioteventsdata#ServiceUnavailableException": { "type": "structure", @@ -1935,7 +1930,6 @@ "com.amazonaws.ioteventsdata#Severity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -2041,10 +2035,7 @@ } }, "com.amazonaws.ioteventsdata#SnoozeDuration": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.ioteventsdata#StateChangeConfiguration": { "type": "structure", diff --git a/codegen/sdk/aws-models/iot-events.json b/codegen/sdk/aws-models/iot-events.json index b63a1703036..6bf4b517466 100644 --- a/codegen/sdk/aws-models/iot-events.json +++ b/codegen/sdk/aws-models/iot-events.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -45,10 +45,7 @@ } }, "com.amazonaws.iotevents#AcknowledgeFlowEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotevents#Action": { "type": "structure", @@ -1895,10 +1892,7 @@ } }, "com.amazonaws.iotevents#DisabledOnInitialization": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotevents#DynamoDBAction": { "type": "structure", @@ -3274,7 +3268,10 @@ } }, "com.amazonaws.iotevents#LoggingEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotevents#LoggingLevel": { "type": "string", @@ -3315,6 +3312,7 @@ "enabled": { "target": "com.amazonaws.iotevents#LoggingEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If TRUE, logging is enabled for AWS IoT Events.
", "smithy.api#required": {} } @@ -3340,15 +3338,11 @@ } }, "com.amazonaws.iotevents#MaxAnalysisResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iotevents#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -3500,6 +3494,9 @@ "input": { "target": "com.amazonaws.iotevents#PutLoggingOptionsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" @@ -3762,7 +3759,6 @@ "com.amazonaws.iotevents#Seconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 31622400 @@ -3840,7 +3836,6 @@ "com.amazonaws.iotevents#Severity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -4572,10 +4567,7 @@ } }, "com.amazonaws.iotevents#UseBase64": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotevents#VariableName": { "type": "string", diff --git a/codegen/sdk/aws-models/iot-jobs-data-plane.json b/codegen/sdk/aws-models/iot-jobs-data-plane.json index 8f0d614485c..04c5d7d7850 100644 --- a/codegen/sdk/aws-models/iot-jobs-data-plane.json +++ b/codegen/sdk/aws-models/iot-jobs-data-plane.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -30,10 +30,7 @@ }, "shapes": { "com.amazonaws.iotjobsdataplane#ApproximateSecondsBeforeTimedOut": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iotjobsdataplane#BinaryBlob": { "type": "blob" @@ -173,16 +170,10 @@ } }, "com.amazonaws.iotjobsdataplane#ExecutionNumber": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iotjobsdataplane#ExpectedVersion": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iotjobsdataplane#GetPendingJobExecutions": { "type": "operation", @@ -249,16 +240,10 @@ } }, "com.amazonaws.iotjobsdataplane#IncludeExecutionState": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotjobsdataplane#IncludeJobDocument": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotjobsdataplane#InvalidRequestException": { "type": "structure", @@ -361,6 +346,7 @@ "queuedAt": { "target": "com.amazonaws.iotjobsdataplane#QueuedAt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time, in milliseconds since the epoch, when the job execution was enqueued.
" } }, @@ -373,6 +359,7 @@ "lastUpdatedAt": { "target": "com.amazonaws.iotjobsdataplane#LastUpdatedAt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time, in milliseconds since the epoch, when the job execution was last updated.
" } }, @@ -385,6 +372,7 @@ "versionNumber": { "target": "com.amazonaws.iotjobsdataplane#VersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the job execution. Job execution versions are incremented each time they are updated by a\n device.
" } }, @@ -423,6 +411,7 @@ "versionNumber": { "target": "com.amazonaws.iotjobsdataplane#VersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the job execution. Job execution versions are incremented each time they are updated by a\n device.
" } } @@ -482,6 +471,7 @@ "queuedAt": { "target": "com.amazonaws.iotjobsdataplane#QueuedAt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time, in milliseconds since the epoch, when the job execution was enqueued.
" } }, @@ -494,12 +484,14 @@ "lastUpdatedAt": { "target": "com.amazonaws.iotjobsdataplane#LastUpdatedAt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time, in milliseconds since the epoch, when the job execution was last updated.
" } }, "versionNumber": { "target": "com.amazonaws.iotjobsdataplane#VersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the job execution. Job execution versions are incremented each time AWS IoT Jobs receives\n an update from a device.
" } }, @@ -531,10 +523,16 @@ } }, "com.amazonaws.iotjobsdataplane#LastUpdatedAt": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotjobsdataplane#QueuedAt": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotjobsdataplane#ResourceNotFoundException": { "type": "structure", @@ -639,16 +637,10 @@ } }, "com.amazonaws.iotjobsdataplane#StartedAt": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iotjobsdataplane#StepTimeoutInMinutes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iotjobsdataplane#TerminalStateException": { "type": "structure", @@ -814,7 +806,10 @@ } }, "com.amazonaws.iotjobsdataplane#VersionNumber": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotjobsdataplane#errorMessage": { "type": "string" diff --git a/codegen/sdk/aws-models/iot-wireless.json b/codegen/sdk/aws-models/iot-wireless.json index e022e97c0c5..d4be2303681 100644 --- a/codegen/sdk/aws-models/iot-wireless.json +++ b/codegen/sdk/aws-models/iot-wireless.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -95,7 +95,10 @@ } }, "com.amazonaws.iotwireless#AccountLinked": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#Accuracy": { "type": "structure", @@ -120,7 +123,6 @@ "com.amazonaws.iotwireless#AckModeRetryDurationSecs": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 604800 @@ -128,7 +130,10 @@ } }, "com.amazonaws.iotwireless#AddGwMetadata": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#AmazonId": { "type": "string", @@ -625,7 +630,10 @@ "members": {} }, "com.amazonaws.iotwireless#AutoCreateTasks": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#BatteryLevel": { "type": "string", @@ -670,7 +678,6 @@ "com.amazonaws.iotwireless#BeaconingDataRate": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -692,7 +699,6 @@ "com.amazonaws.iotwireless#BeaconingFrequency": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 100000000, "max": 1000000000 @@ -806,7 +812,6 @@ "com.amazonaws.iotwireless#ClassBTimeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000 @@ -816,7 +821,6 @@ "com.amazonaws.iotwireless#ClassCTimeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000 @@ -911,7 +915,6 @@ "com.amazonaws.iotwireless#Crc": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 4294967295 @@ -1708,6 +1711,7 @@ "AutoCreateTasks": { "target": "com.amazonaws.iotwireless#AutoCreateTasks", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.
Downlink data rate.
", "smithy.api#range": { "min": 0, @@ -3035,7 +3036,6 @@ "com.amazonaws.iotwireless#DlFreq": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "Downlink frequency.
", "smithy.api#range": { "min": 100000000, @@ -3046,7 +3046,6 @@ "com.amazonaws.iotwireless#DlRate": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -3063,15 +3062,11 @@ } }, "com.amazonaws.iotwireless#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.iotwireless#DownlinkFrequency": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 100000000, "max": 1000000000 @@ -3135,6 +3130,7 @@ "com.amazonaws.iotwireless#DrMax": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 15 @@ -3144,7 +3140,6 @@ "com.amazonaws.iotwireless#DrMaxBox": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -3154,6 +3149,7 @@ "com.amazonaws.iotwireless#DrMin": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 15 @@ -3163,7 +3159,6 @@ "com.amazonaws.iotwireless#DrMinBox": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -3352,7 +3347,6 @@ "com.amazonaws.iotwireless#FCntStart": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The FCnt init value.
", "smithy.api#range": { "min": 0, @@ -3369,7 +3363,6 @@ "com.amazonaws.iotwireless#FPort": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The Fport value.
", "smithy.api#range": { "min": 1, @@ -4248,6 +4241,7 @@ "AccountLinked": { "target": "com.amazonaws.iotwireless#AccountLinked", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the partner account is linked to the AWS account.
" } } @@ -5299,6 +5293,7 @@ "AutoCreateTasks": { "target": "com.amazonaws.iotwireless#AutoCreateTasks", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.
The maximum number of results to return in this operation.
", "smithy.api#httpQuery": "maxResults" } @@ -5639,6 +5634,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in this operation.
", "smithy.api#httpQuery": "maxResults" } @@ -5707,6 +5703,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -5785,6 +5782,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } } @@ -5899,6 +5897,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } } @@ -5931,6 +5930,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } } @@ -5992,6 +5992,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -6065,6 +6066,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in this operation.
", "smithy.api#httpQuery": "maxResults" } @@ -6137,6 +6139,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -6226,6 +6229,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in this operation.
", "smithy.api#httpQuery": "maxResults" } @@ -6305,6 +6309,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in this operation.
", "smithy.api#httpQuery": "maxResults" } @@ -6428,6 +6433,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in this operation.
", "smithy.api#httpQuery": "maxResults" } @@ -6535,6 +6541,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in this operation.
", "smithy.api#httpQuery": "maxResults" } @@ -6621,6 +6628,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in this operation.
", "smithy.api#httpQuery": "maxResults" } @@ -6775,6 +6783,7 @@ "SupportsClassB": { "target": "com.amazonaws.iotwireless#SupportsClassB", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The SupportsClassB value.
" } }, @@ -6805,6 +6814,7 @@ "SupportsClassC": { "target": "com.amazonaws.iotwireless#SupportsClassC", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The SupportsClassC value.
" } }, @@ -6883,6 +6893,7 @@ "Supports32BitFCnt": { "target": "com.amazonaws.iotwireless#Supports32BitFCnt", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The Supports32BitFCnt value.
" } } @@ -7065,6 +7076,7 @@ "AddGwMetadata": { "target": "com.amazonaws.iotwireless#AddGwMetadata", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The AddGWMetaData value.
" } }, @@ -7077,24 +7089,28 @@ "ReportDevStatusBattery": { "target": "com.amazonaws.iotwireless#ReportDevStatusBattery", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The ReportDevStatusBattery value.
" } }, "ReportDevStatusMargin": { "target": "com.amazonaws.iotwireless#ReportDevStatusMargin", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The ReportDevStatusMargin value.
" } }, "DrMin": { "target": "com.amazonaws.iotwireless#DrMin", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The DRMin value.
" } }, "DrMax": { "target": "com.amazonaws.iotwireless#DrMax", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The DRMax value.
" } }, @@ -7107,30 +7123,35 @@ "PrAllowed": { "target": "com.amazonaws.iotwireless#PrAllowed", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The PRAllowed value that describes whether passive roaming is allowed.
" } }, "HrAllowed": { "target": "com.amazonaws.iotwireless#HrAllowed", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The HRAllowed value that describes whether handover roaming is allowed.
" } }, "RaAllowed": { "target": "com.amazonaws.iotwireless#RaAllowed", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The RAAllowed value that describes whether roaming activation is allowed.
" } }, "NwkGeoLoc": { "target": "com.amazonaws.iotwireless#NwkGeoLoc", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The NwkGeoLoc value.
" } }, "TargetPer": { "target": "com.amazonaws.iotwireless#TargetPer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The TargetPER value.
" } }, @@ -7275,6 +7296,7 @@ "AddGwMetadata": { "target": "com.amazonaws.iotwireless#AddGwMetadata", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The AddGWMetaData value.
" } }, @@ -7428,7 +7450,6 @@ "com.amazonaws.iotwireless#MaxDutyCycle": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -7438,7 +7459,6 @@ "com.amazonaws.iotwireless#MaxEirp": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -7448,6 +7468,7 @@ "com.amazonaws.iotwireless#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in this operation.
", "smithy.api#range": { "min": 0, @@ -7458,7 +7479,6 @@ "com.amazonaws.iotwireless#McGroupId": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "Id of the multicast group.
", "smithy.api#range": { "min": 1, @@ -7533,7 +7553,6 @@ "com.amazonaws.iotwireless#MinGwDiversity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -7740,19 +7759,20 @@ "com.amazonaws.iotwireless#NumberOfDevicesInGroup": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "Number of devices that are associated to the multicast group.
" } }, "com.amazonaws.iotwireless#NumberOfDevicesRequested": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "Number of devices that are requested to be associated with the multicast group.
" } }, "com.amazonaws.iotwireless#NwkGeoLoc": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#NwkKey": { "type": "string", @@ -7899,7 +7919,6 @@ "com.amazonaws.iotwireless#PingSlotDr": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -7909,7 +7928,6 @@ "com.amazonaws.iotwireless#PingSlotFreq": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1000000, "max": 16700000 @@ -7919,7 +7937,6 @@ "com.amazonaws.iotwireless#PingSlotPeriod": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 128, "max": 4096 @@ -8001,10 +8018,7 @@ } }, "com.amazonaws.iotwireless#PositionCoordinateValue": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.iotwireless#PositionResourceIdentifier": { "type": "string", @@ -8104,11 +8118,15 @@ } }, "com.amazonaws.iotwireless#PrAllowed": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#PresetFreq": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1000000, "max": 16700000 @@ -8295,7 +8313,10 @@ } }, "com.amazonaws.iotwireless#RaAllowed": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#RegParamsRevision": { "type": "string", @@ -8307,10 +8328,16 @@ } }, "com.amazonaws.iotwireless#ReportDevStatusBattery": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#ReportDevStatusMargin": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#ResetAllResourceLogLevels": { "type": "operation", @@ -8484,7 +8511,6 @@ "com.amazonaws.iotwireless#RxDataRate2": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -8494,7 +8520,6 @@ "com.amazonaws.iotwireless#RxDelay1": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -8504,7 +8529,6 @@ "com.amazonaws.iotwireless#RxDrOffset1": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7 @@ -8514,7 +8538,6 @@ "com.amazonaws.iotwireless#RxFreq2": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1000000, "max": 16700000 @@ -8727,7 +8750,6 @@ "com.amazonaws.iotwireless#Seq": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 16383 @@ -8849,7 +8871,6 @@ "com.amazonaws.iotwireless#SessionTimeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "How long before a multicast group session is to timeout.
", "smithy.api#range": { "min": 60, @@ -9348,6 +9369,7 @@ "com.amazonaws.iotwireless#SubBand": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A subset of supported frequency channels in a certain RFRegion.
", "smithy.api#range": { "min": 1, @@ -9393,20 +9415,26 @@ } }, "com.amazonaws.iotwireless#Supports32BitFCnt": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#SupportsClassB": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#SupportsClassC": { - "type": "boolean" - }, - "com.amazonaws.iotwireless#SupportsJoin": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iotwireless#SupportsJoin": { + "type": "boolean" + }, "com.amazonaws.iotwireless#Tag": { "type": "structure", "members": { @@ -9536,6 +9564,7 @@ "com.amazonaws.iotwireless#TargetPer": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -9652,7 +9681,6 @@ "com.amazonaws.iotwireless#TransmissionInterval": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 604800 @@ -9662,7 +9690,6 @@ "com.amazonaws.iotwireless#TransmitMode": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -9672,7 +9699,6 @@ "com.amazonaws.iotwireless#UlBucketSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -9682,7 +9708,6 @@ "com.amazonaws.iotwireless#UlRate": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -10667,7 +10692,6 @@ "com.amazonaws.iotwireless#VerticalAccuracy": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -11217,21 +11241,6 @@ }, "com.amazonaws.iotwireless#iotwireless": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoT Wireless", - "arnNamespace": "iotwireless", - "cloudFormationName": "IoTWireless", - "cloudTrailEventSource": "iotwireless.amazonaws.com", - "endpointPrefix": "api.iotwireless" - }, - "aws.auth#sigv4": { - "name": "iotwireless" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "AWS IoT Wireless provides bi-directional communication between internet-connected wireless\n\t devices and the AWS Cloud. To onboard both LoRaWAN and Sidewalk devices to AWS IoT, use the \n\t IoT Wireless API. These wireless devices use the Low Power Wide Area Networking (LPWAN) \n\t communication protocol to communicate with AWS IoT.
\n\tUsing the API, you can perform create, read, update, and delete operations for your wireless\n\t devices, gateways, destinations, and profiles. After onboarding your devices, you \n\t can use the API operations to set log levels and monitor your devices with CloudWatch.
\n\tYou can also use the API operations to create multicast groups and schedule a multicast session for\n\t sending a downlink message to devices in the group. By using Firmware Updates Over-The-Air\n\t (FUOTA) API operations, you can create a FUOTA task and schedule a session to update the firmware\n\t of individual devices or an entire group of devices in a multicast group.
", - "smithy.api#title": "AWS IoT Wireless" - }, "version": "2020-11-22", "operations": [ { @@ -11528,7 +11537,22 @@ { "target": "com.amazonaws.iotwireless#UpdateWirelessGateway" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoT Wireless", + "arnNamespace": "iotwireless", + "cloudFormationName": "IoTWireless", + "cloudTrailEventSource": "iotwireless.amazonaws.com", + "endpointPrefix": "api.iotwireless" + }, + "aws.auth#sigv4": { + "name": "iotwireless" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "AWS IoT Wireless provides bi-directional communication between internet-connected wireless\n\t devices and the AWS Cloud. To onboard both LoRaWAN and Sidewalk devices to AWS IoT, use the \n\t IoT Wireless API. These wireless devices use the Low Power Wide Area Networking (LPWAN) \n\t communication protocol to communicate with AWS IoT.
\n\tUsing the API, you can perform create, read, update, and delete operations for your wireless\n\t devices, gateways, destinations, and profiles. After onboarding your devices, you \n\t can use the API operations to set log levels and monitor your devices with CloudWatch.
\n\tYou can also use the API operations to create multicast groups and schedule a multicast session for\n\t sending a downlink message to devices in the group. By using Firmware Updates Over-The-Air\n\t (FUOTA) API operations, you can create a FUOTA task and schedule a session to update the firmware\n\t of individual devices or an entire group of devices in a multicast group.
", + "smithy.api#title": "AWS IoT Wireless" + } } } } diff --git a/codegen/sdk/aws-models/iot.json b/codegen/sdk/aws-models/iot.json index 5f732b495b9..35eaccaedf3 100644 --- a/codegen/sdk/aws-models/iot.json +++ b/codegen/sdk/aws-models/iot.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.iot#AWSIotService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoT", - "arnNamespace": "iot", - "cloudFormationName": "IoT", - "cloudTrailEventSource": "iot.amazonaws.com", - "endpointPrefix": "iot" - }, - "aws.auth#sigv4": { - "name": "execute-api" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "IoT provides secure, bi-directional communication between Internet-connected\n devices (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon Web Services\n cloud. You can discover your custom IoT-Data endpoint to communicate with, configure\n rules for data processing and integration with other services, organize resources\n associated with each device (Registry), configure logging, and create and manage\n policies and credentials to authenticate devices.
\nThe service endpoints that expose this API are listed in\n Amazon Web Services IoT Core Endpoints and Quotas.\n You must use the endpoint for the region that has the resources you want to access.
\nThe service name used by Amazon Web Services\n Signature Version 4 to sign the request is:\n execute-api.
\nFor more information about how IoT works, see the Developer\n Guide.
\nFor information about how to use the credentials provider for IoT, see Authorizing Direct Calls to Amazon Web Services Services.
", - "smithy.api#title": "AWS IoT" - }, "version": "2015-05-28", "operations": [ { @@ -759,7 +744,22 @@ { "target": "com.amazonaws.iot#ValidateSecurityProfileBehaviors" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoT", + "arnNamespace": "iot", + "cloudFormationName": "IoT", + "cloudTrailEventSource": "iot.amazonaws.com", + "endpointPrefix": "iot" + }, + "aws.auth#sigv4": { + "name": "execute-api" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "IoT provides secure, bi-directional communication between Internet-connected\n devices (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon Web Services\n cloud. You can discover your custom IoT-Data endpoint to communicate with, configure\n rules for data processing and integration with other services, organize resources\n associated with each device (Registry), configure logging, and create and manage\n policies and credentials to authenticate devices.
\nThe service endpoints that expose this API are listed in\n Amazon Web Services IoT Core Endpoints and Quotas.\n You must use the endpoint for the region that has the resources you want to access.
\nThe service name used by Amazon Web Services\n Signature Version 4 to sign the request is:\n execute-api.
\nFor more information about how IoT works, see the Developer\n Guide.
\nFor information about how to use the credentials provider for IoT, see Authorizing Direct Calls to Amazon Web Services Services.
", + "smithy.api#title": "AWS IoT" + } }, "com.amazonaws.iot#AbortAction": { "type": "string", @@ -837,7 +837,6 @@ "com.amazonaws.iot#AbortThresholdPercentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 100 } @@ -897,6 +896,7 @@ "setAsActive": { "target": "com.amazonaws.iot#SetAsActive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the certificate is active.
", "smithy.api#httpQuery": "setAsActive" } @@ -1290,6 +1290,7 @@ "overrideDynamicGroups": { "target": "com.amazonaws.iot#OverrideDynamicGroups", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Override dynamic thing groups with static thing groups when 10-group limit is\n\t\t\treached. If a thing belongs to 10 thing groups, and one or more of those groups are\n\t\t\tdynamic thing groups, adding a thing to a static group removes the thing from the last\n\t\t\tdynamic group.
" } } @@ -1455,10 +1456,16 @@ } }, "com.amazonaws.iot#AllowAuthorizerOverride": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#AllowAutoRegistration": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#Allowed": { "type": "structure", @@ -1475,13 +1482,13 @@ } }, "com.amazonaws.iot#ApproximateSecondsBeforeTimedOut": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#AscendingOrder": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#AssetId": { "type": "string" @@ -1989,6 +1996,7 @@ "merge": { "target": "com.amazonaws.iot#Flag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the list of attributes provided in the AttributePayload is merged with\n\t\t\tthe attributes stored in the registry, instead of overwriting them.
To remove an attribute, call UpdateThing with an empty attribute value.
The merge attribute is only valid when calling UpdateThing or UpdateThingGroup.
True if this audit check is enabled for this account.
" } } @@ -2505,6 +2514,7 @@ "enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if notifications to the target are enabled.
" } } @@ -2774,7 +2784,7 @@ "allowAuthorizerOverride": { "target": "com.amazonaws.iot#AllowAuthorizerOverride", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "A Boolean that specifies whether the domain configuration's authorization service can be overridden.
" } } @@ -2928,7 +2938,10 @@ } }, "com.amazonaws.iot#Average": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#AwsAccountId": { "type": "string", @@ -3017,7 +3030,6 @@ "com.amazonaws.iot#AwsJobAbortCriteriaAbortThresholdPercentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 100 } @@ -3060,7 +3072,6 @@ "com.amazonaws.iot#AwsJobAbortCriteriaMinimumNumberOfExecutedThings": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3099,6 +3110,7 @@ "incrementFactor": { "target": "com.amazonaws.iot#AwsJobRolloutIncrementFactor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The rate of increase for a job rollout. The number of things notified is multiplied by this \n factor.
", "smithy.api#required": {} } @@ -3152,19 +3164,20 @@ "com.amazonaws.iot#AwsJobRateIncreaseCriteriaNumberOfThings": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.iot#AwsJobRolloutIncrementFactor": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#AwsJobRolloutRatePerMinute": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3186,16 +3199,10 @@ } }, "com.amazonaws.iot#AwsJobTimeoutInProgressTimeoutInMinutes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#BatchMode": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#Behavior": { "type": "structure", @@ -3448,19 +3455,16 @@ } }, "com.amazonaws.iot#Boolean": { - "type": "boolean" - }, - "com.amazonaws.iot#BooleanKey": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#BooleanKey": { + "type": "boolean" + }, "com.amazonaws.iot#BooleanWrapperObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#Bucket": { "type": "structure", @@ -3474,6 +3478,7 @@ "count": { "target": "com.amazonaws.iot#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of documents that have the value counted for the particular bucket.
" } } @@ -3945,6 +3950,7 @@ "force": { "target": "com.amazonaws.iot#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Optional) If true the job execution will be canceled if it has status \n IN_PROGRESS or QUEUED, otherwise the job execution will be canceled only if it has status \n QUEUED. If you attempt to cancel a job execution that is IN_PROGRESS, and you do not set \n force to true, then an InvalidStateTransitionException \n will be thrown. The default is false.
Canceling a job execution which is \"IN_PROGRESS\", will cause the device to be unable \n to update the job execution status. Use caution and ensure that the device is able to \n recover to a valid state.
", "smithy.api#httpQuery": "force" } @@ -3989,6 +3995,7 @@ "force": { "target": "com.amazonaws.iot#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Optional) If true job executions with status \"IN_PROGRESS\" and \"QUEUED\" \n are canceled, otherwise only job executions with status \"QUEUED\" are canceled. The default \n is false.
Canceling a job which is \"IN_PROGRESS\", will cause a device which is executing \n the job to be unable to update the job execution status. Use caution and ensure that each \n device executing a job which is canceled is able to recover to a valid state.
", "smithy.api#httpQuery": "force" } @@ -4019,22 +4026,13 @@ } }, "com.amazonaws.iot#CanceledChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#CanceledFindingsCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#CanceledThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#CannedAccessControlList": { "type": "string", @@ -4369,10 +4367,7 @@ "type": "string" }, "com.amazonaws.iot#CheckCompliant": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#Cidr": { "type": "string", @@ -4688,10 +4683,7 @@ } }, "com.amazonaws.iot#CompliantChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#ConfidenceLevel": { "type": "string", @@ -4718,6 +4710,7 @@ "Enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True to enable the configuration.
" } } @@ -4816,15 +4809,11 @@ } }, "com.amazonaws.iot#ConnectivityTimestamp": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#ConsecutiveDatapointsToAlarm": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -4834,7 +4823,6 @@ "com.amazonaws.iot#ConsecutiveDatapointsToClear": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -4842,7 +4830,10 @@ } }, "com.amazonaws.iot#Count": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#CreateAuditSuppression": { "type": "operation", @@ -5164,6 +5155,7 @@ "setAsActive": { "target": "com.amazonaws.iot#SetAsActive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the certificate is active.
", "smithy.api#httpQuery": "setAsActive" } @@ -6070,6 +6062,7 @@ "setAsActive": { "target": "com.amazonaws.iot#SetAsActive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the certificate is active.
", "smithy.api#httpQuery": "setAsActive" } @@ -6526,6 +6519,7 @@ "setAsDefault": { "target": "com.amazonaws.iot#SetAsDefault", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the policy version is set as the default. When this parameter is\n true, the new policy version becomes the operative version (that is, the version that is in\n effect for the certificates to which the policy is attached).
", "smithy.api#httpQuery": "setAsDefault" } @@ -6559,6 +6553,7 @@ "isDefaultVersion": { "target": "com.amazonaws.iot#IsDefaultVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the policy version is the default.
" } } @@ -6709,6 +6704,7 @@ "enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True to enable the provisioning template, otherwise false.
" } }, @@ -6823,6 +6819,7 @@ "setAsDefault": { "target": "com.amazonaws.iot#SetAsDefault", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Sets a fleet provision template version as the default version.
", "smithy.api#httpQuery": "setAsDefault" } @@ -6853,6 +6850,7 @@ "isDefaultVersion": { "target": "com.amazonaws.iot#IsDefaultVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if the provisioning template version is the default version, otherwise\n false.
" } } @@ -7658,7 +7656,6 @@ "com.amazonaws.iot#CredentialDurationSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 900, "max": 43200 @@ -7736,7 +7733,6 @@ "com.amazonaws.iot#CustomerVersion": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -7745,7 +7741,6 @@ "com.amazonaws.iot#DataCollectionPercentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -7833,6 +7828,7 @@ "deleteScheduledAudits": { "target": "com.amazonaws.iot#DeleteScheduledAudits", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, all scheduled audits are deleted.
", "smithy.api#httpQuery": "deleteScheduledAudits" } @@ -7844,10 +7840,16 @@ "members": {} }, "com.amazonaws.iot#DeleteAdditionalMetricsToRetain": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#DeleteAlertTargets": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#DeleteAuditSuppression": { "type": "operation", @@ -7956,7 +7958,10 @@ "members": {} }, "com.amazonaws.iot#DeleteBehaviors": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#DeleteBillingGroup": { "type": "operation", @@ -8133,6 +8138,7 @@ "forceDelete": { "target": "com.amazonaws.iot#ForceDelete", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Forces the deletion of a certificate if it is inactive and is not attached to an IoT\n thing.
", "smithy.api#httpQuery": "forceDelete" } @@ -8515,6 +8521,7 @@ "force": { "target": "com.amazonaws.iot#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Optional) When true, you can delete a job execution which is \"IN_PROGRESS\". Otherwise, \n you can only delete a job execution which is in a terminal state (\"SUCCEEDED\", \"FAILED\",\n \"REJECTED\", \"REMOVED\" or \"CANCELED\") or an exception will occur. The default is false.
\nDeleting a job execution which is \"IN_PROGRESS\", will cause the device \n to be unable to access job information or update the job execution status.\n Use caution and ensure that the device is able to recover to a valid state.
\n(Optional) When true, you can delete a job which is \"IN_PROGRESS\". Otherwise, you can\n only delete a job which is in a terminal state (\"COMPLETED\" or \"CANCELED\") or an exception \n will occur. The default is false.
\nDeleting a job which is \"IN_PROGRESS\", will cause a device which is executing \n the job to be unable to access job information or update the job execution status.\n Use caution and ensure that each device executing a job which is deleted is able to recover to \n a valid state.
\nWhen true, the stream created by the OTAUpdate process is deleted when the OTA update is deleted.\n Ignored if the stream specified in the OTAUpdate is supplied by the user.
", "smithy.api#httpQuery": "deleteStream" } @@ -8705,6 +8714,7 @@ "forceDeleteAWSJob": { "target": "com.amazonaws.iot#ForceDeleteAWSJob", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When true, deletes the IoT job created by the OTAUpdate process even if it is \"IN_PROGRESS\". Otherwise, if the \n job is not in a terminal state (\"COMPLETED\" or \"CANCELED\") an exception will occur. The default is false.
", "smithy.api#httpQuery": "forceDeleteAWSJob" } @@ -9111,7 +9121,10 @@ "members": {} }, "com.amazonaws.iot#DeleteScheduledAudits": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#DeleteSecurityProfile": { "type": "operation", @@ -9226,7 +9239,10 @@ "members": {} }, "com.amazonaws.iot#DeleteStream_": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#DeleteThing": { "type": "operation", @@ -9637,6 +9653,7 @@ "undoDeprecate": { "target": "com.amazonaws.iot#UndoDeprecate", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can\n\t\t\tassociate it with things.
" } } @@ -10141,6 +10158,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the billing group.
" } }, @@ -10918,6 +10936,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the fleet metric.
" } }, @@ -11526,6 +11545,7 @@ "enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if the provisioning template is enabled, otherwise false.
" } }, @@ -11628,6 +11648,7 @@ "isDefaultVersion": { "target": "com.amazonaws.iot#IsDefaultVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if the provisioning template version is the default version.
" } } @@ -11874,6 +11895,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the security profile. A new version is generated whenever the\n security profile is updated.
" } }, @@ -12057,6 +12079,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the thing group.
" } }, @@ -12205,18 +12228,21 @@ "successCount": { "target": "com.amazonaws.iot#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of things successfully provisioned.
" } }, "failureCount": { "target": "com.amazonaws.iot#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of things that failed to be provisioned.
" } }, "percentageProgress": { "target": "com.amazonaws.iot#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The progress of the bulk provisioning task expressed as a percentage.
" } } @@ -12280,6 +12306,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current version of the thing record in the registry.
\n\t\tTo avoid unintentional changes to the information in the registry, you can pass\n\t\t\t\tthe version information in the expectedVersion parameter of the\n\t\t\t\t\tUpdateThing and DeleteThing calls.
\n Includes only active violations.\n
" } }, "suppressedAlertsIncluded": { "target": "com.amazonaws.iot#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "\n Includes suppressed alerts.\n
" } }, @@ -13030,7 +13059,10 @@ } }, "com.amazonaws.iot#DisableAllLogs": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#DisableTopicRule": { "type": "operation", @@ -13115,6 +13147,7 @@ "optional": { "target": "com.amazonaws.iot#Optional", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a pattern that needs to be replaced in a managed template job document \n schema is optional or required.
" } } @@ -13219,10 +13252,7 @@ } }, "com.amazonaws.iot#DurationSeconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#DynamicGroupStatus": { "type": "string", @@ -13446,10 +13476,7 @@ "type": "string" }, "com.amazonaws.iot#EnableCachingForHttp": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#EnableIoTLoggingParams": { "type": "structure", @@ -13524,7 +13551,10 @@ } }, "com.amazonaws.iot#Enabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#EndpointAddress": { "type": "string" @@ -13662,21 +13692,14 @@ "type": "string" }, "com.amazonaws.iot#ExecutionNumber": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#ExpectedVersion": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#ExpiresInSec": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 3600 @@ -13684,10 +13707,7 @@ } }, "com.amazonaws.iot#ExpiresInSeconds": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#ExplicitDeny": { "type": "structure", @@ -13716,6 +13736,7 @@ "incrementFactor": { "target": "com.amazonaws.iot#IncrementFactor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The exponential factor to increase the rate of rollout for a job.
\nAmazon Web Services IoT Core supports up to one digit after the decimal (for example, 1.5, but not 1.55).
", "smithy.api#required": {} } @@ -13733,22 +13754,13 @@ } }, "com.amazonaws.iot#FailedChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#FailedFindingsCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#FailedThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#Field": { "type": "structure", @@ -13801,7 +13813,6 @@ "com.amazonaws.iot#FileId": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 255 @@ -13834,7 +13845,6 @@ "com.amazonaws.iot#FileType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 255 @@ -13904,7 +13914,10 @@ } }, "com.amazonaws.iot#Flag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#FleetMetricArn": { "type": "string" @@ -13958,7 +13971,6 @@ "com.amazonaws.iot#FleetMetricPeriod": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 86400 @@ -14081,20 +14093,26 @@ } }, "com.amazonaws.iot#ForceDelete": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#ForceDeleteAWSJob": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#ForceFlag": { - "type": "boolean" - }, - "com.amazonaws.iot#Forced": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#Forced": { + "type": "boolean" + }, "com.amazonaws.iot#FunctionArn": { "type": "string" }, @@ -14102,10 +14120,7 @@ "type": "string" }, "com.amazonaws.iot#GenericLongValue": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#GetBehaviorModelTrainingSummaries": { "type": "operation", @@ -14277,6 +14292,7 @@ "totalCount": { "target": "com.amazonaws.iot#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of things that fit the query string criteria.
" } }, @@ -14370,6 +14386,7 @@ "cardinality": { "target": "com.amazonaws.iot#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The approximate count of unique values that match the query.
" } } @@ -14963,6 +14980,7 @@ "isDefaultVersion": { "target": "com.amazonaws.iot#IsDefaultVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the policy version is the default.
" } }, @@ -15303,6 +15321,7 @@ "disableAllLogs": { "target": "com.amazonaws.iot#DisableAllLogs", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Disables all logs.
" } } @@ -15547,26 +15566,18 @@ } }, "com.amazonaws.iot#InProgressChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#InProgressThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#InProgressTimeoutInMinutes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#IncrementFactor": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1.1, "max": 5 @@ -15864,25 +15875,19 @@ } }, "com.amazonaws.iot#IsAuthenticated": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } - }, - "com.amazonaws.iot#IsDefaultVersion": { "type": "boolean" }, - "com.amazonaws.iot#IsDisabled": { + "com.amazonaws.iot#IsDefaultVersion": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#IsDisabled": { + "type": "boolean" + }, "com.amazonaws.iot#IsSuppressed": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#Job": { "type": "structure", @@ -16115,6 +16120,7 @@ "versionNumber": { "target": "com.amazonaws.iot#VersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the job execution. Job execution versions are incremented each time they are updated\n by a device.
" } }, @@ -16701,7 +16707,6 @@ "com.amazonaws.iot#LaserMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -16898,6 +16903,7 @@ "recursive": { "target": "com.amazonaws.iot#Recursive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When true, recursively list attached policies.
", "smithy.api#httpQuery": "recursive" } @@ -17017,6 +17023,7 @@ "listSuppressedFindings": { "target": "com.amazonaws.iot#ListSuppressedFindings", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "\n Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.\n
" } } @@ -17285,6 +17292,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "\n Determines whether suppressions are listed in ascending order by expiration date or not. If parameter isn't provided, ascendingOrder=true.\n
Return the list of authorizers in ascending alphabetical order.
", "smithy.api#httpQuery": "isAscendingOrder" } @@ -17649,6 +17658,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Determines the order of the results.
", "smithy.api#httpQuery": "isAscendingOrder" } @@ -17793,6 +17803,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies the order for results. If True, the results are returned in ascending\n order, based on the creation date.
", "smithy.api#httpQuery": "isAscendingOrder" } @@ -17842,6 +17853,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies the order for results. If True, the results are returned in ascending\n order, based on the creation date.
", "smithy.api#httpQuery": "isAscendingOrder" } @@ -19218,6 +19230,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies the order for results. If True, the results are returned in ascending\n order, based on the creation date.
", "smithy.api#httpQuery": "isAscendingOrder" } @@ -19307,6 +19320,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies the order for results. If true, the results are returned in ascending\n creation order.
", "smithy.api#httpQuery": "isAscendingOrder" } @@ -19408,6 +19422,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies the order for results. If true, the results are returned in ascending\n creation order.
", "smithy.api#httpQuery": "isAscendingOrder" } @@ -19576,6 +19591,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies the order for results. If true, results are returned in ascending creation\n order.
", "smithy.api#httpQuery": "isAscendingOrder" } @@ -19915,6 +19931,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Return the list of role aliases in ascending alphabetical order.
", "smithy.api#httpQuery": "isAscendingOrder" } @@ -20102,6 +20119,7 @@ "recursive": { "target": "com.amazonaws.iot#Recursive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, return child groups too.
", "smithy.api#httpQuery": "recursive" } @@ -20243,6 +20261,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to true to return the list of streams in ascending order.
", "smithy.api#httpQuery": "isAscendingOrder" } @@ -20267,14 +20286,14 @@ } }, "com.amazonaws.iot#ListSuppressedAlerts": { + "type": "boolean" + }, + "com.amazonaws.iot#ListSuppressedFindings": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.iot#ListSuppressedFindings": { - "type": "boolean" - }, "com.amazonaws.iot#ListTagsForResource": { "type": "operation", "input": { @@ -21223,6 +21242,7 @@ "recursive": { "target": "com.amazonaws.iot#Recursive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When true, list things in this thing group and in all child groups as\n\t\t\twell.
", "smithy.api#httpQuery": "recursive" } @@ -21301,6 +21321,7 @@ "usePrefixAttributeValue": { "target": "com.amazonaws.iot#usePrefixAttributeValue", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When true, the action returns the thing resources with attribute values\n that start with the attributeValue provided.
When false, or not present, the action returns only the thing\n\t\t\tresources with attribute values that match the entire attributeValue\n\t\t\tprovided.
The percentile.
" } }, "value": { "target": "com.amazonaws.iot#PercentValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the percentile.
" } } @@ -22987,11 +23002,15 @@ } }, "com.amazonaws.iot#PercentValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#Percentage": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -23100,6 +23119,7 @@ "isDefaultVersion": { "target": "com.amazonaws.iot#IsDefaultVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the policy version is the default.
" } }, @@ -23149,7 +23169,6 @@ "com.amazonaws.iot#Port": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 65535 @@ -23186,7 +23205,10 @@ } }, "com.amazonaws.iot#PrimitiveBoolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#Principal": { "type": "string" @@ -23318,6 +23340,7 @@ "enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if the fleet provision template is enabled, otherwise false.
" } }, @@ -23356,6 +23379,7 @@ "isDefaultVersion": { "target": "com.amazonaws.iot#IsDefaultVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if the provisioning template version is the default version, otherwise\n false.
" } } @@ -23522,7 +23546,6 @@ "com.amazonaws.iot#Qos": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -23532,7 +23555,6 @@ "com.amazonaws.iot#QueryMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -23554,10 +23576,7 @@ "type": "string" }, "com.amazonaws.iot#QueuedThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#RangeKeyField": { "type": "string" @@ -23614,14 +23633,14 @@ } }, "com.amazonaws.iot#Recursive": { - "type": "boolean" - }, - "com.amazonaws.iot#RecursiveWithoutDefault": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#RecursiveWithoutDefault": { + "type": "boolean" + }, "com.amazonaws.iot#Regex": { "type": "string" }, @@ -23693,6 +23712,7 @@ "setAsActive": { "target": "com.amazonaws.iot#SetAsActive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value that specifies if the CA certificate is set to active.
\nValid values: ACTIVE | INACTIVE\n
Allows this CA certificate to be used for auto registration of device\n certificates.
", "smithy.api#httpQuery": "allowAutoRegistration" } @@ -24056,7 +24077,6 @@ "com.amazonaws.iot#RegistryMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -24146,10 +24166,7 @@ } }, "com.amazonaws.iot#RejectedThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#RelatedResource": { "type": "structure", @@ -24184,17 +24201,20 @@ } }, "com.amazonaws.iot#RemoveAuthorizerConfig": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#RemoveAutoRegistration": { - "type": "boolean" - }, - "com.amazonaws.iot#RemoveHook": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#RemoveHook": { + "type": "boolean" + }, "com.amazonaws.iot#RemoveThingFromBillingGroup": { "type": "operation", "input": { @@ -24324,14 +24344,14 @@ "members": {} }, "com.amazonaws.iot#RemoveThingType": { - "type": "boolean" - }, - "com.amazonaws.iot#RemovedThings": { - "type": "integer", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#RemovedThings": { + "type": "integer" + }, "com.amazonaws.iot#ReplaceDefaultPolicyVersionParams": { "type": "structure", "members": { @@ -24648,10 +24668,7 @@ } }, "com.amazonaws.iot#RetryAttempt": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#RetryCriteria": { "type": "structure", @@ -24793,7 +24810,6 @@ "com.amazonaws.iot#RolloutRatePerMinute": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -25137,10 +25153,7 @@ } }, "com.amazonaws.iot#Seconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#SecurityGroupId": { "type": "string" @@ -25363,17 +25376,20 @@ } }, "com.amazonaws.iot#SetAsActive": { - "type": "boolean" - }, - "com.amazonaws.iot#SetAsActiveFlag": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.iot#SetAsDefault": { + "com.amazonaws.iot#SetAsActiveFlag": { "type": "boolean" }, + "com.amazonaws.iot#SetAsDefault": { + "type": "boolean", + "traits": { + "smithy.api#default": false + } + }, "com.amazonaws.iot#SetDefaultAuthorizer": { "type": "operation", "input": { @@ -25647,6 +25663,7 @@ "disableAllLogs": { "target": "com.amazonaws.iot#DisableAllLogs", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true all logs are disabled. The default is false.
" } } @@ -25733,15 +25750,11 @@ "type": "string" }, "com.amazonaws.iot#SkippedFindingsCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#SkyfallMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -26191,55 +26204,56 @@ "count": { "target": "com.amazonaws.iot#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The count of things that match the query string criteria and contain a valid aggregation field value.
" } }, "average": { "target": "com.amazonaws.iot#Average", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The average of the aggregated field values.
" } }, "sum": { "target": "com.amazonaws.iot#Sum", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The sum of the aggregated field values.
" } }, "minimum": { "target": "com.amazonaws.iot#Minimum", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The minimum aggregated field value.
" } }, "maximum": { "target": "com.amazonaws.iot#Maximum", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum aggregated field value.
" } }, "sumOfSquares": { "target": "com.amazonaws.iot#SumOfSquares", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The sum of the squares of the aggregated field values.
" } }, "variance": { "target": "com.amazonaws.iot#Variance", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The variance of the aggregated field values.
" } }, "stdDeviation": { "target": "com.amazonaws.iot#StdDeviation", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The standard deviation of the aggregated field values.
" } } @@ -26276,7 +26290,10 @@ } }, "com.amazonaws.iot#StdDeviation": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#StepFunctionsAction": { "type": "structure", @@ -26526,7 +26543,6 @@ "com.amazonaws.iot#StreamVersion": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 65535 @@ -26567,40 +26583,31 @@ } }, "com.amazonaws.iot#SucceededFindingsCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#SucceededThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#Sum": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#SumOfSquares": { - "type": "double" - }, - "com.amazonaws.iot#SuppressAlerts": { - "type": "boolean", + "type": "double", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.iot#SuppressAlerts": { + "type": "boolean" + }, "com.amazonaws.iot#SuppressIndefinitely": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#SuppressedNonCompliantResourcesCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#TableName": { "type": "string" @@ -26935,10 +26942,7 @@ } }, "com.amazonaws.iot#TemplateVersionId": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#TermsAggregation": { "type": "structure", @@ -26946,6 +26950,7 @@ "maxBuckets": { "target": "com.amazonaws.iot#MaxBuckets", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of buckets to return in the response. Default to 10.
" } } @@ -27199,6 +27204,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the thing record in the registry.
" } } @@ -27219,6 +27225,7 @@ "connected": { "target": "com.amazonaws.iot#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not\n connected.
" } }, @@ -27660,6 +27667,7 @@ "deprecated": { "target": "com.amazonaws.iot#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the thing type is deprecated. If true, no new things could be\n\t\t\tassociated with this type.
" } }, @@ -27727,10 +27735,7 @@ } }, "com.amazonaws.iot#TimedOutThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#TimeoutConfig": { "type": "structure", @@ -27868,7 +27873,6 @@ "com.amazonaws.iot#TinyMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -28054,7 +28058,6 @@ "com.amazonaws.iot#TopicRuleDestinationMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -28191,7 +28194,6 @@ "com.amazonaws.iot#TopicRuleMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -28245,22 +28247,13 @@ } }, "com.amazonaws.iot#TotalChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#TotalFindingsCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#TotalResourcesCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#TransferAlreadyCompletedException": { "type": "structure", @@ -28436,12 +28429,14 @@ } }, "com.amazonaws.iot#UndoDeprecate": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#UnsignedLong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -28792,6 +28787,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The latest version of the billing group.
" } } @@ -28883,6 +28879,7 @@ "removeAutoRegistration": { "target": "com.amazonaws.iot#RemoveAutoRegistration", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, removes auto registration.
" } } @@ -29220,6 +29217,7 @@ "removeAuthorizerConfig": { "target": "com.amazonaws.iot#RemoveAuthorizerConfig", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Removes the authorization configuration from a domain.
" } } @@ -29329,6 +29327,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The dynamic thing group version.
" } } @@ -29763,6 +29762,7 @@ "enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True to enable the provisioning template, otherwise false.
" } }, @@ -30035,18 +30035,21 @@ "deleteBehaviors": { "target": "com.amazonaws.iot#DeleteBehaviors", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, delete all behaviors defined for this security profile. \n If any behaviors are defined in the current invocation, an exception occurs.
If true, delete all alertTargets defined for this security profile. \n If any alertTargets are defined in the current invocation, an exception occurs.
If true, delete all additionalMetricsToRetain defined for this \n security profile. If any additionalMetricsToRetain are defined in the current \n invocation, an exception occurs.
The updated version of the security profile.
" } }, @@ -30330,6 +30334,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the updated thing group.
" } } @@ -30390,6 +30395,7 @@ "overrideDynamicGroups": { "target": "com.amazonaws.iot#OverrideDynamicGroups", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Override dynamic thing groups with static thing groups when 10-group limit is\n\t\t\treached. If a thing belongs to 10 thing groups, and one or more of those groups are\n\t\t\tdynamic thing groups, adding a thing to a static group removes the thing from the last\n\t\t\tdynamic group.
" } } @@ -30431,6 +30437,7 @@ "removeThingType": { "target": "com.amazonaws.iot#RemoveThingType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Remove a thing type association. If true, the\n\t\t\tassociation is removed.
" } } @@ -30513,14 +30520,14 @@ } }, "com.amazonaws.iot#UseBase64": { + "type": "boolean" + }, + "com.amazonaws.iot#Valid": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.iot#Valid": { - "type": "boolean" - }, "com.amazonaws.iot#ValidateSecurityProfileBehaviors": { "type": "operation", "input": { @@ -30567,6 +30574,7 @@ "valid": { "target": "com.amazonaws.iot#Valid", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if the behaviors were valid.
" } }, @@ -30609,7 +30617,10 @@ } }, "com.amazonaws.iot#Variance": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#VerificationState": { "type": "string", @@ -30645,7 +30656,10 @@ } }, "com.amazonaws.iot#Version": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#VersionConflictException": { "type": "structure", @@ -30664,7 +30678,10 @@ } }, "com.amazonaws.iot#VersionNumber": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#VersionsLimitExceededException": { "type": "structure", @@ -30924,10 +30941,7 @@ "type": "string" }, "com.amazonaws.iot#WaitingForDataCollectionChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#resourceId": { "type": "string" @@ -30936,7 +30950,10 @@ "type": "string" }, "com.amazonaws.iot#usePrefixAttributeValue": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } } } } diff --git a/codegen/sdk/aws-models/iotanalytics.json b/codegen/sdk/aws-models/iotanalytics.json index f86a2831022..ea9b9ce84fa 100644 --- a/codegen/sdk/aws-models/iotanalytics.json +++ b/codegen/sdk/aws-models/iotanalytics.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -155,7 +155,6 @@ "com.amazonaws.iotanalytics#ActivityBatchSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2087,6 +2086,9 @@ "input": { "target": "com.amazonaws.iotanalytics#DeleteChannelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -2131,6 +2133,9 @@ "input": { "target": "com.amazonaws.iotanalytics#DeleteDatasetRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -2162,6 +2167,9 @@ "input": { "target": "com.amazonaws.iotanalytics#DeleteDatasetContentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -2226,6 +2234,9 @@ "input": { "target": "com.amazonaws.iotanalytics#DeleteDatastoreRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -2270,6 +2281,9 @@ "input": { "target": "com.amazonaws.iotanalytics#DeletePipelineRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -2394,6 +2408,7 @@ "includeStatistics": { "target": "com.amazonaws.iotanalytics#IncludeStatisticsFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, additional statistical information about the channel is included in the response.\n This feature can't be used with a channel whose S3 storage is customer-managed.
", "smithy.api#httpQuery": "includeStatistics" } @@ -2523,6 +2538,7 @@ "includeStatistics": { "target": "com.amazonaws.iotanalytics#IncludeStatisticsFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, additional statistical information about the data store is included in the\n response. This feature can't be used with a data store whose S3 storage is\n customer-managed.
", "smithy.api#httpQuery": "includeStatistics" } @@ -2738,7 +2754,10 @@ } }, "com.amazonaws.iotanalytics#DoubleValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotanalytics#EndTime": { "type": "timestamp" @@ -2973,7 +2992,10 @@ } }, "com.amazonaws.iotanalytics#IncludeStatisticsFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotanalytics#InternalFailureException": { "type": "structure", @@ -3646,7 +3668,10 @@ "type": "string" }, "com.amazonaws.iotanalytics#LoggingEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotanalytics#LoggingLevel": { "type": "string", @@ -3679,6 +3704,7 @@ "enabled": { "target": "com.amazonaws.iotanalytics#LoggingEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, logging is enabled for IoT Analytics.
", "smithy.api#required": {} } @@ -3735,7 +3761,6 @@ "com.amazonaws.iotanalytics#MaxMessages": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -3745,7 +3770,6 @@ "com.amazonaws.iotanalytics#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -3755,7 +3779,6 @@ "com.amazonaws.iotanalytics#MaxVersions": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3819,10 +3842,7 @@ "type": "string" }, "com.amazonaws.iotanalytics#OffsetSeconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iotanalytics#OutputFileName": { "type": "string", @@ -4079,6 +4099,9 @@ "input": { "target": "com.amazonaws.iotanalytics#PutLoggingOptionsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -4279,6 +4302,7 @@ "volumeSizeInGB": { "target": "com.amazonaws.iotanalytics#VolumeSizeInGB", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size, in GB, of the persistent storage available to the resource instance used to\n execute the containerAction (min: 1, max: 50).
If true, message data is kept indefinitely.
" } }, @@ -4324,7 +4349,6 @@ "com.amazonaws.iotanalytics#RetentionPeriodInDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4655,7 +4679,6 @@ "com.amazonaws.iotanalytics#SessionTimeoutInMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 60 @@ -4663,10 +4686,7 @@ } }, "com.amazonaws.iotanalytics#SizeInBytes": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.iotanalytics#SqlQuery": { "type": "string" @@ -4974,10 +4994,16 @@ } }, "com.amazonaws.iotanalytics#UnlimitedRetentionPeriod": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotanalytics#UnlimitedVersioning": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotanalytics#UntagResource": { "type": "operation", @@ -5046,6 +5072,9 @@ "input": { "target": "com.amazonaws.iotanalytics#UpdateChannelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -5102,6 +5131,9 @@ "input": { "target": "com.amazonaws.iotanalytics#UpdateDatasetRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -5183,6 +5215,9 @@ "input": { "target": "com.amazonaws.iotanalytics#UpdateDatastoreRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -5245,6 +5280,9 @@ "input": { "target": "com.amazonaws.iotanalytics#UpdatePipelineRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -5313,7 +5351,7 @@ "doubleValue": { "target": "com.amazonaws.iotanalytics#DoubleValue", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The value of the variable as a double (numeric).
" } }, @@ -5361,6 +5399,7 @@ "unlimited": { "target": "com.amazonaws.iotanalytics#UnlimitedVersioning", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, unlimited versions of dataset contents are kept.
" } }, @@ -5378,6 +5417,7 @@ "com.amazonaws.iotanalytics#VolumeSizeInGB": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 diff --git a/codegen/sdk/aws-models/iotdeviceadvisor.json b/codegen/sdk/aws-models/iotdeviceadvisor.json index 077844bed4e..77fc67702de 100644 --- a/codegen/sdk/aws-models/iotdeviceadvisor.json +++ b/codegen/sdk/aws-models/iotdeviceadvisor.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -592,7 +592,10 @@ } }, "com.amazonaws.iotdeviceadvisor#IntendedForQualificationBoolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotdeviceadvisor#InternalServerException": { "type": "structure", @@ -612,21 +615,6 @@ }, "com.amazonaws.iotdeviceadvisor#IotSenateService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IotDeviceAdvisor", - "arnNamespace": "iotdeviceadvisor", - "cloudFormationName": "IotDeviceAdvisor", - "cloudTrailEventSource": "iotdeviceadvisor.amazonaws.com", - "endpointPrefix": "api.iotdeviceadvisor" - }, - "aws.auth#sigv4": { - "name": "iotdeviceadvisor" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for validating IoT\n devices during device software development. Device Advisor provides pre-built tests that you\n can use to validate IoT devices for reliable and secure connectivity with Amazon Web Services IoT Core\n before deploying devices to production. By using Device Advisor, you can confirm that your\n devices can connect to Amazon Web Services IoT Core, follow security best practices and, if applicable,\n receive software updates from IoT Device Management. You can also download signed\n qualification reports to submit to the Amazon Web Services Partner Network to get your device\n qualified for the Amazon Web Services Partner Device Catalog without the need to send your device in\n and wait for it to be tested.
", - "smithy.api#title": "AWS IoT Core Device Advisor" - }, "version": "2020-09-18", "operations": [ { @@ -671,10 +659,28 @@ { "target": "com.amazonaws.iotdeviceadvisor#UpdateSuiteDefinition" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IotDeviceAdvisor", + "arnNamespace": "iotdeviceadvisor", + "cloudFormationName": "IotDeviceAdvisor", + "cloudTrailEventSource": "iotdeviceadvisor.amazonaws.com", + "endpointPrefix": "api.iotdeviceadvisor" + }, + "aws.auth#sigv4": { + "name": "iotdeviceadvisor" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for validating IoT\n devices during device software development. Device Advisor provides pre-built tests that you\n can use to validate IoT devices for reliable and secure connectivity with Amazon Web Services IoT Core\n before deploying devices to production. By using Device Advisor, you can confirm that your\n devices can connect to Amazon Web Services IoT Core, follow security best practices and, if applicable,\n receive software updates from IoT Device Management. You can also download signed\n qualification reports to submit to the Amazon Web Services Partner Network to get your device\n qualified for the Amazon Web Services Partner Device Catalog without the need to send your device in\n and wait for it to be tested.
", + "smithy.api#title": "AWS IoT Core Device Advisor" + } }, "com.amazonaws.iotdeviceadvisor#IsLongDurationTestBoolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotdeviceadvisor#ListSuiteDefinitions": { "type": "operation", @@ -712,6 +718,7 @@ "maxResults": { "target": "com.amazonaws.iotdeviceadvisor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return at once.
", "smithy.api#httpQuery": "maxResults" } @@ -792,6 +799,7 @@ "maxResults": { "target": "com.amazonaws.iotdeviceadvisor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return at once.
", "smithy.api#httpQuery": "maxResults" } @@ -880,6 +888,7 @@ "com.amazonaws.iotdeviceadvisor#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -896,7 +905,10 @@ } }, "com.amazonaws.iotdeviceadvisor#ParallelRun": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotdeviceadvisor#Protocol": { "type": "string", @@ -1167,12 +1179,14 @@ "intendedForQualification": { "target": "com.amazonaws.iotdeviceadvisor#IntendedForQualificationBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Gets the tests intended for qualification in a suite.
" } }, "isLongDurationTest": { "target": "com.amazonaws.iotdeviceadvisor#IsLongDurationTestBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Verifies if the test suite is a long duration test.
" } }, @@ -1223,12 +1237,14 @@ "intendedForQualification": { "target": "com.amazonaws.iotdeviceadvisor#IntendedForQualificationBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies if the test suite is intended for qualification.
" } }, "isLongDurationTest": { "target": "com.amazonaws.iotdeviceadvisor#IsLongDurationTestBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Verifies if the test suite is a long duration test.
" } }, @@ -1291,6 +1307,7 @@ "parallelRun": { "target": "com.amazonaws.iotdeviceadvisor#ParallelRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "TRUE if multiple test suites run in parallel.
" } } @@ -1353,12 +1370,14 @@ "passed": { "target": "com.amazonaws.iotdeviceadvisor#SuiteRunResultCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of test cases that passed in the suite run.
" } }, "failed": { "target": "com.amazonaws.iotdeviceadvisor#SuiteRunResultCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of test cases that failed in the suite run.
" } } @@ -1370,6 +1389,7 @@ "com.amazonaws.iotdeviceadvisor#SuiteRunResultCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 500 diff --git a/codegen/sdk/aws-models/iotfleethub.json b/codegen/sdk/aws-models/iotfleethub.json index ed94d45deed..4f3965a2a07 100644 --- a/codegen/sdk/aws-models/iotfleethub.json +++ b/codegen/sdk/aws-models/iotfleethub.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -140,12 +140,14 @@ "applicationCreationDate": { "target": "com.amazonaws.iotfleethub#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The date (in Unix epoch time) when the web application was created.
" } }, "applicationLastUpdateDate": { "target": "com.amazonaws.iotfleethub#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The date (in Unix epoch time) when the web application was last updated.
" } }, @@ -428,6 +430,7 @@ "applicationCreationDate": { "target": "com.amazonaws.iotfleethub#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The date (in Unix epoch time) when the application was created.
", "smithy.api#required": {} } @@ -435,6 +438,7 @@ "applicationLastUpdateDate": { "target": "com.amazonaws.iotfleethub#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The date (in Unix epoch time) when the application was last updated.
", "smithy.api#required": {} } @@ -786,7 +790,10 @@ } }, "com.amazonaws.iotfleethub#Timestamp": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotfleethub#UntagResource": { "type": "operation", diff --git a/codegen/sdk/aws-models/iotfleetwise.json b/codegen/sdk/aws-models/iotfleetwise.json index 14a8e70ee67..be0d510b566 100644 --- a/codegen/sdk/aws-models/iotfleetwise.json +++ b/codegen/sdk/aws-models/iotfleetwise.json @@ -7319,4 +7319,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/iotsecuretunneling.json b/codegen/sdk/aws-models/iotsecuretunneling.json index caa781f3097..a88c250df9b 100644 --- a/codegen/sdk/aws-models/iotsecuretunneling.json +++ b/codegen/sdk/aws-models/iotsecuretunneling.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -99,7 +99,7 @@ "delete": { "target": "com.amazonaws.iotsecuretunneling#DeleteFlag", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "When set to true, IoT Secure Tunneling deletes the tunnel data\n\t\t\timmediately.
", "smithy.api#httpQuery": "delete" } @@ -149,7 +149,10 @@ "type": "timestamp" }, "com.amazonaws.iotsecuretunneling#DeleteFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotsecuretunneling#DescribeTunnel": { "type": "operation", @@ -229,21 +232,6 @@ }, "com.amazonaws.iotsecuretunneling#IoTSecuredTunneling": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoTSecureTunneling", - "arnNamespace": "iotsecuredtunneling", - "cloudFormationName": "IoTSecureTunneling", - "cloudTrailEventSource": "iotsecuretunneling.amazonaws.com", - "endpointPrefix": "api.tunneling.iot" - }, - "aws.auth#sigv4": { - "name": "IoTSecuredTunneling" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "IoT Secure Tunneling creates remote connections to devices deployed in the\n\t\t\tfield.
\n\t\tFor more information about how IoT Secure Tunneling works, see IoT\n\t\t\t\tSecure Tunneling.
", - "smithy.api#title": "AWS IoT Secure Tunneling" - }, "version": "2018-10-05", "operations": [ { @@ -270,7 +258,22 @@ { "target": "com.amazonaws.iotsecuretunneling#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoTSecureTunneling", + "arnNamespace": "iotsecuredtunneling", + "cloudFormationName": "IoTSecureTunneling", + "cloudTrailEventSource": "iotsecuretunneling.amazonaws.com", + "endpointPrefix": "api.tunneling.iot" + }, + "aws.auth#sigv4": { + "name": "IoTSecuredTunneling" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "IoT Secure Tunneling creates remote connections to devices deployed in the\n\t\t\tfield.
\n\t\tFor more information about how IoT Secure Tunneling works, see IoT\n\t\t\t\tSecure Tunneling.
", + "smithy.api#title": "AWS IoT Secure Tunneling" + } }, "com.amazonaws.iotsecuretunneling#LimitExceededException": { "type": "structure", @@ -370,7 +373,7 @@ "maxResults": { "target": "com.amazonaws.iotsecuretunneling#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return at once.
", "smithy.api#httpQuery": "maxResults" } @@ -404,6 +407,7 @@ "com.amazonaws.iotsecuretunneling#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -729,7 +733,7 @@ "maxLifetimeTimeoutMinutes": { "target": "com.amazonaws.iotsecuretunneling#TimeoutInMin", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum amount of time (in minutes) a tunnel can remain open. If not specified,\n\t\t\tmaxLifetimeTimeoutMinutes defaults to 720 minutes. Valid values are from 1 minute to 12\n\t\t\thours (720 minutes)
" } } @@ -741,6 +745,7 @@ "com.amazonaws.iotsecuretunneling#TimeoutInMin": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 720 diff --git a/codegen/sdk/aws-models/iotsitewise.json b/codegen/sdk/aws-models/iotsitewise.json index 6b881856c43..d2bb61d2a08 100644 --- a/codegen/sdk/aws-models/iotsitewise.json +++ b/codegen/sdk/aws-models/iotsitewise.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -41,21 +41,6 @@ }, "com.amazonaws.iotsitewise#AWSIoTSiteWise": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoTSiteWise", - "arnNamespace": "iotsitewise", - "cloudFormationName": "IoTSiteWise", - "cloudTrailEventSource": "iotsitewise.amazonaws.com", - "endpointPrefix": "iotsitewise" - }, - "aws.auth#sigv4": { - "name": "iotsitewise" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Welcome to the IoT SiteWise API Reference. IoT SiteWise is an Amazon Web Services service that connects Industrial Internet of Things (IIoT) devices to the power of the Amazon Web Services Cloud. For more information, see the\n IoT SiteWise User Guide. For information about IoT SiteWise quotas, see Quotas in the IoT SiteWise User Guide.
", - "smithy.api#title": "AWS IoT SiteWise" - }, "version": "2019-12-02", "operations": [ { @@ -271,7 +256,22 @@ { "target": "com.amazonaws.iotsitewise#UpdateProject" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoTSiteWise", + "arnNamespace": "iotsitewise", + "cloudFormationName": "IoTSiteWise", + "cloudTrailEventSource": "iotsitewise.amazonaws.com", + "endpointPrefix": "iotsitewise" + }, + "aws.auth#sigv4": { + "name": "iotsitewise" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Welcome to the IoT SiteWise API Reference. IoT SiteWise is an Amazon Web Services service that connects Industrial Internet of Things (IIoT) devices to the power of the Amazon Web Services Cloud. For more information, see the\n IoT SiteWise User Guide. For information about IoT SiteWise quotas, see Quotas in the IoT SiteWise User Guide.
", + "smithy.api#title": "AWS IoT SiteWise" + } }, "com.amazonaws.iotsitewise#AccessPolicySummaries": { "type": "list", @@ -370,10 +370,7 @@ } }, "com.amazonaws.iotsitewise#AggregatedDoubleValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.iotsitewise#AggregatedValue": { "type": "structure", @@ -1874,7 +1871,6 @@ "com.amazonaws.iotsitewise#BatchGetAssetPropertyAggregatesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -2332,7 +2328,6 @@ "com.amazonaws.iotsitewise#BatchGetAssetPropertyValueHistoryMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -7313,7 +7308,6 @@ "com.amazonaws.iotsitewise#IntervalInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 320000000 @@ -7323,7 +7317,6 @@ "com.amazonaws.iotsitewise#IntervalWindowInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 320000000 @@ -8672,7 +8665,6 @@ "com.amazonaws.iotsitewise#MaxInterpolatedResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -8681,7 +8673,6 @@ "com.amazonaws.iotsitewise#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -8861,7 +8852,6 @@ "com.amazonaws.iotsitewise#NumberOfDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 30 } @@ -8879,7 +8869,6 @@ "com.amazonaws.iotsitewise#OffsetInNanos": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 999999999 @@ -9272,22 +9261,13 @@ } }, "com.amazonaws.iotsitewise#PropertyValueBooleanValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotsitewise#PropertyValueDoubleValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.iotsitewise#PropertyValueIntegerValue": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iotsitewise#PropertyValueStringValue": { "type": "string" @@ -9921,7 +9901,6 @@ "com.amazonaws.iotsitewise#TimeInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 9223372036854774 @@ -10156,10 +10135,7 @@ } }, "com.amazonaws.iotsitewise#Unlimited": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotsitewise#UntagResource": { "type": "operation", diff --git a/codegen/sdk/aws-models/iotthingsgraph.json b/codegen/sdk/aws-models/iotthingsgraph.json index 3b8c615786b..a879352257e 100644 --- a/codegen/sdk/aws-models/iotthingsgraph.json +++ b/codegen/sdk/aws-models/iotthingsgraph.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -620,7 +620,10 @@ } }, "com.amazonaws.iotthingsgraph#DeprecateExistingEntities": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotthingsgraph#DeprecateFlowTemplate": { "type": "operation", @@ -840,7 +843,10 @@ "members": {} }, "com.amazonaws.iotthingsgraph#Enabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotthingsgraph#EntityDescription": { "type": "structure", @@ -1890,21 +1896,6 @@ }, "com.amazonaws.iotthingsgraph#IotThingsGraphFrontEndService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoTThingsGraph", - "arnNamespace": "iotthingsgraph", - "cloudFormationName": "IoTThingsGraph", - "cloudTrailEventSource": "iotthingsgraph.amazonaws.com", - "endpointPrefix": "iotthingsgraph" - }, - "aws.auth#sigv4": { - "name": "iotthingsgraph" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards, \n such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services \n and defining how they interact at an abstract level.
\nFor more information about how AWS IoT Things Graph works, see the User Guide.
\n \nThe AWS IoT Things Graph service is discontinued.
", - "smithy.api#title": "AWS IoT Things Graph" - }, "version": "2018-09-06", "operations": [ { @@ -2012,7 +2003,22 @@ { "target": "com.amazonaws.iotthingsgraph#UploadEntityDefinitions" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoTThingsGraph", + "arnNamespace": "iotthingsgraph", + "cloudFormationName": "IoTThingsGraph", + "cloudTrailEventSource": "iotthingsgraph.amazonaws.com", + "endpointPrefix": "iotthingsgraph" + }, + "aws.auth#sigv4": { + "name": "iotthingsgraph" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards, \n such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services \n and defining how they interact at an abstract level.
\nFor more information about how AWS IoT Things Graph works, see the User Guide.
\n \nThe AWS IoT Things Graph service is discontinued.
", + "smithy.api#title": "AWS IoT Things Graph" + } }, "com.amazonaws.iotthingsgraph#LimitExceededException": { "type": "structure", @@ -2182,7 +2188,6 @@ "com.amazonaws.iotthingsgraph#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -2195,6 +2200,7 @@ "cloudMetricEnabled": { "target": "com.amazonaws.iotthingsgraph#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean that specifies whether cloud metrics are collected.
" } }, @@ -2798,7 +2804,10 @@ } }, "com.amazonaws.iotthingsgraph#SyncWithPublicNamespace": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotthingsgraph#SystemInstanceDeploymentStatus": { "type": "string", @@ -3566,12 +3575,14 @@ "syncWithPublicNamespace": { "target": "com.amazonaws.iotthingsgraph#SyncWithPublicNamespace", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to true, the upload will create a new namespace version.
A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument. \n If set to true, the upload will create a new namespace version.
IoT TwinMaker is a service that enables you to build operational digital twins of\n physical systems. IoT TwinMaker overlays measurements and analysis from real-world sensors,\n cameras, and enterprise applications so you can create data visualizations to monitor your\n physical factory, building, or industrial plant. You can use this real-world data to\n monitor operations and diagnose and repair errors.
", - "smithy.api#title": "AWS IoT TwinMaker" - }, "version": "2021-11-29", "operations": [ { @@ -98,7 +83,22 @@ { "target": "com.amazonaws.iottwinmaker#UpdateWorkspace" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoTTwinMaker", + "arnNamespace": "awsiottwinmaker", + "cloudFormationName": "AWSIoTTwinMaker", + "cloudTrailEventSource": "awsiottwinmaker.amazonaws.com", + "endpointPrefix": "iottwinmaker" + }, + "aws.auth#sigv4": { + "name": "iottwinmaker" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "IoT TwinMaker is a service that enables you to build operational digital twins of\n physical systems. IoT TwinMaker overlays measurements and analysis from real-world sensors,\n cameras, and enterprise applications so you can create data visualizations to monitor your\n physical factory, building, or industrial plant. You can use this real-world data to\n monitor operations and diagnose and repair errors.
", + "smithy.api#title": "AWS IoT TwinMaker" + } }, "com.amazonaws.iottwinmaker#AccessDeniedException": { "type": "structure", @@ -224,10 +224,7 @@ } }, "com.amazonaws.iottwinmaker#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iottwinmaker#ComponentRequest": { "type": "structure", @@ -1359,10 +1356,7 @@ } }, "com.amazonaws.iottwinmaker#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.iottwinmaker#EntityId": { "type": "string", @@ -2454,10 +2448,7 @@ } }, "com.amazonaws.iottwinmaker#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iottwinmaker#InternalServerException": { "type": "structure", @@ -2504,10 +2495,7 @@ } }, "com.amazonaws.iottwinmaker#IntervalInSeconds": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iottwinmaker#LambdaArn": { "type": "string", @@ -3010,15 +2998,11 @@ } }, "com.amazonaws.iottwinmaker#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iottwinmaker#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 200 @@ -3532,9 +3516,12 @@ } }, "com.amazonaws.iottwinmaker#RequiredProperties": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.iottwinmaker#Name" + }, + "traits": { + "smithy.api#uniqueItems": {} } }, "com.amazonaws.iottwinmaker#ResourceNotFoundException": { @@ -4469,4 +4456,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/ivs.json b/codegen/sdk/aws-models/ivs.json index f3601cbd93e..cbcde9af618 100644 --- a/codegen/sdk/aws-models/ivs.json +++ b/codegen/sdk/aws-models/ivs.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.ivs#AccessDeniedException": { "type": "structure", @@ -19,39 +19,6 @@ }, "com.amazonaws.ivs#AmazonInteractiveVideoService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ivs", - "arnNamespace": "ivs", - "cloudFormationName": "IVS", - "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE", - "endpointPrefix": "ivs" - }, - "aws.auth#sigv4": { - "name": "ivs" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "amz-sdk-invocation-id", - "amz-sdk-request", - "X-Api-Key", - "X-Amz-Content-Sha256", - "Content-Type", - "X-Amz-User-Agent" - ], - "additionalExposedHeaders": [ - "date", - "x-amz-apigw-id", - "x-amzn-trace-id", - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-errormessage" - ] - }, - "smithy.api#documentation": "\n Introduction\n
\nThe Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP\n API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both\n requests and responses, including errors.
\nThe API is an Amazon Web Services regional service. For a list of supported regions and\n Amazon IVS HTTPS service endpoints, see the Amazon IVS page in the\n Amazon Web Services General Reference.
\n\n \n All API request parameters and URLs are case sensitive.\n \n \n
\nFor a summary of notable documentation changes in each release, see Document\n History.
\n\n Allowed Header Values\n
\n\n \n Accept:\n application/json
\n \n Accept-Encoding:\n gzip, deflate
\n \n Content-Type:\n application/json
\n Resources\n
\nThe following resources contain information about your IVS live stream (see Getting Started with\n Amazon IVS):
\nChannel — Stores configuration data related to your live stream. You first create a\n channel and then use the channel’s stream key to start your live stream. See the Channel\n endpoints for more information.
\nStream key — An identifier assigned by Amazon IVS when you create a channel, which is\n then used to authorize streaming. See the StreamKey endpoints for more information.\n \n Treat the stream key like a secret, since it allows\n anyone to stream to the channel.\n \n
\nPlayback key pair — Video playback may be restricted using playback-authorization\n tokens, which use public-key encryption. A playback key pair is the public-private pair of\n keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair\n endpoints for more information.
\nRecording configuration — Stores configuration related to recording a live stream and\n where to store the recorded content. Multiple channels can reference the same recording\n configuration. See the Recording Configuration endpoints for more information.
\n\n Tagging\n
\nA tag is a metadata label that you assign to an Amazon Web Services\n resource. A tag comprises a key and a value, both\n set by you. For example, you might set a tag as topic:nature to label a\n particular video category. See Tagging Amazon Web Services Resources for\n more information, including restrictions that apply to tags and \"Tag naming limits and\n requirements\"; Amazon IVS has no service-specific constraints beyond what is documented\n there.
Tags can help you identify and organize your Amazon Web Services resources. For example,\n you can use the same tag for different resources to indicate that they are related. You can\n also use tags to manage access (see Access Tags).
\nThe Amazon IVS API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following\n resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording\n Configurations.
\nAt most 50 tags can be applied to a resource.
\n\n Authentication versus Authorization\n
\nNote the differences between these concepts:
\n\n Authentication is about verifying identity. You need to be\n authenticated to sign Amazon IVS API requests.
\n\n Authorization is about granting permissions. Your IAM roles need\n to have permissions for Amazon IVS API requests. In addition, authorization is needed to\n view Amazon\n IVS private channels. (Private channels are channels that are enabled for\n \"playback authorization.\")
\n\n Authentication\n
\nAll Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services\n Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying\n API calls for you. However, if your application calls the Amazon IVS API directly, it’s your\n responsibility to sign the requests.
\nYou generate a signature using valid Amazon Web Services credentials that have permission\n to perform the requested action. For example, you must sign PutMetadata requests with a\n signature generated from an IAM user account that has the ivs:PutMetadata\n permission.
For more information:
\nAuthentication and generating signatures — See Authenticating Requests\n (Amazon Web Services Signature Version 4) in the Amazon Web Services\n General Reference.
\nManaging Amazon IVS permissions — See Identity and Access Management on\n the Security page of the Amazon IVS User Guide.
\n\n Amazon Resource Names (ARNs)\n
\nARNs uniquely identify AWS resources. An ARN is required when you need to specify a\n resource unambiguously across all of AWS, such as in IAM policies and API calls. For more\n information, see Amazon Resource Names in the AWS General\n Reference.
\n\n Channel Endpoints\n
\n\n CreateChannel — Creates a new channel and an associated stream\n key to start streaming.
\n\n GetChannel — Gets the channel configuration for the specified\n channel ARN.
\n\n BatchGetChannel — Performs GetChannel on\n multiple ARNs simultaneously.
\n\n ListChannels — Gets summary information about all channels in\n your account, in the Amazon Web Services region where the API request is processed. This\n list can be filtered to match a specified name or recording-configuration ARN. Filters are\n mutually exclusive and cannot be used together. If you try to use both filters, you will\n get an error (409 Conflict Exception).
\n\n UpdateChannel — Updates a channel's configuration. This does\n not affect an ongoing stream of this channel. You must stop and restart the stream for the\n changes to take effect.
\n\n DeleteChannel — Deletes the specified channel.
\n\n StreamKey Endpoints\n
\n\n CreateStreamKey — Creates a stream key, used to initiate a\n stream, for the specified channel ARN.
\n\n GetStreamKey — Gets stream key information for the specified\n ARN.
\n\n BatchGetStreamKey — Performs GetStreamKey on\n multiple ARNs simultaneously.
\n\n ListStreamKeys — Gets summary information about stream keys\n for the specified channel.
\n\n DeleteStreamKey — Deletes the stream key for the specified\n ARN, so it can no longer be used to stream.
\n\n Stream Endpoints\n
\n\n GetStream — Gets information about the active (live) stream on\n a specified channel.
\n\n GetStreamSession — Gets metadata on a specified stream.
\n\n ListStreams — Gets summary information about live streams in\n your account, in the Amazon Web Services region where the API request is processed.
\n\n ListStreamSessions — Gets a summary of current and previous\n streams for a specified channel in your account, in the AWS region where the API request\n is processed.
\n\n StopStream — Disconnects the incoming RTMPS stream for the\n specified channel. Can be used in conjunction with DeleteStreamKey to\n prevent further streaming to a channel.
\n\n PutMetadata — Inserts metadata into the active stream of the\n specified channel. At most 5 requests per second per channel are allowed, each with a\n maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching\n your data into a single PutMetadata call.) At most 155 requests per second per account are\n allowed.
\n\n PlaybackKeyPair Endpoints\n
\nFor more information, see Setting Up Private Channels in the\n Amazon IVS User Guide.
\n\n ImportPlaybackKeyPair — Imports the public portion of a new\n key pair and returns its arn and fingerprint. The\n privateKey can then be used to generate viewer authorization tokens, to\n grant viewers access to private channels (channels enabled for playback\n authorization).
\n GetPlaybackKeyPair — Gets a specified playback authorization\n key pair and returns the arn and fingerprint. The\n privateKey held by the caller can be used to generate viewer authorization\n tokens, to grant viewers access to private channels.
\n ListPlaybackKeyPairs — Gets summary information about playback\n key pairs.
\n\n DeletePlaybackKeyPair — Deletes a specified authorization key\n pair. This invalidates future viewer tokens generated using the key pair’s\n privateKey.
\n RecordingConfiguration Endpoints\n
\n\n CreateRecordingConfiguration — Creates a new recording\n configuration, used to enable recording to Amazon S3.
\n\n GetRecordingConfiguration — Gets the recording-configuration\n metadata for the specified ARN.
\n\n ListRecordingConfigurations — Gets summary information about\n all recording configurations in your account, in the Amazon Web Services region where the\n API request is processed.
\n\n DeleteRecordingConfiguration — Deletes the recording\n configuration for the specified ARN.
\n\n Amazon Web Services Tags Endpoints\n
\n\n TagResource — Adds or updates tags for the Amazon Web Services\n resource with the specified ARN.
\n\n UntagResource — Removes tags from the resource with the\n specified ARN.
\n\n ListTagsForResource — Gets information about Amazon Web Services tags for the specified ARN.
\n\n Introduction\n
\nThe Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP\n API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both\n requests and responses, including errors.
\nThe API is an Amazon Web Services regional service. For a list of supported regions and\n Amazon IVS HTTPS service endpoints, see the Amazon IVS page in the\n Amazon Web Services General Reference.
\n\n \n All API request parameters and URLs are case sensitive.\n \n \n
\nFor a summary of notable documentation changes in each release, see Document\n History.
\n\n Allowed Header Values\n
\n\n \n Accept:\n application/json
\n \n Accept-Encoding:\n gzip, deflate
\n \n Content-Type:\n application/json
\n Resources\n
\nThe following resources contain information about your IVS live stream (see Getting Started with\n Amazon IVS):
\nChannel — Stores configuration data related to your live stream. You first create a\n channel and then use the channel’s stream key to start your live stream. See the Channel\n endpoints for more information.
\nStream key — An identifier assigned by Amazon IVS when you create a channel, which is\n then used to authorize streaming. See the StreamKey endpoints for more information.\n \n Treat the stream key like a secret, since it allows\n anyone to stream to the channel.\n \n
\nPlayback key pair — Video playback may be restricted using playback-authorization\n tokens, which use public-key encryption. A playback key pair is the public-private pair of\n keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair\n endpoints for more information.
\nRecording configuration — Stores configuration related to recording a live stream and\n where to store the recorded content. Multiple channels can reference the same recording\n configuration. See the Recording Configuration endpoints for more information.
\n\n Tagging\n
\nA tag is a metadata label that you assign to an Amazon Web Services\n resource. A tag comprises a key and a value, both\n set by you. For example, you might set a tag as topic:nature to label a\n particular video category. See Tagging Amazon Web Services Resources for\n more information, including restrictions that apply to tags and \"Tag naming limits and\n requirements\"; Amazon IVS has no service-specific constraints beyond what is documented\n there.
Tags can help you identify and organize your Amazon Web Services resources. For example,\n you can use the same tag for different resources to indicate that they are related. You can\n also use tags to manage access (see Access Tags).
\nThe Amazon IVS API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following\n resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording\n Configurations.
\nAt most 50 tags can be applied to a resource.
\n\n Authentication versus Authorization\n
\nNote the differences between these concepts:
\n\n Authentication is about verifying identity. You need to be\n authenticated to sign Amazon IVS API requests.
\n\n Authorization is about granting permissions. Your IAM roles need\n to have permissions for Amazon IVS API requests. In addition, authorization is needed to\n view Amazon\n IVS private channels. (Private channels are channels that are enabled for\n \"playback authorization.\")
\n\n Authentication\n
\nAll Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services\n Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying\n API calls for you. However, if your application calls the Amazon IVS API directly, it’s your\n responsibility to sign the requests.
\nYou generate a signature using valid Amazon Web Services credentials that have permission\n to perform the requested action. For example, you must sign PutMetadata requests with a\n signature generated from an IAM user account that has the ivs:PutMetadata\n permission.
For more information:
\nAuthentication and generating signatures — See Authenticating Requests\n (Amazon Web Services Signature Version 4) in the Amazon Web Services\n General Reference.
\nManaging Amazon IVS permissions — See Identity and Access Management on\n the Security page of the Amazon IVS User Guide.
\n\n Amazon Resource Names (ARNs)\n
\nARNs uniquely identify AWS resources. An ARN is required when you need to specify a\n resource unambiguously across all of AWS, such as in IAM policies and API calls. For more\n information, see Amazon Resource Names in the AWS General\n Reference.
\n\n Channel Endpoints\n
\n\n CreateChannel — Creates a new channel and an associated stream\n key to start streaming.
\n\n GetChannel — Gets the channel configuration for the specified\n channel ARN.
\n\n BatchGetChannel — Performs GetChannel on\n multiple ARNs simultaneously.
\n\n ListChannels — Gets summary information about all channels in\n your account, in the Amazon Web Services region where the API request is processed. This\n list can be filtered to match a specified name or recording-configuration ARN. Filters are\n mutually exclusive and cannot be used together. If you try to use both filters, you will\n get an error (409 Conflict Exception).
\n\n UpdateChannel — Updates a channel's configuration. This does\n not affect an ongoing stream of this channel. You must stop and restart the stream for the\n changes to take effect.
\n\n DeleteChannel — Deletes the specified channel.
\n\n StreamKey Endpoints\n
\n\n CreateStreamKey — Creates a stream key, used to initiate a\n stream, for the specified channel ARN.
\n\n GetStreamKey — Gets stream key information for the specified\n ARN.
\n\n BatchGetStreamKey — Performs GetStreamKey on\n multiple ARNs simultaneously.
\n\n ListStreamKeys — Gets summary information about stream keys\n for the specified channel.
\n\n DeleteStreamKey — Deletes the stream key for the specified\n ARN, so it can no longer be used to stream.
\n\n Stream Endpoints\n
\n\n GetStream — Gets information about the active (live) stream on\n a specified channel.
\n\n GetStreamSession — Gets metadata on a specified stream.
\n\n ListStreams — Gets summary information about live streams in\n your account, in the Amazon Web Services region where the API request is processed.
\n\n ListStreamSessions — Gets a summary of current and previous\n streams for a specified channel in your account, in the AWS region where the API request\n is processed.
\n\n StopStream — Disconnects the incoming RTMPS stream for the\n specified channel. Can be used in conjunction with DeleteStreamKey to\n prevent further streaming to a channel.
\n\n PutMetadata — Inserts metadata into the active stream of the\n specified channel. At most 5 requests per second per channel are allowed, each with a\n maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching\n your data into a single PutMetadata call.) At most 155 requests per second per account are\n allowed.
\n\n PlaybackKeyPair Endpoints\n
\nFor more information, see Setting Up Private Channels in the\n Amazon IVS User Guide.
\n\n ImportPlaybackKeyPair — Imports the public portion of a new\n key pair and returns its arn and fingerprint. The\n privateKey can then be used to generate viewer authorization tokens, to\n grant viewers access to private channels (channels enabled for playback\n authorization).
\n GetPlaybackKeyPair — Gets a specified playback authorization\n key pair and returns the arn and fingerprint. The\n privateKey held by the caller can be used to generate viewer authorization\n tokens, to grant viewers access to private channels.
\n ListPlaybackKeyPairs — Gets summary information about playback\n key pairs.
\n\n DeletePlaybackKeyPair — Deletes a specified authorization key\n pair. This invalidates future viewer tokens generated using the key pair’s\n privateKey.
\n RecordingConfiguration Endpoints\n
\n\n CreateRecordingConfiguration — Creates a new recording\n configuration, used to enable recording to Amazon S3.
\n\n GetRecordingConfiguration — Gets the recording-configuration\n metadata for the specified ARN.
\n\n ListRecordingConfigurations — Gets summary information about\n all recording configurations in your account, in the Amazon Web Services region where the\n API request is processed.
\n\n DeleteRecordingConfiguration — Deletes the recording\n configuration for the specified ARN.
\n\n Amazon Web Services Tags Endpoints\n
\n\n TagResource — Adds or updates tags for the Amazon Web Services\n resource with the specified ARN.
\n\n UntagResource — Removes tags from the resource with the\n specified ARN.
\n\n ListTagsForResource — Gets information about Amazon Web Services tags for the specified ARN.
\nThe expected ingest bitrate (bits per second). This is configured in the encoder.
" } }, "sampleRate": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of audio samples recorded per second.
" } }, "channels": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of audio channels.
" } } @@ -299,7 +302,10 @@ } }, "com.amazonaws.ivs#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ivs#Channel": { "type": "structure", @@ -349,6 +355,7 @@ "authorized": { "target": "com.amazonaws.ivs#IsAuthorized", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the channel is private (enabled for playback authorization). Default:\n false.
Whether the channel is private (enabled for playback authorization). Default:\n false.
Whether the channel is private (enabled for playback authorization). Default:\n false.
If a broadcast disconnects and then reconnects within the specified interval, the multiple\n streams will be considered a single broadcast and merged together. Default: 0.
" } } @@ -1375,7 +1385,10 @@ "type": "string" }, "com.amazonaws.ivs#Integer": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ivs#InternalServerException": { "type": "structure", @@ -1394,7 +1407,10 @@ } }, "com.amazonaws.ivs#IsAuthorized": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ivs#ListChannels": { "type": "operation", @@ -1454,6 +1470,7 @@ "maxResults": { "target": "com.amazonaws.ivs#MaxChannelResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of channels to return. Default: 100.
" } } @@ -1520,6 +1537,7 @@ "maxResults": { "target": "com.amazonaws.ivs#MaxPlaybackKeyPairResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of key pairs to return. Default: your service quota or 100, whichever is\n smaller.
" } } @@ -1589,6 +1607,7 @@ "maxResults": { "target": "com.amazonaws.ivs#MaxRecordingConfigurationResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of recording configurations to return. Default: your service quota or 100,\n whichever is smaller.
" } } @@ -1665,6 +1684,7 @@ "maxResults": { "target": "com.amazonaws.ivs#MaxStreamKeyResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of streamKeys to return. Default: 1.
" } } @@ -1741,6 +1761,7 @@ "maxResults": { "target": "com.amazonaws.ivs#MaxStreamResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of streams to return. Default: 100.
" } } @@ -1813,6 +1834,7 @@ "maxResults": { "target": "com.amazonaws.ivs#MaxStreamResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of streams to return. Default: 100.
" } } @@ -1893,6 +1915,7 @@ "com.amazonaws.ivs#MaxChannelResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1902,6 +1925,7 @@ "com.amazonaws.ivs#MaxPlaybackKeyPairResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1911,6 +1935,7 @@ "com.amazonaws.ivs#MaxRecordingConfigurationResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1920,6 +1945,7 @@ "com.amazonaws.ivs#MaxStreamKeyResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -1929,6 +1955,7 @@ "com.amazonaws.ivs#MaxStreamResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2151,6 +2178,7 @@ "recordingReconnectWindowSeconds": { "target": "com.amazonaws.ivs#RecordingReconnectWindowSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "If a broadcast disconnects and then reconnects within the specified interval, the multiple\n streams will be considered a single broadcast and merged together. Default: 0.
" } } @@ -2263,6 +2291,7 @@ "com.amazonaws.ivs#RecordingReconnectWindowSeconds": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 300 @@ -2428,6 +2457,7 @@ "viewerCount": { "target": "com.amazonaws.ivs#StreamViewerCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A count of concurrent views of the stream. Typically, a new view appears in\n viewerCount within 15 seconds of when video playback starts and a view is\n removed from viewerCount within 1 minute of when video playback ends. A value of\n -1 indicates that the request timed out; in this case, retry.
If true, this stream encountered a quota breach or failure.
A count of concurrent views of the stream. Typically, a new view appears in\n viewerCount within 15 seconds of when video playback starts and a view is\n removed from viewerCount within 1 minute of when video playback ends. A value of\n -1 indicates that the request timed out; in this case, retry.
The targeted thumbnail-generation interval in seconds. This is configurable (and required)\n only if recordingMode is INTERVAL. Default: 60.
\n Important: Setting a value for\n targetIntervalSeconds does not guarantee that thumbnails are generated at the\n specified interval. For thumbnails to be generated at the targetIntervalSeconds\n interval, the IDR/Keyframe value for the input video must be less than the\n targetIntervalSeconds value. See Amazon IVS Streaming Configuration\n for information on setting IDR/Keyframe to the recommended value in video-encoder\n settings.
Whether the channel is private (enabled for playback authorization).
" } }, @@ -3135,24 +3173,28 @@ "targetBitrate": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The expected ingest bitrate (bits per second). This is configured in the encoder.
" } }, "targetFramerate": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The expected ingest framerate. This is configured in the encoder.
" } }, "videoHeight": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Video-resolution height in pixels.
" } }, "videoWidth": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Video-resolution width in pixels.
" } } @@ -3168,4 +3210,4 @@ "type": "string" } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/ivschat.json b/codegen/sdk/aws-models/ivschat.json index c425d4158ed..b9e5768f951 100644 --- a/codegen/sdk/aws-models/ivschat.json +++ b/codegen/sdk/aws-models/ivschat.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.ivschat#AccessDeniedException": { "type": "structure", @@ -19,39 +19,6 @@ }, "com.amazonaws.ivschat#AmazonInteractiveVideoServiceChat": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ivschat", - "arnNamespace": "ivschat", - "cloudFormationName": "IVSChat", - "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE" - }, - "aws.auth#sigv4": { - "name": "ivschat" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "Content-Type", - "X-Api-Key", - "X-Amz-Content-Sha256", - "X-Amz-User-Agent", - "amz-sdk-invocation-id", - "amz-sdk-request" - ], - "additionalExposedHeaders": [ - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-errormessage", - "x-amzn-trace-id", - "x-amzn-requestid", - "x-amz-apigw-id", - "date" - ] - }, - "smithy.api#documentation": "\n Introduction\n
\nThe Amazon IVS Chat control-plane API enables you to create and manage Amazon IVS Chat\n resources. You also need to integrate with the Amazon IVS Chat Messaging\n API, to enable users to interact with chat rooms in real time.
\nThe API is an AWS regional service. For a list of supported regions and Amazon IVS Chat\n HTTPS service endpoints, see the Amazon IVS Chat information on the Amazon IVS page in the\n AWS General Reference.
\n\n Notes on terminology:\n
\nYou create service applications using the Amazon IVS Chat API. We refer to these as\n applications.
\nYou create front-end client applications (browser and Android/iOS apps) using the\n Amazon IVS Chat Messaging API. We refer to these as clients.
\n\n Resources\n
\nThe following resource is part of Amazon IVS Chat:
\n\n Room — The central Amazon IVS Chat resource through\n which clients connect to and exchange chat messages. See the Room endpoints for more\n information.
\n\n Tagging\n
\nA tag is a metadata label that you assign to an AWS resource. A tag\n comprises a key and a value, both set by you. For\n example, you might set a tag as topic:nature to label a particular video\n category. See Tagging AWS Resources for more information, including restrictions that apply to\n tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no service-specific\n constraints beyond what is documented there.
Tags can help you identify and organize your AWS resources. For example, you can use the\n same tag for different resources to indicate that they are related. You can also use tags to\n manage access (see Access Tags).
\nThe Amazon IVS Chat API has these tag-related endpoints: TagResource, UntagResource, and\n ListTagsForResource. The following resource supports tagging: Room.
\nAt most 50 tags can be applied to a resource.
\n\n API Access Security\n
\nYour Amazon IVS Chat applications (service applications and clients) must be authenticated\n and authorized to access Amazon IVS Chat resources. Note the differences between these\n concepts:
\n\n Authentication is about verifying identity. Requests to the\n Amazon IVS Chat API must be signed to verify your identity.
\n\n Authorization is about granting permissions. Your IAM roles need\n to have permissions for Amazon IVS Chat API requests.
\nUsers (viewers) connect to a room using secure access tokens that you create using the\n CreateChatToken endpoint through the AWS SDK. You call CreateChatToken for\n every user’s chat session, passing identity and authorization information about the\n user.
\n\n Signing API Requests\n
\nHTTP API requests must be signed with an AWS SigV4 signature using your AWS security\n credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the\n underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API\n directly, it’s your responsibility to sign the requests.
\nYou generate a signature using valid AWS credentials for an IAM role that has permission\n to perform the requested action. For example, DeleteMessage requests must be made using an IAM\n role that has the ivschat:DeleteMessage permission.
For more information:
\nAuthentication and generating signatures — See Authenticating Requests\n (Amazon Web Services Signature Version 4) in the Amazon Web Services\n General Reference.
\nManaging Amazon IVS permissions — See Identity and Access Management on\n the Security page of the Amazon IVS User Guide.
\n\n Amazon Resource Names (ARNs)\n
\nARNs uniquely identify AWS resources. An ARN is required when you need to specify a\n resource unambiguously across all of AWS, such as in IAM policies and API calls. For more\n information, see Amazon Resource Names in the AWS General\n Reference.
\n\n Messaging Endpoints\n
\n\n DeleteMessage — Sends an event to a specific room which\n directs clients to delete a specific message; that is, unrender it from view and delete it\n from the client’s chat history. This event’s EventName is\n aws:DELETE_MESSAGE. This replicates the \n DeleteMessage WebSocket operation in the Amazon IVS Chat Messaging API.
\n DisconnectUser — Disconnects all connections using a specified\n user ID from a room. This replicates the \n DisconnectUser WebSocket operation in the Amazon IVS Chat Messaging API.
\n\n SendEvent — Sends an event to a room. Use this within your\n application’s business logic to send events to clients of a room; e.g., to notify clients\n to change the way the chat UI is rendered.
\n\n Chat Token Endpoint\n
\n\n CreateChatToken — Creates an encrypted token that is used to\n establish an individual WebSocket connection to a room. The token is valid for one minute,\n and a connection (session) established with the token is valid for the specified\n duration.
\n\n Room Endpoints\n
\n\n CreateRoom — Creates a room that allows clients to connect and\n pass messages.
\n\n DeleteRoom — Deletes the specified room.
\n\n GetRoom — Gets the specified room.
\n\n ListRooms — Gets summary information about all your rooms in\n the AWS region where the API request is processed.
\n\n UpdateRoom — Updates a room’s configuration.
\n\n Tags Endpoints\n
\n\n ListTagsForResource — Gets information about AWS tags for the\n specified ARN.
\n\n TagResource — Adds or updates tags for the AWS resource with\n the specified ARN.
\n\n UntagResource — Removes tags from the resource with the\n specified ARN.
\nAll the above are HTTP operations. There is a separate messaging API\n for managing Chat resources; see the Amazon IVS Chat Messaging API\n Reference.
", - "smithy.api#title": "Amazon Interactive Video Service Chat" - }, "version": "2020-07-14", "operations": [ { @@ -90,7 +57,40 @@ { "target": "com.amazonaws.ivschat#UpdateRoom" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ivschat", + "arnNamespace": "ivschat", + "cloudFormationName": "IVSChat", + "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE" + }, + "aws.auth#sigv4": { + "name": "ivschat" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "Content-Type", + "X-Api-Key", + "X-Amz-Content-Sha256", + "X-Amz-User-Agent", + "amz-sdk-invocation-id", + "amz-sdk-request" + ], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-errormessage", + "x-amzn-trace-id", + "x-amzn-requestid", + "x-amz-apigw-id", + "date" + ] + }, + "smithy.api#documentation": "\n Introduction\n
\nThe Amazon IVS Chat control-plane API enables you to create and manage Amazon IVS Chat\n resources. You also need to integrate with the Amazon IVS Chat Messaging\n API, to enable users to interact with chat rooms in real time.
\nThe API is an AWS regional service. For a list of supported regions and Amazon IVS Chat\n HTTPS service endpoints, see the Amazon IVS Chat information on the Amazon IVS page in the\n AWS General Reference.
\n\n Notes on terminology:\n
\nYou create service applications using the Amazon IVS Chat API. We refer to these as\n applications.
\nYou create front-end client applications (browser and Android/iOS apps) using the\n Amazon IVS Chat Messaging API. We refer to these as clients.
\n\n Resources\n
\nThe following resource is part of Amazon IVS Chat:
\n\n Room — The central Amazon IVS Chat resource through\n which clients connect to and exchange chat messages. See the Room endpoints for more\n information.
\n\n Tagging\n
\nA tag is a metadata label that you assign to an AWS resource. A tag\n comprises a key and a value, both set by you. For\n example, you might set a tag as topic:nature to label a particular video\n category. See Tagging AWS Resources for more information, including restrictions that apply to\n tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no service-specific\n constraints beyond what is documented there.
Tags can help you identify and organize your AWS resources. For example, you can use the\n same tag for different resources to indicate that they are related. You can also use tags to\n manage access (see Access Tags).
\nThe Amazon IVS Chat API has these tag-related endpoints: TagResource, UntagResource, and\n ListTagsForResource. The following resource supports tagging: Room.
\nAt most 50 tags can be applied to a resource.
\n\n API Access Security\n
\nYour Amazon IVS Chat applications (service applications and clients) must be authenticated\n and authorized to access Amazon IVS Chat resources. Note the differences between these\n concepts:
\n\n Authentication is about verifying identity. Requests to the\n Amazon IVS Chat API must be signed to verify your identity.
\n\n Authorization is about granting permissions. Your IAM roles need\n to have permissions for Amazon IVS Chat API requests.
\nUsers (viewers) connect to a room using secure access tokens that you create using the\n CreateChatToken endpoint through the AWS SDK. You call CreateChatToken for\n every user’s chat session, passing identity and authorization information about the\n user.
\n\n Signing API Requests\n
\nHTTP API requests must be signed with an AWS SigV4 signature using your AWS security\n credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the\n underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API\n directly, it’s your responsibility to sign the requests.
\nYou generate a signature using valid AWS credentials for an IAM role that has permission\n to perform the requested action. For example, DeleteMessage requests must be made using an IAM\n role that has the ivschat:DeleteMessage permission.
For more information:
\nAuthentication and generating signatures — See Authenticating Requests\n (Amazon Web Services Signature Version 4) in the Amazon Web Services\n General Reference.
\nManaging Amazon IVS permissions — See Identity and Access Management on\n the Security page of the Amazon IVS User Guide.
\n\n Amazon Resource Names (ARNs)\n
\nARNs uniquely identify AWS resources. An ARN is required when you need to specify a\n resource unambiguously across all of AWS, such as in IAM policies and API calls. For more\n information, see Amazon Resource Names in the AWS General\n Reference.
\n\n Messaging Endpoints\n
\n\n DeleteMessage — Sends an event to a specific room which\n directs clients to delete a specific message; that is, unrender it from view and delete it\n from the client’s chat history. This event’s EventName is\n aws:DELETE_MESSAGE. This replicates the \n DeleteMessage WebSocket operation in the Amazon IVS Chat Messaging API.
\n DisconnectUser — Disconnects all connections using a specified\n user ID from a room. This replicates the \n DisconnectUser WebSocket operation in the Amazon IVS Chat Messaging API.
\n\n SendEvent — Sends an event to a room. Use this within your\n application’s business logic to send events to clients of a room; e.g., to notify clients\n to change the way the chat UI is rendered.
\n\n Chat Token Endpoint\n
\n\n CreateChatToken — Creates an encrypted token that is used to\n establish an individual WebSocket connection to a room. The token is valid for one minute,\n and a connection (session) established with the token is valid for the specified\n duration.
\n\n Room Endpoints\n
\n\n CreateRoom — Creates a room that allows clients to connect and\n pass messages.
\n\n DeleteRoom — Deletes the specified room.
\n\n GetRoom — Gets the specified room.
\n\n ListRooms — Gets summary information about all your rooms in\n the AWS region where the API request is processed.
\n\n UpdateRoom — Updates a room’s configuration.
\n\n Tags Endpoints\n
\n\n ListTagsForResource — Gets information about AWS tags for the\n specified ARN.
\n\n TagResource — Adds or updates tags for the AWS resource with\n the specified ARN.
\n\n UntagResource — Removes tags from the resource with the\n specified ARN.
\nAll the above are HTTP operations. There is a separate messaging API\n for managing Chat resources; see the Amazon IVS Chat Messaging API\n Reference.
", + "smithy.api#title": "Amazon Interactive Video Service Chat" + } }, "com.amazonaws.ivschat#ChatToken": { "type": "string" @@ -215,6 +215,7 @@ "sessionDurationInMinutes": { "target": "com.amazonaws.ivschat#SessionDurationInMinutes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Session duration (in minutes), after which the session expires. Default: 60 (1\n hour).
" } }, @@ -297,12 +298,14 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of messages per second that can be sent to the room (by all clients).\n Default: 10.
" } }, "maximumMessageLength": { "target": "com.amazonaws.ivschat#RoomMaxMessageLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of characters in a single message. Messages are expected to be UTF-8\n encoded and this limit applies specifically to rune/code-point count, not number of bytes.\n Default: 500.
" } }, @@ -356,12 +359,14 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of messages per second that can be sent to the room (by all clients),\n from the request.
" } }, "maximumMessageLength": { "target": "com.amazonaws.ivschat#RoomMaxMessageLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of characters in a single message, from the request.
" } }, @@ -662,12 +667,14 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of messages per second that can be sent to the room (by all clients).\n Default: 10.
" } }, "maximumMessageLength": { "target": "com.amazonaws.ivschat#RoomMaxMessageLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of characters in a single message. Messages are expected to be UTF-8\n encoded and this limit applies specifically to rune/code-point count, not number of bytes.\n Default: 500.
" } }, @@ -722,7 +729,10 @@ } }, "com.amazonaws.ivschat#Limit": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ivschat#ListRooms": { "type": "operation", @@ -775,6 +785,7 @@ "maxResults": { "target": "com.amazonaws.ivschat#MaxRoomResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of rooms to return. Default: 50.
" } }, @@ -860,6 +871,7 @@ "com.amazonaws.ivschat#MaxRoomResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -1026,6 +1038,7 @@ "com.amazonaws.ivschat#RoomMaxMessageLength": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 500 @@ -1035,6 +1048,7 @@ "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -1192,6 +1206,7 @@ "limit": { "target": "com.amazonaws.ivschat#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "", "smithy.api#required": {} } @@ -1206,6 +1221,7 @@ "com.amazonaws.ivschat#SessionDurationInMinutes": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 180 @@ -1337,6 +1353,7 @@ "limit": { "target": "com.amazonaws.ivschat#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "", "smithy.api#required": {} } @@ -1456,12 +1473,14 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of messages per second that can be sent to the room (by all clients).\n Default: 10.
" } }, "maximumMessageLength": { "target": "com.amazonaws.ivschat#RoomMaxMessageLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of characters in a single message. Messages are expected to be UTF-8\n encoded and this limit applies specifically to rune/code-point count, not number of bytes.\n Default: 500.
" } }, @@ -1509,12 +1528,14 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of messages per second that can be sent to the room (by all clients),\n from the request.
" } }, "maximumMessageLength": { "target": "com.amazonaws.ivschat#RoomMaxMessageLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of characters in a single message, from the request.
" } }, @@ -1618,4 +1639,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/kafka.json b/codegen/sdk/aws-models/kafka.json index a421b532b1e..21be387edb2 100644 --- a/codegen/sdk/aws-models/kafka.json +++ b/codegen/sdk/aws-models/kafka.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -252,6 +252,7 @@ "VolumeSizeGB": { "target": "com.amazonaws.kafka#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size of the EBS volume to update.
", "smithy.api#jsonName": "volumeSizeGB" } @@ -349,6 +350,7 @@ "BrokerId": { "target": "com.amazonaws.kafka#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the broker.
", "smithy.api#jsonName": "brokerId" } @@ -399,6 +401,7 @@ "ConfigurationRevision": { "target": "com.amazonaws.kafka#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision of the configuration to use. This field isn't visible in this preview release.
", "smithy.api#jsonName": "configurationRevision" } @@ -470,6 +473,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#jsonName": "enabled", "smithy.api#required": {} } @@ -656,6 +660,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of broker nodes in the cluster.
", "smithy.api#jsonName": "numberOfBrokerNodes" } @@ -977,6 +982,7 @@ "Revision": { "target": "com.amazonaws.kafka#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision of the configuration to use.
", "smithy.api#jsonName": "revision", "smithy.api#required": {} @@ -1008,6 +1014,7 @@ "Revision": { "target": "com.amazonaws.kafka#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision number.
", "smithy.api#jsonName": "revision", "smithy.api#required": {} @@ -1188,6 +1195,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integerMin1Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of broker nodes in the cluster.
", "smithy.api#jsonName": "numberOfBrokerNodes", "smithy.api#required": {} @@ -1915,6 +1923,7 @@ "Revision": { "target": "com.amazonaws.kafka#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A string that uniquely identifies a revision of an MSK configuration.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -1949,6 +1958,7 @@ "Revision": { "target": "com.amazonaws.kafka#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision number.
", "smithy.api#jsonName": "revision" } @@ -1975,6 +1985,7 @@ "VolumeSize": { "target": "com.amazonaws.kafka#__integerMin1Max16384", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size in GiB of the EBS volume for the data drive on each broker node.
", "smithy.api#jsonName": "volumeSize" } @@ -2013,6 +2024,7 @@ "InCluster": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
\nThe default value is true.
", "smithy.api#jsonName": "inCluster" } @@ -2102,6 +2114,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#jsonName": "enabled", "smithy.api#required": {} } @@ -2303,6 +2316,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether IAM access control is enabled.
", "smithy.api#jsonName": "enabled" } @@ -2342,6 +2356,7 @@ "EnabledInBroker": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether you want to turn on or turn off the JMX Exporter.
", "smithy.api#jsonName": "enabledInBroker", "smithy.api#required": {} @@ -2358,6 +2373,7 @@ "EnabledInBroker": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether you want to turn on or turn off the JMX Exporter.
", "smithy.api#jsonName": "enabledInBroker", "smithy.api#required": {} @@ -2370,21 +2386,6 @@ }, "com.amazonaws.kafka#Kafka": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Kafka", - "arnNamespace": "kafka", - "cloudFormationName": "MSK", - "cloudTrailEventSource": "kafka.amazonaws.com", - "endpointPrefix": "kafka" - }, - "aws.auth#sigv4": { - "name": "kafka" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "The operations for managing an Amazon MSK cluster.
", - "smithy.api#title": "Managed Streaming for Kafka" - }, "version": "2018-11-14", "operations": [ { @@ -2492,7 +2493,22 @@ { "target": "com.amazonaws.kafka#UpdateSecurity" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Kafka", + "arnNamespace": "kafka", + "cloudFormationName": "MSK", + "cloudTrailEventSource": "kafka.amazonaws.com", + "endpointPrefix": "kafka" + }, + "aws.auth#sigv4": { + "name": "kafka" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "The operations for managing an Amazon MSK cluster.
", + "smithy.api#title": "Managed Streaming for Kafka" + } }, "com.amazonaws.kafka#KafkaVersion": { "type": "structure", @@ -2577,6 +2593,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
", "smithy.api#httpQuery": "maxResults" } @@ -2659,6 +2676,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
", "smithy.api#httpQuery": "maxResults" } @@ -2748,6 +2766,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
", "smithy.api#httpQuery": "maxResults" } @@ -2837,6 +2856,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
", "smithy.api#httpQuery": "maxResults" } @@ -2915,6 +2935,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
", "smithy.api#httpQuery": "maxResults" } @@ -2990,6 +3011,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
", "smithy.api#httpQuery": "maxResults" } @@ -3071,6 +3093,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
", "smithy.api#httpQuery": "maxResults" } @@ -3163,6 +3186,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maxResults of the query.
", "smithy.api#httpQuery": "maxResults" } @@ -3263,6 +3287,7 @@ "com.amazonaws.kafka#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -3289,6 +3314,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of broker nodes in the cluster.
", "smithy.api#jsonName": "numberOfBrokerNodes" } @@ -3360,6 +3386,7 @@ "EnabledInBroker": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether you want to turn on or turn off the Node Exporter.
", "smithy.api#jsonName": "enabledInBroker", "smithy.api#required": {} @@ -3376,6 +3403,7 @@ "EnabledInBroker": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether you want to turn on or turn off the Node Exporter.
", "smithy.api#jsonName": "enabledInBroker", "smithy.api#required": {} @@ -3604,6 +3632,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integerMin1Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of broker nodes in the cluster.
", "smithy.api#jsonName": "numberOfBrokerNodes", "smithy.api#required": {} @@ -3692,6 +3721,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integerMin1Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of broker nodes in the cluster.
", "smithy.api#jsonName": "numberOfBrokerNodes", "smithy.api#required": {} @@ -3708,6 +3738,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Provisioned throughput is enabled or not.", "smithy.api#jsonName": "enabled" } @@ -3715,6 +3746,7 @@ "VolumeThroughput": { "target": "com.amazonaws.kafka#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.", "smithy.api#jsonName": "volumeThroughput" } @@ -3834,6 +3866,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#jsonName": "enabled", "smithy.api#required": {} } @@ -3874,6 +3907,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "SASL/SCRAM authentication is enabled or not.
", "smithy.api#jsonName": "enabled" } @@ -4077,6 +4111,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether you want to turn on or turn off TLS authentication.
", "smithy.api#jsonName": "enabled" } @@ -4116,6 +4151,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether you want to turn on or turn off unauthenticated traffic to your cluster.
", "smithy.api#jsonName": "enabled" } @@ -4280,6 +4316,7 @@ "TargetNumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integerMin1Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of broker nodes that you want the cluster to have after this operation completes successfully.
", "smithy.api#jsonName": "targetNumberOfBrokerNodes", "smithy.api#required": {} @@ -5069,6 +5106,7 @@ "ZookeeperId": { "target": "com.amazonaws.kafka#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The role-specific ID for Zookeeper.
", "smithy.api#jsonName": "zookeeperId" } @@ -5089,17 +5127,27 @@ "type": "blob" }, "com.amazonaws.kafka#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.kafka#__double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.kafka#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.kafka#__integerMin1Max15": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 15 @@ -5109,6 +5157,7 @@ "com.amazonaws.kafka#__integerMin1Max16384": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 16384 @@ -5194,7 +5243,10 @@ } }, "com.amazonaws.kafka#__long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.kafka#__mapOf__string": { "type": "map", diff --git a/codegen/sdk/aws-models/kafkaconnect.json b/codegen/sdk/aws-models/kafkaconnect.json index 37d637406e6..437a9591f28 100644 --- a/codegen/sdk/aws-models/kafkaconnect.json +++ b/codegen/sdk/aws-models/kafkaconnect.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.kafkaconnect#ApacheKafkaCluster": { "type": "structure", @@ -49,6 +49,7 @@ "maxWorkerCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of workers allocated to the connector.
", "smithy.api#required": {} } @@ -56,6 +57,7 @@ "mcuCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max8", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of microcontroller units (MCUs) allocated to each connector worker. The valid\n values are 1,2,4,8.
", "smithy.api#required": {} } @@ -63,6 +65,7 @@ "minWorkerCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum number of workers allocated to the connector.
", "smithy.api#required": {} } @@ -90,18 +93,21 @@ "maxWorkerCount": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of workers allocated to the connector.
" } }, "mcuCount": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of microcontroller units (MCUs) allocated to each connector worker. The valid\n values are 1,2,4,8.
" } }, "minWorkerCount": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum number of workers allocated to the connector.
" } }, @@ -128,6 +134,7 @@ "maxWorkerCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The target maximum number of workers allocated to the connector.
", "smithy.api#required": {} } @@ -135,6 +142,7 @@ "mcuCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max8", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The target number of microcontroller units (MCUs) allocated to each connector worker.\n The valid values are 1,2,4,8.
", "smithy.api#required": {} } @@ -142,6 +150,7 @@ "minWorkerCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The target minimum number of workers allocated to the connector.
", "smithy.api#required": {} } @@ -244,6 +253,7 @@ "enabled": { "target": "com.amazonaws.kafkaconnect#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether log delivery to Amazon CloudWatch Logs is enabled.
", "smithy.api#required": {} } @@ -265,6 +275,7 @@ "enabled": { "target": "com.amazonaws.kafkaconnect#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether log delivery to Amazon CloudWatch Logs is enabled.
" } }, @@ -668,6 +679,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision of the custom plugin.
" } } @@ -783,6 +795,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__longMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision of the custom plugin.
", "smithy.api#required": {} } @@ -819,6 +832,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision of the custom plugin.
" } } @@ -839,6 +853,7 @@ "fileSize": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size in bytes of the custom plugin file. You can use it to validate the file.
" } } @@ -912,6 +927,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision of the custom plugin.
" } } @@ -1507,6 +1523,7 @@ "enabled": { "target": "com.amazonaws.kafkaconnect#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether connector logs get delivered to Amazon Kinesis Data Firehose.
", "smithy.api#required": {} } @@ -1528,6 +1545,7 @@ "enabled": { "target": "com.amazonaws.kafkaconnect#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether connector logs get delivered to Amazon Kinesis Data Firehose.
" } } @@ -1681,29 +1699,6 @@ }, "com.amazonaws.kafkaconnect#KafkaConnect": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "KafkaConnect", - "name": "kafkaconnect", - "arnNamespace": "kafkaconnect", - "cloudFormationName": "KafkaConnect", - "cloudTrailEventSource": "kafkaconnect.amazonaws.com", - "endpointPrefix": "kafkaconnect" - }, - "aws.auth#sigv4": { - "name": "kafkaconnect" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "X-Api-Key", - "Content-Type", - "Content-Length" - ] - }, - "smithy.api#documentation": "", - "smithy.api#title": "Managed Streaming for Kafka Connect" - }, "version": "2021-09-14", "operations": [ { @@ -1742,7 +1737,30 @@ { "target": "com.amazonaws.kafkaconnect#UpdateConnector" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "KafkaConnect", + "name": "kafkaconnect", + "arnNamespace": "kafkaconnect", + "cloudFormationName": "KafkaConnect", + "cloudTrailEventSource": "kafkaconnect.amazonaws.com", + "endpointPrefix": "kafkaconnect" + }, + "aws.auth#sigv4": { + "name": "kafkaconnect" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "X-Api-Key", + "Content-Type", + "Content-Length" + ] + }, + "smithy.api#documentation": "", + "smithy.api#title": "Managed Streaming for Kafka Connect" + } }, "com.amazonaws.kafkaconnect#ListConnectors": { "type": "operation", @@ -1804,6 +1822,7 @@ "maxResults": { "target": "com.amazonaws.kafkaconnect#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of connectors to list in one response.
", "smithy.api#httpQuery": "maxResults" } @@ -1887,6 +1906,7 @@ "maxResults": { "target": "com.amazonaws.kafkaconnect#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of custom plugins to list in one response.
", "smithy.api#httpQuery": "maxResults" } @@ -1970,6 +1990,7 @@ "maxResults": { "target": "com.amazonaws.kafkaconnect#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of worker configurations to list in one response.
", "smithy.api#httpQuery": "maxResults" } @@ -2032,6 +2053,7 @@ "com.amazonaws.kafkaconnect#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2086,6 +2108,7 @@ "mcuCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max8", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of microcontroller units (MCUs) allocated to each connector worker. The valid\n values are 1,2,4,8.
", "smithy.api#required": {} } @@ -2093,6 +2116,7 @@ "workerCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of workers that are allocated to the connector.
", "smithy.api#required": {} } @@ -2108,12 +2132,14 @@ "mcuCount": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of microcontroller units (MCUs) allocated to each connector worker. The valid\n values are 1,2,4,8.
" } }, "workerCount": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of workers that are allocated to the connector.
" } } @@ -2128,6 +2154,7 @@ "mcuCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max8", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of microcontroller units (MCUs) allocated to each connector worker. The valid\n values are 1,2,4,8.
", "smithy.api#required": {} } @@ -2135,6 +2162,7 @@ "workerCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of workers that are allocated to the connector.
", "smithy.api#required": {} } @@ -2210,6 +2238,7 @@ "enabled": { "target": "com.amazonaws.kafkaconnect#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether connector logs get sent to the specified Amazon S3 destination.
", "smithy.api#required": {} } @@ -2237,6 +2266,7 @@ "enabled": { "target": "com.amazonaws.kafkaconnect#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether connector logs get sent to the specified Amazon S3 destination.
" } }, @@ -2257,6 +2287,7 @@ "cpuUtilizationPercentage": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the CPU utilization percentage threshold at which you want connector scale in\n to be triggered.
", "smithy.api#required": {} } @@ -2272,6 +2303,7 @@ "cpuUtilizationPercentage": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the CPU utilization percentage threshold at which you want connector scale in\n to be triggered.
" } } @@ -2286,6 +2318,7 @@ "cpuUtilizationPercentage": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The target CPU utilization percentage threshold at which you want connector scale in to\n be triggered.
", "smithy.api#required": {} } @@ -2301,6 +2334,7 @@ "cpuUtilizationPercentage": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The CPU utilization percentage threshold at which you want connector scale out to be\n triggered.
", "smithy.api#required": {} } @@ -2316,6 +2350,7 @@ "cpuUtilizationPercentage": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The CPU utilization percentage threshold at which you want connector scale out to be\n triggered.
" } } @@ -2330,6 +2365,7 @@ "cpuUtilizationPercentage": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The target CPU utilization percentage threshold at which you want connector scale out to\n be triggered.
", "smithy.api#required": {} } @@ -2531,6 +2567,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__longMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision of the worker configuration.
", "smithy.api#required": {} } @@ -2553,6 +2590,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision of the worker configuration.
" } }, @@ -2591,6 +2629,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The description of a revision of the worker configuration.
" } } @@ -2617,6 +2656,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision of a worker configuration.
" } } @@ -2716,14 +2756,21 @@ } }, "com.amazonaws.kafkaconnect#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.kafkaconnect#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.kafkaconnect#__integerMin1Max10": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -2733,6 +2780,7 @@ "com.amazonaws.kafkaconnect#__integerMin1Max100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2742,6 +2790,7 @@ "com.amazonaws.kafkaconnect#__integerMin1Max8": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 8 @@ -2785,11 +2834,15 @@ } }, "com.amazonaws.kafkaconnect#__long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.kafkaconnect#__longMin1": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 9223372036854775807 diff --git a/codegen/sdk/aws-models/kendra.json b/codegen/sdk/aws-models/kendra.json index 95a88a3ace6..68f963cf77e 100644 --- a/codegen/sdk/aws-models/kendra.json +++ b/codegen/sdk/aws-models/kendra.json @@ -2693,8 +2693,6 @@ "Edition": { "target": "com.amazonaws.kendra#IndexEdition", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "ENTERPRISE_EDITION", "smithy.api#documentation": "The Amazon Kendra edition to use for the index. Choose\n DEVELOPER_EDITION for indexes intended for development,\n testing, or proof of concept. Use ENTERPRISE_EDITION for your\n production databases. Once you set the edition for an index, it can't be\n changed.
The Edition parameter is optional. If you don't supply a\n value, the default is ENTERPRISE_EDITION.
For more information on quota limits for enterprise and developer editions, \n see Quotas.
" } }, @@ -8896,7 +8894,7 @@ "type": "float", "traits": { "smithy.api#range": { - "min": 0.000001, + "min": 1.0E-6, "max": 50 } } diff --git a/codegen/sdk/aws-models/keyspaces.json b/codegen/sdk/aws-models/keyspaces.json index 6288c03e9a8..019f68ba1e2 100644 --- a/codegen/sdk/aws-models/keyspaces.json +++ b/codegen/sdk/aws-models/keyspaces.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.keyspaces#ARN": { "type": "string", @@ -91,7 +91,6 @@ "com.amazonaws.keyspaces#CapacityUnits": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -364,7 +363,6 @@ "com.amazonaws.keyspaces#DefaultTimeToLive": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 630720000 @@ -758,21 +756,6 @@ }, "com.amazonaws.keyspaces#KeyspacesService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Keyspaces", - "cloudFormationName": "Cassandra", - "arnNamespace": "cassandra", - "cloudTrailEventSource": "cassandra.amazonaws.com", - "endpointPrefix": "cassandra" - }, - "aws.auth#sigv4": { - "name": "cassandra" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Amazon Keyspaces (for Apache Cassandra) is a scalable,\n highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate,\n run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code, \n you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software.
\nIn addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers, \n Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI. This API reference describes\n the supported DDL operations in detail.
\nFor the list of all supported CQL APIs, see Supported Cassandra APIs, operations, and data types \n in Amazon Keyspaces in the Amazon Keyspaces Developer\n Guide.
\nTo learn how Amazon Keyspaces API actions are recorded with CloudTrail, see Amazon Keyspaces information in CloudTrail in the Amazon Keyspaces Developer\n Guide.
\nFor more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see Amazon Web Services APIs in the General Reference.
", - "smithy.api#title": "Amazon Keyspaces" - }, "version": "2022-02-10", "operations": [ { @@ -814,7 +797,22 @@ { "target": "com.amazonaws.keyspaces#UpdateTable" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Keyspaces", + "cloudFormationName": "Cassandra", + "arnNamespace": "cassandra", + "cloudTrailEventSource": "cassandra.amazonaws.com", + "endpointPrefix": "cassandra" + }, + "aws.auth#sigv4": { + "name": "cassandra" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Amazon Keyspaces (for Apache Cassandra) is a scalable,\n highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate,\n run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code, \n you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software.
\nIn addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers, \n Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI. This API reference describes\n the supported DDL operations in detail.
\nFor the list of all supported CQL APIs, see Supported Cassandra APIs, operations, and data types \n in Amazon Keyspaces in the Amazon Keyspaces Developer\n Guide.
\nTo learn how Amazon Keyspaces API actions are recorded with CloudTrail, see Amazon Keyspaces information in CloudTrail in the Amazon Keyspaces Developer\n Guide.
\nFor more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see Amazon Web Services APIs in the General Reference.
", + "smithy.api#title": "Amazon Keyspaces" + } }, "com.amazonaws.keyspaces#ListKeyspaces": { "type": "operation", @@ -1041,7 +1039,6 @@ "com.amazonaws.keyspaces#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -1759,4 +1756,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/kinesis-analytics-v2.json b/codegen/sdk/aws-models/kinesis-analytics-v2.json index 1a4d9a1848e..f1d8bbe3433 100644 --- a/codegen/sdk/aws-models/kinesis-analytics-v2.json +++ b/codegen/sdk/aws-models/kinesis-analytics-v2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1144,7 +1144,6 @@ "com.amazonaws.kinesisanalyticsv2#ApplicationVersionId": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 999999999 @@ -1214,10 +1213,7 @@ } }, "com.amazonaws.kinesisanalyticsv2#BooleanObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.kinesisanalyticsv2#BucketARN": { "type": "string", @@ -1396,7 +1392,6 @@ "com.amazonaws.kinesisanalyticsv2#CheckpointInterval": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1594,7 +1589,6 @@ "com.amazonaws.kinesisanalyticsv2#CodeSize": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 52428800 @@ -3177,7 +3171,6 @@ "com.amazonaws.kinesisanalyticsv2#InputParallelismCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 64 @@ -3900,7 +3893,6 @@ "com.amazonaws.kinesisanalyticsv2#ListApplicationVersionsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -3968,7 +3960,6 @@ "com.amazonaws.kinesisanalyticsv2#ListApplicationsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -4013,7 +4004,6 @@ "com.amazonaws.kinesisanalyticsv2#ListSnapshotsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -4204,7 +4194,6 @@ "com.amazonaws.kinesisanalyticsv2#MinPauseBetweenCheckpoints": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4457,7 +4446,6 @@ "com.amazonaws.kinesisanalyticsv2#Parallelism": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4569,7 +4557,6 @@ "com.amazonaws.kinesisanalyticsv2#ParallelismPerKPU": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5412,7 +5399,6 @@ "com.amazonaws.kinesisanalyticsv2#SessionExpirationDurationInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1800, "max": 43200 diff --git a/codegen/sdk/aws-models/kinesis-analytics.json b/codegen/sdk/aws-models/kinesis-analytics.json index c3330639a06..7f66d9593a3 100644 --- a/codegen/sdk/aws-models/kinesis-analytics.json +++ b/codegen/sdk/aws-models/kinesis-analytics.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -571,7 +571,6 @@ "com.amazonaws.kinesisanalytics#ApplicationVersionId": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 999999999 @@ -579,10 +578,7 @@ } }, "com.amazonaws.kinesisanalytics#BooleanObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.kinesisanalytics#BucketARN": { "type": "string", @@ -1562,7 +1558,6 @@ "com.amazonaws.kinesisanalytics#InputParallelismCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 64 @@ -2228,7 +2223,6 @@ "com.amazonaws.kinesisanalytics#ListApplicationsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 diff --git a/codegen/sdk/aws-models/kinesis-video-archived-media.json b/codegen/sdk/aws-models/kinesis-video-archived-media.json index 7c144a7b8a9..f66835ae9c6 100644 --- a/codegen/sdk/aws-models/kinesis-video-archived-media.json +++ b/codegen/sdk/aws-models/kinesis-video-archived-media.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.kinesisvideoarchivedmedia#AWSAcuityReader": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Kinesis Video Archived Media", - "arnNamespace": "kinesisvideo", - "cloudFormationName": "KinesisVideoArchivedMedia", - "cloudTrailEventSource": "kinesisvideoarchivedmedia.amazonaws.com", - "endpointPrefix": "kinesisvideo" - }, - "aws.auth#sigv4": { - "name": "kinesisvideo" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "", - "smithy.api#title": "Amazon Kinesis Video Streams Archived Media" - }, "version": "2017-09-30", "operations": [ { @@ -66,7 +51,22 @@ { "target": "com.amazonaws.kinesisvideoarchivedmedia#ListFragments" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Kinesis Video Archived Media", + "arnNamespace": "kinesisvideo", + "cloudFormationName": "KinesisVideoArchivedMedia", + "cloudTrailEventSource": "kinesisvideoarchivedmedia.amazonaws.com", + "endpointPrefix": "kinesisvideo" + }, + "aws.auth#sigv4": { + "name": "kinesisvideo" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "", + "smithy.api#title": "Amazon Kinesis Video Streams Archived Media" + } }, "com.amazonaws.kinesisvideoarchivedmedia#ClientLimitExceededException": { "type": "structure", @@ -233,7 +233,6 @@ "com.amazonaws.kinesisvideoarchivedmedia#DASHMaxResults": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5000 @@ -288,7 +287,6 @@ "com.amazonaws.kinesisvideoarchivedmedia#Expires": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 300, "max": 43200 @@ -358,6 +356,7 @@ "FragmentSizeInBytes": { "target": "com.amazonaws.kinesisvideoarchivedmedia#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total fragment size, including information about the fragment and contained media\n data.
" } }, @@ -376,6 +375,7 @@ "FragmentLengthInMilliseconds": { "target": "com.amazonaws.kinesisvideoarchivedmedia#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The playback duration or other time value associated with the fragment.
" } } @@ -532,6 +532,7 @@ "Payload": { "target": "com.amazonaws.kinesisvideoarchivedmedia#Payload", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "Traditional MP4 file that contains the media clip from the specified video stream. The\n output will contain the first 100 MB or the first 200 fragments from the specified start\n timestamp. For more information, see Kinesis\n Video Streams Limits.
", "smithy.api#httpPayload": {} } @@ -874,7 +875,6 @@ "com.amazonaws.kinesisvideoarchivedmedia#GetImagesMaxResults": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -966,6 +966,7 @@ "Payload": { "target": "com.amazonaws.kinesisvideoarchivedmedia#Payload", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "The payload that Kinesis Video Streams returns is a sequence of chunks from the\n specified stream. For information about the chunks, see PutMedia. The chunks that Kinesis Video Streams returns in the\n GetMediaForFragmentList call also include the following additional\n Matroska (MKV) tags:
AWS_KINESISVIDEO_FRAGMENT_NUMBER - Fragment number returned in the\n chunk.
\nAWS_KINESISVIDEO_SERVER_SIDE_TIMESTAMP - Server-side timestamp of the\n fragment.
\nAWS_KINESISVIDEO_PRODUCER_SIDE_TIMESTAMP - Producer-side timestamp of the\n fragment.
\nThe following tags will be included if an exception occurs:
\nAWS_KINESISVIDEO_FRAGMENT_NUMBER - The number of the fragment that threw the\n exception
\nAWS_KINESISVIDEO_EXCEPTION_ERROR_CODE - The integer code of the\n exception
\nAWS_KINESISVIDEO_EXCEPTION_MESSAGE - A text description of the\n exception
\n The payload Kinesis Video Streams returns is a sequence of chunks from the specified\n stream. For information about the chunks, see . The\n chunks that Kinesis Video Streams returns in the GetMedia call also include the\n following additional Matroska (MKV) tags:
AWS_KINESISVIDEO_CONTINUATION_TOKEN (UTF-8 string) - In the event your\n GetMedia call terminates, you can use this continuation token in your next\n request to get the next chunk where the last request terminated.
AWS_KINESISVIDEO_MILLIS_BEHIND_NOW (UTF-8 string) - Client applications can use\n this tag value to determine how far behind the chunk returned in the response is from the\n latest chunk on the stream.
\nAWS_KINESISVIDEO_FRAGMENT_NUMBER - Fragment number returned in the chunk.
\nAWS_KINESISVIDEO_SERVER_TIMESTAMP - Server timestamp of the fragment.
\nAWS_KINESISVIDEO_PRODUCER_TIMESTAMP - Producer timestamp of the fragment.
\nThe following tags will be present if an error occurs:
\nAWS_KINESISVIDEO_ERROR_CODE - String description of an error that caused GetMedia\n to stop.
\nAWS_KINESISVIDEO_ERROR_ID: Integer code of the error.
\nThe error codes are as follows:
\n3002 - Error writing to the stream
\n4000 - Requested fragment is not found
\n4500 - Access denied for the stream's KMS key
\n4501 - Stream's KMS key is disabled
\n4502 - Validation error on the stream's KMS key
\n4503 - KMS key specified in the stream is unavailable
\n4504 - Invalid usage of the KMS key specified in the stream
\n4505 - Invalid state of the KMS key specified in the stream
\n4506 - Unable to find the KMS key specified in the stream
\n5000 - Internal error
\nThe period of time, in seconds, during which the username and password are\n valid.
" } } @@ -384,6 +385,7 @@ "com.amazonaws.kinesisvideosignaling#Ttl": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 30, "max": 86400 diff --git a/codegen/sdk/aws-models/kinesis-video.json b/codegen/sdk/aws-models/kinesis-video.json index 2117b4da103..b88d7c3e918 100644 --- a/codegen/sdk/aws-models/kinesis-video.json +++ b/codegen/sdk/aws-models/kinesis-video.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -454,7 +454,6 @@ "com.amazonaws.kinesisvideo#DataRetentionChangeInHours": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -463,7 +462,6 @@ "com.amazonaws.kinesisvideo#DataRetentionInHours": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -1052,7 +1050,6 @@ "com.amazonaws.kinesisvideo#HeightPixels": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 2160 @@ -1198,24 +1195,6 @@ }, "com.amazonaws.kinesisvideo#KinesisVideo_20170930": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Kinesis Video", - "arnNamespace": "kinesisvideo", - "cloudFormationName": "KinesisVideo", - "cloudTrailEventSource": "kinesisvideo.amazonaws.com", - "endpointPrefix": "kinesisvideo" - }, - "aws.auth#sigv4": { - "name": "kinesisvideo" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "", - "smithy.api#title": "Amazon Kinesis Video Streams", - "smithy.api#xmlNamespace": { - "uri": "https://kinesisvideo.amazonaws.com/doc/2017-09-30/" - } - }, "version": "2017-09-30", "operations": [ { @@ -1287,7 +1266,25 @@ { "target": "com.amazonaws.kinesisvideo#UpdateStream" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Kinesis Video", + "arnNamespace": "kinesisvideo", + "cloudFormationName": "KinesisVideo", + "cloudTrailEventSource": "kinesisvideo.amazonaws.com", + "endpointPrefix": "kinesisvideo" + }, + "aws.auth#sigv4": { + "name": "kinesisvideo" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "", + "smithy.api#title": "Amazon Kinesis Video Streams", + "smithy.api#xmlNamespace": { + "uri": "https://kinesisvideo.amazonaws.com/doc/2017-09-30/" + } + } }, "com.amazonaws.kinesisvideo#KmsKeyId": { "type": "string", @@ -1442,7 +1439,6 @@ "com.amazonaws.kinesisvideo#ListStreamsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1619,7 +1615,6 @@ "com.amazonaws.kinesisvideo#MessageTtlSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 120 @@ -1782,7 +1777,6 @@ "com.amazonaws.kinesisvideo#SamplingInterval": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 3000, "max": 20000 @@ -2667,7 +2661,6 @@ "com.amazonaws.kinesisvideo#WidthPixels": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 3840 diff --git a/codegen/sdk/aws-models/kinesis.json b/codegen/sdk/aws-models/kinesis.json index e18cd110707..1bcbcd17400 100644 --- a/codegen/sdk/aws-models/kinesis.json +++ b/codegen/sdk/aws-models/kinesis.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -34,6 +34,9 @@ "input": { "target": "com.amazonaws.kinesis#AddTagsToStreamInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -75,10 +78,7 @@ } }, "com.amazonaws.kinesis#BooleanObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.kinesis#ChildShard": { "type": "structure", @@ -163,7 +163,6 @@ "com.amazonaws.kinesis#ConsumerCountObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000 @@ -253,6 +252,9 @@ "input": { "target": "com.amazonaws.kinesis#CreateStreamInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -309,6 +311,9 @@ "input": { "target": "com.amazonaws.kinesis#DecreaseStreamRetentionPeriodInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -354,6 +359,9 @@ "input": { "target": "com.amazonaws.kinesis#DeleteStreamInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#LimitExceededException" @@ -395,6 +403,9 @@ "input": { "target": "com.amazonaws.kinesis#DeregisterStreamConsumerInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -623,7 +634,6 @@ "com.amazonaws.kinesis#DescribeStreamInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -947,7 +957,6 @@ "com.amazonaws.kinesis#GetRecordsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1098,6 +1107,9 @@ "input": { "target": "com.amazonaws.kinesis#IncreaseStreamRetentionPeriodInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -1266,27 +1278,6 @@ }, "com.amazonaws.kinesis#Kinesis_20131202": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Kinesis", - "arnNamespace": "kinesis", - "cloudFormationName": "Kinesis", - "cloudTrailEventSource": "kinesis.amazonaws.com", - "endpointPrefix": "kinesis" - }, - "aws.auth#sigv4": { - "name": "kinesis" - }, - "aws.protocols#awsJson1_1": { - "http": ["http/1.1", "h2"], - "eventStreamHttp": ["h2"] - }, - "smithy.api#documentation": "Amazon Kinesis Data Streams is a managed service that scales elastically for real-time\n processing of streaming big data.
", - "smithy.api#title": "Amazon Kinesis", - "smithy.api#xmlNamespace": { - "uri": "http://kinesis.amazonaws.com/doc/2013-12-02" - } - }, "version": "2013-12-02", "operations": [ { @@ -1376,7 +1367,33 @@ { "target": "com.amazonaws.kinesis#UpdateStreamMode" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Kinesis", + "arnNamespace": "kinesis", + "cloudFormationName": "Kinesis", + "cloudTrailEventSource": "kinesis.amazonaws.com", + "endpointPrefix": "kinesis" + }, + "aws.auth#sigv4": { + "name": "kinesis" + }, + "aws.protocols#awsJson1_1": { + "http": [ + "http/1.1", + "h2" + ], + "eventStreamHttp": [ + "h2" + ] + }, + "smithy.api#documentation": "Amazon Kinesis Data Streams is a managed service that scales elastically for real-time\n processing of streaming big data.
", + "smithy.api#title": "Amazon Kinesis", + "smithy.api#xmlNamespace": { + "uri": "http://kinesis.amazonaws.com/doc/2013-12-02" + } + } }, "com.amazonaws.kinesis#LimitExceededException": { "type": "structure", @@ -1466,7 +1483,6 @@ "com.amazonaws.kinesis#ListShardsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1557,7 +1573,6 @@ "com.amazonaws.kinesis#ListStreamConsumersInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1621,7 +1636,6 @@ "com.amazonaws.kinesis#ListStreamsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1703,7 +1717,6 @@ "com.amazonaws.kinesis#ListTagsForStreamInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -1737,6 +1750,9 @@ "input": { "target": "com.amazonaws.kinesis#MergeShardsInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -1841,7 +1857,6 @@ "com.amazonaws.kinesis#MillisBehindLatest": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -1859,7 +1874,6 @@ "com.amazonaws.kinesis#OnDemandStreamCountLimitObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000 @@ -1869,7 +1883,6 @@ "com.amazonaws.kinesis#OnDemandStreamCountObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000 @@ -1888,7 +1901,6 @@ "com.amazonaws.kinesis#PositiveIntegerObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -2302,6 +2314,9 @@ "input": { "target": "com.amazonaws.kinesis#RemoveTagsFromStreamInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -2373,10 +2388,7 @@ } }, "com.amazonaws.kinesis#RetentionPeriodHours": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.kinesis#ScalingType": { "type": "string", @@ -2460,7 +2472,6 @@ "com.amazonaws.kinesis#ShardCountObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000 @@ -2588,6 +2599,9 @@ "input": { "target": "com.amazonaws.kinesis#SplitShardInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -2643,6 +2657,9 @@ "input": { "target": "com.amazonaws.kinesis#StartStreamEncryptionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -2737,6 +2754,9 @@ "input": { "target": "com.amazonaws.kinesis#StopStreamEncryptionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -3331,6 +3351,9 @@ "input": { "target": "com.amazonaws.kinesis#UpdateStreamModeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" diff --git a/codegen/sdk/aws-models/kms.json b/codegen/sdk/aws-models/kms.json index d731ad22a5d..e1806e3778d 100644 --- a/codegen/sdk/aws-models/kms.json +++ b/codegen/sdk/aws-models/kms.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -132,7 +132,10 @@ } }, "com.amazonaws.kms#BooleanType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.kms#CancelKeyDeletion": { "type": "operation", @@ -738,6 +741,7 @@ "BypassPolicyLockoutSafetyCheck": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag to indicate whether to bypass the key policy lockout safety check.
\nSetting this value to true increases the risk that the KMS key becomes unmanageable. Do\n not set this value to true indiscriminately.
\nFor more information, refer to the scenario in the Default Key Policy section in the \n Key Management Service Developer Guide\n .
\nUse this parameter only when you include a policy in the request and you intend to prevent\n the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.
\nThe default value is false.
" } }, @@ -1347,6 +1351,7 @@ "Truncated": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag that indicates whether there are more items in the list. When this\n value is true, the list in this response is truncated. To get more items, pass the value of\n the NextMarker element in thisresponse to the Marker parameter in a\n subsequent request.
A Boolean value that specifies whether key rotation is enabled.
" } } @@ -3308,6 +3314,7 @@ "Enabled": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the KMS key is enabled. When KeyState is\n Enabled this value is true, otherwise it is false.
A flag that indicates whether there are more items in the list. When this\n value is true, the list in this response is truncated. To get more items, pass the value of\n the NextMarker element in thisresponse to the Marker parameter in a\n subsequent request.
A flag that indicates whether there are more items in the list. When this\n value is true, the list in this response is truncated. To get more items, pass the value of\n the NextMarker element in thisresponse to the Marker parameter in a\n subsequent request.
A flag that indicates whether there are more items in the list. When this\n value is true, the list in this response is truncated. To get more items, pass the value of\n the NextMarker element in thisresponse to the Marker parameter in a\n subsequent request.
A flag that indicates whether there are more items in the list. When this\n value is true, the list in this response is truncated. To get more items, pass the value of\n the NextMarker element in thisresponse to the Marker parameter in a\n subsequent request.
A flag that indicates whether there are more items in the list. When this\n value is true, the list in this response is truncated. To get more items, pass the value of\n the NextMarker element in thisresponse to the Marker parameter in a\n subsequent request.
A flag to indicate whether to bypass the key policy lockout safety check.
\nSetting this value to true increases the risk that the KMS key becomes unmanageable. Do\n not set this value to true indiscriminately.
\nFor more information, refer to the scenario in the Default Key Policy section in the Key Management Service Developer Guide.
\nUse this parameter only when you intend to prevent the principal that is making the\n request from making a subsequent PutKeyPolicy request on the KMS key.
The default value is false.
" } } @@ -4607,6 +4614,7 @@ "BypassPolicyLockoutSafetyCheck": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag to indicate whether to bypass the key policy lockout safety check.
\nSetting this value to true increases the risk that the KMS key becomes unmanageable. Do\n not set this value to true indiscriminately.
\nFor more information, refer to the scenario in the Default Key Policy section in the Key Management Service Developer Guide.
\nUse this parameter only when you intend to prevent the principal that is making the\n request from making a subsequent PutKeyPolicy request on the KMS key.
The default value is false.
" } }, @@ -5106,24 +5114,6 @@ }, "com.amazonaws.kms#TrentService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "KMS", - "arnNamespace": "kms", - "cloudFormationName": "KMS", - "cloudTrailEventSource": "kms.amazonaws.com", - "endpointPrefix": "kms" - }, - "aws.auth#sigv4": { - "name": "kms" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Key Management Service (KMS) is an encryption and key management web service. This guide describes\n the KMS operations that you can call programmatically. For general information about KMS,\n see the \n Key Management Service Developer Guide\n .
\nKMS is replacing the term customer master key (CMK) with KMS key and KMS key. The concept has not changed. To prevent breaking changes, KMS is keeping some variations of this term.
\nAmazon Web Services provides SDKs that consist of libraries and sample code for various programming\n languages and platforms (Java, Ruby, .Net, macOS, Android, etc.). The SDKs provide a\n convenient way to create programmatic access to KMS and other Amazon Web Services services. For example,\n the SDKs take care of tasks such as signing requests (see below), managing errors, and\n retrying requests automatically. For more information about the Amazon Web Services SDKs, including how to\n download and install them, see Tools for Amazon Web\n Services.
\nWe recommend that you use the Amazon Web Services SDKs to make programmatic API calls to KMS.
\nIf you need to use FIPS 140-2 validated cryptographic modules when communicating with\n Amazon Web Services, use the FIPS endpoint in your preferred Amazon Web Services Region. For more information about the\n available FIPS endpoints, see Service endpoints in the Key Management Service topic of the Amazon Web Services General Reference.
\nAll KMS API calls must be signed and be transmitted using Transport Layer Security (TLS). \n KMS recommends you always use the latest supported TLS version. Clients\n must also support cipher suites with Perfect Forward Secrecy (PFS) such as Ephemeral\n Diffie-Hellman (DHE) or Elliptic Curve Ephemeral Diffie-Hellman (ECDHE). Most modern systems\n such as Java 7 and later support these modes.
\n\n Signing Requests\n
\nRequests must be signed by using an access key ID and a secret access key. We strongly\n recommend that you do not use your Amazon Web Services account (root) access key ID and\n secret key for everyday work with KMS. Instead, use the access key ID and secret access key\n for an IAM user. You can also use the Amazon Web Services Security Token Service to generate temporary\n security credentials that you can use to sign requests.
\nAll KMS operations require Signature Version 4.
\n\n Logging API Requests\n
\nKMS supports CloudTrail, a service that logs Amazon Web Services API calls and related events for your\n Amazon Web Services account and delivers them to an Amazon S3 bucket that you specify. By using the\n information collected by CloudTrail, you can determine what requests were made to KMS, who made\n the request, when it was made, and so on. To learn more about CloudTrail, including how to turn it\n on and find your log files, see the CloudTrail User Guide.
\n\n Additional Resources\n
\nFor more information about credentials and request signing, see the following:
\n\n Amazon Web Services\n Security Credentials - This topic provides general information about the types\n of credentials used to access Amazon Web Services.
\n\n Temporary\n Security Credentials - This section of the IAM User Guide\n describes how to create and use temporary security credentials.
\n\n Signature Version\n 4 Signing Process - This set of topics walks you through the process of signing\n a request using an access key ID and a secret access key.
\n\n Commonly Used API Operations\n
\nOf the API operations discussed in this guide, the following will prove the most useful\n for most applications. You will likely perform operations other than these, such as creating\n keys and assigning policies, by using the console.
\n\n Encrypt\n
\n\n Decrypt\n
\n\n GenerateDataKey\n
\nKey Management Service (KMS) is an encryption and key management web service. This guide describes\n the KMS operations that you can call programmatically. For general information about KMS,\n see the \n Key Management Service Developer Guide\n .
\nKMS is replacing the term customer master key (CMK) with KMS key and KMS key. The concept has not changed. To prevent breaking changes, KMS is keeping some variations of this term.
\nAmazon Web Services provides SDKs that consist of libraries and sample code for various programming\n languages and platforms (Java, Ruby, .Net, macOS, Android, etc.). The SDKs provide a\n convenient way to create programmatic access to KMS and other Amazon Web Services services. For example,\n the SDKs take care of tasks such as signing requests (see below), managing errors, and\n retrying requests automatically. For more information about the Amazon Web Services SDKs, including how to\n download and install them, see Tools for Amazon Web\n Services.
\nWe recommend that you use the Amazon Web Services SDKs to make programmatic API calls to KMS.
\nIf you need to use FIPS 140-2 validated cryptographic modules when communicating with\n Amazon Web Services, use the FIPS endpoint in your preferred Amazon Web Services Region. For more information about the\n available FIPS endpoints, see Service endpoints in the Key Management Service topic of the Amazon Web Services General Reference.
\nAll KMS API calls must be signed and be transmitted using Transport Layer Security (TLS). \n KMS recommends you always use the latest supported TLS version. Clients\n must also support cipher suites with Perfect Forward Secrecy (PFS) such as Ephemeral\n Diffie-Hellman (DHE) or Elliptic Curve Ephemeral Diffie-Hellman (ECDHE). Most modern systems\n such as Java 7 and later support these modes.
\n\n Signing Requests\n
\nRequests must be signed by using an access key ID and a secret access key. We strongly\n recommend that you do not use your Amazon Web Services account (root) access key ID and\n secret key for everyday work with KMS. Instead, use the access key ID and secret access key\n for an IAM user. You can also use the Amazon Web Services Security Token Service to generate temporary\n security credentials that you can use to sign requests.
\nAll KMS operations require Signature Version 4.
\n\n Logging API Requests\n
\nKMS supports CloudTrail, a service that logs Amazon Web Services API calls and related events for your\n Amazon Web Services account and delivers them to an Amazon S3 bucket that you specify. By using the\n information collected by CloudTrail, you can determine what requests were made to KMS, who made\n the request, when it was made, and so on. To learn more about CloudTrail, including how to turn it\n on and find your log files, see the CloudTrail User Guide.
\n\n Additional Resources\n
\nFor more information about credentials and request signing, see the following:
\n\n Amazon Web Services\n Security Credentials - This topic provides general information about the types\n of credentials used to access Amazon Web Services.
\n\n Temporary\n Security Credentials - This section of the IAM User Guide\n describes how to create and use temporary security credentials.
\n\n Signature Version\n 4 Signing Process - This set of topics walks you through the process of signing\n a request using an access key ID and a secret access key.
\n\n Commonly Used API Operations\n
\nOf the API operations discussed in this guide, the following will prove the most useful\n for most applications. You will likely perform operations other than these, such as creating\n keys and assigning policies, by using the console.
\n\n Encrypt\n
\n\n Decrypt\n
\n\n GenerateDataKey\n
\nA Boolean value that indicates whether the HMAC was verified. A value of \n True indicates that the HMAC (Mac) was generated with the specified\n Message, HMAC KMS key (KeyID) and\n MacAlgorithm..
If the HMAC is not verified, the VerifyMac operation fails with a\n KMSInvalidMacException exception. This exception indicates that one or more of\n the inputs changed since the HMAC was computed.
A Boolean value that indicates whether the signature was verified. A value of\n True indicates that the Signature was produced by signing the\n Message with the specified KeyID and\n SigningAlgorithm. If the signature is not verified, the Verify\n operation fails with a KMSInvalidSignatureException exception.
Defines the public endpoint for the Lake Formation service.
", - "smithy.api#title": "AWS Lake Formation" - }, "version": "2017-03-31", "operations": [ { @@ -183,7 +168,22 @@ { "target": "com.amazonaws.lakeformation#UpdateTableStorageOptimizer" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "LakeFormation", + "arnNamespace": "lakeformation", + "cloudFormationName": "LakeFormation", + "cloudTrailEventSource": "lakeformation.amazonaws.com", + "endpointPrefix": "lakeformation" + }, + "aws.auth#sigv4": { + "name": "lakeformation" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Defines the public endpoint for the Lake Formation service.
", + "smithy.api#title": "AWS Lake Formation" + } }, "com.amazonaws.lakeformation#AccessDeniedException": { "type": "structure", @@ -297,6 +297,7 @@ "Size": { "target": "com.amazonaws.lakeformation#ObjectSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the Amazon S3 object in bytes.
", "smithy.api#required": {} } @@ -639,10 +640,7 @@ } }, "com.amazonaws.lakeformation#BooleanNullable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lakeformation#CancelTransaction": { "type": "operation", @@ -1014,7 +1012,6 @@ "com.amazonaws.lakeformation#CredentialTimeoutDurationSecondInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 900, "max": 43200 @@ -1760,18 +1757,21 @@ "AverageExecutionTimeMillis": { "target": "com.amazonaws.lakeformation#NumberOfMilliseconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The average time the request took to be executed.
" } }, "DataScannedBytes": { "target": "com.amazonaws.lakeformation#NumberOfBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of data that was scanned in bytes.
" } }, "WorkUnitsExecutedCount": { "target": "com.amazonaws.lakeformation#NumberOfItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of work units executed.
" } } @@ -2752,6 +2752,7 @@ "WorkUnitId": { "target": "com.amazonaws.lakeformation#GetWorkUnitResultsRequestWorkUnitIdLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The work unit ID for which to get results. Value generated by enumerating WorkUnitIdMin to WorkUnitIdMax (inclusive) from the WorkUnitRange in the output of GetWorkUnits.
Rows returned from the GetWorkUnitResults operation as a stream of Apache Arrow v1.0 messages.
An estimate of the data that was scanned in bytes.
" } }, "PlanningTimeMillis": { "target": "com.amazonaws.lakeformation#NumberOfMilliseconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time that it took to process the request.
" } }, "QueueTimeMillis": { "target": "com.amazonaws.lakeformation#NumberOfMilliseconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time the request was in queue to be processed.
" } }, "WorkUnitsGeneratedCount": { "target": "com.amazonaws.lakeformation#NumberOfItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of work units generated.
" } } @@ -5049,6 +5064,7 @@ "Size": { "target": "com.amazonaws.lakeformation#ObjectSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the Amazon S3 object in bytes.
" } } @@ -5763,7 +5779,10 @@ } }, "com.amazonaws.lakeformation#WorkUnitIdLong": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lakeformation#WorkUnitRange": { "type": "structure", @@ -5771,6 +5790,7 @@ "WorkUnitIdMax": { "target": "com.amazonaws.lakeformation#WorkUnitIdLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Defines the maximum work unit ID in the range. The maximum value is inclusive.
", "smithy.api#required": {} } @@ -5778,6 +5798,7 @@ "WorkUnitIdMin": { "target": "com.amazonaws.lakeformation#WorkUnitIdLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Defines the minimum work unit ID in the range.
", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/lambda.json b/codegen/sdk/aws-models/lambda.json index e2fa32bf6f7..8e1c600942d 100644 --- a/codegen/sdk/aws-models/lambda.json +++ b/codegen/sdk/aws-models/lambda.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.lambda#AWSGirApiService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Lambda", - "arnNamespace": "lambda", - "cloudFormationName": "Lambda", - "cloudTrailEventSource": "lambda.amazonaws.com", - "endpointPrefix": "lambda" - }, - "aws.auth#sigv4": { - "name": "lambda" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "\n Overview\n
\nLambda is a compute service that lets you run code without provisioning or managing servers.\n Lambda runs your code on a high-availability compute infrastructure and performs all of the\n administration of the compute resources, including server and operating system maintenance, capacity provisioning\n and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any\n type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.
\nThe Lambda API Reference provides information about\n each of the API methods, including details about the parameters in each API request and\n response.
\n \nYou can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command\n line tools to access the API. For installation instructions, see Tools for\n Amazon Web Services.
\nFor a list of Region-specific endpoints that Lambda supports, \n see Lambda\n endpoints and quotas in the Amazon Web Services General Reference..
\nWhen making the API calls, you will need to\n authenticate your request by providing a signature. Lambda supports signature version 4. For more information,\n see Signature Version 4 signing process in the\n Amazon Web Services General Reference..
\n\n CA certificates\n
\n\nBecause Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers\n can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your\n computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate\n environment and do not manage your own computer, you might need to ask an administrator to assist with the\n update process. The following list shows minimum operating system and Java versions:
\nMicrosoft Windows versions that have updates from January 2005 or later installed contain at least one\n of the required CAs in their trust list.
\nMac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and\n later versions contain at least one of the required CAs in their trust list.
\nRed Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the\n required CAs in their default trusted CA list.
\nJava 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December\n 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list.
\nWhen accessing the Lambda management console or Lambda API endpoints, whether through browsers or\n programmatically, you will need to ensure your client machines support any of the following CAs:
\nAmazon Root CA 1
\nStarfield Services Root Certificate Authority - G2
\nStarfield Class 2 Certification Authority
\nRoot certificates from the first two authorities are available from Amazon trust services, but keeping your computer\n up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs.\n
", - "smithy.api#title": "AWS Lambda" - }, "version": "2015-03-31", "operations": [ { @@ -237,7 +222,22 @@ { "target": "com.amazonaws.lambda#UpdateFunctionUrlConfig" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Lambda", + "arnNamespace": "lambda", + "cloudFormationName": "Lambda", + "cloudTrailEventSource": "lambda.amazonaws.com", + "endpointPrefix": "lambda" + }, + "aws.auth#sigv4": { + "name": "lambda" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "\n Overview\n
\nLambda is a compute service that lets you run code without provisioning or managing servers.\n Lambda runs your code on a high-availability compute infrastructure and performs all of the\n administration of the compute resources, including server and operating system maintenance, capacity provisioning\n and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any\n type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.
\nThe Lambda API Reference provides information about\n each of the API methods, including details about the parameters in each API request and\n response.
\n \nYou can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command\n line tools to access the API. For installation instructions, see Tools for\n Amazon Web Services.
\nFor a list of Region-specific endpoints that Lambda supports, \n see Lambda\n endpoints and quotas in the Amazon Web Services General Reference..
\nWhen making the API calls, you will need to\n authenticate your request by providing a signature. Lambda supports signature version 4. For more information,\n see Signature Version 4 signing process in the\n Amazon Web Services General Reference..
\n\n CA certificates\n
\n\nBecause Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers\n can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your\n computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate\n environment and do not manage your own computer, you might need to ask an administrator to assist with the\n update process. The following list shows minimum operating system and Java versions:
\nMicrosoft Windows versions that have updates from January 2005 or later installed contain at least one\n of the required CAs in their trust list.
\nMac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and\n later versions contain at least one of the required CAs in their trust list.
\nRed Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the\n required CAs in their default trusted CA list.
\nJava 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December\n 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list.
\nWhen accessing the Lambda management console or Lambda API endpoints, whether through browsers or\n programmatically, you will need to ensure your client machines support any of the following CAs:
\nAmazon Root CA 1
\nStarfield Services Root Certificate Authority - G2
\nStarfield Class 2 Certification Authority
\nRoot certificates from the first two authorities are available from Amazon trust services, but keeping your computer\n up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs.\n
", + "smithy.api#title": "AWS Lambda" + } }, "com.amazonaws.lambda#AccountLimit": { "type": "structure", @@ -245,24 +245,28 @@ "TotalCodeSize": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of storage space that you can use for all deployment packages and layer archives.
" } }, "CodeSizeUnzipped": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum size of a function's deployment package and layers when they're extracted.
" } }, "CodeSizeZipped": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum size of a deployment package when it's uploaded directly to Lambda. Use Amazon S3 for larger\n files.
" } }, "ConcurrentExecutions": { "target": "com.amazonaws.lambda#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of simultaneous function executions.
" } }, @@ -283,12 +287,14 @@ "TotalCodeSize": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of storage space, in bytes, that's being used by deployment packages and layer archives.
" } }, "FunctionCount": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of Lambda functions.
" } } @@ -357,6 +363,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -637,10 +644,7 @@ } }, "com.amazonaws.lambda#AllowCredentials": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lambda#AllowMethodsList": { "type": "list", @@ -731,7 +735,6 @@ "com.amazonaws.lambda#BatchSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -739,10 +742,7 @@ } }, "com.amazonaws.lambda#BisectBatchOnFunctionError": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lambda#Blob": { "type": "blob", @@ -757,7 +757,10 @@ } }, "com.amazonaws.lambda#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.lambda#CodeSigningConfig": { "type": "structure", @@ -1392,6 +1395,7 @@ "Publish": { "target": "com.amazonaws.lambda#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to true to publish the first version of the function during creation.
" } }, @@ -2040,6 +2044,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -2273,10 +2278,7 @@ } }, "com.amazonaws.lambda#Enabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lambda#EndPointType": { "type": "string", @@ -2423,7 +2425,6 @@ "com.amazonaws.lambda#EphemeralStorageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 512, "max": 10240 @@ -2819,6 +2820,7 @@ "CodeSize": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the function's deployment package, in bytes.
" } }, @@ -4046,6 +4048,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -4084,6 +4087,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -4127,6 +4131,7 @@ "Version": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number.
" } }, @@ -4347,7 +4352,10 @@ } }, "com.amazonaws.lambda#HttpStatus": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lambda#ImageConfig": { "type": "structure", @@ -4416,7 +4424,10 @@ } }, "com.amazonaws.lambda#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lambda#InvalidCodeSignatureException": { "type": "structure", @@ -4596,6 +4607,7 @@ "StatusCode": { "target": "com.amazonaws.lambda#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status code is in the 200 range for a successful request. For the RequestResponse\n invocation type, this status code is 200. For the Event invocation type, this status code is 202. For\n the DryRun invocation type, the status code is 204.
The status code.
", "smithy.api#httpResponseCode": {} } @@ -4972,6 +4985,7 @@ "CodeSize": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the layer archive in bytes.
" } }, @@ -5094,6 +5108,7 @@ "CodeSize": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the layer archive in bytes.
" } }, @@ -5115,7 +5130,10 @@ } }, "com.amazonaws.lambda#LayerVersionNumber": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lambda#LayerVersionsList": { "type": "list", @@ -5135,6 +5153,7 @@ "Version": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number.
" } }, @@ -6212,7 +6231,10 @@ } }, "com.amazonaws.lambda#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lambda#MasterRegion": { "type": "string", @@ -6223,7 +6245,6 @@ "com.amazonaws.lambda#MaxAge": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 86400 @@ -6233,7 +6254,6 @@ "com.amazonaws.lambda#MaxFunctionEventInvokeConfigListItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -6243,7 +6263,6 @@ "com.amazonaws.lambda#MaxItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -6253,7 +6272,6 @@ "com.amazonaws.lambda#MaxLayerListItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -6263,7 +6281,6 @@ "com.amazonaws.lambda#MaxListItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -6273,7 +6290,6 @@ "com.amazonaws.lambda#MaxProvisionedConcurrencyConfigListItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -6283,7 +6299,6 @@ "com.amazonaws.lambda#MaximumBatchingWindowInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 300 @@ -6293,7 +6308,6 @@ "com.amazonaws.lambda#MaximumEventAgeInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 21600 @@ -6303,7 +6317,6 @@ "com.amazonaws.lambda#MaximumRecordAgeInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -1, "max": 604800 @@ -6313,7 +6326,6 @@ "com.amazonaws.lambda#MaximumRetryAttempts": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2 @@ -6323,7 +6335,6 @@ "com.amazonaws.lambda#MaximumRetryAttemptsEventSourceMapping": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -1, "max": 10000 @@ -6333,7 +6344,6 @@ "com.amazonaws.lambda#MemorySize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 128, "max": 10240 @@ -6379,7 +6389,6 @@ "com.amazonaws.lambda#NonNegativeInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6451,7 +6460,6 @@ "com.amazonaws.lambda#ParallelizationFactor": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -6487,7 +6495,6 @@ "com.amazonaws.lambda#PositiveInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -6736,6 +6743,7 @@ "Version": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number.
" } }, @@ -7215,6 +7223,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -7325,7 +7334,6 @@ "com.amazonaws.lambda#ReservedConcurrentExecutions": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -7966,7 +7974,6 @@ "com.amazonaws.lambda#Timeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -8069,7 +8076,6 @@ "com.amazonaws.lambda#TumblingWindowInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 900 @@ -8089,7 +8095,6 @@ "com.amazonaws.lambda#UnreservedConcurrentExecutions": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -8540,12 +8545,14 @@ "Publish": { "target": "com.amazonaws.lambda#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to true to publish a new version of the function after updating the code. This has the same effect as\n calling PublishVersion separately.
" } }, "DryRun": { "target": "com.amazonaws.lambda#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to true to validate the request parameters and access permissions without modifying the function\n code.
" } }, @@ -8964,6 +8971,7 @@ "com.amazonaws.lambda#Weight": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0.0, "max": 1.0 diff --git a/codegen/sdk/aws-models/lex-model-building-service.json b/codegen/sdk/aws-models/lex-model-building-service.json index 726483e460e..c9ebf116914 100644 --- a/codegen/sdk/aws-models/lex-model-building-service.json +++ b/codegen/sdk/aws-models/lex-model-building-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -235,10 +235,7 @@ "type": "blob" }, "com.amazonaws.lexmodelbuildingservice#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lexmodelbuildingservice#BotAliasMetadata": { "type": "structure", @@ -613,7 +610,6 @@ "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -664,7 +660,6 @@ "com.amazonaws.lexmodelbuildingservice#ContextTimeToLiveInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 86400 @@ -674,7 +669,6 @@ "com.amazonaws.lexmodelbuildingservice#ContextTurnsToLive": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -724,10 +718,7 @@ } }, "com.amazonaws.lexmodelbuildingservice#Count": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.lexmodelbuildingservice#CreateBotVersion": { "type": "operation", @@ -1197,6 +1188,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1231,6 +1225,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotAliasRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1286,6 +1283,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotChannelAssociationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1359,6 +1359,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1414,6 +1417,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteIntentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1461,6 +1467,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteIntentVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1516,6 +1525,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1563,6 +1575,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1618,6 +1633,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteUtterancesRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -3857,7 +3875,6 @@ "com.amazonaws.lexmodelbuildingservice#GroupNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 @@ -4349,7 +4366,6 @@ "com.amazonaws.lexmodelbuildingservice#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -4739,7 +4755,6 @@ "com.amazonaws.lexmodelbuildingservice#Priority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -4792,7 +4807,6 @@ "com.amazonaws.lexmodelbuildingservice#PromptMaxAttempts": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 @@ -5750,7 +5764,6 @@ "com.amazonaws.lexmodelbuildingservice#SessionTTL": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 86400 diff --git a/codegen/sdk/aws-models/lex-models-v2.json b/codegen/sdk/aws-models/lex-models-v2.json index e85dae1a9b5..725a160dd05 100644 --- a/codegen/sdk/aws-models/lex-models-v2.json +++ b/codegen/sdk/aws-models/lex-models-v2.json @@ -7756,8 +7756,6 @@ "active": { "target": "com.amazonaws.lexmodelsv2#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "Specifies whether an intent's closing response is used. When this\n field is false, the closing response isn't sent to the user. If the\n active field isn't specified, the default is\n true.
Specifies whether the intent's confirmation is sent to the user.\n When this field is false, confirmation and declination responses aren't\n sent. If the active field isn't specified, the default is\n true.
How SearchResults are ordered. Valid values are Ascending or\n Descending. The default is Descending.
" } }, @@ -11918,8 +11912,6 @@ "resolutionStrategy": { "target": "com.amazonaws.lexmodelsv2#SlotValueResolutionStrategy", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "OriginalValue", "smithy.api#documentation": "Determines the slot resolution strategy that Amazon Lex uses to\n return slot type values. The field can be set to one of the following\n values:
\n\nOriginalValue - Returns the value entered by the user, if the\n user value is similar to the slot value.
\nTopResolution - If there is a resolution list for the slot,\n return the first value in the resolution list as the slot type\n value. If there is no resolution list, null is returned.
\nIf you don't specify the valueSelectionStrategy, the default is\n OriginalValue.
", "smithy.api#required": {} } @@ -14392,8 +14384,6 @@ "engine": { "target": "com.amazonaws.lexmodelsv2#VoiceEngine", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "standard", "smithy.api#documentation": "Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more\n information, see the \n engine parameter of the\n SynthesizeSpeech operation in the\n Amazon Polly developer guide.
If you do not specify a value, the default is\n standard.
Specifies whether the bot will wait for a user to respond. When this\n field is false, wait and continue responses for a slot aren't used. If\n the active field isn't specified, the default is\n true.
A score that indicates how confident Amazon Lex is that an intent satisfies\n the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate\n higher confidence.
" } } @@ -1132,6 +1134,7 @@ "audioStream": { "target": "com.amazonaws.lexruntimeservice#BlobStream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "The prompt (or statement) to convey to the user. This is based on the\n bot configuration and context. For example, if Amazon Lex did not understand\n the user intent, it sends the clarificationPrompt configured\n for the bot. If the intent requires confirmation before taking the\n fulfillment action, it sends the confirmationPrompt. Another\n example: Suppose that the Lambda function successfully fulfilled the\n intent, and sent a message to convey to the user. Then Amazon Lex sends that\n message in the response.
The audio version of the message to convey to the user.
", "smithy.api#httpPayload": {} } diff --git a/codegen/sdk/aws-models/lex-runtime-v2.json b/codegen/sdk/aws-models/lex-runtime-v2.json index 333a12c8b90..5ef9fc2f5c3 100644 --- a/codegen/sdk/aws-models/lex-runtime-v2.json +++ b/codegen/sdk/aws-models/lex-runtime-v2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,27 @@ "shapes": { "com.amazonaws.lexruntimev2#AWSDeepSenseRunTimeServiceApi2_0": { "type": "service", + "version": "2020-08-07", + "operations": [ + { + "target": "com.amazonaws.lexruntimev2#DeleteSession" + }, + { + "target": "com.amazonaws.lexruntimev2#GetSession" + }, + { + "target": "com.amazonaws.lexruntimev2#PutSession" + }, + { + "target": "com.amazonaws.lexruntimev2#RecognizeText" + }, + { + "target": "com.amazonaws.lexruntimev2#RecognizeUtterance" + }, + { + "target": "com.amazonaws.lexruntimev2#StartConversation" + } + ], "traits": { "aws.api#service": { "sdkId": "Lex Runtime V2", @@ -53,28 +74,7 @@ }, "smithy.api#documentation": "", "smithy.api#title": "Amazon Lex Runtime V2" - }, - "version": "2020-08-07", - "operations": [ - { - "target": "com.amazonaws.lexruntimev2#DeleteSession" - }, - { - "target": "com.amazonaws.lexruntimev2#GetSession" - }, - { - "target": "com.amazonaws.lexruntimev2#PutSession" - }, - { - "target": "com.amazonaws.lexruntimev2#RecognizeText" - }, - { - "target": "com.amazonaws.lexruntimev2#RecognizeUtterance" - }, - { - "target": "com.amazonaws.lexruntimev2#StartConversation" - } - ] + } }, "com.amazonaws.lexruntimev2#AccessDeniedException": { "type": "structure", @@ -171,7 +171,6 @@ "com.amazonaws.lexruntimev2#ActiveContextTimeToLiveInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 86400 @@ -181,7 +180,6 @@ "com.amazonaws.lexruntimev2#ActiveContextTurnsToLive": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -246,6 +244,7 @@ "clientTimestampMillis": { "target": "com.amazonaws.lexruntimev2#EpochMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A timestamp set by the client of the date and time that the event\n was sent to Amazon Lex V2.
" } } @@ -303,7 +302,10 @@ } }, "com.amazonaws.lexruntimev2#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.lexruntimev2#BotAliasIdentifier": { "type": "string" @@ -376,6 +378,7 @@ "score": { "target": "com.amazonaws.lexruntimev2#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A score that indicates how confident Amazon Lex V2 is that an intent\n satisfies the user's intent. Ranges between 0.00 and 1.00. Higher\n scores indicate higher confidence.
" } } @@ -412,6 +415,7 @@ "disablePlayback": { "target": "com.amazonaws.lexruntimev2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Determines whether Amazon Lex V2 should send audio responses to the client\n application. \n
\nSet this field to false when the client is operating in a playback\n mode where audio responses are played to the user. If the client isn't\n operating in playback mode, such as a text chat application, set this\n to true so that Amazon Lex V2 doesn't wait for the prompt to finish playing on\n the client.
" } }, @@ -424,6 +428,7 @@ "clientTimestampMillis": { "target": "com.amazonaws.lexruntimev2#EpochMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A timestamp set by the client of the date and time that the event\n was sent to Amazon Lex V2.
" } } @@ -501,6 +506,7 @@ "clientTimestampMillis": { "target": "com.amazonaws.lexruntimev2#EpochMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A timestamp set by the client of the date and time that the event\n was sent to Amazon Lex V2.
" } } @@ -715,6 +721,7 @@ "clientTimestampMillis": { "target": "com.amazonaws.lexruntimev2#EpochMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A timestamp set by the client of the date and time that the event\n was sent to Amazon Lex V2.
" } } @@ -724,7 +731,10 @@ } }, "com.amazonaws.lexruntimev2#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lexruntimev2#ElicitSubSlot": { "type": "structure", @@ -748,7 +758,10 @@ } }, "com.amazonaws.lexruntimev2#EpochMillis": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lexruntimev2#EventId": { "type": "string", @@ -1191,6 +1204,7 @@ "clientTimestampMillis": { "target": "com.amazonaws.lexruntimev2#EpochMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A timestamp set by the client of the date and time that the event\n was sent to Amazon Lex V2.
" } } @@ -1391,6 +1405,7 @@ "audioStream": { "target": "com.amazonaws.lexruntimev2#BlobStream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "If the requested content type was audio, the audio version of the\n message to convey to the user.
", "smithy.api#httpPayload": {} } @@ -1645,6 +1660,7 @@ "inputStream": { "target": "com.amazonaws.lexruntimev2#BlobStream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "User input in PCM or Opus audio format or text format as described\n in the requestContentType parameter.
The prompt or statement to send to the user. This is based on the\n bot configuration and context. For example, if Amazon Lex V2 did not understand\n the user intent, it sends the clarificationPrompt\n configured for the bot. If the intent requires confirmation before\n taking the fulfillment action, it sends the\n confirmationPrompt. Another example: Suppose that the\n Lambda function successfully fulfilled the intent, and sent a message\n to convey to the user. Then Amazon Lex V2 sends that message in the\n response.
The level of confidence that Amazon Comprehend has in the accuracy\n of its detection of the POSITIVE sentiment.
The level of confidence that Amazon Comprehend has in the accuracy\n of its detection of the NEGATIVE sentiment.
The level of confidence that Amazon Comprehend has in the accuracy\n of its detection of the NEUTRAL sentiment.
The level of confidence that Amazon Comprehend has in the accuracy\n of its detection of the MIXED sentiment.
A timestamp set by the client of the date and time that the event\n was sent to Amazon Lex V2.
" } } diff --git a/codegen/sdk/aws-models/license-manager-user-subscriptions.json b/codegen/sdk/aws-models/license-manager-user-subscriptions.json index 04488c6868c..be6f3e64d93 100644 --- a/codegen/sdk/aws-models/license-manager-user-subscriptions.json +++ b/codegen/sdk/aws-models/license-manager-user-subscriptions.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException": { "type": "structure", @@ -113,10 +113,7 @@ } }, "com.amazonaws.licensemanagerusersubscriptions#BoxInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.licensemanagerusersubscriptions#ConflictException": { "type": "structure", @@ -501,6 +498,39 @@ }, "com.amazonaws.licensemanagerusersubscriptions#LicenseManagerUserSubscriptions": { "type": "service", + "version": "2018-05-10", + "operations": [ + { + "target": "com.amazonaws.licensemanagerusersubscriptions#AssociateUser" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#DeregisterIdentityProvider" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#DisassociateUser" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListIdentityProviders" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListInstances" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListProductSubscriptions" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListUserAssociations" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#RegisterIdentityProvider" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#StartProductSubscription" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#StopProductSubscription" + } + ], "traits": { "aws.api#service": { "sdkId": "License Manager User Subscriptions", @@ -536,40 +566,7 @@ }, "smithy.api#documentation": "With License Manager, you can create user-based subscriptions to utilize licensed software with a per user subscription fee on Amazon EC2 instances.
", "smithy.api#title": "AWS License Manager User Subscriptions" - }, - "version": "2018-05-10", - "operations": [ - { - "target": "com.amazonaws.licensemanagerusersubscriptions#AssociateUser" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#DeregisterIdentityProvider" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#DisassociateUser" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#ListIdentityProviders" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#ListInstances" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#ListProductSubscriptions" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#ListUserAssociations" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#RegisterIdentityProvider" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#StartProductSubscription" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#StopProductSubscription" - } - ] + } }, "com.amazonaws.licensemanagerusersubscriptions#ListIdentityProviders": { "type": "operation", @@ -1300,4 +1297,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/license-manager.json b/codegen/sdk/aws-models/license-manager.json index a7eeb16f2fb..69f1e7e2fa3 100644 --- a/codegen/sdk/aws-models/license-manager.json +++ b/codegen/sdk/aws-models/license-manager.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -379,7 +379,10 @@ } }, "com.amazonaws.licensemanager#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.licensemanager#BorrowConfiguration": { "type": "structure", @@ -404,22 +407,13 @@ } }, "com.amazonaws.licensemanager#BoxBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.licensemanager#BoxInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.licensemanager#BoxLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.licensemanager#CheckInLicense": { "type": "operation", @@ -2509,6 +2503,7 @@ "DryRun": { "target": "com.amazonaws.licensemanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Checks whether you have the required permissions for the action, without actually making the request. Provides an error response if you do not have the required permissions.
" } } @@ -3471,10 +3466,7 @@ } }, "com.amazonaws.licensemanager#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.licensemanager#InvalidParameterValueException": { "type": "structure", @@ -5349,10 +5341,7 @@ "type": "string" }, "com.amazonaws.licensemanager#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.licensemanager#ManagedResourceSummary": { "type": "structure", @@ -5383,7 +5372,6 @@ "com.amazonaws.licensemanager#MaxSize100": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5450,6 +5438,7 @@ "EnableIntegration": { "target": "com.amazonaws.licensemanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables Organizations integration.
", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/lightsail.json b/codegen/sdk/aws-models/lightsail.json index 4a1ae48f8a0..6e37d246caa 100644 --- a/codegen/sdk/aws-models/lightsail.json +++ b/codegen/sdk/aws-models/lightsail.json @@ -2573,40 +2573,30 @@ "healthyThreshold": { "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 2, "smithy.api#documentation": "The number of consecutive health checks successes required before moving the container to\n the Healthy state. The default value is 2.
The number of consecutive health check failures required before moving the container to\n the Unhealthy state. The default value is 2.
The amount of time, in seconds, during which no response means a failed health check. You\n can specify between 2 and 60 seconds. The default value is 2.
The approximate interval, in seconds, between health checks of an individual container.\n You can specify between 5 and 300 seconds. The default value is 5.
The path on the container on which to perform the health check. The default value is\n /.
The IP address type for the distribution.
\n\nThe possible values are ipv4 for IPv4 only, and dualstack for\n IPv4 and IPv6.
The default value is dualstack.
The IP address type for the instance.
\n\nThe possible values are ipv4 for IPv4 only, and dualstack for\n IPv4 and IPv6.
The default value is dualstack.
The IP address type for the instance.
\n\nThe possible values are ipv4 for IPv4 only, and dualstack for\n IPv4 and IPv6.
The default value is dualstack.
The IP address type for the load balancer.
\n\nThe possible values are ipv4 for IPv4 only, and dualstack for\n IPv4 and IPv6.
The default value is dualstack.
Amazon Lookout for Equipment is a machine learning service that uses advanced analytics to identify\n anomalies in machines from sensor data for use in predictive maintenance.
", - "smithy.api#title": "Amazon Lookout for Equipment" - }, "version": "2020-12-15", "operations": [ { @@ -147,7 +132,22 @@ { "target": "com.amazonaws.lookoutequipment#UpdateLabelGroup" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "LookoutEquipment", + "arnNamespace": "lookoutequipment", + "cloudFormationName": "LookoutEquipment", + "cloudTrailEventSource": "lookoutequipment.amazonaws.com", + "endpointPrefix": "lookoutequipment" + }, + "aws.auth#sigv4": { + "name": "lookoutequipment" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Amazon Lookout for Equipment is a machine learning service that uses advanced analytics to identify\n anomalies in machines from sensor data for use in predictive maintenance.
", + "smithy.api#title": "Amazon Lookout for Equipment" + } }, "com.amazonaws.lookoutequipment#AccessDeniedException": { "type": "structure", @@ -175,7 +175,10 @@ } }, "com.amazonaws.lookoutequipment#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.lookoutequipment#BoundedLengthString": { "type": "string", @@ -267,6 +270,7 @@ "Percentage": { "target": "com.amazonaws.lookoutequipment#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Indicates the percentage of occurances of the given statistic.
", "smithy.api#required": {} } @@ -834,7 +838,6 @@ "com.amazonaws.lookoutequipment#DataDelayOffsetInMinutes": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 60 @@ -945,7 +948,6 @@ "com.amazonaws.lookoutequipment#DataSizeInBytes": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -2058,7 +2060,6 @@ "com.amazonaws.lookoutequipment#EventDurationInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -2093,7 +2094,10 @@ } }, "com.amazonaws.lookoutequipment#Float": { - "type": "float" + "type": "float", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lookoutequipment#IamRoleArn": { "type": "string", @@ -2616,10 +2620,7 @@ } }, "com.amazonaws.lookoutequipment#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.lookoutequipment#InternalServerException": { "type": "structure", @@ -3720,7 +3721,6 @@ "com.amazonaws.lookoutequipment#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -4048,6 +4048,7 @@ "DataExists": { "target": "com.amazonaws.lookoutequipment#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Parameter that indicates whether data exists for the sensor that the statistics belong\n to.
" } }, diff --git a/codegen/sdk/aws-models/lookoutmetrics.json b/codegen/sdk/aws-models/lookoutmetrics.json index 3d8a99f7b73..70c6058b9e6 100644 --- a/codegen/sdk/aws-models/lookoutmetrics.json +++ b/codegen/sdk/aws-models/lookoutmetrics.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -169,6 +169,7 @@ "AlertSensitivityThreshold": { "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum severity for an anomaly to trigger the alert.
" } }, @@ -286,6 +287,7 @@ "AlertSensitivityThreshold": { "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum severity for an anomaly to trigger the alert.
" } }, @@ -642,6 +644,7 @@ "TotalCount": { "target": "com.amazonaws.lookoutmetrics#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of groups found.
" } }, @@ -1033,10 +1036,7 @@ } }, "com.amazonaws.lookoutmetrics#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lookoutmetrics#CSVFileCompression": { "type": "string", @@ -1207,6 +1207,7 @@ "AlertSensitivityThreshold": { "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer from 0 to 100 specifying the alert sensitivity threshold.
" } }, @@ -1413,7 +1414,7 @@ "Offset": { "target": "com.amazonaws.lookoutmetrics#Offset", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.
" } }, @@ -1628,6 +1629,7 @@ "com.amazonaws.lookoutmetrics#DatabasePort": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -1925,7 +1927,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The number of items to return in the response.
" } }, @@ -2153,7 +2155,7 @@ "Offset": { "target": "com.amazonaws.lookoutmetrics#Offset", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.
" } }, @@ -2568,10 +2570,7 @@ } }, "com.amazonaws.lookoutmetrics#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.lookoutmetrics#ErrorMessage": { "type": "string", @@ -2898,7 +2897,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
" } }, @@ -3027,7 +3026,10 @@ } }, "com.amazonaws.lookoutmetrics#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lookoutmetrics#InterMetricImpactDetails": { "type": "structure", @@ -3095,6 +3097,7 @@ "OccurrenceCount": { "target": "com.amazonaws.lookoutmetrics#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of times that the measure appears.
" } } @@ -3233,7 +3236,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results that will be displayed by the request.
" } } @@ -3301,7 +3304,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
" } }, @@ -3395,7 +3398,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
" } }, @@ -3476,6 +3479,7 @@ "SensitivityThreshold": { "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum severity score for inclusion in the output.
", "smithy.api#required": {} } @@ -3483,7 +3487,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
" } }, @@ -3584,7 +3588,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
" } }, @@ -3682,7 +3686,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
" } }, @@ -3767,21 +3771,6 @@ }, "com.amazonaws.lookoutmetrics#LookoutMetrics": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "LookoutMetrics", - "arnNamespace": "lookoutmetrics", - "cloudFormationName": "LookoutMetrics", - "cloudTrailEventSource": "lookoutmetrics.amazonaws.com", - "endpointPrefix": "lookoutmetrics" - }, - "aws.auth#sigv4": { - "name": "lookoutmetrics" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "This is the Amazon Lookout for Metrics API Reference. For an introduction to the service\n with tutorials for getting started, visit Amazon\n Lookout for Metrics Developer Guide.
", - "smithy.api#title": "Amazon Lookout for Metrics" - }, "version": "2017-07-25", "operations": [ { @@ -3874,11 +3863,27 @@ { "target": "com.amazonaws.lookoutmetrics#UpdateMetricSet" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "LookoutMetrics", + "arnNamespace": "lookoutmetrics", + "cloudFormationName": "LookoutMetrics", + "cloudTrailEventSource": "lookoutmetrics.amazonaws.com", + "endpointPrefix": "lookoutmetrics" + }, + "aws.auth#sigv4": { + "name": "lookoutmetrics" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "This is the Amazon Lookout for Metrics API Reference. For an introduction to the service\n with tutorials for getting started, visit Amazon\n Lookout for Metrics Developer Guide.
", + "smithy.api#title": "Amazon Lookout for Metrics" + } }, "com.amazonaws.lookoutmetrics#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -3919,7 +3924,6 @@ "com.amazonaws.lookoutmetrics#MetricChangePercentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0.0, "max": 100.0 @@ -3938,6 +3942,7 @@ "NumTimeSeries": { "target": "com.amazonaws.lookoutmetrics#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of anomalous metrics for the measure.
" } }, @@ -4161,10 +4166,7 @@ } }, "com.amazonaws.lookoutmetrics#MetricValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.lookoutmetrics#MetricValueList": { "type": "list", @@ -4204,6 +4206,7 @@ "com.amazonaws.lookoutmetrics#Offset": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 432000 @@ -4328,7 +4331,7 @@ "DatabasePort": { "target": "com.amazonaws.lookoutmetrics#DatabasePort", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The port number where the database can be accessed.
" } }, @@ -4405,7 +4408,7 @@ "DatabasePort": { "target": "com.amazonaws.lookoutmetrics#DatabasePort", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The port number where the database can be accessed.
" } }, @@ -4611,7 +4614,6 @@ "com.amazonaws.lookoutmetrics#Score": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0.0, "max": 100.0 @@ -4637,6 +4639,7 @@ "com.amazonaws.lookoutmetrics#SensitivityThreshold": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5115,6 +5118,7 @@ "AlertSensitivityThreshold": { "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer from 0 to 100 specifying the alert sensitivity threshold.
" } }, @@ -5280,7 +5284,7 @@ "Offset": { "target": "com.amazonaws.lookoutmetrics#Offset", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.
" } }, diff --git a/codegen/sdk/aws-models/lookoutvision.json b/codegen/sdk/aws-models/lookoutvision.json index 80d9d65af0d..8f09f809c2f 100644 --- a/codegen/sdk/aws-models/lookoutvision.json +++ b/codegen/sdk/aws-models/lookoutvision.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -101,7 +101,10 @@ } }, "com.amazonaws.lookoutvision#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.lookoutvision#ClientToken": { "type": "string", @@ -1276,6 +1279,7 @@ "IsAnomalous": { "target": "com.amazonaws.lookoutvision#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if Amazon Lookout for Vision classifies the image as containing an anomaly, otherwise false.
" } }, @@ -1306,10 +1310,7 @@ "type": "string" }, "com.amazonaws.lookoutvision#Float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.lookoutvision#GreengrassConfiguration": { "type": "structure", @@ -1418,7 +1419,6 @@ "com.amazonaws.lookoutvision#InferenceUnits": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1453,10 +1453,7 @@ } }, "com.amazonaws.lookoutvision#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.lookoutvision#InternalServerException": { "type": "structure", @@ -1470,6 +1467,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.lookoutvision#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The period of time, in seconds, before the operation can be retried.
", "smithy.api#httpHeader": "Retry-After" } @@ -1482,10 +1480,7 @@ } }, "com.amazonaws.lookoutvision#IsLabeled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lookoutvision#KmsKeyId": { "type": "string", @@ -1940,21 +1935,6 @@ }, "com.amazonaws.lookoutvision#LookoutVisionService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "LookoutVision", - "arnNamespace": "lookoutvision", - "cloudFormationName": "LookoutVision", - "cloudTrailEventSource": "lookoutvision.amazonaws.com", - "endpointPrefix": "lookoutvision" - }, - "aws.auth#sigv4": { - "name": "lookoutvision" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "This is the Amazon Lookout for Vision API Reference. It provides descriptions of actions, \n data types, common parameters, and common errors.
\nAmazon Lookout for Vision enables you to find visual defects in industrial products,\n accurately and at scale. It uses computer vision to identify missing components in an industrial product,\n damage to vehicles or structures, irregularities in production lines, and even minuscule defects in\n silicon wafers — or any other physical item where quality is important such as a missing capacitor\n on printed circuit boards.
", - "smithy.api#title": "Amazon Lookout for Vision" - }, "version": "2020-11-20", "operations": [ { @@ -2023,7 +2003,22 @@ { "target": "com.amazonaws.lookoutvision#UpdateDatasetEntries" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "LookoutVision", + "arnNamespace": "lookoutvision", + "cloudFormationName": "LookoutVision", + "cloudTrailEventSource": "lookoutvision.amazonaws.com", + "endpointPrefix": "lookoutvision" + }, + "aws.auth#sigv4": { + "name": "lookoutvision" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "This is the Amazon Lookout for Vision API Reference. It provides descriptions of actions, \n data types, common parameters, and common errors.
\nAmazon Lookout for Vision enables you to find visual defects in industrial products,\n accurately and at scale. It uses computer vision to identify missing components in an industrial product,\n damage to vehicles or structures, irregularities in production lines, and even minuscule defects in\n silicon wafers — or any other physical item where quality is important such as a missing capacitor\n on printed circuit boards.
", + "smithy.api#title": "Amazon Lookout for Vision" + } }, "com.amazonaws.lookoutvision#ModelArn": { "type": "string" @@ -2572,7 +2567,6 @@ "com.amazonaws.lookoutvision#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2754,7 +2748,10 @@ } }, "com.amazonaws.lookoutvision#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lookoutvision#S3BucketName": { "type": "string", @@ -3373,6 +3370,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.lookoutvision#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The period of time, in seconds, before the operation can be retried.
", "smithy.api#httpHeader": "Retry-After" } diff --git a/codegen/sdk/aws-models/m2.json b/codegen/sdk/aws-models/m2.json index 929aab2e34f..33aab884986 100644 --- a/codegen/sdk/aws-models/m2.json +++ b/codegen/sdk/aws-models/m2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.m2#AccessDeniedException": { "type": "structure", @@ -29,6 +29,7 @@ "offset": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A positive integer value representing the offset to mark the start of the alternate key\n part in the record byte array.
", "smithy.api#required": {} } @@ -36,6 +37,7 @@ "length": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A strictly positive integer value representing the length of the alternate key.
", "smithy.api#required": {} } @@ -43,6 +45,7 @@ "allowDuplicates": { "target": "com.amazonaws.m2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the alternate key values are supposed to be unique for the given data\n set.
" } } @@ -379,6 +382,29 @@ }, "com.amazonaws.m2#AwsSupernovaControlPlaneService": { "type": "service", + "version": "2021-04-28", + "operations": [ + { + "target": "com.amazonaws.m2#ListEngineVersions" + }, + { + "target": "com.amazonaws.m2#ListTagsForResource" + }, + { + "target": "com.amazonaws.m2#TagResource" + }, + { + "target": "com.amazonaws.m2#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.m2#Application" + }, + { + "target": "com.amazonaws.m2#Environment" + } + ], "traits": { "aws.api#service": { "sdkId": "m2", @@ -417,30 +443,7 @@ }, "smithy.api#documentation": "Amazon Web Services Mainframe Modernization provides tools and resources to help you plan and implement migration and\n modernization from mainframes to Amazon Web Services managed runtime environments. It provides tools for\n analyzing existing mainframe applications, developing or updating mainframe applications\n using COBOL or PL/I, and implementing an automated pipeline for continuous integration and\n continuous delivery (CI/CD) of the applications.
", "smithy.api#title": "AWSMainframeModernization" - }, - "version": "2021-04-28", - "operations": [ - { - "target": "com.amazonaws.m2#ListEngineVersions" - }, - { - "target": "com.amazonaws.m2#ListTagsForResource" - }, - { - "target": "com.amazonaws.m2#TagResource" - }, - { - "target": "com.amazonaws.m2#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.m2#Application" - }, - { - "target": "com.amazonaws.m2#Environment" - } - ] + } }, "com.amazonaws.m2#BatchJobDefinition": { "type": "union", @@ -654,7 +657,10 @@ } }, "com.amazonaws.m2#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.m2#CancelBatchJobExecution": { "type": "operation", @@ -725,7 +731,6 @@ "com.amazonaws.m2#CapacityValue": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1166,6 +1171,7 @@ "publiclyAccessible": { "target": "com.amazonaws.m2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the environment is publicly accessible.
" } }, @@ -1309,6 +1315,7 @@ "total": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of data set imports.
", "smithy.api#required": {} } @@ -1316,6 +1323,7 @@ "succeeded": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of data set imports that have succeeded.
", "smithy.api#required": {} } @@ -1323,6 +1331,7 @@ "failed": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of data set imports that have failed.
", "smithy.api#required": {} } @@ -1330,6 +1339,7 @@ "pending": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of data set imports that are pending.
", "smithy.api#required": {} } @@ -1337,6 +1347,7 @@ "inProgress": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of data set imports that are in progress.
", "smithy.api#required": {} } @@ -2107,6 +2118,7 @@ "limit": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of generation data sets, up to 255, in a GDG.
" } }, @@ -2127,6 +2139,7 @@ "limit": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of generation data sets, up to 255, in a GDG.
" } }, @@ -2630,7 +2643,7 @@ "recordLength": { "target": "com.amazonaws.m2#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The length of records in the data set.
" } }, @@ -2643,7 +2656,7 @@ "blocksize": { "target": "com.amazonaws.m2#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The size of the block on disk.
" } }, @@ -3018,6 +3031,7 @@ "publiclyAccessible": { "target": "com.amazonaws.m2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether applications running in this runtime environment are publicly accessible.\n
" } }, @@ -3087,7 +3101,10 @@ } }, "com.amazonaws.m2#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.m2#InternalServerException": { "type": "structure", @@ -3101,6 +3118,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds to wait before retrying the request.
", "smithy.api#httpHeader": "Retry-After" } @@ -3171,7 +3189,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of application versions to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3265,7 +3283,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of applications to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3373,7 +3391,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of batch job definitions to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3477,7 +3495,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of batch job executions to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3603,7 +3621,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of objects to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3708,7 +3726,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of objects to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3804,7 +3822,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of objects to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3905,7 +3923,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of objects to return.
", "smithy.api#httpQuery": "maxResults" } @@ -3985,7 +4003,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of environments to return.
", "smithy.api#httpQuery": "maxResults" } @@ -4150,7 +4168,6 @@ "com.amazonaws.m2#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4206,6 +4223,7 @@ "offset": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A positive integer value representing the offset to mark the start of the primary key in\n the record byte array.
", "smithy.api#required": {} } @@ -4213,6 +4231,7 @@ "length": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A strictly positive integer value representing the length of the primary key.
", "smithy.api#required": {} } @@ -4228,6 +4247,7 @@ "min": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum record length of a record.
", "smithy.api#required": {} } @@ -4235,6 +4255,7 @@ "max": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum record length. In case of fixed, both minimum and maximum are the\n same.
", "smithy.api#required": {} } @@ -4525,6 +4546,7 @@ "forceStop": { "target": "com.amazonaws.m2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Stopping an application process can take a long time. Setting this parameter to true\n lets you force stop the application so you don't need to wait until the process finishes to\n apply another action on the application. The default value is false.
" } } @@ -4735,6 +4757,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds to wait before retrying the request.
", "smithy.api#httpHeader": "Retry-After" } @@ -4956,7 +4979,7 @@ "desiredCapacity": { "target": "com.amazonaws.m2#CapacityValue", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The desired capacity for the environment to update.
" } }, @@ -4981,6 +5004,7 @@ "applyDuringMaintenanceWindow": { "target": "com.amazonaws.m2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to update the environment during the maintenance window. The default\n is false. Currently, Amazon Web Services Mainframe Modernization accepts the engineVersion parameter only if\n applyDuringMaintenanceWindow is true. If any parameter other than\n engineVersion is provided in UpdateEnvironmentRequest, it will\n fail if applyDuringMaintenanceWindow is set to true.
Indicates whether indexes for this dataset are stored as compressed values. If you have\n a large data set (typically > 100 Mb), consider setting this flag to True.
" } }, @@ -5143,14 +5167,14 @@ "compressed": { "target": "com.amazonaws.m2#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Indicates whether indexes for this dataset are stored as compressed values. If you have\n a large data set (typically > 100 Mb), consider setting this flag to True.
" } }, "cacheAtStartup": { "target": "com.amazonaws.m2#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "If set to True, enforces loading the data set into cache before it’s used by the\n application.
" } }, @@ -5172,4 +5196,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/machine-learning.json b/codegen/sdk/aws-models/machine-learning.json index bf6408b6711..e62f958651f 100644 --- a/codegen/sdk/aws-models/machine-learning.json +++ b/codegen/sdk/aws-models/machine-learning.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -378,7 +378,10 @@ } }, "com.amazonaws.machinelearning#ComputeStatistics": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.machinelearning#CreateBatchPrediction": { "type": "operation", @@ -512,6 +515,7 @@ "ComputeStatistics": { "target": "com.amazonaws.machinelearning#ComputeStatistics", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The compute statistics for a DataSource. The statistics are generated from the observation data referenced by \n a DataSource. Amazon ML uses the statistics internally during MLModel training.\n This parameter must be set to true if the DataSource needs to be used for MLModel training.\n
The compute statistics for a DataSource. The statistics are generated from the observation data referenced by \n a DataSource. Amazon ML uses the statistics internally during MLModel training.\n This parameter must be set to true if the DataSource needs to\n be used for MLModel training.
The compute statistics for a DataSource. The statistics are generated from the observation data referenced by \n a DataSource. Amazon ML uses the statistics internally during MLModel training.\n This parameter must be set to true if the DataSource needs to be used for MLModel training.
\n The parameter is true if statistics need to be generated from the observation data.\n
Specifies whether the GetDataSource operation should return DataSourceSchema.
If true, DataSourceSchema is returned.
If false, DataSourceSchema is not returned.
\n The parameter is true if statistics need to be generated from the observation data.\n
Specifies whether the GetMLModel operation should return Recipe.
If true, Recipe is returned.
If false, Recipe is not returned.
Integer type that is a 32-bit signed number.
" } }, @@ -2923,7 +2940,10 @@ "target": "com.amazonaws.machinelearning#ErrorMessage" }, "code": { - "target": "com.amazonaws.machinelearning#ErrorCode" + "target": "com.amazonaws.machinelearning#ErrorCode", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -2939,7 +2959,10 @@ "target": "com.amazonaws.machinelearning#ErrorMessage" }, "code": { - "target": "com.amazonaws.machinelearning#ErrorCode" + "target": "com.amazonaws.machinelearning#ErrorCode", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -2974,7 +2997,10 @@ "target": "com.amazonaws.machinelearning#ErrorMessage" }, "code": { - "target": "com.amazonaws.machinelearning#ErrorCode" + "target": "com.amazonaws.machinelearning#ErrorCode", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -2986,7 +3012,6 @@ "com.amazonaws.machinelearning#LongType": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "Long integer type that is a 64-bit signed number.
" } }, @@ -3191,7 +3216,6 @@ "com.amazonaws.machinelearning#PageLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3548,6 +3572,7 @@ "PeakRequestsPerSecond": { "target": "com.amazonaws.machinelearning#IntegerType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": " The maximum processing rate for the real-time endpoint for MLModel, measured in incoming requests per second.
Specifies whether a describe operation should return exhaustive or abbreviated information.
" } }, @@ -4262,10 +4291,7 @@ } }, "com.amazonaws.machinelearning#floatLabel": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" } } } diff --git a/codegen/sdk/aws-models/macie.json b/codegen/sdk/aws-models/macie.json index bd9c3c4b71a..e3d38d6b113 100644 --- a/codegen/sdk/aws-models/macie.json +++ b/codegen/sdk/aws-models/macie.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -55,6 +55,9 @@ "input": { "target": "com.amazonaws.macie#AssociateMemberAccountRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.macie#InternalException" @@ -193,6 +196,9 @@ "input": { "target": "com.amazonaws.macie#DisassociateMemberAccountRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.macie#InternalException" @@ -510,21 +516,6 @@ }, "com.amazonaws.macie#MacieService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Macie", - "arnNamespace": "macie", - "cloudFormationName": "Macie", - "cloudTrailEventSource": "macie.amazonaws.com", - "endpointPrefix": "macie" - }, - "aws.auth#sigv4": { - "name": "macie" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Macie Classic has been discontinued and is no longer available.
\n \nA new Amazon Macie is now available with significant design improvements and additional\n features, at a lower price and in most Amazon Web Services Regions. We encourage you to take advantage of the\n new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie. To learn how to use the new Macie, see the Amazon Macie User\n Guide.
", - "smithy.api#title": "Amazon Macie" - }, "version": "2017-12-19", "operations": [ { @@ -548,12 +539,26 @@ { "target": "com.amazonaws.macie#UpdateS3Resources" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Macie", + "arnNamespace": "macie", + "cloudFormationName": "Macie", + "cloudTrailEventSource": "macie.amazonaws.com", + "endpointPrefix": "macie" + }, + "aws.auth#sigv4": { + "name": "macie" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Macie Classic has been discontinued and is no longer available.
\n \nA new Amazon Macie is now available with significant design improvements and additional\n features, at a lower price and in most Amazon Web Services Regions. We encourage you to take advantage of the\n new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie. To learn how to use the new Macie, see the Amazon Macie User\n Guide.
", + "smithy.api#title": "Amazon Macie" + } }, "com.amazonaws.macie#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 250 } diff --git a/codegen/sdk/aws-models/macie2.json b/codegen/sdk/aws-models/macie2.json index a95d98d0f73..fd2bf3b565b 100644 --- a/codegen/sdk/aws-models/macie2.json +++ b/codegen/sdk/aws-models/macie2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -106,6 +106,7 @@ "allowsPublicReadAccess": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the ACL grants the general public with read access permissions for the bucket.
", "smithy.api#jsonName": "allowsPublicReadAccess" } @@ -113,6 +114,7 @@ "allowsPublicWriteAccess": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the ACL grants the general public with write access permissions for the bucket.
", "smithy.api#jsonName": "allowsPublicWriteAccess" } @@ -522,6 +524,7 @@ "deleted": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie doesn't delete it permanently. Instead, it soft deletes the identifier.
", "smithy.api#jsonName": "deleted" } @@ -629,6 +632,7 @@ "blockPublicAcls": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.
", "smithy.api#jsonName": "blockPublicAcls" } @@ -636,6 +640,7 @@ "blockPublicPolicy": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon S3 blocks public bucket policies for the bucket.
", "smithy.api#jsonName": "blockPublicPolicy" } @@ -643,6 +648,7 @@ "ignorePublicAcls": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.
", "smithy.api#jsonName": "ignorePublicAcls" } @@ -650,6 +656,7 @@ "restrictPublicBuckets": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon S3 restricts public bucket policies for the bucket.
", "smithy.api#jsonName": "restrictPublicBuckets" } @@ -665,6 +672,7 @@ "publiclyAccessible": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that allow the general public to have read or write access to the bucket.
", "smithy.api#jsonName": "publiclyAccessible" } @@ -672,6 +680,7 @@ "publiclyReadable": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that allow the general public to have read access to the bucket.
", "smithy.api#jsonName": "publiclyReadable" } @@ -679,6 +688,7 @@ "publiclyWritable": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that allow the general public to have write access to the bucket.
", "smithy.api#jsonName": "publiclyWritable" } @@ -686,6 +696,7 @@ "unknown": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.
", "smithy.api#jsonName": "unknown" } @@ -701,6 +712,7 @@ "kmsManaged": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that use an KMS key to encrypt new objects by default, either an Amazon Web Services managed key or a customer managed key. These buckets use KMS encryption (SSE-KMS) by default.
", "smithy.api#jsonName": "kmsManaged" } @@ -708,6 +720,7 @@ "s3Managed": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that use an Amazon S3 managed key to encrypt new objects by default. These buckets use Amazon S3 managed encryption (SSE-S3) by default.
", "smithy.api#jsonName": "s3Managed" } @@ -715,6 +728,7 @@ "unencrypted": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that don't encrypt new objects by default. Default encryption is disabled for these buckets.
", "smithy.api#jsonName": "unencrypted" } @@ -722,6 +736,7 @@ "unknown": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the default encryption settings for these buckets.
", "smithy.api#jsonName": "unknown" } @@ -737,6 +752,7 @@ "external": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that are shared with an Amazon Web Services account that isn't part of the same Amazon Macie organization.
", "smithy.api#jsonName": "external" } @@ -744,6 +760,7 @@ "internal": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that are shared with an Amazon Web Services account that's part of the same Amazon Macie organization.
", "smithy.api#jsonName": "internal" } @@ -751,6 +768,7 @@ "notShared": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that aren't shared with other Amazon Web Services accounts.
", "smithy.api#jsonName": "notShared" } @@ -758,6 +776,7 @@ "unknown": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other Amazon Web Services accounts.
", "smithy.api#jsonName": "unknown" } @@ -773,6 +792,7 @@ "allowsUnencryptedObjectUploads": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that don't have a bucket policy or have a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, the policy doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.
", "smithy.api#jsonName": "allowsUnencryptedObjectUploads" } @@ -780,6 +800,7 @@ "deniesUnencryptedObjectUploads": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets whose bucket policies require server-side encryption of new objects. PutObject requests for these buckets must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.
", "smithy.api#jsonName": "deniesUnencryptedObjectUploads" } @@ -787,6 +808,7 @@ "unknown": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets that Amazon Macie wasn't able to evaluate server-side encryption requirements for. Macie can't determine whether the bucket policies for these buckets require server-side encryption of new objects.
", "smithy.api#jsonName": "unknown" } @@ -821,6 +843,7 @@ "gt": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value for the property is greater than the specified value.
", "smithy.api#jsonName": "gt" } @@ -828,6 +851,7 @@ "gte": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value for the property is greater than or equal to the specified value.
", "smithy.api#jsonName": "gte" } @@ -835,6 +859,7 @@ "lt": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value for the property is less than the specified value.
", "smithy.api#jsonName": "lt" } @@ -842,6 +867,7 @@ "lte": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value for the property is less than or equal to the specified value.
", "smithy.api#jsonName": "lte" } @@ -935,6 +961,7 @@ "classifiableObjectCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.
", "smithy.api#jsonName": "classifiableObjectCount" } @@ -942,6 +969,7 @@ "classifiableSizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.
If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
", "smithy.api#jsonName": "classifiableSizeInBytes" } @@ -977,6 +1005,7 @@ "objectCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of objects in the bucket.
", "smithy.api#jsonName": "objectCount" } @@ -1026,6 +1055,7 @@ "sizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size, in bytes, of the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.
", "smithy.api#jsonName": "sizeInBytes" } @@ -1033,6 +1063,7 @@ "sizeInBytesCompressed": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
", "smithy.api#jsonName": "sizeInBytesCompressed" } @@ -1061,6 +1092,7 @@ "versioning": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether versioning is enabled for the bucket.
", "smithy.api#jsonName": "versioning" } @@ -1110,6 +1142,7 @@ "allowsPublicReadAccess": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the bucket policy allows the general public to have read access to the bucket.
", "smithy.api#jsonName": "allowsPublicReadAccess" } @@ -1117,6 +1150,7 @@ "allowsPublicWriteAccess": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the bucket policy allows the general public to have write access to the bucket.
", "smithy.api#jsonName": "allowsPublicWriteAccess" } @@ -1205,6 +1239,7 @@ "column": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The column number of the column that contains the sensitive data. For a Microsoft Excel workbook, this value correlates to the alphabetical character(s) for a column identifier, for example: 1 for column A, 2 for column B, and so on.
", "smithy.api#jsonName": "column" } @@ -1219,6 +1254,7 @@ "row": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The row number of the row that contains the sensitive data.
", "smithy.api#jsonName": "row" } @@ -1301,6 +1337,7 @@ "additionalOccurrences": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.
This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).
", "smithy.api#jsonName": "additionalOccurrences" } @@ -1329,6 +1366,7 @@ "sizeClassified": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total size, in bytes, of the data that the finding applies to.
", "smithy.api#jsonName": "sizeClassified" } @@ -1563,6 +1601,7 @@ "initialRun": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.
If you configure the job to run only once, don't specify a value for this property.
", "smithy.api#jsonName": "initialRun" } @@ -1608,6 +1647,7 @@ "samplingPercentage": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The sampling depth, as a percentage, for the job to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.
", "smithy.api#jsonName": "samplingPercentage" } @@ -1722,6 +1762,7 @@ "maximumMatchDistance": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie includes the result. The distance can be 1-300 characters. The default value is 50.
", "smithy.api#jsonName": "maximumMatchDistance" } @@ -1855,6 +1896,7 @@ "position": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
", "smithy.api#jsonName": "position" } @@ -1941,6 +1983,7 @@ "disableEmailNotification": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.
", "smithy.api#jsonName": "disableEmailNotification" } @@ -2163,6 +2206,7 @@ "gt": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value for the property is greater than the specified value.
", "smithy.api#jsonName": "gt" } @@ -2170,6 +2214,7 @@ "gte": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value for the property is greater than or equal to the specified value.
", "smithy.api#jsonName": "gte" } @@ -2177,6 +2222,7 @@ "lt": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value for the property is less than the specified value.
", "smithy.api#jsonName": "lt" } @@ -2184,6 +2230,7 @@ "lte": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value for the property is less than or equal to the specified value.
", "smithy.api#jsonName": "lte" } @@ -2268,6 +2315,7 @@ "totalCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.
", "smithy.api#jsonName": "totalCount" } @@ -2290,6 +2338,7 @@ "count": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of occurrences of the sensitive data that the custom data identifier detected.
", "smithy.api#jsonName": "count" } @@ -2455,6 +2504,7 @@ "count": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of occurrences of the type of sensitive data that was detected.
", "smithy.api#jsonName": "count" } @@ -2840,6 +2890,7 @@ "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to include in each page of the response. The default value is 50.
", "smithy.api#jsonName": "maxResults" } @@ -2974,6 +3025,7 @@ "initialRun": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "For a recurring job, specifies whether you configured the job to analyze all existing, eligible objects immediately after the job was created (true). If you configured the job to analyze only those objects that were created or changed after the job was created and before the job's first scheduled run, this value is false. This value is also false for a one-time job.
", "smithy.api#jsonName": "initialRun" } @@ -3051,6 +3103,7 @@ "samplingPercentage": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The sampling depth, as a percentage, that determines the percentage of eligible objects that the job analyzes.
", "smithy.api#jsonName": "samplingPercentage" } @@ -3135,6 +3188,7 @@ "autoEnable": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization.
", "smithy.api#jsonName": "autoEnable" } @@ -3142,6 +3196,7 @@ "maxAccountLimitReached": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the maximum number of Amazon Macie member accounts are part of the organization.
", "smithy.api#jsonName": "maxAccountLimitReached" } @@ -3688,6 +3743,7 @@ "archived": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the finding is archived (suppressed).
", "smithy.api#jsonName": "archived" } @@ -3709,6 +3765,7 @@ "count": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.
", "smithy.api#jsonName": "count" } @@ -3765,6 +3822,7 @@ "sample": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.
", "smithy.api#jsonName": "sample" } @@ -4297,6 +4355,7 @@ "bucketCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of buckets.
", "smithy.api#jsonName": "bucketCount" } @@ -4332,6 +4391,7 @@ "classifiableObjectCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
", "smithy.api#jsonName": "classifiableObjectCount" } @@ -4339,6 +4399,7 @@ "classifiableSizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
If versioning is enabled for any of the buckets, Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
", "smithy.api#jsonName": "classifiableSizeInBytes" } @@ -4353,6 +4414,7 @@ "objectCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of objects in the buckets.
", "smithy.api#jsonName": "objectCount" } @@ -4360,6 +4422,7 @@ "sizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size, in bytes, of the buckets.
If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each object in those buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
", "smithy.api#jsonName": "sizeInBytes" } @@ -4367,6 +4430,7 @@ "sizeInBytesCompressed": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.
If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
", "smithy.api#jsonName": "sizeInBytesCompressed" } @@ -4516,6 +4580,7 @@ "deleted": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie doesn't delete it permanently. Instead, it soft deletes the identifier.
", "smithy.api#jsonName": "deleted" } @@ -4551,6 +4616,7 @@ "maximumMatchDistance": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie includes the result. Otherwise, Macie excludes the result.
", "smithy.api#jsonName": "maximumMatchDistance" } @@ -4646,6 +4712,7 @@ "size": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to include in each page of the response.
", "smithy.api#jsonName": "size" } @@ -4812,6 +4879,7 @@ "position": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
", "smithy.api#jsonName": "position" } @@ -4963,6 +5031,7 @@ "invitationsCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of invitations that were received by the account, not including the currently accepted invitation.
", "smithy.api#jsonName": "invitationsCount" } @@ -5502,6 +5571,7 @@ "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to include in each page of the response.
", "smithy.api#jsonName": "maxResults" } @@ -5655,6 +5725,7 @@ "count": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of findings in the group of query results.
", "smithy.api#jsonName": "count" } @@ -5846,6 +5917,7 @@ "lat": { "target": "com.amazonaws.macie2#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The latitude coordinate of the location, rounded to four decimal places.
", "smithy.api#jsonName": "lat" } @@ -5853,6 +5925,7 @@ "lon": { "target": "com.amazonaws.macie2#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The longitude coordinate of the location, rounded to four decimal places.
", "smithy.api#jsonName": "lon" } @@ -6296,6 +6369,7 @@ "maxResults": { "target": "com.amazonaws.macie2#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to include in each page of a paginated response.
", "smithy.api#httpQuery": "maxResults" } @@ -6387,6 +6461,7 @@ "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to include in each page of the response.
", "smithy.api#jsonName": "maxResults" } @@ -6478,6 +6553,7 @@ "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to include in each page of the response.
", "smithy.api#jsonName": "maxResults" } @@ -6608,6 +6684,7 @@ "maxResults": { "target": "com.amazonaws.macie2#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to include in each page of a paginated response.
", "smithy.api#httpQuery": "maxResults" } @@ -6653,6 +6730,7 @@ "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to include in each page of the response.
", "smithy.api#jsonName": "maxResults" } @@ -6744,6 +6822,7 @@ "maxResults": { "target": "com.amazonaws.macie2#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to include in each page of a paginated response.
", "smithy.api#httpQuery": "maxResults" } @@ -6997,6 +7076,7 @@ "maxResults": { "target": "com.amazonaws.macie2#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to include in each page of a paginated response.
", "smithy.api#httpQuery": "maxResults" } @@ -7088,6 +7168,7 @@ "maxResults": { "target": "com.amazonaws.macie2#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to include in each page of a paginated response.
", "smithy.api#httpQuery": "maxResults" } @@ -7164,21 +7245,6 @@ }, "com.amazonaws.macie2#Macie2": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Macie2", - "arnNamespace": "macie2", - "cloudFormationName": "Macie2", - "cloudTrailEventSource": "macie2.amazonaws.com", - "endpointPrefix": "macie2" - }, - "aws.auth#sigv4": { - "name": "macie2" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors for you. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.
", - "smithy.api#title": "Amazon Macie 2" - }, "version": "2020-01-01", "operations": [ { @@ -7379,7 +7445,22 @@ { "target": "com.amazonaws.macie2#UpdateRevealConfiguration" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Macie2", + "arnNamespace": "macie2", + "cloudFormationName": "Macie2", + "cloudTrailEventSource": "macie2.amazonaws.com", + "endpointPrefix": "macie2" + }, + "aws.auth#sigv4": { + "name": "macie2" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors for you. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.
", + "smithy.api#title": "Amazon Macie 2" + } }, "com.amazonaws.macie2#MacieStatus": { "type": "string", @@ -7463,6 +7544,7 @@ "classifiableObjectCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.
", "smithy.api#jsonName": "classifiableObjectCount" } @@ -7470,6 +7552,7 @@ "classifiableSizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.
If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
", "smithy.api#jsonName": "classifiableSizeInBytes" } @@ -7498,6 +7581,7 @@ "objectCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of objects in the bucket.
", "smithy.api#jsonName": "objectCount" } @@ -7512,6 +7596,7 @@ "sizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size, in bytes, of the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.
", "smithy.api#jsonName": "sizeInBytes" } @@ -7519,6 +7604,7 @@ "sizeInBytesCompressed": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
", "smithy.api#jsonName": "sizeInBytesCompressed" } @@ -7560,6 +7646,7 @@ "com.amazonaws.macie2#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 @@ -7643,6 +7730,7 @@ "dayOfMonth": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 31.
If this value exceeds the number of days in a certain month, Macie doesn't run the job that month. Macie runs the job only during months that have the specified day. For example, if this value is 31 and a month has only 30 days, Macie doesn't run the job that month. To run the job every month, specify a value that's less than 29.
", "smithy.api#jsonName": "dayOfMonth" } @@ -7658,6 +7746,7 @@ "customerManaged": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of objects that are encrypted with a customer-provided key. The objects use customer-provided server-side encryption (SSE-C).
", "smithy.api#jsonName": "customerManaged" } @@ -7665,6 +7754,7 @@ "kmsManaged": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of objects that are encrypted with an KMS key, either an Amazon Web Services managed key or a customer managed key. The objects use KMS encryption (SSE-KMS).
", "smithy.api#jsonName": "kmsManaged" } @@ -7672,6 +7762,7 @@ "s3Managed": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of objects that are encrypted with an Amazon S3 managed key. The objects use Amazon S3 managed encryption (SSE-S3).
", "smithy.api#jsonName": "s3Managed" } @@ -7679,6 +7770,7 @@ "unencrypted": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of objects that aren't encrypted or use client-side encryption.
", "smithy.api#jsonName": "unencrypted" } @@ -7686,6 +7778,7 @@ "unknown": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of objects that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the encryption settings for these objects.
", "smithy.api#jsonName": "unknown" } @@ -7701,6 +7794,7 @@ "fileType": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects don't have a file name extension for a supported file or storage format.
", "smithy.api#jsonName": "fileType" } @@ -7708,6 +7802,7 @@ "storageClass": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class.
", "smithy.api#jsonName": "storageClass" } @@ -7715,6 +7810,7 @@ "total": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class or don't have a file name extension for a supported file or storage format.
", "smithy.api#jsonName": "total" } @@ -7814,6 +7910,7 @@ "pageNumber": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The page number of the page that contains the sensitive data.
", "smithy.api#jsonName": "pageNumber" } @@ -7989,6 +8086,7 @@ "end": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of lines from the beginning of the file to the end of the sensitive data.
", "smithy.api#jsonName": "end" } @@ -7996,6 +8094,7 @@ "start": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of lines from the beginning of the file to the beginning of the sensitive data.
", "smithy.api#jsonName": "start" } @@ -8003,6 +8102,7 @@ "startColumn": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.
", "smithy.api#jsonName": "startColumn" } @@ -8034,6 +8134,7 @@ "recordIndex": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "For an Avro object container or Parquet file, the record index, starting from 0, for the record that contains the sensitive data. For a JSON Lines file, the line index, starting from 0, for the line that contains the sensitive data. This value is always 0 for JSON files.
", "smithy.api#jsonName": "recordIndex" } @@ -8106,6 +8207,7 @@ "replicated": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the bucket is configured to replicate one or more objects to any destination.
", "smithy.api#jsonName": "replicated" } @@ -8113,6 +8215,7 @@ "replicatedExternally": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the bucket is configured to replicate one or more objects to an Amazon Web Services account that isn't part of the same Amazon Macie organization.
", "smithy.api#jsonName": "replicatedExternally" } @@ -8467,6 +8570,7 @@ "publicAccess": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.
", "smithy.api#jsonName": "publicAccess" } @@ -8481,6 +8585,7 @@ "size": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total storage size, in bytes, of the object.
", "smithy.api#jsonName": "size" } @@ -8715,6 +8820,7 @@ "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to include in each page of the response. The default value is 50.
", "smithy.api#jsonName": "maxResults" } @@ -8903,6 +9009,7 @@ "publishClassificationFindings": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to publish sensitive data findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false.
", "smithy.api#jsonName": "publishClassificationFindings", "smithy.api#required": {} @@ -8911,6 +9018,7 @@ "publishPolicyFindings": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to publish policy findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true.
", "smithy.api#jsonName": "publishPolicyFindings", "smithy.api#required": {} @@ -8950,6 +9058,7 @@ "totalCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of occurrences of the sensitive data that was detected.
", "smithy.api#jsonName": "totalCount" } @@ -9023,6 +9132,7 @@ "isServiceLimited": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.
", "smithy.api#jsonName": "isServiceLimited" } @@ -9037,6 +9147,7 @@ "value": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value for the metric specified by the UsageByAccount.type field in the response.
", "smithy.api#jsonName": "value" } @@ -9098,6 +9209,7 @@ "mfaAuthenticated": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
", "smithy.api#jsonName": "mfaAuthenticated" } @@ -9163,6 +9275,7 @@ "score": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).
", "smithy.api#jsonName": "score" } @@ -9198,6 +9311,7 @@ "occurrencesThreshold": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).
", "smithy.api#jsonName": "occurrencesThreshold", "smithy.api#required": {} @@ -9358,6 +9472,7 @@ "approximateNumberOfObjectsToProcess": { "target": "com.amazonaws.macie2#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The approximate number of objects that the job has yet to process during its current run.
", "smithy.api#jsonName": "approximateNumberOfObjectsToProcess" } @@ -9365,6 +9480,7 @@ "numberOfRuns": { "target": "com.amazonaws.macie2#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of times that the job has run.
", "smithy.api#jsonName": "numberOfRuns" } @@ -9638,6 +9754,7 @@ "maximumMatchDistance": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie includes the result. The distance can be 1-300 characters. The default value is 50.
", "smithy.api#jsonName": "maximumMatchDistance" } @@ -9666,6 +9783,7 @@ "matchCount": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of occurrences of sample text that matched the criteria specified by the custom data identifier.
", "smithy.api#jsonName": "matchCount" } @@ -10088,6 +10206,7 @@ "position": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
", "smithy.api#jsonName": "position" } @@ -10295,6 +10414,7 @@ "autoEnable": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable Amazon Macie automatically for an account when the account is added to the organization in Organizations.
", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -10787,13 +10907,22 @@ } }, "com.amazonaws.macie2#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.macie2#__double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.macie2#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.macie2#__listOfAdminAccount": { "type": "list", @@ -10987,7 +11116,10 @@ } }, "com.amazonaws.macie2#__long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.macie2#__string": { "type": "string" diff --git a/codegen/sdk/aws-models/managedblockchain.json b/codegen/sdk/aws-models/managedblockchain.json index 0d0e9d19756..d328607dbcc 100644 --- a/codegen/sdk/aws-models/managedblockchain.json +++ b/codegen/sdk/aws-models/managedblockchain.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -656,10 +656,7 @@ } }, "com.amazonaws.managedblockchain#Enabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.managedblockchain#ExceptionMessage": { "type": "string" @@ -1100,10 +1097,7 @@ } }, "com.amazonaws.managedblockchain#IsOwned": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.managedblockchain#ListInvitations": { "type": "operation", @@ -1932,7 +1926,6 @@ "com.amazonaws.managedblockchain#MemberListMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -2220,7 +2213,6 @@ "com.amazonaws.managedblockchain#NetworkListMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -2528,7 +2520,6 @@ "com.amazonaws.managedblockchain#NodeListMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -2795,7 +2786,6 @@ "com.amazonaws.managedblockchain#ProposalDurationInt": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 168 @@ -2805,7 +2795,6 @@ "com.amazonaws.managedblockchain#ProposalListMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3263,7 +3252,6 @@ "com.amazonaws.managedblockchain#ThresholdPercentageInt": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -3507,10 +3495,7 @@ } }, "com.amazonaws.managedblockchain#VoteCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.managedblockchain#VoteOnProposal": { "type": "operation", diff --git a/codegen/sdk/aws-models/marketplace-catalog.json b/codegen/sdk/aws-models/marketplace-catalog.json index 2608187b943..2243da28f10 100644 --- a/codegen/sdk/aws-models/marketplace-catalog.json +++ b/codegen/sdk/aws-models/marketplace-catalog.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -41,21 +41,6 @@ }, "com.amazonaws.marketplacecatalog#AWSMPSeymour": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Marketplace Catalog", - "arnNamespace": "aws-marketplace", - "cloudFormationName": "MarketplaceCatalog", - "cloudTrailEventSource": "marketplacecatalog.amazonaws.com", - "endpointPrefix": "catalog.marketplace" - }, - "aws.auth#sigv4": { - "name": "aws-marketplace" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Catalog API actions allow you to manage your entities through list, describe, and update\n capabilities. An entity can be a product or an offer on AWS Marketplace.
\n\nYou can automate your entity update process by integrating the AWS Marketplace Catalog\n API with your AWS Marketplace product build or deployment pipelines. You can also create\n your own applications on top of the Catalog API to manage your products on AWS\n Marketplace.
", - "smithy.api#title": "AWS Marketplace Catalog Service" - }, "version": "2018-09-17", "operations": [ { @@ -76,7 +61,22 @@ { "target": "com.amazonaws.marketplacecatalog#StartChangeSet" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Marketplace Catalog", + "arnNamespace": "aws-marketplace", + "cloudFormationName": "MarketplaceCatalog", + "cloudTrailEventSource": "marketplacecatalog.amazonaws.com", + "endpointPrefix": "catalog.marketplace" + }, + "aws.auth#sigv4": { + "name": "aws-marketplace" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Catalog API actions allow you to manage your entities through list, describe, and update\n capabilities. An entity can be a product or an offer on AWS Marketplace.
\n\nYou can automate your entity update process by integrating the AWS Marketplace Catalog\n API with your AWS Marketplace product build or deployment pipelines. You can also create\n your own applications on top of the Catalog API to manage your products on AWS\n Marketplace.
", + "smithy.api#title": "AWS Marketplace Catalog Service" + } }, "com.amazonaws.marketplacecatalog#AccessDeniedException": { "type": "structure", @@ -1029,7 +1029,6 @@ "com.amazonaws.marketplacecatalog#MaxResultInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 diff --git a/codegen/sdk/aws-models/marketplace-commerce-analytics.json b/codegen/sdk/aws-models/marketplace-commerce-analytics.json index a69f51aaf6c..958b23847a4 100644 --- a/codegen/sdk/aws-models/marketplace-commerce-analytics.json +++ b/codegen/sdk/aws-models/marketplace-commerce-analytics.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { diff --git a/codegen/sdk/aws-models/marketplace-entitlement-service.json b/codegen/sdk/aws-models/marketplace-entitlement-service.json index 38f18b59c9c..4b3fa6804ed 100644 --- a/codegen/sdk/aws-models/marketplace-entitlement-service.json +++ b/codegen/sdk/aws-models/marketplace-entitlement-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -54,16 +54,10 @@ } }, "com.amazonaws.marketplaceentitlementservice#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.marketplaceentitlementservice#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.marketplaceentitlementservice#Entitlement": { "type": "structure", @@ -264,10 +258,7 @@ } }, "com.amazonaws.marketplaceentitlementservice#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.marketplaceentitlementservice#InternalServiceErrorException": { "type": "structure", diff --git a/codegen/sdk/aws-models/marketplace-metering.json b/codegen/sdk/aws-models/marketplace-metering.json index 2f613d80313..9adf2fab0a3 100644 --- a/codegen/sdk/aws-models/marketplace-metering.json +++ b/codegen/sdk/aws-models/marketplace-metering.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.marketplacemetering#AWSMPMeteringService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Marketplace Metering", - "arnNamespace": "aws-marketplace", - "cloudFormationName": "MarketplaceMetering", - "cloudTrailEventSource": "marketplacemetering.amazonaws.com", - "endpointPrefix": "metering.marketplace" - }, - "aws.auth#sigv4": { - "name": "aws-marketplace" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "This reference provides descriptions of the low-level AWS Marketplace Metering Service\n API.
\nAWS Marketplace sellers can use this API to submit usage data for custom usage\n dimensions.
\nFor information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the\n AWS Marketplace Seller Guide.\n
\n\n Submitting Metering Records\n
\n\n MeterUsage - Submits the metering record for an AWS\n Marketplace product. MeterUsage is called from an EC2 instance or a\n container running on EKS or ECS.
\n BatchMeterUsage - Submits the metering record for a set of\n customers. BatchMeterUsage is called from a software-as-a-service\n (SaaS) application.
\n Accepting New Customers\n
\n\n ResolveCustomer - Called by a SaaS application during the\n registration process. When a buyer visits your website during the registration\n process, the buyer submits a Registration Token through the browser. The\n Registration Token is resolved through this API to obtain a\n CustomerIdentifier\n \n along with the CustomerAWSAccountId and\n ProductCode.
\n Entitlement and Metering for Paid Container Products\n
\nPaid container software products sold through AWS Marketplace must integrate\n with the AWS Marketplace Metering Service and call the\n RegisterUsage operation for software entitlement and metering.\n Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call\n RegisterUsage, but you can do so if you want to receive usage\n data in your seller reports. For more information on using the\n RegisterUsage operation, see Container-Based Products.
\n BatchMeterUsage API calls are captured by AWS CloudTrail. You can use\n Cloudtrail to verify that the SaaS metering records that you sent are accurate by\n searching for records with the eventName of BatchMeterUsage.\n You can also use CloudTrail to audit records over time. For more information, see the\n \n AWS CloudTrail User Guide.\n
This reference provides descriptions of the low-level AWS Marketplace Metering Service\n API.
\nAWS Marketplace sellers can use this API to submit usage data for custom usage\n dimensions.
\nFor information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the\n AWS Marketplace Seller Guide.\n
\n\n Submitting Metering Records\n
\n\n MeterUsage - Submits the metering record for an AWS\n Marketplace product. MeterUsage is called from an EC2 instance or a\n container running on EKS or ECS.
\n BatchMeterUsage - Submits the metering record for a set of\n customers. BatchMeterUsage is called from a software-as-a-service\n (SaaS) application.
\n Accepting New Customers\n
\n\n ResolveCustomer - Called by a SaaS application during the\n registration process. When a buyer visits your website during the registration\n process, the buyer submits a Registration Token through the browser. The\n Registration Token is resolved through this API to obtain a\n CustomerIdentifier\n \n along with the CustomerAWSAccountId and\n ProductCode.
\n Entitlement and Metering for Paid Container Products\n
\nPaid container software products sold through AWS Marketplace must integrate\n with the AWS Marketplace Metering Service and call the\n RegisterUsage operation for software entitlement and metering.\n Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call\n RegisterUsage, but you can do so if you want to receive usage\n data in your seller reports. For more information on using the\n RegisterUsage operation, see Container-Based Products.
\n BatchMeterUsage API calls are captured by AWS CloudTrail. You can use\n Cloudtrail to verify that the SaaS metering records that you sent are accurate by\n searching for records with the eventName of BatchMeterUsage.\n You can also use CloudTrail to audit records over time. For more information, see the\n \n AWS CloudTrail User Guide.\n
The bytes of the object.
", "smithy.api#httpPayload": {} } @@ -306,6 +307,7 @@ "StatusCode": { "target": "com.amazonaws.mediastoredata#statusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTML status code of the request. Status codes ranging from 200 to 299 indicate\n success. All other status codes indicate the type of error that occurred.
", "smithy.api#httpResponseCode": {}, "smithy.api#required": {} @@ -472,7 +474,6 @@ "com.amazonaws.mediastoredata#ListLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -531,7 +532,6 @@ "com.amazonaws.mediastoredata#NonNegativeLong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -740,7 +740,10 @@ } }, "com.amazonaws.mediastoredata#statusCode": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } } } } diff --git a/codegen/sdk/aws-models/mediastore.json b/codegen/sdk/aws-models/mediastore.json index 0bd53ee1906..f453312133a 100644 --- a/codegen/sdk/aws-models/mediastore.json +++ b/codegen/sdk/aws-models/mediastore.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -120,10 +120,7 @@ } }, "com.amazonaws.mediastore#ContainerAccessLoggingEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.mediastore#ContainerInUseException": { "type": "structure", @@ -161,7 +158,6 @@ "com.amazonaws.mediastore#ContainerListLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -274,6 +270,7 @@ "MaxAgeSeconds": { "target": "com.amazonaws.mediastore#MaxAgeSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time in seconds that your browser caches the preflight response for the specified\n resource.
\nA CORS rule can have only one MaxAgeSeconds element.
How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall within 100ms of a segment boundary, otherwise the ad break will be skipped.
" } }, @@ -102,6 +103,7 @@ "Enabled": { "target": "com.amazonaws.mediatailor#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables ad marker passthrough for your configuration.
" } } @@ -397,6 +399,7 @@ "PercentEnabled": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.
Valid values: 0 - 100
", "smithy.api#required": {} } @@ -419,6 +422,7 @@ "PercentEnabled": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account.
" } }, @@ -1161,24 +1165,28 @@ "ManifestWindowSeconds": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total duration (in seconds) of each manifest. Minimum value: 30 seconds. Maximum value: 3600 seconds.
" } }, "MinBufferTimeSeconds": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Minimum amount of content (measured in seconds) that a player must keep available in the buffer. Minimum value: 2 seconds. Maximum value: 60 seconds.
" } }, "MinUpdatePeriodSeconds": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds.
" } }, "SuggestedPresentationDelaySeconds": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Amount of time (in seconds) that the player should be from the live point at the end of the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds.
" } } @@ -2045,6 +2053,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Upper bound on number of records to return. The maximum number of results is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -2177,6 +2186,7 @@ "PersonalizationThresholdSeconds": { "target": "com.amazonaws.mediatailor#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.
" } }, @@ -2324,6 +2334,7 @@ "ManifestWindowSeconds": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total duration (in seconds) of each manifest. Minimum value: 30 seconds. Maximum value: 3600 seconds.
" } } @@ -2414,6 +2425,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Upper bound on number of records to return. The maximum number of results is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -2481,6 +2493,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Upper bound on number of records to return. The maximum number of results is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -2540,6 +2553,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Upper bound on number of records to return. The maximum number of results is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -2607,6 +2621,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of records to return.
", "smithy.api#httpQuery": "MaxResults" } @@ -2666,6 +2681,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of prefetch schedules that you want MediaTailor to return in response to the current request. If the playback configuration has more than MaxResults prefetch schedules, use the value of NextToken in the response to get the next page of results.
" } }, @@ -2737,6 +2753,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Upper bound on number of records to return. The maximum number of results is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -2843,6 +2860,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Upper bound on number of records to return. The maximum number of results is 100.
", "smithy.api#httpQuery": "maxResults" } @@ -2893,6 +2911,7 @@ "MaxDurationSeconds": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns." } } @@ -2962,6 +2981,7 @@ "PercentEnabled": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.
Valid values: 0 - 100
", "smithy.api#required": {} } @@ -2988,6 +3008,7 @@ "com.amazonaws.mediatailor#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2996,21 +3017,6 @@ }, "com.amazonaws.mediatailor#MediaTailor": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "MediaTailor", - "arnNamespace": "mediatailor", - "cloudFormationName": "MediaTailor", - "cloudTrailEventSource": "mediatailor.amazonaws.com", - "endpointPrefix": "api.mediatailor" - }, - "aws.auth#sigv4": { - "name": "mediatailor" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.
Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).
", - "smithy.api#title": "AWS MediaTailor" - }, "version": "2018-04-23", "operations": [ { @@ -3139,7 +3145,22 @@ { "target": "com.amazonaws.mediatailor#UpdateVodSource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "MediaTailor", + "arnNamespace": "mediatailor", + "cloudFormationName": "MediaTailor", + "cloudTrailEventSource": "mediatailor.amazonaws.com", + "endpointPrefix": "api.mediatailor" + }, + "aws.auth#sigv4": { + "name": "mediatailor" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.
Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).
", + "smithy.api#title": "AWS MediaTailor" + } }, "com.amazonaws.mediatailor#MessageType": { "type": "string", @@ -3265,6 +3286,7 @@ "PersonalizationThresholdSeconds": { "target": "com.amazonaws.mediatailor#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.
" } }, @@ -3552,6 +3574,7 @@ "PersonalizationThresholdSeconds": { "target": "com.amazonaws.mediatailor#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.
" } }, @@ -3654,6 +3677,7 @@ "PersonalizationThresholdSeconds": { "target": "com.amazonaws.mediatailor#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.
" } }, @@ -3813,6 +3837,7 @@ "ApproximateDurationSeconds": { "target": "com.amazonaws.mediatailor#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The approximate duration of the ad break, in seconds.
" } }, @@ -3860,6 +3885,7 @@ "ApproximateDurationSeconds": { "target": "com.amazonaws.mediatailor#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The approximate duration of this program, in seconds.
" } }, @@ -4079,24 +4105,28 @@ "AvailNum": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This is written to splice_insert.avail_num, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.
" } }, "AvailsExpected": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This is written to splice_insert.avails_expected, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.
" } }, "SpliceEventId": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This is written to splice_insert.splice_event_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 1.
" } }, "UniqueProgramId": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This is written to splice_insert.unique_program_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.
" } } @@ -4178,6 +4208,9 @@ "input": { "target": "com.amazonaws.mediatailor#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.mediatailor#BadRequestException" @@ -4234,6 +4267,7 @@ "DurationMillis": { "target": "com.amazonaws.mediatailor#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration of the live program in seconds.
" } }, @@ -4253,6 +4287,7 @@ "ScheduledStartTimeMillis": { "target": "com.amazonaws.mediatailor#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The date and time that the program is scheduled to start, in epoch milliseconds.
" } }, @@ -4288,6 +4323,9 @@ "input": { "target": "com.amazonaws.mediatailor#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.mediatailor#BadRequestException" @@ -4789,14 +4827,21 @@ } }, "com.amazonaws.mediatailor#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.mediatailor#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediatailor#__integerMin1": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -4805,6 +4850,7 @@ "com.amazonaws.mediatailor#__integerMin1Max100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -4890,7 +4936,10 @@ } }, "com.amazonaws.mediatailor#__long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediatailor#__mapOf__string": { "type": "map", diff --git a/codegen/sdk/aws-models/memorydb.json b/codegen/sdk/aws-models/memorydb.json index d4527604b6c..64631f8d491 100644 --- a/codegen/sdk/aws-models/memorydb.json +++ b/codegen/sdk/aws-models/memorydb.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -486,14 +486,14 @@ } }, "com.amazonaws.memorydb#Boolean": { - "type": "boolean" - }, - "com.amazonaws.memorydb#BooleanOptional": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.memorydb#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.memorydb#Cluster": { "type": "structure", "members": { @@ -2019,6 +2019,7 @@ "DefaultOnly": { "target": "com.amazonaws.memorydb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
" } } @@ -2544,7 +2545,10 @@ } }, "com.amazonaws.memorydb#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.memorydb#DuplicateUserNameFault": { "type": "structure", @@ -2575,6 +2579,7 @@ "Port": { "target": "com.amazonaws.memorydb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port number that the engine is listening on.
" } } @@ -2807,14 +2812,14 @@ } }, "com.amazonaws.memorydb#Integer": { - "type": "integer" - }, - "com.amazonaws.memorydb#IntegerOptional": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.memorydb#IntegerOptional": { + "type": "integer" + }, "com.amazonaws.memorydb#InvalidACLStateFault": { "type": "structure", "members": { @@ -3500,6 +3505,7 @@ "ReplicaCount": { "target": "com.amazonaws.memorydb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of replicas to scale up or down to
" } } @@ -3550,6 +3556,7 @@ "AllParameters": { "target": "com.amazonaws.memorydb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, all parameters in the parameter group are reset to their default values. If false, only the parameters listed by ParameterNames are reset to their default values.
" } }, @@ -3844,6 +3851,7 @@ "ShardCount": { "target": "com.amazonaws.memorydb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of shards in the cluster
" } } @@ -3939,6 +3947,7 @@ "ProgressPercentage": { "target": "com.amazonaws.memorydb#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of the slot migration that is complete.
" } } diff --git a/codegen/sdk/aws-models/mgn.json b/codegen/sdk/aws-models/mgn.json index 1e586be51ed..d48419761ea 100644 --- a/codegen/sdk/aws-models/mgn.json +++ b/codegen/sdk/aws-models/mgn.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.mgn#ARN": { "type": "string", @@ -46,34 +46,6 @@ }, "com.amazonaws.mgn#ApplicationMigrationService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "mgn", - "arnNamespace": "mgn", - "awsProductName": "mgn", - "cloudTrailEventSource": "mgn.amazonaws.com" - }, - "aws.auth#sigv4": { - "name": "mgn" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "content-type", - "x-amz-content-sha256", - "x-amz-user-agent", - "x-amzn-trace-id" - ], - "additionalExposedHeaders": [ - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-trace-id", - "x-amz-apigw-id" - ] - }, - "smithy.api#documentation": "The Application Migration Service service.
", - "smithy.api#title": "Application Migration Service" - }, "version": "2020-02-26", "operations": [ { @@ -108,7 +80,35 @@ { "target": "com.amazonaws.mgn#VcenterClientResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "mgn", + "arnNamespace": "mgn", + "awsProductName": "mgn", + "cloudTrailEventSource": "mgn.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "mgn" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-trace-id" + ], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id", + "x-amz-apigw-id" + ] + }, + "smithy.api#documentation": "The Application Migration Service service.
", + "smithy.api#title": "Application Migration Service" + } }, "com.amazonaws.mgn#BootMode": { "type": "string", @@ -140,6 +140,7 @@ "cores": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of CPU cores on the source server.
" } }, @@ -434,6 +435,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Request to configure bandwidth throttling during Replication Settings template creation.
", "smithy.api#required": {} } @@ -620,24 +622,28 @@ "totalStorageBytes": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Request to query total amount of data replicated in bytes.
" } }, "replicatedStorageBytes": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Request to query amount of data replicated in bytes.
" } }, "rescannedStorageBytes": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Request to query amount of data rescanned in bytes.
" } }, "backloggedStorageBytes": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Request to query data replication backlog size in bytes.
" } } @@ -1109,6 +1115,7 @@ "maxResults": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Request to describe Job log item maximum results.
" } }, @@ -1181,6 +1188,7 @@ "maxResults": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Request to describe job log items by max results.
" } }, @@ -1294,6 +1302,7 @@ "maxResults": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Request to disconnect Source Server from service by Server ID.
" } }, @@ -1369,6 +1378,7 @@ "maxResults": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Request to describe Replication Configuration template by max results.
" } }, @@ -1441,6 +1451,7 @@ "maxResults": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Request to filter Source Servers list by maximum results.
" } }, @@ -1554,6 +1565,7 @@ "maxResults": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum results to be returned in DescribeVcenterClients.
", "smithy.api#httpQuery": "maxResults" } @@ -1636,6 +1648,7 @@ "bytes": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of storage on the disk in bytes.
" } } @@ -1980,6 +1993,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The server encountered an unexpected condition that prevented it from fulfilling the request. The request will be retried again after x seconds.
", "smithy.api#httpHeader": "Retry-After" } @@ -2997,6 +3011,7 @@ "com.amazonaws.mgn#PositiveInteger": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3172,6 +3187,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Replication Configuration set bandwidth throttling.
" } }, @@ -3268,12 +3284,14 @@ "iops": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Replication Configuration replicated disk IOPs.
" } }, "throughput": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Replication Configuration replicated disk throughput.
" } } @@ -3400,6 +3418,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Replication Configuration template bandwidth throttling.
" } }, @@ -3644,6 +3663,7 @@ "quotaValue": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Exceeded the service quota value.
" } } @@ -3705,6 +3725,7 @@ "ramBytes": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Source server RAM in bytes.
" } }, @@ -3892,6 +3913,7 @@ "timeoutSeconds": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Source server replication type.
" } }, @@ -4216,6 +4238,7 @@ "com.amazonaws.mgn#StrictlyPositiveInteger": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -4760,6 +4783,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Update replication configuration bandwidth throttling request.
" } }, @@ -4881,6 +4905,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Update replication configuration template bandwidth throttling request.
" } }, @@ -5123,4 +5148,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/migration-hub-refactor-spaces.json b/codegen/sdk/aws-models/migration-hub-refactor-spaces.json index d9d870581bd..aad71e5442f 100644 --- a/codegen/sdk/aws-models/migration-hub-refactor-spaces.json +++ b/codegen/sdk/aws-models/migration-hub-refactor-spaces.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException": { "type": "structure", @@ -345,10 +345,7 @@ } }, "com.amazonaws.migrationhubrefactorspaces#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.migrationhubrefactorspaces#CidrBlock": { "type": "string" @@ -3288,7 +3285,6 @@ "com.amazonaws.migrationhubrefactorspaces#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3448,34 +3444,6 @@ }, "com.amazonaws.migrationhubrefactorspaces#RefactorSpaces": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Migration Hub Refactor Spaces", - "arnNamespace": "refactor-spaces", - "cloudFormationName": "RefactorSpaces", - "cloudTrailEventSource": "refactor-spaces.amazonaws.com", - "endpointPrefix": "refactor-spaces" - }, - "aws.auth#sigv4": { - "name": "refactor-spaces" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "content-type" - ], - "additionalExposedHeaders": [ - "date", - "x-amz-apigw-id", - "x-amzn-trace-id", - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-errormessage" - ] - }, - "smithy.api#documentation": "This API reference provides descriptions, syntax, and other details about each of the\n actions and data types for Amazon Web Services Migration Hub Refactor Spaces (Refactor Spaces). The topic for each action shows the API\n request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to\n access an API that is tailored to the programming language or platform that you're using. For\n more information, see Amazon Web Services SDKs.
\nTo share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations\n and their OUs, use Resource Access Manager's CreateResourceShare API. See CreateResourceShare in the Amazon Web Services RAM API Reference.
This API reference provides descriptions, syntax, and other details about each of the\n actions and data types for Amazon Web Services Migration Hub Refactor Spaces (Refactor Spaces). The topic for each action shows the API\n request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to\n access an API that is tailored to the programming language or platform that you're using. For\n more information, see Amazon Web Services SDKs.
\nTo share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations\n and their OUs, use Resource Access Manager's CreateResourceShare API. See CreateResourceShare in the Amazon Web Services RAM API Reference.
The number of seconds to wait before retrying.
", "smithy.api#httpHeader": "Retry-After" } @@ -4486,4 +4486,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/migration-hub.json b/codegen/sdk/aws-models/migration-hub.json index ce4be1658a5..5db573feeb6 100644 --- a/codegen/sdk/aws-models/migration-hub.json +++ b/codegen/sdk/aws-models/migration-hub.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -260,6 +260,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } @@ -340,6 +341,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } @@ -410,6 +412,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } @@ -520,6 +523,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } @@ -729,6 +733,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } @@ -806,6 +811,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } @@ -853,7 +859,10 @@ } }, "com.amazonaws.migrationhub#DryRun": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.migrationhub#DryRunOperation": { "type": "structure", @@ -943,6 +952,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } @@ -1403,7 +1413,6 @@ "com.amazonaws.migrationhub#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1413,7 +1422,6 @@ "com.amazonaws.migrationhub#MaxResultsCreatedArtifacts": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -1423,7 +1431,6 @@ "com.amazonaws.migrationhub#MaxResultsResources": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -1531,6 +1538,7 @@ "com.amazonaws.migrationhub#NextUpdateSeconds": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -1606,6 +1614,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } @@ -1690,6 +1699,7 @@ "NextUpdateSeconds": { "target": "com.amazonaws.migrationhub#NextUpdateSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of seconds after the UpdateDateTime within which the Migration Hub can expect an\n update. If Migration Hub does not receive an update within the specified interval, then the\n migration task will be considered stale.
", "smithy.api#required": {} } @@ -1697,6 +1707,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } @@ -1721,7 +1732,6 @@ "com.amazonaws.migrationhub#ProgressPercent": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -1826,6 +1836,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } @@ -1949,7 +1960,10 @@ } }, "com.amazonaws.migrationhub#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.migrationhub#ServiceUnavailableException": { "type": "structure", @@ -2036,6 +2050,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.migrationhub#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds the caller should wait before retrying.
", "smithy.api#httpHeader": "Retry-After" } diff --git a/codegen/sdk/aws-models/migrationhub-config.json b/codegen/sdk/aws-models/migrationhub-config.json index e6516a575fc..eab4dad4c21 100644 --- a/codegen/sdk/aws-models/migrationhub-config.json +++ b/codegen/sdk/aws-models/migrationhub-config.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -133,6 +133,7 @@ "DryRun": { "target": "com.amazonaws.migrationhubconfig#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Optional Boolean flag to indicate whether any effect should take place. It tests whether\n the caller has permission to make the call.
" } } @@ -186,7 +187,6 @@ "com.amazonaws.migrationhubconfig#DescribeHomeRegionControlsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -246,7 +246,10 @@ } }, "com.amazonaws.migrationhubconfig#DryRun": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.migrationhubconfig#DryRunOperation": { "type": "structure", @@ -389,7 +392,10 @@ "type": "timestamp" }, "com.amazonaws.migrationhubconfig#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.migrationhubconfig#ServiceUnavailableException": { "type": "structure", @@ -457,6 +463,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.migrationhubconfig#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds the caller should wait before retrying.
", "smithy.api#httpHeader": "Retry-After" } diff --git a/codegen/sdk/aws-models/migrationhuborchestrator.json b/codegen/sdk/aws-models/migrationhuborchestrator.json index 7e74f47c2b7..6e527911b0d 100644 --- a/codegen/sdk/aws-models/migrationhuborchestrator.json +++ b/codegen/sdk/aws-models/migrationhuborchestrator.json @@ -4526,4 +4526,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/migrationhubstrategy.json b/codegen/sdk/aws-models/migrationhubstrategy.json index b92609d2bce..7b7c4afc296 100644 --- a/codegen/sdk/aws-models/migrationhubstrategy.json +++ b/codegen/sdk/aws-models/migrationhubstrategy.json @@ -1,23 +1,8 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.migrationhubstrategy#AWSMigrationHubStrategyRecommendation": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "MigrationHubStrategy", - "arnNamespace": "awsmigrationhubstrategyrecommendation", - "cloudFormationName": "AWSMigrationHubStrategyRecommendation", - "cloudTrailEventSource": "migrationhub-strategy.amazonaws.com", - "endpointPrefix": "migrationhub-strategy" - }, - "aws.auth#sigv4": { - "name": "migrationhub-strategy" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "This API reference provides descriptions, syntax, and other details about each of the\n actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API\n request parameters and the response. Alternatively, you can use one of the AWS SDKs to access\n an API that is tailored to the programming language or platform that you're using. For more\n information, see AWS SDKs.
", - "smithy.api#title": "Migration Hub Strategy Recommendations" - }, "version": "2020-02-19", "operations": [ { @@ -80,7 +65,22 @@ { "target": "com.amazonaws.migrationhubstrategy#UpdateServerConfig" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "MigrationHubStrategy", + "arnNamespace": "awsmigrationhubstrategyrecommendation", + "cloudFormationName": "AWSMigrationHubStrategyRecommendation", + "cloudTrailEventSource": "migrationhub-strategy.amazonaws.com", + "endpointPrefix": "migrationhub-strategy" + }, + "aws.auth#sigv4": { + "name": "migrationhub-strategy" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "This API reference provides descriptions, syntax, and other details about each of the\n actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API\n request parameters and the response. Alternatively, you can use one of the AWS SDKs to access\n an API that is tailored to the programming language or platform that you're using. For more\n information, see AWS SDKs.
", + "smithy.api#title": "Migration Hub Strategy Recommendations" + } }, "com.amazonaws.migrationhubstrategy#AccessDeniedException": { "type": "structure", @@ -576,10 +576,7 @@ } }, "com.amazonaws.migrationhubstrategy#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.migrationhubstrategy#BusinessGoals": { "type": "structure", @@ -616,7 +613,6 @@ "com.amazonaws.migrationhubstrategy#BusinessGoalsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 @@ -1764,10 +1760,7 @@ } }, "com.amazonaws.migrationhubstrategy#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.migrationhubstrategy#InterfaceName": { "type": "string", @@ -2210,10 +2203,7 @@ } }, "com.amazonaws.migrationhubstrategy#MaxResult": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.migrationhubstrategy#NetMask": { "type": "string", @@ -3996,4 +3986,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/mobile.json b/codegen/sdk/aws-models/mobile.json index 731bea56020..713b6268d19 100644 --- a/codegen/sdk/aws-models/mobile.json +++ b/codegen/sdk/aws-models/mobile.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -131,7 +131,10 @@ } }, "com.amazonaws.mobile#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.mobile#BundleDescription": { "type": "string", @@ -482,6 +485,7 @@ "syncFromResources": { "target": "com.amazonaws.mobile#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "\n If set to true, causes AWS Mobile Hub to synchronize information from other services, e.g., update state of AWS CloudFormation stacks in the AWS Mobile Hub project.\n
", "smithy.api#httpQuery": "syncFromResources" } @@ -763,6 +767,7 @@ "maxResults": { "target": "com.amazonaws.mobile#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Maximum number of records to list in a single response.\n
", "smithy.api#httpQuery": "maxResults" } @@ -844,6 +849,7 @@ "maxResults": { "target": "com.amazonaws.mobile#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Maximum number of records to list in a single response.\n
", "smithy.api#httpQuery": "maxResults" } @@ -877,6 +883,7 @@ "com.amazonaws.mobile#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Maximum number of records to list in a single response.\n
" } }, diff --git a/codegen/sdk/aws-models/mq.json b/codegen/sdk/aws-models/mq.json index dc66e1558e7..a2467b034c8 100644 --- a/codegen/sdk/aws-models/mq.json +++ b/codegen/sdk/aws-models/mq.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -442,6 +442,7 @@ "Revision": { "target": "com.amazonaws.mq#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision number of the configuration.
", "smithy.api#jsonName": "revision" } @@ -472,6 +473,7 @@ "Revision": { "target": "com.amazonaws.mq#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required. The revision number of the configuration.
", "smithy.api#jsonName": "revision", "smithy.api#required": {} @@ -582,6 +584,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot. Set to true by default, if no value is specified.
", "smithy.api#jsonName": "autoMinorVersionUpgrade", "smithy.api#required": {} @@ -673,6 +676,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by default, if no value is provided.
", "smithy.api#jsonName": "publiclyAccessible", "smithy.api#required": {} @@ -964,6 +968,7 @@ "ConsoleAccess": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables access to the ActiveMQ Web Console for the ActiveMQ user.
", "smithy.api#jsonName": "consoleAccess" } @@ -1291,6 +1296,7 @@ "MaxResults": { "target": "com.amazonaws.mq#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
", "smithy.api#httpQuery": "maxResults" } @@ -1317,6 +1323,7 @@ "MaxResults": { "target": "com.amazonaws.mq#__integerMin5Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required. The maximum number of engine types that can be returned per page (20 by default). This value must be an integer from 5 to 100.
", "smithy.api#jsonName": "maxResults" } @@ -1378,6 +1385,7 @@ "MaxResults": { "target": "com.amazonaws.mq#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
", "smithy.api#httpQuery": "maxResults" } @@ -1411,6 +1419,7 @@ "MaxResults": { "target": "com.amazonaws.mq#__integerMin5Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required. The maximum number of instance options that can be returned per page (20 by default). This value must be an integer from 5 to 100.
", "smithy.api#jsonName": "maxResults" } @@ -1457,6 +1466,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.
", "smithy.api#jsonName": "autoMinorVersionUpgrade" } @@ -1604,6 +1614,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables connections from applications outside of the VPC that hosts the broker's subnets.
", "smithy.api#jsonName": "publiclyAccessible" } @@ -1914,6 +1925,7 @@ "ConsoleAccess": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
", "smithy.api#jsonName": "consoleAccess" } @@ -1954,6 +1966,7 @@ "UseAwsOwnedKey": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables the use of an AWS owned CMK using AWS Key Management Service (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.
", "smithy.api#jsonName": "useAwsOwnedKey", "smithy.api#required": {} @@ -2080,6 +2093,7 @@ "RoleSearchSubtree": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The directory search scope for the role. If set to true, scope is to search the entire subtree.
", "smithy.api#jsonName": "roleSearchSubtree" } @@ -2126,6 +2140,7 @@ "UserSearchSubtree": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The directory search scope for the user. If set to true, scope is to search the entire subtree.
", "smithy.api#jsonName": "userSearchSubtree" } @@ -2172,6 +2187,7 @@ "RoleSearchSubtree": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The directory search scope for the role. If set to true, scope is to search the entire subtree.
", "smithy.api#jsonName": "roleSearchSubtree" } @@ -2210,6 +2226,7 @@ "UserSearchSubtree": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The directory search scope for the user. If set to true, scope is to search the entire subtree.
", "smithy.api#jsonName": "userSearchSubtree" } @@ -2259,6 +2276,7 @@ "MaxResults": { "target": "com.amazonaws.mq#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
", "smithy.api#httpQuery": "maxResults" } @@ -2336,6 +2354,7 @@ "MaxResults": { "target": "com.amazonaws.mq#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
", "smithy.api#httpQuery": "maxResults" } @@ -2362,6 +2381,7 @@ "MaxResults": { "target": "com.amazonaws.mq#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of configuration revisions that can be returned per page (20 by default). This value must be an integer from 5 to 100.
", "smithy.api#jsonName": "maxResults" } @@ -2416,6 +2436,7 @@ "MaxResults": { "target": "com.amazonaws.mq#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
", "smithy.api#httpQuery": "maxResults" } @@ -2442,6 +2463,7 @@ "MaxResults": { "target": "com.amazonaws.mq#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of configurations that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
", "smithy.api#jsonName": "maxResults" } @@ -2556,6 +2578,7 @@ "MaxResults": { "target": "com.amazonaws.mq#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
", "smithy.api#httpQuery": "maxResults" } @@ -2582,6 +2605,7 @@ "MaxResults": { "target": "com.amazonaws.mq#__integerMin5Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.
", "smithy.api#jsonName": "maxResults" } @@ -2608,6 +2632,7 @@ "Audit": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Does not apply to RabbitMQ brokers.
", "smithy.api#jsonName": "audit" } @@ -2615,6 +2640,7 @@ "General": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables general logging.
", "smithy.api#jsonName": "general" } @@ -2630,6 +2656,7 @@ "Audit": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged.
", "smithy.api#jsonName": "audit" } @@ -2644,6 +2671,7 @@ "General": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables general logging.
", "smithy.api#jsonName": "general", "smithy.api#required": {} @@ -2672,6 +2700,7 @@ "com.amazonaws.mq#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2708,6 +2737,7 @@ "Audit": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged.
", "smithy.api#jsonName": "audit" } @@ -2715,6 +2745,7 @@ "General": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables general logging.
", "smithy.api#jsonName": "general" } @@ -2893,6 +2924,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.
", "smithy.api#jsonName": "autoMinorVersionUpgrade" } @@ -2972,6 +3004,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.
", "smithy.api#jsonName": "autoMinorVersionUpgrade" } @@ -3194,6 +3227,7 @@ "ConsoleAccess": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
", "smithy.api#jsonName": "consoleAccess" } @@ -3235,6 +3269,7 @@ "ConsoleAccess": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables access to the ActiveMQ Web Console for the ActiveMQ user. Does not apply to RabbitMQ brokers.
", "smithy.api#jsonName": "consoleAccess" } @@ -3273,6 +3308,7 @@ "ConsoleAccess": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
", "smithy.api#jsonName": "consoleAccess" } @@ -3352,14 +3388,21 @@ } }, "com.amazonaws.mq#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.mq#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mq#__integerMin5Max100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 100 @@ -3476,21 +3519,6 @@ }, "com.amazonaws.mq#mq": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "mq", - "arnNamespace": "mq", - "cloudFormationName": "AmazonMQ", - "cloudTrailEventSource": "mq.amazonaws.com", - "endpointPrefix": "mq" - }, - "aws.auth#sigv4": { - "name": "mq" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ that makes it easy to set up and operate message brokers in the cloud. A message broker allows software applications and components to communicate using various programming languages, operating systems, and formal messaging protocols.
", - "smithy.api#title": "AmazonMQ" - }, "version": "2017-11-27", "operations": [ { @@ -3559,7 +3587,22 @@ { "target": "com.amazonaws.mq#UpdateUser" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "mq", + "arnNamespace": "mq", + "cloudFormationName": "AmazonMQ", + "cloudTrailEventSource": "mq.amazonaws.com", + "endpointPrefix": "mq" + }, + "aws.auth#sigv4": { + "name": "mq" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ that makes it easy to set up and operate message brokers in the cloud. A message broker allows software applications and components to communicate using various programming languages, operating systems, and formal messaging protocols.
", + "smithy.api#title": "AmazonMQ" + } } } } diff --git a/codegen/sdk/aws-models/mturk.json b/codegen/sdk/aws-models/mturk.json index 873b681e272..84ca8953c45 100644 --- a/codegen/sdk/aws-models/mturk.json +++ b/codegen/sdk/aws-models/mturk.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -328,10 +328,7 @@ } }, "com.amazonaws.mturk#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.mturk#Comparator": { "type": "string", @@ -1681,10 +1678,7 @@ } }, "com.amazonaws.mturk#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.mturk#IntegerList": { "type": "list", @@ -2457,10 +2451,7 @@ } }, "com.amazonaws.mturk#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.mturk#MTurkRequesterServiceV20170117": { "type": "service", @@ -3207,7 +3198,6 @@ "com.amazonaws.mturk#ResultSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/mwaa.json b/codegen/sdk/aws-models/mwaa.json index 9b75e400566..8218ec716c9 100644 --- a/codegen/sdk/aws-models/mwaa.json +++ b/codegen/sdk/aws-models/mwaa.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.mwaa#AccessDeniedException": { "type": "structure", @@ -38,18 +38,6 @@ }, "com.amazonaws.mwaa#AmazonMWAA": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "MWAA", - "arnNamespace": "airflow" - }, - "aws.auth#sigv4": { - "name": "airflow" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What Is Amazon MWAA?.
\n\n Endpoints\n
\n\n api.airflow.{region}.amazonaws.com - This endpoint is used for environment management.
\n CreateEnvironment\n
\n\n DeleteEnvironment\n
\n\n GetEnvironment\n
\n\n ListEnvironments\n
\n\n ListTagsForResource\n
\n\n TagResource\n
\n\n UntagResource\n
\n\n UpdateEnvironment\n
\n\n env.airflow.{region}.amazonaws.com - This endpoint is used to operate the Airflow environment.
\n CreateCliToken\n
\n\n CreateWebLoginToken\n
\n\n ops.airflow.{region}.amazonaws.com - This endpoint is used to push environment metrics that track environment health.
\n PublishMetrics\n
\n\n Regions\n
\nFor a list of regions that Amazon MWAA supports, see Region availability in the Amazon MWAA User Guide.
", - "smithy.api#title": "AmazonMWAA" - }, "version": "2020-07-01", "operations": [ { @@ -85,7 +73,19 @@ { "target": "com.amazonaws.mwaa#UpdateEnvironment" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "MWAA", + "arnNamespace": "airflow" + }, + "aws.auth#sigv4": { + "name": "airflow" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What Is Amazon MWAA?.
\n\n Endpoints\n
\n\n api.airflow.{region}.amazonaws.com - This endpoint is used for environment management.
\n CreateEnvironment\n
\n\n DeleteEnvironment\n
\n\n GetEnvironment\n
\n\n ListEnvironments\n
\n\n ListTagsForResource\n
\n\n TagResource\n
\n\n UntagResource\n
\n\n UpdateEnvironment\n
\n\n env.airflow.{region}.amazonaws.com - This endpoint is used to operate the Airflow environment.
\n CreateCliToken\n
\n\n CreateWebLoginToken\n
\n\n ops.airflow.{region}.amazonaws.com - This endpoint is used to push environment metrics that track environment health.
\n PublishMetrics\n
\n\n Regions\n
\nFor a list of regions that Amazon MWAA supports, see Region availability in the Amazon MWAA User Guide.
", + "smithy.api#title": "AmazonMWAA" + } }, "com.amazonaws.mwaa#CloudWatchLogGroupArn": { "type": "string", @@ -1083,10 +1083,7 @@ } }, "com.amazonaws.mwaa#LoggingEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.mwaa#LoggingLevel": { "type": "string", @@ -1118,7 +1115,6 @@ "com.amazonaws.mwaa#MaxWorkers": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1179,7 +1175,6 @@ "com.amazonaws.mwaa#MinWorkers": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1358,7 +1353,6 @@ "com.amazonaws.mwaa#Schedulers": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 5 } @@ -1992,4 +1986,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/neptune.json b/codegen/sdk/aws-models/neptune.json index 0aadddd7f8d..570a2d909ae 100644 --- a/codegen/sdk/aws-models/neptune.json +++ b/codegen/sdk/aws-models/neptune.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -171,24 +171,6 @@ }, "com.amazonaws.neptune#AmazonRDSv19": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Neptune", - "arnNamespace": "rds", - "cloudFormationName": "Neptune", - "cloudTrailEventSource": "neptune.amazonaws.com", - "endpointPrefix": "rds" - }, - "aws.auth#sigv4": { - "name": "rds" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Amazon Neptune is a fast, reliable, fully-managed graph database service that makes it\n easy to build and run applications that work with highly connected datasets. The core of\n Amazon Neptune is a purpose-built, high-performance graph database engine optimized for\n storing billions of relationships and querying the graph with milliseconds latency. Amazon\n Neptune supports popular graph models Property Graph and W3C's RDF, and their respective query\n languages Apache TinkerPop Gremlin and SPARQL, allowing you to easily build queries that\n efficiently navigate highly connected datasets. Neptune powers graph use cases such as\n recommendation engines, fraud detection, knowledge graphs, drug discovery, and network\n security.
\n\nThis interface reference for Amazon Neptune contains documentation for a programming or\n command line interface you can use to manage Amazon Neptune. Note that Amazon Neptune is\n asynchronous, which means that some interfaces might require techniques such as polling or\n callback functions to determine when a command has been applied. In this reference, the\n parameter descriptions indicate whether a command is applied immediately, on the next instance\n reboot, or during the maintenance window. The reference structure is as follows, and we list\n following some related topics from the user guide.
", - "smithy.api#title": "Amazon Neptune", - "smithy.api#xmlNamespace": { - "uri": "http://rds.amazonaws.com/doc/2014-10-31/" - } - }, "version": "2014-10-31", "operations": [ { @@ -398,7 +380,25 @@ { "target": "com.amazonaws.neptune#StopDBCluster" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Neptune", + "arnNamespace": "rds", + "cloudFormationName": "Neptune", + "cloudTrailEventSource": "neptune.amazonaws.com", + "endpointPrefix": "rds" + }, + "aws.auth#sigv4": { + "name": "rds" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Amazon Neptune is a fast, reliable, fully-managed graph database service that makes it\n easy to build and run applications that work with highly connected datasets. The core of\n Amazon Neptune is a purpose-built, high-performance graph database engine optimized for\n storing billions of relationships and querying the graph with milliseconds latency. Amazon\n Neptune supports popular graph models Property Graph and W3C's RDF, and their respective query\n languages Apache TinkerPop Gremlin and SPARQL, allowing you to easily build queries that\n efficiently navigate highly connected datasets. Neptune powers graph use cases such as\n recommendation engines, fraud detection, knowledge graphs, drug discovery, and network\n security.
\n\nThis interface reference for Amazon Neptune contains documentation for a programming or\n command line interface you can use to manage Amazon Neptune. Note that Amazon Neptune is\n asynchronous, which means that some interfaces might require techniques such as polling or\n callback functions to determine when a command has been applied. In this reference, the\n parameter descriptions indicate whether a command is applied immediately, on the next instance\n reboot, or during the maintenance window. The reference structure is as follows, and we list\n following some related topics from the user guide.
", + "smithy.api#title": "Amazon Neptune", + "smithy.api#xmlNamespace": { + "uri": "http://rds.amazonaws.com/doc/2014-10-31/" + } + } }, "com.amazonaws.neptune#ApplyMethod": { "type": "string", @@ -528,14 +528,14 @@ } }, "com.amazonaws.neptune#Boolean": { - "type": "boolean" - }, - "com.amazonaws.neptune#BooleanOptional": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.neptune#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.neptune#CertificateNotFoundFault": { "type": "structure", "members": { @@ -2031,6 +2031,7 @@ "MultiAZ": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the DB cluster has instances in multiple Availability Zones.
" } }, @@ -2115,6 +2116,7 @@ "StorageEncrypted": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the DB cluster is encrypted.
" } }, @@ -2145,6 +2147,7 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts\n is enabled, and otherwise false.
" } }, @@ -2390,6 +2393,7 @@ "IsClusterWriter": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Value that is true if the cluster member is the primary instance for the DB\n cluster and false otherwise.
Specifies the allocated storage size in gibibytes (GiB).
" } }, @@ -2754,6 +2759,7 @@ "Port": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the port that the DB cluster was listening on at the time of the\n snapshot.
" } }, @@ -2796,12 +2802,14 @@ "PercentProgress": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the percentage of the estimated data that has been transferred.
" } }, "StorageEncrypted": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the DB cluster snapshot is encrypted.
" } }, @@ -2826,6 +2834,7 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts\n is enabled, and otherwise false.
" } } @@ -3015,18 +3024,21 @@ "SupportsLogExportsToCloudwatchLogs": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether the engine version supports exporting the log types\n specified by ExportableLogTypes to CloudWatch Logs.
" } }, "SupportsReadReplica": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the database engine version supports read replicas.
" } }, "SupportsGlobalDatabases": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether you can use Aurora global databases with a specific DB engine version.
" } } @@ -3109,6 +3121,7 @@ "AllocatedStorage": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Not supported by Neptune.
" } }, @@ -3127,6 +3140,7 @@ "BackupRetentionPeriod": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the number of days for which automatic DB snapshots are retained.
" } }, @@ -3181,6 +3195,7 @@ "MultiAZ": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies if the DB instance is a Multi-AZ deployment.
" } }, @@ -3193,6 +3208,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates that minor version patches are applied automatically.
" } }, @@ -3247,6 +3263,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#deprecated": {}, "smithy.api#documentation": "This flag should no longer be used.
" } @@ -3272,6 +3289,7 @@ "DbInstancePort": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the port that the DB instance listens on. If the DB instance is part of a DB\n cluster, this can be a different port than the DB cluster port.
" } }, @@ -3284,6 +3302,7 @@ "StorageEncrypted": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Not supported: The encryption for DB instances is managed by the DB cluster.
" } }, @@ -3314,6 +3333,7 @@ "CopyTagsToSnapshot": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether tags are copied from the DB instance to snapshots of the DB\n instance.
" } }, @@ -3356,6 +3376,7 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if Amazon Identity and Access Management (IAM) authentication is enabled, and otherwise\n false.
" } }, @@ -3466,6 +3487,7 @@ "Normal": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value that is true if the instance is operating normally, or false if the instance\n is in an error state.
" } }, @@ -4103,6 +4125,7 @@ "SkipFinalSnapshot": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": " Determines whether a final DB cluster snapshot is created before the DB cluster is\n deleted. If true is specified, no DB cluster snapshot is created. If\n false is specified, a DB cluster snapshot is created before the DB cluster is\n deleted.
You must specify a FinalDBSnapshotIdentifier parameter if\n SkipFinalSnapshot is false.
Default: false\n
Determines whether a final DB snapshot is created before the DB instance is deleted. If\n true is specified, no DBSnapshot is created. If false is specified,\n a DB snapshot is created before the DB instance is deleted.
Note that when a DB instance is in a failure state and has a status of 'failed',\n 'incompatible-restore', or 'incompatible-network', it can only be deleted when the\n SkipFinalSnapshot parameter is set to \"true\".
\nSpecify true when deleting a Read Replica.
The FinalDBSnapshotIdentifier parameter must be specified if SkipFinalSnapshot is\n false.
Default: false\n
True to include shared manual DB cluster snapshots from other Amazon accounts that this Amazon\n account has been given permission to copy or restore, and otherwise false. The default is\n false.
You can give an Amazon account permission to restore a manual DB cluster snapshot from\n another Amazon account by the ModifyDBClusterSnapshotAttribute API\n action.
" } }, "IncludePublic": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True to include manual DB cluster snapshots that are public and can be copied or restored\n by any Amazon account, and otherwise false. The default is false. The default is\n false.
You can share a manual DB cluster snapshot as public by using the ModifyDBClusterSnapshotAttribute API action.
" } } @@ -4796,6 +4822,7 @@ "DefaultOnly": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates that only the default version of the specified engine or engine and major\n version combination is returned.
" } }, @@ -5689,26 +5716,28 @@ } }, "com.amazonaws.neptune#Double": { - "type": "double" - }, - "com.amazonaws.neptune#DoubleOptional": { "type": "double", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.neptune#DoubleOptional": { + "type": "double" + }, "com.amazonaws.neptune#DoubleRange": { "type": "structure", "members": { "From": { "target": "com.amazonaws.neptune#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum value in the range.
" } }, "To": { "target": "com.amazonaws.neptune#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum value in the range.
" } } @@ -5738,6 +5767,7 @@ "Port": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the port that the database engine is listening on.
" } }, @@ -5934,6 +5964,7 @@ "Enabled": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value indicating if the subscription is enabled. True indicates the subscription\n is enabled.
" } }, @@ -6274,6 +6305,7 @@ "IsWriter": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "\n Specifies whether the Neptune cluster is the primary cluster\n (that is, has read-write capability) for the Neptune global\n database with which it is associated.\n
" } } @@ -6429,14 +6461,14 @@ } }, "com.amazonaws.neptune#Integer": { - "type": "integer" - }, - "com.amazonaws.neptune#IntegerOptional": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.neptune#IntegerOptional": { + "type": "integer" + }, "com.amazonaws.neptune#InvalidDBClusterEndpointStateFault": { "type": "structure", "members": { @@ -6983,6 +7015,7 @@ "ApplyImmediately": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that specifies whether the modifications in this request and any pending\n modifications are asynchronously applied as soon as possible, regardless of the\n PreferredMaintenanceWindow setting for the DB cluster. If this parameter is set\n to false, changes to the DB cluster are applied during the next maintenance\n window.
The ApplyImmediately parameter only affects NewDBClusterIdentifier\n values. If you set the ApplyImmediately parameter value to false, then changes to\n NewDBClusterIdentifier values are applied during the next maintenance window.\n All other changes are applied immediately, regardless of the value of the\n ApplyImmediately parameter.
Default: false\n
A value that indicates whether upgrades between different major versions are allowed.
\nConstraints: You must set the allow-major-version-upgrade flag when providing an\n EngineVersion parameter that uses a different major version than the DB cluster's current\n version.
Specifies whether the modifications in this request and any pending modifications are\n asynchronously applied as soon as possible, regardless of the\n PreferredMaintenanceWindow setting for the DB instance.
If this parameter is set to false, changes to the DB instance are applied\n during the next maintenance window. Some parameter changes can cause an outage and are applied\n on the next call to RebootDBInstance, or the next\n failure reboot.
Default: false\n
Indicates that major version upgrades are allowed. Changing this parameter doesn't result\n in an outage and the change is asynchronously applied as soon as possible.
" } }, @@ -7812,24 +7848,28 @@ "MultiAZCapable": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a DB instance is Multi-AZ capable.
" } }, "ReadReplicaCapable": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a DB instance can have a Read Replica.
" } }, "Vpc": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a DB instance is in a VPC.
" } }, "SupportsStorageEncryption": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a DB instance supports encrypted storage.
" } }, @@ -7842,24 +7882,28 @@ "SupportsIops": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a DB instance supports provisioned IOPS.
" } }, "SupportsEnhancedMonitoring": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60\n seconds.
" } }, "SupportsIAMDatabaseAuthentication": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a DB instance supports IAM database authentication.
" } }, "SupportsPerformanceInsights": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "\n (Not supported by Neptune)\n
" } }, @@ -7902,6 +7946,7 @@ "SupportsGlobalDatabases": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether you can use Neptune global databases with a specific combination of other DB engine attributes.
" } } @@ -7984,6 +8029,7 @@ "IsModifiable": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": " Indicates whether (true) or not (false) the parameter can be\n modified. Some parameters have security or operational implications that prevent them from\n being changed.
The minimum value in the range.
" } }, "To": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum value in the range.
" } }, @@ -8598,6 +8646,7 @@ "ResetAllParameters": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that is set to true to reset all parameters in the DB cluster\n parameter group to their default values, and false otherwise. You can't use this\n parameter if there is a list of parameter names specified for the Parameters\n parameter.
Specifies whether (true) or not (false) to reset all parameters\n in the DB parameter group to default values.
Default: true\n
A value that is set to true to restore the DB cluster to the latest\n restorable backup time, and false otherwise.
Default: false\n
Constraints: Cannot be specified if RestoreToTime parameter is\n provided.
A value that indicates whether the target version is applied to any source DB instances\n that have AutoMinorVersionUpgrade set to true.
" } }, "IsMajorVersionUpgrade": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether a database engine is upgraded to a major version.
" } }, diff --git a/codegen/sdk/aws-models/network-firewall.json b/codegen/sdk/aws-models/network-firewall.json index 45939e0a656..a1e5c27b22b 100644 --- a/codegen/sdk/aws-models/network-firewall.json +++ b/codegen/sdk/aws-models/network-firewall.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -296,26 +296,32 @@ } }, "com.amazonaws.networkfirewall#AttachmentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "SCALING", - "name": "SCALING" - }, - { - "value": "READY", - "name": "READY" - } - ] + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "SCALING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCALING" + } + }, + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY" + } + } } }, "com.amazonaws.networkfirewall#AvailabilityZone": { @@ -343,7 +349,6 @@ "com.amazonaws.networkfirewall#CIDRCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000 @@ -394,22 +399,26 @@ "type": "string" }, "com.amazonaws.networkfirewall#ConfigurationSyncState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "IN_SYNC", - "name": "IN_SYNC" - }, - { - "value": "CAPACITY_CONSTRAINED", - "name": "CAPACITY_CONSTRAINED" - } - ] + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "IN_SYNC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_SYNC" + } + }, + "CAPACITY_CONSTRAINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CAPACITY_CONSTRAINED" + } + } } }, "com.amazonaws.networkfirewall#CreateFirewall": { @@ -1577,18 +1586,20 @@ } }, "com.amazonaws.networkfirewall#EncryptionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CUSTOMER_KMS", - "name": "CUSTOMER_KMS" - }, - { - "value": "AWS_OWNED_KMS_KEY", - "name": "AWS_OWNED_KMS_KEY" + "type": "enum", + "members": { + "CUSTOMER_KMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_KMS" } - ] + }, + "AWS_OWNED_KMS_KEY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_OWNED_KMS_KEY" + } + } } }, "com.amazonaws.networkfirewall#EndpointId": { @@ -1891,22 +1902,26 @@ } }, "com.amazonaws.networkfirewall#FirewallStatusValue": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PROVISIONING", - "name": "PROVISIONING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "READY", - "name": "READY" - } - ] + "type": "enum", + "members": { + "PROVISIONING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PROVISIONING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY" + } + } } }, "com.amazonaws.networkfirewall#Firewalls": { @@ -1922,18 +1937,20 @@ } }, "com.amazonaws.networkfirewall#GeneratedRulesType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALLOWLIST", - "name": "ALLOWLIST" - }, - { - "value": "DENYLIST", - "name": "DENYLIST" + "type": "enum", + "members": { + "ALLOWLIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOWLIST" } - ] + }, + "DENYLIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DENYLIST" + } + } } }, "com.amazonaws.networkfirewall#HashMapKey": { @@ -2539,22 +2556,28 @@ } }, "com.amazonaws.networkfirewall#LogDestinationType": { - "type": "string", + "type": "enum", + "members": { + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" + } + }, + "CLOUDWATCH_LOGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CloudWatchLogs" + } + }, + "KINESIS_DATA_FIREHOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KinesisDataFirehose" + } + } + }, "traits": { - "smithy.api#enum": [ - { - "value": "S3", - "name": "S3" - }, - { - "value": "CloudWatchLogs", - "name": "CLOUDWATCH_LOGS" - }, - { - "value": "KinesisDataFirehose", - "name": "KINESIS_DATA_FIREHOSE" - } - ], "smithy.api#length": { "min": 2, "max": 30 @@ -2563,18 +2586,20 @@ } }, "com.amazonaws.networkfirewall#LogType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALERT", - "name": "ALERT" - }, - { - "value": "FLOW", - "name": "FLOW" + "type": "enum", + "members": { + "ALERT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALERT" + } + }, + "FLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLOW" } - ] + } } }, "com.amazonaws.networkfirewall#LoggingConfiguration": { @@ -2638,21 +2663,6 @@ }, "com.amazonaws.networkfirewall#NetworkFirewall_20201112": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Network Firewall", - "arnNamespace": "network-firewall", - "cloudFormationName": "NetworkFirewall", - "cloudTrailEventSource": "networkfirewall.amazonaws.com", - "endpointPrefix": "network-firewall" - }, - "aws.auth#sigv4": { - "name": "network-firewall" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "This is the API Reference for Network Firewall. This guide is for developers who need\n detailed information about the Network Firewall API actions, data types, and errors.
\nThe REST API requires you to handle connection details, such as calculating\n signatures, handling request retries, and error handling. For general information\n about using the Amazon Web Services REST APIs, see Amazon Web Services APIs.
\nTo access Network Firewall using the REST API endpoint:\n https://network-firewall.\n
Alternatively, you can use one of the Amazon Web Services SDKs to access an API that's tailored to\n the programming language or platform that you're using. For more information, see\n Amazon Web Services SDKs.
\nFor descriptions of Network Firewall features, including and step-by-step\n instructions on how to use them through the Network Firewall console, see the Network Firewall Developer\n Guide.
\nNetwork Firewall is a stateful, managed, network firewall and intrusion detection and\n prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the\n perimeter of your VPC. This includes filtering traffic going to and coming from an internet\n gateway, NAT gateway, or over VPN or Direct Connect. Network Firewall uses rules that are compatible\n with Suricata, a free, open source intrusion detection system (IDS) engine.\n Network Firewall supports Suricata version 5.0.2. For information about Suricata,\n see the Suricata website.
\nYou can use Network Firewall to monitor and protect your VPC traffic in a number of ways.\n The following are just a few examples:
\nAllow domains or IP addresses for known Amazon Web Services service endpoints, such as Amazon S3, and\n block all other forms of traffic.
\nUse custom lists of known bad domains to limit the types of domain names that your\n applications can access.
\nPerform deep packet inspection on traffic entering or leaving your VPC.
\nUse stateful protocol detection to filter protocols like HTTPS, regardless of the\n port used.
\nTo enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and in\n Network Firewall. For information about using Amazon VPC, see Amazon VPC User Guide.
\nTo start using Network Firewall, do the following:
\n(Optional) If you don't already have a VPC that you want to protect, create it in\n Amazon VPC.
\nIn Amazon VPC, in each Availability Zone where you want to have a firewall endpoint, create a\n subnet for the sole use of Network Firewall.
\nIn Network Firewall, create stateless and stateful rule groups,\n to define the components of the network traffic filtering behavior that you want your firewall to have.
\nIn Network Firewall, create a firewall policy that uses your rule groups and\n specifies additional default traffic filtering behavior.
\nIn Network Firewall, create a firewall and specify your new firewall policy and\n VPC subnets. Network Firewall creates a firewall endpoint in each subnet that you\n specify, with the behavior that's defined in the firewall policy.
\nIn Amazon VPC, use ingress routing enhancements to route traffic through the new firewall\n endpoints.
\nThis is the API Reference for Network Firewall. This guide is for developers who need\n detailed information about the Network Firewall API actions, data types, and errors.
\nThe REST API requires you to handle connection details, such as calculating\n signatures, handling request retries, and error handling. For general information\n about using the Amazon Web Services REST APIs, see Amazon Web Services APIs.
\nTo access Network Firewall using the REST API endpoint:\n https://network-firewall.\n
Alternatively, you can use one of the Amazon Web Services SDKs to access an API that's tailored to\n the programming language or platform that you're using. For more information, see\n Amazon Web Services SDKs.
\nFor descriptions of Network Firewall features, including and step-by-step\n instructions on how to use them through the Network Firewall console, see the Network Firewall Developer\n Guide.
\nNetwork Firewall is a stateful, managed, network firewall and intrusion detection and\n prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the\n perimeter of your VPC. This includes filtering traffic going to and coming from an internet\n gateway, NAT gateway, or over VPN or Direct Connect. Network Firewall uses rules that are compatible\n with Suricata, a free, open source network analysis and threat detection engine.\n Network Firewall supports Suricata version 5.0.2. For information about Suricata,\n see the Suricata website.
\nYou can use Network Firewall to monitor and protect your VPC traffic in a number of ways.\n The following are just a few examples:
\nAllow domains or IP addresses for known Amazon Web Services service endpoints, such as Amazon S3, and\n block all other forms of traffic.
\nUse custom lists of known bad domains to limit the types of domain names that your\n applications can access.
\nPerform deep packet inspection on traffic entering or leaving your VPC.
\nUse stateful protocol detection to filter protocols like HTTPS, regardless of the\n port used.
\nTo enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and in\n Network Firewall. For information about using Amazon VPC, see Amazon VPC User Guide.
\nTo start using Network Firewall, do the following:
\n(Optional) If you don't already have a VPC that you want to protect, create it in\n Amazon VPC.
\nIn Amazon VPC, in each Availability Zone where you want to have a firewall endpoint, create a\n subnet for the sole use of Network Firewall.
\nIn Network Firewall, create stateless and stateful rule groups,\n to define the components of the network traffic filtering behavior that you want your firewall to have.
\nIn Network Firewall, create a firewall policy that uses your rule groups and\n specifies additional default traffic filtering behavior.
\nIn Network Firewall, create a firewall and specify your new firewall policy and\n VPC subnets. Network Firewall creates a firewall endpoint in each subnet that you\n specify, with the behavior that's defined in the firewall policy.
\nIn Amazon VPC, use ingress routing enhancements to route traffic through the new firewall\n endpoints.
\nThe lower limit of the port range. This must be less than or equal to the\n ToPort specification.
The upper limit of the port range. This must be greater than or equal to the\n FromPort specification.
An array of individual stateful rules inspection criteria to be used together in a stateful rule group.\n Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata Rules format, see\n Rules Format.
An array of individual stateful rules inspection criteria to be used together in a stateful rule group.\n Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata Rules format, see\n Rules Format.
Indicates how to manage the order of stateful rule evaluation for the policy. DEFAULT_ACTION_ORDER is\n the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them\n based on certain settings. For more information, see\n Evaluation order for stateful rules in the Network Firewall Developer Guide.\n
Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself.
\n\n DROP - Network Firewall fails closed and drops all subsequent traffic going to the firewall. This is the default behavior.
\n CONTINUE - Network Firewall continues to apply rules to the subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on this context. For example, if you have a stateful rule to drop http traffic, Network Firewall won't match the traffic for this rule because the service won't have the context from session initialization defining the application layer protocol as HTTP. However, this behavior is rule dependent—a TCP-layer rule using a flow:stateless rule would still match, as would the aws:drop_strict default action.
A single Suricata rules specification, for use in a stateful rule group.\n Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata Rules format, see\n Rules Format.
A single Suricata rules specification, for use in a stateful rule group.\n Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata Rules format, see\n Rules Format.
An integer setting that indicates the order in which to run the stateful rule groups in\n a single FirewallPolicy. This setting only applies to firewall policies\n that specify the STRICT_ORDER rule order in the stateful engine options settings.
Network Firewall evalutes each stateful rule group\n against a packet starting with the group that has the lowest priority setting. You must ensure\n that the priority settings are unique within each policy.
\nYou can change the priority settings of your rule groups at any time. To make it easier to\n insert rule groups later, number them so there's a wide range in between, for example use 100,\n 200, and so on.
" } }, @@ -3647,86 +3696,122 @@ } }, "com.amazonaws.networkfirewall#StatefulRuleProtocol": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IP", - "name": "ANY" - }, - { - "value": "TCP", - "name": "TCP" - }, - { - "value": "UDP", - "name": "UDP" - }, - { - "value": "ICMP", - "name": "ICMP" - }, - { - "value": "HTTP", - "name": "HTTP" - }, - { - "value": "FTP", - "name": "FTP" - }, - { - "value": "TLS", - "name": "TLS" - }, - { - "value": "SMB", - "name": "SMB" - }, - { - "value": "DNS", - "name": "DNS" - }, - { - "value": "DCERPC", - "name": "DCERPC" - }, - { - "value": "SSH", - "name": "SSH" - }, - { - "value": "SMTP", - "name": "SMTP" - }, - { - "value": "IMAP", - "name": "IMAP" - }, - { - "value": "MSN", - "name": "MSN" - }, - { - "value": "KRB5", - "name": "KRB5" - }, - { - "value": "IKEV2", - "name": "IKEV2" - }, - { - "value": "TFTP", - "name": "TFTP" - }, - { - "value": "NTP", - "name": "NTP" - }, - { - "value": "DHCP", - "name": "DHCP" - } - ] + "type": "enum", + "members": { + "ANY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IP" + } + }, + "TCP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TCP" + } + }, + "UDP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UDP" + } + }, + "ICMP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ICMP" + } + }, + "HTTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP" + } + }, + "FTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FTP" + } + }, + "TLS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TLS" + } + }, + "SMB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SMB" + } + }, + "DNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DNS" + } + }, + "DCERPC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DCERPC" + } + }, + "SSH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SSH" + } + }, + "SMTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SMTP" + } + }, + "IMAP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMAP" + } + }, + "MSN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MSN" + } + }, + "KRB5": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KRB5" + } + }, + "IKEV2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IKEV2" + } + }, + "TFTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TFTP" + } + }, + "NTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NTP" + } + }, + "DHCP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DHCP" + } + } } }, "com.amazonaws.networkfirewall#StatefulRules": { @@ -3754,6 +3839,7 @@ "Priority": { "target": "com.amazonaws.networkfirewall#Priority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Indicates the order in which to run this rule relative to all of the\n rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a\n rule group starting with the lowest priority setting. You must ensure that the priority\n settings are unique for the rule group.
\nEach stateless rule group uses exactly one StatelessRulesAndCustomActions\n object, and each StatelessRulesAndCustomActions contains exactly one\n StatelessRules object. To ensure unique priority settings for your rule\n groups, set unique priorities for the stateless rules that you define inside any single\n StatelessRules object.
You can change the priority settings of your rules at any time. To make it easier to\n insert rules later, number them so there's a wide range in between, for example use 100,\n 200, and so on.
", "smithy.api#required": {} } @@ -3776,6 +3862,7 @@ "Priority": { "target": "com.amazonaws.networkfirewall#Priority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer setting that indicates the order in which to run the stateless rule groups in\n a single FirewallPolicy. Network Firewall applies each stateless rule group\n to a packet starting with the group that has the lowest priority setting. You must ensure\n that the priority settings are unique within each policy.
", "smithy.api#required": {} } @@ -3818,6 +3905,23 @@ "smithy.api#documentation": "Stateless inspection criteria. Each stateless rule group uses exactly one of these data\n types to define its stateless rules.
" } }, + "com.amazonaws.networkfirewall#StreamExceptionPolicy": { + "type": "enum", + "members": { + "DROP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DROP" + } + }, + "CONTINUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTINUE" + } + } + } + }, "com.amazonaws.networkfirewall#SubnetMapping": { "type": "structure", "members": { @@ -3878,42 +3982,56 @@ } }, "com.amazonaws.networkfirewall#TCPFlag": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FIN", - "name": "FIN" - }, - { - "value": "SYN", - "name": "SYN" - }, - { - "value": "RST", - "name": "RST" - }, - { - "value": "PSH", - "name": "PSH" - }, - { - "value": "ACK", - "name": "ACK" - }, - { - "value": "URG", - "name": "URG" - }, - { - "value": "ECE", - "name": "ECE" - }, - { - "value": "CWR", - "name": "CWR" - } - ] + "type": "enum", + "members": { + "FIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIN" + } + }, + "SYN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYN" + } + }, + "RST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RST" + } + }, + "PSH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PSH" + } + }, + "ACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACK" + } + }, + "URG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "URG" + } + }, + "ECE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECE" + } + }, + "CWR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CWR" + } + } } }, "com.amazonaws.networkfirewall#TCPFlagField": { @@ -4061,7 +4179,6 @@ "com.amazonaws.networkfirewall#TagsPaginationMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -4069,18 +4186,20 @@ } }, "com.amazonaws.networkfirewall#TargetType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TLS_SNI", - "name": "TLS_SNI" - }, - { - "value": "HTTP_HOST", - "name": "HTTP_HOST" - } - ] + "type": "enum", + "members": { + "TLS_SNI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TLS_SNI" + } + }, + "HTTP_HOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP_HOST" + } + } } }, "com.amazonaws.networkfirewall#TargetTypes": { diff --git a/codegen/sdk/aws-models/networkmanager.json b/codegen/sdk/aws-models/networkmanager.json index 71dbc49159a..9e1e3cc04bf 100644 --- a/codegen/sdk/aws-models/networkmanager.json +++ b/codegen/sdk/aws-models/networkmanager.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -719,7 +719,10 @@ } }, "com.amazonaws.networkmanager#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.networkmanager#ChangeAction": { "type": "string", @@ -6976,10 +6979,7 @@ } }, "com.amazonaws.networkmanager#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.networkmanager#InternalServerException": { "type": "structure", @@ -7779,15 +7779,11 @@ } }, "com.amazonaws.networkmanager#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.networkmanager#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -7796,21 +7792,6 @@ }, "com.amazonaws.networkmanager#NetworkManager": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "NetworkManager", - "arnNamespace": "networkmanager", - "cloudFormationName": "NetworkManager", - "cloudTrailEventSource": "networkmanager.amazonaws.com", - "endpointPrefix": "networkmanager" - }, - "aws.auth#sigv4": { - "name": "networkmanager" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Web Services enables you to centrally manage your Amazon Web Services Cloud WAN core network and your Transit Gateway network across Amazon Web Services accounts, Regions, and on-premises locations.
", - "smithy.api#title": "AWS Network Manager" - }, "version": "2019-07-05", "operations": [ { @@ -8068,7 +8049,22 @@ { "target": "com.amazonaws.networkmanager#UpdateVpcAttachment" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "NetworkManager", + "arnNamespace": "networkmanager", + "cloudFormationName": "NetworkManager", + "cloudTrailEventSource": "networkmanager.amazonaws.com", + "endpointPrefix": "networkmanager" + }, + "aws.auth#sigv4": { + "name": "networkmanager" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Web Services enables you to centrally manage your Amazon Web Services Cloud WAN core network and your Transit Gateway network across Amazon Web Services accounts, Regions, and on-premises locations.
", + "smithy.api#title": "AWS Network Manager" + } }, "com.amazonaws.networkmanager#NetworkResource": { "type": "structure", @@ -8221,6 +8217,7 @@ "IsMiddlebox": { "target": "com.amazonaws.networkmanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether this is a middlebox appliance.
" } } @@ -9080,10 +9077,7 @@ } }, "com.amazonaws.networkmanager#RetryAfterSeconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.networkmanager#RouteAnalysis": { "type": "structure", @@ -9133,12 +9127,14 @@ "IncludeReturnPath": { "target": "com.amazonaws.networkmanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to analyze the return path. The return path is not analyzed if the forward path\n analysis does not succeed.
" } }, "UseMiddleboxes": { "target": "com.amazonaws.networkmanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to include the location of middlebox appliances in the route analysis.
" } }, @@ -9731,12 +9727,14 @@ "IncludeReturnPath": { "target": "com.amazonaws.networkmanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to analyze the return path. The default is false.
Indicates whether to include the location of middlebox appliances in the route analysis.\n The default is false.
Indicates whether IPv6 is supported.
" } } diff --git a/codegen/sdk/aws-models/nimble.json b/codegen/sdk/aws-models/nimble.json index f83bf01de31..df73f11350d 100644 --- a/codegen/sdk/aws-models/nimble.json +++ b/codegen/sdk/aws-models/nimble.json @@ -8801,4 +8801,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/opensearch.json b/codegen/sdk/aws-models/opensearch.json index 95f879c0ec2..e3a743acb0c 100644 --- a/codegen/sdk/aws-models/opensearch.json +++ b/codegen/sdk/aws-models/opensearch.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -366,24 +366,6 @@ }, "com.amazonaws.opensearch#AmazonOpenSearchService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "OpenSearch", - "arnNamespace": "es", - "cloudFormationName": "OpenSearch", - "cloudTrailEventSource": "opensearch.amazonaws.com", - "endpointPrefix": "es" - }, - "aws.auth#sigv4": { - "name": "es" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Use the Amazon OpenSearch configuration API to create, configure, and manage Amazon OpenSearch Service domains.
\nFor sample code that uses the configuration API, see the \n Amazon OpenSearch Service Developer Guide.\n The guide also contains \n sample\n code for sending signed HTTP requests to the OpenSearch APIs.\n
\nThe endpoint for configuration service requests is region-specific: es.region.amazonaws.com.\n For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,\n see Regions and Endpoints.\n
", - "smithy.api#title": "Amazon OpenSearch Service", - "smithy.api#xmlNamespace": { - "uri": "http://es.amazonaws.com/doc/2021-01-01/" - } - }, "version": "2021-01-01", "operations": [ { @@ -506,7 +488,25 @@ { "target": "com.amazonaws.opensearch#UpgradeDomain" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "OpenSearch", + "arnNamespace": "es", + "cloudFormationName": "OpenSearch", + "cloudTrailEventSource": "opensearch.amazonaws.com", + "endpointPrefix": "es" + }, + "aws.auth#sigv4": { + "name": "es" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Use the Amazon OpenSearch configuration API to create, configure, and manage Amazon OpenSearch Service domains.
\nFor sample code that uses the configuration API, see the \n Amazon OpenSearch Service Developer Guide.\n The guide also contains \n sample\n code for sending signed HTTP requests to the OpenSearch APIs.\n
\nThe endpoint for configuration service requests is region-specific: es.region.amazonaws.com.\n For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,\n see Regions and Endpoints.\n
", + "smithy.api#title": "Amazon OpenSearch Service", + "smithy.api#xmlNamespace": { + "uri": "http://es.amazonaws.com/doc/2021-01-01/" + } + } }, "com.amazonaws.opensearch#AssociatePackage": { "type": "operation", @@ -830,6 +830,7 @@ "UpdateVersion": { "target": "com.amazonaws.opensearch#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The latest version of the Auto-Tune options.
" } }, @@ -894,10 +895,7 @@ } }, "com.amazonaws.opensearch#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.opensearch#CancelServiceSoftwareUpdate": { "type": "operation", @@ -1074,6 +1072,7 @@ "TotalNumberOfStages": { "target": "com.amazonaws.opensearch#TotalNumberOfStages", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of stages required for the configuration change.
" } }, @@ -2039,6 +2038,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set this value to limit the number of results returned. If not specified, defaults to 100.
" } }, @@ -2334,6 +2334,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set this value to limit the number of results returned. If not specified, defaults to 100.
" } }, @@ -2489,6 +2490,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set this value to limit the number of results returned. If not specified, defaults to 100.
" } }, @@ -2634,6 +2636,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Limits results to a maximum number of packages.
" } }, @@ -2714,6 +2717,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set this value to limit the number of results returned. If not specified, defaults to 100.
", "smithy.api#httpQuery": "maxResults" } @@ -2799,6 +2803,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set this value to limit the number of results returned. If not specified, defaults to 100.
", "smithy.api#httpQuery": "maxResults" } @@ -3425,16 +3430,10 @@ } }, "com.amazonaws.opensearch#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.opensearch#DryRun": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.opensearch#DryRunResults": { "type": "structure", @@ -3459,6 +3458,7 @@ "Value": { "target": "com.amazonaws.opensearch#DurationValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Integer to specify the value of a maintenance schedule duration. See \n Auto-Tune for Amazon OpenSearch Service\n for more information.\n
" } }, @@ -3476,6 +3476,7 @@ "com.amazonaws.opensearch#DurationValue": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Integer to specify the value of a maintenance schedule duration. See \n Auto-Tune for Amazon OpenSearch Service\n for more information.\n
", "smithy.api#range": { "min": 1, @@ -3777,6 +3778,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Limits results to a maximum number of package versions.
", "smithy.api#httpQuery": "maxResults" } @@ -3865,6 +3867,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -4084,6 +4087,7 @@ "com.amazonaws.opensearch#InstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of EC2 instances in the domain.
", "smithy.api#range": { "min": 1 @@ -4094,10 +4098,16 @@ "type": "structure", "members": { "MinimumInstanceCount": { - "target": "com.amazonaws.opensearch#MinimumInstanceCount" + "target": "com.amazonaws.opensearch#MinimumInstanceCount", + "traits": { + "smithy.api#default": 0 + } }, "MaximumInstanceCount": { - "target": "com.amazonaws.opensearch#MaximumInstanceCount" + "target": "com.amazonaws.opensearch#MaximumInstanceCount", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -4157,14 +4167,14 @@ } }, "com.amazonaws.opensearch#Integer": { - "type": "integer" - }, - "com.amazonaws.opensearch#IntegerClass": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.opensearch#IntegerClass": { + "type": "integer" + }, "com.amazonaws.opensearch#InternalException": { "type": "structure", "members": { @@ -4405,6 +4415,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Limits the results to a maximum number of domains.
", "smithy.api#httpQuery": "maxResults" } @@ -4492,6 +4503,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -4567,6 +4579,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Limits results to a maximum number of packages.
", "smithy.api#httpQuery": "maxResults" } @@ -4706,6 +4719,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Set this value to limit the number of results returned.\n Value must be greater than 10 or it won't be honored.\n
", "smithy.api#httpQuery": "maxResults" } @@ -4806,10 +4820,7 @@ } }, "com.amazonaws.opensearch#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.opensearch#MasterUserOptions": { "type": "structure", @@ -4840,6 +4851,7 @@ "com.amazonaws.opensearch#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Set this value to limit the number of results returned.\n
", "smithy.api#range": { "max": 100 @@ -4849,6 +4861,7 @@ "com.amazonaws.opensearch#MaximumInstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Maximum number of instances that can be instantiated for a given InstanceType.\n
" } }, @@ -4864,6 +4877,7 @@ "com.amazonaws.opensearch#MinimumInstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n Minimum number of instances that can be instantiated for a given InstanceType.\n
" } }, @@ -5365,6 +5379,7 @@ "UpdateVersion": { "target": "com.amazonaws.opensearch#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The latest version of the entity.
" } }, @@ -5799,6 +5814,7 @@ "InstanceCount": { "target": "com.amazonaws.opensearch#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of OpenSearch instances to reserve.
" } } @@ -6023,6 +6039,7 @@ "Duration": { "target": "com.amazonaws.opensearch#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration, in seconds, for which the OpenSearch instance is reserved.
" } }, @@ -6047,6 +6064,7 @@ "InstanceCount": { "target": "com.amazonaws.opensearch#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of OpenSearch instances that have been reserved.
" } }, @@ -6097,6 +6115,7 @@ "Duration": { "target": "com.amazonaws.opensearch#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration, in seconds, for which the offering will reserve the OpenSearch instance.
" } }, @@ -6759,11 +6778,15 @@ } }, "com.amazonaws.opensearch#TotalNumberOfStages": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.opensearch#UIntValue": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/opsworks.json b/codegen/sdk/aws-models/opsworks.json index 0ebcaf39410..77aa8487d04 100644 --- a/codegen/sdk/aws-models/opsworks.json +++ b/codegen/sdk/aws-models/opsworks.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -240,6 +240,9 @@ "input": { "target": "com.amazonaws.opsworks#AssignInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -276,6 +279,9 @@ "input": { "target": "com.amazonaws.opsworks#AssignVolumeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -311,6 +317,9 @@ "input": { "target": "com.amazonaws.opsworks#AssociateElasticIpRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -346,6 +355,9 @@ "input": { "target": "com.amazonaws.opsworks#AttachElasticLoadBalancerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -481,10 +493,7 @@ } }, "com.amazonaws.opsworks#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.opsworks#ChefConfiguration": { "type": "structure", @@ -2026,6 +2035,9 @@ "input": { "target": "com.amazonaws.opsworks#DeleteAppRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2055,6 +2067,9 @@ "input": { "target": "com.amazonaws.opsworks#DeleteInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2096,6 +2111,9 @@ "input": { "target": "com.amazonaws.opsworks#DeleteLayerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2125,6 +2143,9 @@ "input": { "target": "com.amazonaws.opsworks#DeleteStackRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2154,6 +2175,9 @@ "input": { "target": "com.amazonaws.opsworks#DeleteUserProfileRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2354,6 +2378,9 @@ "input": { "target": "com.amazonaws.opsworks#DeregisterEcsClusterRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2383,6 +2410,9 @@ "input": { "target": "com.amazonaws.opsworks#DeregisterElasticIpRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2412,6 +2442,9 @@ "input": { "target": "com.amazonaws.opsworks#DeregisterInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2441,6 +2474,9 @@ "input": { "target": "com.amazonaws.opsworks#DeregisterRdsDbInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2470,6 +2506,9 @@ "input": { "target": "com.amazonaws.opsworks#DeregisterVolumeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -3478,6 +3517,9 @@ }, "com.amazonaws.opsworks#DescribeMyUserProfile": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.opsworks#DescribeMyUserProfileResult" }, @@ -3501,6 +3543,9 @@ }, "com.amazonaws.opsworks#DescribeOperatingSystems": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.opsworks#DescribeOperatingSystemsResponse" }, @@ -4041,6 +4086,9 @@ "input": { "target": "com.amazonaws.opsworks#DetachElasticLoadBalancerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -4074,6 +4122,9 @@ "input": { "target": "com.amazonaws.opsworks#DisassociateElasticIpRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -4099,10 +4150,7 @@ } }, "com.amazonaws.opsworks#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.opsworks#EbsBlockDevice": { "type": "structure", @@ -4842,10 +4890,7 @@ } }, "com.amazonaws.opsworks#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.opsworks#Layer": { "type": "structure", @@ -5217,6 +5262,7 @@ "MaxResults": { "target": "com.amazonaws.opsworks#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Do not use. A validation exception occurs if you add a MaxResults parameter to a ListTagsRequest call.\n
Organizations is a web service that enables you to consolidate your multiple\n Amazon Web Services accounts into an organization and centrally manage your\n accounts and their resources.
\nThis guide provides descriptions of the Organizations operations. For more\n information about using this service, see the Organizations User Guide.
\n\n Support and feedback for Organizations\n
\nWe welcome your feedback. Send your comments to feedback-awsorganizations@amazon.com or post your feedback and questions in\n the Organizations support forum. For\n more information about the Amazon Web Services support forums, see Forums Help.
\n\n Endpoint to call When using the CLI or the Amazon Web Services\n SDK\n
\nFor the current release of Organizations, specify the us-east-1 region\n for all Amazon Web Services API and CLI calls made from the commercial Amazon Web Services Regions outside of\n China. If calling from one of the Amazon Web Services Regions in China, then specify\n cn-northwest-1. You can do this in the CLI by using these parameters\n and commands:
Use the following parameter with each command to specify both the endpoint and\n its region:
\n\n --endpoint-url https://organizations.us-east-1.amazonaws.com\n (from commercial Amazon Web Services Regions outside of China)\n
or
\n\n --endpoint-url\n https://organizations.cn-northwest-1.amazonaws.com.cn\n (from Amazon Web Services Regions in China)\n
Use the default endpoint, but configure your default region with this\n command:
\n\n aws configure set default.region us-east-1\n (from commercial Amazon Web Services Regions outside of China)\n
or
\n\n aws configure set default.region cn-northwest-1\n (from Amazon Web Services Regions in China)\n
Use the following parameter with each command to specify the endpoint:
\n\n --region us-east-1\n (from commercial Amazon Web Services Regions outside of China)\n
or
\n\n --region cn-northwest-1\n (from Amazon Web Services Regions in China)\n
\n Recording API Requests\n
\nOrganizations supports CloudTrail, a service that records Amazon Web Services API calls for your\n Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information collected\n by CloudTrail, you can determine which requests the Organizations service received, who made the\n request and when, and so on. For more about Organizations and its support for CloudTrail, see\n Logging\n Organizations Events with CloudTrail in the Organizations User Guide.\n To learn more about CloudTrail, including how to turn it on and find your log files, see the\n CloudTrail User Guide.
", - "smithy.api#title": "AWS Organizations", - "smithy.api#xmlNamespace": { - "uri": "http://organizations.amazonaws.com/doc/2016-11-28/" - } - }, "version": "2016-11-28", "operations": [ { @@ -220,7 +202,25 @@ { "target": "com.amazonaws.organizations#UpdatePolicy" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Organizations", + "arnNamespace": "organizations", + "cloudFormationName": "Organizations", + "cloudTrailEventSource": "organizations.amazonaws.com", + "endpointPrefix": "organizations" + }, + "aws.auth#sigv4": { + "name": "organizations" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Organizations is a web service that enables you to consolidate your multiple\n Amazon Web Services accounts into an organization and centrally manage your\n accounts and their resources.
\nThis guide provides descriptions of the Organizations operations. For more\n information about using this service, see the Organizations User Guide.
\n\n Support and feedback for Organizations\n
\nWe welcome your feedback. Send your comments to feedback-awsorganizations@amazon.com or post your feedback and questions in\n the Organizations support forum. For\n more information about the Amazon Web Services support forums, see Forums Help.
\n\n Endpoint to call When using the CLI or the Amazon Web Services\n SDK\n
\nFor the current release of Organizations, specify the us-east-1 region\n for all Amazon Web Services API and CLI calls made from the commercial Amazon Web Services Regions outside of\n China. If calling from one of the Amazon Web Services Regions in China, then specify\n cn-northwest-1. You can do this in the CLI by using these parameters\n and commands:
Use the following parameter with each command to specify both the endpoint and\n its region:
\n\n --endpoint-url https://organizations.us-east-1.amazonaws.com\n (from commercial Amazon Web Services Regions outside of China)\n
or
\n\n --endpoint-url\n https://organizations.cn-northwest-1.amazonaws.com.cn\n (from Amazon Web Services Regions in China)\n
Use the default endpoint, but configure your default region with this\n command:
\n\n aws configure set default.region us-east-1\n (from commercial Amazon Web Services Regions outside of China)\n
or
\n\n aws configure set default.region cn-northwest-1\n (from Amazon Web Services Regions in China)\n
Use the following parameter with each command to specify the endpoint:
\n\n --region us-east-1\n (from commercial Amazon Web Services Regions outside of China)\n
or
\n\n --region cn-northwest-1\n (from Amazon Web Services Regions in China)\n
\n Recording API Requests\n
\nOrganizations supports CloudTrail, a service that records Amazon Web Services API calls for your\n Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information collected\n by CloudTrail, you can determine which requests the Organizations service received, who made the\n request and when, and so on. For more about Organizations and its support for CloudTrail, see\n Logging\n Organizations Events with CloudTrail in the Organizations User Guide.\n To learn more about CloudTrail, including how to turn it on and find your log files, see the\n CloudTrail User Guide.
", + "smithy.api#title": "AWS Organizations", + "smithy.api#xmlNamespace": { + "uri": "http://organizations.amazonaws.com/doc/2016-11-28/" + } + } }, "com.amazonaws.organizations#AcceptHandshake": { "type": "operation", @@ -623,7 +623,10 @@ } }, "com.amazonaws.organizations#AwsManagedPolicy": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.organizations#CancelHandshake": { "type": "operation", @@ -4811,7 +4814,6 @@ "com.amazonaws.organizations#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -5295,6 +5297,7 @@ "AwsManaged": { "target": "com.amazonaws.organizations#AwsManagedPolicy", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value that indicates whether the specified policy is an Amazon Web Services managed\n policy. If true, then you can attach the policy to roots, OUs, or accounts, but you\n cannot edit it.
" } } diff --git a/codegen/sdk/aws-models/outposts.json b/codegen/sdk/aws-models/outposts.json index d7fcac60cf7..6e5944f58db 100644 --- a/codegen/sdk/aws-models/outposts.json +++ b/codegen/sdk/aws-models/outposts.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -163,18 +163,20 @@ } }, "com.amazonaws.outposts#AddressType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SHIPPING_ADDRESS", - "name": "SHIPPING_ADDRESS" - }, - { - "value": "OPERATING_ADDRESS", - "name": "OPERATING_ADDRESS" + "type": "enum", + "members": { + "SHIPPING_ADDRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHIPPING_ADDRESS" + } + }, + "OPERATING_ADDRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATING_ADDRESS" } - ] + } } }, "com.amazonaws.outposts#Arn": { @@ -255,15 +257,32 @@ "smithy.api#documentation": "\n Information about the position of the asset in a rack. \n
" } }, + "com.amazonaws.outposts#AssetState": { + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "RETIRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RETIRING" + } + } + } + }, "com.amazonaws.outposts#AssetType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "COMPUTE", - "name": "COMPUTE" + "type": "enum", + "members": { + "COMPUTE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPUTE" } - ] + } } }, "com.amazonaws.outposts#AvailabilityZone": { @@ -354,7 +373,7 @@ } ], "traits": { - "smithy.api#documentation": "\n Cancels an order for an Outpost. \n
", + "smithy.api#documentation": "Cancels the specified order for an Outpost.
", "smithy.api#http": { "method": "POST", "uri": "/orders/{OrderId}/cancel", @@ -368,7 +387,7 @@ "OrderId": { "target": "com.amazonaws.outposts#OrderId", "traits": { - "smithy.api#documentation": "\n The ID of the order to cancel.\n
", + "smithy.api#documentation": "\n The ID of the order.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -430,18 +449,20 @@ } }, "com.amazonaws.outposts#CatalogItemClass": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RACK", - "name": "RACK" - }, - { - "value": "SERVER", - "name": "SERVER" + "type": "enum", + "members": { + "RACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RACK" + } + }, + "SERVER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVER" } - ] + } } }, "com.amazonaws.outposts#CatalogItemClassList": { @@ -457,31 +478,27 @@ } }, "com.amazonaws.outposts#CatalogItemPowerKva": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.outposts#CatalogItemStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AVAILABLE", - "name": "AVAILABLE" - }, - { - "value": "DISCONTINUED", - "name": "DISCONTINUED" + "type": "enum", + "members": { + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" } - ] + }, + "DISCONTINUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISCONTINUED" + } + } } }, "com.amazonaws.outposts#CatalogItemWeightLbs": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.outposts#City": { "type": "string", @@ -499,13 +516,42 @@ "target": "com.amazonaws.outposts#City" } }, + "com.amazonaws.outposts#ComputeAssetState": { + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "ISOLATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ISOLATED" + } + }, + "RETIRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RETIRING" + } + } + } + }, "com.amazonaws.outposts#ComputeAttributes": { "type": "structure", "members": { "HostId": { "target": "com.amazonaws.outposts#HostId", "traits": { - "smithy.api#documentation": "\n The host ID of any Dedicated Hosts on the asset.\n
" + "smithy.api#documentation": "\n The host ID of the Dedicated Host on the asset.\n
" + } + }, + "State": { + "target": "com.amazonaws.outposts#ComputeAssetState", + "traits": { + "smithy.api#documentation": "The state.
\nACTIVE - The asset is available and can provide capacity for new compute resources.
\nISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources.\n Existing compute resources on the asset are not affected.
\nRETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced.\n Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced.
\nThe payment option for the order.
", + "smithy.api#documentation": "The payment option.
", "smithy.api#required": {} } }, "PaymentTerm": { "target": "com.amazonaws.outposts#PaymentTerm", "traits": { - "smithy.api#documentation": "The payment terms for the order.
" + "smithy.api#documentation": "The payment terms.
" } } } @@ -737,7 +783,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates an Outpost.
\nYou can specify AvailabilityZone or AvailabilityZoneId.
Creates an Outpost.
\nYou can specify either an Availability one or an AZ ID.
", "smithy.api#http": { "method": "POST", "uri": "/outposts", @@ -760,7 +806,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "\n The ID or the Amazon Resource Name (ARN) of the site.\n
\nIn requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.
\n The ID or the Amazon Resource Name (ARN) of the site.\n
", "smithy.api#required": {} } }, @@ -904,7 +950,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the Outpost.
", + "smithy.api#documentation": "Deletes the specified Outpost.
", "smithy.api#http": { "method": "DELETE", "uri": "/outposts/{OutpostId}", @@ -918,7 +964,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n
\nIn requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.
\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -955,7 +1001,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the site.
", + "smithy.api#documentation": "Deletes the specified site.
", "smithy.api#http": { "method": "DELETE", "uri": "/sites/{SiteId}", @@ -969,7 +1015,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "\n The ID or the Amazon Resource Name (ARN) of the site.\n
\nIn requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.
\n The ID or the Amazon Resource Name (ARN) of the site.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1059,18 +1105,20 @@ } }, "com.amazonaws.outposts#FiberOpticCableType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SINGLE_MODE", - "name": "SINGLE_MODE" - }, - { - "value": "MULTI_MODE", - "name": "MULTI_MODE" + "type": "enum", + "members": { + "SINGLE_MODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_MODE" + } + }, + "MULTI_MODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MULTI_MODE" } - ] + } } }, "com.amazonaws.outposts#GetCatalogItem": { @@ -1093,7 +1141,7 @@ } ], "traits": { - "smithy.api#documentation": "Gets information about a catalog item.
", + "smithy.api#documentation": "Gets information about the specified catalog item.
", "smithy.api#http": { "method": "GET", "uri": "/catalog/item/{CatalogItemId}", @@ -1148,7 +1196,7 @@ } ], "traits": { - "smithy.api#documentation": "\n Amazon Web Services uses this action to install Outpost servers.
\n\n Gets information about a specified connection.\n
\n\n Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For \n more information, see \n Amazon Web Services managed policies for Amazon Web Services Outposts and \n Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.\n
", + "smithy.api#documentation": "\n Amazon Web Services uses this action to install Outpost servers.
\n\n Gets information about the specified connection.\n
\n\n Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For \n more information, see \n Amazon Web Services managed policies for Amazon Web Services Outposts and \n Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.\n
", "smithy.api#http": { "method": "GET", "uri": "/connections/{ConnectionId}", @@ -1162,7 +1210,7 @@ "ConnectionId": { "target": "com.amazonaws.outposts#ConnectionId", "traits": { - "smithy.api#documentation": "\n The ID of the connection you request.\n
", + "smithy.api#documentation": "\n The ID of the connection.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1175,13 +1223,13 @@ "ConnectionId": { "target": "com.amazonaws.outposts#ConnectionId", "traits": { - "smithy.api#documentation": "\n The ID of the connection you receive.\n
" + "smithy.api#documentation": "\n The ID of the connection.\n
" } }, "ConnectionDetails": { "target": "com.amazonaws.outposts#ConnectionDetails", "traits": { - "smithy.api#documentation": "\n Information about a connection.\n
" + "smithy.api#documentation": "\n Information about the connection.\n
" } } } @@ -1206,7 +1254,7 @@ } ], "traits": { - "smithy.api#documentation": "Gets an order.
", + "smithy.api#documentation": "Gets information about the specified order.
", "smithy.api#http": { "method": "GET", "uri": "/orders/{OrderId}", @@ -1272,7 +1320,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n
\nIn requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.
\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1321,7 +1369,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n
\nIn requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.
\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1352,7 +1400,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "\n The ID of the Outpost.\n
\nIn requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.
\n The ID of the Outpost.\n
" } }, "OutpostArn": { @@ -1391,7 +1439,7 @@ } ], "traits": { - "smithy.api#documentation": "\n Gets information about the specified Outpost site.\n
", + "smithy.api#documentation": "Gets information about the specified Outpost site.
", "smithy.api#http": { "method": "GET", "uri": "/sites/{SiteId}", @@ -1422,7 +1470,7 @@ } ], "traits": { - "smithy.api#documentation": "\n Gets the site address.\n
", + "smithy.api#documentation": "\n Gets the site address of the specified site.\n
", "smithy.api#http": { "method": "GET", "uri": "/sites/{SiteId}/address", @@ -1436,7 +1484,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "\n The ID or the Amazon Resource Name (ARN) of the site.\n
\nIn requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.
\n The ID or the Amazon Resource Name (ARN) of the site.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1444,7 +1492,7 @@ "AddressType": { "target": "com.amazonaws.outposts#AddressType", "traits": { - "smithy.api#documentation": "The type of the address you request.
", + "smithy.api#documentation": "The type of the address you request.
", "smithy.api#httpQuery": "AddressType", "smithy.api#required": {} } @@ -1460,7 +1508,7 @@ "AddressType": { "target": "com.amazonaws.outposts#AddressType", "traits": { - "smithy.api#documentation": "The type of the address you receive.
" + "smithy.api#documentation": "The type of the address you receive.
" } }, "Address": { @@ -1477,7 +1525,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "\n The ID or the Amazon Resource Name (ARN) of the site.\n
\nIn requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.
\n The ID or the Amazon Resource Name (ARN) of the site.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1591,6 +1639,7 @@ "Quantity": { "target": "com.amazonaws.outposts#LineItemQuantity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The quantity of the line item.
" } }, @@ -1629,7 +1678,7 @@ "MacAddressList": { "target": "com.amazonaws.outposts#MacAddressList", "traits": { - "smithy.api#documentation": "\n MAC addresses of the asset.\n
" + "smithy.api#documentation": "\n The MAC addresses of the asset.\n
" } } }, @@ -1658,6 +1707,7 @@ "com.amazonaws.outposts#LineItemQuantity": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 20 @@ -1676,6 +1726,7 @@ "Quantity": { "target": "com.amazonaws.outposts#LineItemQuantity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The quantity of a line item request.
" } } @@ -1697,42 +1748,56 @@ } }, "com.amazonaws.outposts#LineItemStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PREPARING", - "name": "PREPARING" - }, - { - "value": "BUILDING", - "name": "BUILDING" - }, - { - "value": "SHIPPED", - "name": "SHIPPED" - }, - { - "value": "DELIVERED", - "name": "DELIVERED" - }, - { - "value": "INSTALLING", - "name": "INSTALLING" - }, - { - "value": "INSTALLED", - "name": "INSTALLED" - }, - { - "value": "ERROR", - "name": "ERROR" - }, - { - "value": "CANCELLED", - "name": "CANCELLED" - } - ] + "type": "enum", + "members": { + "PREPARING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PREPARING" + } + }, + "BUILDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BUILDING" + } + }, + "SHIPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHIPPED" + } + }, + "DELIVERED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELIVERED" + } + }, + "INSTALLING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTALLING" + } + }, + "INSTALLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTALLED" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + } } }, "com.amazonaws.outposts#LineItemStatusCounts": { @@ -1767,7 +1832,7 @@ } ], "traits": { - "smithy.api#documentation": "\n Lists the hardware assets in an Outpost. If you are using Dedicated Hosts on \n Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware\n assets that allocate resources for Dedicated Hosts. \n
", + "smithy.api#documentation": "Lists the hardware assets for the specified Outpost.
\nUse filters to return specific results. If you specify multiple filters, the results include only the resources that match \n all of the specified filters. For a filter where you can specify multiple values, the results include \n items that match any of the values that you specify for the filter.
", "smithy.api#http": { "method": "GET", "uri": "/outposts/{OutpostIdentifier}/assets", @@ -1794,7 +1859,7 @@ "HostIdFilter": { "target": "com.amazonaws.outposts#HostIdList", "traits": { - "smithy.api#documentation": "\n A filter for the host ID of Dedicated Hosts on the Outpost.\n
\nFilter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.
Filters the results by the host ID of a Dedicated Host.
", "smithy.api#httpQuery": "HostIdFilter" } }, @@ -1809,6 +1874,13 @@ "traits": { "smithy.api#httpQuery": "NextToken" } + }, + "StatusFilter": { + "target": "com.amazonaws.outposts#StatusList", + "traits": { + "smithy.api#documentation": "Filters the results by state.
", + "smithy.api#httpQuery": "StatusFilter" + } } } }, @@ -1818,7 +1890,7 @@ "Assets": { "target": "com.amazonaws.outposts#AssetListDefinition", "traits": { - "smithy.api#documentation": "\n Information about hardware assets. \n
" + "smithy.api#documentation": "Information about the hardware assets.
" } }, "NextToken": { @@ -1846,7 +1918,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the items in the catalog. Add filters to your request to return a\n more specific list of results. Use filters to match an item class, storage\n option, or EC2 family.
\nIf you specify multiple filters, the filters are joined with an AND, and\n the request returns only results that match all of the specified filters.
Lists the items in the catalog.
\nUse filters to return specific results. If you specify multiple filters, the results include only the resources that match \n all of the specified filters. For a filter where you can specify multiple values, the results include \n items that match any of the values that you specify for the filter.
", "smithy.api#http": { "method": "GET", "uri": "/catalog/items", @@ -1877,21 +1949,21 @@ "ItemClassFilter": { "target": "com.amazonaws.outposts#CatalogItemClassList", "traits": { - "smithy.api#documentation": "\n A filter for the class of items in the catalog.\n
\nFilter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.
Filters the results by item class.
", "smithy.api#httpQuery": "ItemClassFilter" } }, "SupportedStorageFilter": { "target": "com.amazonaws.outposts#SupportedStorageList", "traits": { - "smithy.api#documentation": "\n A filter for the storage options of items in the catalog.\n
\nFilter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.
Filters the results by storage option.
", "smithy.api#httpQuery": "SupportedStorageFilter" } }, "EC2FamilyFilter": { "target": "com.amazonaws.outposts#EC2FamilyList", "traits": { - "smithy.api#documentation": "\n A filter for EC2 family options for items in the catalog.\n
\nFilter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.
Filters the results by EC2 family (for example, M5).
", "smithy.api#httpQuery": "EC2FamilyFilter" } } @@ -1934,7 +2006,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to \n return a more specific list of results.
", + "smithy.api#documentation": "Lists the Outpost orders for your Amazon Web Services account.
", "smithy.api#http": { "method": "GET", "uri": "/list-orders", @@ -2005,7 +2077,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the Outposts for your Amazon Web Services account. Add filters to your request to return\n a more specific list of results. Use filters to match an Outpost lifecycle status,\n Availability Zone (us-east-1a), and AZ ID (use1-az1).
If you specify multiple filters, the filters are joined with an AND, and the request returns only \n results that match all of the specified filters.
Lists the Outposts for your Amazon Web Services account.
\nUse filters to return specific results. If you specify multiple filters, the results include only the resources that match \n all of the specified filters. For a filter where you can specify multiple values, the results include \n items that match any of the values that you specify for the filter.
", "smithy.api#http": { "method": "GET", "uri": "/outposts", @@ -2036,21 +2108,21 @@ "LifeCycleStatusFilter": { "target": "com.amazonaws.outposts#LifeCycleStatusList", "traits": { - "smithy.api#documentation": "\n A filter for the lifecycle status of the Outpost. \n
\nFilter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.
Filters the results by the lifecycle status.
", "smithy.api#httpQuery": "LifeCycleStatusFilter" } }, "AvailabilityZoneFilter": { "target": "com.amazonaws.outposts#AvailabilityZoneList", "traits": { - "smithy.api#documentation": " A filter for the Availability Zone (us-east-1a) of the Outpost.
Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.
Filters the results by Availability Zone (for example, us-east-1a).
\n A filter for the AZ IDs (use1-az1) of the Outpost.\n
Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.
Filters the results by AZ ID (for example, use1-az1).
Lists the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to\n return a more specific list of results. Use filters to match site city, country code, or state/region of the \n operating address.
\n \nIf you specify multiple filters, the filters are joined with an AND, and the request returns only \n results that match all of the specified filters.
Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.
\nUse filters to return specific results. If you specify multiple filters, the results include only the resources that match \n all of the specified filters. For a filter where you can specify multiple values, the results include \n items that match any of the values that you specify for the filter.
", "smithy.api#http": { "method": "GET", "uri": "/sites", @@ -2118,21 +2190,21 @@ "OperatingAddressCountryCodeFilter": { "target": "com.amazonaws.outposts#CountryCodeList", "traits": { - "smithy.api#documentation": "A filter for the country code of the Outpost site.
\nFilter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.
Filters the results by country code.
", "smithy.api#httpQuery": "OperatingAddressCountryCodeFilter" } }, "OperatingAddressStateOrRegionFilter": { "target": "com.amazonaws.outposts#StateOrRegionList", "traits": { - "smithy.api#documentation": "A filter for the state/region of the Outpost site.
\nFilter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.
Filters the results by state or region.
", "smithy.api#httpQuery": "OperatingAddressStateOrRegionFilter" } }, "OperatingAddressCityFilter": { "target": "com.amazonaws.outposts#CityList", "traits": { - "smithy.api#documentation": "\n A filter for the city of the Outpost site. \n
\nFilter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.
Filters the results by city.
", "smithy.api#httpQuery": "OperatingAddressCityFilter" } } @@ -2220,7 +2292,6 @@ "com.amazonaws.outposts#MaxResults1000": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The maximum page size.
", "smithy.api#range": { "min": 1, @@ -2232,30 +2303,38 @@ "type": "string" }, "com.amazonaws.outposts#MaximumSupportedWeightLbs": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NO_LIMIT", - "name": "NO_LIMIT" - }, - { - "value": "MAX_1400_LBS", - "name": "MAX_1400_LBS" - }, - { - "value": "MAX_1600_LBS", - "name": "MAX_1600_LBS" - }, - { - "value": "MAX_1800_LBS", - "name": "MAX_1800_LBS" - }, - { - "value": "MAX_2000_LBS", - "name": "MAX_2000_LBS" - } - ] + "type": "enum", + "members": { + "NO_LIMIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO_LIMIT" + } + }, + "MAX_1400_LBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAX_1400_LBS" + } + }, + "MAX_1600_LBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAX_1600_LBS" + } + }, + "MAX_1800_LBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAX_1800_LBS" + } + }, + "MAX_2000_LBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAX_2000_LBS" + } + } } }, "com.amazonaws.outposts#Municipality": { @@ -2271,6 +2350,7 @@ "com.amazonaws.outposts#NetworkInterfaceDeviceIndex": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 @@ -2291,62 +2371,86 @@ } }, "com.amazonaws.outposts#OpticalStandard": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OPTIC_10GBASE_SR", - "name": "OPTIC_10GBASE_SR" - }, - { - "value": "OPTIC_10GBASE_IR", - "name": "OPTIC_10GBASE_IR" - }, - { - "value": "OPTIC_10GBASE_LR", - "name": "OPTIC_10GBASE_LR" - }, - { - "value": "OPTIC_40GBASE_SR", - "name": "OPTIC_40GBASE_SR" - }, - { - "value": "OPTIC_40GBASE_ESR", - "name": "OPTIC_40GBASE_ESR" - }, - { - "value": "OPTIC_40GBASE_IR4_LR4L", - "name": "OPTIC_40GBASE_IR4_LR4L" - }, - { - "value": "OPTIC_40GBASE_LR4", - "name": "OPTIC_40GBASE_LR4" - }, - { - "value": "OPTIC_100GBASE_SR4", - "name": "OPTIC_100GBASE_SR4" - }, - { - "value": "OPTIC_100GBASE_CWDM4", - "name": "OPTIC_100GBASE_CWDM4" - }, - { - "value": "OPTIC_100GBASE_LR4", - "name": "OPTIC_100GBASE_LR4" - }, - { - "value": "OPTIC_100G_PSM4_MSA", - "name": "OPTIC_100G_PSM4_MSA" - }, - { - "value": "OPTIC_1000BASE_LX", - "name": "OPTIC_1000BASE_LX" - }, - { - "value": "OPTIC_1000BASE_SX", - "name": "OPTIC_1000BASE_SX" - } - ] + "type": "enum", + "members": { + "OPTIC_10GBASE_SR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_10GBASE_SR" + } + }, + "OPTIC_10GBASE_IR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_10GBASE_IR" + } + }, + "OPTIC_10GBASE_LR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_10GBASE_LR" + } + }, + "OPTIC_40GBASE_SR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_40GBASE_SR" + } + }, + "OPTIC_40GBASE_ESR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_40GBASE_ESR" + } + }, + "OPTIC_40GBASE_IR4_LR4L": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_40GBASE_IR4_LR4L" + } + }, + "OPTIC_40GBASE_LR4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_40GBASE_LR4" + } + }, + "OPTIC_100GBASE_SR4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_100GBASE_SR4" + } + }, + "OPTIC_100GBASE_CWDM4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_100GBASE_CWDM4" + } + }, + "OPTIC_100GBASE_LR4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_100GBASE_LR4" + } + }, + "OPTIC_100G_PSM4_MSA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_100G_PSM4_MSA" + } + }, + "OPTIC_1000BASE_LX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_1000BASE_LX" + } + }, + "OPTIC_1000BASE_SX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_1000BASE_SX" + } + } } }, "com.amazonaws.outposts#Order": { @@ -2367,7 +2471,7 @@ "Status": { "target": "com.amazonaws.outposts#OrderStatus", "traits": { - "smithy.api#documentation": "The status of the order.
\n\n PREPARING - Order is received and being prepared.
\n IN_PROGRESS - Order is either being built, shipped, or installed. To get more\n details, see the LineItem status.
\n COMPLETED - Order is complete.
\n CANCELLED - Order is cancelled.
\n ERROR - Customer should contact support.
The following status are deprecated: RECEIVED, PENDING,\n PROCESSING, INSTALLING, and FULFILLED.
The status of the order.
\n\n PREPARING - Order is received and being prepared.
\n IN_PROGRESS - Order is either being built, shipped, or installed. To get more\n details, see the line item status.
\n COMPLETED - Order is complete.
\n CANCELLED - Order is cancelled.
\n ERROR - Customer should contact support.
The following status are deprecated: RECEIVED, PENDING,\n PROCESSING, INSTALLING, and FULFILLED.
\n Submission date for the order. \n
" + "smithy.api#documentation": "\n The submission date for the order. \n
" } }, "OrderFulfilledDate": { "target": "com.amazonaws.outposts#ISO8601Timestamp", "traits": { - "smithy.api#documentation": "\n Fulfilment date for the order.\n
" + "smithy.api#documentation": "\n The fulfilment date for the order.\n
" } } }, @@ -2513,18 +2635,20 @@ } }, "com.amazonaws.outposts#OrderType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OUTPOST", - "name": "OUTPOST" - }, - { - "value": "REPLACEMENT", - "name": "REPLACEMENT" + "type": "enum", + "members": { + "OUTPOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTPOST" + } + }, + "REPLACEMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REPLACEMENT" } - ] + } } }, "com.amazonaws.outposts#Outpost": { @@ -2645,21 +2769,6 @@ }, "com.amazonaws.outposts#OutpostsOlafService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Outposts", - "arnNamespace": "outposts", - "cloudFormationName": "Outposts", - "cloudTrailEventSource": "outposts.amazonaws.com", - "endpointPrefix": "outposts" - }, - "aws.auth#sigv4": { - "name": "outposts" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools\n to customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts\n enables customers to build and run applications on premises using the same programming\n interfaces as in Amazon Web Services Regions, while using local compute and storage resources for lower\n latency and local data processing needs.
", - "smithy.api#title": "AWS Outposts" - }, "version": "2019-12-03", "operations": [ { @@ -2740,7 +2849,22 @@ { "target": "com.amazonaws.outposts#UpdateSiteRackPhysicalProperties" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Outposts", + "arnNamespace": "outposts", + "cloudFormationName": "Outposts", + "cloudTrailEventSource": "outposts.amazonaws.com", + "endpointPrefix": "outposts" + }, + "aws.auth#sigv4": { + "name": "outposts" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools\n to customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts\n enables customers to build and run applications on premises using the same programming\n interfaces as in Amazon Web Services Regions, while using local compute and storage resources for lower\n latency and local data processing needs.
", + "smithy.api#title": "AWS Outposts" + } }, "com.amazonaws.outposts#OwnerId": { "type": "string", @@ -2754,33 +2878,43 @@ } }, "com.amazonaws.outposts#PaymentOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALL_UPFRONT", - "name": "ALL_UPFRONT" - }, - { - "value": "NO_UPFRONT", - "name": "NO_UPFRONT" - }, - { - "value": "PARTIAL_UPFRONT", - "name": "PARTIAL_UPFRONT" + "type": "enum", + "members": { + "ALL_UPFRONT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL_UPFRONT" + } + }, + "NO_UPFRONT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO_UPFRONT" + } + }, + "PARTIAL_UPFRONT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARTIAL_UPFRONT" } - ] + } } }, "com.amazonaws.outposts#PaymentTerm": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "THREE_YEARS", - "name": "THREE_YEARS" + "type": "enum", + "members": { + "THREE_YEARS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THREE_YEARS" + } + }, + "ONE_YEAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONE_YEAR" } - ] + } } }, "com.amazonaws.outposts#PostalCode": { @@ -2794,75 +2928,89 @@ } }, "com.amazonaws.outposts#PowerConnector": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "L6_30P", - "name": "L6_30P" - }, - { - "value": "IEC309", - "name": "IEC309" - }, - { - "value": "AH530P7W", - "name": "AH530P7W" - }, - { - "value": "AH532P6W", - "name": "AH532P6W" - } - ] + "type": "enum", + "members": { + "L6_30P": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "L6_30P" + } + }, + "IEC309": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IEC309" + } + }, + "AH530P7W": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AH530P7W" + } + }, + "AH532P6W": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AH532P6W" + } + } } }, "com.amazonaws.outposts#PowerDrawKva": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "POWER_5_KVA", - "name": "POWER_5_KVA" - }, - { - "value": "POWER_10_KVA", - "name": "POWER_10_KVA" - }, - { - "value": "POWER_15_KVA", - "name": "POWER_15_KVA" + "type": "enum", + "members": { + "POWER_5_KVA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POWER_5_KVA" + } + }, + "POWER_10_KVA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POWER_10_KVA" } - ] + }, + "POWER_15_KVA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POWER_15_KVA" + } + } } }, "com.amazonaws.outposts#PowerFeedDrop": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ABOVE_RACK", - "name": "ABOVE_RACK" - }, - { - "value": "BELOW_RACK", - "name": "BELOW_RACK" + "type": "enum", + "members": { + "ABOVE_RACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ABOVE_RACK" + } + }, + "BELOW_RACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BELOW_RACK" } - ] + } } }, "com.amazonaws.outposts#PowerPhase": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SINGLE_PHASE", - "name": "SINGLE_PHASE" - }, - { - "value": "THREE_PHASE", - "name": "THREE_PHASE" + "type": "enum", + "members": { + "SINGLE_PHASE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_PHASE" + } + }, + "THREE_PHASE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THREE_PHASE" } - ] + } } }, "com.amazonaws.outposts#Quantity": { @@ -2871,7 +3019,6 @@ "com.amazonaws.outposts#RackElevation": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 99 @@ -2951,18 +3098,20 @@ } }, "com.amazonaws.outposts#ResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OUTPOST", - "name": "OUTPOST" - }, - { - "value": "ORDER", - "name": "ORDER" + "type": "enum", + "members": { + "OUTPOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTPOST" + } + }, + "ORDER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ORDER" } - ] + } } }, "com.amazonaws.outposts#ServerEndpoint": { @@ -2989,26 +3138,32 @@ } }, "com.amazonaws.outposts#ShipmentCarrier": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DHL", - "name": "DHL" - }, - { - "value": "DBS", - "name": "DBS" - }, - { - "value": "FEDEX", - "name": "FEDEX" - }, - { - "value": "UPS", - "name": "UPS" - } - ] + "type": "enum", + "members": { + "DHL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DHL" + } + }, + "DBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DBS" + } + }, + "FEDEX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FEDEX" + } + }, + "UPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPS" + } + } } }, "com.amazonaws.outposts#ShipmentInformation": { @@ -3115,7 +3270,7 @@ "com.amazonaws.outposts#SiteId": { "type": "string", "traits": { - "smithy.api#documentation": "\n The ID of the site.\n
", + "smithy.api#documentation": "The ID of the site.
", "smithy.api#length": { "min": 1, "max": 255 @@ -3212,6 +3367,7 @@ "NetworkInterfaceDeviceIndex": { "target": "com.amazonaws.outposts#NetworkInterfaceDeviceIndex", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\n The device index of the network interface on the Outpost server.\n
", "smithy.api#required": {} } @@ -3251,6 +3407,18 @@ "target": "com.amazonaws.outposts#StateOrRegion" } }, + "com.amazonaws.outposts#StatusList": { + "type": "list", + "member": { + "target": "com.amazonaws.outposts#AssetState" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2 + } + } + }, "com.amazonaws.outposts#String": { "type": "string", "traits": { @@ -3262,33 +3430,37 @@ } }, "com.amazonaws.outposts#SupportedHardwareType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RACK", - "name": "RACK" - }, - { - "value": "SERVER", - "name": "SERVER" + "type": "enum", + "members": { + "RACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RACK" + } + }, + "SERVER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVER" } - ] + } } }, "com.amazonaws.outposts#SupportedStorageEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EBS", - "name": "EBS" - }, - { - "value": "S3", - "name": "S3" + "type": "enum", + "members": { + "EBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EBS" + } + }, + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" } - ] + } } }, "com.amazonaws.outposts#SupportedStorageList": { @@ -3298,7 +3470,10 @@ } }, "com.amazonaws.outposts#SupportedUplinkGbps": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.outposts#SupportedUplinkGbpsListDefinition": { "type": "list", @@ -3529,7 +3704,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n
\nIn requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.
\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3582,7 +3757,7 @@ } ], "traits": { - "smithy.api#documentation": "\n Updates the site. \n
", + "smithy.api#documentation": "Updates the specified site.
", "smithy.api#http": { "method": "PATCH", "uri": "/sites/{SiteId}", @@ -3616,7 +3791,7 @@ } ], "traits": { - "smithy.api#documentation": "\n Updates the site address. \n
\n\n To update a site address\n with an order IN_PROGRESS, you must wait for the order \n to complete or cancel the order. \n
You \n can update the operating address before you place an order at the \n site, or after all Outposts that belong to the site have been deactivated.\n
", + "smithy.api#documentation": "Updates the address of the specified site.
\nYou can't update a site address if there is an order in progress. You must wait for the order \n to complete or cancel the order.
\nYou can update the operating address before you place an order at the \n site, or after all Outposts that belong to the site have been deactivated.
", "smithy.api#http": { "method": "PUT", "uri": "/sites/{SiteId}/address", @@ -3630,7 +3805,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "\n The ID or the Amazon Resource Name (ARN) of the site.\n
\nIn requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.
\n The ID or the Amazon Resource Name (ARN) of the site.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3674,7 +3849,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "\n The ID or the Amazon Resource Name (ARN) of the site.\n
\nIn requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.
\n The ID or the Amazon Resource Name (ARN) of the site.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3688,7 +3863,7 @@ "Notes": { "target": "com.amazonaws.outposts#SiteNotes", "traits": { - "smithy.api#documentation": "\n Notes about a site.\n
" + "smithy.api#documentation": "Notes about a site.
" } } } @@ -3741,7 +3916,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "\n The ID or the Amazon Resource Name (ARN) of the site.\n
\nIn requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.
\n The ID or the Amazon Resource Name (ARN) of the site.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3749,31 +3924,31 @@ "PowerDrawKva": { "target": "com.amazonaws.outposts#PowerDrawKva", "traits": { - "smithy.api#documentation": "Specify in kVA the power draw available at the hardware placement position for the\n rack.
" + "smithy.api#documentation": "The power draw, in kVA, available at the hardware placement position for the\n rack.
" } }, "PowerPhase": { "target": "com.amazonaws.outposts#PowerPhase", "traits": { - "smithy.api#documentation": "Specify the power option that you can provide for hardware.
\nSingle-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz
\nThree-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz
\nThe power option that you can provide for hardware.
\nSingle-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz
\nThree-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz
\n Specify the power connector that Amazon Web Services should plan to provide for connections to the\n hardware. Note the correlation between PowerPhase and\n PowerConnector.
Single-phase AC feed
\n\n L6-30P – (common in US); 30A; single phase
\n\n IEC309 (blue) – P+N+E, 6hr; 32 A; single\n phase
\nThree-phase AC feed
\n\n AH530P7W (red) – 3P+N+E, 7hr; 30A; three\n phase
\n\n AH532P6W (red) – 3P+N+E, 6hr; 32A; three\n phase
\nThe power connector that Amazon Web Services should plan to provide for connections to the\n hardware. Note the correlation between PowerPhase and\n PowerConnector.
Single-phase AC feed
\n\n L6-30P – (common in US); 30A; single phase
\n\n IEC309 (blue) – P+N+E, 6hr; 32 A; single\n phase
\nThree-phase AC feed
\n\n AH530P7W (red) – 3P+N+E, 7hr; 30A; three\n phase
\n\n AH532P6W (red) – 3P+N+E, 6hr; 32A; three\n phase
\nSpecify whether the power feed comes above or below the rack.
" + "smithy.api#documentation": "Indicates whether the power feed comes above or below the rack.
" } }, "UplinkGbps": { "target": "com.amazonaws.outposts#UplinkGbps", "traits": { - "smithy.api#documentation": "Specify the uplink speed the rack should support for the connection to the Region.\n
" + "smithy.api#documentation": "The uplink speed the rack should support for the connection to the Region.\n
" } }, "UplinkCount": { @@ -3785,19 +3960,19 @@ "FiberOpticCableType": { "target": "com.amazonaws.outposts#FiberOpticCableType", "traits": { - "smithy.api#documentation": "Specify the type of fiber that you will use to attach the Outpost to your network.\n
" + "smithy.api#documentation": "The type of fiber that you will use to attach the Outpost to your network.\n
" } }, "OpticalStandard": { "target": "com.amazonaws.outposts#OpticalStandard", "traits": { - "smithy.api#documentation": "Specify the type of optical standard that you will use to attach the Outpost to your\n network. This field is dependent on uplink speed, fiber type, and distance to the upstream\n device. For more information\n about networking requirements for racks, see Network \n in the Amazon Web Services Outposts User Guide.\n
\n\n OPTIC_10GBASE_SR: 10GBASE-SR
\n OPTIC_10GBASE_IR: 10GBASE-IR
\n OPTIC_10GBASE_LR: 10GBASE-LR
\n OPTIC_40GBASE_SR: 40GBASE-SR
\n OPTIC_40GBASE_ESR: 40GBASE-ESR
\n OPTIC_40GBASE_IR4_LR4L: 40GBASE-IR (LR4L)
\n OPTIC_40GBASE_LR4: 40GBASE-LR4
\n OPTIC_100GBASE_SR4: 100GBASE-SR4
\n OPTIC_100GBASE_CWDM4: 100GBASE-CWDM4
\n OPTIC_100GBASE_LR4: 100GBASE-LR4
\n OPTIC_100G_PSM4_MSA: 100G PSM4 MSA
\n OPTIC_1000BASE_LX: 1000Base-LX
\n OPTIC_1000BASE_SX : 1000Base-SX
The type of optical standard that you will use to attach the Outpost to your\n network. This field is dependent on uplink speed, fiber type, and distance to the upstream\n device. For more information\n about networking requirements for racks, see Network \n in the Amazon Web Services Outposts User Guide.\n
\n\n OPTIC_10GBASE_SR: 10GBASE-SR
\n OPTIC_10GBASE_IR: 10GBASE-IR
\n OPTIC_10GBASE_LR: 10GBASE-LR
\n OPTIC_40GBASE_SR: 40GBASE-SR
\n OPTIC_40GBASE_ESR: 40GBASE-ESR
\n OPTIC_40GBASE_IR4_LR4L: 40GBASE-IR (LR4L)
\n OPTIC_40GBASE_LR4: 40GBASE-LR4
\n OPTIC_100GBASE_SR4: 100GBASE-SR4
\n OPTIC_100GBASE_CWDM4: 100GBASE-CWDM4
\n OPTIC_100GBASE_LR4: 100GBASE-LR4
\n OPTIC_100G_PSM4_MSA: 100G PSM4 MSA
\n OPTIC_1000BASE_LX: 1000Base-LX
\n OPTIC_1000BASE_SX : 1000Base-SX
Specify the maximum rack weight that this site can support. NO_LIMIT is over\n 2000lbs.
The maximum rack weight that this site can support. NO_LIMIT is over\n 2000lbs.
Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts from\n Amazon S3.
", "smithy.api#httpQuery": "ForceDelete" } @@ -2124,6 +2128,7 @@ "IsLatestPatch": { "target": "com.amazonaws.panorama#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the version is the latest available.
", "smithy.api#required": {} } @@ -2581,6 +2586,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.panorama#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds a client should wait before retrying the call.
", "smithy.api#httpHeader": "Retry-After" } @@ -2795,6 +2801,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of application instance dependencies to return in one page of results.
", "smithy.api#httpQuery": "maxResults" } @@ -2869,6 +2876,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of node instances to return in one page of results.
", "smithy.api#httpQuery": "maxResults" } @@ -2949,6 +2957,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of application instances to return in one page of results.
", "smithy.api#httpQuery": "maxResults" } @@ -3074,6 +3083,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of device jobs to return in one page of results.
", "smithy.api#httpQuery": "MaxResults" } @@ -3110,6 +3120,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of devices to return in one page of results.
", "smithy.api#httpQuery": "MaxResults" } @@ -3234,6 +3245,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of node from template jobs to return in one page of results.
", "smithy.api#httpQuery": "MaxResults" } @@ -3339,6 +3351,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of nodes to return in one page of results.
", "smithy.api#httpQuery": "maxResults" } @@ -3411,6 +3424,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of package import jobs to return in one page of results.
", "smithy.api#httpQuery": "MaxResults" } @@ -3480,6 +3494,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of packages to return in one page of results.
", "smithy.api#httpQuery": "maxResults" } @@ -3611,7 +3626,10 @@ } }, "com.amazonaws.panorama#MarkLatestPatch": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.panorama#Mask": { "type": "string", @@ -3624,11 +3642,15 @@ } }, "com.amazonaws.panorama#MaxConnections": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.panorama#MaxSize25": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 25 @@ -3952,6 +3974,7 @@ "MaxConnections": { "target": "com.amazonaws.panorama#MaxConnections", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The input port's max connections.
" } } @@ -4251,20 +4274,6 @@ }, "com.amazonaws.panorama#OmniCloudServiceLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Panorama", - "arnNamespace": "panorama", - "awsProductName": "AWSPanorama" - }, - "aws.auth#sigv4": { - "name": "panorama" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "\n Overview\n
\nThis is the AWS Panorama API Reference. For an introduction to the service, see What is AWS Panorama? in the\n AWS Panorama Developer Guide.
", - "smithy.api#title": "AWS Panorama" - }, "version": "2019-07-24", "operations": [ { @@ -4366,7 +4375,21 @@ { "target": "com.amazonaws.panorama#UpdateDeviceMetadata" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Panorama", + "arnNamespace": "panorama", + "awsProductName": "AWSPanorama" + }, + "aws.auth#sigv4": { + "name": "panorama" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "\n Overview\n
\nThis is the AWS Panorama API Reference. For an introduction to the service, see What is AWS Panorama? in the\n AWS Panorama Developer Guide.
", + "smithy.api#title": "AWS Panorama" + } }, "com.amazonaws.panorama#OutPutS3Location": { "type": "structure", @@ -4671,6 +4694,7 @@ "MarkLatest": { "target": "com.amazonaws.panorama#MarkLatestPatch", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates that the version is recommended for all users.
" } } @@ -4951,6 +4975,7 @@ "MarkLatest": { "target": "com.amazonaws.panorama#MarkLatestPatch", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to mark the new version as the latest version.
" } } @@ -5052,7 +5077,10 @@ } }, "com.amazonaws.panorama#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.panorama#RuntimeRoleArn": { "type": "string", @@ -5703,4 +5731,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/personalize-events.json b/codegen/sdk/aws-models/personalize-events.json index 5d08bba0c8d..849c60c313f 100644 --- a/codegen/sdk/aws-models/personalize-events.json +++ b/codegen/sdk/aws-models/personalize-events.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -146,10 +146,7 @@ } }, "com.amazonaws.personalizeevents#FloatType": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.personalizeevents#Impression": { "type": "list", @@ -223,6 +220,9 @@ "input": { "target": "com.amazonaws.personalizeevents#PutEventsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.personalizeevents#InvalidInputException" @@ -274,6 +274,9 @@ "input": { "target": "com.amazonaws.personalizeevents#PutItemsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.personalizeevents#InvalidInputException" @@ -318,6 +321,9 @@ "input": { "target": "com.amazonaws.personalizeevents#PutUsersRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.personalizeevents#InvalidInputException" diff --git a/codegen/sdk/aws-models/personalize-runtime.json b/codegen/sdk/aws-models/personalize-runtime.json index 7f66a012d81..eed909a450f 100644 --- a/codegen/sdk/aws-models/personalize-runtime.json +++ b/codegen/sdk/aws-models/personalize-runtime.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,15 @@ "shapes": { "com.amazonaws.personalizeruntime#AmazonPersonalizeRuntime": { "type": "service", + "version": "2018-05-22", + "operations": [ + { + "target": "com.amazonaws.personalizeruntime#GetPersonalizedRanking" + }, + { + "target": "com.amazonaws.personalizeruntime#GetRecommendations" + } + ], "traits": { "aws.api#service": { "sdkId": "Personalize Runtime", @@ -45,16 +54,7 @@ "aws.protocols#restJson1": {}, "smithy.api#documentation": "", "smithy.api#title": "Amazon Personalize Runtime" - }, - "version": "2018-05-22", - "operations": [ - { - "target": "com.amazonaws.personalizeruntime#GetPersonalizedRanking" - }, - { - "target": "com.amazonaws.personalizeruntime#GetRecommendations" - } - ] + } }, "com.amazonaws.personalizeruntime#Arn": { "type": "string", @@ -276,6 +276,7 @@ "numResults": { "target": "com.amazonaws.personalizeruntime#NumResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of results to return. The default is 25. The maximum is 500.
" } }, @@ -375,6 +376,7 @@ "com.amazonaws.personalizeruntime#NumResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -383,6 +385,7 @@ "com.amazonaws.personalizeruntime#PercentPromotedItems": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -427,6 +430,7 @@ "percentPromotedItems": { "target": "com.amazonaws.personalizeruntime#PercentPromotedItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of recommended items to apply the promotion to.
" } }, @@ -476,10 +480,7 @@ } }, "com.amazonaws.personalizeruntime#Score": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.personalizeruntime#UserID": { "type": "string", diff --git a/codegen/sdk/aws-models/personalize.json b/codegen/sdk/aws-models/personalize.json index 6bf5c690d90..9381c54f381 100644 --- a/codegen/sdk/aws-models/personalize.json +++ b/codegen/sdk/aws-models/personalize.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -129,21 +129,6 @@ }, "com.amazonaws.personalize#AmazonPersonalize": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Personalize", - "arnNamespace": "personalize", - "cloudFormationName": "Personalize", - "cloudTrailEventSource": "personalize.amazonaws.com", - "endpointPrefix": "personalize" - }, - "aws.auth#sigv4": { - "name": "personalize" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Personalize is a machine learning service that makes it easy to add individualized\n recommendations to customers.
", - "smithy.api#title": "Amazon Personalize" - }, "version": "2018-05-22", "operations": [ { @@ -326,7 +311,22 @@ { "target": "com.amazonaws.personalize#UpdateRecommender" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Personalize", + "arnNamespace": "personalize", + "cloudFormationName": "Personalize", + "cloudTrailEventSource": "personalize.amazonaws.com", + "endpointPrefix": "personalize" + }, + "aws.auth#sigv4": { + "name": "personalize" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Personalize is a machine learning service that makes it easy to add individualized\n recommendations to customers.
", + "smithy.api#title": "Amazon Personalize" + } }, "com.amazonaws.personalize#Arn": { "type": "string", @@ -756,10 +756,7 @@ } }, "com.amazonaws.personalize#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.personalize#Campaign": { "type": "structure", @@ -1008,12 +1005,14 @@ "minValue": { "target": "com.amazonaws.personalize#ContinuousMinValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum allowable value for the hyperparameter.
" } }, "maxValue": { "target": "com.amazonaws.personalize#ContinuousMaxValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum allowable value for the hyperparameter.
" } } @@ -1037,6 +1036,7 @@ "com.amazonaws.personalize#ContinuousMaxValue": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -1000000 } @@ -1045,6 +1045,7 @@ "com.amazonaws.personalize#ContinuousMinValue": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -1000000 } @@ -2018,6 +2019,7 @@ "performAutoML": { "target": "com.amazonaws.personalize#PerformAutoML", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to perform automated machine learning (AutoML). The default is false.\n For this case, you must specify recipeArn.
When set to true, Amazon Personalize analyzes your training data and selects\n the optimal USER_PERSONALIZATION recipe and hyperparameters. In this case, you must omit\n recipeArn. Amazon Personalize determines the optimal recipe by running tests with\n different values for the hyperparameters.\n AutoML lengthens the training process as compared to selecting a specific recipe.
Whether the hyperparameter is tunable.
" } } @@ -2791,18 +2794,21 @@ "minValue": { "target": "com.amazonaws.personalize#ContinuousMinValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum allowable value for the hyperparameter.
" } }, "maxValue": { "target": "com.amazonaws.personalize#ContinuousMaxValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum allowable value for the hyperparameter.
" } }, "isTunable": { "target": "com.amazonaws.personalize#Tunable", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the hyperparameter is tunable.
" } } @@ -2861,18 +2867,21 @@ "minValue": { "target": "com.amazonaws.personalize#IntegerMinValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum allowable value for the hyperparameter.
" } }, "maxValue": { "target": "com.amazonaws.personalize#IntegerMaxValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum allowable value for the hyperparameter.
" } }, "isTunable": { "target": "com.amazonaws.personalize#Tunable", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the hyperparameter is tunable.
" } } @@ -4472,12 +4481,14 @@ "minValue": { "target": "com.amazonaws.personalize#IntegerMinValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum allowable value for the hyperparameter.
" } }, "maxValue": { "target": "com.amazonaws.personalize#IntegerMaxValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum allowable value for the hyperparameter.
" } } @@ -4501,6 +4512,7 @@ "com.amazonaws.personalize#IntegerMaxValue": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "max": 1000000 } @@ -4509,6 +4521,7 @@ "com.amazonaws.personalize#IntegerMinValue": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -1000000 } @@ -5550,7 +5563,6 @@ "com.amazonaws.personalize#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5576,7 +5588,10 @@ } }, "com.amazonaws.personalize#MetricValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.personalize#Metrics": { "type": "map", @@ -5613,10 +5628,7 @@ } }, "com.amazonaws.personalize#NumBatchResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.personalize#ObjectiveSensitivity": { "type": "string", @@ -5680,10 +5692,16 @@ } }, "com.amazonaws.personalize#PerformAutoML": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.personalize#PerformHPO": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.personalize#Recipe": { "type": "structure", @@ -6148,12 +6166,14 @@ "performHPO": { "target": "com.amazonaws.personalize#PerformHPO", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The\n default is false.
When true, Amazon Personalize performs a search for the best USER_PERSONALIZATION recipe from\n the list specified in the solution configuration (recipeArn must not be specified).\n When false (the default), Amazon Personalize uses recipeArn for training.
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is\n false.
When true, Amazon Personalize searches for the most optimal recipe according to the solution\n configuration. When false (the default), Amazon Personalize uses recipeArn.
Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. The guide\n provides detailed information about Performance Insights data types, parameters and errors.
\nWhen Performance Insights is enabled, the Amazon RDS Performance Insights API provides visibility into the performance of your DB instance. Amazon CloudWatch provides the\n authoritative source for Amazon Web Services service-vended monitoring metrics. Performance Insights offers a domain-specific view of DB load.
\nDB load is measured as average active sessions. Performance Insights provides the data to API consumers as a two-dimensional time-series dataset. The time dimension\n provides DB load data for each time point in the queried time range. Each time point decomposes overall load in relation to the requested\n dimensions, measured at that time point. Examples include SQL, Wait event, User, and Host.
\nTo learn more about Performance Insights and Amazon Aurora DB instances, go to the \n Amazon Aurora User Guide\n .
\nTo learn more about Performance Insights and Amazon RDS DB instances, go to the \n Amazon RDS User Guide\n .
\nTo learn more about Performance Insights and Amazon DocumentDB clusters, go to the \n Amazon DocumentDB Developer Guide\n .
\nAmazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. The guide\n provides detailed information about Performance Insights data types, parameters and errors.
\nWhen Performance Insights is enabled, the Amazon RDS Performance Insights API provides visibility into the performance of your DB instance. Amazon CloudWatch provides the\n authoritative source for Amazon Web Services service-vended monitoring metrics. Performance Insights offers a domain-specific view of DB load.
\nDB load is measured as average active sessions. Performance Insights provides the data to API consumers as a two-dimensional time-series dataset. The time dimension\n provides DB load data for each time point in the queried time range. Each time point decomposes overall load in relation to the requested\n dimensions, measured at that time point. Examples include SQL, Wait event, User, and Host.
\nTo learn more about Performance Insights and Amazon Aurora DB instances, go to the \n Amazon Aurora User Guide\n .
\nTo learn more about Performance Insights and Amazon RDS DB instances, go to the \n Amazon RDS User Guide\n .
\nTo learn more about Performance Insights and Amazon DocumentDB clusters, go to the \n Amazon DocumentDB Developer Guide\n .
\nSpecifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email\n from verified email addresses or domains. For more information about verifying\n identities, see the Amazon Pinpoint User Guide.
" } }, @@ -1296,6 +1297,7 @@ "SigningEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If the value is true, then the messages that Amazon Pinpoint sends from the\n identity are DKIM-signed. If the value is false, then the messages that\n Amazon Pinpoint sends from the identity aren't DKIM-signed.
If true, the event destination is enabled. When the event destination is\n enabled, the specified event types are sent to the destinations in this\n EventDestinationDefinition.
If false, the event destination is disabled. When the event destination\n is disabled, events aren't sent to the specified destinations.
If true, the event destination is enabled. When the event destination is\n enabled, the specified event types are sent to the destinations in this\n EventDestinationDefinition.
If false, the event destination is disabled. When the event destination\n is disabled, events aren't sent to the specified destinations.
Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the\n current AWS Region.
" } }, "DedicatedIpAutoWarmupEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether or not the automatic warm-up feature is enabled for dedicated IP\n addresses that are associated with your account.
" } }, @@ -1805,6 +1814,7 @@ "ProductionAccessEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether or not your account has production access in the current AWS\n Region.
\nIf the value is false, then your account is in the\n sandbox. When your account is in the sandbox, you can only send\n email to verified identities. Additionally, the maximum number of emails you can send in\n a 24-hour period (your sending quota) is 200, and the maximum number of emails you can\n send per second (your maximum sending rate) is 1.
If the value is true, then your account has production access. When your\n account has production access, you can send email to any address. The sending quota and\n maximum sending rate for your account vary based on your specific use case.
Specifies whether the Deliverability dashboard is enabled for your Amazon Pinpoint account. If this value\n is true, the dashboard is enabled.
The feedback forwarding configuration for the identity.
\nIf the value is true, Amazon Pinpoint sends you email notifications when bounce or\n complaint events occur. Amazon Pinpoint sends this notification to the address that you specified\n in the Return-Path header of the original email.
When you set this value to false, Amazon Pinpoint sends notifications through other\n mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're\n required to have a method of tracking bounces and complaints. If you haven't set up\n another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email\n notification when these events occur (even if this setting is disabled).
Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email\n from verified email addresses or domains. For more information about verifying\n identities, see the Amazon Pinpoint User Guide.
" } }, @@ -2567,6 +2580,7 @@ "SendingEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether or not you can send email from the identity.
\nIn Amazon Pinpoint, an identity is an email address or domain that you send email from. Before\n you can send email from an identity, you have to demostrate that you own the identity,\n and that you authorize Amazon Pinpoint to send email from that identity.
" } } @@ -2610,6 +2624,7 @@ "Global": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether inbox placement data is being tracked for the domain.
" } }, @@ -3242,16 +3257,19 @@ } }, "com.amazonaws.pinpointemail#Max24HourSend": { - "type": "double" - }, - "com.amazonaws.pinpointemail#MaxItems": { - "type": "integer", + "type": "double", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.pinpointemail#MaxItems": { + "type": "integer" + }, "com.amazonaws.pinpointemail#MaxSendRate": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.pinpointemail#Message": { "type": "structure", @@ -3388,15 +3406,11 @@ "com.amazonaws.pinpointemail#Percentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "An object that contains information about inbox placement percentages.
" } }, "com.amazonaws.pinpointemail#Percentage100Wrapper": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.pinpointemail#PinpointDestination": { "type": "structure", @@ -3487,6 +3501,7 @@ "AutoWarmupEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables or disables the automatic warm-up feature for dedicated IP addresses that are\n associated with your Amazon Pinpoint account in the current AWS Region. Set to true\n to enable the automatic warm-up feature, or set to false to disable\n it.
Enables or disables your account's ability to send email. Set to true to\n enable email sending, or set to false to disable email sending.
If AWS paused your account's ability to send email, you can't use this operation\n to resume your account's ability to send email.
\nIf true, tracking of reputation metrics is enabled for the configuration\n set. If false, tracking of reputation metrics is disabled for the\n configuration set.
If true, email sending is enabled for the configuration set. If\n false, email sending is disabled for the configuration set.
Specifies whether to enable the Deliverability dashboard for your Amazon Pinpoint account. To enable the\n dashboard, set this value to true.
Sets the DKIM signing configuration for the identity.
\nWhen you set this value true, then the messages that Amazon Pinpoint sends from the\n identity are DKIM-signed. When you set this value to false, then the\n messages that Amazon Pinpoint sends from the identity aren't DKIM-signed.
Sets the feedback forwarding configuration for the identity.
\nIf the value is true, Amazon Pinpoint sends you email notifications when bounce or\n complaint events occur. Amazon Pinpoint sends this notification to the address that you specified\n in the Return-Path header of the original email.
When you set this value to false, Amazon Pinpoint sends notifications through other\n mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're\n required to have a method of tracking bounces and complaints. If you haven't set up\n another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email\n notification when these events occur (even if this setting is disabled).
If true, tracking of reputation metrics is enabled for the configuration\n set. If false, tracking of reputation metrics is disabled for the\n configuration set.
The maximum number of emails that you can send in the current AWS Region over a\n 24-hour period. This value is also called your sending\n quota.
" } }, "MaxSendRate": { "target": "com.amazonaws.pinpointemail#MaxSendRate", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of emails that you can send per second in the current AWS Region.\n This value is also called your maximum sending rate or your\n maximum TPS (transactions per second) rate.
" } }, "SentLast24Hours": { "target": "com.amazonaws.pinpointemail#SentLast24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of emails sent from your Amazon Pinpoint account in the current AWS Region over the\n past 24 hours.
" } } @@ -4337,6 +4362,7 @@ "SendingEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, email sending is enabled for the configuration set. If\n false, email sending is disabled for the configuration set.
An object that contains information about inbox placement volume.
" } }, diff --git a/codegen/sdk/aws-models/pinpoint-sms-voice-v2.json b/codegen/sdk/aws-models/pinpoint-sms-voice-v2.json index 3a68e89bc84..2590705a459 100644 --- a/codegen/sdk/aws-models/pinpoint-sms-voice-v2.json +++ b/codegen/sdk/aws-models/pinpoint-sms-voice-v2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException": { "type": "structure", @@ -86,6 +86,7 @@ "Used": { "target": "smithy.api#PrimitiveLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current amount that has been spent, in US dollars.
", "smithy.api#required": {} } @@ -93,6 +94,7 @@ "Max": { "target": "smithy.api#PrimitiveLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The Amazon Web Services set limit for that resource type, in US dollars.
", "smithy.api#required": {} } @@ -955,6 +957,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients.
" } }, @@ -967,6 +970,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "By default this is set to false. When an end recipient sends a message that begins\n with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically\n replies with a customizable message and adds the end recipient to the OptOutList. When\n set to true you're responsible for responding to HELP and STOP requests. You're also\n responsible for tracking and honoring opt-out requests.
" } }, @@ -979,12 +983,14 @@ "SharedRoutesEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether shared routes are enabled for the pool.
" } }, "DeletionProtectionEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to true deletion protection is enabled. By default this is set to false.\n
" } }, @@ -1517,6 +1523,7 @@ "EndUserOptedOut": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "This is true if it was the end user who requested their phone number be removed.\n
" } } @@ -1596,6 +1603,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients.
" } }, @@ -1608,6 +1616,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "By default this is set to false. When an end recipient sends a message that begins\n with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically\n replies with a customizable message and adds the end recipient to the OptOutList. When\n set to true you're responsible for responding to HELP and STOP requests. You're also\n responsible for tracking and honoring opt-out requests.
" } }, @@ -1620,6 +1629,7 @@ "SharedRoutesEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether shared routes are enabled for the pool.
" } }, @@ -3195,7 +3205,6 @@ "com.amazonaws.pinpointsmsvoicev2#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3226,7 +3235,6 @@ "com.amazonaws.pinpointsmsvoicev2#MonthlyLimit": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000000 @@ -3462,6 +3470,7 @@ "EndUserOptedOut": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "This is set to true if it was the end recipient that opted out.
", "smithy.api#required": {} } @@ -3705,6 +3714,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients using the TwoWayChannelArn.
", "smithy.api#required": {} } @@ -3718,6 +3728,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to false an end recipient sends a message that begins with HELP or STOP to\n one of your dedicated numbers, Amazon Pinpoint automatically replies with a\n customizable message and adds the end recipient to the OptOutList. When set to true\n you're responsible for responding to HELP and STOP requests. You're also responsible for\n tracking and honoring opt-out request. For more information see Self-managed opt-outs\n
", "smithy.api#required": {} } @@ -3732,6 +3743,7 @@ "DeletionProtectionEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to true the phone number can't be deleted.
", "smithy.api#required": {} } @@ -3782,24 +3794,6 @@ }, "com.amazonaws.pinpointsmsvoicev2#PinpointSMSVoiceV2": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Pinpoint SMS Voice V2", - "endpointPrefix": "sms-voice", - "arnNamespace": "sms-voice" - }, - "aws.auth#sigv4": { - "name": "sms-voice" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Welcome to the Amazon Pinpoint SMS and Voice, version 2 API Reference.\n This guide provides information about Amazon Pinpoint SMS and Voice, version 2 API\n resources, including supported HTTP methods, parameters, and schemas.
\nAmazon Pinpoint is an Amazon Web Services service that you can use to engage with\n your recipients across multiple messaging channels. The Amazon Pinpoint SMS and\n Voice, version 2 API provides programmatic access to options that are unique to the SMS\n and voice channels and supplements the resources provided by the Amazon Pinpoint\n API.
\nIf you're new to Amazon Pinpoint, it's also helpful to review the \n Amazon Pinpoint Developer Guide. The Amazon Pinpoint\n Developer Guide provides tutorials, code samples, and procedures that\n demonstrate how to use Amazon Pinpoint features programmatically and how to integrate\n Amazon Pinpoint functionality into mobile apps and other types of applications.\n The guide also provides key information, such as Amazon Pinpoint integration with\n other Amazon Web Services services, and the quotas that apply to use of the\n service.
", - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - }, - "smithy.api#title": "Amazon Pinpoint SMS Voice V2" - }, "version": "2022-03-31", "operations": [ { @@ -3931,7 +3925,25 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#UpdatePool" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Pinpoint SMS Voice V2", + "endpointPrefix": "sms-voice", + "arnNamespace": "sms-voice" + }, + "aws.auth#sigv4": { + "name": "sms-voice" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Welcome to the Amazon Pinpoint SMS and Voice, version 2 API Reference.\n This guide provides information about Amazon Pinpoint SMS and Voice, version 2 API\n resources, including supported HTTP methods, parameters, and schemas.
\nAmazon Pinpoint is an Amazon Web Services service that you can use to engage with\n your recipients across multiple messaging channels. The Amazon Pinpoint SMS and\n Voice, version 2 API provides programmatic access to options that are unique to the SMS\n and voice channels and supplements the resources provided by the Amazon Pinpoint\n API.
\nIf you're new to Amazon Pinpoint, it's also helpful to review the \n Amazon Pinpoint Developer Guide. The Amazon Pinpoint\n Developer Guide provides tutorials, code samples, and procedures that\n demonstrate how to use Amazon Pinpoint features programmatically and how to integrate\n Amazon Pinpoint functionality into mobile apps and other types of applications.\n The guide also provides key information, such as Amazon Pinpoint integration with\n other Amazon Web Services services, and the quotas that apply to use of the\n service.
", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + }, + "smithy.api#title": "Amazon Pinpoint SMS Voice V2" + } }, "com.amazonaws.pinpointsmsvoicev2#PoolFilter": { "type": "structure", @@ -4056,6 +4068,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to true you can receive incoming text messages from your end recipients using\n the TwoWayChannelArn.
", "smithy.api#required": {} } @@ -4069,6 +4082,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to false, an end recipient sends a message that begins with HELP or STOP to\n one of your dedicated numbers, Amazon Pinpoint automatically replies with a\n customizable message and adds the end recipient to the OptOutList. When set to true\n you're responsible for responding to HELP and STOP requests. You're also responsible for\n tracking and honoring opt-out requests. For more information see Self-managed opt-outs\n
", "smithy.api#required": {} } @@ -4083,6 +4097,7 @@ "SharedRoutesEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Allows you to enable shared routes on your pool.
\nBy default, this is set to False. If you set this value to\n True, your messages are sent using phone numbers or sender IDs\n (depending on the country) that are shared with other Amazon Pinpoint users. In some\n countries, such as the United States, senders aren't allowed to use shared routes and\n must use a dedicated phone number or short code.
When set to true the pool can't be deleted.
", "smithy.api#required": {} } @@ -4359,6 +4375,7 @@ "EndUserOptedOut": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "This is true if it was the end user who requested their phone number be removed.\n
" } } @@ -4478,6 +4495,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients.
" } }, @@ -4490,6 +4508,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "By default this is set to false. When an end recipient sends a message that begins\n with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically\n replies with a customizable message and adds the end recipient to the OptOutList. When\n set to true you're responsible for responding to HELP and STOP requests. You're also\n responsible for tracking and honoring opt-out requests.
" } }, @@ -4672,6 +4691,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients.
" } }, @@ -4684,6 +4704,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "By default this is set to false. When an end recipient sends a message that begins\n with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically\n replies with a customizable message and adds the end recipient to the OptOutList. When\n set to true you're responsible for responding to HELP and STOP requests. You're also\n responsible for tracking and honoring opt-out requests.
" } }, @@ -4696,6 +4717,7 @@ "DeletionProtectionEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "By default this is set to false. When set to true the phone number can't be deleted.\n
" } }, @@ -4911,6 +4933,7 @@ "DryRun": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to true, the message is checked and validated, but isn't sent to the end\n recipient.
" } } @@ -5024,6 +5047,7 @@ "DryRun": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to true, the message is checked and validated, but isn't sent to the end\n recipient.
" } } @@ -5549,6 +5573,7 @@ "EnforcedLimit": { "target": "smithy.api#PrimitiveLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum amount of money, in US dollars, that you want to be able to spend sending\n messages each month. This value has to be less than or equal to the amount in\n MaxLimit. To use this custom limit, Overridden must be set\n to true.
The maximum amount of money that you are able to spend to send messages each month,\n in US dollars.
", "smithy.api#required": {} } @@ -5563,6 +5589,7 @@ "Overridden": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to True, the value that has been specified in the\n EnforcedLimit is used to determine the maximum amount in US dollars\n that can be spent to send messages each month, in US dollars.
By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients.
" } }, @@ -6069,6 +6096,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "This is true if self managed opt-out are enabled.
" } }, @@ -6081,6 +6109,7 @@ "DeletionProtectionEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to true the phone number can't be deleted.
" } }, @@ -6202,6 +6231,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients.
" } }, @@ -6214,6 +6244,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When an end recipient sends a message that begins with HELP or STOP to one of your\n dedicated numbers, Amazon Pinpoint automatically replies with a customizable message\n and adds the end recipient to the OptOutList. When set to true you're responsible for\n responding to HELP and STOP requests. You're also responsible for tracking and honoring\n opt-out requests.
" } }, @@ -6226,12 +6257,14 @@ "SharedRoutesEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether shared routes are enabled for the pool.
" } }, "DeletionProtectionEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to true the pool can't be deleted.
" } }, @@ -6677,4 +6710,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/pinpoint-sms-voice.json b/codegen/sdk/aws-models/pinpoint-sms-voice.json index d04345d08d1..e1059055d75 100644 --- a/codegen/sdk/aws-models/pinpoint-sms-voice.json +++ b/codegen/sdk/aws-models/pinpoint-sms-voice.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -56,7 +56,10 @@ } }, "com.amazonaws.pinpointsmsvoice#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.pinpointsmsvoice#CallInstructionsMessageType": { "type": "structure", @@ -344,6 +347,7 @@ "Enabled": { "target": "com.amazonaws.pinpointsmsvoice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination." } }, @@ -376,6 +380,7 @@ "Enabled": { "target": "com.amazonaws.pinpointsmsvoice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination." } }, diff --git a/codegen/sdk/aws-models/pinpoint.json b/codegen/sdk/aws-models/pinpoint.json index 72cde4cb2b8..40dbb300742 100644 --- a/codegen/sdk/aws-models/pinpoint.json +++ b/codegen/sdk/aws-models/pinpoint.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -49,6 +49,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable the ADM channel for the application.
" } } @@ -75,12 +76,14 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the ADM channel is enabled for the application.
" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Not used) This property is retained only for backward compatibility.
" } }, @@ -93,6 +96,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the ADM channel is archived.
" } }, @@ -118,6 +122,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current version of the ADM channel.
" } } @@ -192,6 +197,7 @@ "SilentPush": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.
" } }, @@ -254,6 +260,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable the APNs channel for the application.
" } }, @@ -310,18 +317,21 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs channel is enabled for the application.
" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Not used) This property is retained only for backward compatibility.
" } }, "HasTokenKey": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
" } }, @@ -334,6 +344,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs channel is archived.
" } }, @@ -359,6 +370,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current version of the APNs channel.
" } } @@ -385,6 +397,7 @@ "Badge": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The key that indicates whether and how to modify the badge of your app's icon when the recipient receives the push notification. If this key isn't included in the dictionary, the badge doesn't change. To remove the badge, set this value to 0.
" } }, @@ -439,6 +452,7 @@ "SilentPush": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the notification is a silent push notification. A silent (or background) push notification isn't displayed on recipients' devices. You can use silent push notifications to make small updates to your app, or to display messages in an in-app message center.
Amazon Pinpoint uses this property to determine the correct value for the apns-push-type request header when it sends the notification message to APNs. If you specify a value of true for this property, Amazon Pinpoint sets the value for the apns-push-type header field to background.
If you specify the raw content of an APNs push notification, the message payload has to include the content-available key. For silent (background) notifications, set the value of content-available to 1. Additionally, the message payload for a silent notification can't include the alert, badge, or sound keys. For more information, see Generating a Remote Notification and Pushing Background Updates to Your App on the Apple Developer website.
Apple has indicated that they will throttle \"excessive\" background notifications based on current traffic volumes. To prevent your notifications being throttled, Apple recommends that you send no more than 3 silent push notifications to each recipient per hour.
The amount of time, in seconds, that APNs should store and attempt to deliver the push notification, if the service is unable to deliver the notification the first time. If this value is 0, APNs treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.
Amazon Pinpoint specifies this value in the apns-expiration request header when it sends the notification message to APNs.
" } }, @@ -557,6 +572,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable the APNs sandbox channel for the application.
" } }, @@ -613,18 +629,21 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs sandbox channel is enabled for the application.
" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Not used) This property is retained only for backward compatibility.
" } }, "HasTokenKey": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs sandbox channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
" } }, @@ -637,6 +656,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs sandbox channel is archived.
" } }, @@ -662,6 +682,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current version of the APNs sandbox channel.
" } } @@ -694,6 +715,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable the APNs VoIP channel for the application.
" } }, @@ -750,18 +772,21 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs VoIP channel is enabled for the application.
" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Not used) This property is retained only for backward compatibility.
" } }, "HasTokenKey": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
" } }, @@ -774,6 +799,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs VoIP channel is archived.
" } }, @@ -799,6 +825,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current version of the APNs VoIP channel.
" } } @@ -831,6 +858,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs VoIP sandbox channel is enabled for the application.
" } }, @@ -887,18 +915,21 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs VoIP sandbox channel is enabled for the application.
" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Not used) This property is retained only for backward compatibility.
" } }, "HasTokenKey": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs VoIP sandbox channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
" } }, @@ -911,6 +942,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the APNs VoIP sandbox channel is archived.
" } }, @@ -936,6 +968,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current version of the APNs VoIP sandbox channel.
" } } @@ -1115,24 +1148,28 @@ "SuccessfulEndpointCount": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of endpoints that the campaign successfully delivered messages to.
" } }, "TimezonesCompletedCount": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of time zones that were completed.
" } }, "TimezonesTotalCount": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of unique time zones that are in the segment for the campaign.
" } }, "TotalEndpointCount": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of endpoints that the campaign attempted to deliver messages to.
" } }, @@ -1541,6 +1578,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable the Baidu channel for the application.
" } }, @@ -1581,12 +1619,14 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the Baidu channel is enabled for the application.
" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Not used) This property is retained only for backward compatibility.
" } }, @@ -1599,6 +1639,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the Baidu channel is archived.
" } }, @@ -1624,6 +1665,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current version of the Baidu channel.
" } } @@ -1680,6 +1722,7 @@ "SilentPush": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.
" } }, @@ -1704,6 +1747,7 @@ "TimeToLive": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time, in seconds, that the Baidu Cloud Push service should store the message if the recipient's device is offline. The default value and maximum supported time is 604,800 seconds (7 days).
" } }, @@ -1946,30 +1990,35 @@ "Daily": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period. For an application, this value specifies the default limit for the number of messages that campaigns and journeys can send to a single endpoint during a 24-hour period. The maximum value is 100.
" } }, "MaximumDuration": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled start time for the campaign. The minimum value is 60 seconds.
" } }, "MessagesPerSecond": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of messages that a campaign can send each second. For an application, this value specifies the default limit for the number of messages that campaigns can send each second. The minimum value is 50. The maximum value is 20,000.
" } }, "Total": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign. If a campaign recurs, this setting applies to all runs of the campaign. The maximum value is 100.
" } }, "Session": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum total number of messages that the campaign can send per user session.
" } } @@ -2029,6 +2078,7 @@ "HoldoutPercent": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
" } }, @@ -2048,6 +2098,7 @@ "IsPaused": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the campaign is paused. A paused campaign doesn't run unless you resume it by changing this value to false.
" } }, @@ -2092,6 +2143,7 @@ "SegmentVersion": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number of the segment that's associated with the campaign.
", "smithy.api#required": {} } @@ -2130,12 +2182,14 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number of the campaign.
" } }, "Priority": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Defines the priority of the campaign, used to decide the order of messages displayed to user if there are multiple messages scheduled to be displayed at the same moment.
" } } @@ -2276,12 +2330,14 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the channel is enabled for the application.
" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Not used) This property is retained only for backward compatibility.
" } }, @@ -2294,6 +2350,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the channel is archived.
" } }, @@ -2312,6 +2369,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current version of the channel.
" } } @@ -3235,6 +3293,7 @@ "RecommendationsPerMessage": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables. The minimum value is 1. The maximum value is 5. The default value is 5.
To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
" } } @@ -3585,6 +3644,7 @@ "BorderRadius": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The border radius of the button.
" } }, @@ -3663,6 +3723,7 @@ "SilentPush": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the default notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or delivering messages to an in-app notification center.
" } }, @@ -5444,6 +5505,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable the email channel for the application.
" } }, @@ -5496,6 +5558,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the email channel is enabled for the application.
" } }, @@ -5508,6 +5571,7 @@ "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Not used) This property is retained only for backward compatibility.
" } }, @@ -5526,6 +5590,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the email channel is archived.
" } }, @@ -5544,6 +5609,7 @@ "MessagesPerSecond": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of emails that can be sent through the channel each second.
" } }, @@ -5563,6 +5629,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current version of the email channel.
" } } @@ -5958,6 +6025,7 @@ "StatusCode": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The status code that's returned in the response as a result of processing the endpoint data.
" } } @@ -5984,12 +6052,14 @@ "Latitude": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The latitude coordinate of the endpoint location, rounded to one decimal place.
" } }, "Longitude": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The longitude coordinate of the endpoint location, rounded to one decimal place.
" } }, @@ -6035,6 +6105,7 @@ "StatusCode": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The downstream service status code for delivering the message.
", "smithy.api#required": {} } @@ -6451,6 +6522,7 @@ "StatusCode": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.
" } } @@ -6597,6 +6669,7 @@ "SegmentVersion": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the segment to export endpoint definitions from, if specified.
" } } @@ -6631,6 +6704,7 @@ "SegmentVersion": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the segment that the endpoint definitions were exported from.
" } } @@ -6652,6 +6726,7 @@ "CompletedPieces": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of pieces that were processed successfully (completed) by the export job, as of the time of the request.
" } }, @@ -6678,6 +6753,7 @@ "FailedPieces": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of pieces that weren't processed successfully (failed) by the export job, as of the time of the request.
" } }, @@ -6704,18 +6780,21 @@ "TotalFailures": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of endpoint definitions that weren't processed successfully (failed) by the export job, typically because an error, such as a syntax error, occurred.
" } }, "TotalPieces": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of pieces that must be processed to complete the export job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the export job.
" } }, "TotalProcessed": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of endpoint definitions that were processed by the export job.
" } }, @@ -6852,6 +6931,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable the GCM channel for the application.
" } } @@ -6885,12 +6965,14 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the GCM channel is enabled for the application.
" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Not used) This property is retained only for backward compatibility.
" } }, @@ -6903,6 +6985,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the GCM channel is archived.
" } }, @@ -6928,6 +7011,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current version of the GCM channel.
" } } @@ -7002,6 +7086,7 @@ "SilentPush": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.
" } }, @@ -7026,6 +7111,7 @@ "TimeToLive": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time, in seconds, that FCM should store and attempt to deliver the push notification, if the service is unable to deliver the notification the first time. If you don't specify this value, FCM defaults to the maximum value, which is 2,419,200 seconds (28 days).
Amazon Pinpoint specifies this value in the FCM time_to_live parameter when it sends the notification message to FCM.
" } }, @@ -7052,6 +7138,7 @@ "Latitude": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The latitude coordinate of the location.
", "smithy.api#required": {} } @@ -7059,6 +7146,7 @@ "Longitude": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The longitude coordinate of the location.
", "smithy.api#required": {} } @@ -7081,6 +7169,7 @@ "RangeInKilometers": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The range, in kilometers, from the GPS coordinates.
" } } @@ -10576,6 +10665,7 @@ "Percentage": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of participants who shouldn't continue the journey.
To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.
", "smithy.api#required": {} } @@ -10591,6 +10681,7 @@ "DefineSegment": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to create a segment that contains the endpoints, when the endpoint definitions are imported.
" } }, @@ -10610,6 +10701,7 @@ "RegisterEndpoints": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to register the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.
" } }, @@ -10650,6 +10742,7 @@ "DefineSegment": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the import job creates a segment that contains the endpoints, when the endpoint definitions are imported.
" } }, @@ -10669,6 +10762,7 @@ "RegisterEndpoints": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the import job registers the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.
" } }, @@ -10716,6 +10810,7 @@ "CompletedPieces": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.
" } }, @@ -10742,6 +10837,7 @@ "FailedPieces": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.
" } }, @@ -10768,18 +10864,21 @@ "TotalFailures": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.
" } }, "TotalPieces": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.
" } }, "TotalProcessed": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of endpoint definitions that were processed by the import job.
" } }, @@ -10941,6 +11040,7 @@ "DailyCap": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
" } }, @@ -10953,6 +11053,7 @@ "Priority": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Priority of the in-app message.
" } }, @@ -10965,12 +11066,14 @@ "SessionCap": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.
" } }, "TotalCap": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total cap which controls the number of times an in-app message can be shown to the endpoint.
" } }, @@ -11490,18 +11593,21 @@ "DailyCap": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of messages that the journey can send to a single participant during a 24-hour period. The maximum value is 100.
" } }, "EndpointReentryCap": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of times that a participant can enter the journey. The maximum value is 100. To allow participants to enter the journey an unlimited number of times, set this value to 0.
" } }, "MessagesPerSecond": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of messages that the journey can send each second.
" } }, @@ -11574,6 +11680,7 @@ "LocalTime": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the journey's scheduled start and end times use each participant's local time. If this value is true, the schedule uses each participant's local time.
" } }, @@ -11630,12 +11737,14 @@ "WaitForQuietTime": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.
" } }, "RefreshOnSegmentUpdate": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a journey should be refreshed on segment update.
" } }, @@ -11648,6 +11757,7 @@ "SendingSchedule": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays). This flag should be set to true in order to allow (OpenHours and ClosedDays)
" } }, @@ -12503,12 +12613,14 @@ "SilentPush": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration, displaying messages in an in-app message center, or supporting phone home functionality.
" } }, "TimeToLive": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds that the push-notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.
This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
" } }, @@ -12708,6 +12820,7 @@ "StatusCode": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The downstream service status code for delivering the message.
", "smithy.api#required": {} } @@ -12779,6 +12892,7 @@ "Value": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value to compare.
", "smithy.api#required": {} } @@ -12963,6 +13077,7 @@ "PhoneTypeCode": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).
" } }, @@ -13165,21 +13280,6 @@ }, "com.amazonaws.pinpoint#Pinpoint": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Pinpoint", - "arnNamespace": "mobiletargeting", - "cloudFormationName": "Pinpoint", - "cloudTrailEventSource": "pinpoint.amazonaws.com", - "endpointPrefix": "pinpoint" - }, - "aws.auth#sigv4": { - "name": "mobiletargeting" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Doc Engage API - Amazon Pinpoint API
", - "smithy.api#title": "Amazon Pinpoint" - }, "version": "2016-12-01", "operations": [ { @@ -13539,7 +13639,22 @@ { "target": "com.amazonaws.pinpoint#VerifyOTPMessage" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Pinpoint", + "arnNamespace": "mobiletargeting", + "cloudFormationName": "Pinpoint", + "cloudTrailEventSource": "pinpoint.amazonaws.com", + "endpointPrefix": "pinpoint" + }, + "aws.auth#sigv4": { + "name": "mobiletargeting" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Doc Engage API - Amazon Pinpoint API
", + "smithy.api#title": "Amazon Pinpoint" + } }, "com.amazonaws.pinpoint#PublicEndpoint": { "type": "structure", @@ -14003,6 +14118,7 @@ "Percentage": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of participants to send down the activity path.
To determine which participants are sent down each path, Amazon Pinpoint applies a probability-based algorithm to the percentages that you specify for the paths. Therefore, the actual percentage of participants who are sent down a path may not be equal to the percentage that you specify.
" } } @@ -14139,6 +14255,7 @@ "RecommendationsPerMessage": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of recommended items that are retrieved from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables.
" } } @@ -14284,6 +14401,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable the SMS channel for the application.
" } }, @@ -14322,12 +14440,14 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the SMS channel is enabled for the application.
" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Not used) This property is retained only for backward compatibility.
" } }, @@ -14340,6 +14460,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the SMS channel is archived.
" } }, @@ -14365,6 +14486,7 @@ "PromotionalMessagesPerSecond": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of promotional messages that you can send through the SMS channel each second.
" } }, @@ -14383,12 +14505,14 @@ "TransactionalMessagesPerSecond": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of transactional messages that you can send through the SMS channel each second.
" } }, "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current version of the SMS channel.
" } } @@ -14633,6 +14757,7 @@ "IsLocalTime": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the start and end times for the campaign schedule use each recipient's local time. To base the schedule on each recipient's local time, set this value to true.
" } }, @@ -14869,6 +14994,7 @@ "Size": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of endpoint definitions that were imported successfully to create the segment.
", "smithy.api#required": {} } @@ -14911,6 +15037,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number of the segment.
" } } @@ -14997,6 +15124,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number of the segment.
" } } @@ -15179,6 +15307,7 @@ "AllowedAttempts": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The attempts allowed to validate an OTP.
" } }, @@ -15199,6 +15328,7 @@ "CodeLength": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of characters in the generated OTP.
" } }, @@ -15244,6 +15374,7 @@ "ValidityPeriod": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time in minutes before the OTP is no longer valid.
" } } @@ -15409,6 +15540,7 @@ "Duration": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration of the session, in milliseconds.
" } }, @@ -16004,6 +16136,7 @@ "SizePercent": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The allocated percentage of users (segment members) that the treatment is sent to.
", "smithy.api#required": {} } @@ -16810,6 +16943,7 @@ "CreateNewVersion": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.
If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.
", "smithy.api#httpQuery": "create-new-version" } @@ -17120,6 +17254,7 @@ "CreateNewVersion": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.
If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.
", "smithy.api#httpQuery": "create-new-version" } @@ -17369,6 +17504,7 @@ "CreateNewVersion": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.
If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.
", "smithy.api#httpQuery": "create-new-version" } @@ -17537,6 +17673,7 @@ "RecommendationsPerMessage": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables. The minimum value is 1. The maximum value is 5. The default value is 5.
To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
" } } @@ -17743,6 +17880,7 @@ "CreateNewVersion": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.
If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.
", "smithy.api#httpQuery": "create-new-version" } @@ -17982,6 +18120,7 @@ "CreateNewVersion": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.
If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.
", "smithy.api#httpQuery": "create-new-version" } @@ -18028,6 +18167,7 @@ "Valid": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the OTP is valid or not.
" } } @@ -18143,6 +18283,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable the voice channel for the application.
" } } @@ -18169,12 +18310,14 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the voice channel is enabled for the application.
" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "(Not used) This property is retained only for backward compatibility.
" } }, @@ -18187,6 +18330,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the voice channel is archived.
" } }, @@ -18212,6 +18356,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current version of the voice channel.
" } } @@ -18440,11 +18585,15 @@ "CloudWatchMetricsEnabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to enable application-related alarms in Amazon CloudWatch.
" } }, "EventTaggingEnabled": { - "target": "com.amazonaws.pinpoint#__boolean" + "target": "com.amazonaws.pinpoint#__boolean", + "traits": { + "smithy.api#default": false + } }, "Limits": { "target": "com.amazonaws.pinpoint#CampaignLimits", @@ -18487,6 +18636,7 @@ "HoldoutPercent": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
" } }, @@ -18499,6 +18649,7 @@ "IsPaused": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to pause the campaign. A paused campaign doesn't run unless you resume it by changing this value to false.
" } }, @@ -18535,6 +18686,7 @@ "SegmentVersion": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the segment to associate with the campaign.
" } }, @@ -18566,6 +18718,7 @@ "Priority": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Defines the priority of the campaign, used to decide the order of messages displayed to user if there are multiple messages scheduled to be displayed at the same moment.
" } } @@ -18626,6 +18779,7 @@ "LocalTime": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the journey's scheduled start and end times use each participant's local time. To base the schedule on each participant's local time, set this value to true.
" } }, @@ -18675,12 +18829,14 @@ "WaitForQuietTime": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.
" } }, "RefreshOnSegmentUpdate": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether a journey should be refreshed on segment update.
" } }, @@ -18693,6 +18849,7 @@ "SendingSchedule": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays). This flag should be set to true in order to allow (OpenHours and ClosedDays)
" } }, @@ -18770,6 +18927,7 @@ "SizePercent": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The allocated percentage of users (segment members) to send the treatment to.
", "smithy.api#required": {} } @@ -18860,13 +19018,22 @@ "type": "blob" }, "com.amazonaws.pinpoint#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.pinpoint#__double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.pinpoint#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.pinpoint#__string": { "type": "string" diff --git a/codegen/sdk/aws-models/polly.json b/codegen/sdk/aws-models/polly.json index 1a518360318..31ea440c4ab 100644 --- a/codegen/sdk/aws-models/polly.json +++ b/codegen/sdk/aws-models/polly.json @@ -1612,8 +1612,6 @@ "TextType": { "target": "com.amazonaws.polly#TextType", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "text", "smithy.api#documentation": "Specifies whether the input text is plain text or SSML. The\n default value is plain text. For more information, see Using\n SSML.
" } }, diff --git a/codegen/sdk/aws-models/pricing.json b/codegen/sdk/aws-models/pricing.json index d341d9a447c..f28612bf978 100644 --- a/codegen/sdk/aws-models/pricing.json +++ b/codegen/sdk/aws-models/pricing.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,18 @@ "shapes": { "com.amazonaws.pricing#AWSPriceListService": { "type": "service", + "version": "2017-10-15", + "operations": [ + { + "target": "com.amazonaws.pricing#DescribeServices" + }, + { + "target": "com.amazonaws.pricing#GetAttributeValues" + }, + { + "target": "com.amazonaws.pricing#GetProducts" + } + ], "traits": { "aws.api#service": { "sdkId": "Pricing", @@ -45,19 +57,7 @@ "aws.protocols#awsJson1_1": {}, "smithy.api#documentation": "Amazon Web Services Price List API is a centralized and convenient way to\n programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List\n uses standardized product attributes such as Location, Storage\n Class, and Operating System, and provides prices at the SKU\n level. You can use the Amazon Web Services Price List to build cost control and scenario planning tools, reconcile\n billing data, forecast future spend for budgeting purposes, and provide cost benefit\n analysis that compare your internal workloads with Amazon Web Services.
Use GetServices without a service code to retrieve the service codes for all AWS services, then \n GetServices with a service code to retrieve the attribute names for \n that service. After you have the service code and attribute names, you can use GetAttributeValues\n to see what values are available for an attribute. With the service code and an attribute name and value, \n you can use GetProducts to find specific products that you're interested in, such as \n an AmazonEC2 instance, with a Provisioned IOPS \n volumeType.
Service Endpoint
\nAmazon Web Services Price List service API provides the following two endpoints:
\nhttps://api.pricing.us-east-1.amazonaws.com
\nhttps://api.pricing.ap-south-1.amazonaws.com
\nThe maximum number of results that you want returned in the response.
" } } @@ -300,7 +301,7 @@ "MaxResults": { "target": "com.amazonaws.pricing#BoxedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return in response.
" } } @@ -388,7 +389,7 @@ "MaxResults": { "target": "com.amazonaws.pricing#BoxedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return in the response.
" } } diff --git a/codegen/sdk/aws-models/privatenetworks.json b/codegen/sdk/aws-models/privatenetworks.json index 1f4ca527ec3..9b79fe83601 100644 --- a/codegen/sdk/aws-models/privatenetworks.json +++ b/codegen/sdk/aws-models/privatenetworks.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.privatenetworks#AccessDeniedException": { "type": "structure", @@ -900,34 +900,6 @@ }, "com.amazonaws.privatenetworks#E5GNetworkControllerLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "PrivateNetworks", - "arnNamespace": "private-networks" - }, - "aws.auth#sigv4": { - "name": "private-networks" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "*", - "content-type", - "x-amz-content-sha256", - "x-amz-user-agent", - "x-amzn-platform-id", - "x-amzn-trace-id" - ], - "additionalExposedHeaders": [ - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-trace-id" - ], - "maxAge": 86400 - }, - "smithy.api#documentation": "Amazon Web Services Private 5G is a managed service that makes it easy to deploy, operate, and scale\n your own private mobile network at your on-premises location. Private 5G provides the\n pre-configured hardware and software for mobile networks, helps automate setup, and\n scales capacity on demand to support additional devices as needed.
", - "smithy.api#title": "AWS Private 5G" - }, "version": "2021-12-03", "operations": [ { @@ -1005,7 +977,35 @@ { "target": "com.amazonaws.privatenetworks#UpdateNetworkSitePlan" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "PrivateNetworks", + "arnNamespace": "private-networks" + }, + "aws.auth#sigv4": { + "name": "private-networks" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "*", + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-platform-id", + "x-amzn-trace-id" + ], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ], + "maxAge": 86400 + }, + "smithy.api#documentation": "Amazon Web Services Private 5G is a managed service that makes it easy to deploy, operate, and scale\n your own private mobile network at your on-premises location. Private 5G provides the\n pre-configured hardware and software for mobile networks, helps automate setup, and\n scales capacity on demand to support additional devices as needed.
", + "smithy.api#title": "AWS Private 5G" + } }, "com.amazonaws.privatenetworks#ElevationReference": { "type": "string", @@ -1452,7 +1452,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
", "smithy.api#range": { "min": 1, @@ -1539,7 +1539,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
", "smithy.api#range": { "min": 1, @@ -1626,7 +1626,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
", "smithy.api#range": { "min": 1, @@ -1706,7 +1706,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
", "smithy.api#range": { "min": 1, @@ -1787,7 +1787,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
", "smithy.api#range": { "min": 1, @@ -3037,4 +3037,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/proton.json b/codegen/sdk/aws-models/proton.json index c06f51da5b8..dbe9a79abf7 100644 --- a/codegen/sdk/aws-models/proton.json +++ b/codegen/sdk/aws-models/proton.json @@ -9849,4 +9849,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/qldb-session.json b/codegen/sdk/aws-models/qldb-session.json index e14042478ff..71364ff8860 100644 --- a/codegen/sdk/aws-models/qldb-session.json +++ b/codegen/sdk/aws-models/qldb-session.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -270,12 +270,14 @@ "ReadIOs": { "target": "com.amazonaws.qldbsession#ReadIOs", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of read I/O requests that the command made.
" } }, "WriteIOs": { "target": "com.amazonaws.qldbsession#WriteIOs", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of write I/O requests that the command made.
" } } @@ -382,7 +384,10 @@ } }, "com.amazonaws.qldbsession#ProcessingTimeMilliseconds": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.qldbsession#QLDBSession": { "type": "service", @@ -421,7 +426,10 @@ } }, "com.amazonaws.qldbsession#ReadIOs": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.qldbsession#SendCommand": { "type": "operation", @@ -648,6 +656,7 @@ "ProcessingTimeMilliseconds": { "target": "com.amazonaws.qldbsession#ProcessingTimeMilliseconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time that QLDB spent on processing the command, measured in\n milliseconds.
" } } @@ -693,7 +702,10 @@ } }, "com.amazonaws.qldbsession#WriteIOs": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } } } } diff --git a/codegen/sdk/aws-models/qldb.json b/codegen/sdk/aws-models/qldb.json index 18464dd6083..66363ef4b0b 100644 --- a/codegen/sdk/aws-models/qldb.json +++ b/codegen/sdk/aws-models/qldb.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.qldb#AmazonQLDB": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "QLDB", - "arnNamespace": "qldb", - "cloudFormationName": "QLDB", - "cloudTrailEventSource": "qldb.amazonaws.com", - "endpointPrefix": "qldb" - }, - "aws.auth#sigv4": { - "name": "qldb" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "The control plane for Amazon QLDB
", - "smithy.api#title": "Amazon QLDB", - "smithy.api#xmlNamespace": { - "uri": "http://ledger.amazonaws.com/doc/2019-01-02/" - } - }, "version": "2019-01-02", "operations": [ { @@ -111,7 +93,25 @@ { "target": "com.amazonaws.qldb#UpdateLedgerPermissionsMode" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "QLDB", + "arnNamespace": "qldb", + "cloudFormationName": "QLDB", + "cloudTrailEventSource": "qldb.amazonaws.com", + "endpointPrefix": "qldb" + }, + "aws.auth#sigv4": { + "name": "qldb" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "The control plane for Amazon QLDB
", + "smithy.api#title": "Amazon QLDB", + "smithy.api#xmlNamespace": { + "uri": "http://ledger.amazonaws.com/doc/2019-01-02/" + } + } }, "com.amazonaws.qldb#Arn": { "type": "string", @@ -123,10 +123,7 @@ } }, "com.amazonaws.qldb#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.qldb#CancelJournalKinesisStream": { "type": "operation", @@ -308,6 +305,9 @@ "input": { "target": "com.amazonaws.qldb#DeleteLedgerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.qldb#InvalidParameterException" @@ -345,10 +345,7 @@ } }, "com.amazonaws.qldb#DeletionProtection": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.qldb#DescribeJournalKinesisStream": { "type": "operation", @@ -1553,7 +1550,6 @@ "com.amazonaws.qldb#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/quicksight.json b/codegen/sdk/aws-models/quicksight.json index 593d3b150af..b98d12320c6 100644 --- a/codegen/sdk/aws-models/quicksight.json +++ b/codegen/sdk/aws-models/quicksight.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -136,6 +136,7 @@ "PublicSharingEnabled": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that indicates whether public sharing is turned on for an Amazon QuickSight account. For more information about turning on public sharing, see UpdatePublicSharingSettings.
" } } @@ -348,61 +349,79 @@ } }, "com.amazonaws.quicksight#AnalysisErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "SOURCE_NOT_FOUND", - "name": "SOURCE_NOT_FOUND" - }, - { - "value": "DATA_SET_NOT_FOUND", - "name": "DATA_SET_NOT_FOUND" - }, - { - "value": "INTERNAL_FAILURE", - "name": "INTERNAL_FAILURE" - }, - { - "value": "PARAMETER_VALUE_INCOMPATIBLE", - "name": "PARAMETER_VALUE_INCOMPATIBLE" - }, - { - "value": "PARAMETER_TYPE_INVALID", - "name": "PARAMETER_TYPE_INVALID" - }, - { - "value": "PARAMETER_NOT_FOUND", - "name": "PARAMETER_NOT_FOUND" - }, - { - "value": "COLUMN_TYPE_MISMATCH", - "name": "COLUMN_TYPE_MISMATCH" - }, - { - "value": "COLUMN_GEOGRAPHIC_ROLE_MISMATCH", - "name": "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" - }, - { - "value": "COLUMN_REPLACEMENT_MISSING", - "name": "COLUMN_REPLACEMENT_MISSING" - } - ] + "type": "enum", + "members": { + "ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCESS_DENIED" + } + }, + "SOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOURCE_NOT_FOUND" + } + }, + "DATA_SET_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET_NOT_FOUND" + } + }, + "INTERNAL_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_FAILURE" + } + }, + "PARAMETER_VALUE_INCOMPATIBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_VALUE_INCOMPATIBLE" + } + }, + "PARAMETER_TYPE_INVALID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_TYPE_INVALID" + } + }, + "PARAMETER_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_NOT_FOUND" + } + }, + "COLUMN_TYPE_MISMATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_TYPE_MISMATCH" + } + }, + "COLUMN_GEOGRAPHIC_ROLE_MISMATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" + } + }, + "COLUMN_REPLACEMENT_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_REPLACEMENT_MISSING" + } + } } }, "com.amazonaws.quicksight#AnalysisFilterAttribute": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUICKSIGHT_USER", - "name": "QUICKSIGHT_USER" + "type": "enum", + "members": { + "QUICKSIGHT_USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICKSIGHT_USER" } - ] + } } }, "com.amazonaws.quicksight#AnalysisName": { @@ -604,22 +623,26 @@ } }, "com.amazonaws.quicksight#AssignmentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DRAFT", - "name": "DRAFT" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DRAFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DRAFT" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + } } }, "com.amazonaws.quicksight#AthenaParameters": { @@ -649,6 +672,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Port.
", "smithy.api#required": {} } @@ -678,6 +702,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port that Amazon Aurora PostgreSQL is listening on.
", "smithy.api#required": {} } @@ -695,22 +720,26 @@ } }, "com.amazonaws.quicksight#AuthenticationMethodOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IAM_AND_QUICKSIGHT", - "name": "IAM_AND_QUICKSIGHT" - }, - { - "value": "IAM_ONLY", - "name": "IAM_ONLY" - }, - { - "value": "ACTIVE_DIRECTORY", - "name": "ACTIVE_DIRECTORY" + "type": "enum", + "members": { + "IAM_AND_QUICKSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM_AND_QUICKSIGHT" + } + }, + "IAM_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM_ONLY" } - ] + }, + "ACTIVE_DIRECTORY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE_DIRECTORY" + } + } } }, "com.amazonaws.quicksight#AwsAccountId": { @@ -745,7 +774,10 @@ } }, "com.amazonaws.quicksight#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.quicksight#BorderStyle": { "type": "structure", @@ -753,7 +785,7 @@ "Show": { "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The option to enable display of borders for visuals.
" } } @@ -899,6 +931,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -964,26 +997,32 @@ } }, "com.amazonaws.quicksight#ColumnDataType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STRING", - "name": "STRING" - }, - { - "value": "INTEGER", - "name": "INTEGER" - }, - { - "value": "DECIMAL", - "name": "DECIMAL" - }, - { - "value": "DATETIME", - "name": "DATETIME" - } - ] + "type": "enum", + "members": { + "STRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STRING" + } + }, + "INTEGER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTEGER" + } + }, + "DECIMAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DECIMAL" + } + }, + "DATETIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATETIME" + } + } } }, "com.amazonaws.quicksight#ColumnDescription": { @@ -1245,18 +1284,20 @@ } }, "com.amazonaws.quicksight#ColumnTagName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "COLUMN_GEOGRAPHIC_ROLE", - "name": "COLUMN_GEOGRAPHIC_ROLE" - }, - { - "value": "COLUMN_DESCRIPTION", - "name": "COLUMN_DESCRIPTION" + "type": "enum", + "members": { + "COLUMN_GEOGRAPHIC_ROLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_GEOGRAPHIC_ROLE" + } + }, + "COLUMN_DESCRIPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_DESCRIPTION" } - ] + } } }, "com.amazonaws.quicksight#ColumnTagNames": { @@ -1418,6 +1459,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -1583,6 +1625,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -1718,6 +1761,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -1886,6 +1930,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -2072,6 +2117,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -2221,6 +2267,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -2359,6 +2406,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
" } }, @@ -2433,6 +2481,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -2598,6 +2647,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -2659,6 +2709,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -2797,6 +2848,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -2908,6 +2960,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -3038,6 +3091,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -3178,6 +3232,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -3272,6 +3327,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -3418,6 +3474,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -3520,6 +3577,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -3655,18 +3713,20 @@ } }, "com.amazonaws.quicksight#DashboardBehavior": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + } } }, "com.amazonaws.quicksight#DashboardError": { @@ -3701,61 +3761,79 @@ } }, "com.amazonaws.quicksight#DashboardErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "SOURCE_NOT_FOUND", - "name": "SOURCE_NOT_FOUND" - }, - { - "value": "DATA_SET_NOT_FOUND", - "name": "DATA_SET_NOT_FOUND" - }, - { - "value": "INTERNAL_FAILURE", - "name": "INTERNAL_FAILURE" - }, - { - "value": "PARAMETER_VALUE_INCOMPATIBLE", - "name": "PARAMETER_VALUE_INCOMPATIBLE" - }, - { - "value": "PARAMETER_TYPE_INVALID", - "name": "PARAMETER_TYPE_INVALID" - }, - { - "value": "PARAMETER_NOT_FOUND", - "name": "PARAMETER_NOT_FOUND" - }, - { - "value": "COLUMN_TYPE_MISMATCH", - "name": "COLUMN_TYPE_MISMATCH" - }, - { - "value": "COLUMN_GEOGRAPHIC_ROLE_MISMATCH", - "name": "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" - }, - { - "value": "COLUMN_REPLACEMENT_MISSING", - "name": "COLUMN_REPLACEMENT_MISSING" - } - ] + "type": "enum", + "members": { + "ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCESS_DENIED" + } + }, + "SOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOURCE_NOT_FOUND" + } + }, + "DATA_SET_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET_NOT_FOUND" + } + }, + "INTERNAL_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_FAILURE" + } + }, + "PARAMETER_VALUE_INCOMPATIBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_VALUE_INCOMPATIBLE" + } + }, + "PARAMETER_TYPE_INVALID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_TYPE_INVALID" + } + }, + "PARAMETER_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_NOT_FOUND" + } + }, + "COLUMN_TYPE_MISMATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_TYPE_MISMATCH" + } + }, + "COLUMN_GEOGRAPHIC_ROLE_MISMATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" + } + }, + "COLUMN_REPLACEMENT_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_REPLACEMENT_MISSING" + } + } } }, "com.amazonaws.quicksight#DashboardFilterAttribute": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUICKSIGHT_USER", - "name": "QUICKSIGHT_USER" + "type": "enum", + "members": { + "QUICKSIGHT_USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICKSIGHT_USER" } - ] + } } }, "com.amazonaws.quicksight#DashboardName": { @@ -3931,18 +4009,20 @@ } }, "com.amazonaws.quicksight#DashboardUIState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EXPANDED", - "name": "EXPANDED" - }, - { - "value": "COLLAPSED", - "name": "COLLAPSED" + "type": "enum", + "members": { + "EXPANDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPANDED" + } + }, + "COLLAPSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLLAPSED" } - ] + } } }, "com.amazonaws.quicksight#DashboardVersion": { @@ -4184,6 +4264,7 @@ "ConsumedSpiceCapacityInBytes": { "target": "com.amazonaws.quicksight#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of SPICE capacity used by this dataset. This is 0 if the dataset isn't\n imported into SPICE.
" } }, @@ -4279,18 +4360,20 @@ } }, "com.amazonaws.quicksight#DataSetImportMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SPICE", - "name": "SPICE" - }, - { - "value": "DIRECT_QUERY", - "name": "DIRECT_QUERY" + "type": "enum", + "members": { + "SPICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SPICE" + } + }, + "DIRECT_QUERY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DIRECT_QUERY" } - ] + } } }, "com.amazonaws.quicksight#DataSetName": { @@ -4397,12 +4480,14 @@ "RowLevelPermissionTagConfigurationApplied": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether or not the row level permission tags are applied.
" } }, "ColumnLevelPermissionRulesApplied": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates if the dataset has column level permission configured.
" } } @@ -4423,12 +4508,14 @@ "DisableUseAsDirectQuerySource": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "An option that controls whether a child dataset of a direct query can use this dataset as a source.
" } }, "DisableUseAsImportedSource": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "An option that controls whether a child dataset that's stored in QuickSight can use this dataset as a source.
" } } @@ -4511,6 +4598,12 @@ "traits": { "smithy.api#documentation": "Error information from the last update or the creation of the data source.
" } + }, + "SecretArn": { + "target": "com.amazonaws.quicksight#SecretArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
" + } } }, "traits": { @@ -4531,6 +4624,12 @@ "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of a data source that has the credential pair that you\n want to use. When CopySourceArn is not null, the credential pair from the\n data source in the ARN is used as the credentials for the\n DataSourceCredentials structure.
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
" + } } }, "traits": { @@ -4559,42 +4658,56 @@ } }, "com.amazonaws.quicksight#DataSourceErrorInfoType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "COPY_SOURCE_NOT_FOUND", - "name": "COPY_SOURCE_NOT_FOUND" - }, - { - "value": "TIMEOUT", - "name": "TIMEOUT" - }, - { - "value": "ENGINE_VERSION_NOT_SUPPORTED", - "name": "ENGINE_VERSION_NOT_SUPPORTED" - }, - { - "value": "UNKNOWN_HOST", - "name": "UNKNOWN_HOST" - }, - { - "value": "GENERIC_SQL_FAILURE", - "name": "GENERIC_SQL_FAILURE" - }, - { - "value": "CONFLICT", - "name": "CONFLICT" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN" - } - ] + "type": "enum", + "members": { + "ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCESS_DENIED" + } + }, + "COPY_SOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COPY_SOURCE_NOT_FOUND" + } + }, + "TIMEOUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMEOUT" + } + }, + "ENGINE_VERSION_NOT_SUPPORTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENGINE_VERSION_NOT_SUPPORTED" + } + }, + "UNKNOWN_HOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN_HOST" + } + }, + "GENERIC_SQL_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GENERIC_SQL_FAILURE" + } + }, + "CONFLICT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONFLICT" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + } } }, "com.amazonaws.quicksight#DataSourceList": { @@ -4756,192 +4869,240 @@ } }, "com.amazonaws.quicksight#DataSourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ADOBE_ANALYTICS", - "name": "ADOBE_ANALYTICS" - }, - { - "value": "AMAZON_ELASTICSEARCH", - "name": "AMAZON_ELASTICSEARCH" - }, - { - "value": "ATHENA", - "name": "ATHENA" - }, - { - "value": "AURORA", - "name": "AURORA" - }, - { - "value": "AURORA_POSTGRESQL", - "name": "AURORA_POSTGRESQL" - }, - { - "value": "AWS_IOT_ANALYTICS", - "name": "AWS_IOT_ANALYTICS" - }, - { - "value": "GITHUB", - "name": "GITHUB" - }, - { - "value": "JIRA", - "name": "JIRA" - }, - { - "value": "MARIADB", - "name": "MARIADB" - }, - { - "value": "MYSQL", - "name": "MYSQL" - }, - { - "value": "ORACLE", - "name": "ORACLE" - }, - { - "value": "POSTGRESQL", - "name": "POSTGRESQL" - }, - { - "value": "PRESTO", - "name": "PRESTO" - }, - { - "value": "REDSHIFT", - "name": "REDSHIFT" - }, - { - "value": "S3", - "name": "S3" - }, - { - "value": "SALESFORCE", - "name": "SALESFORCE" - }, - { - "value": "SERVICENOW", - "name": "SERVICENOW" - }, - { - "value": "SNOWFLAKE", - "name": "SNOWFLAKE" - }, - { - "value": "SPARK", - "name": "SPARK" - }, - { - "value": "SQLSERVER", - "name": "SQLSERVER" - }, - { - "value": "TERADATA", - "name": "TERADATA" - }, - { - "value": "TWITTER", - "name": "TWITTER" - }, - { - "value": "TIMESTREAM", - "name": "TIMESTREAM" - }, - { - "value": "AMAZON_OPENSEARCH", - "name": "AMAZON_OPENSEARCH" - }, - { - "value": "EXASOL", - "name": "EXASOL" - } - ] - } - }, - "com.amazonaws.quicksight#Database": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazonaws.quicksight#DateTimeParameter": { - "type": "structure", + "type": "enum", "members": { - "Name": { - "target": "com.amazonaws.quicksight#NonEmptyString", + "ADOBE_ANALYTICS": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "A display name for the date-time parameter.
", - "smithy.api#required": {} + "smithy.api#enumValue": "ADOBE_ANALYTICS" } }, - "Values": { - "target": "com.amazonaws.quicksight#TimestampList", + "AMAZON_ELASTICSEARCH": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The values for the date-time parameter.
", - "smithy.api#required": {} + "smithy.api#enumValue": "AMAZON_ELASTICSEARCH" } - } - }, - "traits": { - "smithy.api#documentation": "A date-time parameter.
" - } - }, - "com.amazonaws.quicksight#DateTimeParameterList": { - "type": "list", - "member": { - "target": "com.amazonaws.quicksight#DateTimeParameter" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.quicksight#DecimalParameter": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.quicksight#NonEmptyString", + }, + "ATHENA": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "A display name for the decimal parameter.
", - "smithy.api#required": {} + "smithy.api#enumValue": "ATHENA" } }, - "Values": { - "target": "com.amazonaws.quicksight#DoubleList", + "AURORA": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The values for the decimal parameter.
", - "smithy.api#required": {} + "smithy.api#enumValue": "AURORA" } - } - }, - "traits": { - "smithy.api#documentation": "A decimal parameter.
" - } - }, - "com.amazonaws.quicksight#DecimalParameterList": { - "type": "list", - "member": { - "target": "com.amazonaws.quicksight#DecimalParameter" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.quicksight#DeleteAccountCustomization": { - "type": "operation", - "input": { + }, + "AURORA_POSTGRESQL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AURORA_POSTGRESQL" + } + }, + "AWS_IOT_ANALYTICS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_IOT_ANALYTICS" + } + }, + "GITHUB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GITHUB" + } + }, + "JIRA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JIRA" + } + }, + "MARIADB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MARIADB" + } + }, + "MYSQL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MYSQL" + } + }, + "ORACLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ORACLE" + } + }, + "POSTGRESQL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POSTGRESQL" + } + }, + "PRESTO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESTO" + } + }, + "REDSHIFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REDSHIFT" + } + }, + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" + } + }, + "SALESFORCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SALESFORCE" + } + }, + "SERVICENOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVICENOW" + } + }, + "SNOWFLAKE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNOWFLAKE" + } + }, + "SPARK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SPARK" + } + }, + "SQLSERVER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQLSERVER" + } + }, + "TERADATA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERADATA" + } + }, + "TWITTER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TWITTER" + } + }, + "TIMESTREAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMESTREAM" + } + }, + "AMAZON_OPENSEARCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AMAZON_OPENSEARCH" + } + }, + "EXASOL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXASOL" + } + } + } + }, + "com.amazonaws.quicksight#Database": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.quicksight#DateTimeParameter": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.quicksight#NonEmptyString", + "traits": { + "smithy.api#documentation": "A display name for the date-time parameter.
", + "smithy.api#required": {} + } + }, + "Values": { + "target": "com.amazonaws.quicksight#TimestampList", + "traits": { + "smithy.api#documentation": "The values for the date-time parameter.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "A date-time parameter.
" + } + }, + "com.amazonaws.quicksight#DateTimeParameterList": { + "type": "list", + "member": { + "target": "com.amazonaws.quicksight#DateTimeParameter" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.quicksight#DecimalParameter": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.quicksight#NonEmptyString", + "traits": { + "smithy.api#documentation": "A display name for the decimal parameter.
", + "smithy.api#required": {} + } + }, + "Values": { + "target": "com.amazonaws.quicksight#DoubleList", + "traits": { + "smithy.api#documentation": "The values for the decimal parameter.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "A decimal parameter.
" + } + }, + "com.amazonaws.quicksight#DecimalParameterList": { + "type": "list", + "member": { + "target": "com.amazonaws.quicksight#DecimalParameter" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.quicksight#DeleteAccountCustomization": { + "type": "operation", + "input": { "target": "com.amazonaws.quicksight#DeleteAccountCustomizationRequest" }, "output": { @@ -5011,6 +5172,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -5083,6 +5245,7 @@ "ForceDeleteWithoutRecovery": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "This option defaults to the value NoForceDeleteWithoutRecovery. To\n immediately delete the analysis, add the ForceDeleteWithoutRecovery option.\n You can't restore an analysis after it's deleted.
The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -5196,6 +5360,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -5299,6 +5464,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -5384,6 +5550,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -5513,6 +5680,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
" } }, @@ -5551,6 +5719,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -5704,6 +5873,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -5751,6 +5921,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -5844,6 +6015,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -5923,6 +6095,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -6038,6 +6211,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -6120,6 +6294,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -6256,6 +6431,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -6314,6 +6490,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -6450,6 +6627,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -6497,6 +6675,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -6570,6 +6749,7 @@ "Resolved": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The Resolved flag works with the other parameters to determine which view\n of Amazon QuickSight customizations is returned. You can add this flag to your command to use\n the same view that Amazon QuickSight uses to identify which customizations to apply to the\n console. Omit this flag, or set it to no-resolved, to reveal customizations\n that are configured at different levels.
The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -6686,6 +6867,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -6754,6 +6936,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -6882,6 +7065,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -6927,6 +7111,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -7055,6 +7240,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -7120,6 +7306,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of this request.
", "smithy.api#httpResponseCode": {} } @@ -7251,6 +7438,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -7296,6 +7484,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -7421,6 +7610,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -7466,6 +7656,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -7573,6 +7764,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -7688,6 +7880,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -7724,6 +7917,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -7874,6 +8068,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -7927,6 +8122,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -8017,6 +8213,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -8107,6 +8304,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -8190,6 +8388,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -8272,6 +8471,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -8393,6 +8593,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -8493,6 +8694,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -8546,6 +8748,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -8676,6 +8879,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -8776,6 +8980,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -8829,6 +9034,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -8928,6 +9134,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -8963,7 +9170,10 @@ } }, "com.amazonaws.quicksight#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.quicksight#DoubleList": { "type": "list", @@ -8972,41 +9182,49 @@ } }, "com.amazonaws.quicksight#Edition": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STANDARD", - "name": "STANDARD" - }, - { - "value": "ENTERPRISE", - "name": "ENTERPRISE" - }, - { - "value": "ENTERPRISE_AND_Q", - "name": "ENTERPRISE_AND_Q" + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" } - ] + }, + "ENTERPRISE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENTERPRISE" + } + }, + "ENTERPRISE_AND_Q": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENTERPRISE_AND_Q" + } + } } }, "com.amazonaws.quicksight#EmbeddingIdentityType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IAM", - "name": "IAM" - }, - { - "value": "QUICKSIGHT", - "name": "QUICKSIGHT" - }, - { - "value": "ANONYMOUS", - "name": "ANONYMOUS" + "type": "enum", + "members": { + "IAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM" + } + }, + "QUICKSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICKSIGHT" + } + }, + "ANONYMOUS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ANONYMOUS" } - ] + } } }, "com.amazonaws.quicksight#EmbeddingUrl": { @@ -9066,6 +9284,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port for the Exasol data source.
", "smithy.api#required": {} } @@ -9076,46 +9295,62 @@ } }, "com.amazonaws.quicksight#ExceptionResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "USER", - "name": "USER" - }, - { - "value": "GROUP", - "name": "GROUP" - }, - { - "value": "NAMESPACE", - "name": "NAMESPACE" - }, - { - "value": "ACCOUNT_SETTINGS", - "name": "ACCOUNT_SETTINGS" - }, - { - "value": "IAMPOLICY_ASSIGNMENT", - "name": "IAMPOLICY_ASSIGNMENT" - }, - { - "value": "DATA_SOURCE", - "name": "DATA_SOURCE" - }, - { - "value": "DATA_SET", - "name": "DATA_SET" - }, - { - "value": "VPC_CONNECTION", - "name": "VPC_CONNECTION" - }, - { - "value": "INGESTION", - "name": "INGESTION" - } - ] + "type": "enum", + "members": { + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER" + } + }, + "GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GROUP" + } + }, + "NAMESPACE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAMESPACE" + } + }, + "ACCOUNT_SETTINGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCOUNT_SETTINGS" + } + }, + "IAMPOLICY_ASSIGNMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAMPOLICY_ASSIGNMENT" + } + }, + "DATA_SOURCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SOURCE" + } + }, + "DATA_SET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET" + } + }, + "VPC_CONNECTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VPC_CONNECTION" + } + }, + "INGESTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INGESTION" + } + } } }, "com.amazonaws.quicksight#ExportToCSVOption": { @@ -9189,34 +9424,44 @@ } }, "com.amazonaws.quicksight#FileFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CSV", - "name": "CSV" - }, - { - "value": "TSV", - "name": "TSV" - }, - { - "value": "CLF", - "name": "CLF" - }, - { - "value": "ELF", - "name": "ELF" - }, - { - "value": "XLSX", - "name": "XLSX" - }, - { - "value": "JSON", - "name": "JSON" - } - ] + "type": "enum", + "members": { + "CSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CSV" + } + }, + "TSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TSV" + } + }, + "CLF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLF" + } + }, + "ELF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELF" + } + }, + "XLSX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "XLSX" + } + }, + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" + } + } } }, "com.amazonaws.quicksight#FilterOperation": { @@ -9235,14 +9480,14 @@ } }, "com.amazonaws.quicksight#FilterOperator": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "StringEquals", - "name": "StringEquals" + "type": "enum", + "members": { + "StringEquals": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StringEquals" } - ] + } } }, "com.amazonaws.quicksight#Folder": { @@ -9308,14 +9553,14 @@ } }, "com.amazonaws.quicksight#FolderFilterAttribute": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PARENT_FOLDER_ARN", - "name": "PARENT_FOLDER_ARN" + "type": "enum", + "members": { + "PARENT_FOLDER_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARENT_FOLDER_ARN" } - ] + } } }, "com.amazonaws.quicksight#FolderMember": { @@ -9454,14 +9699,14 @@ } }, "com.amazonaws.quicksight#FolderType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SHARED", - "name": "SHARED" + "type": "enum", + "members": { + "SHARED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHARED" } - ] + } } }, "com.amazonaws.quicksight#GenerateEmbedUrlForAnonymousUser": { @@ -9572,6 +9817,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {}, "smithy.api#required": {} @@ -9684,6 +9930,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {}, "smithy.api#required": {} @@ -9711,8 +9958,7 @@ "CountryCode": { "target": "com.amazonaws.quicksight#GeoSpatialCountryCode", "traits": { - "smithy.api#documentation": "Country code.
", - "smithy.api#required": {} + "smithy.api#documentation": "Country code.
" } }, "Columns": { @@ -9728,49 +9974,61 @@ } }, "com.amazonaws.quicksight#GeoSpatialCountryCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "US", - "name": "US" + "type": "enum", + "members": { + "US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "US" } - ] + } } }, "com.amazonaws.quicksight#GeoSpatialDataRole": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "COUNTRY", - "name": "COUNTRY" - }, - { - "value": "STATE", - "name": "STATE" - }, - { - "value": "COUNTY", - "name": "COUNTY" - }, - { - "value": "CITY", - "name": "CITY" - }, - { - "value": "POSTCODE", - "name": "POSTCODE" - }, - { - "value": "LONGITUDE", - "name": "LONGITUDE" - }, - { - "value": "LATITUDE", - "name": "LATITUDE" - } - ] + "type": "enum", + "members": { + "COUNTRY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COUNTRY" + } + }, + "STATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STATE" + } + }, + "COUNTY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COUNTY" + } + }, + "CITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CITY" + } + }, + "POSTCODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POSTCODE" + } + }, + "LONGITUDE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LONGITUDE" + } + }, + "LATITUDE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LATITUDE" + } + } } }, "com.amazonaws.quicksight#GetDashboardEmbedUrl": { @@ -9865,6 +10123,7 @@ "UndoRedoDisabled": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables\n\t\t\tthe undo/redo button.
", "smithy.api#httpQuery": "undo-redo-disabled" } @@ -9872,6 +10131,7 @@ "ResetDisabled": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Remove the reset button on the embedded dashboard. The default is FALSE, which enables the\n\t\t\treset button.
", "smithy.api#httpQuery": "reset-disabled" } @@ -9879,6 +10139,7 @@ "StatePersistenceEnabled": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Adds persistence of state for the user session in an embedded dashboard. Persistence\n applies to the sheet and the parameter settings. These are control settings that the\n dashboard subscriber (Amazon QuickSight reader) chooses while viewing the dashboard. If this is\n set to TRUE, the settings are the same when the subscriber reopens the same\n dashboard URL. The state is stored in Amazon QuickSight, not in a browser cookie. If this is\n set to FALSE, the state of the user session is not persisted. The default is\n FALSE.
The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -10025,6 +10287,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -10079,25 +10342,25 @@ } }, "com.amazonaws.quicksight#GroupFilterAttribute": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GROUP_NAME", - "name": "GROUP_NAME" + "type": "enum", + "members": { + "GROUP_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GROUP_NAME" } - ] + } } }, "com.amazonaws.quicksight#GroupFilterOperator": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "StartsWith", - "name": "StartsWith" + "type": "enum", + "members": { + "StartsWith": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StartsWith" } - ] + } } }, "com.amazonaws.quicksight#GroupList": { @@ -10204,7 +10467,7 @@ "Show": { "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "This Boolean value controls whether to display a gutter space between sheet tiles.\n
" } } @@ -10332,29 +10595,31 @@ } }, "com.amazonaws.quicksight#IdentityStore": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUICKSIGHT", - "name": "QUICKSIGHT" + "type": "enum", + "members": { + "QUICKSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICKSIGHT" } - ] + } } }, "com.amazonaws.quicksight#IdentityType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IAM", - "name": "IAM" - }, - { - "value": "QUICKSIGHT", - "name": "QUICKSIGHT" + "type": "enum", + "members": { + "IAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM" } - ] + }, + "QUICKSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICKSIGHT" + } + } } }, "com.amazonaws.quicksight#IdentityTypeNotSupportedException": { @@ -10421,14 +10686,14 @@ "IngestionTimeInSeconds": { "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The time that this ingestion took, measured in seconds.
" } }, "IngestionSizeInBytes": { "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The size of the data ingested, in bytes.
" } }, @@ -10450,186 +10715,272 @@ } }, "com.amazonaws.quicksight#IngestionErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FAILURE_TO_ASSUME_ROLE", - "name": "FAILURE_TO_ASSUME_ROLE" - }, - { - "value": "INGESTION_SUPERSEDED", - "name": "INGESTION_SUPERSEDED" - }, - { - "value": "INGESTION_CANCELED", - "name": "INGESTION_CANCELED" - }, - { - "value": "DATA_SET_DELETED", - "name": "DATA_SET_DELETED" - }, - { - "value": "DATA_SET_NOT_SPICE", - "name": "DATA_SET_NOT_SPICE" - }, - { - "value": "S3_UPLOADED_FILE_DELETED", - "name": "S3_UPLOADED_FILE_DELETED" - }, - { - "value": "S3_MANIFEST_ERROR", - "name": "S3_MANIFEST_ERROR" - }, - { - "value": "DATA_TOLERANCE_EXCEPTION", - "name": "DATA_TOLERANCE_EXCEPTION" - }, - { - "value": "SPICE_TABLE_NOT_FOUND", - "name": "SPICE_TABLE_NOT_FOUND" - }, - { - "value": "DATA_SET_SIZE_LIMIT_EXCEEDED", - "name": "DATA_SET_SIZE_LIMIT_EXCEEDED" - }, - { - "value": "ROW_SIZE_LIMIT_EXCEEDED", - "name": "ROW_SIZE_LIMIT_EXCEEDED" - }, - { - "value": "ACCOUNT_CAPACITY_LIMIT_EXCEEDED", - "name": "ACCOUNT_CAPACITY_LIMIT_EXCEEDED" - }, - { - "value": "CUSTOMER_ERROR", - "name": "CUSTOMER_ERROR" - }, - { - "value": "DATA_SOURCE_NOT_FOUND", - "name": "DATA_SOURCE_NOT_FOUND" - }, - { - "value": "IAM_ROLE_NOT_AVAILABLE", - "name": "IAM_ROLE_NOT_AVAILABLE" - }, - { - "value": "CONNECTION_FAILURE", - "name": "CONNECTION_FAILURE" - }, - { - "value": "SQL_TABLE_NOT_FOUND", - "name": "SQL_TABLE_NOT_FOUND" - }, - { - "value": "PERMISSION_DENIED", - "name": "PERMISSION_DENIED" - }, - { - "value": "SSL_CERTIFICATE_VALIDATION_FAILURE", - "name": "SSL_CERTIFICATE_VALIDATION_FAILURE" - }, - { - "value": "OAUTH_TOKEN_FAILURE", - "name": "OAUTH_TOKEN_FAILURE" - }, - { - "value": "SOURCE_API_LIMIT_EXCEEDED_FAILURE", - "name": "SOURCE_API_LIMIT_EXCEEDED_FAILURE" - }, - { - "value": "PASSWORD_AUTHENTICATION_FAILURE", - "name": "PASSWORD_AUTHENTICATION_FAILURE" - }, - { - "value": "SQL_SCHEMA_MISMATCH_ERROR", - "name": "SQL_SCHEMA_MISMATCH_ERROR" - }, - { - "value": "INVALID_DATE_FORMAT", - "name": "INVALID_DATE_FORMAT" - }, - { - "value": "INVALID_DATAPREP_SYNTAX", - "name": "INVALID_DATAPREP_SYNTAX" - }, - { - "value": "SOURCE_RESOURCE_LIMIT_EXCEEDED", - "name": "SOURCE_RESOURCE_LIMIT_EXCEEDED" - }, - { - "value": "SQL_INVALID_PARAMETER_VALUE", - "name": "SQL_INVALID_PARAMETER_VALUE" - }, - { - "value": "QUERY_TIMEOUT", - "name": "QUERY_TIMEOUT" - }, - { - "value": "SQL_NUMERIC_OVERFLOW", - "name": "SQL_NUMERIC_OVERFLOW" - }, - { - "value": "UNRESOLVABLE_HOST", - "name": "UNRESOLVABLE_HOST" - }, - { - "value": "UNROUTABLE_HOST", - "name": "UNROUTABLE_HOST" - }, - { - "value": "SQL_EXCEPTION", - "name": "SQL_EXCEPTION" - }, - { - "value": "S3_FILE_INACCESSIBLE", - "name": "S3_FILE_INACCESSIBLE" - }, - { - "value": "IOT_FILE_NOT_FOUND", - "name": "IOT_FILE_NOT_FOUND" - }, - { - "value": "IOT_DATA_SET_FILE_EMPTY", - "name": "IOT_DATA_SET_FILE_EMPTY" - }, - { - "value": "INVALID_DATA_SOURCE_CONFIG", - "name": "INVALID_DATA_SOURCE_CONFIG" - }, - { - "value": "DATA_SOURCE_AUTH_FAILED", - "name": "DATA_SOURCE_AUTH_FAILED" - }, - { - "value": "DATA_SOURCE_CONNECTION_FAILED", - "name": "DATA_SOURCE_CONNECTION_FAILED" - }, - { - "value": "FAILURE_TO_PROCESS_JSON_FILE", - "name": "FAILURE_TO_PROCESS_JSON_FILE" - }, - { - "value": "INTERNAL_SERVICE_ERROR", - "name": "INTERNAL_SERVICE_ERROR" - }, - { - "value": "REFRESH_SUPPRESSED_BY_EDIT", - "name": "REFRESH_SUPPRESSED_BY_EDIT" - }, - { - "value": "PERMISSION_NOT_FOUND", - "name": "PERMISSION_NOT_FOUND" - }, - { - "value": "ELASTICSEARCH_CURSOR_NOT_ENABLED", - "name": "ELASTICSEARCH_CURSOR_NOT_ENABLED" - }, - { - "value": "CURSOR_NOT_ENABLED", - "name": "CURSOR_NOT_ENABLED" - } - ] + "type": "enum", + "members": { + "FAILURE_TO_ASSUME_ROLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILURE_TO_ASSUME_ROLE" + } + }, + "INGESTION_SUPERSEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INGESTION_SUPERSEDED" + } + }, + "INGESTION_CANCELED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INGESTION_CANCELED" + } + }, + "DATA_SET_DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET_DELETED" + } + }, + "DATA_SET_NOT_SPICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET_NOT_SPICE" + } + }, + "S3_UPLOADED_FILE_DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_UPLOADED_FILE_DELETED" + } + }, + "S3_MANIFEST_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_MANIFEST_ERROR" + } + }, + "DATA_TOLERANCE_EXCEPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_TOLERANCE_EXCEPTION" + } + }, + "SPICE_TABLE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SPICE_TABLE_NOT_FOUND" + } + }, + "DATA_SET_SIZE_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET_SIZE_LIMIT_EXCEEDED" + } + }, + "ROW_SIZE_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROW_SIZE_LIMIT_EXCEEDED" + } + }, + "ACCOUNT_CAPACITY_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCOUNT_CAPACITY_LIMIT_EXCEEDED" + } + }, + "CUSTOMER_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_ERROR" + } + }, + "DATA_SOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SOURCE_NOT_FOUND" + } + }, + "IAM_ROLE_NOT_AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM_ROLE_NOT_AVAILABLE" + } + }, + "CONNECTION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTION_FAILURE" + } + }, + "SQL_TABLE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL_TABLE_NOT_FOUND" + } + }, + "PERMISSION_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERMISSION_DENIED" + } + }, + "SSL_CERTIFICATE_VALIDATION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SSL_CERTIFICATE_VALIDATION_FAILURE" + } + }, + "OAUTH_TOKEN_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OAUTH_TOKEN_FAILURE" + } + }, + "SOURCE_API_LIMIT_EXCEEDED_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOURCE_API_LIMIT_EXCEEDED_FAILURE" + } + }, + "PASSWORD_AUTHENTICATION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PASSWORD_AUTHENTICATION_FAILURE" + } + }, + "SQL_SCHEMA_MISMATCH_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL_SCHEMA_MISMATCH_ERROR" + } + }, + "INVALID_DATE_FORMAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_DATE_FORMAT" + } + }, + "INVALID_DATAPREP_SYNTAX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_DATAPREP_SYNTAX" + } + }, + "SOURCE_RESOURCE_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOURCE_RESOURCE_LIMIT_EXCEEDED" + } + }, + "SQL_INVALID_PARAMETER_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL_INVALID_PARAMETER_VALUE" + } + }, + "QUERY_TIMEOUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUERY_TIMEOUT" + } + }, + "SQL_NUMERIC_OVERFLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL_NUMERIC_OVERFLOW" + } + }, + "UNRESOLVABLE_HOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNRESOLVABLE_HOST" + } + }, + "UNROUTABLE_HOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNROUTABLE_HOST" + } + }, + "SQL_EXCEPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL_EXCEPTION" + } + }, + "S3_FILE_INACCESSIBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_FILE_INACCESSIBLE" + } + }, + "IOT_FILE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IOT_FILE_NOT_FOUND" + } + }, + "IOT_DATA_SET_FILE_EMPTY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IOT_DATA_SET_FILE_EMPTY" + } + }, + "INVALID_DATA_SOURCE_CONFIG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_DATA_SOURCE_CONFIG" + } + }, + "DATA_SOURCE_AUTH_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SOURCE_AUTH_FAILED" + } + }, + "DATA_SOURCE_CONNECTION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SOURCE_CONNECTION_FAILED" + } + }, + "FAILURE_TO_PROCESS_JSON_FILE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILURE_TO_PROCESS_JSON_FILE" + } + }, + "INTERNAL_SERVICE_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_SERVICE_ERROR" + } + }, + "REFRESH_SUPPRESSED_BY_EDIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REFRESH_SUPPRESSED_BY_EDIT" + } + }, + "PERMISSION_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERMISSION_NOT_FOUND" + } + }, + "ELASTICSEARCH_CURSOR_NOT_ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELASTICSEARCH_CURSOR_NOT_ENABLED" + } + }, + "CURSOR_NOT_ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CURSOR_NOT_ENABLED" + } + } } }, "com.amazonaws.quicksight#IngestionId": { @@ -10645,6 +10996,7 @@ "com.amazonaws.quicksight#IngestionMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -10652,89 +11004,113 @@ } }, "com.amazonaws.quicksight#IngestionRequestSource": { - "type": "string", + "type": "enum", + "members": { + "MANUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANUAL" + } + }, + "SCHEDULED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCHEDULED" + } + } + } + }, + "com.amazonaws.quicksight#IngestionRequestType": { + "type": "enum", + "members": { + "INITIAL_INGESTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INITIAL_INGESTION" + } + }, + "EDIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EDIT" + } + }, + "INCREMENTAL_REFRESH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INCREMENTAL_REFRESH" + } + }, + "FULL_REFRESH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL_REFRESH" + } + } + }, "traits": { - "smithy.api#enum": [ - { - "value": "MANUAL", - "name": "MANUAL" - }, - { - "value": "SCHEDULED", - "name": "SCHEDULED" + "smithy.api#documentation": "This defines the type of ingestion request. This is returned as part of create ingestion response." + } + }, + "com.amazonaws.quicksight#IngestionStatus": { + "type": "enum", + "members": { + "INITIALIZED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INITIALIZED" + } + }, + "QUEUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUED" + } + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" } - ] - } - }, - "com.amazonaws.quicksight#IngestionRequestType": { - "type": "string", - "traits": { - "smithy.api#documentation": "This defines the type of ingestion request. This is returned as part of create ingestion response.", - "smithy.api#enum": [ - { - "value": "INITIAL_INGESTION", - "name": "INITIAL_INGESTION" - }, - { - "value": "EDIT", - "name": "EDIT" - }, - { - "value": "INCREMENTAL_REFRESH", - "name": "INCREMENTAL_REFRESH" - }, - { - "value": "FULL_REFRESH", - "name": "FULL_REFRESH" - } - ] - } - }, - "com.amazonaws.quicksight#IngestionStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INITIALIZED", - "name": "INITIALIZED" - }, - { - "value": "QUEUED", - "name": "QUEUED" - }, - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "CANCELLED", - "name": "CANCELLED" - } - ] + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + } } }, "com.amazonaws.quicksight#IngestionType": { - "type": "string", - "traits": { - "smithy.api#documentation": "This defines the type of ingestion user wants to trigger. This is part of create ingestion request.", - "smithy.api#enum": [ - { - "value": "INCREMENTAL_REFRESH", - "name": "INCREMENTAL_REFRESH" - }, - { - "value": "FULL_REFRESH", - "name": "FULL_REFRESH" + "type": "enum", + "members": { + "INCREMENTAL_REFRESH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INCREMENTAL_REFRESH" } - ] + }, + "FULL_REFRESH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL_REFRESH" + } + } + }, + "traits": { + "smithy.api#documentation": "This defines the type of ingestion user wants to trigger. This is part of create ingestion request." } }, "com.amazonaws.quicksight#Ingestions": { @@ -10766,38 +11142,50 @@ } }, "com.amazonaws.quicksight#InputColumnDataType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STRING", - "name": "STRING" - }, - { - "value": "INTEGER", - "name": "INTEGER" - }, - { - "value": "DECIMAL", - "name": "DECIMAL" - }, - { - "value": "DATETIME", - "name": "DATETIME" - }, - { - "value": "BIT", - "name": "BIT" - }, - { - "value": "BOOLEAN", - "name": "BOOLEAN" - }, - { - "value": "JSON", - "name": "JSON" - } - ] + "type": "enum", + "members": { + "STRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STRING" + } + }, + "INTEGER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTEGER" + } + }, + "DECIMAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DECIMAL" + } + }, + "DATETIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATETIME" + } + }, + "BIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BIT" + } + }, + "BOOLEAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BOOLEAN" + } + }, + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" + } + } } }, "com.amazonaws.quicksight#InputColumnList": { @@ -10999,7 +11387,7 @@ "UniqueKey": { "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "A value that indicates that a row in a table is uniquely identified by the columns in\n a join key. This is used by Amazon QuickSight to optimize query performance.
" } } @@ -11009,26 +11397,32 @@ } }, "com.amazonaws.quicksight#JoinType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INNER", - "name": "INNER" - }, - { - "value": "OUTER", - "name": "OUTER" - }, - { - "value": "LEFT", - "name": "LEFT" - }, - { - "value": "RIGHT", - "name": "RIGHT" - } - ] + "type": "enum", + "members": { + "INNER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INNER" + } + }, + "OUTER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTER" + } + }, + "LEFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LEFT" + } + }, + "RIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RIGHT" + } + } } }, "com.amazonaws.quicksight#LimitExceededException": { @@ -11128,7 +11522,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
", "smithy.api#httpQuery": "max-results" } @@ -11153,6 +11547,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -11237,7 +11632,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-results" } @@ -11262,6 +11657,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -11332,7 +11728,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-results" } @@ -11357,6 +11753,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -11430,7 +11827,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-results" } @@ -11461,6 +11858,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -11528,7 +11926,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-results" } @@ -11559,6 +11957,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -11634,7 +12033,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-results" } @@ -11647,6 +12046,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -11732,7 +12132,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-results" } @@ -11745,6 +12145,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -11833,7 +12234,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return from this request.
", "smithy.api#httpQuery": "max-results" } @@ -11880,6 +12281,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -11950,7 +12352,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
", "smithy.api#httpQuery": "max-results" } @@ -11989,6 +12391,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -12101,7 +12504,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-results" } @@ -12140,6 +12543,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -12181,7 +12585,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-results" } @@ -12212,6 +12616,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -12293,7 +12698,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#IngestionMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-results" } @@ -12324,6 +12729,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -12400,7 +12806,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
", "smithy.api#httpQuery": "max-results" } @@ -12431,6 +12837,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -12502,6 +12909,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -12577,7 +12985,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-result" } @@ -12596,6 +13004,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -12686,7 +13095,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-results" } @@ -12711,6 +13120,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -12787,7 +13197,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-result" } @@ -12812,6 +13222,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -12893,7 +13304,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-result" } @@ -12912,6 +13323,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -13005,7 +13417,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-results" } @@ -13030,6 +13442,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -13109,7 +13522,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
", "smithy.api#httpQuery": "max-results" } @@ -13141,6 +13554,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -13230,7 +13644,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return from this request.
", "smithy.api#httpQuery": "max-results" } @@ -13261,6 +13675,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -13331,7 +13746,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return from this request.
", "smithy.api#httpQuery": "max-results" } @@ -13370,6 +13785,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -13465,7 +13881,10 @@ } }, "com.amazonaws.quicksight#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.quicksight#LongList": { "type": "list", @@ -13501,7 +13920,7 @@ "Show": { "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "This Boolean value controls whether to display sheet margins.
" } } @@ -13523,6 +13942,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Port.
", "smithy.api#required": {} } @@ -13542,6 +13962,7 @@ "com.amazonaws.quicksight#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -13569,22 +13990,26 @@ } }, "com.amazonaws.quicksight#MemberType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DASHBOARD", - "name": "DASHBOARD" - }, - { - "value": "ANALYSIS", - "name": "ANALYSIS" - }, - { - "value": "DATASET", - "name": "DATASET" + "type": "enum", + "members": { + "DASHBOARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DASHBOARD" } - ] + }, + "ANALYSIS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ANALYSIS" + } + }, + "DATASET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATASET" + } + } } }, "com.amazonaws.quicksight#MySqlParameters": { @@ -13600,6 +14025,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Port.
", "smithy.api#required": {} } @@ -13647,18 +14073,20 @@ } }, "com.amazonaws.quicksight#NamespaceErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PERMISSION_DENIED", - "name": "PERMISSION_DENIED" - }, - { - "value": "INTERNAL_SERVICE_ERROR", - "name": "INTERNAL_SERVICE_ERROR" + "type": "enum", + "members": { + "PERMISSION_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERMISSION_DENIED" + } + }, + "INTERNAL_SERVICE_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_SERVICE_ERROR" } - ] + } } }, "com.amazonaws.quicksight#NamespaceInfoV2": { @@ -13706,30 +14134,38 @@ } }, "com.amazonaws.quicksight#NamespaceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATED", - "name": "CREATED" - }, - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "RETRYABLE_FAILURE", - "name": "RETRYABLE_FAILURE" - }, - { - "value": "NON_RETRYABLE_FAILURE", - "name": "NON_RETRYABLE_FAILURE" - } - ] + "type": "enum", + "members": { + "CREATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATED" + } + }, + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "RETRYABLE_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RETRYABLE_FAILURE" + } + }, + "NON_RETRYABLE_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NON_RETRYABLE_FAILURE" + } + } } }, "com.amazonaws.quicksight#Namespaces": { @@ -13745,10 +14181,7 @@ } }, "com.amazonaws.quicksight#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.quicksight#OnClause": { "type": "string", @@ -13762,6 +14195,7 @@ "com.amazonaws.quicksight#OptionalPort": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 65535 @@ -13781,6 +14215,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Port.
", "smithy.api#required": {} } @@ -13936,6 +14371,7 @@ "com.amazonaws.quicksight#Port": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -13945,6 +14381,7 @@ "com.amazonaws.quicksight#PositiveInteger": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -13963,6 +14400,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Port.
", "smithy.api#required": {} } @@ -14011,6 +14449,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Port.
", "smithy.api#required": {} } @@ -14127,21 +14566,6 @@ }, "com.amazonaws.quicksight#QuickSight_20180401": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "QuickSight", - "arnNamespace": "quicksight", - "cloudFormationName": "QuickSight", - "cloudTrailEventSource": "quicksight.amazonaws.com", - "endpointPrefix": "quicksight" - }, - "aws.auth#sigv4": { - "name": "quicksight" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon QuickSight is a fully managed, serverless business intelligence service for the\n Amazon Web Services Cloud that makes it easy to extend data and insights to every user in your\n organization. This API reference contains documentation for a programming interface that\n you can use to manage Amazon QuickSight.
", - "smithy.api#title": "Amazon QuickSight" - }, "version": "2018-04-01", "operations": [ { @@ -14504,7 +14928,22 @@ { "target": "com.amazonaws.quicksight#UpdateUser" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "QuickSight", + "arnNamespace": "quicksight", + "cloudFormationName": "QuickSight", + "cloudTrailEventSource": "quicksight.amazonaws.com", + "endpointPrefix": "quicksight" + }, + "aws.auth#sigv4": { + "name": "quicksight" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon QuickSight is a fully managed, serverless business intelligence service for the\n Amazon Web Services Cloud that makes it easy to extend data and insights to every user in your\n organization. This API reference contains documentation for a programming interface that\n you can use to manage Amazon QuickSight.
", + "smithy.api#title": "Amazon QuickSight" + } }, "com.amazonaws.quicksight#RdsParameters": { "type": "structure", @@ -14531,7 +14970,6 @@ "com.amazonaws.quicksight#RecoveryWindowInDays": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 7, "max": 30 @@ -14550,6 +14988,7 @@ "Port": { "target": "com.amazonaws.quicksight#OptionalPort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Port. This field can be blank if the ClusterId is provided.
The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -15008,38 +15448,50 @@ } }, "com.amazonaws.quicksight#ResourceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATION_IN_PROGRESS", - "name": "CREATION_IN_PROGRESS" - }, - { - "value": "CREATION_SUCCESSFUL", - "name": "CREATION_SUCCESSFUL" - }, - { - "value": "CREATION_FAILED", - "name": "CREATION_FAILED" - }, - { - "value": "UPDATE_IN_PROGRESS", - "name": "UPDATE_IN_PROGRESS" - }, - { - "value": "UPDATE_SUCCESSFUL", - "name": "UPDATE_SUCCESSFUL" - }, - { - "value": "UPDATE_FAILED", - "name": "UPDATE_FAILED" - }, - { - "value": "DELETED", - "name": "DELETED" - } - ] + "type": "enum", + "members": { + "CREATION_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_IN_PROGRESS" + } + }, + "CREATION_SUCCESSFUL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_SUCCESSFUL" + } + }, + "CREATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_FAILED" + } + }, + "UPDATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_IN_PROGRESS" + } + }, + "UPDATE_SUCCESSFUL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_SUCCESSFUL" + } + }, + "UPDATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_FAILED" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + } } }, "com.amazonaws.quicksight#ResourceUnavailableException": { @@ -15131,6 +15583,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -15191,21 +15644,21 @@ "RowsIngested": { "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The number of rows that were ingested.
" } }, "RowsDropped": { "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The number of rows that were not ingested.
" } }, "TotalRowsInDataset": { "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The total number of rows in the dataset.
" } } @@ -15255,33 +15708,37 @@ } }, "com.amazonaws.quicksight#RowLevelPermissionFormatVersion": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "VERSION_1", - "name": "VERSION_1" - }, - { - "value": "VERSION_2", - "name": "VERSION_2" + "type": "enum", + "members": { + "VERSION_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VERSION_1" } - ] + }, + "VERSION_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VERSION_2" + } + } } }, "com.amazonaws.quicksight#RowLevelPermissionPolicy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GRANT_ACCESS", - "name": "GRANT_ACCESS" - }, - { - "value": "DENY_ACCESS", - "name": "DENY_ACCESS" + "type": "enum", + "members": { + "GRANT_ACCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GRANT_ACCESS" } - ] + }, + "DENY_ACCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DENY_ACCESS" + } + } } }, "com.amazonaws.quicksight#RowLevelPermissionTagConfiguration": { @@ -15491,7 +15948,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return.
" } } @@ -15515,6 +15972,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -15597,7 +16055,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
" } } @@ -15621,6 +16079,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -15700,7 +16159,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to be returned per request.
" } } @@ -15712,6 +16171,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -15800,7 +16260,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of results to return from this request.
", "smithy.api#httpQuery": "max-results" } @@ -15846,12 +16306,23 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } } } }, + "com.amazonaws.quicksight#SecretArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^arn:[-a-z0-9]*:secretsmanager:[-a-z0-9]*:[0-9]{12}:secret:.+$" + } + }, "com.amazonaws.quicksight#ServiceNowParameters": { "type": "structure", "members": { @@ -15870,7 +16341,6 @@ "com.amazonaws.quicksight#SessionLifetimeInMinutes": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 15, "max": 600 @@ -16021,6 +16491,7 @@ "IAMUser": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean that is TRUE if the Amazon QuickSight uses IAM as an\n authentication method.
Port.
", "smithy.api#required": {} } @@ -16129,6 +16601,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Port.
", "smithy.api#required": {} } @@ -16151,6 +16624,7 @@ "DisableSsl": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean option to control whether SSL should be disabled.
" } } @@ -16160,22 +16634,27 @@ } }, "com.amazonaws.quicksight#Status": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } } }, "com.amazonaws.quicksight#StatusCode": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.quicksight#String": { "type": "string" @@ -16366,6 +16845,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -16495,26 +16975,32 @@ } }, "com.amazonaws.quicksight#TemplateErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SOURCE_NOT_FOUND", - "name": "SOURCE_NOT_FOUND" - }, - { - "value": "DATA_SET_NOT_FOUND", - "name": "DATA_SET_NOT_FOUND" - }, - { - "value": "INTERNAL_FAILURE", - "name": "INTERNAL_FAILURE" - }, - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - } - ] + "type": "enum", + "members": { + "SOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOURCE_NOT_FOUND" + } + }, + "DATA_SET_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET_NOT_FOUND" + } + }, + "INTERNAL_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_FAILURE" + } + }, + "ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCESS_DENIED" + } + } } }, "com.amazonaws.quicksight#TemplateName": { @@ -16764,6 +17250,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Port.
", "smithy.api#required": {} } @@ -16781,18 +17268,20 @@ } }, "com.amazonaws.quicksight#TextQualifier": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DOUBLE_QUOTE", - "name": "DOUBLE_QUOTE" - }, - { - "value": "SINGLE_QUOTE", - "name": "SINGLE_QUOTE" + "type": "enum", + "members": { + "DOUBLE_QUOTE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOUBLE_QUOTE" + } + }, + "SINGLE_QUOTE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_QUOTE" } - ] + } } }, "com.amazonaws.quicksight#Theme": { @@ -16938,14 +17427,14 @@ } }, "com.amazonaws.quicksight#ThemeErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INTERNAL_FAILURE", - "name": "INTERNAL_FAILURE" + "type": "enum", + "members": { + "INTERNAL_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_FAILURE" } - ] + } } }, "com.amazonaws.quicksight#ThemeName": { @@ -17014,22 +17503,26 @@ } }, "com.amazonaws.quicksight#ThemeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUICKSIGHT", - "name": "QUICKSIGHT" - }, - { - "value": "CUSTOM", - "name": "CUSTOM" - }, - { - "value": "ALL", - "name": "ALL" + "type": "enum", + "members": { + "QUICKSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICKSIGHT" + } + }, + "CUSTOM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOM" + } + }, + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" } - ] + } } }, "com.amazonaws.quicksight#ThemeVersion": { @@ -17272,6 +17765,7 @@ "MaxRows": { "target": "com.amazonaws.quicksight#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of rows to query Twitter.
", "smithy.api#required": {} } @@ -17521,6 +18015,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -17630,6 +18125,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -17711,6 +18207,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -17857,6 +18354,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -17934,6 +18432,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -18098,6 +18597,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -18194,6 +18694,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -18295,6 +18796,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
" } }, @@ -18341,7 +18843,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates a dataset. This operation doesn't support datasets that include uploaded files as a source.
", + "smithy.api#documentation": "Updates a dataset. This operation doesn't support datasets that include uploaded files as a source. Partial updates are not supported by this operation.
", "smithy.api#http": { "method": "PUT", "uri": "/accounts/{AwsAccountId}/data-sets/{DataSetId}", @@ -18443,6 +18945,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -18566,6 +19069,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -18703,6 +19207,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -18791,6 +19296,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -18919,6 +19425,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
" } }, @@ -18982,6 +19489,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -19099,6 +19607,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -19234,6 +19743,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -19320,6 +19830,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -19389,6 +19900,7 @@ "PublicSharingEnabled": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that indicates whether public sharing is turned on for an Amazon QuickSight account.
" } } @@ -19406,6 +19918,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -19549,6 +20062,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -19661,6 +20175,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -19737,6 +20252,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -19880,6 +20396,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -19992,6 +20509,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -20074,6 +20592,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -20176,6 +20695,7 @@ "UnapplyCustomPermissions": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag that you use to indicate that you want to remove all custom permissions\n from this user. Using this parameter resets the user to the state\n it was in before a custom permissions profile was applied. This parameter defaults to\n NULL and it doesn't accept any other value.
" } }, @@ -20217,6 +20737,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP status of the request.
", "smithy.api#httpResponseCode": {} } @@ -20235,14 +20756,14 @@ "StartFromRow": { "target": "com.amazonaws.quicksight#PositiveInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "A row number to start reading data from.
" } }, "ContainsHeader": { "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "Whether the file has a header row, or the files each have a header row.
" } }, @@ -20275,7 +20796,7 @@ "UserName": { "target": "com.amazonaws.quicksight#UserName", "traits": { - "smithy.api#documentation": "The user's user name. In the output, the value for UserName is\n N/A when the value for IdentityType is IAM\n and the corresponding IAM user is deleted.
The user's user name. This value is required if you are registering a user that will be managed in Amazon QuickSight. In the output, the value for UserName is\n N/A when the value for IdentityType is IAM\n and the corresponding IAM user is deleted.
The active status of user. When you create an Amazon QuickSight user that’s not an IAM\n user or an Active Directory user, that user is inactive until they sign in and provide a\n password.
" } }, @@ -20362,30 +20884,38 @@ } }, "com.amazonaws.quicksight#UserRole": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ADMIN", - "name": "ADMIN" - }, - { - "value": "AUTHOR", - "name": "AUTHOR" - }, - { - "value": "READER", - "name": "READER" - }, - { - "value": "RESTRICTED_AUTHOR", - "name": "RESTRICTED_AUTHOR" - }, - { - "value": "RESTRICTED_READER", - "name": "RESTRICTED_READER" - } - ] + "type": "enum", + "members": { + "ADMIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ADMIN" + } + }, + "AUTHOR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTHOR" + } + }, + "READER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READER" + } + }, + "RESTRICTED_AUTHOR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESTRICTED_AUTHOR" + } + }, + "RESTRICTED_READER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESTRICTED_READER" + } + } } }, "com.amazonaws.quicksight#VersionDescription": { @@ -20400,7 +20930,6 @@ "com.amazonaws.quicksight#VersionNumber": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } diff --git a/codegen/sdk/aws-models/ram.json b/codegen/sdk/aws-models/ram.json index 2bc06581969..be27746cee0 100644 --- a/codegen/sdk/aws-models/ram.json +++ b/codegen/sdk/aws-models/ram.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -115,21 +115,6 @@ }, "com.amazonaws.ram#AmazonResourceSharing": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "RAM", - "arnNamespace": "ram", - "cloudFormationName": "RAM", - "cloudTrailEventSource": "ram.amazonaws.com", - "endpointPrefix": "ram" - }, - "aws.auth#sigv4": { - "name": "ram" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "This is the Resource Access Manager API Reference. This documentation provides\n descriptions and syntax for each of the actions and data types in RAM. RAM is a\n service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts. If you\n have multiple Amazon Web Services accounts, you can use RAM to share those resources with other\n accounts. If you use Organizations to manage your accounts, then you share your resources\n with your organization or organizational units (OUs). For supported resource types, you\n can also share resources with individual Identity and Access Management (IAM) roles an users.
\n \nTo learn more about RAM, see the following resources:
\nThis is the Resource Access Manager API Reference. This documentation provides\n descriptions and syntax for each of the actions and data types in RAM. RAM is a\n service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts. If you\n have multiple Amazon Web Services accounts, you can use RAM to share those resources with other\n accounts. If you use Organizations to manage your accounts, then you share your resources\n with your organization or organizational units (OUs). For supported resource types, you\n can also share resources with individual Identity and Access Management (IAM) roles an users.
\n \nTo learn more about RAM, see the following resources:
\nThis is the Recycle Bin API Reference. This documentation provides \n descriptions and syntax for each of the actions and data types in Recycle Bin.
\n \nRecycle Bin is a resource recovery feature that enables you to restore accidentally \n deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are \n deleted, they are retained in the Recycle Bin for a time period that you specify.
\n \nYou can restore a resource from the Recycle Bin at any time before its retention period \n expires. After you restore a resource from the Recycle Bin, the resource is removed from the \n Recycle Bin, and you can then use it in the same way you use any other resource of that type \n in your account. If the retention period expires and the resource is not restored, the resource \n is permanently deleted from the Recycle Bin and is no longer available for recovery. For more \n information about Recycle Bin, see \n Recycle Bin in the Amazon Elastic Compute Cloud User Guide.
", - "smithy.api#title": "Amazon Recycle Bin" - }, "version": "2021-06-15", "operations": [ { @@ -72,7 +57,22 @@ { "target": "com.amazonaws.rbin#UpdateRule" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "rbin", + "arnNamespace": "rbin", + "cloudFormationName": "Rbin", + "cloudTrailEventSource": "rbin.amazonaws.com", + "endpointPrefix": "rbin" + }, + "aws.auth#sigv4": { + "name": "rbin" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "This is the Recycle Bin API Reference. This documentation provides \n descriptions and syntax for each of the actions and data types in Recycle Bin.
\n \nRecycle Bin is a resource recovery feature that enables you to restore accidentally \n deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are \n deleted, they are retained in the Recycle Bin for a time period that you specify.
\n \nYou can restore a resource from the Recycle Bin at any time before its retention period \n expires. After you restore a resource from the Recycle Bin, the resource is removed from the \n Recycle Bin, and you can then use it in the same way you use any other resource of that type \n in your account. If the retention period expires and the resource is not restored, the resource \n is permanently deleted from the Recycle Bin and is no longer available for recovery. For more \n information about Recycle Bin, see \n Recycle Bin in the Amazon Elastic Compute Cloud User Guide.
", + "smithy.api#title": "Amazon Recycle Bin" + } }, "com.amazonaws.rbin#CreateRule": { "type": "operation", @@ -464,7 +464,6 @@ "com.amazonaws.rbin#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -603,7 +602,6 @@ "com.amazonaws.rbin#RetentionPeriodValue": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 3650 diff --git a/codegen/sdk/aws-models/rds-data.json b/codegen/sdk/aws-models/rds-data.json index 6649e8527f1..6ed5e3acf25 100644 --- a/codegen/sdk/aws-models/rds-data.json +++ b/codegen/sdk/aws-models/rds-data.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.rdsdata#AccessDeniedException": { "type": "structure", @@ -285,7 +285,10 @@ "type": "blob" }, "com.amazonaws.rdsdata#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.rdsdata#BooleanArray": { "type": "list", @@ -297,34 +300,19 @@ } }, "com.amazonaws.rdsdata#BoxedBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.rdsdata#BoxedDouble": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.rdsdata#BoxedFloat": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.rdsdata#BoxedInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.rdsdata#BoxedLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.rdsdata#ColumnMetadata": { "type": "structure", @@ -338,6 +326,7 @@ "type": { "target": "com.amazonaws.rdsdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The type of the column.
" } }, @@ -368,48 +357,56 @@ "isAutoIncrement": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether the column increments automatically.
" } }, "isSigned": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether an integer column is signed.
" } }, "isCurrency": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether the column contains currency values.
" } }, "isCaseSensitive": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether the column is case-sensitive.
" } }, "nullable": { "target": "com.amazonaws.rdsdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A value that indicates whether the column is nullable.
" } }, "precision": { "target": "com.amazonaws.rdsdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The precision value of a decimal number column.
" } }, "scale": { "target": "com.amazonaws.rdsdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The scale value of a decimal number column.
" } }, "arrayBaseColumnType": { "target": "com.amazonaws.rdsdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The type of the column.
" } } @@ -717,12 +714,14 @@ "includeResultMetadata": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether to include metadata in the results.
" } }, "continueAfterTimeout": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether to continue running the statement after \n the call times out. By default, the statement stops running when the call \n times out.
\nFor DDL statements, we recommend continuing to run the statement after \n the call times out. When a DDL statement terminates before it is finished \n running, it can result in errors and possibly corrupted data structures.
\nThe number of records updated by the request.
" } }, @@ -865,7 +865,10 @@ } }, "com.amazonaws.rdsdata#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.rdsdata#InternalServerErrorException": { "type": "structure", @@ -877,7 +880,10 @@ } }, "com.amazonaws.rdsdata#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.rdsdata#LongArray": { "type": "list", @@ -930,19 +936,6 @@ }, "com.amazonaws.rdsdata#RdsDataService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "RDS Data", - "arnNamespace": "rds-data" - }, - "aws.auth#sigv4": { - "name": "rds-data" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these\n statements, you work with the Data Service API.
\nThe Data Service API isn't supported on Amazon Aurora Serverless v2 DB clusters.
\nFor more information about the Data Service API, see\n Using the Data API\n in the Amazon Aurora User Guide.
", - "smithy.api#title": "AWS RDS DataService" - }, "version": "2018-08-01", "operations": [ { @@ -963,7 +956,20 @@ { "target": "com.amazonaws.rdsdata#RollbackTransaction" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "RDS Data", + "arnNamespace": "rds-data" + }, + "aws.auth#sigv4": { + "name": "rds-data" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these\n statements, you work with the Data Service API.
\nThe Data Service API isn't supported on Amazon Aurora Serverless v2 DB clusters.
\nFor more information about the Data Service API, see\n Using the Data API\n in the Amazon Aurora User Guide.
", + "smithy.api#title": "AWS RDS DataService" + } }, "com.amazonaws.rdsdata#Record": { "type": "structure", @@ -1001,7 +1007,10 @@ } }, "com.amazonaws.rdsdata#RecordsUpdated": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.rdsdata#ResultFrame": { "type": "structure", @@ -1029,6 +1038,7 @@ "columnCount": { "target": "com.amazonaws.rdsdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of columns in the result set.
" } }, @@ -1225,6 +1235,7 @@ "numberOfRecordsUpdated": { "target": "com.amazonaws.rdsdata#RecordsUpdated", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of records updated by a SQL statement.
" } } @@ -1251,6 +1262,7 @@ "dbConnectionId": { "target": "com.amazonaws.rdsdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The database connection ID that executed the SQL statement.
" } } @@ -1415,4 +1427,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/rds.json b/codegen/sdk/aws-models/rds.json index 0fe579b549a..e543e56b111 100644 --- a/codegen/sdk/aws-models/rds.json +++ b/codegen/sdk/aws-models/rds.json @@ -2340,8 +2340,6 @@ "MonitoringInterval": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 0, "smithy.api#documentation": "The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off \n collecting Enhanced Monitoring metrics, specify 0. The default is 0.
\nIf MonitoringRoleArn is specified, also set MonitoringInterval\n to a value other than 0.
Valid Values: 0, 1, 5, 10, 15, 30, 60\n
Valid for: Multi-AZ DB clusters only
" } }, @@ -2806,8 +2804,6 @@ "MonitoringInterval": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 0, "smithy.api#documentation": "The interval, in seconds, between points when Enhanced Monitoring metrics are collected for \n the DB instance. To disable collection of Enhanced Monitoring metrics, specify 0. The default is 0.
\nIf MonitoringRoleArn is specified, then you must set MonitoringInterval\n to a value other than 0.
This setting doesn't apply to RDS Custom.
\nValid Values: 0, 1, 5, 10, 15, 30, 60\n
Specifies where automated backups and manual snapshots are stored.
\nPossible values are outposts (Amazon Web Services Outposts) and region (Amazon Web Services Region). The default is region.
For more information, see Working \n with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
" } }, @@ -3089,8 +3083,6 @@ "MonitoringInterval": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 0, "smithy.api#documentation": "The interval, in seconds, between points when Enhanced Monitoring metrics are\n collected for the read replica. To disable collecting Enhanced Monitoring metrics,\n specify 0. The default is 0.
\nIf MonitoringRoleArn is specified, then you must also set MonitoringInterval\n to a value other than 0.
This setting doesn't apply to RDS Custom.
\nValid Values: 0, 1, 5, 10, 15, 30, 60\n
A value that indicates whether the DB proxy endpoint can be used for read/write\n or read-only operations. The default is READ_WRITE. The only role that proxies for RDS for Microsoft SQL Server \n support is READ_WRITE.
The open mode of an Oracle read replica. The default is open-read-only. \n For more information, see Working with Oracle Read Replicas for Amazon RDS \n in the Amazon RDS User Guide.
This attribute is only supported in RDS for Oracle.
\nThe amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point\n to perform seamless scaling before enforcing the timeout action. The default is\n 300.
\nSpecify a value between 10 and 600 seconds.
" } }, @@ -14001,8 +13987,6 @@ "MonitoringInterval": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 0, "smithy.api#documentation": "The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. \n To turn off collecting Enhanced Monitoring metrics, specify 0. The default is 0.
\nIf MonitoringRoleArn is specified, also set MonitoringInterval\n to a value other than 0.
Valid Values: 0, 1, 5, 10, 15, 30, 60\n
Valid for: Multi-AZ DB clusters only
" } }, @@ -17811,8 +17795,6 @@ "CopyTagsToSnapshot": { "target": "com.amazonaws.rds#BooleanOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether to copy all tags from the restored DB cluster to snapshots of the restored DB cluster. The default is not to copy them.
" } }, @@ -18601,8 +18583,6 @@ "BackupTarget": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "region", "smithy.api#documentation": "Specifies where automated backups and manual snapshots are stored for the restored DB instance.
\nPossible values are outposts (Amazon Web Services Outposts) and region (Amazon Web Services Region). The default is region.
For more information, see Working \n with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
" } }, @@ -19281,8 +19261,6 @@ "BackupTarget": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "region", "smithy.api#documentation": "Specifies where automated backups and manual snapshots are stored for the restored DB instance.
\nPossible values are outposts (Amazon Web Services Outposts) and region (Amazon Web Services Region). The default is region.
For more information, see Working \n with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
" } }, @@ -19482,8 +19460,6 @@ "SecondsBeforeTimeout": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 300, "smithy.api#documentation": "The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point\n to perform seamless scaling before enforcing the timeout action. The default is 300.
\nSpecify a value between 60 and 600 seconds.
" } } diff --git a/codegen/sdk/aws-models/redshift-data.json b/codegen/sdk/aws-models/redshift-data.json index 69735362b8e..b880e993b9f 100644 --- a/codegen/sdk/aws-models/redshift-data.json +++ b/codegen/sdk/aws-models/redshift-data.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.redshiftdata#ActiveStatementsExceededException": { "type": "structure", @@ -166,22 +166,13 @@ "type": "blob" }, "com.amazonaws.redshiftdata#BoxedBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.redshiftdata#BoxedDouble": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.redshiftdata#BoxedLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.redshiftdata#CancelStatement": { "type": "operation", @@ -244,18 +235,21 @@ "isCaseSensitive": { "target": "com.amazonaws.redshiftdata#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether the column is case-sensitive.
" } }, "isCurrency": { "target": "com.amazonaws.redshiftdata#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether the column contains currency values.
" } }, "isSigned": { "target": "com.amazonaws.redshiftdata#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether an integer column is signed.
" } }, @@ -274,18 +268,21 @@ "nullable": { "target": "com.amazonaws.redshiftdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A value that indicates whether the column is nullable.
" } }, "precision": { "target": "com.amazonaws.redshiftdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The precision value of a decimal number column.
" } }, "scale": { "target": "com.amazonaws.redshiftdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The scale value of a decimal number column.
" } }, @@ -310,6 +307,7 @@ "length": { "target": "com.amazonaws.redshiftdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The length of the column.
" } }, @@ -425,6 +423,7 @@ "Duration": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time in nanoseconds that the statement ran.
" } }, @@ -455,6 +454,7 @@ "RedshiftPid": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The process identifier from Amazon Redshift.
" } }, @@ -473,18 +473,21 @@ "ResultRows": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Either the number of rows returned from the SQL statement or the number of rows affected.\n If result size is greater than zero, the result rows can be the number of rows affected by SQL statements such as INSERT, UPDATE, DELETE, COPY, and others. \n A -1 indicates the value is null.
The size in bytes of the returned results. A -1 indicates the value is null.
The identifier of the query generated by Amazon Redshift. \n These identifiers are also available in the query column of the STL_QUERY system view.
The maximum number of tables to return in the response. \n If more tables exist than fit in one response, then NextToken is returned to page through the results.
The total number of rows in the result set returned from a query. \n You can use this number to estimate the number of calls to the GetStatementResult operation needed to page through the results.
The maximum number of databases to return in the response. \n If more databases exist than fit in one response, then NextToken is returned to page through the results.
The maximum number of schemas to return in the response. \n If more schemas exist than fit in one response, then NextToken is returned to page through the results.
The maximum number of SQL statements to return in the response. \n If more SQL statements exist than fit in one response, then NextToken is returned to page through the results.
The maximum number of tables to return in the response. \n If more tables exist than fit in one response, then NextToken is returned to page through the results.
You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You\n can run SQL statements, which are committed if the statement succeeds.
\nFor more information about the Amazon Redshift Data API and CLI usage examples, see \n Using the Amazon Redshift Data API in the \n Amazon Redshift Cluster Management Guide.
", - "smithy.api#title": "Redshift Data API Service" - }, "version": "2019-12-20", "operations": [ { @@ -1412,7 +1413,23 @@ { "target": "com.amazonaws.redshiftdata#ListTables" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Redshift Data", + "arnNamespace": "redshift-data", + "cloudFormationName": "RedshiftData", + "cloudTrailEventSource": "redshift-data.amazonaws.com", + "endpointPrefix": "redshift-data" + }, + "aws.auth#sigv4": { + "name": "redshift-data" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You\n can run SQL statements, which are committed if the statement succeeds.
\nFor more information about the Amazon Redshift Data API and CLI usage examples, see \n Using the Amazon Redshift Data API in the \n Amazon Redshift Cluster Management Guide.
", + "smithy.api#title": "Redshift Data API Service" + } }, "com.amazonaws.redshiftdata#ResourceNotFoundException": { "type": "structure", @@ -1678,6 +1695,7 @@ "Duration": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time in nanoseconds that the statement ran.
" } }, @@ -1714,18 +1732,21 @@ "ResultRows": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Either the number of rows returned from the SQL statement or the number of rows affected. \n If result size is greater than zero, the result rows can be the number of rows affected by SQL statements such as INSERT, UPDATE, DELETE, COPY, and others.\n A -1 indicates the value is null.
The size in bytes of the returned results. A -1 indicates the value is null.
The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
" } }, @@ -1805,7 +1826,10 @@ } }, "com.amazonaws.redshiftdata#bool": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/redshift-serverless.json b/codegen/sdk/aws-models/redshift-serverless.json index c5f8b4870eb..70a03b89e97 100644 --- a/codegen/sdk/aws-models/redshift-serverless.json +++ b/codegen/sdk/aws-models/redshift-serverless.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.redshiftserverless#AccessDeniedException": { "type": "structure", @@ -1657,7 +1657,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "An optional parameter that specifies the maximum number of results to return.\n You can use nextToken to get the next page of results.
An optional parameter that specifies the maximum number of results to return.\n You can use nextToken to get the next page of results.
An optional parameter that specifies the maximum number of results to return.\n You can use nextToken to get the next page of results.
An optional parameter that specifies the maximum number of results to return.\n You can use nextToken to get the next page of results.
An optional parameter that specifies the maximum number of results to return.\n You can use nextToken to get the next page of results. The default is 100.
An optional parameter that specifies the maximum number of results to return.\n You can use nextToken to get the next page of results.
This is an interface reference for Amazon Redshift Serverless. \n It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.\n
\nAmazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the \n underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high \n performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you\n focus on using your data to acquire new insights for your business and customers.\n
\n\n To learn more about Amazon Redshift Serverless, \n see What is Amazon Redshift Serverless.\n
", - "smithy.api#title": "Redshift Serverless" - }, "version": "2021-04-21", "operations": [ { @@ -2618,7 +2599,26 @@ { "target": "com.amazonaws.redshiftserverless#WorkgroupResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Redshift Serverless", + "arnNamespace": "redshift-serverless" + }, + "aws.auth#sigv4": { + "name": "redshift-serverless" + }, + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], + "aws.protocols#awsJson1_1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "This is an interface reference for Amazon Redshift Serverless. \n It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.\n
\nAmazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the \n underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high \n performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you\n focus on using your data to acquire new insights for your business and customers.\n
\n\n To learn more about Amazon Redshift Serverless, \n see What is Amazon Redshift Serverless.\n
", + "smithy.api#title": "Redshift Serverless" + } }, "com.amazonaws.redshiftserverless#ResourceNotFoundException": { "type": "structure", @@ -4020,4 +4020,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/redshift.json b/codegen/sdk/aws-models/redshift.json index defe31650d6..df125e2426d 100644 --- a/codegen/sdk/aws-models/redshift.json +++ b/codegen/sdk/aws-models/redshift.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -924,6 +924,7 @@ "Force": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value indicating whether to override an exception if the retention period\n has passed.
" } } @@ -965,14 +966,14 @@ } }, "com.amazonaws.redshift#Boolean": { - "type": "boolean" - }, - "com.amazonaws.redshift#BooleanOptional": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.redshift#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.redshift#BucketNotFoundFault": { "type": "structure", "members": { @@ -1088,12 +1089,14 @@ "AutomatedSnapshotRetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days that automatic cluster snapshots are retained.
" } }, "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The default number of days to retain a manual snapshot. If the value is -1, the\n snapshot is retained indefinitely. This setting doesn't change the retention period\n of existing snapshots.
\nThe value must be either -1 or an integer between 1 and 3,653.
" } }, @@ -1154,24 +1157,28 @@ "AllowVersionUpgrade": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value that, if true, indicates that major version upgrades\n will be applied automatically to the cluster during the maintenance window.
The number of compute nodes in the cluster.
" } }, "PubliclyAccessible": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value that, if true, indicates that the cluster can be\n accessed from a public network.
A boolean value that, if true, indicates that data in the cluster is\n encrypted at rest.
An option that specifies whether to create the cluster with enhanced VPC routing\n enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a\n VPC. For more information, see Enhanced VPC Routing in\n the Amazon Redshift Cluster Management Guide.
\nIf this option is true, enhanced VPC routing is enabled.
Default: false
" } }, @@ -2014,12 +2022,14 @@ "RetentionPeriod": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days that automated snapshots are retained in the destination region\n after they are copied from a source region.
" } }, "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days that automated snapshots are retained in the destination region\n after they are copied from a source region. If the value is -1, the manual snapshot is\n retained indefinitely.
\nThe value must be either -1 or an integer between 1 and 3,653.
" } }, @@ -3702,6 +3712,7 @@ "Amount": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).\n The value must be a positive number.\n
", "smithy.api#required": {} } @@ -3732,12 +3743,14 @@ "TotalBackupSizeInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total amount of storage currently used for snapshots.
" } }, "TotalProvisionedStorageInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total amount of storage currently provisioned.
" } } @@ -3761,6 +3774,7 @@ "AllowPubliclyAccessibleConsumers": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that specifies whether the datashare can be shared to a publicly accessible cluster.
" } }, @@ -3919,12 +3933,14 @@ "TotalDataInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes the total amount of data to be transfered in megabytes.
" } }, "DataTransferredInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes the total amount of data that has been transfered in MB's.
" } }, @@ -4136,6 +4152,7 @@ "SkipFinalClusterSnapshot": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Determines whether a final snapshot of the cluster is created before Amazon Redshift\n deletes the cluster. If true, a final cluster snapshot is not created. If\n false, a final cluster snapshot is created before the cluster is\n deleted.
The FinalClusterSnapshotIdentifier parameter must be\n specified if SkipFinalClusterSnapshot is\n false.
Default: false\n
The port that the database engine is listening on.
" } }, @@ -7479,6 +7497,7 @@ "Port": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port number on which the cluster accepts incoming connections.
" } }, @@ -7584,6 +7603,7 @@ "AllowedAllVPCs": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether all VPCs in the grantee account are allowed access to the cluster.
" } }, @@ -7596,6 +7616,7 @@ "EndpointCount": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of Redshift-managed VPC endpoints created for the authorization.
" } } @@ -7941,6 +7962,7 @@ "Enabled": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value indicating whether the subscription is enabled; true\n indicates that the subscription is enabled.
\n true if logging is on, false if logging is off.
A Boolean option to override an exception if the retention period has already\n passed.
" } } @@ -10373,6 +10397,7 @@ "RetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days to retain automated snapshots in the destination Amazon Web Services Region\n after they are copied from the source Amazon Web Services Region.
\nBy default, this only changes the retention period of copied automated snapshots.
\nIf you decrease the retention period for automated snapshots that are copied to a\n destination Amazon Web Services Region, Amazon Redshift deletes any existing automated snapshots that were\n copied to the destination Amazon Web Services Region and that fall outside of the new retention\n period.
\nConstraints: Must be at least 1 and no more than 35 for automated snapshots.
\nIf you specify the manual option, only newly copied manual snapshots will\n have the new retention period.
If you specify the value of -1 newly copied manual snapshots are retained\n indefinitely.
\nConstraints: The number of days must be either -1 or an integer between 1 and 3,653\n for manual snapshots.
", "smithy.api#required": {} } @@ -10380,6 +10405,7 @@ "Manual": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to apply the snapshot retention period to newly copied manual\n snapshots instead of automated snapshots.
" } } @@ -10538,6 +10564,7 @@ "NumberOfNodes": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of nodes.
" } }, @@ -10821,6 +10848,7 @@ "IsModifiable": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, the parameter can be modified. Some parameters have security\n or operational implications that prevent them from being changed.
The amount charged per the period of time specified by the recurring charge\n frequency.
" } }, @@ -11313,24 +11342,6 @@ }, "com.amazonaws.redshift#RedshiftServiceVersion20121201": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Redshift", - "arnNamespace": "redshift", - "cloudFormationName": "Redshift", - "cloudTrailEventSource": "redshift.amazonaws.com", - "endpointPrefix": "redshift" - }, - "aws.auth#sigv4": { - "name": "redshift" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "\n Overview\n
\nThis is an interface reference for Amazon Redshift. It contains documentation for one of\n the programming or command line interfaces you can use to manage Amazon Redshift clusters.\n Note that Amazon Redshift is asynchronous, which means that some interfaces may require\n techniques, such as polling or asynchronous callback handlers, to determine when a\n command has been applied. In this reference, the parameter descriptions indicate whether\n a change is applied immediately, on the next instance reboot, or during the next\n maintenance window. For a summary of the Amazon Redshift cluster management interfaces, go to\n Using the\n Amazon Redshift Management Interfaces.
\nAmazon Redshift manages all the work of setting up, operating, and scaling a data\n warehouse: provisioning capacity, monitoring and backing up the cluster, and applying\n patches and upgrades to the Amazon Redshift engine. You can focus on using your data to\n acquire new insights for your business and customers.
\nIf you are a first-time user of Amazon Redshift, we recommend that you begin by reading\n the Amazon Redshift Getting Started Guide.
\n\nIf you are a database developer, the Amazon Redshift Database Developer Guide explains how to design,\n build, query, and maintain the databases that make up your data warehouse.
", - "smithy.api#title": "Amazon Redshift", - "smithy.api#xmlNamespace": { - "uri": "http://redshift.amazonaws.com/doc/2012-12-01/" - } - }, "version": "2012-12-01", "operations": [ { @@ -11690,7 +11701,25 @@ { "target": "com.amazonaws.redshift#UpdatePartnerStatus" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Redshift", + "arnNamespace": "redshift", + "cloudFormationName": "Redshift", + "cloudTrailEventSource": "redshift.amazonaws.com", + "endpointPrefix": "redshift" + }, + "aws.auth#sigv4": { + "name": "redshift" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "\n Overview\n
\nThis is an interface reference for Amazon Redshift. It contains documentation for one of\n the programming or command line interfaces you can use to manage Amazon Redshift clusters.\n Note that Amazon Redshift is asynchronous, which means that some interfaces may require\n techniques, such as polling or asynchronous callback handlers, to determine when a\n command has been applied. In this reference, the parameter descriptions indicate whether\n a change is applied immediately, on the next instance reboot, or during the next\n maintenance window. For a summary of the Amazon Redshift cluster management interfaces, go to\n Using the\n Amazon Redshift Management Interfaces.
\nAmazon Redshift manages all the work of setting up, operating, and scaling a data\n warehouse: provisioning capacity, monitoring and backing up the cluster, and applying\n patches and upgrades to the Amazon Redshift engine. You can focus on using your data to\n acquire new insights for your business and customers.
\nIf you are a first-time user of Amazon Redshift, we recommend that you begin by reading\n the Amazon Redshift Getting Started Guide.
\n\nIf you are a database developer, the Amazon Redshift Database Developer Guide explains how to design,\n build, query, and maintain the databases that make up your data warehouse.
", + "smithy.api#title": "Amazon Redshift", + "smithy.api#xmlNamespace": { + "uri": "http://redshift.amazonaws.com/doc/2012-12-01/" + } + } }, "com.amazonaws.redshift#RejectDataShare": { "type": "operation", @@ -11751,18 +11780,21 @@ "Duration": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration of the node reservation in seconds.
" } }, "FixedPrice": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The fixed cost Amazon Redshift charges you for this reserved node.
" } }, "UsagePrice": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The hourly rate Amazon Redshift charges you for this reserved node.
" } }, @@ -11775,6 +11807,7 @@ "NodeCount": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of reserved compute nodes.
" } }, @@ -11850,6 +11883,7 @@ "TargetReservedNodeCount": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The target reserved-node count.
" } }, @@ -11938,6 +11972,7 @@ "SourceReservedNodeCount": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The source reserved-node count in the cluster.
" } }, @@ -11956,6 +11991,7 @@ "TargetReservedNodeCount": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The count of target reserved nodes in the cluster.
" } } @@ -12048,18 +12084,21 @@ "Duration": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration, in seconds, for which the offering will reserve the node.
" } }, "FixedPrice": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The upfront fixed charge you will pay to purchase the specific reserved node\n offering.
" } }, "UsagePrice": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The rate you are charged for each hour the cluster that is using the offering is\n running.
" } }, @@ -12223,6 +12262,7 @@ "ResetAllParameters": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, all parameters in the specified parameter group will be reset\n to their default values.
Default: true\n
A boolean value indicating if the resize operation can be cancelled.
" } } @@ -12859,30 +12900,35 @@ "CurrentRestoreRateInMegaBytesPerSecond": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of megabytes per second being transferred from the backup storage.\n Returns the average rate for a completed backup.\n This field is only updated when you restore to DC2 and DS2 node types.
" } }, "SnapshotSizeInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the set of snapshot data used to restore the cluster.\n This field is only updated when you restore to DC2 and DS2 node types.
" } }, "ProgressInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of megabytes that have been transferred from snapshot storage.\n This field is only updated when you restore to DC2 and DS2 node types.
" } }, "ElapsedTimeInSeconds": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time an in-progress restore has been running, or the amount of time\n it took a completed restore to finish.\n This field is only updated when you restore to DC2 and DS2 node types.
" } }, "EstimatedTimeToCompletionInSeconds": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The estimate of the time remaining before the restore will complete. Returns 0 for\n a completed restore.\n This field is only updated when you restore to DC2 and DS2 node types.
" } } @@ -13205,6 +13251,7 @@ "Force": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to force the revoke action. \n If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
" } } @@ -13735,6 +13782,7 @@ "Port": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port that the cluster is listening on.
" } }, @@ -13783,6 +13831,7 @@ "NumberOfNodes": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of nodes in the cluster.
" } }, @@ -13801,6 +13850,7 @@ "Encrypted": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, the data in the snapshot is encrypted at rest.
A boolean that indicates whether the snapshot data is encrypted using the HSM keys\n of the source cluster. true indicates that the data is encrypted using HSM\n keys.
The size of the complete set of backup data that would be used to restore the\n cluster.
" } }, "ActualIncrementalBackupSizeInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the incremental backup.
" } }, "BackupProgressInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of megabytes that have been transferred to the snapshot\n backup.
" } }, "CurrentBackupRateInMegaBytesPerSecond": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of megabytes per second being transferred to the snapshot backup.\n Returns 0 for a completed backup.
The estimate of the time remaining before the snapshot backup will complete.\n Returns 0 for a completed backup.
The amount of time an in-progress snapshot backup has been running, or the amount\n of time it took a completed backup to finish.
" } }, @@ -13885,6 +13942,7 @@ "EnhancedVpcRouting": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "An option that specifies whether to create the cluster with enhanced VPC routing\n enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a\n VPC. For more information, see Enhanced VPC Routing in\n the Amazon Redshift Cluster Management Guide.
\nIf this option is true, enhanced VPC routing is enabled.
Default: false
" } }, @@ -15129,6 +15187,7 @@ "Amount": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).
" } }, diff --git a/codegen/sdk/aws-models/rekognition.json b/codegen/sdk/aws-models/rekognition.json index 77993b7c945..43c38b21b71 100644 --- a/codegen/sdk/aws-models/rekognition.json +++ b/codegen/sdk/aws-models/rekognition.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -152,6 +152,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value that indicates whether the face has beard or not.
" } }, @@ -216,7 +217,10 @@ } }, "com.amazonaws.rekognition#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.rekognition#BoundingBox": { "type": "structure", @@ -253,7 +257,6 @@ "com.amazonaws.rekognition#BoundingBoxHeight": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -263,7 +266,6 @@ "com.amazonaws.rekognition#BoundingBoxWidth": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -373,6 +375,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time, in milliseconds from the start of the video, that the celebrity was recognized.
" } }, @@ -735,6 +738,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Time, in milliseconds from the beginning of the video, that the content moderation label was detected.
" } }, @@ -886,6 +890,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if the PPE covers the corresponding body part, otherwise false.
" } } @@ -1682,7 +1687,6 @@ "com.amazonaws.rekognition#Degree": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -180, "max": 180 @@ -3328,6 +3332,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value that indicates whether the eyes on the face are open.
" } }, @@ -3348,6 +3353,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value that indicates whether the face is wearing eye glasses or not.
" } }, @@ -3531,6 +3537,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Time, in milliseconds from the start of the video, that the face was detected.
" } }, @@ -3669,10 +3676,7 @@ } }, "com.amazonaws.rekognition#Float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.rekognition#FlowDefinitionArn": { "type": "string", @@ -4675,10 +4679,7 @@ } }, "com.amazonaws.rekognition#HasErrors": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.rekognition#HumanLoopActivationOutput": { "type": "structure", @@ -5043,7 +5044,6 @@ "com.amazonaws.rekognition#InferenceUnits": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5202,10 +5202,7 @@ } }, "com.amazonaws.rekognition#IsLabeled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.rekognition#JobId": { "type": "string", @@ -5383,6 +5380,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Time, in milliseconds from the start of the video, that the label was detected.
" } }, @@ -5735,7 +5733,6 @@ "com.amazonaws.rekognition#ListDatasetEntriesPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5857,7 +5854,6 @@ "com.amazonaws.rekognition#ListDatasetLabelsPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -6037,7 +6033,6 @@ "com.amazonaws.rekognition#ListProjectPoliciesPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 @@ -6235,7 +6230,6 @@ "com.amazonaws.rekognition#MaxDurationInSecondsULong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 120 @@ -6245,7 +6239,6 @@ "com.amazonaws.rekognition#MaxFaces": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 4096 @@ -6255,7 +6248,6 @@ "com.amazonaws.rekognition#MaxFacesToIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -6264,7 +6256,6 @@ "com.amazonaws.rekognition#MaxPixelThreshold": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -6274,7 +6265,6 @@ "com.amazonaws.rekognition#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -6283,7 +6273,6 @@ "com.amazonaws.rekognition#MinCoveragePercentage": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -6328,6 +6317,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value that indicates whether the mouth on the face is open or not.
" } }, @@ -6348,6 +6338,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value that indicates whether the face has mustache or not.
" } }, @@ -6430,7 +6421,6 @@ "com.amazonaws.rekognition#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 4096 @@ -6469,7 +6459,6 @@ "com.amazonaws.rekognition#Percent": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -6482,6 +6471,7 @@ "Index": { "target": "com.amazonaws.rekognition#PersonIndex", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
" } }, @@ -6508,6 +6498,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time, in milliseconds from the start of the video, that the person's path was tracked.
" } }, @@ -6529,7 +6520,10 @@ } }, "com.amazonaws.rekognition#PersonIndex": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.rekognition#PersonMatch": { "type": "structure", @@ -6537,6 +6531,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time, in milliseconds from the beginning of the video, that the person was matched in the video.
" } }, @@ -6971,7 +6966,6 @@ "com.amazonaws.rekognition#ProjectVersionsPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -6981,7 +6975,6 @@ "com.amazonaws.rekognition#ProjectsPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -7427,21 +7420,6 @@ }, "com.amazonaws.rekognition#RekognitionService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Rekognition", - "arnNamespace": "rekognition", - "cloudFormationName": "Rekognition", - "cloudTrailEventSource": "rekognition.amazonaws.com", - "endpointPrefix": "rekognition" - }, - "aws.auth#sigv4": { - "name": "rekognition" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "This is the API Reference for Amazon Rekognition Image, \n Amazon Rekognition Custom Labels,\n Amazon Rekognition Stored Video, \n Amazon Rekognition Streaming Video.\n It provides descriptions of actions, data types, common parameters,\n and common errors.
\n\n\n Amazon Rekognition Image \n
\n\n \n\n\n CompareFaces\n
\n\n CreateCollection\n
\n\n DeleteCollection\n
\n\n DeleteFaces\n
\n\n DescribeCollection\n
\n\n DetectFaces\n
\n\n DetectLabels\n
\n\n DetectText\n
\n\n GetCelebrityInfo\n
\n\n IndexFaces\n
\n\n ListCollections\n
\n\n ListFaces\n
\n\n RecognizeCelebrities\n
\n\n SearchFaces\n
\n\n SearchFacesByImage\n
\n\n Amazon Rekognition Custom Labels \n
\n\n CopyProjectVersion\n
\n\n CreateDataset\n
\n\n CreateProject\n
\n\n CreateProjectVersion\n
\n\n DeleteDataset\n
\n\n DeleteProject\n
\n\n DeleteProjectPolicy\n
\n\n DeleteProjectVersion\n
\n\n DescribeDataset\n
\n\n DescribeProjects\n
\n\n DetectCustomLabels\n
\n\n ListDatasetEntries\n
\n\n ListDatasetLabels\n
\n\n ListProjectPolicies\n
\n\n PutProjectPolicy\n
\n\n StartProjectVersion\n
\n\n StopProjectVersion\n
\n\n UpdateDatasetEntries\n
\n\n Amazon Rekognition Video Stored Video \n
\n\n\n GetContentModeration\n
\n\n GetFaceDetection\n
\n\n GetFaceSearch\n
\n\n GetLabelDetection\n
\n\n GetPersonTracking\n
\n\n GetSegmentDetection\n
\n\n GetTextDetection\n
\n\n StartFaceDetection\n
\n\n StartFaceSearch\n
\n\n StartLabelDetection\n
\n\n StartPersonTracking\n
\n\n StartTextDetection\n
\n\n Amazon Rekognition Video Streaming Video \n
\n\n\n ListStreamProcessors\n
\n\n StartStreamProcessor\n
\n\n StopStreamProcessor\n
\nThis is the API Reference for Amazon Rekognition Image, \n Amazon Rekognition Custom Labels,\n Amazon Rekognition Stored Video, \n Amazon Rekognition Streaming Video.\n It provides descriptions of actions, data types, common parameters,\n and common errors.
\n\n\n Amazon Rekognition Image \n
\n\n \n\n\n CompareFaces\n
\n\n CreateCollection\n
\n\n DeleteCollection\n
\n\n DeleteFaces\n
\n\n DescribeCollection\n
\n\n DetectFaces\n
\n\n DetectLabels\n
\n\n DetectText\n
\n\n GetCelebrityInfo\n
\n\n IndexFaces\n
\n\n ListCollections\n
\n\n ListFaces\n
\n\n RecognizeCelebrities\n
\n\n SearchFaces\n
\n\n SearchFacesByImage\n
\n\n Amazon Rekognition Custom Labels \n
\n\n CopyProjectVersion\n
\n\n CreateDataset\n
\n\n CreateProject\n
\n\n CreateProjectVersion\n
\n\n DeleteDataset\n
\n\n DeleteProject\n
\n\n DeleteProjectPolicy\n
\n\n DeleteProjectVersion\n
\n\n DescribeDataset\n
\n\n DescribeProjects\n
\n\n DetectCustomLabels\n
\n\n ListDatasetEntries\n
\n\n ListDatasetLabels\n
\n\n ListProjectPolicies\n
\n\n PutProjectPolicy\n
\n\n StartProjectVersion\n
\n\n StopProjectVersion\n
\n\n UpdateDatasetEntries\n
\n\n Amazon Rekognition Video Stored Video \n
\n\n\n GetContentModeration\n
\n\n GetFaceDetection\n
\n\n GetFaceSearch\n
\n\n GetLabelDetection\n
\n\n GetPersonTracking\n
\n\n GetSegmentDetection\n
\n\n GetTextDetection\n
\n\n StartFaceDetection\n
\n\n StartFaceSearch\n
\n\n StartLabelDetection\n
\n\n StartPersonTracking\n
\n\n StartTextDetection\n
\n\n Amazon Rekognition Video Streaming Video \n
\n\n\n ListStreamProcessors\n
\n\n StartStreamProcessor\n
\n\n StopStreamProcessor\n
\nThe start time of the detected segment in milliseconds from the start of the video. This value\n is rounded down. For example, if the actual timestamp is 100.6667 milliseconds, Amazon Rekognition Video returns a value of\n 100 millis.
" } }, "EndTimestampMillis": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The end time of the detected segment, in milliseconds, from the start of the video.\n This value is rounded down.
" } }, @@ -8217,6 +8211,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value that indicates whether the face is smiling or not.
" } }, @@ -9336,6 +9331,7 @@ "OptIn": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "\n If this option is set to true, you choose to share data with Rekognition to improve model performance.\n
", "smithy.api#required": {} } @@ -9513,6 +9509,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value that indicates whether the face is wearing sunglasses or not.
" } }, @@ -9709,6 +9706,7 @@ "AutoCreate": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job.\n After training completes, the test dataset is not stored and the training dataset reverts to its previous size.
" } } @@ -9799,6 +9797,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time, in milliseconds from the start of the video, that the text was detected.
" } }, @@ -9859,7 +9858,10 @@ "type": "string" }, "com.amazonaws.rekognition#Timestamp": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.rekognition#TrainingData": { "type": "structure", @@ -9904,7 +9906,6 @@ "com.amazonaws.rekognition#UInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -9913,7 +9914,6 @@ "com.amazonaws.rekognition#ULong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/resiliencehub.json b/codegen/sdk/aws-models/resiliencehub.json index de7f930639d..7431c956db0 100644 --- a/codegen/sdk/aws-models/resiliencehub.json +++ b/codegen/sdk/aws-models/resiliencehub.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.resiliencehub#AccessDeniedException": { "type": "structure", @@ -258,6 +258,7 @@ "resiliencyScore": { "target": "com.amazonaws.resiliencehub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current resiliency score for the application.
" } }, @@ -480,6 +481,7 @@ "resiliencyScore": { "target": "com.amazonaws.resiliencehub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current resiliency score for the application.
" } } @@ -643,6 +645,7 @@ "resiliencyScore": { "target": "com.amazonaws.resiliencehub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current resiliency score for the application.
" } }, @@ -773,25 +776,6 @@ }, "com.amazonaws.resiliencehub#AwsResilienceHub": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "resiliencehub", - "arnNamespace": "resiliencehub", - "cloudFormationName": "Resiliencehub", - "endpointPrefix": "resiliencehub" - }, - "aws.auth#sigv4": { - "name": "resiliencehub" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "*,authorization,date,x-amz-date,x-amz-security-token,x-amz-target,content-type,x-amz-content-sha256,x-amz-user-agent,x-amzn-platform-id,x-amzn-trace-id,amz-sdk-invocation-id,amz-sdk-request" - ] - }, - "smithy.api#documentation": "AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from\n disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates\n into your software development lifecycle. This enables you to uncover resiliency weaknesses,\n ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your\n applications are met, and resolve issues before they are released into production.
", - "smithy.api#title": "AWS Resilience Hub" - }, "version": "2020-04-30", "operations": [ { @@ -911,14 +895,30 @@ { "target": "com.amazonaws.resiliencehub#UpdateResiliencyPolicy" } - ] - }, - "com.amazonaws.resiliencehub#BooleanOptional": { - "type": "boolean", + ], "traits": { - "smithy.api#box": {} + "aws.api#service": { + "sdkId": "resiliencehub", + "arnNamespace": "resiliencehub", + "cloudFormationName": "Resiliencehub", + "endpointPrefix": "resiliencehub" + }, + "aws.auth#sigv4": { + "name": "resiliencehub" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "*,authorization,date,x-amz-date,x-amz-security-token,x-amz-target,content-type,x-amz-content-sha256,x-amz-user-agent,x-amzn-platform-id,x-amzn-trace-id,amz-sdk-invocation-id,amz-sdk-request" + ] + }, + "smithy.api#documentation": "AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from\n disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates\n into your software development lifecycle. This enables you to uncover resiliency weaknesses,\n ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your\n applications are met, and resolve issues before they are released into production.
", + "smithy.api#title": "AWS Resilience Hub" } }, + "com.amazonaws.resiliencehub#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.resiliencehub#ClientToken": { "type": "string", "traits": { @@ -1120,6 +1120,7 @@ "amount": { "target": "com.amazonaws.resiliencehub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The cost amount.
", "smithy.api#required": {} } @@ -1198,7 +1199,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services\n resources structured to prevent and recover Amazon Web Services application disruptions. To describe a\n Resilience Hub application, you provide an application name, resources from one or more–up to\n five–CloudFormation stacks, and an appropriate resiliency policy.
\n\nAfter you create a Resilience Hub application, you publish it so that you can run a resiliency\n assessment on it. You can then use recommendations from the assessment to improve resiliency\n by running another assessment, comparing results, and then iterating the process until you\n achieve your goals for recovery time objective (RTO) and recovery point objective\n (RPO).
", + "smithy.api#documentation": "Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services\n resources structured to prevent and recover Amazon Web Services application disruptions. To describe a\n Resilience Hub application, you provide an application name, resources from one or more–up to\n five–CloudFormation stacks, and an appropriate resiliency policy.
\nAfter you create a Resilience Hub application, you publish it so that you can run a resiliency\n assessment on it. You can then use recommendations from the assessment to improve resiliency\n by running another assessment, comparing results, and then iterating the process until you\n achieve your goals for recovery time objective (RTO) and recovery point objective\n (RPO).
", "smithy.api#http": { "method": "POST", "uri": "/create-app", @@ -2227,12 +2228,14 @@ "achievableRtoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The Recovery Time Objective (RTO) that is achievable, in seconds
" } }, "currentRtoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current RTO, in seconds.
" } }, @@ -2251,6 +2254,7 @@ "currentRpoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current RPO, in seconds.
" } }, @@ -2276,6 +2280,7 @@ "achievableRpoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The Recovery Point Objective (RPO) that is achievable, in seconds.
" } }, @@ -2341,7 +2346,10 @@ } }, "com.amazonaws.resiliencehub#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.resiliencehub#EntityDescription": { "type": "string", @@ -2414,6 +2422,7 @@ "rtoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The Recovery Time Objective (RTO), in seconds.
", "smithy.api#required": {} } @@ -2421,6 +2430,7 @@ "rpoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The Recovery Point Objective (RPO), in seconds.
", "smithy.api#required": {} } @@ -3926,7 +3936,6 @@ "com.amazonaws.resiliencehub#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4216,6 +4225,7 @@ "expectedRtoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The expected RTO after applying the recommended configuration change.
" } }, @@ -4228,6 +4238,7 @@ "expectedRpoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The expected RPO after applying the recommended configuration change.
" } }, @@ -4659,6 +4670,7 @@ "score": { "target": "com.amazonaws.resiliencehub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The outage score for a valid key.
", "smithy.api#required": {} } @@ -4985,10 +4997,7 @@ } }, "com.amazonaws.resiliencehub#RetryAfterSeconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.resiliencehub#S3Location": { "type": "structure", @@ -5022,6 +5031,7 @@ "com.amazonaws.resiliencehub#Seconds": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -5787,7 +5797,7 @@ "policy": { "target": "com.amazonaws.resiliencehub#DisruptionPolicy", "traits": { - "smithy.api#documentation": "The type of resiliency policy to be created, including the recovery time objective (RTO)\n and recovery point objective (RPO) in seconds.
" + "smithy.api#documentation": "The type of resiliency policy to be created, including the recovery time objective (RTO)\n and recovery point objective (RPO) in seconds.
\nIf you do not want to specify regional targets for a regional policy, you must set the\n values of rpoInSecs and rtoInSecs to -1.
The HTTP status code of the common error.
" } }, @@ -571,10 +566,7 @@ } }, "com.amazonaws.resourcegroupstaggingapi#IncludeComplianceDetails": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.resourcegroupstaggingapi#InternalServiceException": { "type": "structure", @@ -606,7 +598,6 @@ "com.amazonaws.resourcegroupstaggingapi#MaxResultsGetComplianceSummary": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -614,7 +605,10 @@ } }, "com.amazonaws.resourcegroupstaggingapi#NonCompliantResources": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.resourcegroupstaggingapi#PaginationToken": { "type": "string", @@ -696,21 +690,6 @@ }, "com.amazonaws.resourcegroupstaggingapi#ResourceGroupsTaggingAPI_20170126": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Resource Groups Tagging API", - "arnNamespace": "tagging", - "cloudFormationName": "ResourceGroupsTaggingAPI", - "cloudTrailEventSource": "resourcegroupstaggingapi.amazonaws.com", - "endpointPrefix": "tagging" - }, - "aws.auth#sigv4": { - "name": "tagging" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "The count of noncompliant resources.
" } } @@ -1097,10 +1092,7 @@ } }, "com.amazonaws.resourcegroupstaggingapi#TagsPerPage": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.resourcegroupstaggingapi#TargetId": { "type": "string", diff --git a/codegen/sdk/aws-models/resource-groups.json b/codegen/sdk/aws-models/resource-groups.json index ec708f25604..776ee884574 100644 --- a/codegen/sdk/aws-models/resource-groups.json +++ b/codegen/sdk/aws-models/resource-groups.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1263,7 +1263,6 @@ "com.amazonaws.resourcegroups#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 diff --git a/codegen/sdk/aws-models/robomaker.json b/codegen/sdk/aws-models/robomaker.json index d15e47aa36e..7133e0914f4 100644 --- a/codegen/sdk/aws-models/robomaker.json +++ b/codegen/sdk/aws-models/robomaker.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -202,20 +202,17 @@ } }, "com.amazonaws.robomaker#BatchTimeoutInSeconds": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.robomaker#Boolean": { - "type": "boolean" - }, - "com.amazonaws.robomaker#BoxedBoolean": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.robomaker#BoxedBoolean": { + "type": "boolean" + }, "com.amazonaws.robomaker#CancelDeploymentJob": { "type": "operation", "input": { @@ -1534,6 +1531,7 @@ "maxJobDurationInSeconds": { "target": "com.amazonaws.robomaker#JobDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When\n maxJobDurationInSeconds is reached, the simulation job will status will\n transition to Completed.
The maximum simulation job duration in seconds.
" } }, "simulationTimeMillis": { "target": "com.amazonaws.robomaker#SimulationTimeMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The simulation job execution duration in milliseconds.
" } }, @@ -2785,10 +2785,7 @@ } }, "com.amazonaws.robomaker#DeploymentTimeout": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.robomaker#DeploymentVersion": { "type": "string", @@ -3703,12 +3700,14 @@ "maxJobDurationInSeconds": { "target": "com.amazonaws.robomaker#JobDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum job duration in seconds. The value must be 8 days (691,200 seconds) or\n less.
" } }, "simulationTimeMillis": { "target": "com.amazonaws.robomaker#SimulationTimeMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The simulation job execution duration in milliseconds.
" } }, @@ -4281,6 +4280,7 @@ "totalFailureCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of failures.
" } }, @@ -4345,6 +4345,7 @@ "finishedCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of finished worlds.
" } }, @@ -4422,15 +4423,11 @@ } }, "com.amazonaws.robomaker#FloorplanCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.robomaker#GPUUnit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -4438,10 +4435,7 @@ } }, "com.amazonaws.robomaker#GenericInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.robomaker#GenericString": { "type": "string", @@ -4556,14 +4550,14 @@ } }, "com.amazonaws.robomaker#Integer": { - "type": "integer" - }, - "com.amazonaws.robomaker#InteriorCountPerFloorplan": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.robomaker#InteriorCountPerFloorplan": { + "type": "integer" + }, "com.amazonaws.robomaker#InternalServerException": { "type": "structure", "members": { @@ -4591,7 +4585,10 @@ } }, "com.amazonaws.robomaker#JobDuration": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.robomaker#Json": { "type": "string", @@ -4639,6 +4636,7 @@ "streamUI": { "target": "com.amazonaws.robomaker#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean indicating whether a streaming session will be configured for the application.\n If True, AWS RoboMaker will configure a connection so you can interact with\n your application as it is running in the simulation. You must configure and launch the\n component. It must have a graphical user interface.
The port number on the simulation job instance to use as a remote connection point.\n
", "smithy.api#required": {} } @@ -5758,6 +5751,7 @@ "applicationPort": { "target": "com.amazonaws.robomaker#NonSystemPort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port number on the application.
", "smithy.api#required": {} } @@ -5765,6 +5759,7 @@ "enableOnPublicIp": { "target": "com.amazonaws.robomaker#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean indicating whether to enable this port mapping on public IP.
" } } @@ -6765,12 +6760,14 @@ "maxJobDurationInSeconds": { "target": "com.amazonaws.robomaker#JobDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum simulation job duration in seconds. The value must be 8 days (691,200\n seconds) or less.
" } }, "simulationTimeMillis": { "target": "com.amazonaws.robomaker#SimulationTimeMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The simulation job execution duration in milliseconds.
" } }, @@ -6917,18 +6914,21 @@ "failedRequestCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of failed simulation job requests.
" } }, "pendingRequestCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of pending simulation job requests.
" } }, "createdRequestCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of created simulation job requests.
" } } @@ -7080,6 +7080,7 @@ "maxJobDurationInSeconds": { "target": "com.amazonaws.robomaker#JobDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum simulation job duration in seconds. The value must be 8 days (691,200\n seconds) or less.
", "smithy.api#required": {} } @@ -7311,12 +7312,14 @@ } }, "com.amazonaws.robomaker#SimulationTimeMillis": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.robomaker#SimulationUnit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 15 @@ -8408,6 +8411,7 @@ "assignPublicIp": { "target": "com.amazonaws.robomaker#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean indicating whether to assign a public IP address.
" } } @@ -8440,6 +8444,7 @@ "assignPublicIp": { "target": "com.amazonaws.robomaker#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean indicating if a public IP was assigned.
" } } @@ -8641,6 +8646,7 @@ "failureCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of failed worlds.
" } } @@ -8775,12 +8781,14 @@ "succeededWorldCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of worlds that were generated.
" } }, "failedWorldCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of worlds that failed.
" } } @@ -8832,21 +8840,6 @@ }, "com.amazonaws.robomaker#robomaker": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "RoboMaker", - "arnNamespace": "robomaker", - "cloudFormationName": "RoboMaker", - "cloudTrailEventSource": "robomaker.amazonaws.com", - "endpointPrefix": "robomaker" - }, - "aws.auth#sigv4": { - "name": "robomaker" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "This section provides documentation for the AWS RoboMaker API operations.
", - "smithy.api#title": "AWS RoboMaker" - }, "version": "2018-06-29", "operations": [ { @@ -9020,7 +9013,22 @@ { "target": "com.amazonaws.robomaker#UpdateWorldTemplate" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "RoboMaker", + "arnNamespace": "robomaker", + "cloudFormationName": "RoboMaker", + "cloudTrailEventSource": "robomaker.amazonaws.com", + "endpointPrefix": "robomaker" + }, + "aws.auth#sigv4": { + "name": "robomaker" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "This section provides documentation for the AWS RoboMaker API operations.
", + "smithy.api#title": "AWS RoboMaker" + } } } } diff --git a/codegen/sdk/aws-models/rolesanywhere.json b/codegen/sdk/aws-models/rolesanywhere.json index e9994149013..e2cd01ee712 100644 --- a/codegen/sdk/aws-models/rolesanywhere.json +++ b/codegen/sdk/aws-models/rolesanywhere.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.rolesanywhere#AccessDeniedException": { "type": "structure", @@ -1238,19 +1238,6 @@ }, "com.amazonaws.rolesanywhere#RolesAnywhere": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "RolesAnywhere", - "arnNamespace": "rolesanywhere", - "cloudFormationName": "RolesAnywhere" - }, - "aws.auth#sigv4": { - "name": "rolesanywhere" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "AWS Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications running outside of AWS to obtain Temporary AWS credentials. Your workloads can use the same IAM policies and roles that you have configured with native AWS applications to access AWS resources. Using IAM Roles Anywhere will eliminate the need to manage long term credentials for workloads running outside of AWS.
\nTo use IAM Roles Anywhere customer workloads will need to use X.509 certificates issued by their Certificate Authority (CA) . The Certificate Authority (CA) needs to be registered with IAM Roles Anywhere as a trust anchor to establish trust between customer PKI and IAM Roles Anywhere. Customers who do not manage their own PKI system can use AWS Certificate Manager Private Certificate Authority (ACM PCA) to create a Certificate Authority and use that to establish trust with IAM Roles Anywhere
\nThis guide describes the IAM rolesanywhere operations that you can call programmatically. For general information about IAM Roles Anywhere see https://docs.aws.amazon.com/\n
", - "smithy.api#title": "IAM Roles Anywhere" - }, "version": "2018-05-10", "operations": [ { @@ -1276,7 +1263,20 @@ { "target": "com.amazonaws.rolesanywhere#TrustAnchor" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "RolesAnywhere", + "arnNamespace": "rolesanywhere", + "cloudFormationName": "RolesAnywhere" + }, + "aws.auth#sigv4": { + "name": "rolesanywhere" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "AWS Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications running outside of AWS to obtain Temporary AWS credentials. Your workloads can use the same IAM policies and roles that you have configured with native AWS applications to access AWS resources. Using IAM Roles Anywhere will eliminate the need to manage long term credentials for workloads running outside of AWS.
\nTo use IAM Roles Anywhere customer workloads will need to use X.509 certificates issued by their Certificate Authority (CA) . The Certificate Authority (CA) needs to be registered with IAM Roles Anywhere as a trust anchor to establish trust between customer PKI and IAM Roles Anywhere. Customers who do not manage their own PKI system can use AWS Certificate Manager Private Certificate Authority (ACM PCA) to create a Certificate Authority and use that to establish trust with IAM Roles Anywhere
\nThis guide describes the IAM rolesanywhere operations that you can call programmatically. For general information about IAM Roles Anywhere see https://docs.aws.amazon.com/\n
", + "smithy.api#title": "IAM Roles Anywhere" + } }, "com.amazonaws.rolesanywhere#ScalarCrlRequest": { "type": "structure", @@ -2053,4 +2053,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/route-53-domains.json b/codegen/sdk/aws-models/route-53-domains.json index 8859304000f..88f7be128b2 100644 --- a/codegen/sdk/aws-models/route-53-domains.json +++ b/codegen/sdk/aws-models/route-53-domains.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -140,6 +140,7 @@ "Price": { "target": "com.amazonaws.route53domains#Price", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The price that you were charged for the operation, in US dollars.
\n\t\tExample value: 12.0
" } } @@ -155,10 +156,7 @@ } }, "com.amazonaws.route53domains#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.route53domains#CancelDomainTransferToAnotherAwsAccount": { "type": "operation", @@ -1492,7 +1490,10 @@ } }, "com.amazonaws.route53domains#CurrentExpiryYear": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.route53domains#DNSSec": { "type": "string" @@ -1927,7 +1928,6 @@ "com.amazonaws.route53domains#DurationInYears": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -2512,6 +2512,7 @@ "SuggestionCount": { "target": "com.amazonaws.route53domains#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of suggested domain names that you want Route 53 to return. Specify a value between 1 and 50.
", "smithy.api#required": {} } @@ -2638,7 +2639,10 @@ } }, "com.amazonaws.route53domains#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.route53domains#InvalidInput": { "type": "structure", @@ -3180,14 +3184,16 @@ "com.amazonaws.route53domains#PageMaxItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 100 } } }, "com.amazonaws.route53domains#Price": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.route53domains#PriceWithCurrency": { "type": "structure", @@ -3195,6 +3201,7 @@ "Price": { "target": "com.amazonaws.route53domains#Price", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The price of a domain, in a specific currency.
", "smithy.api#required": {} } @@ -3462,6 +3469,7 @@ "CurrentExpiryYear": { "target": "com.amazonaws.route53domains#CurrentExpiryYear", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.
", "smithy.api#required": {} } @@ -3595,24 +3603,6 @@ }, "com.amazonaws.route53domains#Route53Domains_v20140515": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Route 53 Domains", - "arnNamespace": "route53domains", - "cloudFormationName": "Route53Domains", - "cloudTrailEventSource": "route53domains.amazonaws.com", - "endpointPrefix": "route53domains" - }, - "aws.auth#sigv4": { - "name": "route53domains" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Route 53 API actions let you register domain names and perform related operations.
", - "smithy.api#title": "Amazon Route 53 Domains", - "smithy.api#xmlNamespace": { - "uri": "https://route53domains.amazonaws.com/doc/2014-05-15/" - } - }, "version": "2014-05-15", "operations": [ { @@ -3705,7 +3695,25 @@ { "target": "com.amazonaws.route53domains#ViewBilling" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Route 53 Domains", + "arnNamespace": "route53domains", + "cloudFormationName": "Route53Domains", + "cloudTrailEventSource": "route53domains.amazonaws.com", + "endpointPrefix": "route53domains" + }, + "aws.auth#sigv4": { + "name": "route53domains" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Route 53 API actions let you register domain names and perform related operations.
", + "smithy.api#title": "Amazon Route 53 Domains", + "smithy.api#xmlNamespace": { + "uri": "https://route53domains.amazonaws.com/doc/2014-05-15/" + } + } }, "com.amazonaws.route53domains#SortCondition": { "type": "structure", diff --git a/codegen/sdk/aws-models/route-53.json b/codegen/sdk/aws-models/route-53.json index bfb7ed6803e..8a908e709c1 100644 --- a/codegen/sdk/aws-models/route-53.json +++ b/codegen/sdk/aws-models/route-53.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -44,24 +44,6 @@ }, "com.amazonaws.route53#AWSDnsV20130401": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Route 53", - "arnNamespace": "route53", - "cloudFormationName": "Route53", - "cloudTrailEventSource": "route53.amazonaws.com", - "endpointPrefix": "route53" - }, - "aws.auth#sigv4": { - "name": "route53" - }, - "aws.protocols#restXml": {}, - "smithy.api#documentation": "Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web\n\t\t\tservice.
", - "smithy.api#title": "Amazon Route 53", - "smithy.api#xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - } - }, "version": "2013-04-01", "operations": [ { @@ -274,7 +256,25 @@ { "target": "com.amazonaws.route53#UpdateTrafficPolicyInstance" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Route 53", + "arnNamespace": "route53", + "cloudFormationName": "Route53", + "cloudTrailEventSource": "route53.amazonaws.com", + "endpointPrefix": "route53" + }, + "aws.auth#sigv4": { + "name": "route53" + }, + "aws.protocols#restXml": {}, + "smithy.api#documentation": "Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web\n\t\t\tservice.
", + "smithy.api#title": "Amazon Route 53", + "smithy.api#xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + } }, "com.amazonaws.route53#AccountLimit": { "type": "structure", @@ -289,6 +289,7 @@ "Value": { "target": "com.amazonaws.route53#LimitValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current value for the limit that is specified by Type.
", "smithy.api#required": {} } @@ -426,7 +427,10 @@ } }, "com.amazonaws.route53#AliasHealthEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.route53#AliasTarget": { "type": "structure", @@ -448,6 +452,7 @@ "EvaluateTargetHealth": { "target": "com.amazonaws.route53#AliasHealthEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "\n Applies only to alias, failover alias, geolocation alias, latency alias, and\n\t\t\t\tweighted alias resource record sets: When\n\t\t\t\tEvaluateTargetHealth is true, an alias resource record set\n\t\t\tinherits the health of the referenced Amazon Web Services resource, such as an ELB load\n\t\t\tbalancer or another resource record set in the hosted zone.
Note the following:
\n\t\tYou can't set EvaluateTargetHealth to true when\n\t\t\t\t\t\tthe alias target is a CloudFront distribution.
If you specify an Elastic Beanstalk environment in DNSName\n\t\t\t\t\t\tand the environment contains an ELB load balancer, Elastic Load Balancing\n\t\t\t\t\t\troutes queries only to the healthy Amazon EC2 instances that are registered\n\t\t\t\t\t\twith the load balancer. (An environment automatically contains an ELB load\n\t\t\t\t\t\tbalancer if it includes more than one Amazon EC2 instance.) If you set\n\t\t\t\t\t\t\tEvaluateTargetHealth to true and either no\n\t\t\t\t\t\tAmazon EC2 instances are healthy or the load balancer itself is unhealthy,\n\t\t\t\t\t\tRoute 53 routes queries to other available resources that are healthy, if\n\t\t\t\t\t\tany.
If the environment contains a single Amazon EC2 instance, there are no\n\t\t\t\t\t\tspecial requirements.
\n\t\t\t\tHealth checking behavior depends on the type of load balancer:
\n\t\t\t\t\t\n Classic Load Balancers: If you\n\t\t\t\t\t\t\t\tspecify an ELB Classic Load Balancer in DNSName,\n\t\t\t\t\t\t\t\tElastic Load Balancing routes queries only to the healthy Amazon EC2\n\t\t\t\t\t\t\t\tinstances that are registered with the load balancer. If you set\n\t\t\t\t\t\t\t\t\tEvaluateTargetHealth to true and\n\t\t\t\t\t\t\t\teither no EC2 instances are healthy or the load balancer itself is\n\t\t\t\t\t\t\t\tunhealthy, Route 53 routes queries to other resources.
\n Application and Network Load\n\t\t\t\t\t\t\t\t\tBalancers: If you specify an ELB Application or\n\t\t\t\t\t\t\t\tNetwork Load Balancer and you set EvaluateTargetHealth\n\t\t\t\t\t\t\t\tto true, Route 53 routes queries to the load balancer\n\t\t\t\t\t\t\t\tbased on the health of the target groups that are associated with\n\t\t\t\t\t\t\t\tthe load balancer:
For an Application or Network Load Balancer to be\n\t\t\t\t\t\t\t\t\t\tconsidered healthy, every target group that contains targets\n\t\t\t\t\t\t\t\t\t\tmust contain at least one healthy target. If any target\n\t\t\t\t\t\t\t\t\t\tgroup contains only unhealthy targets, the load balancer is\n\t\t\t\t\t\t\t\t\t\tconsidered unhealthy, and Route 53 routes queries to other\n\t\t\t\t\t\t\t\t\t\tresources.
\n\t\t\t\t\t\t\t\tA target group that has no registered targets is\n\t\t\t\t\t\t\t\t\t\tconsidered unhealthy.
\n\t\t\t\t\t\t\t\tWhen you create a load balancer, you configure settings for Elastic\n\t\t\t\t\t\t\tLoad Balancing health checks; they're not Route 53 health checks, but\n\t\t\t\t\t\t\tthey perform a similar function. Do not create Route 53 health checks\n\t\t\t\t\t\t\tfor the EC2 instances that you register with an ELB load balancer.\n\t\t\t\t\t\t
\n\t\t\t\t\tThere are no special requirements for setting\n\t\t\t\t\t\t\tEvaluateTargetHealth to true when the alias\n\t\t\t\t\t\ttarget is an S3 bucket.
If the Amazon Web Services resource that you specify in\n\t\t\t\t\t\t\tDNSName is a record or a group of records (for example, a\n\t\t\t\t\t\tgroup of weighted records) but is not another alias record, we recommend\n\t\t\t\t\t\tthat you associate a health check with all of the records in the alias\n\t\t\t\t\t\ttarget. For more information, see What Happens When You Omit Health Checks? in the\n\t\t\t\t\t\t\tAmazon Route 53 Developer Guide.
For more information and examples, see Amazon Route 53 Health Checks\n\t\t\t\tand DNS Failover in the Amazon Route 53 Developer\n\t\t\tGuide.
", "smithy.api#required": {} } @@ -1417,7 +1422,6 @@ "com.amazonaws.route53#CollectionVersion": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3241,10 +3245,7 @@ } }, "com.amazonaws.route53#Disabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.route53#DisassociateVPCComment": { "type": "string" @@ -3398,10 +3399,7 @@ } }, "com.amazonaws.route53#EnableSNI": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.route53#ErrorMessage": { "type": "string" @@ -3418,7 +3416,6 @@ "com.amazonaws.route53#EvaluationPeriods": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3427,7 +3424,6 @@ "com.amazonaws.route53#FailureThreshold": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -3627,6 +3623,7 @@ "Count": { "target": "com.amazonaws.route53#UsageCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current number of entities that you have created of the specified type. For\n\t\t\texample, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the value of\n\t\t\t\tType in the request, the value of Count is the current\n\t\t\tnumber of health checks that you have created using the current account.
The current number of entities that you have created of the specified type. For\n\t\t\texample, if you specified MAX_RRSETS_BY_ZONE for the value of\n\t\t\t\tType in the request, the value of Count is the current\n\t\t\tnumber of records that you have created in the specified hosted zone.
The current number of hosted zones that you can associate with the specified reusable\n\t\t\tdelegation set.
", "smithy.api#required": {} } @@ -4794,10 +4793,7 @@ } }, "com.amazonaws.route53#HealthCheckCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.route53#HealthCheckId": { "type": "string", @@ -4969,7 +4965,6 @@ "com.amazonaws.route53#HealthCheckVersion": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5000,7 +4995,6 @@ "com.amazonaws.route53#HealthThreshold": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 256 @@ -5082,6 +5076,7 @@ "PrivateZone": { "target": "com.amazonaws.route53#IsPrivateZone", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether this is a private hosted zone.
" } } @@ -5091,10 +5086,7 @@ } }, "com.amazonaws.route53#HostedZoneCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.route53#HostedZoneLimit": { "type": "structure", @@ -5109,6 +5101,7 @@ "Value": { "target": "com.amazonaws.route53#LimitValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current value for the limit that is specified by Type.
An integer that specifies how the key is used. For key-signing key (KSK), this value\n\t\t\tis always 257.
" } }, @@ -5530,6 +5521,7 @@ "SigningAlgorithmType": { "target": "com.amazonaws.route53#SigningKeyInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer used to represent the signing algorithm. This value must follow the\n\t\t\tguidelines provided by RFC-8624 Section 3.1.
" } }, @@ -5542,12 +5534,14 @@ "DigestAlgorithmType": { "target": "com.amazonaws.route53#SigningKeyInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer used to represent the delegation signer digest algorithm. This value must\n\t\t\tfollow the guidelines provided by RFC-8624 Section\n\t\t\t3.3.
" } }, "KeyTag": { "target": "com.amazonaws.route53#SigningKeyTag", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer used to identify the DNSSEC record for the domain name. The process used to\n\t\t\tcalculate the value is described in RFC-4034 Appendix B.
" } }, @@ -5679,6 +5673,7 @@ "com.amazonaws.route53#LimitValue": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -6014,6 +6009,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A value that indicates whether more locations remain to be listed after the last\n\t\t\tlocation in this response. If so, the value of IsTruncated is\n\t\t\t\ttrue. To get more values, submit another request and include the values\n\t\t\tof NextContinentCode, NextCountryCode, and\n\t\t\t\tNextSubdivisionCode in the startcontinentcode,\n\t\t\t\tstartcountrycode, and startsubdivisioncode, as\n\t\t\tapplicable.
A flag that indicates whether there are more health checks to be listed. If the\n\t\t\tresponse was truncated, you can get the next group of health checks by submitting\n\t\t\tanother ListHealthChecks request and specifying the value of\n\t\t\t\tNextMarker in the marker parameter.
A flag that indicates whether there are more hosted zones to be listed. If the\n\t\t\tresponse was truncated, you can get the next group of maxitems hosted zones\n\t\t\tby calling ListHostedZonesByName again and specifying the values of\n\t\t\t\tNextDNSName and NextHostedZoneId elements in the\n\t\t\t\tdnsname and hostedzoneid parameters.
A flag indicating whether there are more hosted zones to be listed. If the response\n\t\t\twas truncated, you can get more hosted zones by submitting another\n\t\t\t\tListHostedZones request and specifying the value of\n\t\t\t\tNextMarker in the marker parameter.
A flag that indicates whether more resource record sets remain to be listed. If your\n\t\t\tresults were truncated, you can make a follow-up pagination request by using the\n\t\t\t\tNextRecordName element.
A flag that indicates whether there are more reusable delegation sets to be\n\t\t\tlisted.
", "smithy.api#required": {} } @@ -6922,6 +6923,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag that indicates whether there are more traffic policies to be listed. If the\n\t\t\tresponse was truncated, you can get the next group of traffic policies by submitting\n\t\t\tanother ListTrafficPolicies request and specifying the value of\n\t\t\t\tTrafficPolicyIdMarker in the TrafficPolicyIdMarker request\n\t\t\tparameter.
A flag that indicates whether there are more traffic policy instances to be listed. If\n\t\t\tthe response was truncated, you can get the next group of traffic policy instances by\n\t\t\tsubmitting another ListTrafficPolicyInstancesByHostedZone request and\n\t\t\tspecifying the values of HostedZoneIdMarker,\n\t\t\t\tTrafficPolicyInstanceNameMarker, and\n\t\t\t\tTrafficPolicyInstanceTypeMarker in the corresponding request\n\t\t\tparameters.
A flag that indicates whether there are more traffic policy instances to be listed. If\n\t\t\tthe response was truncated, you can get the next group of traffic policy instances by\n\t\t\tcalling ListTrafficPolicyInstancesByPolicy again and specifying the values\n\t\t\tof the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker,\n\t\t\tand TrafficPolicyInstanceTypeMarker elements in the corresponding request\n\t\t\tparameters.
A flag that indicates whether there are more traffic policy instances to be listed. If\n\t\t\tthe response was truncated, you can get more traffic policy instances by calling\n\t\t\t\tListTrafficPolicyInstances again and specifying the values of the\n\t\t\t\tHostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and\n\t\t\t\tTrafficPolicyInstanceTypeMarker in the corresponding request\n\t\t\tparameters.
A flag that indicates whether there are more traffic policies to be listed. If the\n\t\t\tresponse was truncated, you can get the next group of traffic policies by submitting\n\t\t\tanother ListTrafficPolicyVersions request and specifying the value of\n\t\t\t\tNextMarker in the marker parameter.
The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET\n\t\t\tlimit.
The number of routing controls objects that you want to return with this call. The default value is 500.
" } } @@ -291,6 +292,7 @@ "com.amazonaws.route53recoverycluster#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -339,6 +341,7 @@ "com.amazonaws.route53recoverycluster#RetryAfterSeconds": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Advice to clients on when the call can be safely retried" } }, @@ -468,6 +471,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.route53recoverycluster#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#httpHeader": "Retry-After" } } @@ -480,21 +484,6 @@ }, "com.amazonaws.route53recoverycluster#ToggleCustomerAPI": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Route53 Recovery Cluster", - "arnNamespace": "route53-recovery-cluster", - "cloudFormationName": "Route53RecoveryCluster", - "cloudTrailEventSource": "route53recoverycluster.amazonaws.com", - "endpointPrefix": "route53-recovery-cluster" - }, - "aws.auth#sigv4": { - "name": "route53-recovery-cluster" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.
\n\t\t\tWith Route 53 ARC, you can use routing control with extreme reliability to\n\t\t\trecover applications by rerouting traffic across\n\t\t\tAvailability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted\n\t\t\ton a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you\n\t\t\tcan run API calls to get or update the state of routing controls. To implement failover, you set \n\t\t\tone routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region \n\t\t\tto another.
\n\t\t\t\n Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations \n\t\t\t\tto get or update routing control states in Route 53 ARC. In addition, you must specify the US West (Oregon) Region \n\t\t\t\tfor Route 53 ARC API calls. For example, use the parameter --region us-west-2 with AWS CLI commands.\n\t\t\t\tFor more information, see\n\t\t\t\t\n\t\t\t\t\tGet and update routing control states using the API in the Amazon Route 53 Application Recovery Controller Developer Guide.
This API guide includes information about the API operations for how to get and update routing control states\n\t\t\tin Route 53 ARC. To work with routing control in Route 53 ARC, you must first create the required components (clusters, control \n\t\t\tpanels, and routing controls) using the recovery cluster configuration API.
\n\t\t\tFor more information about working with routing control in Route 53 ARC, see the following:
\n\t\tCreate clusters, control panels, and routing controls by using API operations. For more information, \n\t\t\t\t\tsee the Recovery Control Configuration API Reference Guide for Amazon Route 53 Application Recovery Controller.
\n\t\t\tLearn about the components in recovery control, including clusters,\n\t\t\t\trouting controls, and control panels, and how to work with Route 53 ARC in the Amazon Web Services console. For more \n\t\t\t\tinformation, see \n\t\t\t\t\tRecovery control components in the Amazon Route 53 Application Recovery Controller Developer Guide.
\nRoute 53 ARC also provides readiness checks that continually audit resources to help make sure that your\n\t\t\t\t\tapplications are scaled and ready to handle failover traffic. For more information about\n\t\t\t\t\tthe related API operations, see the Recovery Readiness API Reference Guide for Amazon Route 53 Application Recovery Controller.
\n\t\t\tFor more information about creating resilient applications and preparing for\n\t\t\t\t\trecovery readiness with Route 53 ARC, see the Amazon Route 53 Application Recovery Controller Developer Guide.
\n\t\t\tWelcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.
\n\t\t\tWith Route 53 ARC, you can use routing control with extreme reliability to\n\t\t\trecover applications by rerouting traffic across\n\t\t\tAvailability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted\n\t\t\ton a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you\n\t\t\tcan run API calls to get or update the state of routing controls. To implement failover, you set \n\t\t\tone routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region \n\t\t\tto another.
\n\t\t\t\n Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations \n\t\t\t\tto get or update routing control states in Route 53 ARC. In addition, you must specify the US West (Oregon) Region \n\t\t\t\tfor Route 53 ARC API calls. For example, use the parameter --region us-west-2 with AWS CLI commands.\n\t\t\t\tFor more information, see\n\t\t\t\t\n\t\t\t\t\tGet and update routing control states using the API in the Amazon Route 53 Application Recovery Controller Developer Guide.
This API guide includes information about the API operations for how to get and update routing control states\n\t\t\tin Route 53 ARC. To work with routing control in Route 53 ARC, you must first create the required components (clusters, control \n\t\t\tpanels, and routing controls) using the recovery cluster configuration API.
\n\t\t\tFor more information about working with routing control in Route 53 ARC, see the following:
\n\t\tCreate clusters, control panels, and routing controls by using API operations. For more information, \n\t\t\t\t\tsee the Recovery Control Configuration API Reference Guide for Amazon Route 53 Application Recovery Controller.
\n\t\t\tLearn about the components in recovery control, including clusters,\n\t\t\t\trouting controls, and control panels, and how to work with Route 53 ARC in the Amazon Web Services console. For more \n\t\t\t\tinformation, see \n\t\t\t\t\tRecovery control components in the Amazon Route 53 Application Recovery Controller Developer Guide.
\nRoute 53 ARC also provides readiness checks that continually audit resources to help make sure that your\n\t\t\t\t\tapplications are scaled and ready to handle failover traffic. For more information about\n\t\t\t\t\tthe related API operations, see the Recovery Readiness API Reference Guide for Amazon Route 53 Application Recovery Controller.
\n\t\t\tFor more information about creating resilient applications and preparing for\n\t\t\t\t\trecovery readiness with Route 53 ARC, see the Amazon Route 53 Application Recovery Controller Developer Guide.
\n\t\t\tAn evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.
", "smithy.api#required": {} } @@ -123,6 +124,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.
", "smithy.api#required": {} } @@ -219,6 +221,7 @@ "DefaultControlPanel": { "target": "com.amazonaws.route53recoverycontrolconfig#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag that Amazon Route 53 Application Recovery Controller sets to true to designate the default control panel for a cluster. When you create a cluster, Amazon Route 53 Application Recovery Controller creates a control panel, and sets this flag for that control panel. If you create a control panel yourself, this flag is set to false.
" } }, @@ -231,6 +234,7 @@ "RoutingControlCount": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of routing controls in the control panel.
" } }, @@ -1257,6 +1261,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.
", "smithy.api#required": {} } @@ -1286,6 +1291,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.
", "smithy.api#required": {} } @@ -1351,6 +1357,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "MaxResults" } @@ -1434,6 +1441,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "MaxResults" } @@ -1516,6 +1524,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "MaxResults" } @@ -1599,6 +1608,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "MaxResults" } @@ -1682,6 +1692,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "MaxResults" } @@ -1767,6 +1778,7 @@ "com.amazonaws.route53recoverycontrolconfig#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -1807,6 +1819,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.
", "smithy.api#required": {} } @@ -1857,6 +1870,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.
", "smithy.api#required": {} } @@ -1885,21 +1899,6 @@ }, "com.amazonaws.route53recoverycontrolconfig#Route53RecoveryControlConfig": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Route53 Recovery Control Config", - "arnNamespace": "route53-recovery-control-config", - "cloudFormationName": "Route53RecoveryControlConfig", - "cloudTrailEventSource": "route53recoverycontrolconfig.amazonaws.com", - "endpointPrefix": "route53-recovery-control-config" - }, - "aws.auth#sigv4": { - "name": "route53-recovery-control-config" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Recovery Control Configuration API Reference for Amazon Route 53 Application Recovery Controller
", - "smithy.api#title": "AWS Route53 Recovery Control Config" - }, "version": "2020-11-02", "operations": [ { @@ -1971,7 +1970,22 @@ { "target": "com.amazonaws.route53recoverycontrolconfig#UpdateSafetyRule" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Route53 Recovery Control Config", + "arnNamespace": "route53-recovery-control-config", + "cloudFormationName": "Route53RecoveryControlConfig", + "cloudTrailEventSource": "route53recoverycontrolconfig.amazonaws.com", + "endpointPrefix": "route53-recovery-control-config" + }, + "aws.auth#sigv4": { + "name": "route53-recovery-control-config" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Recovery Control Configuration API Reference for Amazon Route 53 Application Recovery Controller
", + "smithy.api#title": "AWS Route53 Recovery Control Config" + } }, "com.amazonaws.route53recoverycontrolconfig#RoutingControl": { "type": "structure", @@ -2031,6 +2045,7 @@ "Inverted": { "target": "com.amazonaws.route53recoverycontrolconfig#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.
", "smithy.api#required": {} } @@ -2038,6 +2053,7 @@ "Threshold": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.
", "smithy.api#required": {} } @@ -2459,10 +2475,16 @@ } }, "com.amazonaws.route53recoverycontrolconfig#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.route53recoverycontrolconfig#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.route53recoverycontrolconfig#__listOfCluster": { "type": "list", diff --git a/codegen/sdk/aws-models/route53-recovery-readiness.json b/codegen/sdk/aws-models/route53-recovery-readiness.json index c1bd57cb4d5..f56ae1f6b62 100644 --- a/codegen/sdk/aws-models/route53-recovery-readiness.json +++ b/codegen/sdk/aws-models/route53-recovery-readiness.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -616,6 +616,9 @@ "input": { "target": "com.amazonaws.route53recoveryreadiness#DeleteCellRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.route53recoveryreadiness#AccessDeniedException" @@ -708,6 +711,9 @@ "input": { "target": "com.amazonaws.route53recoveryreadiness#DeleteReadinessCheckRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.route53recoveryreadiness#AccessDeniedException" @@ -752,6 +758,9 @@ "input": { "target": "com.amazonaws.route53recoveryreadiness#DeleteRecoveryGroupRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.route53recoveryreadiness#AccessDeniedException" @@ -796,6 +805,9 @@ "input": { "target": "com.amazonaws.route53recoveryreadiness#DeleteResourceSetRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.route53recoveryreadiness#AccessDeniedException" @@ -875,6 +887,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1010,6 +1023,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1195,6 +1209,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1328,6 +1343,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1462,6 +1478,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1707,6 +1724,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1782,6 +1800,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1857,6 +1876,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1932,6 +1952,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -2007,6 +2028,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -2114,6 +2136,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -2209,6 +2232,7 @@ "com.amazonaws.route53recoveryreadiness#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -2550,21 +2574,6 @@ }, "com.amazonaws.route53recoveryreadiness#Route53RecoveryReadiness": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Route53 Recovery Readiness", - "arnNamespace": "route53-recovery-readiness", - "cloudFormationName": "Route53RecoveryReadiness", - "cloudTrailEventSource": "route53recoveryreadiness.amazonaws.com", - "endpointPrefix": "route53-recovery-readiness" - }, - "aws.auth#sigv4": { - "name": "route53-recovery-readiness" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Recovery readiness
", - "smithy.api#title": "AWS Route53 Recovery Readiness" - }, "version": "2019-12-02", "operations": [ { @@ -2663,7 +2672,22 @@ { "target": "com.amazonaws.route53recoveryreadiness#UpdateResourceSet" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Route53 Recovery Readiness", + "arnNamespace": "route53-recovery-readiness", + "cloudFormationName": "Route53RecoveryReadiness", + "cloudTrailEventSource": "route53recoveryreadiness.amazonaws.com", + "endpointPrefix": "route53-recovery-readiness" + }, + "aws.auth#sigv4": { + "name": "route53-recovery-readiness" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Recovery readiness
", + "smithy.api#title": "AWS Route53 Recovery Readiness" + } }, "com.amazonaws.route53recoveryreadiness#RuleResult": { "type": "structure", @@ -2813,6 +2837,9 @@ "input": { "target": "com.amazonaws.route53recoveryreadiness#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.route53recoveryreadiness#InternalServerException" diff --git a/codegen/sdk/aws-models/route53resolver.json b/codegen/sdk/aws-models/route53resolver.json index 4f64e6fc7f4..37b785a3c5d 100644 --- a/codegen/sdk/aws-models/route53resolver.json +++ b/codegen/sdk/aws-models/route53resolver.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -422,7 +422,6 @@ "com.amazonaws.route53resolver#BlockOverrideTtl": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 604800 @@ -449,7 +448,10 @@ } }, "com.amazonaws.route53resolver#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.route53resolver#ConflictException": { "type": "structure", @@ -464,7 +466,10 @@ } }, "com.amazonaws.route53resolver#Count": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.route53resolver#CreateFirewallDomainList": { "type": "operation", @@ -690,7 +695,7 @@ "BlockOverrideTtl": { "target": "com.amazonaws.route53resolver#BlockOverrideTtl", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.
This setting is required if the BlockResponse setting is OVERRIDE.
The maximum number of objects that you want Resolver to return for this request. If more\n objects are available, in the response, Resolver provides a\n NextToken value that you can use in a subsequent call to get the next batch of objects.
If you don't specify a value for MaxResults, Resolver returns up to 100 objects.
The maximum number of objects that you want Resolver to return for this request. If more\n objects are available, in the response, Resolver provides a\n NextToken value that you can use in a subsequent call to get the next batch of objects.
If you don't specify a value for MaxResults, Resolver returns up to 100 objects.
The maximum number of objects that you want Resolver to return for this request. If more\n objects are available, in the response, Resolver provides a\n NextToken value that you can use in a subsequent call to get the next batch of objects.
If you don't specify a value for MaxResults, Resolver returns up to 100 objects.
The setting that determines the processing order of the rule group among the rule\n\t\t\tgroups that are associated with a single VPC. DNS Firewall filters VPC traffic starting\n\t\t\tfrom the rule group with the lowest numeric priority setting.
" } }, @@ -3587,7 +3587,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of objects that you want Resolver to return for this request. If more\n objects are available, in the response, Resolver provides a\n NextToken value that you can use in a subsequent call to get the next batch of objects.
If you don't specify a value for MaxResults, Resolver returns up to 100 objects.
The maximum number of objects that you want Resolver to return for this request. If more\n objects are available, in the response, Resolver provides a\n NextToken value that you can use in a subsequent call to get the next batch of objects.
If you don't specify a value for MaxResults, Resolver returns up to 100 objects.
Optional additional filter for the rules to retrieve.
\nThe setting that determines the processing order of the rules in a rule group. DNS Firewall \n processes the rules in a rule group by order of priority, starting from the lowest setting.
" } }, @@ -3742,7 +3742,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum number of objects that you want Resolver to return for this request. If more\n objects are available, in the response, Resolver provides a\n NextToken value that you can use in a subsequent call to get the next batch of objects.
If you don't specify a value for MaxResults, Resolver returns up to 100 objects.
The maximum number of Resolver configurations that you want to return in the response to \n\t\t\ta ListResolverConfigs request. If you don't specify a value for MaxResults, \n\t\t\tup to 100 Resolver configurations are returned.
\n Optional: An integer that specifies the maximum number of DNSSEC configuration results that you want Amazon Route 53 to return. \n\t\t\tIf you don't specify a value for MaxResults, Route 53 returns up to 100 configuration per page.
The maximum number of IP addresses that you want to return in the response to a ListResolverEndpointIpAddresses request. \n\t\t\tIf you don't specify a value for MaxResults, Resolver returns up to 100 IP addresses.
The maximum number of Resolver endpoints that you want to return in the response to a ListResolverEndpoints request. \n\t\t\tIf you don't specify a value for MaxResults, Resolver returns up to 100 Resolver endpoints.
The total number of query logging associations that were created by the current account in the specified Region. This count can differ from the \n\t\t\tnumber of associations that are returned in a ListResolverQueryLogConfigAssociations response, depending on the values that you specify \n\t\t\tin the request.
The total number of query logging associations that were created by the current account in the specified Region and that match the filters \n\t\t\tthat were specified in the ListResolverQueryLogConfigAssociations request. For the total number of associations that were created by the \n\t\t\tcurrent account in the specified Region, see TotalCount.
The maximum number of query logging configurations that you want to return in the response to a ListResolverQueryLogConfigs request. \n\t\t\tIf you don't specify a value for MaxResults, Resolver returns up to 100 query logging configurations.
The total number of query logging configurations that were created by the current account in the specified Region. This count can differ from the \n\t\t\tnumber of query logging configurations that are returned in a ListResolverQueryLogConfigs response, depending on the values that you specify \n\t\t\tin the request.
The total number of query logging configurations that were created by the current account in the specified Region and that match the filters \n\t\t\tthat were specified in the ListResolverQueryLogConfigs request. For the total number of query logging configurations that were created by the \n\t\t\tcurrent account in the specified Region, see TotalCount.
The maximum number of rule associations that you want to return in the response to a ListResolverRuleAssociations request. \n\t\t\tIf you don't specify a value for MaxResults, Resolver returns up to 100 rule associations.
The maximum number of Resolver rules that you want to return in the response to a ListResolverRules request. \n\t\t\tIf you don't specify a value for MaxResults, Resolver returns up to 100 Resolver rules.
The maximum number of tags that you want to return in the response to a ListTagsForResource request. \n\t\t\tIf you don't specify a value for MaxResults, Resolver returns up to 100 tags.
Whether the PutResolverQueryLogConfigPolicy request was successful.
Whether the PutResolverRulePolicy request was successful.
The number of VPCs that are associated with the query logging configuration.
" } }, @@ -6020,7 +6022,7 @@ "Port": { "target": "com.amazonaws.route53resolver#Port", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The port at Ip that you want to forward DNS queries to.
The setting that determines the processing order of the rule group among the rule\n\t\t\tgroups that you associate with the specified VPC. DNS Firewall filters VPC traffic\n\t\t\tstarting from the rule group with the lowest numeric priority setting.
\nYou must specify a unique priority for each rule group that you associate with a single VPC. \n To make it easier to insert rule groups later, leave space between the numbers, for example, use 100, 200, and so on. You \n can change the priority setting for a rule group association after you create it.
" } }, @@ -6397,7 +6396,7 @@ "Priority": { "target": "com.amazonaws.route53resolver#Priority", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The setting that determines the processing order of the rule in the rule group. DNS Firewall \n processes the rules in a rule group by order of priority, starting from the lowest setting.
\nYou must specify a unique priority for each rule in a rule group. \n To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You \n can change the priority setting for the rules in a rule group at any time.
" } }, @@ -6428,7 +6427,7 @@ "BlockOverrideTtl": { "target": "com.amazonaws.route53resolver#BlockOverrideTtl", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.
Specifies the percentage of user sessions to use for RUM data collection. Choosing a higher percentage gives you\n more data but also incurs more costs.
\nThe number you specify is the percentage of user sessions that will be used.
\nIf you omit this parameter, the default of 10 is used.
" } }, @@ -614,6 +615,7 @@ "MaxResults": { "target": "com.amazonaws.rum#MaxQueryResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in one operation.
" } }, @@ -854,6 +856,7 @@ "com.amazonaws.rum#MaxQueryResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -993,10 +996,33 @@ } }, "com.amazonaws.rum#QueryTimestamp": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.rum#RUM": { "type": "service", + "version": "2018-05-10", + "operations": [ + { + "target": "com.amazonaws.rum#ListTagsForResource" + }, + { + "target": "com.amazonaws.rum#PutRumEvents" + }, + { + "target": "com.amazonaws.rum#TagResource" + }, + { + "target": "com.amazonaws.rum#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.rum#AppMonitorResource" + } + ], "traits": { "aws.api#service": { "sdkId": "RUM", @@ -1034,27 +1060,7 @@ }, "smithy.api#documentation": "With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side data about \n your web application performance from actual user sessions in real time. The data collected includes page load \n times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and \n also see breakdowns by the browsers and devices that your customers use.
\n \nYou can use the collected data to quickly identify and debug client-side performance issues. CloudWatch \n RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error \n messages, stack traces, and user sessions. You can also use RUM to \n understand the range of end-user impact including the number of users, geolocations, and browsers used.
", "smithy.api#title": "CloudWatch RUM" - }, - "version": "2018-05-10", - "operations": [ - { - "target": "com.amazonaws.rum#ListTagsForResource" - }, - { - "target": "com.amazonaws.rum#PutRumEvents" - }, - { - "target": "com.amazonaws.rum#TagResource" - }, - { - "target": "com.amazonaws.rum#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.rum#AppMonitorResource" - } - ] + } }, "com.amazonaws.rum#ResourceNotFoundException": { "type": "structure", @@ -1152,6 +1158,7 @@ "com.amazonaws.rum#SessionSampleRate": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 @@ -1342,6 +1349,7 @@ "After": { "target": "com.amazonaws.rum#QueryTimestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The beginning of the time range to retrieve performance events from.
", "smithy.api#required": {} } @@ -1349,6 +1357,7 @@ "Before": { "target": "com.amazonaws.rum#QueryTimestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The end of the time range to retrieve performance events from. If you omit this, the time \n range extends to the time that this operation is performed.
" } } @@ -1533,4 +1542,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/s3-control.json b/codegen/sdk/aws-models/s3-control.json index 0b1a652914f..c0a8680e52b 100644 --- a/codegen/sdk/aws-models/s3-control.json +++ b/codegen/sdk/aws-models/s3-control.json @@ -5220,6 +5220,18 @@ "traits": { "smithy.api#enumValue": "GetObject-PartNumber" } + }, + "HeadObjectRange": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HeadObject-Range" + } + }, + "HeadObjectPartNumber": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HeadObject-PartNumber" + } } } }, @@ -5324,6 +5336,24 @@ "traits": { "smithy.api#enumValue": "GetObject" } + }, + "HeadObject": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HeadObject" + } + }, + "ListObjects": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ListObjects" + } + }, + "ListObjectsV2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ListObjectsV2" + } } } }, diff --git a/codegen/sdk/aws-models/s3.json b/codegen/sdk/aws-models/s3.json index 2bc44309336..5cfc081db3a 100644 --- a/codegen/sdk/aws-models/s3.json +++ b/codegen/sdk/aws-models/s3.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -38,6 +38,7 @@ "DaysAfterInitiation": { "target": "com.amazonaws.s3#DaysAfterInitiation", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the number of days after which Amazon S3 aborts an incomplete multipart\n upload.
" } } @@ -184,7 +185,10 @@ "type": "string" }, "com.amazonaws.s3#AllowQuotedRecordDelimiter": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#AllowedHeader": { "type": "string" @@ -215,26 +219,6 @@ }, "com.amazonaws.s3#AmazonS3": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "S3", - "arnNamespace": "s3", - "cloudFormationName": "S3", - "cloudTrailEventSource": "s3.amazonaws.com", - "endpointPrefix": "s3" - }, - "aws.auth#sigv4": { - "name": "s3" - }, - "aws.protocols#restXml": { - "noErrorWrapping": true - }, - "smithy.api#documentation": "", - "smithy.api#title": "Amazon Simple Storage Service", - "smithy.api#xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - }, "version": "2006-03-01", "operations": [ { @@ -516,7 +500,27 @@ { "target": "com.amazonaws.s3#WriteGetObjectResponse" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "S3", + "arnNamespace": "s3", + "cloudFormationName": "S3", + "cloudTrailEventSource": "s3.amazonaws.com", + "endpointPrefix": "s3" + }, + "aws.auth#sigv4": { + "name": "s3" + }, + "aws.protocols#restXml": { + "noErrorWrapping": true + }, + "smithy.api#documentation": "", + "smithy.api#title": "Amazon Simple Storage Service", + "smithy.api#xmlNamespace": { + "uri": "http://s3.amazonaws.com/doc/2006-03-01/" + } + } }, "com.amazonaws.s3#AnalyticsAndOperator": { "type": "structure", @@ -756,7 +760,10 @@ } }, "com.amazonaws.s3#BucketKeyEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#BucketLifecycleConfiguration": { "type": "structure", @@ -940,16 +947,28 @@ } }, "com.amazonaws.s3#BypassGovernanceRetention": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#BytesProcessed": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#BytesReturned": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#BytesScanned": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#CORSConfiguration": { "type": "structure", @@ -1014,6 +1033,7 @@ "MaxAgeSeconds": { "target": "com.amazonaws.s3#MaxAgeSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time in seconds that your browser is to cache the preflight response for the\n specified resource.
" } } @@ -1070,6 +1090,7 @@ "AllowQuotedRecordDelimiter": { "target": "com.amazonaws.s3#AllowQuotedRecordDelimiter", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies that CSV field values may contain quoted record delimiters and such records\n should be allowed. Default value is FALSE. Setting this value to TRUE may lower\n performance.
" } } @@ -1328,6 +1349,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -1494,6 +1516,7 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Part number that identifies the part. This is a positive integer between 1 and\n 10,000.
" } } @@ -1548,7 +1571,10 @@ } }, "com.amazonaws.s3#ConfirmRemoveSelfBucketAccess": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#ContentDisposition": { "type": "string" @@ -1560,7 +1586,10 @@ "type": "string" }, "com.amazonaws.s3#ContentLength": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#ContentMD5": { "type": "string" @@ -1669,6 +1698,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the copied object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -1900,6 +1930,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS). Setting this header to true causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with a COPY action doesn’t affect bucket-level settings for S3 Bucket Key.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -2214,6 +2245,7 @@ "ObjectLockEnabledForBucket": { "target": "com.amazonaws.s3#ObjectLockEnabledForBucket", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether you want S3 Object Lock to be enabled for the new bucket.
", "smithy.api#httpHeader": "x-amz-bucket-object-lock-enabled" } @@ -2317,6 +2349,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -2501,6 +2534,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS). Setting this header to true causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with an object action doesn’t affect bucket-level settings for S3 Bucket Key.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -2565,10 +2599,16 @@ } }, "com.amazonaws.s3#Days": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#DaysAfterInitiation": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#DefaultRetention": { "type": "structure", @@ -2582,12 +2622,14 @@ "Days": { "target": "com.amazonaws.s3#Days", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days that you want to specify for the default retention period. Must be\n used with Mode.
The number of years that you want to specify for the default retention period. Must be\n used with Mode.
Element to enable quiet mode for the request. When you add this element, you must set\n its value to true.
" } } @@ -2624,6 +2667,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "Deletes the S3 bucket. All objects (including all object versions and delete markers) in\n the bucket must be deleted before the bucket itself can be deleted.
\n \n\n Related Resources\n
\n\n CreateBucket\n
\n\n DeleteObject\n
\nDeletes an analytics configuration for the bucket (specified by the analytics\n configuration ID).
\nTo use this operation, you must have permissions to perform the\n s3:PutAnalyticsConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis.
\n\nThe following operations are related to\n DeleteBucketAnalyticsConfiguration:
Deletes the cors configuration information set for the bucket.
To use this operation, you must have permission to perform the\n s3:PutBucketCORS action. The bucket owner has this permission by default\n and can grant this permission to others.
For information about cors, see Enabling\n Cross-Origin Resource Sharing in the Amazon S3 User Guide.
\n Related Resources:\n
\n\n PutBucketCors\n
\n\n RESTOPTIONSobject\n
\nThis implementation of the DELETE action removes default encryption from the bucket.\n For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the\n Amazon S3 User Guide.
\nTo use this operation, you must have permissions to perform the\n s3:PutEncryptionConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3\n Resources in the Amazon S3 User Guide.
\n Related Resources\n
\n\n PutBucketEncryption\n
\n\n GetBucketEncryption\n
\nDeletes the S3 Intelligent-Tiering configuration from the specified bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to\n DeleteBucketIntelligentTieringConfiguration include:
Deletes an inventory configuration (identified by the inventory ID) from the\n bucket.
\nTo use this operation, you must have permissions to perform the\n s3:PutInventoryConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
\nOperations related to DeleteBucketInventoryConfiguration include:
Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the\n lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your\n objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of\n rules contained in the deleted lifecycle configuration.
\nTo use this operation, you must have permission to perform the\n s3:PutLifecycleConfiguration action. By default, the bucket owner has this\n permission and the bucket owner can grant this permission to others.
There is usually some time lag before lifecycle configuration deletion is fully\n propagated to all the Amazon S3 systems.
\n\nFor more information about the object expiration, see Elements to\n Describe Lifecycle Actions.
\nRelated actions include:
\nDeletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the\n metrics configuration ID) from the bucket. Note that this doesn't include the daily storage\n metrics.
\n\n To use this operation, you must have permissions to perform the\n s3:PutMetricsConfiguration action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.
\nThe following operations are related to\n DeleteBucketMetricsConfiguration:
Removes OwnershipControls for an Amazon S3 bucket. To use this operation, you\n must have the s3:PutBucketOwnershipControls permission. For more information\n about Amazon S3 permissions, see Specifying\n Permissions in a Policy.
For information about Amazon S3 Object Ownership, see Using Object Ownership.
\nThe following operations are related to\n DeleteBucketOwnershipControls:
This implementation of the DELETE action uses the policy subresource to delete the\n policy of a specified bucket. If you are using an identity other than the root user of the\n Amazon Web Services account that owns the bucket, the calling identity must have the\n DeleteBucketPolicy permissions on the specified bucket and belong to the\n bucket owner's account to use this operation.
If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a 403\n Access Denied error. If you have the correct permissions, but you're not using an\n identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not\n Allowed error.
As a security precaution, the root user of the Amazon Web Services account that owns a bucket can\n always use this operation, even if the policy explicitly denies the root user the\n ability to perform this action.
\nFor more information about bucket policies, see Using Bucket Policies and\n UserPolicies.
\nThe following operations are related to DeleteBucketPolicy\n
\n CreateBucket\n
\n\n DeleteObject\n
\nDeletes the replication configuration from the bucket.
\nTo use this operation, you must have permissions to perform the\n s3:PutReplicationConfiguration action. The bucket owner has these\n permissions by default and can grant it to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
It can take a while for the deletion of a replication configuration to fully\n propagate.
\nFor information about replication configuration, see Replication in the Amazon S3 User Guide.
\n\nThe following operations are related to DeleteBucketReplication:
\n PutBucketReplication\n
\n\n GetBucketReplication\n
\nDeletes the tags from the bucket.
\n\nTo use this operation, you must have permission to perform the\n s3:PutBucketTagging action. By default, the bucket owner has this\n permission and can grant this permission to others.
The following operations are related to DeleteBucketTagging:
\n GetBucketTagging\n
\n\n PutBucketTagging\n
\nThis action removes the website configuration for a bucket. Amazon S3 returns a 200\n OK response upon successfully deleting a website configuration on the specified\n bucket. You will get a 200 OK response if the website configuration you are\n trying to delete does not exist on the bucket. Amazon S3 returns a 404 response if\n the bucket specified in the request does not exist.
This DELETE action requires the S3:DeleteBucketWebsite permission. By\n default, only the bucket owner can delete the website configuration attached to a bucket.\n However, bucket owners can grant other users permission to delete the website configuration\n by writing a bucket policy granting them the S3:DeleteBucketWebsite\n permission.
For more information about hosting websites, see Hosting Websites on Amazon S3.
\n\nThe following operations are related to DeleteBucketWebsite:
\n GetBucketWebsite\n
\n\n PutBucketWebsite\n
\nSpecifies whether the object is (true) or is not (false) the latest version of an\n object.
" } }, @@ -3188,6 +3274,7 @@ "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the versioned object that was permanently deleted was (true) or was\n not (false) a delete marker.
", "smithy.api#httpHeader": "x-amz-delete-marker" } @@ -3249,6 +3336,7 @@ "BypassGovernanceRetention": { "target": "com.amazonaws.s3#BypassGovernanceRetention", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process\n this operation. To use this header, you must have the s3:BypassGovernanceRetention\n permission.
Specifies whether you want to delete this object even if it has a Governance-type Object\n Lock in place. To use this header, you must have the s3:BypassGovernanceRetention\n permission.
Removes the PublicAccessBlock configuration for an Amazon S3 bucket. To use this\n operation, you must have the s3:PutBucketPublicAccessBlock permission. For\n more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
The following operations are related to DeletePublicAccessBlock:
\n GetPublicAccessBlock\n
\n\n PutPublicAccessBlock\n
\nSpecifies whether the versioned object that was permanently deleted was (true) or was\n not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or\n not (false) a delete marker was created.
" } }, @@ -3571,7 +3664,10 @@ "type": "string" }, "com.amazonaws.s3#EnableRequestProgress": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#EncodingType": { "type": "string", @@ -3627,7 +3723,10 @@ } }, "com.amazonaws.s3#End": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#EndEvent": { "type": "structure", @@ -3846,7 +3945,10 @@ } }, "com.amazonaws.s3#ExpiredObjectDeleteMarker": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#Expires": { "type": "timestamp" @@ -3875,7 +3977,10 @@ } }, "com.amazonaws.s3#FetchOwner": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#FieldDelimiter": { "type": "string" @@ -5144,6 +5249,7 @@ "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the object retrieved was (true) or was not\n (false) a delete marker. If false, this response header does\n not appear in the response.
The size of the object in bytes.
" } } @@ -5206,6 +5313,7 @@ "TotalPartsCount": { "target": "com.amazonaws.s3#PartsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of parts.
", "smithy.api#xmlName": "PartsCount" } @@ -5225,12 +5333,14 @@ "MaxParts": { "target": "com.amazonaws.s3#MaxParts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of parts allowed in the response.
" } }, "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the returned list of parts is truncated. A value of\n true indicates that the list was truncated. A list can be truncated if the\n number of parts exceeds the limit returned in the MaxParts element.
Sets the maximum number of parts to return.
", "smithy.api#httpHeader": "x-amz-max-parts" } @@ -5456,6 +5567,7 @@ "Body": { "target": "com.amazonaws.s3#StreamingBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "Object data.
", "smithy.api#httpPayload": {} } @@ -5463,6 +5575,7 @@ "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If\n false, this response header does not appear in the response.
", "smithy.api#httpHeader": "x-amz-delete-marker" } @@ -5498,6 +5611,7 @@ "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size of the body in bytes.
", "smithy.api#httpHeader": "Content-Length" } @@ -5540,6 +5654,7 @@ "MissingMeta": { "target": "com.amazonaws.s3#MissingMeta", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This is set to the number of metadata entries not returned in x-amz-meta\n headers. This can happen if you create metadata using an API like SOAP that supports more\n flexible metadata than the REST API. For example, using SOAP, you can create metadata whose\n values are not legal HTTP headers.
Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -5672,6 +5788,7 @@ "PartsCount": { "target": "com.amazonaws.s3#PartsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The count of parts this object has. This value is only returned if you specify partNumber\n in your request and the object was uploaded as a multipart upload.
The number of tags, if any, on the object.
", "smithy.api#httpHeader": "x-amz-tagging-count" } @@ -5839,6 +5957,7 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Part number of the object being read. This is a positive integer between 1 and 10,000.\n Effectively performs a 'ranged' GET request for the part specified. Useful for downloading\n just a part of an object.
", "smithy.api#httpQuery": "partNumber" } @@ -5860,7 +5979,10 @@ } }, "com.amazonaws.s3#GetObjectResponseStatusCode": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#GetObjectRetention": { "type": "operation", @@ -6035,6 +6157,7 @@ "Body": { "target": "com.amazonaws.s3#StreamingBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "A Bencoded dictionary as defined by the BitTorrent specification
", "smithy.api#httpPayload": {} } @@ -6239,6 +6362,9 @@ "input": { "target": "com.amazonaws.s3#HeadBucketRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.s3#NotFound" @@ -6361,6 +6487,7 @@ "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If\n false, this response header does not appear in the response.
", "smithy.api#httpHeader": "x-amz-delete-marker" } @@ -6403,6 +6530,7 @@ "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size of the body in bytes.
", "smithy.api#httpHeader": "Content-Length" } @@ -6445,6 +6573,7 @@ "MissingMeta": { "target": "com.amazonaws.s3#MissingMeta", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This is set to the number of metadata entries not returned in x-amz-meta\n headers. This can happen if you create metadata using an API like SOAP that supports more\n flexible metadata than the REST API. For example, using SOAP, you can create metadata whose\n values are not legal HTTP headers.
Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -6570,6 +6700,7 @@ "PartsCount": { "target": "com.amazonaws.s3#PartsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The count of parts this object has. This value is only returned if you specify partNumber\n in your request and the object was uploaded as a multipart upload.
Part number of the object being read. This is a positive integer between 1 and 10,000.\n Effectively performs a 'ranged' HEAD request for the part specified. Useful querying about\n the size of the part and the number of parts in this object.
", "smithy.api#httpQuery": "partNumber" } @@ -6883,7 +7015,10 @@ } }, "com.amazonaws.s3#IntelligentTieringDays": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#IntelligentTieringFilter": { "type": "structure", @@ -6954,6 +7089,7 @@ "IsEnabled": { "target": "com.amazonaws.s3#IsEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the inventory is enabled or disabled. If set to True, an\n inventory list is generated. If set to False, no inventory list is\n generated.
Indicates the lifetime, in days, of the objects that are subject to the rule. The value\n must be a non-zero positive integer.
" } }, "ExpiredObjectDeleteMarker": { "target": "com.amazonaws.s3#ExpiredObjectDeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set\n to true, the delete marker will be expired; if set to false the policy takes no action.\n This cannot be specified with Days or Date in a Lifecycle Expiration Policy.
" } } @@ -7447,12 +7600,14 @@ "ObjectSizeGreaterThan": { "target": "com.amazonaws.s3#ObjectSizeGreaterThanBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Minimum object size to which the rule applies.
" } }, "ObjectSizeLessThan": { "target": "com.amazonaws.s3#ObjectSizeLessThanBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum object size to which the rule applies.
" } } @@ -7525,6 +7680,7 @@ "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the returned list of analytics configurations is complete. A value of\n true indicates that the list is not complete and the NextContinuationToken will be provided\n for a subsequent request.
" } }, @@ -7603,6 +7759,7 @@ "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the returned list of analytics configurations is complete. A value of\n true indicates that the list is not complete and the\n NextContinuationToken will be provided for a subsequent request.
Tells whether the returned list of inventory configurations is complete. A value of true\n indicates that the list is not complete and the NextContinuationToken is provided for a\n subsequent request.
" } }, @@ -7749,6 +7907,7 @@ "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the returned list of metrics configurations is complete. A value of\n true indicates that the list is not complete and the NextContinuationToken will be provided\n for a subsequent request.
" } }, @@ -7806,6 +7965,9 @@ }, "com.amazonaws.s3#ListBuckets": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.s3#ListBucketsOutput" }, @@ -7903,12 +8065,14 @@ "MaxUploads": { "target": "com.amazonaws.s3#MaxUploads", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of multipart uploads that could have been included in the\n response.
" } }, "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the returned list of multipart uploads is truncated. A value of true\n indicates that the list was truncated. The list can be truncated if the number of multipart\n uploads exceeds the limit allowed or specified by max uploads.
" } }, @@ -7972,6 +8136,7 @@ "MaxUploads": { "target": "com.amazonaws.s3#MaxUploads", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response\n body. 1,000 is the maximum number of uploads that can be returned in a response.
", "smithy.api#httpQuery": "max-uploads" } @@ -8022,6 +8187,7 @@ "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag that indicates whether Amazon S3 returned all of the results that satisfied the search\n criteria. If your results were truncated, you can make a follow-up paginated request using\n the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in\n another request to return the rest of the results.
" } }, @@ -8086,6 +8252,7 @@ "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the maximum number of objects to return.
" } }, @@ -8141,6 +8308,7 @@ "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sets the maximum number of keys returned in the response. By default the action returns up\n to 1,000 key names. The response might contain fewer keys but will never contain more. If\n additional keys satisfy the search criteria, but were not returned because max-keys was\n exceeded, the response contains
A flag that indicates whether Amazon S3 returned all of the results that satisfied the search\n criteria.
" } }, @@ -8239,6 +8408,7 @@ "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of keys returned in the response body.
" } }, @@ -8294,6 +8464,7 @@ "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sets the maximum number of keys returned in the response. By default the action returns up\n to 1,000 key names. The response might contain fewer keys but will never contain more.\n
", "smithy.api#httpQuery": "max-keys" } @@ -8354,6 +8525,7 @@ "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to false if all of the results were returned. Set to true if more keys are available\n to return. If the number of results exceeds that specified by MaxKeys, all of the results\n might not be returned.
" } }, @@ -8385,6 +8557,7 @@ "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sets the maximum number of keys returned in the response. By default the action returns up\n to 1,000 key names. The response might contain fewer keys but will never contain\n more.
" } }, @@ -8404,6 +8577,7 @@ "KeyCount": { "target": "com.amazonaws.s3#KeyCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "KeyCount is the number of keys returned with this request. KeyCount will always be less\n than or equals to MaxKeys field. Say you ask for 50 keys, your result will include less than\n equals 50 keys
" } }, @@ -8458,6 +8632,7 @@ "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sets the maximum number of keys returned in the response. By default the action returns up\n to 1,000 key names. The response might contain fewer keys but will never contain\n more.
", "smithy.api#httpQuery": "max-keys" } @@ -8479,6 +8654,7 @@ "FetchOwner": { "target": "com.amazonaws.s3#FetchOwner", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The owner field is not present in listV2 by default, if you want to return owner field\n with each key in the result then set the fetch owner field to true.
", "smithy.api#httpQuery": "fetch-owner" } @@ -8579,12 +8755,14 @@ "MaxParts": { "target": "com.amazonaws.s3#MaxParts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of parts that were allowed in the response.
" } }, "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the returned list of parts is truncated. A true value indicates that\n the list was truncated. A list can be truncated if the number of parts exceeds the limit\n returned in the MaxParts element.
" } }, @@ -8653,6 +8831,7 @@ "MaxParts": { "target": "com.amazonaws.s3#MaxParts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sets the maximum number of parts to return.
", "smithy.api#httpQuery": "max-parts" } @@ -8779,16 +8958,28 @@ "type": "string" }, "com.amazonaws.s3#MaxAgeSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#MaxKeys": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#MaxParts": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#MaxUploads": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#Message": { "type": "string" @@ -8970,10 +9161,16 @@ } }, "com.amazonaws.s3#Minutes": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#MissingMeta": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#MultipartUpload": { "type": "structure", @@ -9082,12 +9279,14 @@ "NoncurrentDays": { "target": "com.amazonaws.s3#Days", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the number of days an object is noncurrent before Amazon S3 can perform the\n associated action. The value must be a non-zero positive integer. For information about the noncurrent days calculations, see How\n Amazon S3 Calculates When an Object Became Noncurrent in the Amazon S3 User Guide.
" } }, "NewerNoncurrentVersions": { "target": "com.amazonaws.s3#VersionCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent\n noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent\n versions, see Lifecycle configuration elements\n in the Amazon S3 User Guide.
" } } @@ -9102,6 +9301,7 @@ "NoncurrentDays": { "target": "com.amazonaws.s3#Days", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the number of days an object is noncurrent before Amazon S3 can perform the\n associated action. For information about the noncurrent days calculations, see How\n Amazon S3 Calculates How Long an Object Has Been Noncurrent in the\n Amazon S3 User Guide.
" } }, @@ -9114,6 +9314,7 @@ "NewerNoncurrentVersions": { "target": "com.amazonaws.s3#VersionCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent\n noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent\n versions, see Lifecycle configuration elements\n in the Amazon S3 User Guide.
" } } @@ -9225,6 +9426,7 @@ "Size": { "target": "com.amazonaws.s3#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size in bytes of the object
" } }, @@ -9394,7 +9596,10 @@ } }, "com.amazonaws.s3#ObjectLockEnabledForBucket": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#ObjectLockLegalHold": { "type": "structure", @@ -9532,12 +9737,14 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The part number identifying the part. This value is a positive integer between 1 and\n 10,000.
" } }, "Size": { "target": "com.amazonaws.s3#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the uploaded part in bytes.
" } }, @@ -9571,13 +9778,22 @@ } }, "com.amazonaws.s3#ObjectSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#ObjectSizeGreaterThanBytes": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#ObjectSizeLessThanBytes": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#ObjectStorageClass": { "type": "string", @@ -9641,6 +9857,7 @@ "Size": { "target": "com.amazonaws.s3#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size in bytes of the object.
" } }, @@ -9665,6 +9882,7 @@ "IsLatest": { "target": "com.amazonaws.s3#IsLatest", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the object is (true) or is not (false) the latest version of an\n object.
" } }, @@ -9820,6 +10038,7 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Part number identifying the part. This is a positive integer between 1 and\n 10,000.
" } }, @@ -9838,6 +10057,7 @@ "Size": { "target": "com.amazonaws.s3#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size in bytes of the uploaded part data.
" } }, @@ -9871,7 +10091,10 @@ } }, "com.amazonaws.s3#PartNumber": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#PartNumberMarker": { "type": "string" @@ -9883,7 +10106,10 @@ } }, "com.amazonaws.s3#PartsCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#PartsList": { "type": "list", @@ -9942,6 +10168,7 @@ "IsPublic": { "target": "com.amazonaws.s3#IsPublic", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The policy status for this bucket. TRUE indicates that this bucket is\n public. FALSE indicates that the bucket is not public.
The current number of object bytes scanned.
" } }, "BytesProcessed": { "target": "com.amazonaws.s3#BytesProcessed", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current number of uncompressed object bytes processed.
" } }, "BytesReturned": { "target": "com.amazonaws.s3#BytesReturned", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current number of bytes of records payload data returned.
" } } @@ -10019,6 +10252,7 @@ "BlockPublicAcls": { "target": "com.amazonaws.s3#Setting", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon S3 should block public access control lists (ACLs) for this bucket\n and objects in this bucket. Setting this element to TRUE causes the following\n behavior:
PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL is\n public.
\nPUT Object calls fail if the request includes a public ACL.
\nPUT Bucket calls fail if the request includes a public ACL.
\nEnabling this setting doesn't affect existing policies or ACLs.
", "smithy.api#xmlName": "BlockPublicAcls" } @@ -10026,6 +10260,7 @@ "IgnorePublicAcls": { "target": "com.amazonaws.s3#Setting", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this\n bucket. Setting this element to TRUE causes Amazon S3 to ignore all public ACLs on\n this bucket and objects in this bucket.
Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't\n prevent new public ACLs from being set.
", "smithy.api#xmlName": "IgnorePublicAcls" } @@ -10033,6 +10268,7 @@ "BlockPublicPolicy": { "target": "com.amazonaws.s3#Setting", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon S3 should block public bucket policies for this bucket. Setting this\n element to TRUE causes Amazon S3 to reject calls to PUT Bucket policy if the\n specified bucket policy allows public access.
Enabling this setting doesn't affect existing bucket policies.
", "smithy.api#xmlName": "BlockPublicPolicy" } @@ -10040,6 +10276,7 @@ "RestrictPublicBuckets": { "target": "com.amazonaws.s3#Setting", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting\n this element to TRUE restricts access to this bucket to only Amazon Web Service\n principals and authorized users within this account if the bucket has a public\n policy.
Enabling this setting doesn't affect previously stored bucket policies, except that\n public and cross-account access within any public bucket policy, including non-public\n delegation to specific accounts, is blocked.
", "smithy.api#xmlName": "RestrictPublicBuckets" } @@ -10054,6 +10291,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketAccelerateConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm" @@ -10107,6 +10347,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketAclRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10209,6 +10452,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketAnalyticsConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "Sets an analytics configuration for the bucket (specified by the analytics configuration\n ID). You can have up to 1,000 analytics configurations per bucket.
\n\nYou can choose to have storage class analysis export analysis reports sent to a\n comma-separated values (CSV) flat file. See the DataExport request element.\n Reports are updated daily and are based on the object filters that you configure. When\n selecting data export, you specify a destination bucket and an optional destination prefix\n where the file is written. You can export the data to a destination bucket in a different\n account. However, the destination bucket must be in the same Region as the bucket that you\n are making the PUT analytics configuration to. For more information, see Amazon S3 Analytics – Storage Class\n Analysis.
You must create a bucket policy on the destination bucket where the exported file is\n written to grant permissions to Amazon S3 to write objects to the bucket. For an example\n policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.
\nTo use this operation, you must have permissions to perform the\n s3:PutAnalyticsConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
\n Special Errors\n
\n\n HTTP Error: HTTP 400 Bad Request\n
\n\n Code: InvalidArgument\n
\n\n Cause: Invalid argument.\n
\n\n HTTP Error: HTTP 400 Bad Request\n
\n\n Code: TooManyConfigurations\n
\n\n Cause: You are attempting to create a new configuration but have\n already reached the 1,000-configuration limit.\n
\n\n HTTP Error: HTTP 403 Forbidden\n
\n\n Code: AccessDenied\n
\n\n Cause: You are not the owner of the specified bucket, or you do\n not have the s3:PutAnalyticsConfiguration bucket permission to set the\n configuration on the bucket.\n
\n\n Related Resources\n
\nPuts a S3 Intelligent-Tiering configuration to the specified bucket.\n You can have up to 1,000 S3 Intelligent-Tiering configurations per bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to\n PutBucketIntelligentTieringConfiguration include:
You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically\n move objects stored in the S3 Intelligent-Tiering storage class to the\n Archive Access or Deep Archive Access tier.
\n\n Special Errors\n
\n\n HTTP 400 Bad Request Error\n
\n\n Code: InvalidArgument
\n\n Cause: Invalid Argument
\n\n HTTP 400 Bad Request Error\n
\n\n Code: TooManyConfigurations
\n\n Cause: You are attempting to create a new configuration\n but have already reached the 1,000-configuration limit.
\n\n HTTP 403 Forbidden Error\n
\n\n Code: AccessDenied
\n\n Cause: You are not the owner of the specified bucket,\n or you do not have the s3:PutIntelligentTieringConfiguration bucket\n permission to set the configuration on the bucket.
This implementation of the PUT action adds an inventory configuration\n (identified by the inventory ID) to the bucket. You can have up to 1,000 inventory\n configurations per bucket.
Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly\n basis, and the results are published to a flat file. The bucket that is inventoried is\n called the source bucket, and the bucket where the inventory flat file\n is stored is called the destination bucket. The\n destination bucket must be in the same Amazon Web Services Region as the\n source bucket.
\nWhen you configure an inventory for a source bucket, you specify\n the destination bucket where you want the inventory to be stored, and\n whether to generate the inventory daily or weekly. You can also configure what object\n metadata to include and whether to inventory all object versions or only current versions.\n For more information, see Amazon S3\n Inventory in the Amazon S3 User Guide.
\nYou must create a bucket policy on the destination bucket to\n grant permissions to Amazon S3 to write objects to the bucket in the defined location. For an\n example policy, see \n Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.
\nTo use this operation, you must have permissions to perform the\n s3:PutInventoryConfiguration action. The bucket owner has this permission\n by default and can grant this permission to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources in the Amazon S3 User Guide.
\n Special Errors\n
\n\n HTTP 400 Bad Request Error\n
\n\n Code: InvalidArgument
\n\n Cause: Invalid Argument
\n\n HTTP 400 Bad Request Error\n
\n\n Code: TooManyConfigurations
\n\n Cause: You are attempting to create a new configuration\n but have already reached the 1,000-configuration limit.
\n\n HTTP 403 Forbidden Error\n
\n\n Code: AccessDenied
\n\n Cause: You are not the owner of the specified bucket,\n or you do not have the s3:PutInventoryConfiguration bucket\n permission to set the configuration on the bucket.
\n Related Resources\n
\nSets a metrics configuration (specified by the metrics configuration ID) for the bucket.\n You can have up to 1,000 metrics configurations per bucket. If you're updating an existing\n metrics configuration, note that this is a full replacement of the existing metrics\n configuration. If you don't include the elements you want to keep, they are erased.
\n\nTo use this operation, you must have permissions to perform the\n s3:PutMetricsConfiguration action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon\n CloudWatch.
\n\nThe following operations are related to\n PutBucketMetricsConfiguration:
\n GetBucketLifecycle has the following special error:
Error code: TooManyConfigurations\n
Description: You are attempting to create a new configuration but have\n already reached the 1,000-configuration limit.
\nHTTP Status Code: HTTP 400 Bad Request
\nEnables notifications of specified events for a bucket. For more information about event\n notifications, see Configuring Event\n Notifications.
\n\nUsing this API, you can replace an existing notification configuration. The\n configuration is an XML file that defines the event types that you want Amazon S3 to publish and\n the destination where you want Amazon S3 to publish an event notification when it detects an\n event of the specified type.
\n\nBy default, your bucket has no event notifications configured. That is, the notification\n configuration will be an empty NotificationConfiguration.
\n \n
\n \n
This action replaces the existing notification configuration with the configuration\n you include in the request body.
\n\nAfter Amazon S3 receives this request, it first verifies that any Amazon Simple Notification\n Service (Amazon SNS) or Amazon Simple Queue Service (Amazon SQS) destination exists, and\n that the bucket owner has permission to publish to it by sending a test notification. In\n the case of Lambda destinations, Amazon S3 verifies that the Lambda function permissions\n grant Amazon S3 permission to invoke the function from the Amazon S3 bucket. For more information,\n see Configuring Notifications for Amazon S3\n Events.
\n\nYou can disable notifications by adding the empty NotificationConfiguration\n element.
\nFor more information about the number of event notification configurations that you can create per bucket, see\n Amazon S3 service quotas in Amazon Web Services General Reference.
\nBy default, only the bucket owner can configure notifications on a bucket. However,\n bucket owners can use a bucket policy to grant permission to other users to set this\n configuration with s3:PutBucketNotification permission.
The PUT notification is an atomic operation. For example, suppose your notification\n configuration includes SNS topic, SQS queue, and Lambda function configurations. When\n you send a PUT request with this configuration, Amazon S3 sends test messages to your SNS\n topic. If the message fails, the entire PUT action will fail, and Amazon S3 will not add\n the configuration to your bucket.
\n\n Responses\n
\nIf the configuration in the request body includes only one\n TopicConfiguration specifying only the\n s3:ReducedRedundancyLostObject event type, the response will also include\n the x-amz-sns-test-message-id header containing the message ID of the test\n notification sent to the topic.
The following action is related to\n PutBucketNotificationConfiguration:
Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
", "smithy.api#httpHeader": "x-amz-skip-destination-validation" } @@ -10690,6 +10961,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketOwnershipControlsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestChecksumRequired": true @@ -10743,6 +11017,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketPolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10784,6 +11061,7 @@ "ConfirmRemoveSelfBucketAccess": { "target": "com.amazonaws.s3#ConfirmRemoveSelfBucketAccess", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set this parameter to true to confirm that you want to remove your permissions to change\n this bucket policy in the future.
", "smithy.api#httpHeader": "x-amz-confirm-remove-self-bucket-access" } @@ -10810,6 +11088,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketReplicationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10877,6 +11158,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketRequestPaymentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10938,6 +11222,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketTaggingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10999,6 +11286,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketVersioningRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -11067,6 +11357,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketWebsiteRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -11557,6 +11850,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the uploaded object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -11582,6 +11876,7 @@ "Body": { "target": "com.amazonaws.s3#StreamingBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "Object data.
", "smithy.api#httpPayload": {} } @@ -11625,6 +11920,7 @@ "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size of the body in bytes. This parameter is useful when the size of the body cannot be\n determined automatically. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13.
", "smithy.api#httpHeader": "Content-Length" } @@ -11787,6 +12083,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS). Setting this header to true causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with a PUT action doesn’t affect bucket-level settings for S3 Bucket Key.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -11909,6 +12206,7 @@ "BypassGovernanceRetention": { "target": "com.amazonaws.s3#BypassGovernanceRetention", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether this action should bypass Governance-mode restrictions.
", "smithy.api#httpHeader": "x-amz-bypass-governance-retention" } @@ -12038,6 +12336,9 @@ "input": { "target": "com.amazonaws.s3#PutPublicAccessBlockRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -12135,7 +12436,10 @@ } }, "com.amazonaws.s3#Quiet": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#QuoteCharacter": { "type": "string" @@ -12313,6 +12617,7 @@ "Priority": { "target": "com.amazonaws.s3#Priority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The priority indicates which rule has precedence whenever two or more replication rules\n conflict. Amazon S3 will attempt to replicate objects according to all replication rules.\n However, if there are two or more rules with the same destination bucket, then objects will\n be replicated according to the rule with the highest priority. The higher the number, the\n higher the priority.
\nFor more information, see Replication in the\n Amazon S3 User Guide.
" } }, @@ -12495,6 +12800,7 @@ "Minutes": { "target": "com.amazonaws.s3#Minutes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Contains an integer specifying time in minutes.
\nValid value: 15
" } } @@ -12548,6 +12854,7 @@ "Enabled": { "target": "com.amazonaws.s3#EnableRequestProgress", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE,\n FALSE. Default value: FALSE.
" } } @@ -12693,6 +13000,7 @@ "Days": { "target": "com.amazonaws.s3#Days", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Lifetime of the active copy in days. Do not use with restores that specify\n OutputLocation.
The Days element is required for regular restores, and must not be provided for select\n requests.
" } }, @@ -12905,12 +13213,14 @@ "Start": { "target": "com.amazonaws.s3#Start", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the start of the byte range. This parameter is optional. Valid values:\n non-negative integers. The default value is 0. If only start is supplied, it\n means scan from that point to the end of the file. For example,\n means scan\n from byte 50 until the end of the file.
Specifies the end of the byte range. This parameter is optional. Valid values:\n non-negative integers. The default value is one less than the size of the object being\n queried. If only the End parameter is supplied, it is interpreted to mean scan the last N\n bytes of the file. For example,\n means scan the\n last 50 bytes.
Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the BucketKeyEnabled element to true causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled.
For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
" } } @@ -13195,13 +13506,22 @@ } }, "com.amazonaws.s3#Setting": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#Size": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#SkipValidation": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#SourceSelectionCriteria": { "type": "structure", @@ -13254,7 +13574,10 @@ } }, "com.amazonaws.s3#Start": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#StartAfter": { "type": "string" @@ -13265,18 +13588,21 @@ "BytesScanned": { "target": "com.amazonaws.s3#BytesScanned", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of object bytes scanned.
" } }, "BytesProcessed": { "target": "com.amazonaws.s3#BytesProcessed", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of uncompressed object bytes processed.
" } }, "BytesReturned": { "target": "com.amazonaws.s3#BytesReturned", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of bytes of records payload data returned.
" } } @@ -13422,7 +13748,10 @@ } }, "com.amazonaws.s3#TagCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#TagSet": { "type": "list", @@ -13530,6 +13859,7 @@ "Days": { "target": "com.amazonaws.s3#IntelligentTieringDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of consecutive days of no access after which an object will be eligible to be\n transitioned to the corresponding tier. The minimum number of days specified for\n Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least\n 180 days. The maximum can be up to 2 years (730 days).
", "smithy.api#required": {} } @@ -13607,6 +13937,7 @@ "Days": { "target": "com.amazonaws.s3#Days", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Indicates the number of days after creation when objects are transitioned to the\n specified storage class. The value must be a positive integer.
" } }, @@ -13768,6 +14099,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -13845,6 +14177,7 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Part number of part being copied. This is a positive integer between 1 and\n 10,000.
", "smithy.api#httpQuery": "partNumber", "smithy.api#required": {} @@ -13991,6 +14324,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -14009,6 +14343,7 @@ "Body": { "target": "com.amazonaws.s3#StreamingBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "Object data.
", "smithy.api#httpPayload": {} } @@ -14024,6 +14359,7 @@ "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size of the body in bytes. This parameter is useful when the size of the body cannot be\n determined automatically.
", "smithy.api#httpHeader": "Content-Length" } @@ -14081,6 +14417,7 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Part number of part being uploaded. This is a positive integer between 1 and\n 10,000.
", "smithy.api#httpQuery": "partNumber", "smithy.api#required": {} @@ -14143,7 +14480,10 @@ "type": "string" }, "com.amazonaws.s3#VersionCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#VersionIdMarker": { "type": "string" @@ -14209,6 +14549,9 @@ "input": { "target": "com.amazonaws.s3#WriteGetObjectResponseRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.auth#unsignedPayload": {}, "smithy.api#auth": [ @@ -14248,6 +14591,7 @@ "Body": { "target": "com.amazonaws.s3#StreamingBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "The object data.
", "smithy.api#httpPayload": {} } @@ -14255,6 +14599,7 @@ "StatusCode": { "target": "com.amazonaws.s3#GetObjectResponseStatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The integer status code for an HTTP response of a corresponding GetObject\n request.
\n Status Codes\n
\n\n 200 - OK\n
\n 206 - Partial Content\n
\n 304 - Not Modified\n
\n 400 - Bad Request\n
\n 401 - Unauthorized\n
\n 403 - Forbidden\n
\n 404 - Not Found\n
\n 405 - Method Not Allowed\n
\n 409 - Conflict\n
\n 411 - Length Required\n
\n 412 - Precondition Failed\n
\n 416 - Range Not Satisfiable\n
\n 500 - Internal Server Error\n
\n 503 - Service Unavailable\n
The size of the content body in bytes.
", "smithy.api#httpHeader": "Content-Length" } @@ -14360,6 +14706,7 @@ "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether an object stored in Amazon S3 is (true) or is not\n (false) a delete marker.
Set to the number of metadata entries not returned in x-amz-meta headers.\n This can happen if you create metadata using an API like SOAP that supports more flexible\n metadata than the REST API. For example, using SOAP, you can create metadata whose values\n are not legal HTTP headers.
The count of parts this object has.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-mp-parts-count" } @@ -14492,6 +14841,7 @@ "TagCount": { "target": "com.amazonaws.s3#TagCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of tags, if any, on the object.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-tagging-count" } @@ -14506,6 +14856,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the object stored in Amazon S3 uses an S3 bucket key for server-side\n encryption with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled" } @@ -14513,7 +14864,10 @@ } }, "com.amazonaws.s3#Years": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } } } } diff --git a/codegen/sdk/aws-models/s3outposts.json b/codegen/sdk/aws-models/s3outposts.json index eb5af5ea56c..5bfd8b81c51 100644 --- a/codegen/sdk/aws-models/s3outposts.json +++ b/codegen/sdk/aws-models/s3outposts.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -155,6 +155,9 @@ "input": { "target": "com.amazonaws.s3outposts#DeleteEndpointRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.s3outposts#AccessDeniedException" @@ -391,6 +394,7 @@ "MaxResults": { "target": "com.amazonaws.s3outposts#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of endpoints that will be returned in the response.
", "smithy.api#httpQuery": "maxResults" } @@ -464,6 +468,7 @@ "MaxResults": { "target": "com.amazonaws.s3outposts#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of endpoints that will be returned in the response.
", "smithy.api#httpQuery": "maxResults" } @@ -498,6 +503,7 @@ "com.amazonaws.s3outposts#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -558,21 +564,6 @@ }, "com.amazonaws.s3outposts#S3Outposts": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "S3Outposts", - "arnNamespace": "s3-outposts", - "cloudFormationName": "S3Outposts", - "cloudTrailEventSource": "s3outposts.amazonaws.com", - "endpointPrefix": "s3-outposts" - }, - "aws.auth#sigv4": { - "name": "s3-outposts" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon S3 on Outposts provides access to S3 on Outposts operations.
", - "smithy.api#title": "Amazon S3 on Outposts" - }, "version": "2017-07-25", "operations": [ { @@ -587,7 +578,22 @@ { "target": "com.amazonaws.s3outposts#ListSharedEndpoints" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "S3Outposts", + "arnNamespace": "s3-outposts", + "cloudFormationName": "S3Outposts", + "cloudTrailEventSource": "s3outposts.amazonaws.com", + "endpointPrefix": "s3-outposts" + }, + "aws.auth#sigv4": { + "name": "s3-outposts" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon S3 on Outposts provides access to S3 on Outposts operations.
", + "smithy.api#title": "Amazon S3 on Outposts" + } }, "com.amazonaws.s3outposts#SecurityGroupId": { "type": "string", diff --git a/codegen/sdk/aws-models/sagemaker-a2i-runtime.json b/codegen/sdk/aws-models/sagemaker-a2i-runtime.json index 7adca7a3e84..0eca499fa46 100644 --- a/codegen/sdk/aws-models/sagemaker-a2i-runtime.json +++ b/codegen/sdk/aws-models/sagemaker-a2i-runtime.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.sagemakera2iruntime#AmazonSageMakerA2IRuntime": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SageMaker A2I Runtime", - "arnNamespace": "sagemaker", - "cloudFormationName": "SageMakerA2IRuntime", - "cloudTrailEventSource": "sagemakera2iruntime.amazonaws.com", - "endpointPrefix": "a2i-runtime.sagemaker" - }, - "aws.auth#sigv4": { - "name": "sagemaker" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning\n application. When an AI application can't evaluate data with a high degree of confidence,\n human reviewers can take over. This human review is called a human review workflow. To create\n and start a human review workflow, you need three resources: a worker task\n template, a flow definition, and a human\n loop.
\nFor information about these resources and prerequisites for using Amazon A2I, see Get Started with\n Amazon Augmented AI in the Amazon SageMaker Developer Guide.
\nThis API reference includes information about API actions and data types that you can use\n to interact with Amazon A2I programmatically. Use this guide to:
\nStart a human loop with the StartHumanLoop operation when using\n Amazon A2I with a custom task type. To learn more about the\n difference between custom and built-in task types, see Use Task Types . To learn\n how to start a human loop using this API, see Create and Start a Human Loop for a Custom Task Type in the\n Amazon SageMaker Developer Guide.
Manage your human loops. You can list all human loops that you have created, describe\n individual human loops, and stop and delete human loops. To learn more, see Monitor and Manage Your Human Loop in the Amazon SageMaker Developer Guide.
\nAmazon A2I integrates APIs from various AWS services to create and start human review\n workflows for those services. To learn how Amazon A2I uses these APIs, see Use APIs in\n Amazon A2I in the Amazon SageMaker Developer Guide.
", - "smithy.api#title": "Amazon Augmented AI Runtime" - }, "version": "2019-11-07", "operations": [ { @@ -63,7 +48,22 @@ { "target": "com.amazonaws.sagemakera2iruntime#StopHumanLoop" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SageMaker A2I Runtime", + "arnNamespace": "sagemaker", + "cloudFormationName": "SageMakerA2IRuntime", + "cloudTrailEventSource": "sagemakera2iruntime.amazonaws.com", + "endpointPrefix": "a2i-runtime.sagemaker" + }, + "aws.auth#sigv4": { + "name": "sagemaker" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning\n application. When an AI application can't evaluate data with a high degree of confidence,\n human reviewers can take over. This human review is called a human review workflow. To create\n and start a human review workflow, you need three resources: a worker task\n template, a flow definition, and a human\n loop.
\nFor information about these resources and prerequisites for using Amazon A2I, see Get Started with\n Amazon Augmented AI in the Amazon SageMaker Developer Guide.
\nThis API reference includes information about API actions and data types that you can use\n to interact with Amazon A2I programmatically. Use this guide to:
\nStart a human loop with the StartHumanLoop operation when using\n Amazon A2I with a custom task type. To learn more about the\n difference between custom and built-in task types, see Use Task Types . To learn\n how to start a human loop using this API, see Create and Start a Human Loop for a Custom Task Type in the\n Amazon SageMaker Developer Guide.
Manage your human loops. You can list all human loops that you have created, describe\n individual human loops, and stop and delete human loops. To learn more, see Monitor and Manage Your Human Loop in the Amazon SageMaker Developer Guide.
\nAmazon A2I integrates APIs from various AWS services to create and start human review\n workflows for those services. To learn how Amazon A2I uses these APIs, see Use APIs in\n Amazon A2I in the Amazon SageMaker Developer Guide.
", + "smithy.api#title": "Amazon Augmented AI Runtime" + } }, "com.amazonaws.sagemakera2iruntime#ConflictException": { "type": "structure", @@ -511,7 +511,7 @@ "MaxResults": { "target": "com.amazonaws.sagemakera2iruntime#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The total number of items to return. If the total number of available items is more than\n the value specified in MaxResults, then a NextToken is returned in\n the output. You can use this token to display the next page of results.
SageMaker Edge Manager dataplane service for communicating with active agents.
", "smithy.api#title": "Amazon Sagemaker Edge Manager" - }, - "version": "2020-09-23", - "operations": [ - { - "target": "com.amazonaws.sagemakeredge#GetDeployments" - }, - { - "target": "com.amazonaws.sagemakeredge#GetDeviceRegistration" - }, - { - "target": "com.amazonaws.sagemakeredge#SendHeartbeat" - } - ] + } }, "com.amazonaws.sagemakeredge#CacheTTLSeconds": { "type": "string", @@ -374,6 +374,7 @@ "Value": { "target": "com.amazonaws.sagemakeredge#Value", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Returns the value of the metric.
" } }, @@ -706,7 +707,10 @@ "type": "timestamp" }, "com.amazonaws.sagemakeredge#Value": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.sagemakeredge#Version": { "type": "string", diff --git a/codegen/sdk/aws-models/sagemaker-featurestore-runtime.json b/codegen/sdk/aws-models/sagemaker-featurestore-runtime.json index 9a16041174b..8b6c1e04694 100644 --- a/codegen/sdk/aws-models/sagemaker-featurestore-runtime.json +++ b/codegen/sdk/aws-models/sagemaker-featurestore-runtime.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -276,6 +276,9 @@ "input": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#DeleteRecordRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden" @@ -481,6 +484,9 @@ "input": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#PutRecordRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden" diff --git a/codegen/sdk/aws-models/sagemaker-runtime.json b/codegen/sdk/aws-models/sagemaker-runtime.json index 336ace505cc..2c644022973 100644 --- a/codegen/sdk/aws-models/sagemaker-runtime.json +++ b/codegen/sdk/aws-models/sagemaker-runtime.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,15 @@ "shapes": { "com.amazonaws.sagemakerruntime#AmazonSageMakerRuntime": { "type": "service", + "version": "2017-05-13", + "operations": [ + { + "target": "com.amazonaws.sagemakerruntime#InvokeEndpoint" + }, + { + "target": "com.amazonaws.sagemakerruntime#InvokeEndpointAsync" + } + ], "traits": { "aws.api#service": { "sdkId": "SageMaker Runtime", @@ -45,16 +54,7 @@ "aws.protocols#restJson1": {}, "smithy.api#documentation": "The Amazon SageMaker runtime API.
", "smithy.api#title": "Amazon SageMaker Runtime" - }, - "version": "2017-05-13", - "operations": [ - { - "target": "com.amazonaws.sagemakerruntime#InvokeEndpoint" - }, - { - "target": "com.amazonaws.sagemakerruntime#InvokeEndpointAsync" - } - ] + } }, "com.amazonaws.sagemakerruntime#BodyBlob": { "type": "blob", @@ -77,6 +77,16 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.sagemakerruntime#EnableExplanationsHeader": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, "com.amazonaws.sagemakerruntime#EndpointName": { "type": "string", "traits": { @@ -125,7 +135,7 @@ } }, "traits": { - "smithy.api#documentation": "Your request caused an exception with an internal dependency. Contact customer support.
", + "smithy.api#documentation": "Your request caused an exception with an internal dependency. Contact customer\n support.
", "smithy.api#error": "server", "smithy.api#httpError": 530 } @@ -172,7 +182,7 @@ } ], "traits": { - "smithy.api#documentation": "After you deploy a model into production using Amazon SageMaker hosting services, your\n client applications use this API to get inferences from the model hosted at the\n specified endpoint.
\nFor an overview of Amazon SageMaker, see How It Works.
\nAmazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add\n additional headers. You should not rely on the behavior of headers outside those\n enumerated in the request syntax.
\nCalls to InvokeEndpoint are authenticated by using Amazon Web Services Signature Version\n 4. For information, see Authenticating\n Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API\n Reference.
A customer's model containers must respond to requests within 60 seconds. The model\n itself can have a maximum processing time of 60 seconds before responding to\n invocations. If your model is going to take 50-60 seconds of processing time, the SDK\n socket timeout should be set to be 70 seconds.
\nEndpoints are scoped to an individual account, and are not public. The URL does\n not contain the account ID, but Amazon SageMaker determines the account ID from the\n authentication token that is supplied by the caller.
\nAfter you deploy a model into production using Amazon SageMaker hosting services, your\n client applications use this API to get inferences from the model hosted at the\n specified endpoint.
\nFor an overview of Amazon SageMaker, see How It Works.
\nAmazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add\n additional headers. You should not rely on the behavior of headers outside those\n enumerated in the request syntax.
\nCalls to InvokeEndpoint are authenticated by using Amazon Web Services\n Signature Version 4. For information, see Authenticating\n Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API\n Reference.
A customer's model containers must respond to requests within 60 seconds. The model\n itself can have a maximum processing time of 60 seconds before responding to\n invocations. If your model is going to take 50-60 seconds of processing time, the SDK\n socket timeout should be set to be 70 seconds.
\nEndpoints are scoped to an individual account, and are not public. The URL does\n not contain the account ID, but Amazon SageMaker determines the account ID from the\n authentication token that is supplied by the caller.
\nAfter you deploy a model into production using Amazon SageMaker hosting services, \n your client applications use this API to get inferences from the model hosted at \n the specified endpoint in an asynchronous manner.
\n \nInference requests sent to this API are enqueued for asynchronous processing. \n The processing of the inference request may or may not complete before the \n you receive a response from this API. The response from this API will \n not contain the result of the inference request but contain information \n about where you can locate it.
\n \nAmazon SageMaker strips all POST headers except those supported by the API. \n Amazon SageMaker might add additional headers. You should not rely on the behavior \n of headers outside those enumerated in the request syntax.
Calls to InvokeEndpointAsync are authenticated by using Amazon Web Services Signature\n Version 4. For information, see Authenticating Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API\n Reference.
After you deploy a model into production using Amazon SageMaker hosting services, your client\n applications use this API to get inferences from the model hosted at the specified\n endpoint in an asynchronous manner.
\n\nInference requests sent to this API are enqueued for asynchronous processing. The\n processing of the inference request may or may not complete before the you receive a\n response from this API. The response from this API will not contain the result of the\n inference request but contain information about where you can locate it.
\n\nAmazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker\n might add additional headers. You should not rely on the behavior of headers outside\n those enumerated in the request syntax.
Calls to InvokeEndpointAsync are authenticated by using Amazon Web Services Signature Version 4. For information, see Authenticating Requests (Amazon Web Services Signature Version 4) in the\n Amazon S3 API Reference.
The name of the endpoint that you specified when you created the endpoint using \n the \n CreateEndpoint\n API.
The name of the endpoint that you specified when you created the endpoint using the\n \n CreateEndpoint\n API.
Provides additional information about a request for an inference submitted to \n a model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is \n forwarded verbatim. You could use this value, for example, to provide an ID that you \n can use to track a request or to provide other metadata that a service endpoint was \n programmed to process. The value must consist of no more than 1024 \n visible US-ASCII characters as specified in \n Section 3.3.6. \n Field Value Components of the Hypertext Transfer Protocol (HTTP/1.1).
\n \nThe code in your model is responsible for setting or updating any custom attributes \n in the response. If your code does not set this value in the response, an empty \n value is returned. For example, if a custom attribute represents the trace ID, \n your model can prepend the custom attribute with Trace ID: in your post-processing function.
This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK.
", + "smithy.api#documentation": "Provides additional information about a request for an inference submitted to a model\n hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded\n verbatim. You could use this value, for example, to provide an ID that you can use to\n track a request or to provide other metadata that a service endpoint was programmed to\n process. The value must consist of no more than 1024 visible US-ASCII characters as\n specified in Section 3.3.6. Field Value Components of the Hypertext Transfer Protocol\n (HTTP/1.1).
\n\nThe code in your model is responsible for setting or updating any custom attributes in\n the response. If your code does not set this value in the response, an empty value is\n returned. For example, if a custom attribute represents the trace ID, your model can\n prepend the custom attribute with Trace ID: in your post-processing\n function.
This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker\n Python SDK.
", "smithy.api#httpHeader": "X-Amzn-SageMaker-Custom-Attributes" } }, "InferenceId": { "target": "com.amazonaws.sagemakerruntime#InferenceId", "traits": { - "smithy.api#documentation": "The identifier for the inference request. Amazon SageMaker will generate an identifier for you \n if none is specified.
", + "smithy.api#documentation": "The identifier for the inference request. Amazon SageMaker will generate an identifier for you if\n none is specified.
", "smithy.api#httpHeader": "X-Amzn-SageMaker-Inference-Id" } }, @@ -258,7 +268,7 @@ "RequestTTLSeconds": { "target": "com.amazonaws.sagemakerruntime#RequestTTLSecondsHeader", "traits": { - "smithy.api#documentation": "Maximum age in seconds a request can be in the queue before it is marked as expired.
", + "smithy.api#documentation": "Maximum age in seconds a request can be in the queue before it is marked as\n expired.
", "smithy.api#httpHeader": "X-Amzn-SageMaker-RequestTTLSeconds" } } @@ -270,7 +280,7 @@ "InferenceId": { "target": "com.amazonaws.sagemakerruntime#Header", "traits": { - "smithy.api#documentation": "Identifier for an inference request. This will be the same as the InferenceId specified \n in the input. Amazon SageMaker will generate an identifier for you if you do not specify one.
Identifier for an inference request. This will be the same as the\n InferenceId specified in the input. Amazon SageMaker will generate an identifier\n for you if you do not specify one.
Provides additional information about a request for an inference submitted to a model\n hosted at an Amazon SageMaker endpoint. The information is an opaque value that is\n forwarded verbatim. You could use this value, for example, to provide an ID that you can\n use to track a request or to provide other metadata that a service endpoint was\n programmed to process. The value must consist of no more than 1024 visible US-ASCII\n characters as specified in Section 3.3.6. Field Value\n Components of the Hypertext Transfer Protocol (HTTP/1.1).
\nThe code in your model is responsible for setting or updating any custom attributes in\n the response. If your code does not set this value in the response, an empty value is\n returned. For example, if a custom attribute represents the trace ID, your model can\n prepend the custom attribute with Trace ID: in your post-processing\n function.
This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python\n SDK.
", + "smithy.api#documentation": "Provides additional information about a request for an inference submitted to a model\n hosted at an Amazon SageMaker endpoint. The information is an opaque value that is\n forwarded verbatim. You could use this value, for example, to provide an ID that you can\n use to track a request or to provide other metadata that a service endpoint was\n programmed to process. The value must consist of no more than 1024 visible US-ASCII\n characters as specified in Section 3.3.6. Field Value\n Components of the Hypertext Transfer Protocol (HTTP/1.1).
\nThe code in your model is responsible for setting or updating any custom attributes in\n the response. If your code does not set this value in the response, an empty value is\n returned. For example, if a custom attribute represents the trace ID, your model can\n prepend the custom attribute with Trace ID: in your post-processing\n function.
This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker\n Python SDK.
", "smithy.api#httpHeader": "X-Amzn-SageMaker-Custom-Attributes" } }, @@ -349,6 +359,13 @@ "smithy.api#documentation": "If you provide a value, it is added to the captured data when you enable data capture\n on the endpoint. For information about data capture, see Capture\n Data.
", "smithy.api#httpHeader": "X-Amzn-SageMaker-Inference-Id" } + }, + "EnableExplanations": { + "target": "com.amazonaws.sagemakerruntime#EnableExplanationsHeader", + "traits": { + "smithy.api#documentation": "An optional JMESPath expression used to override the EnableExplanations\n parameter of the ClarifyExplainerConfig API. See the EnableExplanations section in the developer guide for more information.\n
Includes the inference provided by the model.
\nFor information about the format of the response body, see Common Data\n Formats-Inference.
", + "smithy.api#documentation": "Includes the inference provided by the model.
\nFor information about the format of the response body, see Common Data\n Formats-Inference.
\nIf the explainer is activated, the\n body includes the explanations provided by the model. For more information, see the\n Response section under Invoke the Endpoint in the Developer Guide.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -380,7 +397,7 @@ "CustomAttributes": { "target": "com.amazonaws.sagemakerruntime#CustomAttributesHeader", "traits": { - "smithy.api#documentation": "Provides additional information in the response about the inference returned by a\n model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is\n forwarded verbatim. You could use this value, for example, to return an ID received in\n the CustomAttributes header of a request or other metadata that a service\n endpoint was programmed to produce. The value must consist of no more than 1024 visible\n US-ASCII characters as specified in Section 3.3.6. Field Value\n Components of the Hypertext Transfer Protocol (HTTP/1.1). If the customer\n wants the custom attribute returned, the model must set the custom attribute to be\n included on the way back.
The code in your model is responsible for setting or updating any custom attributes in\n the response. If your code does not set this value in the response, an empty value is\n returned. For example, if a custom attribute represents the trace ID, your model can\n prepend the custom attribute with Trace ID: in your post-processing\n function.
This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python\n SDK.
", + "smithy.api#documentation": "Provides additional information in the response about the inference returned by a\n model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is\n forwarded verbatim. You could use this value, for example, to return an ID received in\n the CustomAttributes header of a request or other metadata that a service\n endpoint was programmed to produce. The value must consist of no more than 1024 visible\n US-ASCII characters as specified in Section 3.3.6. Field Value\n Components of the Hypertext Transfer Protocol (HTTP/1.1). If the customer\n wants the custom attribute returned, the model must set the custom attribute to be\n included on the way back.
The code in your model is responsible for setting or updating any custom attributes in\n the response. If your code does not set this value in the response, an empty value is\n returned. For example, if a custom attribute represents the trace ID, your model can\n prepend the custom attribute with Trace ID: in your post-processing\n function.
This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker\n Python SDK.
", "smithy.api#httpHeader": "X-Amzn-SageMaker-Custom-Attributes" } } @@ -441,7 +458,7 @@ "code": "ModelNotReadyException", "httpResponseCode": 429 }, - "smithy.api#documentation": "Either a serverless endpoint variant's resources are still being provisioned, or a multi-model endpoint is still downloading or loading the target model. Wait and try your request again.
", + "smithy.api#documentation": "Either a serverless endpoint variant's resources are still being provisioned, or a\n multi-model endpoint is still downloading or loading the target model. Wait and try your\n request again.
", "smithy.api#error": "client", "smithy.api#httpError": 429 } @@ -449,7 +466,6 @@ "com.amazonaws.sagemakerruntime#RequestTTLSecondsHeader": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 21600 @@ -470,10 +486,7 @@ } }, "com.amazonaws.sagemakerruntime#StatusCode": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sagemakerruntime#TargetContainerHostnameHeader": { "type": "string", diff --git a/codegen/sdk/aws-models/sagemaker.json b/codegen/sdk/aws-models/sagemaker.json index 0c2ad0570b6..0f75e4f08eb 100644 --- a/codegen/sdk/aws-models/sagemaker.json +++ b/codegen/sdk/aws-models/sagemaker.json @@ -3925,6 +3925,768 @@ "smithy.api#documentation": "The container for the metadata for the ClarifyCheck step. For more information, \n see the topic on ClarifyCheck step in the Amazon SageMaker Developer Guide.\n
" } }, + "com.amazonaws.sagemaker#ClarifyContentTemplate": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.sagemaker#ClarifyEnableExplanations": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.sagemaker#ClarifyExplainerConfig": { + "type": "structure", + "members": { + "EnableExplanations": { + "target": "com.amazonaws.sagemaker#ClarifyEnableExplanations", + "traits": { + "smithy.api#documentation": "A JMESPath boolean expression used to filter which records to explain. Explanations\n are activated by default. See \n EnableExplanations\n for additional information.
The inference configuration parameter for the model container.
" + } + }, + "ShapConfig": { + "target": "com.amazonaws.sagemaker#ClarifyShapConfig", + "traits": { + "smithy.api#documentation": "The configuration for SHAP analysis.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The configuration parameters for the SageMaker Clarify explainer.
" + } + }, + "com.amazonaws.sagemaker#ClarifyFeatureHeaders": { + "type": "list", + "member": { + "target": "com.amazonaws.sagemaker#ClarifyHeader" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, + "com.amazonaws.sagemaker#ClarifyFeatureType": { + "type": "enum", + "members": { + "NUMERICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "numerical" + } + }, + "CATEGORICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "categorical" + } + }, + "TEXT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "text" + } + } + } + }, + "com.amazonaws.sagemaker#ClarifyFeatureTypes": { + "type": "list", + "member": { + "target": "com.amazonaws.sagemaker#ClarifyFeatureType" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, + "com.amazonaws.sagemaker#ClarifyFeaturesAttribute": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.sagemaker#ClarifyHeader": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.sagemaker#ClarifyInferenceConfig": { + "type": "structure", + "members": { + "FeaturesAttribute": { + "target": "com.amazonaws.sagemaker#ClarifyFeaturesAttribute", + "traits": { + "smithy.api#documentation": "Provides the JMESPath expression to extract the features from a model container input\n in JSON Lines format. For example, if FeaturesAttribute is the JMESPath\n expression 'myfeatures', it extracts a list of features\n [1,2,3] from request data '{\"myfeatures\":[1,2,3}'.
A template string used to format a JSON record into an acceptable model container\n input. For example, a ContentTemplate string\n '{\"myfeatures\":$features}' will format a list of features\n [1,2,3] into the record string '{\"myfeatures\":[1,2,3]}'.\n Required only when the model container input is in JSON Lines format.
The maximum number of records in a request that the model container can process when\n querying the model container for the predictions of a synthetic dataset. A record is a unit of input data that inference can be\n made on, for example, a single line in CSV data. If MaxRecordCount is\n 1, the model container expects one record per request. A value of 2 or\n greater means that the model expects batch requests, which can reduce overhead and speed\n up the inferencing process. If this parameter is not provided, the explainer will tune\n the record count per request according to the model container's capacity at\n runtime.
The maximum payload size (MB) allowed of a request from the explainer to the model\n container. Defaults to 6 MB.
A zero-based index used to extract a probability value (score) or list from model\n container output in CSV format. If this value is not provided, the entire model\n container output will be treated as a probability value (score) or list.
\n\n Example for a single class model: If the model\n container output consists of a string-formatted prediction label followed by its\n probability: '1,0.6', set ProbabilityIndex to 1\n to select the probability value 0.6.
\n Example for a multiclass model: If the model\n container output consists of a string-formatted prediction label followed by its\n probability: '\"[\\'cat\\',\\'dog\\',\\'fish\\']\",\"[0.1,0.6,0.3]\"', set\n ProbabilityIndex to 1 to select the probability values\n [0.1,0.6,0.3].
A zero-based index used to extract a label header or list of label headers from model\n container output in CSV format.
\n\n Example for a multiclass model: If the model\n container output consists of label headers followed by probabilities:\n '\"[\\'cat\\',\\'dog\\',\\'fish\\']\",\"[0.1,0.6,0.3]\"', set\n LabelIndex to 0 to select the label headers\n ['cat','dog','fish'].
A JMESPath expression used to extract the probability (or score) from the model\n container output if the model container is in JSON Lines format.
\n\n Example: If the model container output of a single\n request is '{\"predicted_label\":1,\"probability\":0.6}', then set\n ProbabilityAttribute to 'probability'.
A JMESPath expression used to locate the list of label headers in the model container\n output.
\n\n Example: If the model container output of a batch\n request is '{\"labels\":[\"cat\",\"dog\",\"fish\"],\"probability\":[0.6,0.3,0.1]}',\n then set LabelAttribute to 'labels' to extract the list of\n label headers [\"cat\",\"dog\",\"fish\"]\n
For multiclass classification problems, the label headers are the names of the\n classes. Otherwise, the label header is the name of the predicted label. These are used\n to help readability for the output of the InvokeEndpoint API. See the\n response section under Invoke the endpoint\n in the Developer Guide for more information. If there are no label headers in the model\n container output, provide them manually using this parameter.
The names of the features. If provided, these are included in the endpoint response\n payload to help readability of the InvokeEndpoint output. See the Response section under Invoke the endpoint\n in the Developer Guide for more information.
A list of data types of the features (optional). Applicable only to NLP\n explainability. If provided, FeatureTypes must have at least one\n 'text' string (for example, ['text']). If\n FeatureTypes is not provided, the explainer infers the feature types\n based on the baseline data. The feature types are included in the endpoint response\n payload. For additional information see the response section under Invoke the endpoint\n in the Developer Guide for more information.
The inference configuration parameter for the model container.
" + } + }, + "com.amazonaws.sagemaker#ClarifyLabelAttribute": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.sagemaker#ClarifyLabelHeaders": { + "type": "list", + "member": { + "target": "com.amazonaws.sagemaker#ClarifyHeader" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 16 + } + } + }, + "com.amazonaws.sagemaker#ClarifyLabelIndex": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.sagemaker#ClarifyMaxPayloadInMB": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 25 + } + } + }, + "com.amazonaws.sagemaker#ClarifyMaxRecordCount": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1 + } + } + }, + "com.amazonaws.sagemaker#ClarifyMimeType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*\\/[a-zA-Z0-9](-*[a-zA-Z0-9+.])*$" + } + }, + "com.amazonaws.sagemaker#ClarifyProbabilityAttribute": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.sagemaker#ClarifyProbabilityIndex": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.sagemaker#ClarifyShapBaseline": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 4096 + }, + "smithy.api#pattern": "^[\\s\\S]+$" + } + }, + "com.amazonaws.sagemaker#ClarifyShapBaselineConfig": { + "type": "structure", + "members": { + "MimeType": { + "target": "com.amazonaws.sagemaker#ClarifyMimeType", + "traits": { + "smithy.api#documentation": "The MIME type of the baseline data. Choose from 'text/csv' or\n 'application/jsonlines'. Defaults to 'text/csv'.
The inline SHAP baseline data in string format. ShapBaseline can have one\n or multiple records to be used as the baseline dataset. The format of the SHAP baseline\n file should be the same format as the training dataset. For example, if the training\n dataset is in CSV format and each record contains four features, and all features are\n numerical, then the format of the baseline data should also share these characteristics.\n For natural language processing (NLP) of text columns, the baseline value should be the\n value used to replace the unit of text specified by the Granularity of the\n TextConfig parameter. The size limit for ShapBasline is 4\n KB. Use the ShapBaselineUri parameter if you want to provide more than 4 KB\n of baseline data.
The uniform resource identifier (URI) of the S3 bucket where the SHAP baseline file is\n stored. The format of the SHAP baseline file should be the same format as the format of\n the training dataset. For example, if the training dataset is in CSV format, and each\n record in the training dataset has four features, and all features are numerical, then\n the baseline file should also have this same format. Each record should contain only the\n features. If you are using a virtual private cloud (VPC), the\n ShapBaselineUri should be accessible to the VPC. For more information\n about setting up endpoints with Amazon Virtual Private Cloud, see Give SageMaker access to\n Resources in your Amazon Virtual Private Cloud.
The configuration for the SHAP\n baseline (also called the background or reference dataset) of the Kernal\n SHAP algorithm.
\nThe number of records in the baseline data determines the size of the\n synthetic dataset, which has an impact on latency of explainability\n requests. For more information, see the Synthetic\n data of Configure and create an endpoint.
\n\n ShapBaseline and ShapBaselineUri are mutually\n exclusive parameters. One or the either is required to configure a SHAP\n baseline.
The configuration for the SHAP baseline of the Kernal SHAP algorithm.
", + "smithy.api#required": {} + } + }, + "NumberOfSamples": { + "target": "com.amazonaws.sagemaker#ClarifyShapNumberOfSamples", + "traits": { + "smithy.api#documentation": "The number of samples to be used for analysis by the Kernal SHAP algorithm.
\nThe number of samples determines the size of the synthetic dataset, which has an\n impact on latency of explainability requests. For more information, see the\n Synthetic data of Configure and create an endpoint.
\nA Boolean toggle to indicate if you want to use the logit function (true) or log-odds\n units (false) for model predictions. Defaults to false.
" + } + }, + "Seed": { + "target": "com.amazonaws.sagemaker#ClarifyShapSeed", + "traits": { + "smithy.api#documentation": "The starting value used to initialize the random number generator in the explainer.\n Provide a value for this parameter to obtain a deterministic SHAP result.
" + } + }, + "TextConfig": { + "target": "com.amazonaws.sagemaker#ClarifyTextConfig", + "traits": { + "smithy.api#documentation": "A parameter that indicates if text features are treated as text and explanations are\n provided for individual units of text. Required for natural language processing (NLP)\n explainability only.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The configuration for SHAP analysis using SageMaker Clarify Explainer.
" + } + }, + "com.amazonaws.sagemaker#ClarifyShapNumberOfSamples": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1 + } + } + }, + "com.amazonaws.sagemaker#ClarifyShapSeed": { + "type": "integer" + }, + "com.amazonaws.sagemaker#ClarifyShapUseLogit": { + "type": "boolean" + }, + "com.amazonaws.sagemaker#ClarifyTextConfig": { + "type": "structure", + "members": { + "Language": { + "target": "com.amazonaws.sagemaker#ClarifyTextLanguage", + "traits": { + "smithy.api#documentation": "Specifies the language of the text features in ISO 639-1 or\n ISO 639-3 code of a\n supported language.
\nFor a mix of multiple languages, use code 'xx'.
The unit of granularity for the analysis of text features. For example, if the unit is\n 'token', then each token (like a word in English) of the text is\n treated as a feature. SHAP values are computed for each unit/feature.
A parameter used to configure the SageMaker Clarify explainer to treat text features as text so\n that explanations are provided for individual units of text. Required only for natural\n language processing (NLP) explainability.
" + } + }, + "com.amazonaws.sagemaker#ClarifyTextGranularity": { + "type": "enum", + "members": { + "TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "token" + } + }, + "SENTENCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sentence" + } + }, + "PARAGRAPH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "paragraph" + } + } + } + }, + "com.amazonaws.sagemaker#ClarifyTextLanguage": { + "type": "enum", + "members": { + "AFRIKAANS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "af" + } + }, + "ALBANIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sq" + } + }, + "ARABIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ar" + } + }, + "ARMENIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hy" + } + }, + "BASQUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "eu" + } + }, + "BENGALI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "bn" + } + }, + "BULGARIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "bg" + } + }, + "CATALAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ca" + } + }, + "CHINESE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "zh" + } + }, + "CROATIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hr" + } + }, + "CZECH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cs" + } + }, + "DANISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "da" + } + }, + "DUTCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nl" + } + }, + "ENGLISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en" + } + }, + "ESTONIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "et" + } + }, + "FINNISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fi" + } + }, + "FRENCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fr" + } + }, + "GERMAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de" + } + }, + "GREEK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "el" + } + }, + "GUJARATI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "gu" + } + }, + "HEBREW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "he" + } + }, + "HINDI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hi" + } + }, + "HUNGARIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hu" + } + }, + "ICELANDIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "is" + } + }, + "INDONESIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "id" + } + }, + "IRISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ga" + } + }, + "ITALIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "it" + } + }, + "KANNADA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "kn" + } + }, + "KYRGYZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ky" + } + }, + "LATVIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "lv" + } + }, + "LITHUANIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "lt" + } + }, + "LUXEMBOURGISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "lb" + } + }, + "MACEDONIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "mk" + } + }, + "MALAYALAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ml" + } + }, + "MARATHI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "mr" + } + }, + "NEPALI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ne" + } + }, + "NORWEGIAN_BOKMAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nb" + } + }, + "PERSIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fa" + } + }, + "POLISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pl" + } + }, + "PORTUGUESE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pt" + } + }, + "ROMANIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ro" + } + }, + "RUSSIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ru" + } + }, + "SANSKRIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sa" + } + }, + "SERBIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sr" + } + }, + "SETSWANA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tn" + } + }, + "SINHALA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "si" + } + }, + "SLOVAK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sk" + } + }, + "SLOVENIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sl" + } + }, + "SPANISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es" + } + }, + "SWEDISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sv" + } + }, + "TAGALOG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tl" + } + }, + "TAMIL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ta" + } + }, + "TATAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tt" + } + }, + "TELUGU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "te" + } + }, + "TURKISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tr" + } + }, + "UKRAINIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "uk" + } + }, + "URDU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ur" + } + }, + "YORUBA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "yo" + } + }, + "LIGURIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "lij" + } + }, + "MULTI_LANGUAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "xx" + } + } + } + }, "com.amazonaws.sagemaker#ClientId": { "type": "string", "traits": { @@ -5999,6 +6761,12 @@ "traits": { "smithy.api#documentation": "Specifies configuration for how an endpoint performs asynchronous inference. This is a\n required field in order for your Endpoint to be invoked using InvokeEndpointAsync.
" } + }, + "ExplainerConfig": { + "target": "com.amazonaws.sagemaker#ExplainerConfig", + "traits": { + "smithy.api#documentation": "A member of CreateEndpointConfig that enables explainers.
Returns the description of an endpoint configuration created using the \n CreateEndpointConfig\n API.
The configuration parameters for an explainer.
" + } } } }, @@ -12644,6 +13418,12 @@ "traits": { "smithy.api#documentation": "Returns the summary of an in-progress deployment. This field is only returned when the\n endpoint is creating or updating with a new endpoint configuration.
" } + }, + "ExplainerConfig": { + "target": "com.amazonaws.sagemaker#ExplainerConfig", + "traits": { + "smithy.api#documentation": "The configuration parameters for an explainer.
" + } } } }, @@ -19106,6 +19886,20 @@ } } }, + "com.amazonaws.sagemaker#ExplainerConfig": { + "type": "structure", + "members": { + "ClarifyExplainerConfig": { + "target": "com.amazonaws.sagemaker#ClarifyExplainerConfig", + "traits": { + "smithy.api#documentation": "A member of ExplainerConfig that contains configuration parameters for\n the SageMaker Clarify explainer.
A parameter to activate explainers.
" + } + }, "com.amazonaws.sagemaker#FailStepMetadata": { "type": "structure", "members": { diff --git a/codegen/sdk/aws-models/savingsplans.json b/codegen/sdk/aws-models/savingsplans.json index 3ffaef2ae5b..d634ab3b90d 100644 --- a/codegen/sdk/aws-models/savingsplans.json +++ b/codegen/sdk/aws-models/savingsplans.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.savingsplans#AWSSavingsPlan": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "savingsplans", - "arnNamespace": "savingsplans", - "cloudFormationName": "Savingsplans", - "cloudTrailEventSource": "savingsplans.amazonaws.com", - "endpointPrefix": "savingsplans" - }, - "aws.auth#sigv4": { - "name": "savingsplans" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Savings Plans are a pricing model that offer significant savings on AWS usage (for\n example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD\n per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For\n more information, see the AWS Savings Plans User Guide.
", - "smithy.api#title": "AWS Savings Plans" - }, "version": "2019-06-28", "operations": [ { @@ -75,7 +60,22 @@ { "target": "com.amazonaws.savingsplans#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "savingsplans", + "arnNamespace": "savingsplans", + "cloudFormationName": "Savingsplans", + "cloudTrailEventSource": "savingsplans.amazonaws.com", + "endpointPrefix": "savingsplans" + }, + "aws.auth#sigv4": { + "name": "savingsplans" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Savings Plans are a pricing model that offer significant savings on AWS usage (for\n example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD\n per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For\n more information, see the AWS Savings Plans User Guide.
", + "smithy.api#title": "AWS Savings Plans" + } }, "com.amazonaws.savingsplans#Amount": { "type": "string" @@ -428,6 +428,7 @@ "maxResults": { "target": "com.amazonaws.savingsplans#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return with a single call. To retrieve additional results, make another\n call with the returned token value.
" } } @@ -553,6 +554,7 @@ "maxResults": { "target": "com.amazonaws.savingsplans#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return with a single call. To retrieve additional results, make another\n call with the returned token value.
" } } @@ -734,7 +736,6 @@ "com.amazonaws.savingsplans#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -744,6 +745,7 @@ "com.amazonaws.savingsplans#PageSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -784,6 +786,7 @@ "durationSeconds": { "target": "com.amazonaws.savingsplans#SavingsPlansDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration, in seconds.
" } }, @@ -929,6 +932,7 @@ "termDurationInSeconds": { "target": "com.amazonaws.savingsplans#TermDurationInSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration of the term, in seconds.
" } }, @@ -1050,6 +1054,7 @@ "durationSeconds": { "target": "com.amazonaws.savingsplans#SavingsPlansDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration, in seconds.
" } }, @@ -1758,6 +1763,7 @@ "com.amazonaws.savingsplans#SavingsPlansDuration": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -1905,7 +1911,10 @@ "type": "string" }, "com.amazonaws.savingsplans#TermDurationInSeconds": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.savingsplans#UUID": { "type": "string", diff --git a/codegen/sdk/aws-models/schemas.json b/codegen/sdk/aws-models/schemas.json index 17f29aea1eb..ed1aa11c945 100644 --- a/codegen/sdk/aws-models/schemas.json +++ b/codegen/sdk/aws-models/schemas.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -153,6 +153,7 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Support discovery of schemas in events sent to the bus from another account. (default: true).
" } }, @@ -201,6 +202,7 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The Status if the discoverer will discover schemas from events sent from another account.
" } }, @@ -443,6 +445,9 @@ "input": { "target": "com.amazonaws.schemas#DeleteDiscovererRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -490,6 +495,9 @@ "input": { "target": "com.amazonaws.schemas#DeleteRegistryRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -537,6 +545,9 @@ "input": { "target": "com.amazonaws.schemas#DeleteResourcePolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -583,6 +594,9 @@ "input": { "target": "com.amazonaws.schemas#DeleteSchemaRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -638,6 +652,9 @@ "input": { "target": "com.amazonaws.schemas#DeleteSchemaVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -927,6 +944,7 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The Status if the discoverer will discover schemas from events sent from another account.
" } }, @@ -1189,6 +1207,7 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The Status if the discoverer will discover schemas from events sent from another account.
" } }, @@ -1640,6 +1659,7 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -1722,6 +1742,7 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -1814,6 +1835,7 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -1905,6 +1927,7 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -2295,6 +2318,7 @@ "VersionCount": { "target": "com.amazonaws.schemas#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of versions available for the schema.
" } } @@ -2438,6 +2462,7 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -2643,6 +2668,9 @@ "input": { "target": "com.amazonaws.schemas#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -2768,6 +2796,9 @@ "input": { "target": "com.amazonaws.schemas#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -2869,6 +2900,7 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Support discovery of schemas in events sent to the bus from another account. (default: true)
" } } @@ -2910,6 +2942,7 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The Status if the discoverer will discover schemas from events sent from another account.
" } }, @@ -3145,10 +3178,16 @@ } }, "com.amazonaws.schemas#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.schemas#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.schemas#__listOfDiscovererSummary": { "type": "list", @@ -3205,7 +3244,10 @@ } }, "com.amazonaws.schemas#__long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.schemas#__string": { "type": "string" diff --git a/codegen/sdk/aws-models/securityhub.json b/codegen/sdk/aws-models/securityhub.json index c26c340fd76..a04c5de7f11 100644 --- a/codegen/sdk/aws-models/securityhub.json +++ b/codegen/sdk/aws-models/securityhub.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -256,6 +256,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of the port.
" } }, @@ -314,6 +315,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of the port.
" } }, @@ -433,6 +435,7 @@ "com.amazonaws.securityhub#AdminsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -582,6 +585,7 @@ "PercentTraffic": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of traffic that is diverted to a canary deployment.
" } }, @@ -600,6 +604,7 @@ "UseStageCache": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the canary deployment uses the stage cache.
" } } @@ -628,6 +633,7 @@ "MetricsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether CloudWatch metrics are enabled for the method.
" } }, @@ -640,42 +646,49 @@ "DataTraceEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether data trace logging is enabled for the method. Data trace logging\n affects the log entries that are pushed to CloudWatch Logs.
" } }, "ThrottlingBurstLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The throttling burst limit for the method.
" } }, "ThrottlingRateLimit": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The throttling rate limit for the method.
" } }, "CachingEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether responses are cached and returned for requests. For responses to be\n cached, a cache cluster must be enabled on the stage.
" } }, "CacheTtlInSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL,\n the longer the response is cached.
" } }, "CacheDataEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the cached responses are encrypted.
" } }, "RequireAuthorizationForCacheControl": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether authorization is required for a cache invalidation request.
" } }, @@ -750,6 +763,7 @@ "MinimumCompressionSize": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum size in bytes of a payload before compression is enabled.
\nIf null, then compression is disabled.
If 0, then all payloads are compressed.
" } }, @@ -800,6 +814,7 @@ "CacheClusterEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a cache cluster is enabled for the stage.
" } }, @@ -848,6 +863,7 @@ "TracingEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether active tracing with X-Ray is enabled for the stage.
" } }, @@ -948,6 +964,7 @@ "DetailedMetricsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether detailed metrics are enabled.
" } }, @@ -960,18 +977,21 @@ "DataTraceEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether data trace logging is enabled. Data trace logging affects the log\n entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.
" } }, "ThrottlingBurstLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The throttling burst limit.
" } }, "ThrottlingRateLimit": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The throttling rate limit.
" } } @@ -1046,6 +1066,7 @@ "AutoDeploy": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether updates to an API automatically trigger a new deployment.
" } }, @@ -1058,6 +1079,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the stage is managed by API Gateway.
" } } @@ -1110,6 +1132,7 @@ "HealthCheckGracePeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before it checks the\n health status of an EC2 instance that has come into service.
" } }, @@ -1140,6 +1163,7 @@ "CapacityRebalance": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether capacity rebalancing is enabled.\n
" } } @@ -1206,12 +1230,14 @@ "OnDemandBaseCapacity": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.
" } }, "OnDemandPercentageAboveBaseCapacity": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of On-Demand Instances and Spot Instances for additional capacity beyond OnDemandBaseCapacity.
The number of Spot Instance pools across which to allocate your Spot Instances.
" } }, @@ -1328,6 +1355,7 @@ "NoDevice": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to suppress the device that is included in the block device mapping of the Amazon Machine Image (AMI).
\nIf NoDevice is true, then you cannot specify Ebs.>
Whether to delete the volume when the instance is terminated.
" } }, "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to encrypt the volume.
" } }, "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of input/output (I/O) operations per second (IOPS) to provision for the volume.
\nOnly supported for gp3 or io1 volumes. Required for io1 volumes. Not used with standard, gp2, st1, or sc1 volumes.
The volume size, in GiBs. The following are the supported volumes sizes for each volume type:
\ngp2 and gp3: 1-16,384
\nio1: 4-16,384
\nst1 and sc1: 125-16,384
\nstandard: 1-1,024
\nYou must specify either SnapshotId or VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.
For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's instances.
" } }, @@ -1428,6 +1461,7 @@ "EbsOptimized": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the launch configuration is optimized for Amazon EBS I/O.
" } }, @@ -1520,6 +1554,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If set to true, then instances in the group launch with detailed\n monitoring.
If set to false, then instances in the group launch with basic\n monitoring.
The HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays.\n
Specifies the number of days after creation that a recovery point is moved to cold storage.\n
" } } @@ -1696,6 +1734,7 @@ "StartWindowMinutes": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully.\n
" } }, @@ -1720,12 +1759,14 @@ "EnableContinuousBackup": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether Backup creates continuous backups capable of point-in-time restore (PITR).\n
" } }, "CompletionWindowMinutes": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A value in minutes after a backup job is successfully started before it must be completed, or it is canceled by Backup.\n
" } }, @@ -1868,6 +1909,7 @@ "BackupSizeInBytes": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size, in bytes, of a backup.\n
" } }, @@ -1922,6 +1964,7 @@ "IsEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A Boolean value that is returned as TRUE if the specified recovery point is \nencrypted, or FALSE if the recovery point is not encrypted.\n
Specifies the number of days after creation that a recovery point is deleted. Must be greater \nthan 90 days plus MoveToColdStorageAfterDays.\n
Specifies the number of days after creation that a recovery point is moved to cold storage.\n
" } } @@ -2342,6 +2387,7 @@ "DisableRollback": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean to enable or disable rollback on stack creation failures. \n
" } }, @@ -2354,6 +2400,7 @@ "EnableTerminationProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether termination protection is enabled for the stack.\n
" } }, @@ -2408,6 +2455,7 @@ "TimeoutInMinutes": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The length of time, in minutes, that CloudFormation waits for the nested stack to reach \nthe CREATE_COMPLETE state.\n
With this field, you can enable or disable the selected distribution.
" } }, "IncludeCookies": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether you want CloudFront to include cookies in access logs.
" } }, @@ -2628,18 +2678,21 @@ "HttpPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTP port that CloudFront uses to connect to the origin.\n
" } }, "HttpsPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The HTTPS port that CloudFront uses to connect to the origin.\n
" } }, "OriginKeepaliveTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies how long, in seconds, CloudFront persists its connection to the origin.\n
" } }, @@ -2652,6 +2705,7 @@ "OriginReadTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies how long, in seconds, CloudFront waits for a response from the origin.\n
" } }, @@ -2706,6 +2760,7 @@ "Quantity": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of status codes that can cause a failover.
" } } @@ -2810,6 +2865,7 @@ "Quantity": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing \nan HTTPS connection with this origin.\n
" } } @@ -2856,6 +2912,7 @@ "CloudFrontDefaultCertificate": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the distribution uses the CloudFront domain name. If set to false, then you provide either AcmCertificateArn or IamCertificateId.
Indicates whether the trail has custom event selectors.
" } }, @@ -2912,18 +2970,21 @@ "IncludeGlobalServiceEvents": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the trail publishes events from global services such as IAM to the log\n files.
" } }, "IsMultiRegionTrail": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the trail applies only to the current Region or to all Regions.
" } }, "IsOrganizationTrail": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the trail is created for all accounts in an organization in Organizations,\n or only for the current Amazon Web Services account.
" } }, @@ -2936,6 +2997,7 @@ "LogFileValidationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether CloudTrail log file validation is enabled.
" } }, @@ -2986,6 +3048,7 @@ "ActionsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether actions should be executed during any changes to the alarm state. \n
" } }, @@ -3028,6 +3091,7 @@ "DatapointsToAlarm": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of datapoints that must be breaching to trigger the alarm. \n
" } }, @@ -3046,6 +3110,7 @@ "EvaluationPeriods": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of periods over which data is compared to the specified threshold.\n
" } }, @@ -3082,6 +3147,7 @@ "Period": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The period, in seconds, over which the statistic is applied. This is required for an alarm based on a \nmetric.\n
" } }, @@ -3094,6 +3160,7 @@ "Threshold": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value to compare with the specified statistic.\n
" } }, @@ -3158,6 +3225,7 @@ "EncryptionDisabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to disable encryption on the artifact. Only valid when Type is S3.
Whether the name specified in the buildspec file overrides the artifact name.
" } }, @@ -3294,6 +3363,7 @@ "PrivilegedMode": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to allow the Docker daemon to run inside a Docker container. Set to true if the build project is used to build Docker images.
Whether to disable encryption of the S3 build log output.
" } }, @@ -3462,12 +3533,14 @@ "GitCloneDepth": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Information about the Git clone depth for the build project.
" } }, "InsecureSsl": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to ignore SSL warnings while connecting to the project source code.
" } } @@ -3514,6 +3587,7 @@ "AllowCredentials": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the CORS request includes credentials.
" } }, @@ -3526,6 +3600,7 @@ "MaxAge": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds for which the browser caches preflight request results.
" } }, @@ -3628,6 +3703,7 @@ "ItemCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of items in the table.
" } }, @@ -3700,6 +3776,7 @@ "TableSizeBytes": { "target": "com.amazonaws.securityhub#SizeBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total size of the table in bytes.
" } }, @@ -3720,6 +3797,7 @@ "Backfilling": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the index is currently backfilling.
" } }, @@ -3738,6 +3816,7 @@ "IndexSizeBytes": { "target": "com.amazonaws.securityhub#SizeBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total size in bytes of the index.
" } }, @@ -3750,6 +3829,7 @@ "ItemCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of items in the index.
" } }, @@ -3884,18 +3964,21 @@ "NumberOfDecreasesToday": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of times during the current UTC calendar day that the provisioned throughput\n was decreased.
" } }, "ReadCapacityUnits": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of strongly consistent reads consumed per second before DynamoDB\n returns a ThrottlingException.
The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException.
The read capacity units for the replica.
" } } @@ -4018,6 +4102,7 @@ "RestoreInProgress": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether a restore is currently in progress.
" } } @@ -4064,6 +4149,7 @@ "StreamEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether DynamoDB Streams is enabled on the table.
" } }, @@ -4244,6 +4330,7 @@ "HttpPutResponseHopLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The desired HTTP PUT response hop limit for instance metadata requests. \n The larger the number, the further instance metadata requests can travel.\n
" } }, @@ -4322,6 +4409,7 @@ "IsDefault": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether this is the default network ACL for the VPC.
" } }, @@ -4372,6 +4460,7 @@ "Egress": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the subnet.
" } }, @@ -4408,6 +4497,7 @@ "RuleNumber": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The rule number. The rules are processed in order by their number.
" } } @@ -4440,12 +4530,14 @@ "DeleteOnTermination": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the network interface is deleted when the instance is\n terminated.
" } }, "DeviceIndex": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The device index of the network interface attachment on the instance.
" } }, @@ -4496,6 +4588,7 @@ "SourceDestCheck": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether traffic to or from the instance is validated.
" } }, @@ -4656,12 +4749,14 @@ "FromPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type\n number.
\nA value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you\n must specify all codes.
" } }, "ToPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
\nA value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all\n codes.
Whether to assign an IPV6 address to a network interface that is created in this subnet.
" } }, @@ -4834,6 +4930,7 @@ "AvailableIpAddressCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of available IPV4 addresses in the subnet. Does not include addresses for stopped instances.
" } }, @@ -4846,12 +4943,14 @@ "DefaultForAz": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether this subnet is the default subnet for the Availability Zone.
" } }, "MapPublicIpOnLaunch": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether instances in this subnet receive a public IP address.
" } }, @@ -4968,6 +5067,7 @@ "AmazonSideAsn": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A private Autonomous System Number (ASN) for the Amazon side of a BGP session. \n
" } } @@ -4988,6 +5088,7 @@ "DeleteOnTermination": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the EBS volume is deleted when the EC2 instance is terminated.
" } }, @@ -5032,12 +5133,14 @@ "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the volume is encrypted.
" } }, "Size": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the volume, in GiBs.
" } }, @@ -5126,6 +5229,7 @@ "AcceptanceRequired": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.
" } }, @@ -5144,6 +5248,7 @@ "ManagesVpcEndpoints": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the service manages its VPC endpoints.
" } }, @@ -5402,6 +5507,7 @@ "StaticRoutesOnly": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the VPN connection uses static routes only.
" } }, @@ -5422,6 +5528,7 @@ "DpdTimeoutSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds after which a Dead Peer Detection (DPD) timeout occurs.
" } }, @@ -5458,6 +5565,7 @@ "Phase1LifetimeSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The lifetime for phase 1 of the IKE negotiation, in seconds.
" } }, @@ -5482,6 +5590,7 @@ "Phase2LifetimeSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The lifetime for phase 2 of the IKE negotiation, in seconds.
" } }, @@ -5494,18 +5603,21 @@ "RekeyFuzzPercentage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of the rekey window, which is determined by\n RekeyMarginTimeSeconds during which the rekey time is randomly selected.
The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services\n side of the VPN connection performs an IKE rekey.
" } }, "ReplayWindowSize": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of packets in an IKE replay window.
" } }, @@ -5558,6 +5670,7 @@ "AcceptedRouteCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of accepted routes.
" } }, @@ -5696,6 +5809,7 @@ "ScanOnPush": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to scan images after they are pushed to a repository.
" } } @@ -5796,6 +5910,7 @@ "CloudWatchEncryptionEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to enable encryption on the CloudWatch logs.
" } }, @@ -5814,6 +5929,7 @@ "S3EncryptionEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to encrypt the logs that are sent to the S3 bucket.
" } }, @@ -5834,6 +5950,7 @@ "Base": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum number of tasks to run on the specified capacity provider.
" } }, @@ -5846,6 +5963,7 @@ "Weight": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The relative percentage of the total number of tasks launched that should use the capacity provider.
" } } @@ -5872,6 +5990,7 @@ "ActiveServicesCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of services that are running on the cluster in an ACTIVE state. You can view these services with the Amazon ECS \n ListServices\n API operation.\n
The number of container instances registered into the cluster. This includes container instances in both ACTIVE and DRAINING status.\n
The number of tasks in the cluster that are in the RUNNING state.\n
When this parameter is true, the container is given elevated privileges on the host container instance \n(similar to the root user). \n
" } } @@ -5972,6 +6094,7 @@ "Base": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for Base.
The value must be between 0 and 100000.
" } }, @@ -5984,6 +6107,7 @@ "Weight": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The relative percentage of the total number of tasks that should use the capacity provider.
\nIf no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.
\nThe value can be between 0 and 1000.
" } } @@ -6004,12 +6128,14 @@ "Enable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to enable the deployment circuit breaker logic for the service.
" } }, "Rollback": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.
" } } @@ -6030,12 +6156,14 @@ "MaximumPercent": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "For a service that uses the rolling update (ECS) deployment type, the maximum number of tasks in a service that are allowed in the RUNNING or PENDING state during a deployment, and for tasks that use the EC2 launch type, when any container instances are in the DRAINING state. Provided as a percentage of the desired number of tasks. The default value is 200%.
For a service that uses the blue/green (CODE_DEPLOY) or EXTERNAL deployment types, and tasks that use the EC2 launch type, the maximum number of tasks in the service that remain in the RUNNING state while the container instances are in the DRAINING state.
For the Fargate launch type, the maximum percent value is not used.
" } }, "MinimumHealthyPercent": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "For a service that uses the rolling update (ECS) deployment type, the minimum number of tasks in a service that must remain in the RUNNING state during a deployment, and while any container instances are in the DRAINING state if the service contains tasks using the EC2 launch type. Expressed as a percentage of the desired number of tasks. The default value is 100%.
For a service that uses the blue/green (CODE_DEPLOY) or EXTERNAL deployment types and tasks that use the EC2 launch type, the minimum number of the tasks in the service that remain in the RUNNING state while the container instances are in the DRAINING state.
For the Fargate launch type, the minimum healthy percent value is not used.
" } } @@ -6088,24 +6216,28 @@ "DesiredCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of instantiations of the task definition to run on the service.
" } }, "EnableEcsManagedTags": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to enable Amazon ECS managed tags for the tasks in the service.
" } }, "EnableExecuteCommand": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the execute command functionality is enabled for the service.
" } }, "HealthCheckGracePeriodSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "After a task starts, the amount of time in seconds that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks.
" } }, @@ -6210,6 +6342,7 @@ "ContainerPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port on the container to associate with the load balancer. This port must correspond to a containerPort in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the hostPort of the port mapping.
The port value to use for the service discovery service.
\nIf the task definition uses the bridge or host network mode, you must specify ContainerName and ContainerPort.
If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify either ContainerName and ContainerPort, or Port , but not both.
The port value to use for a service discovery service that specifies an SRV record. This field can be used if both the awsvpcawsvpc network mode and SRV records are used.
The number of CPU units reserved for the container.
" } }, @@ -6416,6 +6552,7 @@ "DisableNetworking": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to disable networking within the container.
" } }, @@ -6464,6 +6601,7 @@ "Essential": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the container is essential. All tasks must have at least one essential container.
" } }, @@ -6500,6 +6638,7 @@ "Interactive": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If set to true, then containerized applications can be deployed that require stdin or a tty to be allocated.
The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory specified here, the container is shut down. The total amount of memory reserved for all containers within a task must be lower than the task memory value, if one is specified.
" } }, "MemoryReservation": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The soft limit (in MiB) of memory to reserve for the container.
" } }, @@ -6554,18 +6695,21 @@ "Privileged": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the container is given elevated privileges on the host container instance. The elevated privileges are similar to the root user.
" } }, "PseudoTerminal": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to allocate a TTY to the container.
" } }, "ReadonlyRootFilesystem": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the container is given read-only access to its root file system.
" } }, @@ -6590,12 +6734,14 @@ "StartTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds to wait before giving up on resolving dependencies for a container.
" } }, "StopTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.
" } }, @@ -6744,24 +6890,28 @@ "Interval": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time period in seconds between each health check execution. The default value is 30 seconds.
" } }, "Retries": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of times to retry a failed health check before the container is considered unhealthy. The default value is 3.
" } }, "StartPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The optional grace period in seconds that allows containers time to bootstrap before failed health checks count towards the maximum number of retries.
" } }, "Timeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time period in seconds to wait for a health check to succeed before it is considered a failure. The default value is 5.
" } } @@ -6808,24 +6958,28 @@ "InitProcessEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to run an init process inside the container that forwards signals and reaps processes.
The total amount of swap memory (in MiB) that a container can use.
" } }, "SharedMemorySize": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value for the size (in MiB) of the /dev/shm volume.
" } }, "Swappiness": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Configures the container's memory swappiness behavior. Determines how aggressively pages are swapped. The higher the value, the more aggressive the swappiness. The default is 60.
" } }, @@ -6890,6 +7044,7 @@ "Size": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum size (in MiB) of the tmpfs volume.
" } } @@ -6974,6 +7129,7 @@ "ReadOnly": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the container has read-only access to the volume.
" } }, @@ -7000,12 +7156,14 @@ "ContainerPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port number on the container that is bound to the user-specified or automatically assigned host port.
" } }, "HostPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port number on the container instance to reserve for the container.
" } }, @@ -7124,6 +7282,7 @@ "HardLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The hard limit for the ulimit type.
" } }, @@ -7136,6 +7295,7 @@ "SoftLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The soft limit for the ulimit type.
" } } @@ -7156,6 +7316,7 @@ "ReadOnly": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the container has read-only access to the volume.
" } }, @@ -7410,6 +7571,7 @@ "Autoprovision": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to create the Docker volume automatically if it does not already exist.
" } }, @@ -7492,6 +7654,7 @@ "TransitEncryptionPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.
" } } @@ -7806,6 +7969,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the logging types that are listed in Types are enabled.
Whether to require that all traffic to the domain arrive over HTTPS.
" } }, @@ -8166,12 +8331,14 @@ "DedicatedMasterCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled must be true.
Whether to use a dedicated master node for the Elasticsearch domain. A dedicated master node performs cluster management tasks, but doesn't hold data or respond to data upload requests.
" } }, @@ -8184,6 +8351,7 @@ "InstanceCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of data nodes to use in the Elasticsearch domain.
" } }, @@ -8202,6 +8370,7 @@ "ZoneAwarenessEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to enable zone awareness for the Elasticsearch domain. When zone awareness is enabled, OpenSearch allocates the cluster's nodes and replica index shards across Availability Zones in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.
" } } @@ -8216,6 +8385,7 @@ "AvailabilityZoneCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "he number of Availability Zones that the domain uses. Valid values are 2 and 3. The default is 2.
" } } @@ -8230,6 +8400,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether encryption at rest is enabled.
" } }, @@ -8279,6 +8450,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the log publishing is enabled.
" } } @@ -8293,6 +8465,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether node-to-node encryption is enabled.
" } } @@ -8313,6 +8486,7 @@ "Cancellable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether a request to update the domain can be canceled.
" } }, @@ -8337,6 +8511,7 @@ "UpdateAvailable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether a service software update is available for the domain.
" } }, @@ -8421,6 +8596,7 @@ "CookieExpirationPeriod": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time, in seconds, after which the cookie is considered stale. If an\n expiration period is not specified, the stickiness session lasts for the duration of the\n browser session.
" } }, @@ -8441,12 +8617,14 @@ "EmitInterval": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The interval in minutes for publishing the access logs.
\nYou can publish access logs either every 5 minutes or every 60 minutes.
" } }, "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether access logs are enabled for the load balancer.
" } }, @@ -8537,6 +8715,7 @@ "InstancePort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port on which the EC2 instance is listening.
" } }, @@ -8563,12 +8742,14 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether connection draining is enabled for the load balancer.
" } }, "Timeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum time, in seconds, to keep the existing connections open before deregistering\n the instances.
" } } @@ -8583,6 +8764,7 @@ "IdleTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time, in seconds, that the connection can be idle (no data is sent over the\n connection) before it is closed by the load balancer.
" } } @@ -8597,6 +8779,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether cross-zone load balancing is enabled for the load balancer.
" } } @@ -8721,12 +8904,14 @@ "HealthyThreshold": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of consecutive health check successes required before the instance is moved\n to the Healthy state.
" } }, "Interval": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The approximate interval, in seconds, between health checks of an individual\n instance.
" } }, @@ -8739,12 +8924,14 @@ "Timeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time, in seconds, during which no response means a failed health\n check.
" } }, "UnhealthyThreshold": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of consecutive health check failures that must occur before the instance is\n moved to the Unhealthy state.
" } } @@ -8779,6 +8966,7 @@ "InstancePort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port on which the instance is listening.
" } }, @@ -8791,6 +8979,7 @@ "LoadBalancerPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port on which the load balancer is listening.
\nOn EC2-VPC, you can specify any port from the range 1-65535.
\nOn EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587,\n 1024-65535.
" } }, @@ -9074,6 +9263,7 @@ "MfaAuthenticated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the session used multi-factor authentication (MFA).
" } }, @@ -9357,6 +9547,7 @@ "AttachmentCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of users, groups, and roles that the policy is attached to.
" } }, @@ -9381,6 +9572,7 @@ "IsAttachable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the policy can be attached to a user, group, or role.
" } }, @@ -9393,6 +9585,7 @@ "PermissionsBoundaryUsageCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of users and roles that use the policy to set the permissions\n boundary.
" } }, @@ -9437,6 +9630,7 @@ "IsDefaultVersion": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the version is the default version.
" } }, @@ -9518,6 +9712,7 @@ "MaxSessionDuration": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum session duration (in seconds) that you want to set for the specified role.
" } }, @@ -9652,12 +9847,14 @@ "ShardCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of shards that the stream uses. \n
" } }, "RetentionPeriodHours": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of hours for the data records that are stored in shards to remain accessible. \n
" } } @@ -9698,6 +9895,7 @@ "CreationDate": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Indicates when the KMS key was created.
\nUses the date-time format specified in RFC 3339 section 5.6, Internet\n Date/Time Format. The value cannot contain spaces. For example,\n 2020-03-22T13:22:13.933Z.
Whether the key has key rotation enabled.
" } } @@ -9854,6 +10053,7 @@ "MemorySize": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The memory that is allocated to the function.
" } }, @@ -9878,6 +10078,7 @@ "Timeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time that Lambda allows a function to run before stopping it.
" } }, @@ -9956,6 +10157,7 @@ "CodeSize": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the layer archive in bytes.
" } } @@ -10016,6 +10218,7 @@ "Version": { "target": "com.amazonaws.securityhub#AwsLambdaLayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version number.
" } }, @@ -10037,7 +10240,10 @@ } }, "com.amazonaws.securityhub#AwsLambdaLayerVersionNumber": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.securityhub#AwsMountPoint": { "type": "structure", @@ -10071,6 +10277,7 @@ "DeleteProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the firewall is protected from deletion. If set to true, then the firewall cannot be deleted.
Whether the firewall is protected from a change to the firewall policy. If set to true, you cannot associate a different policy with the firewall.
Whether the firewall is protected from a change to the subnet associations. If set to true, you cannot map different subnets to the firewall.
The maximum number of operating resources that this rule group can use.
" } }, @@ -10247,12 +10457,14 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables fine-grained access control.\n
" } }, "InternalUserDatabaseEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables the internal user database.\n
" } }, @@ -10273,24 +10485,28 @@ "InstanceCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of data nodes to use in the OpenSearch domain.
" } }, "WarmEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether UltraWarm is enabled.
" } }, "WarmCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of UltraWarm instances.
" } }, "DedicatedMasterEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to use a dedicated master node for the OpenSearch domain. A dedicated master node performs cluster management tasks, but does not hold data or respond to data upload requests.
" } }, @@ -10303,6 +10519,7 @@ "DedicatedMasterCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled must be true.
Whether to enable zone awareness for the OpenSearch domain. When zone awareness is enabled, OpenSearch Service allocates the cluster's nodes and replica index shards across Availability Zones (AZs) in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.
" } }, @@ -10341,6 +10559,7 @@ "AvailabilityZoneCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of Availability Zones that the domain uses. Valid values are 2 or 3. The default is 2.
Whether to enable a custom endpoint for the domain.
" } }, "EnforceHTTPS": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to require that all traffic to the domain arrive over HTTPS.
" } }, @@ -10491,6 +10712,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether encryption at rest is enabled.
" } }, @@ -10517,6 +10739,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the log publishing is enabled.
" } } @@ -10583,6 +10806,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether node-to-node encryption is enabled.
" } } @@ -10603,6 +10827,7 @@ "Cancellable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether a request to update the domain can be canceled.
" } }, @@ -10627,6 +10852,7 @@ "UpdateAvailable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether a service software update is available for the domain.
" } }, @@ -10639,6 +10865,7 @@ "OptionalDeployment": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the service software update is optional.
" } } @@ -10699,6 +10926,7 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "For all database engines except Aurora, specifies the allocated storage size in\n gibibytes (GiB).
" } }, @@ -10711,6 +10939,7 @@ "BackupRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days for which automated backups are retained.
" } }, @@ -10747,6 +10976,7 @@ "MultiAz": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the DB cluster has instances in multiple Availability Zones.
" } }, @@ -10765,6 +10995,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port number on which the DB instances in the DB cluster accept connections.
" } }, @@ -10807,6 +11038,7 @@ "StorageEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the DB cluster is encrypted.
" } }, @@ -10849,12 +11081,14 @@ "DeletionProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the DB cluster has deletion protection enabled.
" } }, "HttpEndpointEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.
" } }, @@ -10867,12 +11101,14 @@ "CopyTagsToSnapshot": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether tags are copied from the DB cluster to snapshots of the DB cluster.
" } }, "CrossAccountClone": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services\n account.
" } }, @@ -10915,6 +11151,7 @@ "IamDatabaseAuthenticationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the mapping of IAM accounts to database accounts is enabled.
" } } @@ -10929,12 +11166,14 @@ "IsClusterWriter": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the cluster member is the primary instance for the DB cluster.
" } }, "PromotionTier": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the order in which an Aurora replica is promoted to the primary instance when\n the existing primary instance fails.
" } }, @@ -11011,6 +11250,7 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the allocated storage size in gibibytes (GiB).
" } }, @@ -11023,6 +11263,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port number on which the DB instances in the DB cluster accept connections.
" } }, @@ -11065,12 +11306,14 @@ "PercentProgress": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the percentage of the estimated data that has been transferred.
" } }, "StorageEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the DB cluster is encrypted.
" } }, @@ -11095,6 +11338,7 @@ "IamDatabaseAuthenticationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether mapping of IAM accounts to database accounts is enabled.
" } } @@ -11209,6 +11453,7 @@ "DbInstancePort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the port that the DB instance listens on. If the DB instance is part of a DB\n cluster, this can be a different port than the DB cluster port.
" } }, @@ -11227,6 +11472,7 @@ "DeletionProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the DB instance has deletion protection enabled.
\nWhen deletion protection is enabled, the database cannot be deleted.
" } }, @@ -11251,6 +11497,7 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if mapping of IAM accounts to database\n accounts is enabled, and otherwise false.
\nIAM database authentication can be enabled for the following database engines.
\nFor MySQL 5.6, minor version 5.6.34 or higher
\nFor MySQL 5.7, minor version 5.7.16 or higher
\nAurora 5.6 or higher
\nSpecifies the accessibility options for the DB instance.
\nA value of true specifies an Internet-facing instance with a publicly resolvable DNS\n name, which resolves to a public IP address.
\nA value of false specifies an internal instance with a DNS name that resolves to a\n private IP address.
" } }, "StorageEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the DB instance is encrypted.
" } }, @@ -11293,6 +11542,7 @@ "MultiAz": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the DB instance is a multiple Availability Zone deployment.
" } }, @@ -11317,6 +11567,7 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of storage (in gigabytes) to initially allocate for the DB instance.
" } }, @@ -11329,6 +11580,7 @@ "BackupRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days for which to retain automated backups.
" } }, @@ -11377,6 +11629,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether minor version patches are applied automatically.
" } }, @@ -11407,6 +11660,7 @@ "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the provisioned IOPS (I/O operations per second) for this DB instance.
" } }, @@ -11449,12 +11703,14 @@ "CopyTagsToSnapshot": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to copy resource tags to snapshots of the DB instance.
" } }, "MonitoringInterval": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The interval, in seconds, between points when enhanced monitoring metrics are collected\n for the DB instance.
" } }, @@ -11467,6 +11723,7 @@ "PromotionTier": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The order in which to promote an Aurora replica to the primary instance after a failure\n of the existing primary instance.
" } }, @@ -11479,6 +11736,7 @@ "PerformanceInsightsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Performance Insights is enabled for the DB instance.
" } }, @@ -11491,6 +11749,7 @@ "PerformanceInsightsRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days to retain Performance Insights data.
" } }, @@ -11512,6 +11771,7 @@ "MaxAllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The upper limit to which Amazon RDS can automatically scale the storage of the DB\n instance.
" } } @@ -11532,6 +11792,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the port that the database engine is listening on.
" } }, @@ -11636,6 +11897,7 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The new value of the allocated storage for the DB instance.
" } }, @@ -11648,18 +11910,21 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The new port for the DB instance.
" } }, "BackupRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The new backup retention period for the DB instance.
" } }, "MultiAZ": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates that a single Availability Zone DB instance is changing to a multiple Availability Zone deployment.
" } }, @@ -11678,6 +11943,7 @@ "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The new provisioned IOPS value for the DB instance.
" } }, @@ -11892,6 +12158,7 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of storage (in gigabytes) to be initially allocated for the database instance.
" } }, @@ -11904,6 +12171,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port that the database engine was listening on at the time of the snapshot.
" } }, @@ -11952,6 +12220,7 @@ "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
" } }, @@ -11964,6 +12233,7 @@ "PercentProgress": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of the estimated data that has been transferred.
" } }, @@ -11994,6 +12264,7 @@ "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the DB snapshot is encrypted.
" } }, @@ -12012,6 +12283,7 @@ "IamDatabaseAuthenticationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether mapping of IAM accounts to database accounts is enabled.
" } }, @@ -12044,6 +12316,7 @@ "Normal": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the read replica instance is operating normally.
" } }, @@ -12178,6 +12451,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the event notification subscription is enabled.
" } }, @@ -12382,12 +12656,14 @@ "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days that manual snapshots are retained in the destination region after\n they are copied from a source region.
\nIf the value is -1,\n then the manual snapshot is retained indefinitely.
Valid values: Either -1\n or an integer between 1 and 3,653
The number of days to retain automated snapshots in the destination Region after they\n are copied from a source Region.
" } }, @@ -12440,12 +12716,14 @@ "AllowVersionUpgrade": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether major version upgrades are applied automatically to the cluster during\n the maintenance window.
" } }, "AutomatedSnapshotRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days that automatic cluster snapshots are retained.
" } }, @@ -12554,6 +12832,7 @@ "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the data in the cluster is encrypted at rest.
" } }, @@ -12566,6 +12845,7 @@ "EnhancedVpcRouting": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to create the cluster with enhanced VPC routing enabled.
" } }, @@ -12608,6 +12888,7 @@ "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The default number of days to retain a manual snapshot.
\nIf the value is -1, the snapshot is retained indefinitely.
This setting doesn't change the retention period of existing snapshots.
\nValid values: Either -1 or an integer between 1 and 3,653
The number of compute nodes in the cluster.
" } }, @@ -12656,6 +12938,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the cluster can be accessed from a public network.
" } }, @@ -12738,6 +13021,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port that the database engine listens on.
" } } @@ -12828,6 +13112,7 @@ "LoggingEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether logging is enabled.
" } }, @@ -12848,6 +13133,7 @@ "AutomatedSnapshotRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The pending or in-progress change to the automated snapshot retention period.
" } }, @@ -12878,6 +13164,7 @@ "EnhancedVpcRouting": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to create the cluster with enhanced VPC routing enabled.
" } }, @@ -12902,12 +13189,14 @@ "NumberOfNodes": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The pending or in-progress change to the number of nodes in the cluster.
" } }, "PubliclyAccessible": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The pending or in-progress change to whether the cluster can be connected to from the\n public network.
" } } @@ -12922,6 +13211,7 @@ "AllowCancelResize": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the resize operation can be canceled.
" } }, @@ -12942,30 +13232,35 @@ "CurrentRestoreRateInMegaBytesPerSecond": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of megabytes per second being transferred from the backup storage. Returns\n the average rate for a completed backup.
\nThis field is only updated when you restore to DC2 and DS2 node types.
" } }, "ElapsedTimeInSeconds": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time an in-progress restore has been running, or the amount of time it\n took a completed restore to finish.
\nThis field is only updated when you restore to DC2 and DS2 node types.
" } }, "EstimatedTimeToCompletionInSeconds": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The estimate of the time remaining before the restore is complete. Returns 0 for a\n completed restore.
\nThis field is only updated when you restore to DC2 and DS2 node types.
" } }, "ProgressInMegaBytes": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of megabytes that were transferred from snapshot storage.
\nThis field is only updated when you restore to DC2 and DS2 node types.
" } }, "SnapshotSizeInMegaBytes": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the set of snapshot data that was used to restore the cluster.
\nThis field is only updated when you restore to DC2 and DS2 node types.
" } }, @@ -13012,24 +13307,28 @@ "BlockPublicAcls": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).
" } }, "BlockPublicPolicy": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to reject calls to update the access policy for an S3 bucket or access point if the policy allows public access.
" } }, "IgnorePublicAcls": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.
" } }, "RestrictPublicBuckets": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether to restrict access to an access point or S3 bucket that has a public policy to only Amazon Web Services service principals and authorized users within the S3 bucket owner's account.
" } } @@ -13058,6 +13357,7 @@ "DaysAfterInitiation": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days after which Amazon S3 cancels an incomplete multipart upload.
" } } @@ -13084,12 +13384,14 @@ "ExpirationInDays": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The length in days of the lifetime for objects that are subject to the rule.
" } }, "ExpiredObjectDeleteMarker": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether Amazon S3 removes a delete marker that has no noncurrent versions. If set to\n true, the delete marker is expired. If set to false, the policy\n takes no action.
If you provide ExpiredObjectDeleteMarker, you cannot provide\n ExpirationInDays or ExpirationDate.
The number of days that an object is noncurrent before Amazon S3 can perform the associated action.
" } }, @@ -13270,6 +13573,7 @@ "Days": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days that an object is noncurrent before Amazon S3 can perform the associated action.
" } }, @@ -13302,6 +13606,7 @@ "Days": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days after which to transition the object to the specified storage class. If you provide Days, you cannot provide Date.
Specifies whether MFA delete is currently enabled in the S3 bucket versioning configuration. If the S3 bucket was never configured with MFA delete, then this attribute is not included.
" } }, @@ -13815,6 +14121,7 @@ "RotationOccurredWithinFrequency": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the rotation occurred within the specified rotation frequency.
" } }, @@ -13827,6 +14134,7 @@ "RotationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether rotation is enabled.
" } }, @@ -13839,6 +14147,7 @@ "Deleted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the secret is deleted.
" } }, @@ -13865,6 +14174,7 @@ "AutomaticallyAfterDays": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of days after the previous rotation to rotate the secret.
" } } @@ -13970,12 +14280,14 @@ "Confidence": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A finding's confidence. Confidence is defined as the likelihood that a finding\n accurately identifies the behavior or issue that it was intended to identify.
\nConfidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent\n confidence and 100 means 100 percent confidence.
" } }, "Criticality": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The level of importance assigned to the resources associated with the finding.
\nA score of 0 means that the underlying resources have no criticality, and a score of 100\n is reserved for the most critical resources.
" } }, @@ -14129,6 +14441,7 @@ "Sample": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the finding is a sample finding.
" } } @@ -14867,6 +15180,7 @@ "KmsDataKeyReusePeriodSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling KMS again.
" } }, @@ -14905,18 +15219,21 @@ "CompliantCriticalCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "For the patches that are compliant, the number that have a severity of\n CRITICAL.
For the patches that are compliant, the number that have a severity of\n HIGH.
For the patches that are compliant, the number that have a severity of\n MEDIUM.
For the patch items that are noncompliant, the number of items that have a severity of\n CRITICAL.
For the patches that are compliant, the number that have a severity of\n INFORMATIONAL.
For the patches that are noncompliant, the number that have a severity of\n INFORMATIONAL.
For the patches that are compliant, the number that have a severity of\n UNSPECIFIED.
For the patches that are noncompliant, the number that have a severity of\n LOW.
For the patches that are noncompliant, the number that have a severity of\n HIGH.
For the patches that are compliant, the number that have a severity of\n LOW.
For the patches that are noncompliant, the number that have a severity of\n MEDIUM.
For the patches that are noncompliant, the number that have a severity of\n UNSPECIFIED.
The maximum number of requests that have an identical value for the field specified in RateKey that are allowed within a five-minute period. If the number of requests exceeds RateLimit and the other predicates specified in the rule are met, WAF triggers the action for the rule.
If set to true, then the rule actions are performed on requests that match the predicate settings.
If set to false, then the rule actions are performed on all requests except those that match the predicate settings.\n
The maximum number of requests that have an identical value for the field specified in RateKey that are allowed within a five-minute period. If the number of requests exceeds RateLimit and the other predicates specified in the rule are met, WAF triggers the action for the rule.
If set to true, then the rule actions are performed on requests that match the predicate settings.
If set to false, then the rule actions are performed on all requests except those that match the predicate settings.
If you define more than one rule in a web ACL, WAF evaluates each request against the rules in\n order based on the value of Priority.
Specifies if you want WAF to allow, block, or count requests based on the settings in the \n ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, \n RegexMatchSet, GeoMatchSet, or SizeConstraintSet.\n
The order in which WAF evaluates the rules in a web ACL.\n
" } }, @@ -15537,6 +15870,7 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order\n based on the value of Priority.
Specifies if you want WAF to allow, block, or count requests based on the settings in the \n ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, \n RegexMatchSet, GeoMatchSet, or SizeConstraintSet.\n
Specifies the order in which the rules in a web\n ACL are evaluated. Rules with a lower value for Priority are\n evaluated before rules with a higher value. The value must be a unique integer. If you add\n multiple rules to a web ACL, the values do not need to be consecutive.
The number of findings that failed to import.
", "smithy.api#required": {} } @@ -15879,6 +16216,7 @@ "SuccessCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of findings that were successfully imported.
", "smithy.api#required": {} } @@ -15950,12 +16288,14 @@ "Confidence": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The updated value for the finding confidence. Confidence is defined as the likelihood\n that a finding accurately identifies the behavior or issue that it was intended to\n identify.
\nConfidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent\n confidence and 100 means 100 percent confidence.
" } }, "Criticality": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The updated value for the level of importance assigned to the resources associated with\n the findings.
\nA score of 0 means that the underlying resources have no criticality, and a score of 100\n is reserved for the most critical resources.
" } }, @@ -16040,7 +16380,10 @@ } }, "com.amazonaws.securityhub#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.securityhub#BooleanFilter": { "type": "structure", @@ -16048,6 +16391,7 @@ "Value": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The value of the boolean.
" } } @@ -16074,12 +16418,14 @@ "Column": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The column number of the column that contains the data. For a Microsoft Excel workbook, the column number corresponds to the alphabetical column identifiers. For example, a value of 1 for Column corresponds to the A column in the workbook.
" } }, "Row": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The row number of the row that contains the data.
" } }, @@ -16164,12 +16510,14 @@ "SizeClassified": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total size in bytes of the affected data.
" } }, "AdditionalOccurrences": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.
" } }, @@ -16307,6 +16655,7 @@ "Privileged": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When this parameter is true, the container is given elevated privileges on the host \ncontainer instance (similar to the root user). \n
The total number of occurrences of sensitive data that were detected.
" } }, @@ -16691,6 +17042,7 @@ "TotalCount": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of occurrences of sensitive data.
" } } @@ -16711,6 +17063,7 @@ "BaseScore": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The base CVSS score.
" } }, @@ -16801,6 +17154,7 @@ "Value": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A date range value for the date filter.
" } }, @@ -17218,6 +17572,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return.
" } } @@ -17305,6 +17660,7 @@ "AutoEnableControls": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to automatically enable new controls when they are added to standards that are\n enabled.
\nIf set to true, then new controls for enabled standards are enabled\n automatically. If set to false, then new controls are not enabled.
Whether to automatically enable Security Hub for new accounts in the organization.
\nIf set to true, then Security Hub is enabled for new accounts. If set to false,\n then new accounts are not added automatically.
Whether the maximum number of allowed member accounts are already associated with the\n Security Hub administrator account.
" } }, @@ -17418,6 +17776,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return.
", "smithy.api#httpQuery": "MaxResults" } @@ -17541,6 +17900,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of security standard controls to return.
", "smithy.api#httpQuery": "MaxResults" } @@ -17577,6 +17937,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of standards to return.
", "smithy.api#httpQuery": "MaxResults" } @@ -17892,6 +18253,7 @@ "Blocked": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the DNS request was blocked.
" } } @@ -17901,7 +18263,10 @@ } }, "com.amazonaws.securityhub#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.securityhub#EnableImportFindingsForProduct": { "type": "operation", @@ -18053,6 +18418,7 @@ "EnableDefaultStandards": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to enable the security standards that Security Hub has designated as automatically\n enabled. If you do not provide a value for EnableDefaultStandards, it is set\n to true. To not enable the automatically enabled standards, set\n EnableDefaultStandards to false.
A finding's confidence. Confidence is defined as the likelihood that a finding\n accurately identifies the behavior or issue that it was intended to identify.
\nConfidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent\n confidence and 100 means 100 percent confidence.
" } }, "Criticality": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The level of importance assigned to the resources associated with the finding.
\nA score of 0 means that the underlying resources have no criticality, and a score of 100\n is reserved for the most critical resources.
" } }, @@ -18277,6 +18645,7 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The order in which to run the stateless rule group.
" } }, @@ -18303,12 +18672,14 @@ "Lon": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The longitude of the location.
" } }, "Lat": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The latitude of the location.
" } } @@ -18418,6 +18789,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return in the response.
" } } @@ -18580,6 +18952,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of findings to return.
" } } @@ -18720,6 +19093,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return in the response.
" } } @@ -18784,6 +19158,7 @@ "InvitationsCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of all membership invitations sent to this Security Hub member account, not\n including the currently accepted invitation.
" } } @@ -18910,12 +19285,14 @@ "Code": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ICMP code for which to deny or allow access. To deny or allow all codes, use the\n value -1.
The ICMP type for which to deny or allow access. To deny or allow all types, use the\n value -1.
The number of findings returned for each GroupByAttributeValue.
The Autonomous System Number (ASN) of the internet provider
" } }, @@ -19402,6 +19784,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return in the response.
", "smithy.api#httpQuery": "MaxResults" } @@ -19478,6 +19861,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return. This operation currently only returns a single result.
", "smithy.api#httpQuery": "MaxResults" } @@ -19544,6 +19928,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#CrossAccountMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return in the response.
", "smithy.api#httpQuery": "MaxResults" } @@ -19617,6 +20002,7 @@ "OnlyAssociated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies which member accounts to include in the response based on their relationship\n status with the administrator account. The default value is TRUE.
If OnlyAssociated is set to TRUE, the response includes member\n accounts whose relationship status with the administrator account is set to ENABLED.
If OnlyAssociated is set to FALSE, the response includes all\n existing member accounts.
The maximum number of items to return in the response.
", "smithy.api#httpQuery": "MaxResults" } @@ -19697,6 +20084,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#AdminsMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return in the response.
", "smithy.api#httpQuery": "MaxResults" } @@ -19800,7 +20188,10 @@ } }, "com.amazonaws.securityhub#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.securityhub#Malware": { "type": "structure", @@ -19977,6 +20368,7 @@ "com.amazonaws.securityhub#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -20078,6 +20470,7 @@ "SourcePort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The source port of network-related information about a finding.
" } }, @@ -20108,6 +20501,7 @@ "DestinationPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The destination port of network-related information about a finding.
" } }, @@ -20158,6 +20552,7 @@ "Blocked": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the network connection attempt was blocked.
" } } @@ -20337,18 +20732,21 @@ "Gte": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The greater-than-equal condition to be applied to a single field when querying for\n findings.
" } }, "Lte": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The less-than-equal condition to be applied to a single field when querying for\n findings.
" } }, "Eq": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The equal-to condition to be applied to a single field when querying for\n findings.
" } } @@ -20407,6 +20805,7 @@ "PageNumber": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The page number of the page that contains the sensitive data.
" } }, @@ -20465,36 +20864,42 @@ "InstalledCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of patches from the compliance standard that were installed\n successfully.
" } }, "MissingCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of patches that are part of the compliance standard but are not installed.\n The count includes patches that failed to install.
" } }, "FailedCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of patches from the compliance standard that failed to install.
" } }, "InstalledOtherCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of installed patches that are not part of the compliance standard.
" } }, "InstalledRejectedCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of patches that are installed but are also on a list of patches that the\n customer rejected.
" } }, "InstalledPendingReboot": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of patches that were applied, but that require the instance to be rebooted in\n order to be marked as installed.
" } }, @@ -20539,6 +20944,7 @@ "Blocked": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the port probe was blocked.
" } } @@ -20585,12 +20991,14 @@ "Begin": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The first port in the port range.
" } }, "End": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The last port in the port range.
" } } @@ -20605,12 +21013,14 @@ "From": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The first port in the port range.
" } }, "To": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The last port in the port range.
" } } @@ -20643,12 +21053,14 @@ "Pid": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The process ID.
" } }, "ParentPid": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The parent process ID.
" } }, @@ -20750,18 +21162,21 @@ "Start": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.
" } }, "End": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.
" } }, "StartColumn": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "In the line where the sensitive data starts, the column within the line where the sensitive data starts.
" } } @@ -20779,6 +21194,7 @@ "com.amazonaws.securityhub#RatioScale": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -20817,6 +21233,7 @@ "RecordIndex": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The record index, starting from 0, for the record that contains the data.
" } } @@ -21786,12 +22203,14 @@ "FromPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The starting port value for the port range.
" } }, "ToPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ending port value for the port range.
" } } @@ -21838,12 +22257,14 @@ "FromPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The starting port value for the port range.
" } }, "ToPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ending port value for the port range.
" } } @@ -21930,6 +22351,7 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Indicates the order in which to run this rule relative to all of the rules in the stateless rule group.
" } }, @@ -22006,21 +22428,6 @@ }, "com.amazonaws.securityhub#SecurityHubAPIService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SecurityHub", - "arnNamespace": "securityhub", - "cloudFormationName": "SecurityHub", - "cloudTrailEventSource": "securityhub.amazonaws.com", - "endpointPrefix": "securityhub" - }, - "aws.auth#sigv4": { - "name": "securityhub" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status\n of your environment based on controls from supported security standards. Security Hub collects\n security data from Amazon Web Services accounts, services, and integrated third-party products and helps\n you analyze security trends in your environment to identify the highest priority security\n issues. For more information about Security Hub, see the \n Security HubUser\n Guide\n .
\nWhen you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services\n Region that is currently active or in the specific Amazon Web Services Region that you specify in your\n request. Any configuration or settings change that results from the operation is applied\n only to that Region. To make the same change in other Regions, execute the same command for\n each Region to apply the change to.
\nFor example, if your Region is set to us-west-2, when you use CreateMembers to add a member account to Security Hub, the association of\n the member account with the administrator account is created only in the us-west-2\n Region. Security Hub must be enabled for the member account in the same Region that the invitation\n was sent from.
The following throttling limits apply to using Security Hub API operations.
\n\n BatchEnableStandards - RateLimit of 1\n request per second, BurstLimit of 1 request per second.
\n GetFindings - RateLimit of 3 requests per second.\n BurstLimit of 6 requests per second.
\n BatchImportFindings - RateLimit of 10 requests per second.\n BurstLimit of 30 requests per second.
\n BatchUpdateFindings - RateLimit of 10 requests per second.\n BurstLimit of 30 requests per second.
\n UpdateStandardsControl - RateLimit of\n 1 request per second, BurstLimit of 5 requests per second.
All other operations - RateLimit of 10 requests per second.\n BurstLimit of 30 requests per second.
Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status\n of your environment based on controls from supported security standards. Security Hub collects\n security data from Amazon Web Services accounts, services, and integrated third-party products and helps\n you analyze security trends in your environment to identify the highest priority security\n issues. For more information about Security Hub, see the \n Security HubUser\n Guide\n .
\nWhen you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services\n Region that is currently active or in the specific Amazon Web Services Region that you specify in your\n request. Any configuration or settings change that results from the operation is applied\n only to that Region. To make the same change in other Regions, execute the same command for\n each Region to apply the change to.
\nFor example, if your Region is set to us-west-2, when you use CreateMembers to add a member account to Security Hub, the association of\n the member account with the administrator account is created only in the us-west-2\n Region. Security Hub must be enabled for the member account in the same Region that the invitation\n was sent from.
The following throttling limits apply to using Security Hub API operations.
\n\n BatchEnableStandards - RateLimit of 1\n request per second, BurstLimit of 1 request per second.
\n GetFindings - RateLimit of 3 requests per second.\n BurstLimit of 6 requests per second.
\n BatchImportFindings - RateLimit of 10 requests per second.\n BurstLimit of 30 requests per second.
\n BatchUpdateFindings - RateLimit of 10 requests per second.\n BurstLimit of 30 requests per second.
\n UpdateStandardsControl - RateLimit of\n 1 request per second, BurstLimit of 5 requests per second.
All other operations - RateLimit of 10 requests per second.\n BurstLimit of 30 requests per second.
The total number of occurrences of sensitive data that were detected.
" } }, @@ -22243,6 +22666,7 @@ "TotalCount": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of occurrences of sensitive data.
" } } @@ -22263,6 +22687,7 @@ "Product": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Deprecated. This attribute is being deprecated. Instead of providing\n Product, provide Original.
The native severity as defined by the Amazon Web Services service or integrated partner product that\n generated the finding.
" } }, @@ -22275,6 +22700,7 @@ "Normalized": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Deprecated. The normalized severity of a finding. This attribute is being deprecated.\n Instead of providing Normalized, provide Label.
If you provide Label and do not provide Normalized, then\n Normalized is set automatically as follows.
\n INFORMATIONAL - 0
\n LOW - 1
\n MEDIUM - 40
\n HIGH - 70
\n CRITICAL - 90
The normalized severity for the finding. This attribute is to be deprecated in favor of\n Label.
If you provide Normalized and do not provide Label,\n Label is set automatically as follows.
0 - INFORMATIONAL\n
1–39 - LOW\n
40–69 - MEDIUM\n
70–89 - HIGH\n
90–100 - CRITICAL\n
The native severity as defined by the Amazon Web Services service or integrated partner product that\n generated the finding.
" } }, @@ -22366,7 +22794,10 @@ } }, "com.amazonaws.securityhub#SizeBytes": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.securityhub#SoftwarePackage": { "type": "structure", @@ -22501,6 +22932,7 @@ "EnabledByDefault": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the standard is enabled by default. When Security Hub is enabled from the console, if a\n standard is enabled by default, the check box for that standard is selected by\n default.
\nWhen Security Hub is enabled using the EnableSecurityHub API operation, the\n standard is enabled by default unless EnableDefaultStandards is set to\n false.
This total number of items in which the threat has been detected.\n\t\t
" } }, @@ -23530,6 +23963,7 @@ "AutoEnable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to automatically enable Security Hub for new accounts in the organization.
\nBy default, this is false, and new accounts are not added\n automatically.
To automatically enable Security Hub for new accounts, set this to true.
Whether to automatically enable new controls when they are added to standards that are\n enabled.
\nBy default, this is set to true, and new controls are enabled\n automatically. To not automatically enable new controls, set this to false.\n
Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC.\n
" } }, "AllowEgressFromLocalClassicLinkToRemoteVpc": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.\n
" } }, "AllowEgressFromLocalVpcToRemoteClassicLink": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.\n
" } } diff --git a/codegen/sdk/aws-models/serverlessapplicationrepository.json b/codegen/sdk/aws-models/serverlessapplicationrepository.json index ff83d23c9d6..ce178034646 100644 --- a/codegen/sdk/aws-models/serverlessapplicationrepository.json +++ b/codegen/sdk/aws-models/serverlessapplicationrepository.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -419,6 +419,7 @@ "IsVerifiedAuthor": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.
", "smithy.api#jsonName": "isVerifiedAuthor" } @@ -591,6 +592,7 @@ "ResourcesSupported": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether all of the AWS resources contained in this application are supported in the region\n in which it is being retrieved.
", "smithy.api#jsonName": "resourcesSupported" } @@ -900,6 +902,9 @@ "input": { "target": "com.amazonaws.serverlessapplicationrepository#DeleteApplicationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.serverlessapplicationrepository#BadRequestException" @@ -1120,6 +1125,7 @@ "IsVerifiedAuthor": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.
", "smithy.api#jsonName": "isVerifiedAuthor" } @@ -1361,6 +1367,7 @@ "MaxItems": { "target": "com.amazonaws.serverlessapplicationrepository#MaxItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of items to return.
", "smithy.api#httpQuery": "maxItems" } @@ -1453,6 +1460,7 @@ "MaxItems": { "target": "com.amazonaws.serverlessapplicationrepository#MaxItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of items to return.
", "smithy.api#httpQuery": "maxItems" } @@ -1527,6 +1535,7 @@ "MaxItems": { "target": "com.amazonaws.serverlessapplicationrepository#MaxItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of items to return.
", "smithy.api#httpQuery": "maxItems" } @@ -1562,6 +1571,7 @@ "com.amazonaws.serverlessapplicationrepository#MaxItems": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1633,6 +1643,7 @@ "MaxLength": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer value that determines the largest number of characters that you want to allow for String types.
", "smithy.api#jsonName": "maxLength" } @@ -1640,6 +1651,7 @@ "MaxValue": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A numeric value that determines the largest numeric value that you want to allow for Number types.
", "smithy.api#jsonName": "maxValue" } @@ -1647,6 +1659,7 @@ "MinLength": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An integer value that determines the smallest number of characters that you want to allow for String types.
", "smithy.api#jsonName": "minLength" } @@ -1654,6 +1667,7 @@ "MinValue": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A numeric value that determines the smallest numeric value that you want to allow for Number types.
", "smithy.api#jsonName": "minValue" } @@ -1669,6 +1683,7 @@ "NoEcho": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether to mask the parameter value whenever anyone makes a call that describes the stack. If you set the\n value to true, the parameter value is masked with asterisks (*****).
", "smithy.api#jsonName": "noEcho" } @@ -1790,6 +1805,7 @@ "MonitoringTimeInMinutes": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This property corresponds to the content of the same name for the AWS CloudFormation RollbackConfiguration\n Data Type.
", "smithy.api#jsonName": "monitoringTimeInMinutes" } @@ -1965,6 +1981,9 @@ "input": { "target": "com.amazonaws.serverlessapplicationrepository#UnshareApplicationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.serverlessapplicationrepository#BadRequestException" @@ -2145,6 +2164,7 @@ "IsVerifiedAuthor": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.
", "smithy.api#jsonName": "isVerifiedAuthor" } @@ -2238,6 +2258,7 @@ "ResourcesSupported": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether all of the AWS resources contained in this application are supported in the region\n in which it is being retrieved.
", "smithy.api#jsonName": "resourcesSupported", "smithy.api#required": {} @@ -2318,10 +2339,16 @@ } }, "com.amazonaws.serverlessapplicationrepository#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.serverlessapplicationrepository#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.serverlessapplicationrepository#__listOfApplicationDependencySummary": { "type": "list", diff --git a/codegen/sdk/aws-models/service-catalog-appregistry.json b/codegen/sdk/aws-models/service-catalog-appregistry.json index 773e3ac1295..f10c75ac58f 100644 --- a/codegen/sdk/aws-models/service-catalog-appregistry.json +++ b/codegen/sdk/aws-models/service-catalog-appregistry.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.servicecatalogappregistry#AWS242AppRegistry": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Service Catalog AppRegistry", - "arnNamespace": "servicecatalog", - "cloudFormationName": "ServiceCatalogAppRegistry", - "cloudTrailEventSource": "servicecatalogappregistry.amazonaws.com", - "endpointPrefix": "servicecatalog-appregistry" - }, - "aws.auth#sigv4": { - "name": "servicecatalog" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Web Services Service Catalog AppRegistry enables organizations to understand the application context of their Amazon Web Services resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.
", - "smithy.api#title": "AWS Service Catalog App Registry" - }, "version": "2020-06-24", "operations": [ { @@ -114,7 +99,22 @@ { "target": "com.amazonaws.servicecatalogappregistry#UpdateAttributeGroup" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Service Catalog AppRegistry", + "arnNamespace": "servicecatalog", + "cloudFormationName": "ServiceCatalogAppRegistry", + "cloudTrailEventSource": "servicecatalogappregistry.amazonaws.com", + "endpointPrefix": "servicecatalog-appregistry" + }, + "aws.auth#sigv4": { + "name": "servicecatalog" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Web Services Service Catalog AppRegistry enables organizations to understand the application context of their Amazon Web Services resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.
", + "smithy.api#title": "AWS Service Catalog App Registry" + } }, "com.amazonaws.servicecatalogappregistry#Application": { "type": "structure", @@ -407,6 +407,7 @@ "com.amazonaws.servicecatalogappregistry#AssociationCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -1103,6 +1104,7 @@ "associatedResourceCount": { "target": "com.amazonaws.servicecatalogappregistry#AssociationCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of top-level resources that were registered as part of this application.
" } }, @@ -1358,7 +1360,7 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.
", "smithy.api#httpQuery": "maxResults" } @@ -1438,7 +1440,7 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.
", "smithy.api#httpQuery": "maxResults" } @@ -1518,7 +1520,7 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.
", "smithy.api#httpQuery": "maxResults" } @@ -1630,7 +1632,7 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The upper bound of the number of results to return. The value cannot exceed 25. If you omit this parameter, it defaults to 25. This value is optional.
", "smithy.api#httpQuery": "maxResults" } @@ -1667,7 +1669,7 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.
", "smithy.api#httpQuery": "maxResults" } @@ -1746,6 +1748,7 @@ "com.amazonaws.servicecatalogappregistry#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 diff --git a/codegen/sdk/aws-models/service-catalog.json b/codegen/sdk/aws-models/service-catalog.json index ee2189d7503..35b80b6901b 100644 --- a/codegen/sdk/aws-models/service-catalog.json +++ b/codegen/sdk/aws-models/service-catalog.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.servicecatalog#AWS242ServiceCatalogService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Service Catalog", - "arnNamespace": "servicecatalog", - "cloudFormationName": "ServiceCatalog", - "cloudTrailEventSource": "servicecatalog.amazonaws.com", - "endpointPrefix": "servicecatalog" - }, - "aws.auth#sigv4": { - "name": "servicecatalog" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "\n Service Catalog enables\n organizations to create and manage catalogs of IT services that are approved for Amazon Web Services. To\n get the most out of this documentation, you should be familiar with the terminology\n discussed in Service Catalog\n Concepts.
", - "smithy.api#title": "AWS Service Catalog" - }, "version": "2015-12-10", "operations": [ { @@ -309,7 +294,22 @@ { "target": "com.amazonaws.servicecatalog#UpdateTagOption" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Service Catalog", + "arnNamespace": "servicecatalog", + "cloudFormationName": "ServiceCatalog", + "cloudTrailEventSource": "servicecatalog.amazonaws.com", + "endpointPrefix": "servicecatalog" + }, + "aws.auth#sigv4": { + "name": "servicecatalog" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "\n Service Catalog enables\n organizations to create and manage catalogs of IT services that are approved for Amazon Web Services. To\n get the most out of this documentation, you should be familiar with the terminology\n discussed in Service Catalog\n Concepts.
", + "smithy.api#title": "AWS Service Catalog" + } }, "com.amazonaws.servicecatalog#AcceptLanguage": { "type": "string", @@ -463,7 +463,10 @@ } }, "com.amazonaws.servicecatalog#ApproximateCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.servicecatalog#AssociateBudgetWithResource": { "type": "operation", @@ -841,7 +844,10 @@ } }, "com.amazonaws.servicecatalog#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#BudgetDetail": { "type": "structure", @@ -1378,6 +1384,7 @@ "ShareTagOptions": { "target": "com.amazonaws.servicecatalog#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables or disables TagOptions sharing when creating the portfolio share. If this flag is not provided, TagOptions sharing is disabled.
If set to true, Service Catalog stops managing the specified provisioned product even\n if it cannot delete the underlying resources.
" } } @@ -2588,6 +2596,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } } @@ -2923,6 +2932,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -3013,6 +3023,7 @@ "Verbose": { "target": "com.amazonaws.servicecatalog#Verbose", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a verbose level of detail is enabled.
" } } @@ -3200,6 +3211,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } } @@ -3409,7 +3421,10 @@ "members": {} }, "com.amazonaws.servicecatalog#DisableTemplateValidation": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#DisassociateBudgetFromResource": { "type": "operation", @@ -4085,6 +4100,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -4114,7 +4130,10 @@ } }, "com.amazonaws.servicecatalog#HasDefaultPath": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#Id": { "type": "string", @@ -4137,7 +4156,10 @@ } }, "com.amazonaws.servicecatalog#IgnoreErrors": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#ImportAsProvisionedProduct": { "type": "operation", @@ -4372,6 +4394,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -4444,6 +4467,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -4522,6 +4546,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -4594,6 +4619,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -4682,6 +4708,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } } @@ -4760,6 +4787,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } } @@ -4854,6 +4882,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } } @@ -4894,6 +4923,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } } @@ -4960,6 +4990,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -5026,6 +5057,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -5118,6 +5150,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -5228,6 +5261,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -5325,6 +5359,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
", "smithy.api#httpQuery": "pageSize" } @@ -5422,6 +5457,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -5468,6 +5504,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -5541,6 +5578,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } } @@ -5626,6 +5664,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -5667,7 +5706,10 @@ } }, "com.amazonaws.servicecatalog#NoEcho": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#NotificationArn": { "type": "string", @@ -5692,10 +5734,7 @@ } }, "com.amazonaws.servicecatalog#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.servicecatalog#OperationNotSupportedException": { "type": "structure", @@ -5793,6 +5832,7 @@ "com.amazonaws.servicecatalog#PageSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 20 @@ -5802,6 +5842,7 @@ "com.amazonaws.servicecatalog#PageSizeMax100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5993,12 +6034,14 @@ "Accepted": { "target": "com.amazonaws.servicecatalog#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.
" } }, "ShareTagOptions": { "target": "com.amazonaws.servicecatalog#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
" } } @@ -6133,6 +6176,7 @@ "ApproximateCount": { "target": "com.amazonaws.servicecatalog#ApproximateCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An approximate count of the products that match the value.
" } } @@ -6338,6 +6382,7 @@ "HasDefaultPath": { "target": "com.amazonaws.servicecatalog#HasDefaultPath", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the product has a default path.\n If the product does not have a default path, call ListLaunchPaths \n to disambiguate between paths. Otherwise, ListLaunchPaths is not \n required, and the output of ProductViewSummary can be used directly with \n DescribeProvisioningParameters.
" } }, @@ -7082,10 +7127,7 @@ } }, "com.amazonaws.servicecatalog#ProvisioningArtifactActive": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.servicecatalog#ProvisioningArtifactCreatedTime": { "type": "timestamp" @@ -7266,6 +7308,7 @@ "IsNoEcho": { "target": "com.amazonaws.servicecatalog#NoEcho", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If this value is true, the value for this parameter is obfuscated from view when the\n parameter is retrieved. This parameter is used to hide sensitive information.
" } }, @@ -7343,6 +7386,7 @@ "DisableTemplateValidation": { "target": "com.amazonaws.servicecatalog#DisableTemplateValidation", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If set to true, Amazon Web Services Service Catalog stops validating the specified provisioning artifact even if it is invalid.
" } } @@ -8098,7 +8142,10 @@ "type": "string" }, "com.amazonaws.servicecatalog#RetainPhysicalResources": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#RoleArn": { "type": "string", @@ -8145,6 +8192,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -8274,6 +8322,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -8320,6 +8369,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -8424,6 +8474,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#SearchProvisionedProductsPageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return with this call.
" } }, @@ -8447,6 +8498,7 @@ "TotalResultsCount": { "target": "com.amazonaws.servicecatalog#TotalResultsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of provisioned products found.
" } }, @@ -8461,6 +8513,7 @@ "com.amazonaws.servicecatalog#SearchProvisionedProductsPageSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -8851,7 +8904,6 @@ "com.amazonaws.servicecatalog#StackSetFailureToleranceCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -8860,7 +8912,6 @@ "com.amazonaws.servicecatalog#StackSetFailureTolerancePercentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -8870,7 +8921,6 @@ "com.amazonaws.servicecatalog#StackSetMaxConcurrencyCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -8879,7 +8929,6 @@ "com.amazonaws.servicecatalog#StackSetMaxConcurrencyPercentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -9014,10 +9063,7 @@ } }, "com.amazonaws.servicecatalog#TagOptionActive": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.servicecatalog#TagOptionDetail": { "type": "structure", @@ -9201,6 +9247,7 @@ "IgnoreErrors": { "target": "com.amazonaws.servicecatalog#IgnoreErrors", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If set to true, Service Catalog stops managing the specified provisioned product even\n if it cannot delete the underlying resources.
" } }, @@ -9213,6 +9260,7 @@ "RetainPhysicalResources": { "target": "com.amazonaws.servicecatalog#RetainPhysicalResources", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When this boolean parameter is set to true, the TerminateProvisionedProduct API deletes\n the Service Catalog provisioned product. However, it does not remove the CloudFormation\n stack, stack set, or the underlying resources of the deleted provisioned product. The\n default value is false.
If set to true, Value is ignored and the previous parameter value is kept.
Indicates whether the quota is global.
" } }, @@ -1864,12 +1866,14 @@ "Adjustable": { "target": "com.amazonaws.servicequotas#QuotaAdjustable", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the quota value can be increased.
" } }, "GlobalQuota": { "target": "com.amazonaws.servicequotas#GlobalQuota", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the quota is global.
" } }, @@ -1944,6 +1948,7 @@ "GlobalQuota": { "target": "com.amazonaws.servicequotas#GlobalQuota", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the quota is global.
" } } diff --git a/codegen/sdk/aws-models/servicediscovery.json b/codegen/sdk/aws-models/servicediscovery.json index e30f6882b10..7220f51eef6 100644 --- a/codegen/sdk/aws-models/servicediscovery.json +++ b/codegen/sdk/aws-models/servicediscovery.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -673,7 +673,6 @@ "com.amazonaws.servicediscovery#DiscoverMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -798,7 +797,6 @@ "com.amazonaws.servicediscovery#FailureThreshold": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -1690,7 +1688,6 @@ "com.amazonaws.servicediscovery#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2413,7 +2410,6 @@ "com.amazonaws.servicediscovery#RecordTTL": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -2530,10 +2526,7 @@ } }, "com.amazonaws.servicediscovery#ResourceCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.servicediscovery#ResourceDescription": { "type": "string", @@ -3290,6 +3283,9 @@ "input": { "target": "com.amazonaws.servicediscovery#UpdateInstanceCustomHealthStatusRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.servicediscovery#CustomHealthNotFound" diff --git a/codegen/sdk/aws-models/ses.json b/codegen/sdk/aws-models/ses.json index 0d6a92785ec..2e6bb3b1220 100644 --- a/codegen/sdk/aws-models/ses.json +++ b/codegen/sdk/aws-models/ses.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -663,7 +663,10 @@ } }, "com.amazonaws.ses#Counter": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ses#CreateConfigurationSet": { "type": "operation", @@ -827,6 +830,9 @@ "input": { "target": "com.amazonaws.ses#CreateCustomVerificationEmailTemplateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.ses#CustomVerificationEmailInvalidContentException" @@ -1362,6 +1368,9 @@ "input": { "target": "com.amazonaws.ses#DeleteCustomVerificationEmailTemplateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "Deletes an existing custom verification email template.
\nFor more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer\n Guide.
\nYou can execute this operation no more than once per second.
" } @@ -1611,6 +1620,9 @@ "input": { "target": "com.amazonaws.ses#DeleteVerifiedEmailAddressRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "Deprecated. Use the DeleteIdentity operation to delete email addresses\n and domains.
Sets whether Amazon SES publishes events to this destination when you send an email with\n the associated configuration set. Set to true to enable publishing to this\n destination; set to false to prevent publishing to this destination. The\n default value is false.
Describes whether email sending is enabled or disabled for your Amazon SES account in the\n current AWS Region.
" } } @@ -2525,6 +2545,9 @@ }, "com.amazonaws.ses#GetSendQuota": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.ses#GetSendQuotaResponse" }, @@ -2538,18 +2561,21 @@ "Max24HourSend": { "target": "com.amazonaws.ses#Max24HourSend", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of emails the user is allowed to send in a 24-hour interval. A\n value of -1 signifies an unlimited quota.
" } }, "MaxSendRate": { "target": "com.amazonaws.ses#MaxSendRate", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of emails that Amazon SES can accept from the user's account per\n second.
\nThe rate at which Amazon SES accepts the user's messages might be less than the maximum\n send rate.
\nThe number of emails sent during the previous 24 hours.
" } } @@ -2560,6 +2586,9 @@ }, "com.amazonaws.ses#GetSendStatistics": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.ses#GetSendStatisticsResponse" }, @@ -2636,6 +2665,7 @@ "DkimEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Is true if DKIM signing is enabled for email sent from the identity. It's false\n otherwise. The default value is true.
", "smithy.api#required": {} } @@ -2720,6 +2750,7 @@ "ForwardingEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Describes whether Amazon SES will forward bounce and complaint notifications as email.\n true indicates that Amazon SES will forward bounce and complaint\n notifications as email, while false indicates that bounce and complaint\n notifications will be published only to the specified bounce and complaint Amazon SNS\n topics.
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of\n type Bounce. A value of true specifies that Amazon SES will include\n headers in bounce notifications, and a value of false specifies that Amazon SES\n will not include headers in bounce notifications.
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of\n type Complaint. A value of true specifies that Amazon SES will\n include headers in complaint notifications, and a value of false specifies\n that Amazon SES will not include headers in complaint notifications.
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of\n type Delivery. A value of true specifies that Amazon SES will\n include headers in delivery notifications, and a value of false specifies\n that Amazon SES will not include headers in delivery notifications.
If true, the receipt rule is active. The default value is\n false.
If true, then messages that this receipt rule applies to are scanned for\n spam and viruses. The default value is false.
Describes whether email sending is enabled or disabled for the configuration set. If\n the value is true, then Amazon SES will send emails that use the configuration\n set. If the value is false, Amazon SES will not send emails that use the\n configuration set. The default value is true. You can change this setting\n using UpdateConfigurationSetSendingEnabled.
Describes whether or not Amazon SES publishes reputation metrics for the configuration set,\n such as bounce and complaint rates, to Amazon CloudWatch.
\nIf the value is true, reputation metrics are published. If the value is\n false, reputation metrics are not published. The default value is\n false.
Number of emails that have been sent.
" } }, "Bounces": { "target": "com.amazonaws.ses#Counter", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of emails that have bounced.
" } }, "Complaints": { "target": "com.amazonaws.ses#Counter", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of unwanted emails that were rejected by recipients.
" } }, "Rejects": { "target": "com.amazonaws.ses#Counter", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of emails rejected by Amazon SES.
" } } @@ -5021,7 +5068,10 @@ } }, "com.amazonaws.ses#SentLast24Hours": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ses#SetActiveReceiptRuleSet": { "type": "operation", @@ -5086,6 +5136,7 @@ "DkimEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Sets whether DKIM signing is enabled for an identity. Set to true to\n enable DKIM signing for this identity; false to disable it.
Sets whether Amazon SES will forward bounce and complaint notifications as email.\n true specifies that Amazon SES will forward bounce and complaint\n notifications as email, in addition to any Amazon SNS topic publishing otherwise specified.\n false specifies that Amazon SES will publish bounce and complaint\n notifications only through Amazon SNS. This value can only be set to false when\n Amazon SNS topics are set for both Bounce and Complaint\n notification types.
Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the\n specified notification type. A value of true specifies that Amazon SES will\n include headers in notifications, and a value of false specifies that Amazon SES\n will not include headers in notifications.
This value can only be set when NotificationType is already set to use a\n particular Amazon SNS topic.
Enables or disables email sending across your entire Amazon SES account in the current\n AWS Region. You can use this operation in conjunction with Amazon CloudWatch alarms to\n temporarily pause email sending across your Amazon SES account in a given AWS Region when\n reputation metrics (such as your bounce or complaint rates) reach certain\n thresholds.
\nYou can execute this operation no more than once per second.
" } @@ -5860,6 +5916,7 @@ "Enabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Describes whether email sending is enabled or disabled for your Amazon SES account in the\n current AWS Region.
" } } @@ -5931,6 +5988,9 @@ "input": { "target": "com.amazonaws.ses#UpdateConfigurationSetReputationMetricsEnabledRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.ses#ConfigurationSetDoesNotExistException" @@ -5953,6 +6013,7 @@ "Enabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Describes whether or not Amazon SES will publish reputation metrics for the configuration\n set, such as bounce and complaint rates, to Amazon CloudWatch.
", "smithy.api#required": {} } @@ -5967,6 +6028,9 @@ "input": { "target": "com.amazonaws.ses#UpdateConfigurationSetSendingEnabledRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.ses#ConfigurationSetDoesNotExistException" @@ -5989,6 +6053,7 @@ "Enabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Describes whether email sending is enabled or disabled for the configuration set.\n
", "smithy.api#required": {} } @@ -6054,6 +6119,9 @@ "input": { "target": "com.amazonaws.ses#UpdateCustomVerificationEmailTemplateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.ses#CustomVerificationEmailInvalidContentException" @@ -6344,6 +6412,9 @@ "input": { "target": "com.amazonaws.ses#VerifyEmailAddressRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "Deprecated. Use the VerifyEmailIdentity operation to verify a new email\n address.
A boolean value status noting if the contact is unsubscribed from all contact list\n topics.
" } }, @@ -899,6 +900,7 @@ "UnsubscribeAll": { "target": "com.amazonaws.sesv2#UnsubscribeAll", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value status noting if the contact is unsubscribed from all contact list\n topics.
" } }, @@ -1323,6 +1325,7 @@ "VerifiedForSendingStatus": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether or not the identity is verified. You can only send email from\n verified email addresses or domains. For more information about verifying identities,\n see the Amazon Pinpoint User Guide.
" } }, @@ -2322,6 +2325,7 @@ "SigningEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If the value is true, then the messages that you send from the identity\n are signed using DKIM. If the value is false, then the messages that you\n send from the identity aren't DKIM-signed.
If true, the event destination is enabled. When the event destination is\n enabled, the specified event types are sent to the destinations in this\n EventDestinationDefinition.
If false, the event destination is disabled. When the event destination\n is disabled, events aren't sent to the specified destinations.
If true, the event destination is enabled. When the event destination is\n enabled, the specified event types are sent to the destinations in this\n EventDestinationDefinition.
If false, the event destination is disabled. When the event destination\n is disabled, events aren't sent to the specified destinations.
Indicates whether or not the automatic warm-up feature is enabled for dedicated IP\n addresses that are associated with your account.
" } }, @@ -3043,6 +3047,7 @@ "ProductionAccessEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether or not your account has production access in the current Amazon Web Services\n Region.
\nIf the value is false, then your account is in the\n sandbox. When your account is in the sandbox, you can only send\n email to verified identities. Additionally, the maximum number of emails you can send in\n a 24-hour period (your sending quota) is 200, and the maximum number of emails you can\n send per second (your maximum sending rate) is 1.
If the value is true, then your account has production access. When your\n account has production access, you can send email to any address. The sending quota and\n maximum sending rate for your account vary based on your specific use case.
Indicates whether or not email sending is enabled for your Amazon SES account in the\n current Amazon Web Services Region.
" } }, @@ -3447,6 +3453,7 @@ "UnsubscribeAll": { "target": "com.amazonaws.sesv2#UnsubscribeAll", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value status noting if the contact is unsubscribed from all contact list\n topics.
" } }, @@ -3739,6 +3746,7 @@ "DashboardEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the Deliverability dashboard is enabled. If this value is true,\n the dashboard is enabled.
The feedback forwarding configuration for the identity.
\nIf the value is true, you receive email notifications when bounce or\n complaint events occur. These notifications are sent to the address that you specified\n in the Return-Path header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't\n set up another mechanism for receiving bounce or complaint notifications (for example,\n by setting up an event destination), you receive an email notification when these events\n occur (even if this setting is disabled).
" } }, "VerifiedForSendingStatus": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether or not the identity is verified. You can only send email from\n verified email addresses or domains. For more information about verifying identities,\n see the Amazon Pinpoint User Guide.
" } }, @@ -4413,6 +4423,7 @@ "SendingEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether or not you can send email from the identity.
\nAn identity is an email address or domain that you send email\n from. Before you can send email from an identity, you have to demostrate that you own\n the identity, and that you authorize Amazon SES to send email from that identity.
" } } @@ -4545,6 +4556,7 @@ "Global": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether inbox placement data is being tracked for the domain.
" } }, @@ -5758,16 +5770,19 @@ } }, "com.amazonaws.sesv2#Max24HourSend": { - "type": "double" - }, - "com.amazonaws.sesv2#MaxItems": { - "type": "integer", + "type": "double", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.sesv2#MaxItems": { + "type": "integer" + }, "com.amazonaws.sesv2#MaxSendRate": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.sesv2#Message": { "type": "structure", @@ -5904,15 +5919,11 @@ "com.amazonaws.sesv2#Percentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "An object that contains information about inbox placement percentages.
" } }, "com.amazonaws.sesv2#Percentage100Wrapper": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sesv2#PinpointDestination": { "type": "structure", @@ -6015,10 +6026,7 @@ } }, "com.amazonaws.sesv2#ProcessedRecordsCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sesv2#PutAccountDedicatedIpWarmupAttributes": { "type": "operation", @@ -6051,6 +6059,7 @@ "AutoWarmupEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Enables or disables the automatic warm-up feature for dedicated IP addresses that are\n associated with your Amazon SES account in the current Amazon Web Services Region. Set to true\n to enable the automatic warm-up feature, or set to false to disable\n it.
Enables or disables your account's ability to send email. Set to true to\n enable email sending, or set to false to disable email sending.
If Amazon Web Services paused your account's ability to send email, you can't use this operation\n to resume your account's ability to send email.
\nIf true, tracking of reputation metrics is enabled for the configuration\n set. If false, tracking of reputation metrics is disabled for the\n configuration set.
If true, email sending is enabled for the configuration set. If\n false, email sending is disabled for the configuration set.
Specifies whether to enable the Deliverability dashboard. To enable the dashboard, set this\n value to true.
Sets the DKIM signing configuration for the identity.
\nWhen you set this value true, then the messages that are sent from the\n identity are signed using DKIM. If you set this value to false, your\n messages are sent without DKIM signing.
Sets the feedback forwarding configuration for the identity.
\nIf the value is true, you receive email notifications when bounce or\n complaint events occur. These notifications are sent to the address that you specified\n in the Return-Path header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't\n set up another mechanism for receiving bounce or complaint notifications (for example,\n by setting up an event destination), you receive an email notification when these events\n occur (even if this setting is disabled).
" } } @@ -7153,6 +7168,7 @@ "ReputationMetricsEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, tracking of reputation metrics is enabled for the configuration\n set. If false, tracking of reputation metrics is disabled for the\n configuration set.
The maximum number of emails that you can send in the current Amazon Web Services Region over a\n 24-hour period. This value is also called your sending\n quota.
" } }, "MaxSendRate": { "target": "com.amazonaws.sesv2#MaxSendRate", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of emails that you can send per second in the current Amazon Web Services Region.\n This value is also called your maximum sending rate or your\n maximum TPS (transactions per second) rate.
" } }, "SentLast24Hours": { "target": "com.amazonaws.sesv2#SentLast24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of emails sent from your Amazon SES account in the current Amazon Web Services Region over the\n past 24 hours.
" } } @@ -7589,6 +7608,7 @@ "SendingEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, email sending is enabled for the configuration set. If\n false, email sending is disabled for the configuration set.
Notes that the default subscription status should be applied to a contact because the\n contact has not noted their preference for subscribing to a topic.
" } } @@ -8425,7 +8449,10 @@ } }, "com.amazonaws.sesv2#UnsubscribeAll": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.sesv2#UntagResource": { "type": "operation", @@ -8668,6 +8695,7 @@ "UnsubscribeAll": { "target": "com.amazonaws.sesv2#UnsubscribeAll", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value status noting if the contact is unsubscribed from all contact list\n topics.
" } }, @@ -8904,12 +8932,14 @@ } }, "com.amazonaws.sesv2#UseDefaultIfPreferenceUnavailable": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.sesv2#Volume": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "An object that contains information about inbox placement volume.
" } }, diff --git a/codegen/sdk/aws-models/sfn.json b/codegen/sdk/aws-models/sfn.json index b83e7268f52..4c48359c414 100644 --- a/codegen/sdk/aws-models/sfn.json +++ b/codegen/sdk/aws-models/sfn.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -246,14 +246,14 @@ "timeoutInSeconds": { "target": "com.amazonaws.sfn#TimeoutInSeconds", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum allowed duration of the activity task.
" } }, "heartbeatInSeconds": { "target": "com.amazonaws.sfn#TimeoutInSeconds", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum allowed duration between two heartbeats for the activity task.
" } } @@ -340,6 +340,7 @@ "com.amazonaws.sfn#BilledDuration": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -348,6 +349,7 @@ "com.amazonaws.sfn#BilledMemoryUsed": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -359,12 +361,14 @@ "billedMemoryUsedInMB": { "target": "com.amazonaws.sfn#BilledMemoryUsed", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Billed memory consumption of your workflow, in MB.
" } }, "billedDurationInMilliseconds": { "target": "com.amazonaws.sfn#BilledDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Billed duration of your workflow, in milliseconds.
" } } @@ -379,6 +383,7 @@ "included": { "target": "com.amazonaws.sfn#includedDetails", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether input or output was included in the response. Always true\n for API calls.
The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.\n The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.
This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
" } }, "reverseOrder": { "target": "com.amazonaws.sfn#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Lists events in descending order of their timeStamp.
The id of the event. Events are numbered sequentially, starting at one.
", "smithy.api#required": {} } @@ -1397,6 +1411,7 @@ "previousEventId": { "target": "com.amazonaws.sfn#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The id of the previous event.
" } }, @@ -1555,6 +1570,7 @@ "truncated": { "target": "com.amazonaws.sfn#truncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether input or output was truncated in the response. Always\n false for API calls.
The maximum allowed duration of the lambda function.
" } } @@ -2076,6 +2092,7 @@ "maxResults": { "target": "com.amazonaws.sfn#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.\n The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.
This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
" } }, @@ -2156,6 +2173,7 @@ "maxResults": { "target": "com.amazonaws.sfn#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.\n The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.
This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
" } }, @@ -2223,6 +2241,7 @@ "maxResults": { "target": "com.amazonaws.sfn#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.\n The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.
This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
" } }, @@ -2349,6 +2368,7 @@ "includeExecutionData": { "target": "com.amazonaws.sfn#IncludeExecutionData", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Determines whether execution data is included in your log. When set to false,\n data is excluded.
The index of the array belonging to the Map state iteration.
" } } @@ -2389,6 +2410,7 @@ "length": { "target": "com.amazonaws.sfn#UnsignedInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the array for Map state iterations.
" } } @@ -2421,6 +2443,7 @@ "com.amazonaws.sfn#PageSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -2453,7 +2476,10 @@ } }, "com.amazonaws.sfn#ReverseOrder": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.sfn#SendTaskFailure": { "type": "operation", @@ -3307,14 +3333,14 @@ "timeoutInSeconds": { "target": "com.amazonaws.sfn#TimeoutInSeconds", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum allowed duration of the task.
" } }, "heartbeatInSeconds": { "target": "com.amazonaws.sfn#TimeoutInSeconds", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The maximum allowed duration between two heartbeats for the task.
" } } @@ -3536,7 +3562,10 @@ } }, "com.amazonaws.sfn#TimeoutInSeconds": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.sfn#Timestamp": { "type": "timestamp" @@ -3573,6 +3602,7 @@ "enabled": { "target": "com.amazonaws.sfn#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to true, AWS X-Ray tracing is enabled.
This is the Shield Advanced API Reference. This guide is for developers who need detailed information about the Shield Advanced API actions,\n data types, and errors. For detailed information about WAF and Shield Advanced features and an overview of how to use the WAF and Shield Advanced APIs, see the\n WAF and Shield Developer Guide.
", - "smithy.api#title": "AWS Shield", - "smithy.api#xmlNamespace": { - "uri": "http://ddp.amazonaws.com/doc/2016-06-02/" - } - }, "version": "2016-06-02", "operations": [ { @@ -159,7 +141,25 @@ { "target": "com.amazonaws.shield#UpdateSubscription" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Shield", + "arnNamespace": "shield", + "cloudFormationName": "Shield", + "cloudTrailEventSource": "shield.amazonaws.com", + "endpointPrefix": "shield" + }, + "aws.auth#sigv4": { + "name": "shield" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "This is the Shield Advanced API Reference. This guide is for developers who need detailed information about the Shield Advanced API actions,\n data types, and errors. For detailed information about WAF and Shield Advanced features and an overview of how to use the WAF and Shield Advanced APIs, see the\n WAF and Shield Developer Guide.
", + "smithy.api#title": "AWS Shield", + "smithy.api#xmlNamespace": { + "uri": "http://ddp.amazonaws.com/doc/2016-06-02/" + } + } }, "com.amazonaws.shield#AccessDeniedException": { "type": "structure", @@ -541,6 +541,7 @@ "Total": { "target": "com.amazonaws.shield#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total contributions made to this Shield event by all contributors.
" } } @@ -600,6 +601,7 @@ "AttackCount": { "target": "com.amazonaws.shield#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of attacks detected during the time period. This is always present, but might be zero.
", "smithy.api#required": {} } @@ -715,6 +717,7 @@ "Max": { "target": "com.amazonaws.shield#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum attack volume observed for the given unit.
", "smithy.api#required": {} } @@ -768,6 +771,7 @@ "Value": { "target": "com.amazonaws.shield#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The contribution of this contributor expressed in Protection units. For example 10,000.
The maximum number of protections that can be created for the specified Type.
The threshold that would be exceeded.
" } } @@ -2349,12 +2365,14 @@ } }, "com.amazonaws.shield#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.shield#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 10000 @@ -2606,6 +2624,7 @@ "MaxMembers": { "target": "com.amazonaws.shield#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of resources you can specify for a single arbitrary pattern in a protection group.
", "smithy.api#required": {} } @@ -2643,6 +2662,7 @@ "MaxProtectionGroups": { "target": "com.amazonaws.shield#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of protection groups that you can have at one time.
", "smithy.api#required": {} } @@ -2950,6 +2970,7 @@ "TimeCommitmentInSeconds": { "target": "com.amazonaws.shield#DurationInSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The length, in seconds, of the Shield Advanced subscription for the account.
" } }, @@ -3065,24 +3086,28 @@ "Max": { "target": "com.amazonaws.shield#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum value of the counter for a specified time period.
" } }, "Average": { "target": "com.amazonaws.shield#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The average value of the counter for a specified time period.
" } }, "Sum": { "target": "com.amazonaws.shield#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total of counter values for a specified time period.
" } }, "N": { "target": "com.amazonaws.shield#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of counters for a specified time period.
" } }, diff --git a/codegen/sdk/aws-models/signer.json b/codegen/sdk/aws-models/signer.json index 2f11a6669ab..7bf1f449a97 100644 --- a/codegen/sdk/aws-models/signer.json +++ b/codegen/sdk/aws-models/signer.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -185,6 +185,9 @@ "input": { "target": "com.amazonaws.signer#CancelSigningProfileRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.signer#AccessDeniedException" @@ -608,12 +611,14 @@ "maxSizeInMB": { "target": "com.amazonaws.signer#MaxSizeInMB", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum size (in MB) of the payload that can be signed by the target\n\t\t\tplatform.
" } }, "revocationSupported": { "target": "com.amazonaws.signer#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag indicating whether signatures generated for the signing platform can be\n\t\t\trevoked.
" } } @@ -822,7 +827,10 @@ } }, "com.amazonaws.signer#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.signer#InternalServiceErrorException": { "type": "structure", @@ -912,6 +920,7 @@ "policySizeBytes": { "target": "com.amazonaws.signer#PolicySizeBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total size of the policy associated with the Signing Profile in bytes.
" } }, @@ -1006,6 +1015,7 @@ "isRevoked": { "target": "com.amazonaws.signer#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Filters results to return only signing jobs with revoked signatures.
", "smithy.api#httpQuery": "isRevoked" } @@ -1182,6 +1192,7 @@ "includeCanceled": { "target": "com.amazonaws.signer#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Designates whether to include profiles with the status of\n\t\t\tCANCELED.
The numerical value of the time unit for signature validity.
" } }, @@ -1946,6 +1969,7 @@ "isRevoked": { "target": "com.amazonaws.signer#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the signing job is revoked.
" } }, @@ -2103,12 +2127,14 @@ "maxSizeInMB": { "target": "com.amazonaws.signer#MaxSizeInMB", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum size (in MB) of code that can be signed by a code signing platform.
" } }, "revocationSupported": { "target": "com.amazonaws.signer#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether revocation is supported for the platform.
" } } @@ -2713,7 +2739,10 @@ } }, "com.amazonaws.signer#bool": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } } } } diff --git a/codegen/sdk/aws-models/sms.json b/codegen/sdk/aws-models/sms.json index e56c54f134e..f42dd3129b8 100644 --- a/codegen/sdk/aws-models/sms.json +++ b/codegen/sdk/aws-models/sms.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.sms#AWSServerMigrationService_V2016_10_24": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SMS", - "arnNamespace": "sms", - "cloudFormationName": "SMS", - "cloudTrailEventSource": "sms.amazonaws.com", - "endpointPrefix": "sms" - }, - "aws.auth#sigv4": { - "name": "sms" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "\n Product update\n
\nWe recommend Amazon Web Services Application Migration Service (Amazon Web Services\n MGN) as the primary migration service for lift-and-shift migrations. If Amazon Web Services MGN is\n unavailable in a specific Amazon Web Services Region, you can use the Server Migration Service APIs through March\n 2023.
\nServer Migration Service (Server Migration Service) makes it easier and faster for you to migrate your\n on-premises workloads to Amazon Web Services. To learn more about Server Migration Service, see the following \n resources:
\n\n Product update\n
\nWe recommend Amazon Web Services Application Migration Service (Amazon Web Services\n MGN) as the primary migration service for lift-and-shift migrations. If Amazon Web Services MGN is\n unavailable in a specific Amazon Web Services Region, you can use the Server Migration Service APIs through March\n 2023.
\nServer Migration Service (Server Migration Service) makes it easier and faster for you to migrate your\n on-premises workloads to Amazon Web Services. To learn more about Server Migration Service, see the following \n resources:
\nThe timeout interval, in seconds.
" } }, @@ -3926,16 +3895,10 @@ "type": "timestamp" }, "com.amazonaws.sms#TotalServerGroups": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sms#TotalServers": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sms#UnauthorizedOperationException": { "type": "structure", diff --git a/codegen/sdk/aws-models/snow-device-management.json b/codegen/sdk/aws-models/snow-device-management.json index c1b1870bcbf..253821d0910 100644 --- a/codegen/sdk/aws-models/snow-device-management.json +++ b/codegen/sdk/aws-models/snow-device-management.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.snowdevicemanagement#AccessDeniedException": { "type": "structure", @@ -1534,7 +1534,6 @@ "com.amazonaws.snowdevicemanagement#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1817,6 +1816,9 @@ "input": { "target": "com.amazonaws.snowdevicemanagement#TagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" @@ -2031,6 +2033,9 @@ "input": { "target": "com.amazonaws.snowdevicemanagement#UntagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" @@ -2090,4 +2095,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/snowball.json b/codegen/sdk/aws-models/snowball.json index f5167b978c7..588b0c89bf1 100644 --- a/codegen/sdk/aws-models/snowball.json +++ b/codegen/sdk/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.
\nFor cluster jobs, Amazon Web Services Snow Family currently supports only the\n EDGE device type.
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.
\nFor cluster jobs, Amazon Web Services Snow Family currently supports only the\n EDGE device type.
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.
Only the Snowball; Edge device type is supported when ordering clustered jobs.
\nThe device capacity is optional.
\nAvailability of device types differ by Amazon Web Services Region. For more information\n about Region availability, see Amazon Web Services Regional Services.
\n\n Snow Family Devices and their capacities.\n
\nSnow Family device type: SNC1_SSD\n
\nCapacity: T14
\nDescription: Snowcone
\nSnow Family device type: SNC1_HDD\n
\nCapacity: T8
\nDescription: Snowcone
\nDevice type: EDGE_S\n
\nCapacity: T98
\nDescription: Snowball Edge Storage Optimized for data transfer only
\nDevice type: EDGE_CG\n
\nCapacity: T42
\nDescription: Snowball Edge Compute Optimized with GPU
\nDevice type: EDGE_C\n
\nCapacity: T42
\nDescription: Snowball Edge Compute Optimized without GPU
\nDevice type: EDGE\n
\nCapacity: T100
\nDescription: Snowball Edge Storage Optimized with EC2 Compute
\nDevice type: STANDARD\n
\nCapacity: T50
\nDescription: Original Snowball device
\nThis device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region\n
\nDevice type: STANDARD\n
\nCapacity: T80
\nDescription: Original Snowball device
\nThis device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region.
\nCreates 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.
Only the Snowball; Edge device type is supported when ordering clustered jobs.
\nThe device capacity is optional.
\nAvailability of device types differ by Amazon Web Services Region. For more information\n about Region availability, see Amazon Web Services Regional Services.
\n\n Snow Family devices and their capacities.\n
\nSnow Family device type: SNC1_SSD\n
\nCapacity: T14
\nDescription: Snowcone
\nSnow Family device type: SNC1_HDD\n
\nCapacity: T8
\nDescription: Snowcone
\nDevice type: EDGE_S\n
\nCapacity: T98
\nDescription: Snowball Edge Storage Optimized for data transfer only
\nDevice type: EDGE_CG\n
\nCapacity: T42
\nDescription: Snowball Edge Compute Optimized with GPU
\nDevice type: EDGE_C\n
\nCapacity: T42
\nDescription: Snowball Edge Compute Optimized without GPU
\nDevice type: EDGE\n
\nCapacity: T100
\nDescription: Snowball Edge Storage Optimized with EC2 Compute
\nDevice type: V3_5C\n
\nCapacity: T32
\nDescription: Snowball Edge Compute Optimized without GPU
\nDevice type: STANDARD\n
\nCapacity: T50
\nDescription: Original Snowball device
\nThis device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region\n
\nDevice type: STANDARD\n
\nCapacity: T80
\nDescription: Original Snowball device
\nThis device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region.
\nThe type of Snow Family Devices to use for this job.\n
\nFor cluster jobs, Amazon Web Services Snow Family currently supports only the\n EDGE device type.
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.
For more information, see Snowball Edge Device\n Options in the Snowball Edge Developer Guide.
\n \nFor 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
\nFor cluster jobs, Amazon Web Services Snow Family currently supports only the\n EDGE device type.
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.
For more information, see Snowball Edge Device\n Options in the Snowball Edge Developer Guide.
\n \nFor 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
\nSpecifies 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
" } } diff --git a/codegen/sdk/aws-models/sns.json b/codegen/sdk/aws-models/sns.json index 0c906caa14c..aeda250852c 100644 --- a/codegen/sdk/aws-models/sns.json +++ b/codegen/sdk/aws-models/sns.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -105,24 +105,6 @@ }, "com.amazonaws.sns#AmazonSimpleNotificationService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SNS", - "arnNamespace": "sns", - "cloudFormationName": "SNS", - "cloudTrailEventSource": "sns.amazonaws.com", - "endpointPrefix": "sns" - }, - "aws.auth#sigv4": { - "name": "sns" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build\n distributed web-enabled applications. Applications can use Amazon SNS to easily push\n real-time notification messages to interested subscribers over multiple delivery\n protocols. For more information about this product see the Amazon SNS product page. For detailed information about Amazon SNS features\n and their associated API calls, see the Amazon SNS Developer Guide.
\nFor information on the permissions you need to use this API, see Identity and access management in Amazon SNS in the Amazon SNS Developer\n Guide.\n
\nWe also provide SDKs that enable you to access Amazon SNS from your preferred programming\n language. The SDKs contain functionality that automatically takes care of tasks such as:\n cryptographically signing your service requests, retrying requests, and handling error\n responses. For a list of available SDKs, go to Tools for Amazon Web Services.
", - "smithy.api#title": "Amazon Simple Notification Service", - "smithy.api#xmlNamespace": { - "uri": "http://sns.amazonaws.com/doc/2010-03-31/" - } - }, "version": "2010-03-31", "operations": [ { @@ -251,7 +233,25 @@ { "target": "com.amazonaws.sns#VerifySMSSandboxPhoneNumber" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SNS", + "arnNamespace": "sns", + "cloudFormationName": "SNS", + "cloudTrailEventSource": "sns.amazonaws.com", + "endpointPrefix": "sns" + }, + "aws.auth#sigv4": { + "name": "sns" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build\n distributed web-enabled applications. Applications can use Amazon SNS to easily push\n real-time notification messages to interested subscribers over multiple delivery\n protocols. For more information about this product see the Amazon SNS product page. For detailed information about Amazon SNS features\n and their associated API calls, see the Amazon SNS Developer Guide.
\nFor information on the permissions you need to use this API, see Identity and access management in Amazon SNS in the Amazon SNS Developer\n Guide.\n
\nWe also provide SDKs that enable you to access Amazon SNS from your preferred programming\n language. The SDKs contain functionality that automatically takes care of tasks such as:\n cryptographically signing your service requests, retrying requests, and handling error\n responses. For a list of available SDKs, go to Tools for Amazon Web Services.
", + "smithy.api#title": "Amazon Simple Notification Service", + "smithy.api#xmlNamespace": { + "uri": "http://sns.amazonaws.com/doc/2010-03-31/" + } + } }, "com.amazonaws.sns#AuthorizationErrorException": { "type": "structure", @@ -330,6 +330,7 @@ "SenderFault": { "target": "com.amazonaws.sns#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the error happened due to the caller of the batch API action.
", "smithy.api#required": {} } @@ -395,6 +396,7 @@ "isOptedOut": { "target": "com.amazonaws.sns#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the phone number is opted out:
\n\n true – The phone number is opted out, meaning you cannot publish\n SMS messages to it.
\n false – The phone number is opted in, meaning you can publish SMS\n messages to it.
Indicates whether the calling Amazon Web Services account is in the SMS sandbox.
", "smithy.api#required": {} } @@ -2272,7 +2275,6 @@ "com.amazonaws.sns#MaxItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2282,7 +2284,6 @@ "com.amazonaws.sns#MaxItemsListOriginationNumbers": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 30 @@ -3427,6 +3428,7 @@ "ReturnSubscriptionArn": { "target": "com.amazonaws.sns#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Sets whether the response from the Subscribe request includes the\n subscription ARN, even if the subscription is not yet confirmed.
If you set this parameter to true, the response includes the ARN in all\n cases, even if the subscription is not yet confirmed. In addition to the ARN for\n confirmed subscriptions, the response also includes the pending\n subscription ARN value for subscriptions that aren't yet confirmed. A\n subscription becomes confirmed when the subscriber calls the\n ConfirmSubscription action with a confirmation token.
The default value is false.
Welcome to the Amazon SQS API Reference.
\nAmazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel between applications or microservices. Amazon SQS moves data between distributed application components and helps you decouple these components.
\nFor information on the permissions you need to use this API, see\n Identity and\n access management in the Amazon SQS Developer Guide.\n
\nYou can use Amazon Web Services SDKs to access Amazon SQS using your favorite programming language. The SDKs perform tasks such as the following automatically:
\nCryptographically sign your service requests
\nRetry requests
\nHandle error responses
\n\n Additional information\n
\n\n Amazon SQS Developer Guide\n
\n\n Making API Requests\n
\n\n Amazon Web Services General Reference\n
\nWelcome to the Amazon SQS API Reference.
\nAmazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel between applications or microservices. Amazon SQS moves data between distributed application components and helps you decouple these components.
\nFor information on the permissions you need to use this API, see\n Identity and\n access management in the Amazon SQS Developer Guide.\n
\nYou can use Amazon Web Services SDKs to access Amazon SQS using your favorite programming language. The SDKs perform tasks such as the following automatically:
\nCryptographically sign your service requests
\nRetry requests
\nHandle error responses
\n\n Additional information\n
\n\n Amazon SQS Developer Guide\n
\n\n Making API Requests\n
\n\n Amazon Web Services General Reference\n
\nSpecifies whether the error happened due to the caller of the batch API action.
", "smithy.api#required": {} } @@ -265,19 +269,22 @@ } }, "com.amazonaws.sqs#Boolean": { - "type": "boolean" - }, - "com.amazonaws.sqs#BoxedInteger": { - "type": "integer", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.sqs#BoxedInteger": { + "type": "integer" + }, "com.amazonaws.sqs#ChangeMessageVisibility": { "type": "operation", "input": { "target": "com.amazonaws.sqs#ChangeMessageVisibilityRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.sqs#MessageNotInflight" @@ -360,6 +367,7 @@ "VisibilityTimeout": { "target": "com.amazonaws.sqs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The new value (in seconds) for the message's visibility timeout.
" } } @@ -441,6 +449,7 @@ "VisibilityTimeout": { "target": "com.amazonaws.sqs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The new value for the message's visibility timeout (in seconds). Values range: 0 to 43200. Maximum: 12 hours.
Deletes the queue specified by the QueueUrl, regardless of the queue's contents.
Be careful with the DeleteQueue action: When you delete a queue, any messages in the queue are no longer available.\n
When you delete a queue, the deletion process takes up to 60 seconds. Requests you send involving that queue during the 60 seconds might succeed. For example, a \n \n SendMessage\n request might succeed, but after 60 seconds the queue and the message you sent no longer exist.
When you delete a queue, you must wait at least 60 seconds before creating a queue with the same name.
\nCross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a user name in the Amazon SQS Developer Guide.
\nThe maximum number of messages to return. Amazon SQS never returns more messages than this value (however, fewer messages might be returned). Valid values: 1 to 10. Default: 1.
" } }, "VisibilityTimeout": { "target": "com.amazonaws.sqs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a ReceiveMessage request.
The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. If a message is available, the call returns sooner than WaitTimeSeconds.\n If no messages are available and the wait time expires, the call returns successfully with an empty list of messages.
To avoid HTTP errors, ensure that the HTTP response timeout for ReceiveMessage\n requests is longer than the WaitTimeSeconds parameter. For example,\n with the Java SDK, you can set HTTP transport settings using the NettyNioAsyncHttpClient for asynchronous clients, or the ApacheHttpClient for synchronous clients.
Revokes any permissions in the queue policy that matches the specified Label parameter.
Only the owner of a queue can remove permissions from it.
\nCross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a user name in the Amazon SQS Developer Guide.
\nTo remove the ability to change queue permissions, you must deny permission to the AddPermission, RemovePermission, and SetQueueAttributes actions in your IAM policy.
The length of time, in seconds, for which a specific message is delayed. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value become available for processing after the delay period is finished.\n If you don't specify a value, the default value for the queue is applied.\n
When you set FifoQueue, you can't set DelaySeconds per message. You can set this parameter only on a queue level.
\n The length of time, in seconds, for which to delay a specific message. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value become available for processing after the delay period is finished.\n If you don't specify a value, the default value for the queue applies.\n
When you set FifoQueue, you can't set DelaySeconds per message. You can set this parameter only on a queue level.
Add cost allocation tags to the specified Amazon SQS queue. For an overview, see Tagging \nYour Amazon SQS Queues in the Amazon SQS Developer Guide.
\n \nWhen you use queue tags, keep the following guidelines in mind:
\nAdding more than 50 tags to a queue isn't recommended.
\nTags don't have any semantic meaning. Amazon SQS interprets tags as character strings.
\nTags are case-sensitive.
\nA new tag with a key identical to that of an existing tag overwrites the existing tag.
\nFor a full list of tag restrictions, see \nQuotas related to queues \nin the Amazon SQS Developer Guide.
\nCross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a user name in the Amazon SQS Developer Guide.
\nRemove cost allocation tags from the specified Amazon SQS queue. For an overview, see Tagging \nYour Amazon SQS Queues in the Amazon SQS Developer Guide.
\nCross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a user name in the Amazon SQS Developer Guide.
\nSystems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications.\n An incident is any unplanned interruption or reduction in quality of services.
\nIncident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get\n services back up and running. To achieve the primary goal of reducing the\n time-to-resolution of critical incidents, Incident Manager automates response plans\n and enables responder team escalation.
", - "smithy.api#title": "AWS Systems Manager Incident Manager Contacts" - }, "version": "2021-05-03", "operations": [ { @@ -2345,7 +2326,22 @@ { "target": "com.amazonaws.ssmcontacts#UpdateContactChannel" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SSM Contacts", + "arnNamespace": "ssm-contacts", + "cloudFormationName": "SSMContacts", + "cloudTrailEventSource": "ssmcontacts.amazonaws.com", + "endpointPrefix": "ssm-contacts" + }, + "aws.auth#sigv4": { + "name": "ssm-contacts" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications.\n An incident is any unplanned interruption or reduction in quality of services.
\nIncident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get\n services back up and running. To achieve the primary goal of reducing the\n time-to-resolution of critical incidents, Incident Manager automates response plans\n and enables responder team escalation.
", + "smithy.api#title": "AWS Systems Manager Incident Manager Contacts" + } }, "com.amazonaws.ssmcontacts#SendActivationCode": { "type": "operation", @@ -2494,7 +2490,6 @@ "com.amazonaws.ssmcontacts#StageDurationInMins": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 30 @@ -2852,6 +2847,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.ssmcontacts#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Advice to clients on when the call can be safely retried", "smithy.api#httpHeader": "Retry-After" } diff --git a/codegen/sdk/aws-models/ssm-incidents.json b/codegen/sdk/aws-models/ssm-incidents.json index 5f26f650398..3fb612f040d 100644 --- a/codegen/sdk/aws-models/ssm-incidents.json +++ b/codegen/sdk/aws-models/ssm-incidents.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.ssmincidents#AccessDeniedException": { "type": "structure", @@ -144,7 +144,7 @@ } }, "com.amazonaws.ssmincidents#ChatbotSnsConfigurationSet": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.ssmincidents#SnsArn", "traits": { @@ -157,7 +157,8 @@ "smithy.api#length": { "min": 1, "max": 5 - } + }, + "smithy.api#uniqueItems": {} } }, "com.amazonaws.ssmincidents#ClientToken": { @@ -878,7 +879,7 @@ } }, "com.amazonaws.ssmincidents#EngagementSet": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.ssmincidents#SsmContactsArn", "traits": { @@ -890,7 +891,8 @@ "traits": { "smithy.api#length": { "max": 5 - } + }, + "smithy.api#uniqueItems": {} } }, "com.amazonaws.ssmincidents#EventData": { @@ -1476,7 +1478,6 @@ "com.amazonaws.ssmincidents#Impact": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 @@ -2421,7 +2422,6 @@ "com.amazonaws.ssmincidents#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3002,28 +3002,6 @@ }, "com.amazonaws.ssmincidents#SSMIncidents": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SSM Incidents", - "arnNamespace": "ssm-incidents", - "awsProductName": "AWSSystemsManager", - "cloudFormationName": "SSMIncidents" - }, - "aws.auth#sigv4": { - "name": "ssm-incidents" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "content-type", - "x-amz-content-sha256", - "x-amz-user-agent", - "x-amzn-platform-id" - ] - }, - "smithy.api#documentation": "Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications. An\n incident is any unplanned interruption or reduction in quality of services.
\nIncident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get services\n back up and running. To achieve the primary goal of reducing the time-to-resolution of\n critical incidents, Incident Manager automates response plans and enables responder\n team escalation.
", - "smithy.api#title": "AWS Systems Manager Incident Manager" - }, "version": "2018-05-10", "operations": [ { @@ -3113,7 +3091,29 @@ { "target": "com.amazonaws.ssmincidents#UpdateTimelineEvent" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SSM Incidents", + "arnNamespace": "ssm-incidents", + "awsProductName": "AWSSystemsManager", + "cloudFormationName": "SSMIncidents" + }, + "aws.auth#sigv4": { + "name": "ssm-incidents" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-platform-id" + ] + }, + "smithy.api#documentation": "Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications. An\n incident is any unplanned interruption or reduction in quality of services.
\nIncident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get services\n back up and running. To achieve the primary goal of reducing the time-to-resolution of\n critical incidents, Incident Manager automates response plans and enables responder\n team escalation.
", + "smithy.api#title": "AWS Systems Manager Incident Manager" + } }, "com.amazonaws.ssmincidents#ServiceCode": { "type": "string", @@ -4444,4 +4444,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/sso-admin.json b/codegen/sdk/aws-models/sso-admin.json index 5da825ddff3..486d2b87bc4 100644 --- a/codegen/sdk/aws-models/sso-admin.json +++ b/codegen/sdk/aws-models/sso-admin.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -2595,7 +2595,6 @@ "com.amazonaws.ssoadmin#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3102,21 +3101,6 @@ }, "com.amazonaws.ssoadmin#SWBExternalService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SSO Admin", - "arnNamespace": "sso", - "cloudFormationName": "SSOAdmin", - "cloudTrailEventSource": "ssoadmin.amazonaws.com", - "endpointPrefix": "sso" - }, - "aws.auth#sigv4": { - "name": "sso" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "AWS IAM Identity Center (successor to AWS Single Sign-On) helps you securely create, or connect, your workforce identities and manage their\n access centrally across AWS accounts and applications. IAM Identity Center is the recommended\n approach for workforce authentication and authorization in AWS, for organizations of any size\n and type.
\nAlthough AWS Single Sign-On was renamed, the sso and\n identitystore API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.
This reference guide provides information on single sign-on operations which could be used for\n access management of AWS accounts. For information about IAM Identity Center features, see the IAM Identity Center User\n Guide.
\nMany operations in the IAM Identity Center APIs rely on identifiers for users and groups, known as\n principals. For more information about how to work with principals and principal IDs in IAM Identity Center,\n see the Identity Store API\n Reference.
\nAWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms (Java, Ruby, .Net, iOS, Android, and more). The SDKs provide a\n convenient way to create programmatic access to IAM Identity Center and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.
\nAWS IAM Identity Center (successor to AWS Single Sign-On) helps you securely create, or connect, your workforce identities and manage their\n access centrally across AWS accounts and applications. IAM Identity Center is the recommended\n approach for workforce authentication and authorization in AWS, for organizations of any size\n and type.
\nAlthough AWS Single Sign-On was renamed, the sso and\n identitystore API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.
This reference guide provides information on single sign-on operations which could be used for\n access management of AWS accounts. For information about IAM Identity Center features, see the IAM Identity Center User\n Guide.
\nMany operations in the IAM Identity Center APIs rely on identifiers for users and groups, known as\n principals. For more information about how to work with principals and principal IDs in IAM Identity Center,\n see the Identity Store API\n Reference.
\nAWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms (Java, Ruby, .Net, iOS, Android, and more). The SDKs provide a\n convenient way to create programmatic access to IAM Identity Center and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.
\nAWS Single Sign-On (SSO) OpenID Connect (OIDC) is a web service that enables a client\n (such as AWS CLI or a native application) to register with AWS SSO. The service also\n enables the client to fetch the user’s access token upon successful authentication and\n authorization with AWS SSO. This service conforms with the OAuth 2.0 based implementation of\n the device authorization grant standard (https://tools.ietf.org/html/rfc8628).
\n \nFor general information about AWS SSO, see What is AWS\n Single Sign-On? in the AWS SSO User Guide.
\n \nThis API reference guide describes the AWS SSO OIDC operations that you can call\n programatically and includes detailed information on data types and errors.
\n \nAWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms such as Java, Ruby, .Net, iOS, and Android. The SDKs provide a\n convenient way to create programmatic access to AWS SSO and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.
\nAWS IAM Identity Center (successor to AWS Single Sign-On) OpenID Connect (OIDC) is a web service that enables a client (such as AWS CLI\n or a native application) to register with IAM Identity Center. The service also enables the client to\n fetch the user’s access token upon successful authentication and authorization with\n IAM Identity Center.
\nAlthough AWS Single Sign-On was renamed, the sso and\n identitystore API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.
\n Considerations for Using This Guide\n
\nBefore you begin using this guide, we recommend that you first review the following\n important information about how the IAM Identity Center OIDC service works.
\nThe IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0\n Device Authorization Grant standard (https://tools.ietf.org/html/rfc8628) that are necessary to enable single\n sign-on authentication with the AWS CLI. Support for other OIDC flows frequently needed\n for native applications, such as Authorization Code Flow (+ PKCE), will be addressed in\n future releases.
\nThe service emits only OIDC access tokens, such that obtaining a new token (For\n example, token refresh) requires explicit user re-authentication.
\nThe access tokens provided by this service grant access to all AWS account\n entitlements assigned to an IAM Identity Center user, not just a particular application.
\nThe documentation in this guide does not describe the mechanism to convert the access\n token into AWS Auth (“sigv4”) credentials for use with IAM-protected AWS service\n endpoints. For more information, see GetRoleCredentials in the IAM Identity Center Portal API Reference\n Guide.
\nFor general information about IAM Identity Center, see What is\n IAM Identity Center? in the IAM Identity Center User Guide.
", "smithy.api#title": "AWS SSO OIDC" - }, - "version": "2019-06-10", - "operations": [ - { - "target": "com.amazonaws.ssooidc#CreateToken" - }, - { - "target": "com.amazonaws.ssooidc#RegisterClient" - }, - { - "target": "com.amazonaws.ssooidc#StartDeviceAuthorization" - } - ] + } }, "com.amazonaws.ssooidc#AccessDeniedException": { "type": "structure", @@ -92,7 +92,7 @@ } }, "traits": { - "smithy.api#documentation": "Indicates that a request to authorize a client with an access user session token is pending.
", + "smithy.api#documentation": "Indicates that a request to authorize a client with an access user session token is\n pending.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -169,21 +169,21 @@ "clientId": { "target": "com.amazonaws.ssooidc#ClientId", "traits": { - "smithy.api#documentation": "The unique identifier string for each client. This value should come from the persisted result of the RegisterClient API.
", + "smithy.api#documentation": "The unique identifier string for each client. This value should come from the persisted\n result of the RegisterClient API.
", "smithy.api#required": {} } }, "clientSecret": { "target": "com.amazonaws.ssooidc#ClientSecret", "traits": { - "smithy.api#documentation": "A secret string generated for the client. This value should come from the persisted result of the RegisterClient API.
", + "smithy.api#documentation": "A secret string generated for the client. This value should come from the persisted result\n of the RegisterClient API.
", "smithy.api#required": {} } }, "grantType": { "target": "com.amazonaws.ssooidc#GrantType", "traits": { - "smithy.api#documentation": "Supports grant types for authorization code, refresh token, and device code request.
", + "smithy.api#documentation": "Supports grant types for the authorization code, refresh token, and device code request.\n For device code requests, specify the following value:
\n\n\n urn:ietf:params:oauth:grant-type:device_code\n \n
For information about how to obtain the device code, see the StartDeviceAuthorization topic.
", "smithy.api#required": {} } }, @@ -196,13 +196,13 @@ "code": { "target": "com.amazonaws.ssooidc#AuthCode", "traits": { - "smithy.api#documentation": "The authorization code received from the authorization service. This parameter is required to perform an authorization grant request to get access to a token.
" + "smithy.api#documentation": "The authorization code received from the authorization service. This parameter is required\n to perform an authorization grant request to get access to a token.
" } }, "refreshToken": { "target": "com.amazonaws.ssooidc#RefreshToken", "traits": { - "smithy.api#documentation": "The token used to obtain an access token in the event that the access token is invalid or expired. This token is not issued by the service.
" + "smithy.api#documentation": "Currently, refreshToken is not yet implemented and is not supported. For more\n information about the features and limitations of the current IAM Identity Center OIDC implementation,\n see Considerations for Using this Guide in the IAM Identity Center\n OIDC API Reference.
The token used to obtain an access token in the event that the access token is invalid or\n expired.
" } }, "scope": { @@ -225,7 +225,7 @@ "accessToken": { "target": "com.amazonaws.ssooidc#AccessToken", "traits": { - "smithy.api#documentation": "An opaque token to access AWS SSO resources assigned to a user.
" + "smithy.api#documentation": "An opaque token to access IAM Identity Center resources assigned to a user.
" } }, "tokenType": { @@ -237,19 +237,20 @@ "expiresIn": { "target": "com.amazonaws.ssooidc#ExpirationInSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Indicates the time in seconds when an access token will expire.
" } }, "refreshToken": { "target": "com.amazonaws.ssooidc#RefreshToken", "traits": { - "smithy.api#documentation": "A token that, if present, can be used to refresh a previously issued access token that\n might have expired.
" + "smithy.api#documentation": "Currently, refreshToken is not yet implemented and is not supported. For more\n information about the features and limitations of the current IAM Identity Center OIDC implementation,\n see Considerations for Using this Guide in the IAM Identity Center\n OIDC API Reference.
A token that, if present, can be used to refresh a previously issued access token that\n might have expired.
" } }, "idToken": { "target": "com.amazonaws.ssooidc#IdToken", "traits": { - "smithy.api#documentation": "The identifier of the user that associated with the access token, if present.
" + "smithy.api#documentation": "Currently, idToken is not yet implemented and is not supported. For more\n information about the features and limitations of the current IAM Identity Center OIDC implementation,\n see Considerations for Using this Guide in the IAM Identity Center\n OIDC API Reference.
The identifier of the user that associated with the access token, if present.
" } } } @@ -264,7 +265,10 @@ "type": "string" }, "com.amazonaws.ssooidc#ExpirationInSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ssooidc#ExpiredTokenException": { "type": "structure", @@ -299,13 +303,16 @@ } }, "traits": { - "smithy.api#documentation": "Indicates that an error from the service occurred while trying to process a request.
", + "smithy.api#documentation": "Indicates that an error from the service occurred while trying to process a\n request.
", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.ssooidc#IntervalInSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ssooidc#InvalidClientException": { "type": "structure", @@ -334,7 +341,7 @@ } }, "traits": { - "smithy.api#documentation": "Indicates that the client information sent in the request during registration is invalid.
", + "smithy.api#documentation": "Indicates that the client information sent in the request during registration is\n invalid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -350,7 +357,7 @@ } }, "traits": { - "smithy.api#documentation": "Indicates that a request contains an invalid grant. This can occur if a client makes a CreateToken request with an invalid grant type.
", + "smithy.api#documentation": "Indicates that a request contains an invalid grant. This can occur if a client makes a\n CreateToken request with an invalid grant type.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -388,7 +395,10 @@ } }, "com.amazonaws.ssooidc#LongTimeStampType": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ssooidc#RefreshToken": { "type": "string" @@ -417,7 +427,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "Registers a client with AWS SSO. This allows clients to initiate device authorization.\n The output should be persisted for reuse through many authentication requests.
", + "smithy.api#documentation": "Registers a client with IAM Identity Center. This allows clients to initiate device authorization.\n The output should be persisted for reuse through many authentication requests.
", "smithy.api#http": { "method": "POST", "uri": "/client/register", @@ -439,7 +449,7 @@ "clientType": { "target": "com.amazonaws.ssooidc#ClientType", "traits": { - "smithy.api#documentation": "The type of client. The service supports only public as a client type. Anything other than public will be rejected by the service.
The type of client. The service supports only public as a client type.\n Anything other than public will be rejected by the service.
Indicates the time at which the clientId and clientSecret were issued.
Indicates the time at which the clientId and clientSecret were\n issued.
Indicates the time at which the clientId and clientSecret will become invalid.
Indicates the time at which the clientId and clientSecret will\n become invalid.
Indicates that the client is making the request too frequently and is more than the service can handle.
", + "smithy.api#documentation": "Indicates that the client is making the request too frequently and is more than the\n service can handle.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -544,7 +556,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "Initiates device authorization by requesting a pair of verification codes from the authorization service.
", + "smithy.api#documentation": "Initiates device authorization by requesting a pair of verification codes from the\n authorization service.
", "smithy.api#http": { "method": "POST", "uri": "/device_authorization", @@ -559,7 +571,7 @@ "clientId": { "target": "com.amazonaws.ssooidc#ClientId", "traits": { - "smithy.api#documentation": "The unique identifier string for the client that is registered with AWS SSO. This value\n should come from the persisted result of the RegisterClient API\n operation.
", + "smithy.api#documentation": "The unique identifier string for the client that is registered with IAM Identity Center. This value\n should come from the persisted result of the RegisterClient API\n operation.
", "smithy.api#required": {} } }, @@ -573,7 +585,7 @@ "startUrl": { "target": "com.amazonaws.ssooidc#URI", "traits": { - "smithy.api#documentation": "The URL for the AWS SSO user portal. For more information, see Using\n the User Portal in the AWS Single Sign-On User Guide.
", + "smithy.api#documentation": "The URL for the AWS access portal. For more information, see Using\n the AWS access portal in the IAM Identity Center User Guide.
", "smithy.api#required": {} } } @@ -597,7 +609,7 @@ "verificationUri": { "target": "com.amazonaws.ssooidc#URI", "traits": { - "smithy.api#documentation": "The URI of the verification page that takes the userCode to authorize the device.
The URI of the verification page that takes the userCode to authorize the\n device.
Indicates the number of seconds in which the verification code will become invalid.
" } }, "interval": { "target": "com.amazonaws.ssooidc#IntervalInSeconds", "traits": { - "smithy.api#documentation": "Indicates the number of seconds the client must wait between attempts when polling for a session.
" + "smithy.api#default": 0, + "smithy.api#documentation": "Indicates the number of seconds the client must wait between attempts when polling for a\n session.
" } } } diff --git a/codegen/sdk/aws-models/sso.json b/codegen/sdk/aws-models/sso.json index 9a05d611b2f..a5c48e332f6 100644 --- a/codegen/sdk/aws-models/sso.json +++ b/codegen/sdk/aws-models/sso.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -89,7 +89,10 @@ "type": "string" }, "com.amazonaws.sso#ExpirationTimestampType": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.sso#GetRoleCredentials": { "type": "operation", @@ -397,7 +400,6 @@ "com.amazonaws.sso#MaxResultType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -444,6 +446,7 @@ "expiration": { "target": "com.amazonaws.sso#ExpirationTimestampType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The date on which temporary security credentials expire.
" } } @@ -483,21 +486,6 @@ }, "com.amazonaws.sso#SWBPortalService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SSO", - "arnNamespace": "awsssoportal", - "cloudFormationName": "SSO", - "cloudTrailEventSource": "sso.amazonaws.com", - "endpointPrefix": "portal.sso" - }, - "aws.auth#sigv4": { - "name": "awsssoportal" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to\n IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles\n assigned to them and get federated into the application.
\n\nAlthough AWS Single Sign-On was renamed, the sso and\n identitystore API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.
This reference guide describes the IAM Identity Center Portal operations that you can call\n programatically and includes detailed information on data types and errors.
\n\nAWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a\n convenient way to create programmatic access to IAM Identity Center and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.
\nAWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to\n IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles\n assigned to them and get federated into the application.
\n\nAlthough AWS Single Sign-On was renamed, the sso and\n identitystore API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.
This reference guide describes the IAM Identity Center Portal operations that you can call\n programatically and includes detailed information on data types and errors.
\n\nAWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a\n convenient way to create programmatic access to IAM Identity Center and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.
\nSet permissions to bypass governance retention. If the lock type of the archived tape is\n Governance, the tape's archived age is not older than\n RetentionLockInDays, and the user does not already have\n BypassGovernanceRetention, setting this to TRUE enables the user to bypass\n the retention lock. This parameter is set to true by default for calls from the\n console.
Valid values: TRUE | FALSE\n
Set to true to indicate that tapes are to be archived as\n write-once-read-many (WORM). Set to false when WORM is not enabled for\n tapes.
The size, in bytes, of the volume capacity.
" } }, @@ -1142,6 +1140,7 @@ "VolumeSizeInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the volume in bytes.
", "smithy.api#required": {} } @@ -1777,6 +1776,7 @@ "PreserveExistingData": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to true if you want to preserve the data on the local disk. Otherwise,\n set to false to create an empty volume.
Valid Values: true | false\n
The size of the volume in bytes.
" } }, @@ -1977,6 +1978,7 @@ "Worm": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to TRUE if the tape you are creating is to be configured as a\n write-once-read-many (WORM) tape.
Set to TRUE if the tape you are creating is to be configured as a\n write-once-read-many (WORM) tape.
If this value is set to true, the operation deletes a file share\n immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is\n not deleted until all data is uploaded to Amazon Web Services. This process aborts the data\n upload process, and the file share enters the FORCE_DELETING status.
Valid Values: true | false\n
Set to TRUE to delete an archived tape that belongs to a custom pool with\n tape retention lock. Only archived tapes with tape retention lock set to\n governance can be deleted. Archived tapes with tape retention lock set to\n compliance can't be deleted.
Set to TRUE to delete an archived tape that belongs to a custom pool with\n tape retention lock. Only archived tapes with tape retention lock set to\n governance can be deleted. Archived tapes with tape retention lock set to\n compliance can't be deleted.
The amount of cache in bytes allocated to a gateway.
" } }, "CacheUsedPercentage": { "target": "com.amazonaws.storagegateway#double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Percent use of the gateway's cache storage. This metric applies only to the\n gateway-cached volume setup. The sample is taken at the end of the reporting period.
" } }, "CacheDirtyPercentage": { "target": "com.amazonaws.storagegateway#double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The file share's contribution to the overall percentage of the gateway's cache\n that has not been persisted to Amazon Web Services. The sample is taken at the end of the\n reporting period.
" } }, "CacheHitPercentage": { "target": "com.amazonaws.storagegateway#double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Percent of application read operations from the file shares that are served from cache.\n The sample is taken at the end of the reporting period.
" } }, "CacheMissPercentage": { "target": "com.amazonaws.storagegateway#double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Percent of application read operations from the file shares that are not served from\n cache. The sample is taken at the end of the reporting period.
" } } @@ -3843,12 +3852,14 @@ "UploadBufferUsedInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of bytes being used in the gateway's upload buffer.
" } }, "UploadBufferAllocatedInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of bytes allocated in the gateway's as upload buffer.
" } } @@ -3984,12 +3995,14 @@ "WorkingStorageUsedInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total working storage in bytes in use by the gateway. If no working storage is\n configured for the gateway, this field returns 0.
" } }, "WorkingStorageAllocatedInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total working storage in bytes allocated for the gateway. If no working storage is\n configured for the gateway, this field returns 0.
" } } @@ -4089,12 +4102,14 @@ "NetworkInterfacePort": { "target": "com.amazonaws.storagegateway#integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port used to communicate with iSCSI VTL device targets.
" } }, "ChapEnabled": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether mutual CHAP is enabled for the iSCSI target.
" } } @@ -4184,6 +4199,7 @@ "ForceDelete": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If this value is set to true, the operation disassociates an Amazon FSx file\n system immediately. It ends all data uploads to the file system, and the file system\n association enters the FORCE_DELETING status. If this value is set to false,\n the Amazon FSx file system does not disassociate until all data is uploaded.
The local disk size in bytes.
" } }, @@ -4335,10 +4352,7 @@ } }, "com.amazonaws.storagegateway#DoubleObject": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.storagegateway#Ec2InstanceId": { "type": "string" @@ -5140,7 +5154,6 @@ "com.amazonaws.storagegateway#HourOfDay": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 23 @@ -6074,7 +6087,6 @@ "com.amazonaws.storagegateway#MinimumNumTapes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -6084,7 +6096,6 @@ "com.amazonaws.storagegateway#MinuteOfHour": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 59 @@ -6144,6 +6155,7 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to true to use Amazon S3 server-side encryption with your own\n KMS key, or false to use a key managed by Amazon S3.\n Optional.
Valid Values: true | false\n
Set to true to use Amazon S3 server-side encryption with your own\n KMS key, or false to use a key managed by Amazon S3.\n Optional.
Valid Values: true | false\n
Storage Gateway is the service that connects an on-premises software appliance\n with cloud-based storage to provide seamless and secure integration between an\n organization's on-premises IT environment and the Amazon Web Services storage\n infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.
\n\nUse the following links to get started using the Storage Gateway\n Service API Reference:
\n\n\n Storage Gateway required request headers: Describes the required\n headers that you must send with every POST request to Storage Gateway.
\n\n Signing requests: Storage Gateway requires that you authenticate\n every request you send; this topic describes how sign such a request.
\n\n Error responses: Provides reference information about Storage Gateway errors.
\n\n Operations in Storage Gateway: Contains detailed descriptions of all Storage Gateway operations, their request parameters, response elements, possible errors, and\n examples of requests and responses.
\n\n Storage Gateway\n endpoints and quotas: Provides a list of each Amazon Web Services Region\n and the endpoints available for use with Storage Gateway.
\nStorage Gateway resource IDs are in uppercase. When you use these resource IDs\n with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change\n your resource ID to lowercase to use it with the EC2 API. For example, in Storage\n Gateway the ID for a volume might be vol-AA22BB012345DAF670. When you use\n this ID with the EC2 API, you must change it to vol-aa22bb012345daf670.\n Otherwise, the EC2 API might not behave as expected.
IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway\n volumes are changing to a longer format. Starting in December 2016, all new volumes and\n snapshots will be created with a 17-character string. Starting in April 2016, you will\n be able to use these longer IDs so you can test your systems with the new format. For\n more information, see Longer EC2 and\n EBS resource IDs.
\n\nFor example, a volume Amazon Resource Name (ARN) with the longer volume ID format\n looks like the following:
\n\n\n arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG.
A snapshot ID with the longer ID format looks like the following:\n snap-78e226633445566ee.
For more information, see Announcement:\n Heads-up – Longer Storage Gateway volume and snapshot IDs coming in\n 2016.
\nStorage Gateway is the service that connects an on-premises software appliance\n with cloud-based storage to provide seamless and secure integration between an\n organization's on-premises IT environment and the Amazon Web Services storage\n infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.
\n\nUse the following links to get started using the Storage Gateway\n Service API Reference:
\n\n\n Storage Gateway required request headers: Describes the required\n headers that you must send with every POST request to Storage Gateway.
\n\n Signing requests: Storage Gateway requires that you authenticate\n every request you send; this topic describes how sign such a request.
\n\n Error responses: Provides reference information about Storage Gateway errors.
\n\n Operations in Storage Gateway: Contains detailed descriptions of all Storage Gateway operations, their request parameters, response elements, possible errors, and\n examples of requests and responses.
\n\n Storage Gateway\n endpoints and quotas: Provides a list of each Amazon Web Services Region\n and the endpoints available for use with Storage Gateway.
\nStorage Gateway resource IDs are in uppercase. When you use these resource IDs\n with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change\n your resource ID to lowercase to use it with the EC2 API. For example, in Storage\n Gateway the ID for a volume might be vol-AA22BB012345DAF670. When you use\n this ID with the EC2 API, you must change it to vol-aa22bb012345daf670.\n Otherwise, the EC2 API might not behave as expected.
IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway\n volumes are changing to a longer format. Starting in December 2016, all new volumes and\n snapshots will be created with a 17-character string. Starting in April 2016, you will\n be able to use these longer IDs so you can test your systems with the new format. For\n more information, see Longer EC2 and\n EBS resource IDs.
\n\nFor example, a volume Amazon Resource Name (ARN) with the longer volume ID format\n looks like the following:
\n\n\n arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG.
A snapshot ID with the longer ID format looks like the following:\n snap-78e226633445566ee.
For more information, see Announcement:\n Heads-up – Longer Storage Gateway volume and snapshot IDs coming in\n 2016.
\nThe size of the volume in bytes.
" } }, @@ -7745,6 +7754,7 @@ "PreservedExistingData": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates if when the stored volume was created, existing data on the underlying local\n disk was preserved.
\n\nValid Values: true | false\n
If the tape is archived as write-once-read-many (WORM), this value is\n true.
Set to true if the archived tape is stored as write-once-read-many\n (WORM).
The size of the volume in bytes.
\n\nValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
" } }, @@ -9458,12 +9464,14 @@ "VolumeSizeInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the volume in bytes.
" } }, "VolumeUsageInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of the data stored on the volume in bytes.
\n\nThis value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.
\nThe port used to communicate with iSCSI targets.
" } }, @@ -9538,6 +9544,7 @@ "ChapEnabled": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether mutual CHAP is enabled for the iSCSI target.
" } } @@ -9547,7 +9554,10 @@ } }, "com.amazonaws.storagegateway#double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.storagegateway#errorDetails": { "type": "map", @@ -9559,10 +9569,16 @@ } }, "com.amazonaws.storagegateway#integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.storagegateway#long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.storagegateway#string": { "type": "string" diff --git a/codegen/sdk/aws-models/sts.json b/codegen/sdk/aws-models/sts.json index 8436979b512..8e671991d62 100644 --- a/codegen/sdk/aws-models/sts.json +++ b/codegen/sdk/aws-models/sts.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.sts#AWSSecurityTokenServiceV20110615": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "STS", - "arnNamespace": "sts", - "cloudFormationName": "STS", - "cloudTrailEventSource": "sts.amazonaws.com", - "endpointPrefix": "sts" - }, - "aws.auth#sigv4": { - "name": "sts" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Security Token Service (STS) enables you to request temporary, limited-privilege \n credentials for Identity and Access Management (IAM) users or for users that you \n authenticate (federated users). This guide provides descriptions of the STS API. For \n more information about using this service, see Temporary Security Credentials.
", - "smithy.api#title": "AWS Security Token Service", - "smithy.api#xmlNamespace": { - "uri": "https://sts.amazonaws.com/doc/2011-06-15/" - } - }, "version": "2011-06-15", "operations": [ { @@ -75,7 +57,25 @@ { "target": "com.amazonaws.sts#GetSessionToken" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "STS", + "arnNamespace": "sts", + "cloudFormationName": "STS", + "cloudTrailEventSource": "sts.amazonaws.com", + "endpointPrefix": "sts" + }, + "aws.auth#sigv4": { + "name": "sts" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Security Token Service (STS) enables you to request temporary, limited-privilege \n credentials for Identity and Access Management (IAM) users or for users that you \n authenticate (federated users). This guide provides descriptions of the STS API. For \n more information about using this service, see Temporary Security Credentials.
", + "smithy.api#title": "AWS Security Token Service", + "smithy.api#xmlNamespace": { + "uri": "https://sts.amazonaws.com/doc/2011-06-15/" + } + } }, "com.amazonaws.sts#AssumeRole": { "type": "operation", @@ -1070,7 +1070,6 @@ "com.amazonaws.sts#durationSecondsType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 900, "max": 129600 @@ -1127,7 +1126,6 @@ "com.amazonaws.sts#nonNegativeIntegerType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -1148,7 +1146,6 @@ "com.amazonaws.sts#roleDurationSecondsType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 900, "max": 43200 diff --git a/codegen/sdk/aws-models/support-app.json b/codegen/sdk/aws-models/support-app.json index d02fecf7e4b..ad2bfda7c9c 100644 --- a/codegen/sdk/aws-models/support-app.json +++ b/codegen/sdk/aws-models/support-app.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.supportapp#AccessDeniedException": { "type": "structure", @@ -603,19 +603,6 @@ }, "com.amazonaws.supportapp#SupportApp": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Support App", - "arnNamespace": "supportapp" - }, - "aws.auth#sigv4": { - "name": "supportapp" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "You can use the Amazon Web Services Support App in Slack API to manage your support cases in Slack for your\n Amazon Web Services account. After you configure your Slack workspace and channel with the Amazon Web Services Support App, you can\n perform the following tasks directly in your Slack channel:
\nCreate, search, update, and resolve your support cases
\nRequest service quota increases for your account
\nInvite Amazon Web Services Support agents to your channel so that you can chat directly about your\n support cases
\nFor more information about how to perform these actions in Slack, see the following\n documentation in the Amazon Web Services Support User Guide:
\n\n Joining a live chat session with Amazon Web Services Support\n
\nYou can also use the Amazon Web Services Management Console instead of the Amazon Web Services Support App API to manage your Slack\n configurations. For more information, see Authorize a\n Slack workspace to enable the Amazon Web Services Support App.
\n\nYou must have a Business or Enterprise Support plan to use the Amazon Web Services Support App API.
\nFor more information about the Amazon Web Services Support App endpoints, see the Amazon Web Services Support App in Slack endpoints in the Amazon Web Services General\n Reference.
\nYou can use the Amazon Web Services Support App in Slack API to manage your support cases in Slack for your\n Amazon Web Services account. After you configure your Slack workspace and channel with the Amazon Web Services Support App, you can\n perform the following tasks directly in your Slack channel:
\nCreate, search, update, and resolve your support cases
\nRequest service quota increases for your account
\nInvite Amazon Web Services Support agents to your channel so that you can chat directly about your\n support cases
\nFor more information about how to perform these actions in Slack, see the following\n documentation in the Amazon Web Services Support User Guide:
\n\n Joining a live chat session with Amazon Web Services Support\n
\nYou can also use the Amazon Web Services Management Console instead of the Amazon Web Services Support App API to manage your Slack\n configurations. For more information, see Authorize a\n Slack workspace to enable the Amazon Web Services Support App.
\n\nYou must have a Business or Enterprise Support plan to use the Amazon Web Services Support App API.
\nFor more information about the Amazon Web Services Support App endpoints, see the Amazon Web Services Support App in Slack endpoints in the Amazon Web Services General\n Reference.
\nThe Amazon Web Services Support API Reference is intended for programmers who need detailed\n information about the Amazon Web Services Support operations and data types. You can use the API to manage\n your support cases programmatically. The Amazon Web Services Support API uses HTTP methods that return\n results in JSON format.
\nYou must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support\n API.
\nIf you call the Amazon Web Services Support API from an account that does not have a\n Business, Enterprise On-Ramp, or Enterprise Support plan, the\n SubscriptionRequiredException error message appears. For\n information about changing your support plan, see Amazon Web Services Support.
The Amazon Web Services Support service also exposes a set of Trusted Advisor features. You can\n retrieve a list of checks and their descriptions, get check results, specify checks to\n refresh, and get the refresh status of checks.
\nThe following list describes the Amazon Web Services Support case management operations:
\nService names, issue categories, and available severity levels - The\n DescribeServices and DescribeSeverityLevels operations return Amazon Web Services service names,\n service codes, service categories, and problem severity levels. You use these\n values when you call the CreateCase operation.
\nCase creation, case details, and case resolution - The CreateCase, DescribeCases, DescribeAttachment, and ResolveCase operations\n create Amazon Web Services Support cases, retrieve information about cases, and resolve cases.
\nCase communication - The DescribeCommunications,\n AddCommunicationToCase, and AddAttachmentsToSet operations retrieve and add communications\n and attachments to Amazon Web Services Support cases.
\nThe following list describes the operations available from the Amazon Web Services Support service for\n Trusted Advisor:
\n\n DescribeTrustedAdvisorChecks returns the list of checks that\n run against your Amazon Web Services resources.
\nUsing the checkId for a specific check returned by DescribeTrustedAdvisorChecks, you can call DescribeTrustedAdvisorCheckResult to obtain the results for the\n check that you specified.
\n DescribeTrustedAdvisorCheckSummaries returns summarized\n results for one or more Trusted Advisor checks.
\n\n RefreshTrustedAdvisorCheck requests that Trusted Advisor rerun a\n specified check.
\n\n DescribeTrustedAdvisorCheckRefreshStatuses reports the refresh\n status of one or more checks.
\nFor authentication of requests, Amazon Web Services Support uses Signature Version 4 Signing\n Process.
\nSee About the\n Amazon Web Services Support API in the Amazon Web Services Support User Guide for\n information about how to use this service to create and manage your support cases, and\n how to call Trusted Advisor for results of checks on your resources.
", - "smithy.api#title": "AWS Support", - "smithy.api#xmlNamespace": { - "uri": "http://support.amazonaws.com/doc/2013-04-15/" - } - }, "version": "2013-04-15", "operations": [ { @@ -93,7 +75,25 @@ { "target": "com.amazonaws.support#ResolveCase" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Support", + "arnNamespace": "support", + "cloudFormationName": "Support", + "cloudTrailEventSource": "support.amazonaws.com", + "endpointPrefix": "support" + }, + "aws.auth#sigv4": { + "name": "support" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "The Amazon Web Services Support API Reference is intended for programmers who need detailed\n information about the Amazon Web Services Support operations and data types. You can use the API to manage\n your support cases programmatically. The Amazon Web Services Support API uses HTTP methods that return\n results in JSON format.
\nYou must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support\n API.
\nIf you call the Amazon Web Services Support API from an account that does not have a\n Business, Enterprise On-Ramp, or Enterprise Support plan, the\n SubscriptionRequiredException error message appears. For\n information about changing your support plan, see Amazon Web Services Support.
The Amazon Web Services Support service also exposes a set of Trusted Advisor features. You can\n retrieve a list of checks and their descriptions, get check results, specify checks to\n refresh, and get the refresh status of checks.
\nThe following list describes the Amazon Web Services Support case management operations:
\nService names, issue categories, and available severity levels - The\n DescribeServices and DescribeSeverityLevels operations return Amazon Web Services service names,\n service codes, service categories, and problem severity levels. You use these\n values when you call the CreateCase operation.
\nCase creation, case details, and case resolution - The CreateCase, DescribeCases, DescribeAttachment, and ResolveCase operations\n create Amazon Web Services Support cases, retrieve information about cases, and resolve cases.
\nCase communication - The DescribeCommunications,\n AddCommunicationToCase, and AddAttachmentsToSet operations retrieve and add communications\n and attachments to Amazon Web Services Support cases.
\nThe following list describes the operations available from the Amazon Web Services Support service for\n Trusted Advisor:
\n\n DescribeTrustedAdvisorChecks returns the list of checks that\n run against your Amazon Web Services resources.
\nUsing the checkId for a specific check returned by DescribeTrustedAdvisorChecks, you can call DescribeTrustedAdvisorCheckResult to obtain the results for the\n check that you specified.
\n DescribeTrustedAdvisorCheckSummaries returns summarized\n results for one or more Trusted Advisor checks.
\n\n RefreshTrustedAdvisorCheck requests that Trusted Advisor rerun a\n specified check.
\n\n DescribeTrustedAdvisorCheckRefreshStatuses reports the refresh\n status of one or more checks.
\nFor authentication of requests, Amazon Web Services Support uses Signature Version 4 Signing\n Process.
\nSee About the\n Amazon Web Services Support API in the Amazon Web Services Support User Guide for\n information about how to use this service to create and manage your support cases, and\n how to call Trusted Advisor for results of checks on your resources.
", + "smithy.api#title": "AWS Support", + "smithy.api#xmlNamespace": { + "uri": "http://support.amazonaws.com/doc/2013-04-15/" + } + } }, "com.amazonaws.support#AddAttachmentsToSet": { "type": "operation", @@ -224,6 +224,7 @@ "result": { "target": "com.amazonaws.support#Result", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if AddCommunicationToCase succeeds. Otherwise, returns an\n error.
" } } @@ -372,7 +373,10 @@ "type": "string" }, "com.amazonaws.support#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.support#CaseCreationLimitExceeded": { "type": "structure", @@ -820,6 +824,7 @@ "includeResolvedCases": { "target": "com.amazonaws.support#IncludeResolvedCases", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether to include resolved support cases in the DescribeCases\n response. By default, resolved cases aren't included.
The amount of time, in milliseconds, until the Trusted Advisor check is eligible for\n refresh.
", "smithy.api#required": {} } @@ -1690,6 +1704,7 @@ "hasFlaggedResources": { "target": "com.amazonaws.support#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the Trusted Advisor check has flagged resources.
" } }, @@ -1723,6 +1738,7 @@ "estimatedMonthlySavings": { "target": "com.amazonaws.support#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The estimated monthly savings that might be realized if the recommended operations are\n taken.
", "smithy.api#required": {} } @@ -1730,6 +1746,7 @@ "estimatedPercentMonthlySavings": { "target": "com.amazonaws.support#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The estimated percentage of savings that might be realized if the recommended\n operations are taken.
", "smithy.api#required": {} } @@ -1765,6 +1782,7 @@ "isSuppressed": { "target": "com.amazonaws.support#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the Amazon Web Services resource was ignored by Trusted Advisor because it was\n marked as suppressed by the user.
" } }, @@ -1792,6 +1810,7 @@ "resourcesProcessed": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of Amazon Web Services resources that were analyzed by the Trusted Advisor check.
", "smithy.api#required": {} } @@ -1799,6 +1818,7 @@ "resourcesFlagged": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of Amazon Web Services resources that were flagged (listed) by the Trusted Advisor\n check.
", "smithy.api#required": {} } @@ -1806,6 +1826,7 @@ "resourcesIgnored": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of Amazon Web Services resources ignored by Trusted Advisor because information was\n unavailable.
", "smithy.api#required": {} } @@ -1813,6 +1834,7 @@ "resourcesSuppressed": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of Amazon Web Services resources ignored by Trusted Advisor because they were marked as\n suppressed by the user.
", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/swf.json b/codegen/sdk/aws-models/swf.json index cd7586a4cd3..3eb879744d8 100644 --- a/codegen/sdk/aws-models/swf.json +++ b/codegen/sdk/aws-models/swf.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -58,6 +58,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the ActivityTaskStarted event recorded in the history.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
If set, contains the ID of the last ActivityTaskCancelRequested event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
Set to true if cancellation of the task is requested.
The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution \n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskStarted event recorded in the history.
The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider.
" } } @@ -1533,6 +1568,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskStarted event recorded when this decision task was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskStarted event recorded when this decision task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the\n RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the\n SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.
When set to true, returns the events in reverse order. By default the\n results are returned in ascending order of the eventTimeStamp of the\n events.
The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.
", "smithy.api#required": {} } @@ -3000,6 +3058,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the LambdaFunctionScheduled event that was recorded when this\n Lambda task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The ID of the LambdaFunctionStarted event recorded when this activity task\n started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The ID of the LambdaFunctionScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The ID of the LambdaFunctionStarted event recorded when this activity task\n started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The ID of the LambdaFunctionCompleted event corresponding to the decision\n that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The ID of the LambdaFunctionScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The ID of the LambdaFunctionScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The ID of the ActivityTaskStarted event that was recorded when this\n activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.
When set to true, returns the results in reverse order. By default, the\n results are returned in ascending alphabetical order by name of the activity\n types.
The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.
When set to true, returns the results in reverse order. By default the\n results are returned in descending order of the start or the close time of the\n executions.
The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.
When set to true, returns the results in reverse order. By default, the\n results are returned in ascending alphabetical order by name of the\n domains.
The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.
When set to true, returns the results in reverse order. By default the\n results are returned in descending order of the start time of the executions.
The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.
When set to true, returns the results in reverse order. By default the\n results are returned in ascending alphabetical order of the name of the workflow\n types.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RecordMarker decision that requested this marker. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The number of tasks in the task list.
", "smithy.api#required": {} } @@ -3692,6 +3772,7 @@ "truncated": { "target": "com.amazonaws.swf#Truncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
" } } @@ -3809,12 +3890,14 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.
This\n is an upper limit only; the actual number of results returned per call may be fewer than the\n specified maximum.
" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When set to true, returns the events in reverse order. By default the\n results are returned in ascending order of the eventTimestamp of the\n events.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RecordMarkerFailed decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the\n RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelExternalWorkflowExecution decision for this cancellation request.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the\n scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the LambdaFunctionCompleted event corresponding to the decision\n that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the\n SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated\n event that corresponds to the StartChildWorkflowExecution \n Decision to start the workflow execution. You can use this information to diagnose\n problems by tracing back the chain of events leading up to this event.
When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the \n StartChildWorkflowExecutionInitiated event doesn't exist.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution \n Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartChildWorkflowExecution \n Decision to request this child workflow execution. This\n information can be useful for diagnosing problems by tracing back the cause of events.
The ID of the ActivityTaskScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the TimerStarted event that was recorded when this timer was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the TimerStarted event that was recorded when this timer was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the\n RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event\n with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
The number of workflow executions.
", "smithy.api#required": {} } @@ -6471,6 +6629,7 @@ "truncated": { "target": "com.amazonaws.swf#Truncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
" } } @@ -6538,6 +6697,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Set to true if a cancellation is requested for this workflow execution.
" } } @@ -6661,6 +6822,7 @@ "openActivityTasks": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The count of activity tasks whose status is OPEN.
The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.
", "smithy.api#required": {} } @@ -6675,6 +6838,7 @@ "openTimers": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The count of timers started by this workflow execution that have not fired yet.
", "smithy.api#required": {} } @@ -6682,6 +6846,7 @@ "openChildWorkflowExecutions": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The count of child workflow executions whose status is OPEN.
The count of Lambda tasks whose status is OPEN.
The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the\n SignalExternalWorkflow decision to signal this workflow execution.The source event with this ID can\n be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event. This field is set only if\n the signal was initiated by another workflow execution.
The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this workflow execution. The source event with\n this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.
Specifies whether to also delete the Lambda functions and layers used by this canary. The default\n is false.
\nType: Boolean
", "smithy.api#httpQuery": "deleteLambda" } @@ -2007,7 +2008,6 @@ "com.amazonaws.synthetics#MaxCanaryResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -2017,7 +2017,6 @@ "com.amazonaws.synthetics#MaxFifteenMinutesInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 3, "max": 840 @@ -2027,7 +2026,6 @@ "com.amazonaws.synthetics#MaxGroupResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -2037,7 +2035,6 @@ "com.amazonaws.synthetics#MaxOneYearInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 31622400 @@ -2047,7 +2044,6 @@ "com.amazonaws.synthetics#MaxSize100": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2057,7 +2053,6 @@ "com.amazonaws.synthetics#MaxSize1024": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1024 @@ -2067,7 +2062,6 @@ "com.amazonaws.synthetics#MaxSize3008": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 960, "max": 3008 @@ -2088,10 +2082,7 @@ } }, "com.amazonaws.synthetics#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.synthetics#PaginationToken": { "type": "string", @@ -2363,21 +2354,6 @@ }, "com.amazonaws.synthetics#Synthetics": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "synthetics", - "arnNamespace": "synthetics", - "cloudFormationName": "Synthetics", - "cloudTrailEventSource": "synthetics.amazonaws.com", - "endpointPrefix": "synthetics" - }, - "aws.auth#sigv4": { - "name": "synthetics" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "You can use Amazon CloudWatch Synthetics to continually monitor your services. You can\n create and manage canaries, which are modular, lightweight scripts \n that monitor your endpoints and APIs\n from the outside-in. You can set up your canaries to run\n 24 hours a day, once per minute. The canaries help you check the availability and latency\n of your web services and troubleshoot anomalies by investigating load time data,\n screenshots of the UI, logs, and metrics. The canaries seamlessly integrate with CloudWatch\n ServiceLens to help you trace the causes of impacted nodes in your applications. For more\n information, see Using ServiceLens to Monitor\n the Health of Your Applications in the Amazon CloudWatch User\n Guide.
\n \nBefore you create and manage canaries, be aware of the security considerations. For more\n information, see Security\n Considerations for Synthetics Canaries.
", - "smithy.api#title": "Synthetics" - }, "version": "2017-10-11", "operations": [ { @@ -2443,7 +2419,22 @@ { "target": "com.amazonaws.synthetics#UpdateCanary" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "synthetics", + "arnNamespace": "synthetics", + "cloudFormationName": "Synthetics", + "cloudTrailEventSource": "synthetics.amazonaws.com", + "endpointPrefix": "synthetics" + }, + "aws.auth#sigv4": { + "name": "synthetics" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "You can use Amazon CloudWatch Synthetics to continually monitor your services. You can\n create and manage canaries, which are modular, lightweight scripts \n that monitor your endpoints and APIs\n from the outside-in. You can set up your canaries to run\n 24 hours a day, once per minute. The canaries help you check the availability and latency\n of your web services and troubleshoot anomalies by investigating load time data,\n screenshots of the UI, logs, and metrics. The canaries seamlessly integrate with CloudWatch\n ServiceLens to help you trace the causes of impacted nodes in your applications. For more\n information, see Using ServiceLens to Monitor\n the Health of Your Applications in the Amazon CloudWatch User\n Guide.
\n \nBefore you create and manage canaries, be aware of the security considerations. For more\n information, see Security\n Considerations for Synthetics Canaries.
", + "smithy.api#title": "Synthetics" + } }, "com.amazonaws.synthetics#TagKey": { "type": "string", @@ -2860,7 +2851,10 @@ "type": "string" }, "com.amazonaws.synthetics#boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } } } } diff --git a/codegen/sdk/aws-models/textract.json b/codegen/sdk/aws-models/textract.json index f1ee55b2002..1c416251254 100644 --- a/codegen/sdk/aws-models/textract.json +++ b/codegen/sdk/aws-models/textract.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -490,24 +490,28 @@ "Width": { "target": "com.amazonaws.textract#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The width of the bounding box as a ratio of the overall document page\n width.
" } }, "Height": { "target": "com.amazonaws.textract#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The height of the bounding box as a ratio of the overall document page\n height.
" } }, "Left": { "target": "com.amazonaws.textract#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The left coordinate of the bounding box as a ratio of overall document page\n width.
" } }, "Top": { "target": "com.amazonaws.textract#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The top coordinate of the bounding box as a ratio of overall document page\n height.
" } } @@ -871,7 +875,10 @@ } }, "com.amazonaws.textract#Float": { - "type": "float" + "type": "float", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.textract#FlowDefinitionArn": { "type": "string", @@ -1632,7 +1639,6 @@ "com.amazonaws.textract#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1726,7 +1732,6 @@ "com.amazonaws.textract#Percent": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -1739,12 +1744,14 @@ "X": { "target": "com.amazonaws.textract#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the X coordinate for a point on a Polygon.
The value of the Y coordinate for a point on a Polygon.
Amazon Textract detects and analyzes text in documents and converts it\n into machine-readable text. This is the API reference documentation for\n Amazon Textract.
", - "smithy.api#title": "Amazon Textract" - }, "version": "2018-06-27", "operations": [ { @@ -2405,7 +2397,22 @@ { "target": "com.amazonaws.textract#StartExpenseAnalysis" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Textract", + "arnNamespace": "textract", + "cloudFormationName": "Textract", + "cloudTrailEventSource": "textract.amazonaws.com", + "endpointPrefix": "textract" + }, + "aws.auth#sigv4": { + "name": "textract" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Textract detects and analyzes text in documents and converts it\n into machine-readable text. This is the API reference documentation for\n Amazon Textract.
", + "smithy.api#title": "Amazon Textract" + } }, "com.amazonaws.textract#ThrottlingException": { "type": "structure", @@ -2425,7 +2432,6 @@ "com.amazonaws.textract#UInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/timestream-query.json b/codegen/sdk/aws-models/timestream-query.json index a2cd21ad2ef..6145586d367 100644 --- a/codegen/sdk/aws-models/timestream-query.json +++ b/codegen/sdk/aws-models/timestream-query.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -343,6 +343,9 @@ "input": { "target": "com.amazonaws.timestreamquery#DeleteScheduledQueryRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.timestreamquery#AccessDeniedException" @@ -521,7 +524,10 @@ } }, "com.amazonaws.timestreamquery#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.timestreamquery#Endpoint": { "type": "structure", @@ -536,6 +542,7 @@ "CachePeriodInMinutes": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The TTL for the endpoint, in minutes.
", "smithy.api#required": {} } @@ -588,6 +595,9 @@ "input": { "target": "com.amazonaws.timestreamquery#ExecuteScheduledQueryRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.timestreamquery#AccessDeniedException" @@ -648,30 +658,35 @@ "ExecutionTimeInMillis": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total time, measured in milliseconds, that was needed for the scheduled query run to complete.
" } }, "DataWrites": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Data writes metered for records ingested in a single scheduled query run.
" } }, "BytesMetered": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Bytes metered for a single scheduled query run.
" } }, "RecordsIngested": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of records ingested for a single scheduled query run.
" } }, "QueryResultRows": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of rows present in the output from running a query before ingestion to\n destination data source.
" } } @@ -855,12 +870,14 @@ } }, "com.amazonaws.timestreamquery#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.timestreamquery#MaxQueryResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -870,7 +887,6 @@ "com.amazonaws.timestreamquery#MaxScheduledQueriesResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -880,7 +896,6 @@ "com.amazonaws.timestreamquery#MaxTagsForResourceResult": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 200 @@ -1046,10 +1061,7 @@ } }, "com.amazonaws.timestreamquery#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.timestreamquery#PaginationToken": { "type": "string", @@ -1307,18 +1319,21 @@ "ProgressPercentage": { "target": "com.amazonaws.timestreamquery#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The progress of the query, expressed as a percentage.
" } }, "CumulativeBytesScanned": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of data scanned by the query in bytes. This is a cumulative sum and\n represents the total amount of bytes scanned since the query was started.
" } }, "CumulativeBytesMetered": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of data scanned by the query in bytes that you will be charged for. This is\n a cumulative sum and represents the total amount of data that you will be charged for\n since the query was started. The charge is applied only once and is either applied when\n the query completes running or when the query is cancelled.
" } } @@ -2201,25 +2216,6 @@ }, "com.amazonaws.timestreamquery#Timestream_20181101": { "type": "service", - "traits": { - "aws.api#clientEndpointDiscovery": { - "operation": "com.amazonaws.timestreamquery#DescribeEndpoints", - "error": "com.amazonaws.timestreamquery#InvalidEndpointException" - }, - "aws.api#service": { - "sdkId": "Timestream Query", - "arnNamespace": "timestream", - "cloudFormationName": "TimestreamQuery", - "cloudTrailEventSource": "timestreamquery.amazonaws.com", - "endpointPrefix": "query.timestream" - }, - "aws.auth#sigv4": { - "name": "timestream" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "The total number of tables found within a Timestream database.
" } }, @@ -296,6 +294,9 @@ "input": { "target": "com.amazonaws.timestreamwrite#DeleteDatabaseRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" @@ -340,6 +341,9 @@ "input": { "target": "com.amazonaws.timestreamwrite#DeleteTableRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" @@ -612,6 +616,7 @@ "CachePeriodInMinutes": { "target": "com.amazonaws.timestreamwrite#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The TTL for the endpoint, in minutes.
", "smithy.api#required": {} } @@ -631,7 +636,10 @@ "type": "string" }, "com.amazonaws.timestreamwrite#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.timestreamwrite#InternalServerException": { "type": "structure", @@ -866,7 +874,10 @@ } }, "com.amazonaws.timestreamwrite#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.timestreamwrite#MagneticStoreRejectedDataLocation": { "type": "structure", @@ -885,6 +896,7 @@ "com.amazonaws.timestreamwrite#MagneticStoreRetentionPeriodInDays": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 73000 @@ -981,6 +993,7 @@ "com.amazonaws.timestreamwrite#MemoryStoreRetentionPeriodInHours": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 8766 @@ -990,7 +1003,6 @@ "com.amazonaws.timestreamwrite#PaginationLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -1039,7 +1051,7 @@ "Version": { "target": "com.amazonaws.timestreamwrite#RecordVersion", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "64-bit attribute used for record updates. \n Write requests for duplicate data with a higher version number will update the existing measure value and version. \n In cases where the measure value is the same, Version will still be updated . Default value is 1.
\n Version must be 1 or greater, or you will receive a ValidationException error.
Total count of successfully ingested records.
" } }, "MemoryStore": { "target": "com.amazonaws.timestreamwrite#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Count of records ingested into the memory store.
" } }, "MagneticStore": { "target": "com.amazonaws.timestreamwrite#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Count of records ingested into the magnetic store.
" } } @@ -1104,6 +1125,7 @@ "RecordIndex": { "target": "com.amazonaws.timestreamwrite#RecordIndex", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "\nThe index of the record in the input request for WriteRecords. Indexes begin with 0. \n
" } }, @@ -1116,7 +1138,7 @@ "ExistingVersion": { "target": "com.amazonaws.timestreamwrite#RecordVersion", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "The existing version of the record. \n This value is populated in scenarios where an identical record exists with a higher version than the version in the write request.
" } } @@ -1175,6 +1197,7 @@ "MemoryStoreRetentionPeriodInHours": { "target": "com.amazonaws.timestreamwrite#MemoryStoreRetentionPeriodInHours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration for which data must be stored in the memory store.
", "smithy.api#required": {} } @@ -1182,6 +1205,7 @@ "MagneticStoreRetentionPeriodInDays": { "target": "com.amazonaws.timestreamwrite#MagneticStoreRetentionPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration for which data must be stored in the magnetic store.
", "smithy.api#required": {} } @@ -1540,25 +1564,6 @@ }, "com.amazonaws.timestreamwrite#Timestream_20181101": { "type": "service", - "traits": { - "aws.api#clientEndpointDiscovery": { - "operation": "com.amazonaws.timestreamwrite#DescribeEndpoints", - "error": "com.amazonaws.timestreamwrite#InvalidEndpointException" - }, - "aws.api#service": { - "sdkId": "Timestream Write", - "arnNamespace": "timestream", - "cloudFormationName": "TimestreamWrite", - "cloudTrailEventSource": "timestreamwrite.amazonaws.com", - "endpointPrefix": "ingest.timestream" - }, - "aws.auth#sigv4": { - "name": "timestream" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Amazon Timestream is a fast, scalable, fully managed time series database service that makes it easy to store and analyze trillions of time series data points per day. \n With Timestream, you can easily store and analyze IoT sensor data to derive insights from your IoT applications. \n You can analyze industrial telemetry to streamline equipment management and maintenance. \n You can also store and analyze log data and metrics to improve the performance and availability of your applications. \n Timestream is built from the ground up to effectively ingest, process, \n and store time series data. It organizes data to optimize query processing. It automatically scales based on the volume of data ingested and on the query volume to ensure you receive optimal performance while inserting and querying data. As your data grows over time, Timestream’s adaptive query processing engine spans across storage tiers to provide fast analysis while reducing costs.
", - "smithy.api#title": "Amazon Timestream Write" - }, "version": "2018-11-01", "operations": [ { @@ -1606,7 +1611,26 @@ { "target": "com.amazonaws.timestreamwrite#WriteRecords" } - ] + ], + "traits": { + "aws.api#clientEndpointDiscovery": { + "operation": "com.amazonaws.timestreamwrite#DescribeEndpoints", + "error": "com.amazonaws.timestreamwrite#InvalidEndpointException" + }, + "aws.api#service": { + "sdkId": "Timestream Write", + "arnNamespace": "timestream", + "cloudFormationName": "TimestreamWrite", + "cloudTrailEventSource": "timestreamwrite.amazonaws.com", + "endpointPrefix": "ingest.timestream" + }, + "aws.auth#sigv4": { + "name": "timestream" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Amazon Timestream is a fast, scalable, fully managed time series database service that makes it easy to store and analyze trillions of time series data points per day. \n With Timestream, you can easily store and analyze IoT sensor data to derive insights from your IoT applications. \n You can analyze industrial telemetry to streamline equipment management and maintenance. \n You can also store and analyze log data and metrics to improve the performance and availability of your applications. \n Timestream is built from the ground up to effectively ingest, process, \n and store time series data. It organizes data to optimize query processing. It automatically scales based on the volume of data ingested and on the query volume to ensure you receive optimal performance while inserting and querying data. As your data grows over time, Timestream’s adaptive query processing engine spans across storage tiers to provide fast analysis while reducing costs.
", + "smithy.api#title": "Amazon Timestream Write" + } }, "com.amazonaws.timestreamwrite#UntagResource": { "type": "operation", diff --git a/codegen/sdk/aws-models/transcribe-streaming.json b/codegen/sdk/aws-models/transcribe-streaming.json index 0fc0c6da42d..1eb87c1dd75 100644 --- a/codegen/sdk/aws-models/transcribe-streaming.json +++ b/codegen/sdk/aws-models/transcribe-streaming.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -108,14 +108,14 @@ } }, "com.amazonaws.transcribestreaming#Boolean": { - "type": "boolean" - }, - "com.amazonaws.transcribestreaming#Confidence": { - "type": "double", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.transcribestreaming#Confidence": { + "type": "double" + }, "com.amazonaws.transcribestreaming#ConflictException": { "type": "structure", "members": { @@ -152,7 +152,10 @@ } }, "com.amazonaws.transcribestreaming#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.transcribestreaming#Entity": { "type": "structure", @@ -160,12 +163,14 @@ "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The start time of speech that was identified as PII.
" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The end time of speech that was identified as PII.
" } }, @@ -223,12 +228,14 @@ "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The offset from the beginning of the audio stream to the beginning of the audio that\n resulted in the item.
" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The offset from the beginning of the audio stream to the end of the audio that resulted in\n the item.
" } }, @@ -247,6 +254,7 @@ "VocabularyFilterMatch": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether a word in the item matches a word in the vocabulary filter you've chosen\n for your media stream. If true then a word in the item matches your\n vocabulary filter.
The confidence score for the associated language code. Confidence scores are values\n between zero and one; larger values indicate a higher confidence in the identified language.\n
" } } @@ -420,7 +429,6 @@ "com.amazonaws.transcribestreaming#MediaSampleRateHertz": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 8000, "max": 48000 @@ -476,12 +484,14 @@ "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The start time of the speech that was identified as a medical entity.
" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The end time of the speech that was identified as a medical entity.
" } }, @@ -520,12 +530,14 @@ "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds into an audio stream that indicates the creation time of an\n item.
" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds into an audio stream that indicates the creation time of an\n item.
" } }, @@ -576,18 +588,21 @@ "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time, in seconds, from the beginning of the audio stream to the beginning of the\n result.
" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time, in seconds, from the beginning of the audio stream to the end of the\n result.
" } }, "IsPartial": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Amazon Transcribe Medical divides the incoming audio stream into segments at natural points in the audio.\n Transcription results are returned based on these segments.
\nThe IsPartial field is true to indicate that Amazon Transcribe Medical has\n additional transcription data to send. The IsPartial field is\n false to indicate that this is the last transcription result for the\n segment.
The offset in seconds from the beginning of the audio stream to the beginning of the\n result.
" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The offset in seconds from the beginning of the audio stream to the end of the\n result.
" } }, "IsPartial": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Amazon Transcribe divides the incoming audio stream into segments at natural points in the audio.\n Transcription results are returned based on these segments.
\nThe IsPartial field is true to indicate that Amazon Transcribe has\n additional transcription data to send, false to indicate that this is the last\n transcription result for the segment.
When true, enables speaker identification in your real-time\n stream.
When true, instructs Amazon Transcribe Medical to process each audio channel separately and\n then merge the transcription output of each channel into a single transcription.
Amazon Transcribe Medical also produces a transcription of each item. An item includes the start time,\n end time, and any alternative transcriptions.
\nYou can't set both ShowSpeakerLabel and\n EnableChannelIdentification in the same request. If you set both, your\n request returns a BadRequestException.
Shows whether speaker identification was enabled in the stream.
", "smithy.api#httpHeader": "x-amzn-transcribe-show-speaker-label" } @@ -1049,6 +1066,7 @@ "EnableChannelIdentification": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Shows whether channel identification has been enabled in the stream.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } @@ -1168,6 +1186,7 @@ "ShowSpeakerLabel": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When true, enables speaker identification in your media stream.
When true, instructs Amazon Transcribe to process each audio channel separately,\n then merges the transcription output of each channel into a single transcription.
Amazon Transcribe also produces a transcription of each item. An item includes the start time, end\n time, and any alternative transcriptions.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } @@ -1189,6 +1209,7 @@ "EnablePartialResultsStabilization": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When true, instructs Amazon Transcribe to present transcription results that have the\n partial results stabilized. Normally, any word or phrase from one partial result can change in\n a subsequent partial result. With partial results stabilization enabled, only the last few\n words of one partial result can change in another partial result.
Optional. Set this value to true to enable language identification for \n your media stream.
Shows whether speaker identification was enabled in the transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-show-speaker-label" } @@ -1341,6 +1364,7 @@ "EnableChannelIdentification": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Shows whether channel identification was enabled in the stream.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } @@ -1355,6 +1379,7 @@ "EnablePartialResultsStabilization": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Shows whether partial results stabilization was enabled in the transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-partial-results-stabilization" } @@ -1397,6 +1422,7 @@ "IdentifyLanguage": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The language code of the language identified in your media stream.
", "smithy.api#httpHeader": "x-amzn-transcribe-identify-language" } @@ -1436,6 +1462,15 @@ }, "com.amazonaws.transcribestreaming#Transcribe": { "type": "service", + "version": "2017-10-26", + "operations": [ + { + "target": "com.amazonaws.transcribestreaming#StartMedicalStreamTranscription" + }, + { + "target": "com.amazonaws.transcribestreaming#StartStreamTranscription" + } + ], "traits": { "aws.api#service": { "sdkId": "Transcribe Streaming", @@ -1448,21 +1483,17 @@ "name": "transcribe" }, "aws.protocols#restJson1": { - "http": ["http/1.1", "h2"], - "eventStreamHttp": ["h2"] + "http": [ + "http/1.1", + "h2" + ], + "eventStreamHttp": [ + "h2" + ] }, "smithy.api#documentation": "Operations and objects for transcribing streaming speech to text.
", "smithy.api#title": "Amazon Transcribe Streaming Service" - }, - "version": "2017-10-26", - "operations": [ - { - "target": "com.amazonaws.transcribestreaming#StartMedicalStreamTranscription" - }, - { - "target": "com.amazonaws.transcribestreaming#StartStreamTranscription" - } - ] + } }, "com.amazonaws.transcribestreaming#Transcript": { "type": "structure", diff --git a/codegen/sdk/aws-models/transcribe.json b/codegen/sdk/aws-models/transcribe.json index 21b1b34933c..3923bf85bf7 100644 --- a/codegen/sdk/aws-models/transcribe.json +++ b/codegen/sdk/aws-models/transcribe.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -90,10 +90,7 @@ } }, "com.amazonaws.transcribe#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.transcribe#CLMLanguageCode": { "type": "string", @@ -404,6 +401,7 @@ "ChannelId": { "target": "com.amazonaws.transcribe#ChannelId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the audio channel you want to define.
" } }, @@ -433,6 +431,7 @@ "com.amazonaws.transcribe#ChannelId": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 @@ -1360,10 +1359,7 @@ } }, "com.amazonaws.transcribe#DurationInSeconds": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.transcribe#FailureReason": { "type": "string" @@ -1832,10 +1828,7 @@ } }, "com.amazonaws.transcribe#IdentifiedLanguageScore": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.transcribe#InputDataConfig": { "type": "structure", @@ -3006,7 +2999,6 @@ "com.amazonaws.transcribe#MaxAlternatives": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2, "max": 10 @@ -3016,7 +3008,6 @@ "com.amazonaws.transcribe#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3026,7 +3017,6 @@ "com.amazonaws.transcribe#MaxSpeakers": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2, "max": 10 @@ -3091,7 +3081,6 @@ "com.amazonaws.transcribe#MediaSampleRateHertz": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 8000, "max": 48000 @@ -3112,7 +3101,6 @@ "com.amazonaws.transcribe#MedicalMediaSampleRateHertz": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 16000, "max": 48000 @@ -3525,7 +3513,6 @@ "com.amazonaws.transcribe#Percentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -4293,7 +4280,6 @@ "com.amazonaws.transcribe#SubtitleOutputStartIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -4471,7 +4457,6 @@ "com.amazonaws.transcribe#TimestampMilliseconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 14400000 @@ -4480,21 +4465,6 @@ }, "com.amazonaws.transcribe#Transcribe": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Transcribe", - "arnNamespace": "transcribe", - "cloudFormationName": "Transcribe", - "cloudTrailEventSource": "transcribe.amazonaws.com", - "endpointPrefix": "transcribe" - }, - "aws.auth#sigv4": { - "name": "transcribe" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Transcribe offers three main types of batch transcription: \n Standard, Medical, and\n Call Analytics.
\n\n Standard transcriptions are the most common \n option. Refer to for details.
\n\n Medical transcriptions are tailored to medical\n professionals and incorporate medical terms. A common use case for this service is \n transcribing doctor-patient dialogue into after-visit notes. Refer to \n for details.
\n\n Call Analytics transcriptions are designed for use \n with call center audio on two different channels; if you're looking for insight into customer\n service calls, use this option. Refer to for \n details.
\nAmazon Transcribe offers three main types of batch transcription: \n Standard, Medical, and\n Call Analytics.
\n\n Standard transcriptions are the most common \n option. Refer to for details.
\n\n Medical transcriptions are tailored to medical\n professionals and incorporate medical terms. A common use case for this service is \n transcribing doctor-patient dialogue into after-visit notes. Refer to \n for details.
\n\n Call Analytics transcriptions are designed for use \n with call center audio on two different channels; if you're looking for insight into customer\n service calls, use this option. Refer to for \n details.
\nThe HTTP status code that is the response from your API Gateway.
", "smithy.api#required": {} } @@ -6493,21 +6488,6 @@ }, "com.amazonaws.transfer#TransferService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Transfer", - "arnNamespace": "transfer", - "cloudFormationName": "Transfer", - "cloudTrailEventSource": "transfer.amazonaws.com", - "endpointPrefix": "transfer" - }, - "aws.auth#sigv4": { - "name": "transfer" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Transfer Family is a fully managed service that enables the transfer of files over the File\n Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH) File\n Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3) or Amazon EFS.\n Additionally, you can use Applicability Statement 2 (AS2) to transfer files into and out of Amazon S3.\n Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating\n with existing authentication systems, and providing DNS routing with Amazon Route 53 so\n nothing changes for your customers and partners, or their applications. With your data in\n Amazon S3, you can use it with Amazon Web Services for processing, analytics, machine learning, and\n archiving. Getting started with Transfer Family is easy since there is no infrastructure to buy and\n set up.
", - "smithy.api#title": "AWS Transfer Family" - }, "version": "2018-11-05", "operations": [ { @@ -6684,7 +6664,22 @@ { "target": "com.amazonaws.transfer#UpdateUser" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Transfer", + "arnNamespace": "transfer", + "cloudFormationName": "Transfer", + "cloudTrailEventSource": "transfer.amazonaws.com", + "endpointPrefix": "transfer" + }, + "aws.auth#sigv4": { + "name": "transfer" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Transfer Family is a fully managed service that enables the transfer of files over the File\n Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH) File\n Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3) or Amazon EFS.\n Additionally, you can use Applicability Statement 2 (AS2) to transfer files into and out of Amazon S3.\n Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating\n with existing authentication systems, and providing DNS routing with Amazon Route 53 so\n nothing changes for your customers and partners, or their applications. With your data in\n Amazon S3, you can use it with Amazon Web Services for processing, analytics, machine learning, and\n archiving. Getting started with Transfer Family is easy since there is no infrastructure to buy and\n set up.
", + "smithy.api#title": "AWS Transfer Family" + } }, "com.amazonaws.transfer#UntagResource": { "type": "operation", @@ -7452,10 +7447,7 @@ } }, "com.amazonaws.transfer#UserCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.transfer#UserDetails": { "type": "structure", diff --git a/codegen/sdk/aws-models/voice-id.json b/codegen/sdk/aws-models/voice-id.json index fcd2e47cfc4..8dda4397831 100644 --- a/codegen/sdk/aws-models/voice-id.json +++ b/codegen/sdk/aws-models/voice-id.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.voiceid#AccessDeniedException": { "type": "structure", @@ -1542,10 +1542,7 @@ } }, "com.amazonaws.voiceid#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.voiceid#InternalServerException": { "type": "structure", @@ -1987,7 +1984,6 @@ "com.amazonaws.voiceid#MaxResultsForList": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1997,7 +1993,6 @@ "com.amazonaws.voiceid#MaxResultsForListDomainFe": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -2183,7 +2178,6 @@ "com.amazonaws.voiceid#Score": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -3121,21 +3115,6 @@ }, "com.amazonaws.voiceid#VoiceID": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Voice ID", - "arnNamespace": "voiceid", - "cloudFormationName": "VoiceID", - "cloudTrailEventSource": "voiceid.amazonaws.com", - "endpointPrefix": "voiceid" - }, - "aws.auth#sigv4": { - "name": "voiceid" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Amazon Connect Voice ID provides real-time caller authentication and fraud screening. This guide\n describes the APIs used for this service.
", - "smithy.api#title": "Amazon Voice ID" - }, "version": "2021-09-27", "operations": [ { @@ -3191,7 +3170,22 @@ { "target": "com.amazonaws.voiceid#DomainResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Voice ID", + "arnNamespace": "voiceid", + "cloudFormationName": "VoiceID", + "cloudTrailEventSource": "voiceid.amazonaws.com", + "endpointPrefix": "voiceid" + }, + "aws.auth#sigv4": { + "name": "voiceid" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Amazon Connect Voice ID provides real-time caller authentication and fraud screening. This guide\n describes the APIs used for this service.
", + "smithy.api#title": "Amazon Voice ID" + } }, "com.amazonaws.voiceid#VoiceSpoofingRisk": { "type": "structure", @@ -3209,4 +3203,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/waf-regional.json b/codegen/sdk/aws-models/waf-regional.json index 271efb6af65..a4f64e2261e 100644 --- a/codegen/sdk/aws-models/waf-regional.json +++ b/codegen/sdk/aws-models/waf-regional.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -884,6 +884,7 @@ "RateLimit": { "target": "com.amazonaws.wafregional#RateLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of requests, which have an identical value in the field that is\n specified by RateKey, allowed in a five-minute period. If the number of\n requests exceeds the RateLimit and the other predicates specified in the rule\n are also met, AWS WAF triggers the action that is specified for this rule.
The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received\n\t\t\tduring the time range. If your resource received fewer requests than the value of MaxItems, GetSampledRequests \n\t\t\treturns information about all of them.
The total number of requests from which GetSampledRequests got a sample of MaxItems requests. \n\t\t\tIf PopulationSize is less than MaxItems, the sample includes every request that your AWS resource \n\t\t\treceived during the specified time range.
Specifies the number of ActivatedRules that you want AWS WAF to return for this request. If you have more ActivatedRules than the number that you specify for Limit, the response includes a \n NextMarker value that you can use to get another batch of ActivatedRules.
Specifies the number of ByteMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tByteMatchSets objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of ByteMatchSet objects.
Specifies the number of GeoMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tGeoMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of GeoMatchSet objects.
Specifies the number of IPSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tIPSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of IPSet objects.
Specifies the number of LoggingConfigurations that you want AWS WAF to return for this request. If you have more LoggingConfigurations than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of LoggingConfigurations.
Specifies the number of Rules that you want AWS WAF to return for this\n request. If you have more Rules than the number that you specify for\n Limit, the response includes a NextMarker value that you can\n use to get another batch of Rules.
Specifies the number of RegexMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tRegexMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of RegexMatchSet objects.
Specifies the number of RegexPatternSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tRegexPatternSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of RegexPatternSet objects.
Specifies the number of RuleGroups that you want AWS WAF to return for this request. If you have more RuleGroups than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of RuleGroups.
Specifies the number of Rules that you want AWS WAF to return for this request. If you have more \t\t\tRules than the number that you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of Rules.
Specifies the number of SizeConstraintSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tSizeConstraintSets objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of SizeConstraintSet objects.
Specifies the number of SqlInjectionMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tSqlInjectionMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of Rules.
Specifies the number of subscribed rule groups that you want AWS WAF to return for this request. If you have more \n\t\t\tobjects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of objects.
Specifies the number of WebACL objects that you want AWS WAF to return for this request. If you have more \n\t\t\tWebACL objects than the number that you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of WebACL objects.
Specifies the number of XssMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tXssMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of Rules.
The maximum number of requests, which have an identical value in the field specified\n by the RateKey, allowed in a five-minute period. If the number of requests\n exceeds the RateLimit and the other predicates specified in the rule are also\n met, AWS WAF triggers the action that is specified for this rule.
A value that indicates how one result in the response relates proportionally to other results in the response. \n\t\t\tA result that has a weight of 2 represents roughly twice as many CloudFront web requests as a result \n\t\t\tthat has a weight of 1.
The size in bytes that you want AWS WAF to compare against the size of the specified FieldToMatch. AWS WAF uses this in combination \n\t\t\twith ComparisonOperator and FieldToMatch to build an expression in the form of \"Size \n ComparisonOperator size \n\t\t\tin bytes of FieldToMatch\". If that expression is true, the SizeConstraint is considered to match.
Valid values for size are 0 - 21474836480 bytes (0 - 20 GB).
\n\t\tIf you specify URI for the value of Type, the / in the URI counts as one character. \n\t\t\tFor example, the URI /logo.jpg is nine characters long.
The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a\n five-minute period. If the number of requests exceeds the RateLimit and the other\n predicates specified in the rule are also met,\n AWS WAF triggers the action that is specified for this rule.
The maximum number of requests, which have an identical value in the field that is\n specified by RateKey, allowed in a five-minute period. If the number of\n requests exceeds the RateLimit and the other predicates specified in the rule\n are also met, AWS WAF triggers the action that is specified for this rule.
The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received\n\t\t\tduring the time range. If your resource received fewer requests than the value of MaxItems, GetSampledRequests \n\t\t\treturns information about all of them.
The total number of requests from which GetSampledRequests got a sample of MaxItems requests. \n\t\t\tIf PopulationSize is less than MaxItems, the sample includes every request that your AWS resource \n\t\t\treceived during the specified time range.
Specifies the number of ActivatedRules that you want AWS WAF to return for this request. If you have more ActivatedRules than the number that you specify for Limit, the response includes a \n NextMarker value that you can use to get another batch of ActivatedRules.
Specifies the number of ByteMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tByteMatchSets objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of ByteMatchSet objects.
Specifies the number of GeoMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tGeoMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of GeoMatchSet objects.
Specifies the number of IPSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tIPSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of IPSet objects.
Specifies the number of LoggingConfigurations that you want AWS WAF to return for this request. If you have more LoggingConfigurations than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of LoggingConfigurations.
Specifies the number of Rules that you want AWS WAF to return for this\n request. If you have more Rules than the number that you specify for\n Limit, the response includes a NextMarker value that you can\n use to get another batch of Rules.
Specifies the number of RegexMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tRegexMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of RegexMatchSet objects.
Specifies the number of RegexPatternSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tRegexPatternSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of RegexPatternSet objects.
Specifies the number of RuleGroups that you want AWS WAF to return for this request. If you have more RuleGroups than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of RuleGroups.
Specifies the number of Rules that you want AWS WAF to return for this request. If you have more \t\t\tRules than the number that you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of Rules.
Specifies the number of SizeConstraintSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tSizeConstraintSets objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of SizeConstraintSet objects.
Specifies the number of SqlInjectionMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tSqlInjectionMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of Rules.
Specifies the number of subscribed rule groups that you want AWS WAF to return for this request. If you have more \n\t\t\tobjects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of objects.
Specifies the number of WebACL objects that you want AWS WAF to return for this request. If you have more \n\t\t\tWebACL objects than the number that you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of WebACL objects.
Specifies the number of XssMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tXssMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of Rules.
The maximum number of requests, which have an identical value in the field specified\n by the RateKey, allowed in a five-minute period. If the number of requests\n exceeds the RateLimit and the other predicates specified in the rule are also\n met, AWS WAF triggers the action that is specified for this rule.
A value that indicates how one result in the response relates proportionally to other results in the response. \n\t\t\tA result that has a weight of 2 represents roughly twice as many CloudFront web requests as a result \n\t\t\tthat has a weight of 1.
The size in bytes that you want AWS WAF to compare against the size of the specified FieldToMatch. AWS WAF uses this in combination \n\t\t\twith ComparisonOperator and FieldToMatch to build an expression in the form of \"Size \n ComparisonOperator size \n\t\t\tin bytes of FieldToMatch\". If that expression is true, the SizeConstraint is considered to match.
Valid values for size are 0 - 21474836480 bytes (0 - 20 GB).
\n\t\tIf you specify URI for the value of Type, the / in the URI counts as one character. \n\t\t\tFor example, the URI /logo.jpg is nine characters long.
The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a\n five-minute period. If the number of requests exceeds the RateLimit and the other\n predicates specified in the rule are also met,\n AWS WAF triggers the action that is specified for this rule.
A non-negative integer that denotes how many.
", "smithy.api#range": { "min": 0 @@ -772,6 +779,7 @@ "IsMajorVersion": { "target": "com.amazonaws.wellarchitected#IsMajorVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to true if this new major lens version.
" } }, @@ -876,7 +884,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -1579,6 +1590,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } } @@ -1594,7 +1606,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "LensAlias": { "target": "com.amazonaws.wellarchitected#LensAlias" @@ -1731,6 +1746,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } } @@ -1746,7 +1762,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "LensReview": { "target": "com.amazonaws.wellarchitected#LensReview" @@ -1810,6 +1829,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } } @@ -1825,7 +1845,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "LensReviewReport": { "target": "com.amazonaws.wellarchitected#LensReviewReport" @@ -1977,6 +2000,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2241,14 +2265,21 @@ "com.amazonaws.wellarchitected#IsApplicable": { "type": "boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Defines whether this question is applicable to a lens review.
" } }, "com.amazonaws.wellarchitected#IsMajorVersion": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.wellarchitected#IsReviewOwnerUpdateAcknowledged": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.wellarchitected#Lens": { "type": "structure", @@ -2736,6 +2767,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } }, @@ -2748,6 +2780,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListAnswersMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return for this request.
", "smithy.api#httpQuery": "MaxResults" } @@ -2760,6 +2793,7 @@ "com.amazonaws.wellarchitected#ListAnswersMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -2773,7 +2807,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "LensAlias": { "target": "com.amazonaws.wellarchitected#LensAlias" @@ -2860,6 +2897,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } }, @@ -2872,6 +2910,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListLensReviewImprovementsMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return for this request.
", "smithy.api#httpQuery": "MaxResults" } @@ -2884,6 +2923,7 @@ "com.amazonaws.wellarchitected#ListLensReviewImprovementsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2897,7 +2937,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "LensAlias": { "target": "com.amazonaws.wellarchitected#LensAlias" @@ -2971,6 +3014,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } }, @@ -2983,6 +3027,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MaxResults" } } @@ -2998,7 +3043,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "LensReviewSummaries": { "target": "com.amazonaws.wellarchitected#LensReviewSummaries" @@ -3076,6 +3124,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListWorkloadSharesMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return for this request.
", "smithy.api#httpQuery": "MaxResults" } @@ -3150,6 +3199,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MaxResults" } }, @@ -3245,7 +3295,10 @@ "target": "com.amazonaws.wellarchitected#NextToken" }, "MaxResults": { - "target": "com.amazonaws.wellarchitected#MaxResults" + "target": "com.amazonaws.wellarchitected#MaxResults", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -3317,6 +3370,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListNotificationsMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return for this request.
" } } @@ -3325,6 +3379,7 @@ "com.amazonaws.wellarchitected#ListNotificationsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -3413,6 +3468,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListShareInvitationsMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return for this request.
", "smithy.api#httpQuery": "MaxResults" } @@ -3425,6 +3481,7 @@ "com.amazonaws.wellarchitected#ListShareInvitationsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -3561,6 +3618,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListWorkloadSharesMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return for this request.
", "smithy.api#httpQuery": "MaxResults" } @@ -3579,6 +3637,7 @@ "com.amazonaws.wellarchitected#ListWorkloadSharesMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -3650,6 +3709,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListWorkloadsMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return for this request.
" } } @@ -3661,6 +3721,7 @@ "com.amazonaws.wellarchitected#ListWorkloadsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -3684,6 +3745,7 @@ "com.amazonaws.wellarchitected#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return for this request.
", "smithy.api#range": { "min": 1, @@ -3695,7 +3757,10 @@ "type": "structure", "members": { "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "MilestoneName": { "target": "com.amazonaws.wellarchitected#MilestoneName" @@ -3724,6 +3789,7 @@ "com.amazonaws.wellarchitected#MilestoneNumber": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The milestone number.
\nA workload can have a maximum of 100 milestones.
", "smithy.api#range": { "min": 1, @@ -3744,7 +3810,10 @@ "type": "structure", "members": { "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "MilestoneName": { "target": "com.amazonaws.wellarchitected#MilestoneName" @@ -4558,7 +4627,10 @@ "target": "com.amazonaws.wellarchitected#Notes" }, "IsApplicable": { - "target": "com.amazonaws.wellarchitected#IsApplicable" + "target": "com.amazonaws.wellarchitected#IsApplicable", + "traits": { + "smithy.api#default": false + } }, "Reason": { "target": "com.amazonaws.wellarchitected#AnswerReason", @@ -4865,6 +4937,7 @@ "IsReviewOwnerUpdateAcknowledged": { "target": "com.amazonaws.wellarchitected#IsReviewOwnerUpdateAcknowledged", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Flag indicating whether the workload owner has acknowledged that the Review\n owner field is required.
\nIf a Review owner is not added to the workload within\n 60 days of acknowledgement, access to the workload is restricted until an owner is\n added.
" } }, @@ -5143,21 +5216,6 @@ }, "com.amazonaws.wellarchitected#WellArchitectedApiServiceLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "WellArchitected", - "arnNamespace": "wellarchitected", - "cloudFormationName": "WellArchitected", - "cloudTrailEventSource": "wellarchitected.amazonaws.com", - "endpointPrefix": "wellarchitected" - }, - "aws.auth#sigv4": { - "name": "wellarchitected" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "This is the Well-Architected Tool API Reference. The WA Tool API provides programmatic access to the \n Well-Architected Tool in the \n Amazon Web Services Management Console. For information \n about the Well-Architected Tool, see the \n Well-Architected Tool User Guide.
", - "smithy.api#title": "AWS Well-Architected Tool" - }, "version": "2020-03-31", "operations": [ { @@ -5280,7 +5338,22 @@ { "target": "com.amazonaws.wellarchitected#UpgradeLensReview" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "WellArchitected", + "arnNamespace": "wellarchitected", + "cloudFormationName": "WellArchitected", + "cloudTrailEventSource": "wellarchitected.amazonaws.com", + "endpointPrefix": "wellarchitected" + }, + "aws.auth#sigv4": { + "name": "wellarchitected" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "This is the Well-Architected Tool API Reference. The WA Tool API provides programmatic access to the \n Well-Architected Tool in the \n Amazon Web Services Management Console. For information \n about the Well-Architected Tool, see the \n Well-Architected Tool User Guide.
", + "smithy.api#title": "AWS Well-Architected Tool" + } }, "com.amazonaws.wellarchitected#Workload": { "type": "structure", @@ -5324,6 +5397,7 @@ "IsReviewOwnerUpdateAcknowledged": { "target": "com.amazonaws.wellarchitected#IsReviewOwnerUpdateAcknowledged", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Flag indicating whether the workload owner has acknowledged that the Review\n owner field is required.
\nIf a Review owner is not added to the workload within\n 60 days of acknowledgement, access to the workload is restricted until an owner is\n added.
" } }, diff --git a/codegen/sdk/aws-models/wisdom.json b/codegen/sdk/aws-models/wisdom.json index 761d503b834..b145f698b50 100644 --- a/codegen/sdk/aws-models/wisdom.json +++ b/codegen/sdk/aws-models/wisdom.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.wisdom#AccessDeniedException": { "type": "structure", @@ -1961,6 +1961,7 @@ "waitTimeSeconds": { "target": "com.amazonaws.wisdom#WaitTimeSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration (in seconds) for which the call waits for a recommendation to be made\n available before returning. If a recommendation is available, the call returns sooner than\n WaitTimeSeconds. If no messages are available and the wait time expires, the\n call returns successfully with an empty list.
The offset for the start of the highlight.
" } }, "endOffsetExclusive": { "target": "com.amazonaws.wisdom#HighlightOffset", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The offset for the end of the highlight.
" } } @@ -2075,7 +2078,10 @@ } }, "com.amazonaws.wisdom#HighlightOffset": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.wisdom#Highlights": { "type": "list", @@ -2707,7 +2713,6 @@ "com.amazonaws.wisdom#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3105,6 +3110,7 @@ "relevanceScore": { "target": "com.amazonaws.wisdom#RelevanceScore", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The relevance score of the recommendation.
" } }, @@ -3278,6 +3284,7 @@ "com.amazonaws.wisdom#RelevanceScore": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0.0 } @@ -3381,6 +3388,7 @@ "relevanceScore": { "target": "com.amazonaws.wisdom#RelevanceScore", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The relevance score of the results.
" } } @@ -4183,6 +4191,7 @@ "com.amazonaws.wisdom#WaitTimeSeconds": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 20 @@ -4191,20 +4200,6 @@ }, "com.amazonaws.wisdom#WisdomService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Wisdom", - "arnNamespace": "wisdom", - "cloudFormationName": "Wisdom" - }, - "aws.auth#sigv4": { - "name": "wisdom" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively\n speaking with customers. Agents can search across connected repositories from within their agent desktop\n to find answers quickly. Use the Amazon Connect Wisdom APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.
", - "smithy.api#title": "Amazon Connect Wisdom Service" - }, "version": "2020-10-19", "operations": [ { @@ -4224,7 +4219,21 @@ { "target": "com.amazonaws.wisdom#KnowledgeBase" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Wisdom", + "arnNamespace": "wisdom", + "cloudFormationName": "Wisdom" + }, + "aws.auth#sigv4": { + "name": "wisdom" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively\n speaking with customers. Agents can search across connected repositories from within their agent desktop\n to find answers quickly. Use the Amazon Connect Wisdom APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.
", + "smithy.api#title": "Amazon Connect Wisdom Service" + } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/workdocs.json b/codegen/sdk/aws-models/workdocs.json index 2eecace76b9..17dc65e7705 100644 --- a/codegen/sdk/aws-models/workdocs.json +++ b/codegen/sdk/aws-models/workdocs.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -181,6 +181,9 @@ "input": { "target": "com.amazonaws.workdocs#AbortDocumentVersionUploadRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#EntityNotExistsException" @@ -321,6 +324,7 @@ "IsIndirectActivity": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether an activity is indirect or direct. An indirect activity results\n from a direct activity performed on a parent resource. For example, sharing a parent\n folder (the direct activity) shares all of the subfolders and documents within the\n parent folder (the indirect activity).
" } }, @@ -615,7 +619,10 @@ } }, "com.amazonaws.workdocs#BooleanType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.workdocs#Comment": { "type": "structure", @@ -901,6 +908,7 @@ "NotifyCollaborators": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set this parameter to TRUE to send an email out to the document collaborators after\n the comment is created.
" } } @@ -1392,6 +1400,9 @@ "input": { "target": "com.amazonaws.workdocs#DeactivateUserRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#EntityNotExistsException" @@ -1459,6 +1470,9 @@ "input": { "target": "com.amazonaws.workdocs#DeleteCommentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#DocumentLockedForCommentsException" @@ -1599,6 +1613,7 @@ "DeleteAll": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Flag to indicate removal of all custom metadata properties from the specified\n resource.
", "smithy.api#httpQuery": "deleteAll" } @@ -1614,6 +1629,9 @@ "input": { "target": "com.amazonaws.workdocs#DeleteDocumentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#ConcurrentModificationException" @@ -1674,6 +1692,9 @@ "input": { "target": "com.amazonaws.workdocs#DeleteFolderRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#ConcurrentModificationException" @@ -1714,6 +1735,9 @@ "input": { "target": "com.amazonaws.workdocs#DeleteFolderContentsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#ConflictingOperationException" @@ -1848,6 +1872,7 @@ "DeleteAll": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Flag to request removal of all labels from the specified resource.
", "smithy.api#httpQuery": "deleteAll" } @@ -1863,6 +1888,9 @@ "input": { "target": "com.amazonaws.workdocs#DeleteNotificationSubscriptionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#EntityNotExistsException" @@ -1912,6 +1940,9 @@ "input": { "target": "com.amazonaws.workdocs#DeleteUserRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#EntityNotExistsException" @@ -2047,6 +2078,7 @@ "IncludeIndirectActivities": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Includes indirect activities. An indirect activity results from a direct activity\n performed on a parent resource. For example, sharing a parent folder (the direct\n activity) shares all of the subfolders and documents within the parent folder (the\n indirect activity).
", "smithy.api#httpQuery": "includeIndirectActivities" } @@ -3546,6 +3578,7 @@ "IncludeCustomMetadata": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set this to TRUE to include custom metadata in the response.
Set this to TRUE to include custom metadata in the response.
", "smithy.api#httpQuery": "includeCustomMetadata" } @@ -3815,6 +3849,7 @@ "IncludeCustomMetadata": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Set to TRUE to include custom metadata in the response.
", "smithy.api#httpQuery": "includeCustomMetadata" } @@ -4208,7 +4243,6 @@ "com.amazonaws.workdocs#LimitType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 999 @@ -4292,6 +4326,7 @@ "SendEmail": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean value to indicate an email notification should be sent to the\n receipients.
" } }, @@ -4396,7 +4431,6 @@ "com.amazonaws.workdocs#PositiveIntegerType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4405,7 +4439,6 @@ "com.amazonaws.workdocs#PositiveSizeType": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4488,6 +4521,9 @@ "input": { "target": "com.amazonaws.workdocs#RemoveAllResourcePermissionsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#FailedDependencyException" @@ -4536,6 +4572,9 @@ "input": { "target": "com.amazonaws.workdocs#RemoveResourcePermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#FailedDependencyException" @@ -4988,10 +5027,7 @@ } }, "com.amazonaws.workdocs#SizeType": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.workdocs#StorageLimitExceededException": { "type": "structure", @@ -5195,6 +5231,9 @@ "input": { "target": "com.amazonaws.workdocs#UpdateDocumentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#ConcurrentModificationException" @@ -5279,6 +5318,9 @@ "input": { "target": "com.amazonaws.workdocs#UpdateDocumentVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#ConcurrentModificationException" @@ -5353,6 +5395,9 @@ "input": { "target": "com.amazonaws.workdocs#UpdateFolderRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#ConcurrentModificationException" diff --git a/codegen/sdk/aws-models/worklink.json b/codegen/sdk/aws-models/worklink.json index 7b8ca007801..e3896434409 100644 --- a/codegen/sdk/aws-models/worklink.json +++ b/codegen/sdk/aws-models/worklink.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -281,10 +281,7 @@ } }, "com.amazonaws.worklink#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.worklink#Certificate": { "type": "string", @@ -2086,7 +2083,6 @@ "com.amazonaws.worklink#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -2995,21 +2991,6 @@ }, "com.amazonaws.worklink#WorkLink": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "WorkLink", - "arnNamespace": "worklink", - "cloudFormationName": "WorkLink", - "cloudTrailEventSource": "worklink.amazonaws.com", - "endpointPrefix": "worklink" - }, - "aws.auth#sigv4": { - "name": "worklink" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon WorkLink is a cloud-based service that provides secure access\n to internal websites and web apps from iOS and Android phones. In a single step, your users, such as\n employees, can access internal websites as efficiently as they access any other public website.\n They enter a URL in their web browser, or choose a link to an internal website in an email. Amazon WorkLink\n authenticates the user's access and securely renders authorized internal web content in a secure\n rendering service in the AWS cloud. Amazon WorkLink doesn't download or store any internal web content on\n mobile devices.
", - "smithy.api#title": "Amazon WorkLink" - }, "version": "2018-09-25", "operations": [ { @@ -3111,7 +3092,22 @@ { "target": "com.amazonaws.worklink#UpdateIdentityProviderConfiguration" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "WorkLink", + "arnNamespace": "worklink", + "cloudFormationName": "WorkLink", + "cloudTrailEventSource": "worklink.amazonaws.com", + "endpointPrefix": "worklink" + }, + "aws.auth#sigv4": { + "name": "worklink" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon WorkLink is a cloud-based service that provides secure access\n to internal websites and web apps from iOS and Android phones. In a single step, your users, such as\n employees, can access internal websites as efficiently as they access any other public website.\n They enter a URL in their web browser, or choose a link to an internal website in an email. Amazon WorkLink\n authenticates the user's access and securely renders authorized internal web content in a secure\n rendering service in the AWS cloud. Amazon WorkLink doesn't download or store any internal web content on\n mobile devices.
", + "smithy.api#title": "Amazon WorkLink" + } } } } diff --git a/codegen/sdk/aws-models/workmail.json b/codegen/sdk/aws-models/workmail.json index 8aeb9b282f3..19f1dd08979 100644 --- a/codegen/sdk/aws-models/workmail.json +++ b/codegen/sdk/aws-models/workmail.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -97,10 +97,22 @@ "traits": { "smithy.api#documentation": "The date that the rule was modified.
" } + }, + "ImpersonationRoleIds": { + "target": "com.amazonaws.workmail#ImpersonationRoleIdList", + "traits": { + "smithy.api#documentation": "Impersonation role IDs to include in the rule.
" + } + }, + "NotImpersonationRoleIds": { + "target": "com.amazonaws.workmail#ImpersonationRoleIdList", + "traits": { + "smithy.api#documentation": "Impersonation role IDs to exclude from the rule.
" + } } }, "traits": { - "smithy.api#documentation": "A rule that controls access to an Amazon WorkMail organization.
" + "smithy.api#documentation": "A rule that controls access to an WorkMail organization.
" } }, "com.amazonaws.workmail#AccessControlRuleAction": { @@ -124,18 +136,20 @@ } }, "com.amazonaws.workmail#AccessControlRuleEffect": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALLOW", - "name": "ALLOW" - }, - { - "value": "DENY", - "name": "DENY" + "type": "enum", + "members": { + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOW" + } + }, + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DENY" } - ] + } } }, "com.amazonaws.workmail#AccessControlRuleName": { @@ -172,6 +186,23 @@ } } }, + "com.amazonaws.workmail#AccessEffect": { + "type": "enum", + "members": { + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOW" + } + }, + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DENY" + } + } + } + }, "com.amazonaws.workmail#ActionsList": { "type": "list", "member": { @@ -328,6 +359,68 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#AssumeImpersonationRole": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#AssumeImpersonationRoleRequest" + }, + "output": { + "target": "com.amazonaws.workmail#AssumeImpersonationRoleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "Assumes an impersonation role for the given WorkMail organization. This method returns an\n authentication token you can use to make impersonated calls.
" + } + }, + "com.amazonaws.workmail#AssumeImpersonationRoleRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "The WorkMail organization under which the impersonation role will be assumed.
", + "smithy.api#required": {} + } + }, + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "The impersonation role ID to assume.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#AssumeImpersonationRoleResponse": { + "type": "structure", + "members": { + "Token": { + "target": "com.amazonaws.workmail#ImpersonationToken", + "traits": { + "smithy.api#documentation": "The authentication token for the impersonation role.
" + } + }, + "ExpiresIn": { + "target": "com.amazonaws.workmail#ExpiresIn", + "traits": { + "smithy.api#documentation": "The authentication token's validity, in seconds.
" + } + } + } + }, "com.amazonaws.workmail#AvailabilityConfiguration": { "type": "structure", "members": { @@ -346,7 +439,7 @@ "EwsProvider": { "target": "com.amazonaws.workmail#RedactedEwsAvailabilityProvider", "traits": { - "smithy.api#documentation": "If ProviderType is EWS, then this field contains\n RedactedEwsAvailabilityProvider. Otherwise, it is not requried.
If ProviderType is EWS, then this field contains\n RedactedEwsAvailabilityProvider. Otherwise, it is not required.
The resource's ability to automatically reply to requests. If disabled, delegates\n must be associated to the resource.
" } }, "AutoDeclineRecurringRequests": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The resource's ability to automatically decline any recurring requests.
" } }, "AutoDeclineConflictingRequests": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "The resource's ability to automatically decline any conflicting requests.
" } } @@ -420,14 +518,14 @@ } }, "com.amazonaws.workmail#Boolean": { - "type": "boolean" - }, - "com.amazonaws.workmail#BooleanObject": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.workmail#BooleanObject": { + "type": "boolean" + }, "com.amazonaws.workmail#CancelMailboxExportJob": { "type": "operation", "input": { @@ -524,7 +622,7 @@ } ], "traits": { - "smithy.api#documentation": "Adds an alias to the set of a given member (user or group) of Amazon WorkMail.
", + "smithy.api#documentation": "Adds an alias to the set of a given member (user or group) of WorkMail.
", "smithy.api#idempotent": {} } }, @@ -601,7 +699,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization for which the AvailabilityConfiguration will be created.
The WorkMail organization for which the AvailabilityConfiguration will be created.
Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
", + "smithy.api#documentation": "Creates a group that can be used in WorkMail by calling the RegisterToWorkMail operation.
", "smithy.api#idempotent": {} } }, @@ -699,6 +797,95 @@ } } }, + "com.amazonaws.workmail#CreateImpersonationRole": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#CreateImpersonationRoleRequest" + }, + "output": { + "target": "com.amazonaws.workmail#CreateImpersonationRoleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#EntityNotFoundException" + }, + { + "target": "com.amazonaws.workmail#EntityStateException" + }, + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#LimitExceededException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "Creates an impersonation role for the given WorkMail organization.
\n\n Idempotency ensures that an API request completes no more than one\n time. With an idempotent request, if the original request completes successfully, any\n subsequent retries also complete successfully without performing any further\n actions.
" + } + }, + "com.amazonaws.workmail#CreateImpersonationRoleRequest": { + "type": "structure", + "members": { + "ClientToken": { + "target": "com.amazonaws.workmail#IdempotencyClientToken", + "traits": { + "smithy.api#documentation": "The idempotency token for the client request.
", + "smithy.api#idempotencyToken": {} + } + }, + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "The WorkMail organization to create the new impersonation role within.
", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.workmail#ImpersonationRoleName", + "traits": { + "smithy.api#documentation": "The name of the new impersonation role.
", + "smithy.api#required": {} + } + }, + "Type": { + "target": "com.amazonaws.workmail#ImpersonationRoleType", + "traits": { + "smithy.api#documentation": "The impersonation role's type. The available impersonation role types are\n READ_ONLY or FULL_ACCESS.
The description of the new impersonation role.
" + } + }, + "Rules": { + "target": "com.amazonaws.workmail#ImpersonationRuleList", + "traits": { + "smithy.api#documentation": "The list of rules for the impersonation role.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#CreateImpersonationRoleResponse": { + "type": "structure", + "members": { + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "The new impersonation role ID.
" + } + } + } + }, "com.amazonaws.workmail#CreateMobileDeviceAccessRule": { "type": "operation", "input": { @@ -722,7 +909,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new mobile device access rule for the specified Amazon WorkMail organization.
" + "smithy.api#documentation": "Creates a new mobile device access rule for the specified WorkMail organization.
" } }, "com.amazonaws.workmail#CreateMobileDeviceAccessRuleRequest": { @@ -731,7 +918,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization under which the rule will be created.
", + "smithy.api#documentation": "The WorkMail organization under which the rule will be created.
", "smithy.api#required": {} } }, @@ -849,7 +1036,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new Amazon WorkMail directory for you. For more information, see Adding an organization in the Amazon WorkMail Administrator Guide.
\nYou can associate multiple email domains with an organization, then set your default email domain from the Amazon WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain and Choosing the default domain in the Amazon WorkMail Administrator Guide.
\nOptionally, you can use a customer managed master key from AWS Key Management Service\n (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a\n default AWS managed master key for you.
", + "smithy.api#documentation": "Creates a new WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new WorkMail directory for you. For more information, see Adding an organization in the WorkMail Administrator Guide.
\nYou can associate multiple email domains with an organization, then choose your\n default email domain from the WorkMail console. You can also associate a domain that is managed\n in an Amazon Route 53 public hosted zone. For more information, see Adding a\n domain and Choosing the default domain\n in the WorkMail Administrator Guide.
\nOptionally, you can use a customer managed key from AWS Key Management Service (AWS\n KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, WorkMail\n creates a default, AWS managed key for you.
", "smithy.api#idempotent": {} } }, @@ -885,13 +1072,14 @@ "KmsKeyArn": { "target": "com.amazonaws.workmail#KmsKeyArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of a customer managed master key from AWS\n KMS.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
" } }, "EnableInteroperability": { "target": "com.amazonaws.workmail#Boolean", "traits": { - "smithy.api#documentation": "When true, allows organization interoperability between Amazon WorkMail and Microsoft Exchange. Can only be set to true if an AD Connector directory ID is included in the request.
When true, allows organization interoperability between WorkMail and\n Microsoft Exchange. If true, you must include a AD Connector directory ID in\n the request.
Creates a new Amazon WorkMail resource.
", + "smithy.api#documentation": "Creates a new WorkMail resource.
", "smithy.api#idempotent": {} } }, @@ -1018,7 +1206,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
", + "smithy.api#documentation": "Creates a user who can be used in WorkMail by calling the RegisterToWorkMail operation.
", "smithy.api#idempotent": {} } }, @@ -1218,7 +1406,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization for which the AvailabilityConfiguration will be deleted.
The WorkMail organization for which the AvailabilityConfiguration will be deleted.
Deletes a group from Amazon WorkMail.
", + "smithy.api#documentation": "Deletes a group from WorkMail.
", "smithy.api#idempotent": {} } }, @@ -1334,6 +1522,52 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#DeleteImpersonationRole": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#DeleteImpersonationRoleRequest" + }, + "output": { + "target": "com.amazonaws.workmail#DeleteImpersonationRoleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes an impersonation role for the given WorkMail organization.
" + } + }, + "com.amazonaws.workmail#DeleteImpersonationRoleRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "The WorkMail organization from which to delete the impersonation role.
", + "smithy.api#required": {} + } + }, + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "The ID of the impersonation role to delete.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#DeleteImpersonationRoleResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.workmail#DeleteMailboxPermissions": { "type": "operation", "input": { @@ -1426,14 +1660,14 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization for which the access override will be deleted.
", + "smithy.api#documentation": "The WorkMail organization for which the access override will be deleted.
", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { - "smithy.api#documentation": "The WorkMail user for which you want to delete the override. Accepts the following types of user identities:
\nUser ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 \n
Email address: user@domain.tld\n
User name: user\n
The WorkMail user for which you want to delete the override. Accepts the following types of user identities:
\nUser ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234\n
Email address: user@domain.tld\n
User name: user\n
Deletes a mobile device access rule for the specified Amazon WorkMail organization.
\nDeleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
\nDeletes a mobile device access rule for the specified WorkMail organization.
\nDeleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
\nThe Amazon WorkMail organization under which the rule will be deleted.
", + "smithy.api#documentation": "The WorkMail organization under which the rule will be deleted.
", "smithy.api#required": {} } }, @@ -1516,7 +1750,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an Amazon WorkMail organization and all underlying AWS resources managed by Amazon WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the Amazon WorkMail Administrator Guide.
", + "smithy.api#documentation": "Deletes an WorkMail organization and all underlying AWS resources managed by WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the WorkMail Administrator Guide.
", "smithy.api#idempotent": {} } }, @@ -1540,6 +1774,7 @@ "DeleteDirectory": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, deletes the AWS Directory Service directory associated with the organization.
", "smithy.api#required": {} } @@ -1586,7 +1821,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified resource.
", + "smithy.api#documentation": "Deletes the specified resource.
", "smithy.api#idempotent": {} } }, @@ -1692,7 +1927,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a\n user, the user state must be DISABLED. Use the DescribeUser\n action to confirm the user state.
Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for\n 30 days before they are permanently removed.
", + "smithy.api#documentation": "Deletes a user from WorkMail and all subsequent systems. Before you can delete a\n user, the user state must be DISABLED. Use the DescribeUser\n action to confirm the user state.
Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for\n 30 days before they are permanently removed.
", "smithy.api#idempotent": {} } }, @@ -1745,7 +1980,7 @@ } ], "traits": { - "smithy.api#documentation": "Mark a user, group, or resource as no longer used in Amazon WorkMail. This action\n disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days\n before they are permanently removed. The functionality in the console is\n Disable.
", + "smithy.api#documentation": "Mark a user, group, or resource as no longer used in WorkMail. This action\n disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days\n before they are permanently removed. The functionality in the console is\n Disable.
", "smithy.api#idempotent": {} } }, @@ -1755,7 +1990,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The identifier for the organization under which the Amazon WorkMail entity exists.
", + "smithy.api#documentation": "The identifier for the organization under which the WorkMail entity exists.
", "smithy.api#required": {} } }, @@ -1798,7 +2033,7 @@ } ], "traits": { - "smithy.api#documentation": "Removes a domain from Amazon WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first \n remove any email address used by WorkMail entities before you remove the domain.
", + "smithy.api#documentation": "Removes a domain from WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first \n remove any email address used by WorkMail entities before you remove the domain.
", "smithy.api#idempotent": {} } }, @@ -1808,14 +2043,14 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization for which the domain will be deregistered.
", + "smithy.api#documentation": "The WorkMail organization for which the domain will be deregistered.
", "smithy.api#required": {} } }, "DomainName": { "target": "com.amazonaws.workmail#WorkMailDomainName", "traits": { - "smithy.api#documentation": "The domain to deregister in WorkMail and SES.
", + "smithy.api#documentation": "The domain to deregister in WorkMail and SES.
", "smithy.api#required": {} } } @@ -1951,7 +2186,7 @@ "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { - "smithy.api#documentation": "The state of the user: enabled (registered to Amazon WorkMail) or disabled (deregistered or\n never registered to WorkMail).
" + "smithy.api#documentation": "The state of the user: enabled (registered to WorkMail) or disabled (deregistered or\n never registered to WorkMail).
" } }, "EnabledDate": { @@ -2007,6 +2242,7 @@ "Enforced": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Lists the enforcement setting of the applied policy.
" } } @@ -2106,6 +2342,7 @@ "EstimatedProgress": { "target": "com.amazonaws.workmail#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The estimated progress of the mailbox export job, in percentage points.
" } }, @@ -2192,7 +2429,7 @@ "DirectoryId": { "target": "com.amazonaws.workmail#String", "traits": { - "smithy.api#documentation": "The identifier for the directory associated with an Amazon WorkMail organization.
" + "smithy.api#documentation": "The identifier for the directory associated with an WorkMail organization.
" } }, "DirectoryType": { @@ -2309,7 +2546,7 @@ "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { - "smithy.api#documentation": "The state of the resource: enabled (registered to Amazon WorkMail), disabled (deregistered\n or never registered to WorkMail), or deleted.
" + "smithy.api#documentation": "The state of the resource: enabled (registered to WorkMail), disabled (deregistered\n or never registered to WorkMail), or deleted.
" } }, "EnabledDate": { @@ -2402,25 +2639,25 @@ "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { - "smithy.api#documentation": "The state of a user: enabled (registered to Amazon WorkMail) or disabled (deregistered or\n never registered to WorkMail).
" + "smithy.api#documentation": "The state of a user: enabled (registered to WorkMail) or disabled (deregistered or\n never registered to WorkMail).
" } }, "UserRole": { "target": "com.amazonaws.workmail#UserRole", "traits": { - "smithy.api#documentation": "In certain cases, other entities are modeled as users. If interoperability is\n enabled, resources are imported into Amazon WorkMail as users. Because different WorkMail\n organizations rely on different directory types, administrators can distinguish between an\n unregistered user (account is disabled and has a user role) and the directory\n administrators. The values are USER, RESOURCE, and SYSTEM_USER.
" + "smithy.api#documentation": "In certain cases, other entities are modeled as users. If interoperability is\n enabled, resources are imported into WorkMail as users. Because different WorkMail\n organizations rely on different directory types, administrators can distinguish between an\n unregistered user (account is disabled and has a user role) and the directory\n administrators. The values are USER, RESOURCE, and SYSTEM_USER.
" } }, "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "The date and time at which the user was enabled for Amazon WorkMail usage, in UNIX epoch\n time format.
" + "smithy.api#documentation": "The date and time at which the user was enabled for WorkMailusage, in UNIX epoch\n time format.
" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "The date and time at which the user was disabled for Amazon WorkMail usage, in UNIX epoch\n time format.
" + "smithy.api#documentation": "The date and time at which the user was disabled for WorkMail usage, in UNIX epoch\n time format.
" } } } @@ -2735,22 +2972,26 @@ } }, "com.amazonaws.workmail#DnsRecordVerificationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "VERIFIED", - "name": "VERIFIED" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "VERIFIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VERIFIED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" } - ] + } } }, "com.amazonaws.workmail#DnsRecords": { @@ -2776,7 +3017,7 @@ } }, "traits": { - "smithy.api#documentation": "The domain to associate with an Amazon WorkMail organization.
\nWhen you configure a domain hosted in Amazon Route 53 (Route 53), all recommended DNS records are added to the organization when you create it. For more information, see Adding a domain in the Amazon WorkMail Administrator Guide.
" + "smithy.api#documentation": "The domain to associate with an WorkMail organization.
\nWhen you configure a domain hosted in Amazon Route 53 (Route 53), all recommended DNS records are added to the organization when you create it. For more information, see Adding a domain in the WorkMail Administrator Guide.
" } }, "com.amazonaws.workmail#DomainName": { @@ -2858,22 +3099,26 @@ } }, "com.amazonaws.workmail#EntityState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "DELETED", - "name": "DELETED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + } } }, "com.amazonaws.workmail#EntityStateException": { @@ -2917,6 +3162,9 @@ "smithy.api#documentation": "Describes an EWS based availability provider. This is only used as input to the service.
" } }, + "com.amazonaws.workmail#ExpiresIn": { + "type": "long" + }, "com.amazonaws.workmail#ExternalUserName": { "type": "string", "traits": { @@ -2962,30 +3210,38 @@ } }, "com.amazonaws.workmail#FolderName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INBOX", - "name": "INBOX" - }, - { - "value": "DELETED_ITEMS", - "name": "DELETED_ITEMS" - }, - { - "value": "SENT_ITEMS", - "name": "SENT_ITEMS" - }, - { - "value": "DRAFTS", - "name": "DRAFTS" - }, - { - "value": "JUNK_EMAIL", - "name": "JUNK_EMAIL" - } - ] + "type": "enum", + "members": { + "INBOX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INBOX" + } + }, + "DELETED_ITEMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED_ITEMS" + } + }, + "SENT_ITEMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SENT_ITEMS" + } + }, + "DRAFTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DRAFTS" + } + }, + "JUNK_EMAIL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JUNK_EMAIL" + } + } } }, "com.amazonaws.workmail#GetAccessControlEffect": { @@ -3008,10 +3264,13 @@ }, { "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { - "smithy.api#documentation": "Gets the effects of an organization's access control rules as they apply to a\n specified IPv4 address, access protocol action, or user ID.
" + "smithy.api#documentation": "Gets the effects of an organization's access control rules as they apply to a\n specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.
" } }, "com.amazonaws.workmail#GetAccessControlEffectRequest": { @@ -3041,8 +3300,13 @@ "UserId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { - "smithy.api#documentation": "The user ID.
", - "smithy.api#required": {} + "smithy.api#documentation": "The user ID.
" + } + }, + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "The impersonation role ID.
" } } } @@ -3132,41 +3396,214 @@ } } }, - "com.amazonaws.workmail#GetMailDomain": { + "com.amazonaws.workmail#GetImpersonationRole": { "type": "operation", "input": { - "target": "com.amazonaws.workmail#GetMailDomainRequest" + "target": "com.amazonaws.workmail#GetImpersonationRoleRequest" }, "output": { - "target": "com.amazonaws.workmail#GetMailDomainResponse" + "target": "com.amazonaws.workmail#GetImpersonationRoleResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, - { - "target": "com.amazonaws.workmail#MailDomainNotFoundException" - }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { - "smithy.api#documentation": "Gets details for a mail domain, including domain records required to configure your domain with recommended security.
", - "smithy.api#idempotent": {} + "smithy.api#documentation": "Gets the impersonation role details for the given WorkMail organization.
" } }, - "com.amazonaws.workmail#GetMailDomainRequest": { - "type": "structure", - "members": { - "OrganizationId": { - "target": "com.amazonaws.workmail#OrganizationId", - "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization for which the domain is retrieved.
", - "smithy.api#required": {} + "com.amazonaws.workmail#GetImpersonationRoleEffect": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#GetImpersonationRoleEffectRequest" + }, + "output": { + "target": "com.amazonaws.workmail#GetImpersonationRoleEffectResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#EntityNotFoundException" + }, + { + "target": "com.amazonaws.workmail#EntityStateException" + }, + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "Tests whether the given impersonation role can impersonate a target user.
" + } + }, + "com.amazonaws.workmail#GetImpersonationRoleEffectRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "The WorkMail organization where the impersonation role is defined.
", + "smithy.api#required": {} + } + }, + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "The impersonation role ID to test.
", + "smithy.api#required": {} + } + }, + "TargetUser": { + "target": "com.amazonaws.workmail#EntityIdentifier", + "traits": { + "smithy.api#documentation": "The WorkMail organization user chosen to test the impersonation role. The following identity\n formats are available:
\nUser ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234\n
Email address: user@domain.tld\n
User name: user\n
The impersonation role type.
" + } + }, + "Effect": { + "target": "com.amazonaws.workmail#AccessEffect", + "traits": { + "smithy.api#documentation": "\n Effect of the impersonation role on the target user based on its rules. Available\n effects are ALLOW or DENY.
A list of the rules that match the input and produce the configured effect.
" + } + } + } + }, + "com.amazonaws.workmail#GetImpersonationRoleRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "The WorkMail organization from which to retrieve the impersonation role.
", + "smithy.api#required": {} + } + }, + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "The impersonation role ID to retrieve.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#GetImpersonationRoleResponse": { + "type": "structure", + "members": { + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "The impersonation role ID.
" + } + }, + "Name": { + "target": "com.amazonaws.workmail#ImpersonationRoleName", + "traits": { + "smithy.api#documentation": "The impersonation role name.
" + } + }, + "Type": { + "target": "com.amazonaws.workmail#ImpersonationRoleType", + "traits": { + "smithy.api#documentation": "The impersonation role type.
" + } + }, + "Description": { + "target": "com.amazonaws.workmail#ImpersonationRoleDescription", + "traits": { + "smithy.api#documentation": "The impersonation role description.
" + } + }, + "Rules": { + "target": "com.amazonaws.workmail#ImpersonationRuleList", + "traits": { + "smithy.api#documentation": "The list of rules for the given impersonation role.
" + } + }, + "DateCreated": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "The date when the impersonation role was created.
" + } + }, + "DateModified": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "The date when the impersonation role was last modified.
" + } + } + } + }, + "com.amazonaws.workmail#GetMailDomain": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#GetMailDomainRequest" + }, + "output": { + "target": "com.amazonaws.workmail#GetMailDomainResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#MailDomainNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "Gets details for a mail domain, including domain records required to configure your domain with recommended security.
", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.workmail#GetMailDomainRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "The WorkMail organization for which the domain is retrieved.
", + "smithy.api#required": {} } }, "DomainName": { @@ -3184,18 +3621,20 @@ "Records": { "target": "com.amazonaws.workmail#DnsRecords", "traits": { - "smithy.api#documentation": "A list of the DNS records that Amazon WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming \n email traffic to SES. See admin guide for more details.
" + "smithy.api#documentation": "A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming \n email traffic to SES. See admin guide for more details.
" } }, "IsTestDomain": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.
" } }, "IsDefault": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Specifies whether the domain is the default domain for your organization.
" } }, @@ -3268,6 +3707,7 @@ "MailboxSize": { "target": "com.amazonaws.workmail#MailboxSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current mailbox size, in MB, for the specified user.
" } } @@ -3293,7 +3733,7 @@ } ], "traits": { - "smithy.api#documentation": "Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access \n rules for the Amazon WorkMail organization for a particular user's attributes.
" + "smithy.api#documentation": "Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access \n rules for the WorkMail organization for a particular user's attributes.
" } }, "com.amazonaws.workmail#GetMobileDeviceAccessEffectRequest": { @@ -3302,7 +3742,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization to simulate the access effect for.
", + "smithy.api#documentation": "The WorkMail organization to simulate the access effect for.
", "smithy.api#required": {} } }, @@ -3338,7 +3778,7 @@ "Effect": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect", "traits": { - "smithy.api#documentation": "The effect of the simulated access, ALLOW or DENY, after evaluating mobile device access rules in the Amazon WorkMail organization for the simulated \n user parameters.
The effect of the simulated access, ALLOW or DENY, after evaluating mobile device access rules in the WorkMail organization for the simulated \n user parameters.
The Amazon WorkMail organization to which you want to apply the override.
", + "smithy.api#documentation": "The WorkMail organization to which you want to apply the override.
", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { - "smithy.api#documentation": "Identifies the WorkMail user for the override. Accepts the following types of user identities:
\nUser ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 \n
Email address: user@domain.tld\n
User name: user\n
Identifies the WorkMail user for the override. Accepts the following types of user identities:
\nUser ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234\n
Email address: user@domain.tld\n
User name: user\n
The date indicating when the group was enabled for Amazon WorkMail use.
" + "smithy.api#documentation": "The date indicating when the group was enabled for WorkMail use.
" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "The date indicating when the group was disabled from Amazon WorkMail use.
" + "smithy.api#documentation": "The date indicating when the group was disabled from WorkMail use.
" } } }, "traits": { - "smithy.api#documentation": "The representation of an Amazon WorkMail group.
" + "smithy.api#documentation": "The representation of an WorkMail group.
" } }, "com.amazonaws.workmail#GroupName": { @@ -3525,6 +3965,245 @@ "smithy.api#pattern": "^[\\x21-\\x7e]+$" } }, + "com.amazonaws.workmail#ImpersonationMatchedRule": { + "type": "structure", + "members": { + "ImpersonationRuleId": { + "target": "com.amazonaws.workmail#ImpersonationRuleId", + "traits": { + "smithy.api#documentation": "The ID of the rule that matched the input
" + } + }, + "Name": { + "target": "com.amazonaws.workmail#ImpersonationRuleName", + "traits": { + "smithy.api#documentation": "The name of the rule that matched the input.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The impersonation rule that matched the input.
" + } + }, + "com.amazonaws.workmail#ImpersonationMatchedRuleList": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#ImpersonationMatchedRule" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, + "com.amazonaws.workmail#ImpersonationRole": { + "type": "structure", + "members": { + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "The identifier of the impersonation role.
" + } + }, + "Name": { + "target": "com.amazonaws.workmail#ImpersonationRoleName", + "traits": { + "smithy.api#documentation": "The impersonation role name.
" + } + }, + "Type": { + "target": "com.amazonaws.workmail#ImpersonationRoleType", + "traits": { + "smithy.api#documentation": "The impersonation role type.
" + } + }, + "DateCreated": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "The date when the impersonation role was created.
" + } + }, + "DateModified": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "The date when the impersonation role was last modified.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An impersonation role for the given WorkMail organization.
" + } + }, + "com.amazonaws.workmail#ImpersonationRoleDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" + } + }, + "com.amazonaws.workmail#ImpersonationRoleId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" + } + }, + "com.amazonaws.workmail#ImpersonationRoleIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#ImpersonationRoleId" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, + "com.amazonaws.workmail#ImpersonationRoleList": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#ImpersonationRole" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 20 + } + } + }, + "com.amazonaws.workmail#ImpersonationRoleName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[^\\x00-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" + } + }, + "com.amazonaws.workmail#ImpersonationRoleType": { + "type": "enum", + "members": { + "FULL_ACCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL_ACCESS" + } + }, + "READ_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READ_ONLY" + } + } + } + }, + "com.amazonaws.workmail#ImpersonationRule": { + "type": "structure", + "members": { + "ImpersonationRuleId": { + "target": "com.amazonaws.workmail#ImpersonationRuleId", + "traits": { + "smithy.api#documentation": "The identifier of the rule.
", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.workmail#ImpersonationRuleName", + "traits": { + "smithy.api#documentation": "The rule name.
" + } + }, + "Description": { + "target": "com.amazonaws.workmail#ImpersonationRuleDescription", + "traits": { + "smithy.api#documentation": "The rule description.
" + } + }, + "Effect": { + "target": "com.amazonaws.workmail#AccessEffect", + "traits": { + "smithy.api#documentation": "The effect of the rule when it matches the input. Allowed effect values are\n ALLOW or DENY.
A list of user IDs that match the rule.
" + } + }, + "NotTargetUsers": { + "target": "com.amazonaws.workmail#TargetUsers", + "traits": { + "smithy.api#documentation": "A list of user IDs that don't match the rule.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The rules for the given impersonation role.
" + } + }, + "com.amazonaws.workmail#ImpersonationRuleDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" + } + }, + "com.amazonaws.workmail#ImpersonationRuleId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" + } + }, + "com.amazonaws.workmail#ImpersonationRuleList": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#ImpersonationRule" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, + "com.amazonaws.workmail#ImpersonationRuleName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[^\\x00-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" + } + }, + "com.amazonaws.workmail#ImpersonationToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[\\x21-\\x7e]+$" + } + }, "com.amazonaws.workmail#InvalidConfigurationException": { "type": "structure", "members": { @@ -3545,7 +4224,7 @@ } }, "traits": { - "smithy.api#documentation": "You SES configuration has customizations that Amazon WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to \n CreateReceiptRule.
", + "smithy.api#documentation": "You SES configuration has customizations that WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to \n CreateReceiptRule.
", "smithy.api#error": "client" } }, @@ -3816,7 +4495,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization for which the AvailabilityConfiguration's will be\n listed.
The WorkMail organization for which the AvailabilityConfiguration's will be\n listed.
The list of AvailabilityConfiguration's that exist for the specified Amazon WorkMail organization.
The list of AvailabilityConfiguration's that exist for the specified WorkMail organization.
The token to use to retrieve the next page of results. The value is null when there are no further results to return.
Returns an overview of the members of a group. Users and groups can be members of a\n group.
", + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.workmail#ListGroupMembersRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "The identifier for the organization under which the group exists.
", + "smithy.api#required": {} + } + }, + "GroupId": { + "target": "com.amazonaws.workmail#WorkMailIdentifier", + "traits": { + "smithy.api#documentation": "The identifier for the group to which the members (users or groups) are\n associated.
", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.workmail#NextToken", + "traits": { + "smithy.api#documentation": "The token to use to retrieve the next page of results. The first call does not\n contain any tokens.
" + } + }, + "MaxResults": { + "target": "com.amazonaws.workmail#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return in a single call.
" + } + } + } + }, + "com.amazonaws.workmail#ListGroupMembersResponse": { + "type": "structure", + "members": { + "Members": { + "target": "com.amazonaws.workmail#Members", + "traits": { + "smithy.api#documentation": "The members associated to the group.
" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { - "smithy.api#documentation": "The token to use to retrieve the next page of results. The value is null when there are no further results to return.
The token to use to retrieve the next page of results. The first call does not\n contain any tokens.
" } } } }, - "com.amazonaws.workmail#ListGroupMembers": { + "com.amazonaws.workmail#ListGroups": { "type": "operation", "input": { - "target": "com.amazonaws.workmail#ListGroupMembersRequest" + "target": "com.amazonaws.workmail#ListGroupsRequest" }, "output": { - "target": "com.amazonaws.workmail#ListGroupMembersResponse" + "target": "com.amazonaws.workmail#ListGroupsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, - { - "target": "com.amazonaws.workmail#EntityStateException" - }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, @@ -3877,7 +4636,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns an overview of the members of a group. Users and groups can be members of a\n group.
", + "smithy.api#documentation": "Returns summaries of the organization's groups.
", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", @@ -3886,27 +4645,20 @@ } } }, - "com.amazonaws.workmail#ListGroupMembersRequest": { + "com.amazonaws.workmail#ListGroupsRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The identifier for the organization under which the group exists.
", - "smithy.api#required": {} - } - }, - "GroupId": { - "target": "com.amazonaws.workmail#WorkMailIdentifier", - "traits": { - "smithy.api#documentation": "The identifier for the group to which the members (users or groups) are\n associated.
", + "smithy.api#documentation": "The identifier for the organization under which the groups exist.
", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { - "smithy.api#documentation": "The token to use to retrieve the next page of results. The first call does not\n contain any tokens.
" + "smithy.api#documentation": "The token to use to retrieve the next page of results. The first call does not\n contain any tokens.
" } }, "MaxResults": { @@ -3917,35 +4669,32 @@ } } }, - "com.amazonaws.workmail#ListGroupMembersResponse": { + "com.amazonaws.workmail#ListGroupsResponse": { "type": "structure", "members": { - "Members": { - "target": "com.amazonaws.workmail#Members", + "Groups": { + "target": "com.amazonaws.workmail#Groups", "traits": { - "smithy.api#documentation": "The members associated to the group.
" + "smithy.api#documentation": "The overview of groups for an organization.
" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { - "smithy.api#documentation": "The token to use to retrieve the next page of results. The first call does not\n contain any tokens.
" + "smithy.api#documentation": "The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.
" } } } }, - "com.amazonaws.workmail#ListGroups": { + "com.amazonaws.workmail#ListImpersonationRoles": { "type": "operation", "input": { - "target": "com.amazonaws.workmail#ListGroupsRequest" + "target": "com.amazonaws.workmail#ListImpersonationRolesRequest" }, "output": { - "target": "com.amazonaws.workmail#ListGroupsResponse" + "target": "com.amazonaws.workmail#ListImpersonationRolesResponse" }, "errors": [ - { - "target": "com.amazonaws.workmail#EntityNotFoundException" - }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, @@ -3957,8 +4706,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns summaries of the organization's groups.
", - "smithy.api#idempotent": {}, + "smithy.api#documentation": "Lists all the impersonation roles for the given WorkMail organization.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -3966,43 +4714,43 @@ } } }, - "com.amazonaws.workmail#ListGroupsRequest": { + "com.amazonaws.workmail#ListImpersonationRolesRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The identifier for the organization under which the groups exist.
", + "smithy.api#documentation": "The WorkMail organization to which the listed impersonation roles belong.
", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { - "smithy.api#documentation": "The token to use to retrieve the next page of results. The first call does not\n contain any tokens.
" + "smithy.api#documentation": "The token used to retrieve the next page of results. The first call doesn't require a\n token.
" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { - "smithy.api#documentation": "The maximum number of results to return in a single call.
" + "smithy.api#documentation": "The maximum number of results returned in a single call.
" } } } }, - "com.amazonaws.workmail#ListGroupsResponse": { + "com.amazonaws.workmail#ListImpersonationRolesResponse": { "type": "structure", "members": { - "Groups": { - "target": "com.amazonaws.workmail#Groups", + "Roles": { + "target": "com.amazonaws.workmail#ImpersonationRoleList", "traits": { - "smithy.api#documentation": "The overview of groups for an organization.
" + "smithy.api#documentation": "The list of impersonation roles under the given WorkMail organization.
" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { - "smithy.api#documentation": "The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.
" + "smithy.api#documentation": "The token to retrieve the next page of results. The value is null when\n there are no results to return.
Lists the mail domains in a given Amazon WorkMail organization.
", + "smithy.api#documentation": "Lists the mail domains in a given WorkMail organization.
", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", @@ -4042,7 +4790,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization for which to list domains.
", + "smithy.api#documentation": "The WorkMail organization for which to list domains.
", "smithy.api#required": {} } }, @@ -4066,7 +4814,7 @@ "MailDomains": { "target": "com.amazonaws.workmail#MailDomains", "traits": { - "smithy.api#documentation": "The list of mail domain summaries, specifying domains that exist in the specified Amazon WorkMail organization, along with the information about whether the domain is or isn't the default.
" + "smithy.api#documentation": "The list of mail domain summaries, specifying domains that exist in the specified WorkMail organization, along with the information about whether the domain is or isn't the default.
" } }, "NextToken": { @@ -4264,14 +5012,14 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization under which to list mobile device access overrides.
", + "smithy.api#documentation": "The WorkMail organization under which to list mobile device access overrides.
", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { - "smithy.api#documentation": "The WorkMail user under which you list the mobile device access overrides. Accepts the following types of user identities:
\nUser ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 \n
Email address: user@domain.tld\n
User name: user\n
The WorkMail user under which you list the mobile device access overrides. Accepts the following types of user identities:
\nUser ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234\n
Email address: user@domain.tld\n
User name: user\n
The list of mobile device access overrides that exist for the specified Amazon WorkMail organization and user.
" + "smithy.api#documentation": "The list of mobile device access overrides that exist for the specified WorkMail organization and user.
" } }, "NextToken": { @@ -4331,7 +5079,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the mobile device access rules for the specified Amazon WorkMail organization.
" + "smithy.api#documentation": "Lists the mobile device access rules for the specified WorkMail organization.
" } }, "com.amazonaws.workmail#ListMobileDeviceAccessRulesRequest": { @@ -4340,7 +5088,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization for which to list the rules.
", + "smithy.api#documentation": "The WorkMail organization for which to list the rules.
", "smithy.api#required": {} } } @@ -4352,7 +5100,7 @@ "Rules": { "target": "com.amazonaws.workmail#MobileDeviceAccessRulesList", "traits": { - "smithy.api#documentation": "The list of mobile device access rules that exist under the specified Amazon WorkMail organization.
" + "smithy.api#documentation": "The list of mobile device access rules that exist under the specified WorkMail organization.
" } } } @@ -4492,7 +5240,7 @@ "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { - "smithy.api#documentation": "The token used to paginate through the delegates associated with a resource. While\n results are still available, it has an associated value. When the last page is reached, the\n token is empty.
" + "smithy.api#documentation": "The token used to paginate through the delegates associated with a resource. While\n results are still available, it has an associated value. When the last page is reached, the\n token is empty.
" } } } @@ -4581,7 +5329,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the tags applied to an Amazon WorkMail organization resource.
" + "smithy.api#documentation": "Lists the tags applied to an WorkMail organization resource.
" } }, "com.amazonaws.workmail#ListTagsForResourceRequest": { @@ -4735,6 +5483,7 @@ "DefaultDomain": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Whether the domain is default or not.
" } } @@ -4795,6 +5544,7 @@ "EstimatedProgress": { "target": "com.amazonaws.workmail#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The estimated progress of the mailbox export job, in percentage points.
" } }, @@ -4832,32 +5582,37 @@ } }, "com.amazonaws.workmail#MailboxExportJobState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "CANCELLED", - "name": "CANCELLED" - } - ] + "type": "enum", + "members": { + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + } } }, "com.amazonaws.workmail#MailboxQuota": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4866,6 +5621,7 @@ "com.amazonaws.workmail#MailboxSize": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4874,7 +5630,6 @@ "com.amazonaws.workmail#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4911,13 +5666,13 @@ "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "The date indicating when the member was enabled for Amazon WorkMail use.
" + "smithy.api#documentation": "The date indicating when the member was enabled for WorkMail use.
" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "The date indicating when the member was disabled from Amazon WorkMail use.
" + "smithy.api#documentation": "The date indicating when the member was disabled from WorkMail use.
" } } }, @@ -4926,18 +5681,20 @@ } }, "com.amazonaws.workmail#MemberType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GROUP", - "name": "GROUP" - }, - { - "value": "USER", - "name": "USER" + "type": "enum", + "members": { + "GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GROUP" + } + }, + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER" } - ] + } } }, "com.amazonaws.workmail#Members": { @@ -5034,7 +5791,7 @@ "MobileDeviceAccessRuleId": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleId", "traits": { - "smithy.api#documentation": "The ID assigned to a mobile access rule.
" + "smithy.api#documentation": "The ID assigned to a mobile access rule.
" } }, "Name": { @@ -5058,7 +5815,7 @@ "DeviceTypes": { "target": "com.amazonaws.workmail#DeviceTypeList", "traits": { - "smithy.api#documentation": "Device types that a rule will match.
" + "smithy.api#documentation": "Device types that a rule will match.
" } }, "NotDeviceTypes": { @@ -5117,7 +5874,7 @@ } }, "traits": { - "smithy.api#documentation": "A rule that controls access to mobile devices for an Amazon WorkMail group.
" + "smithy.api#documentation": "A rule that controls access to mobile devices for an WorkMail group.
" } }, "com.amazonaws.workmail#MobileDeviceAccessRuleDescription": { @@ -5131,18 +5888,20 @@ } }, "com.amazonaws.workmail#MobileDeviceAccessRuleEffect": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALLOW", - "name": "ALLOW" - }, - { - "value": "DENY", - "name": "DENY" + "type": "enum", + "members": { + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOW" + } + }, + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DENY" } - ] + } } }, "com.amazonaws.workmail#MobileDeviceAccessRuleId": { @@ -5185,7 +5944,7 @@ } }, "traits": { - "smithy.api#documentation": "The user, group, or resource name isn't unique in Amazon WorkMail.
", + "smithy.api#documentation": "The user, group, or resource name isn't unique in WorkMail.
", "smithy.api#error": "client" } }, @@ -5301,6 +6060,7 @@ "com.amazonaws.workmail#Percentage": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5337,22 +6097,26 @@ } }, "com.amazonaws.workmail#PermissionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FULL_ACCESS", - "name": "FULL_ACCESS" - }, - { - "value": "SEND_AS", - "name": "SEND_AS" - }, - { - "value": "SEND_ON_BEHALF", - "name": "SEND_ON_BEHALF" + "type": "enum", + "members": { + "FULL_ACCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL_ACCESS" + } + }, + "SEND_AS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SEND_AS" + } + }, + "SEND_ON_BEHALF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SEND_ON_BEHALF" } - ] + } } }, "com.amazonaws.workmail#PermissionValues": { @@ -5401,10 +6165,13 @@ }, { "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { - "smithy.api#documentation": "Adds a new access control rule for the specified organization. The rule allows or\n denies access to the organization for the specified IPv4 addresses, access protocol\n actions, and user IDs. Adding a new rule with the same name as an existing rule replaces\n the older rule.
" + "smithy.api#documentation": "Adds a new access control rule for the specified organization. The rule allows or\n denies access to the organization for the specified IPv4 addresses, access protocol\n actions, user IDs and impersonation IDs. Adding a new rule with the same name as an existing rule replaces\n the older rule.
" } }, "com.amazonaws.workmail#PutAccessControlRuleRequest": { @@ -5473,6 +6240,18 @@ "smithy.api#documentation": "The identifier of the organization.
", "smithy.api#required": {} } + }, + "ImpersonationRoleIds": { + "target": "com.amazonaws.workmail#ImpersonationRoleIdList", + "traits": { + "smithy.api#documentation": "Impersonation role IDs to include in the rule.
" + } + }, + "NotImpersonationRoleIds": { + "target": "com.amazonaws.workmail#ImpersonationRoleIdList", + "traits": { + "smithy.api#documentation": "Impersonation role IDs to exclude from the rule.
" + } } } }, @@ -5564,7 +6343,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The ID of the organization that you are applying the DMARC policy to.
", + "smithy.api#documentation": "The ID of the organization that you are applying the DMARC policy to.
", "smithy.api#required": {} } }, @@ -5683,14 +6462,14 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "Identifies the Amazon WorkMail organization for which you create the override.
", + "smithy.api#documentation": "Identifies the WorkMail organization for which you create the override.
", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { - "smithy.api#documentation": "The WorkMail user for which you create the override. Accepts the following types of user identities:
\nUser ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 \n
Email address: user@domain.tld\n
User name: user\n
The WorkMail user for which you create the override. Accepts the following types of user identities:
\nUser ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234\n
Email address: user@domain.tld\n
User name: user\n
Registers a new domain in Amazon WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has \n permanent permission to use the specified domain for sending your users' emails.
", + "smithy.api#documentation": "Registers a new domain in WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has \n permanent permission to use the specified domain for sending your users' emails.
", "smithy.api#idempotent": {} } }, @@ -5852,14 +6631,14 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization under which you're creating the domain.
", + "smithy.api#documentation": "The WorkMail organization under which you're creating the domain.
", "smithy.api#required": {} } }, "DomainName": { "target": "com.amazonaws.workmail#WorkMailDomainName", "traits": { - "smithy.api#documentation": "The name of the mail domain to create in Amazon WorkMail and SES.
", + "smithy.api#documentation": "The name of the mail domain to create in WorkMail and SES.
", "smithy.api#required": {} } } @@ -5913,7 +6692,7 @@ } ], "traits": { - "smithy.api#documentation": "Registers an existing and disabled user, group, or resource for Amazon WorkMail use by\n associating a mailbox and calendaring capabilities. It performs no change if the user,\n group, or resource is enabled and fails if the user, group, or resource is deleted. This\n operation results in the accumulation of costs. For more information, see Pricing. The equivalent console\n functionality for this operation is Enable.
\nUsers can either be created by calling the CreateUser API operation\n or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.
", + "smithy.api#documentation": "Registers an existing and disabled user, group, or resource for WorkMail use by\n associating a mailbox and calendaring capabilities. It performs no change if the user,\n group, or resource is enabled and fails if the user, group, or resource is deleted. This\n operation results in the accumulation of costs. For more information, see Pricing. The equivalent console\n functionality for this operation is Enable.
\nUsers can either be created by calling the CreateUser API operation\n or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.
", "smithy.api#idempotent": {} } }, @@ -5955,7 +6734,7 @@ } }, "traits": { - "smithy.api#documentation": "This user, group, or resource name is not allowed in Amazon WorkMail.
", + "smithy.api#documentation": "This user, group, or resource name is not allowed in WorkMail.
", "smithy.api#error": "client" } }, @@ -6067,13 +6846,13 @@ "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "The date indicating when the resource was enabled for Amazon WorkMail use.
" + "smithy.api#documentation": "The date indicating when the resource was enabled for WorkMail use.
" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "The date indicating when the resource was disabled from Amazon WorkMail use.
" + "smithy.api#documentation": "The date indicating when the resource was disabled from WorkMail use.
" } } }, @@ -6121,18 +6900,20 @@ } }, "com.amazonaws.workmail#ResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ROOM", - "name": "ROOM" - }, - { - "value": "EQUIPMENT", - "name": "EQUIPMENT" + "type": "enum", + "members": { + "ROOM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROOM" + } + }, + "EQUIPMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQUIPMENT" } - ] + } } }, "com.amazonaws.workmail#Resources": { @@ -6142,28 +6923,31 @@ } }, "com.amazonaws.workmail#RetentionAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "DELETE", - "name": "DELETE" - }, - { - "value": "PERMANENTLY_DELETE", - "name": "PERMANENTLY_DELETE" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "DELETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE" + } + }, + "PERMANENTLY_DELETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERMANENTLY_DELETE" } - ] + } } }, "com.amazonaws.workmail#RetentionPeriod": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 730 @@ -6235,7 +7019,7 @@ } ], "traits": { - "smithy.api#documentation": "Starts a mailbox export job to export MIME-format email messages and calendar items\n from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3)\n bucket. For more information, see Exporting mailbox content in\n the Amazon WorkMail Administrator Guide.
", + "smithy.api#documentation": "Starts a mailbox export job to export MIME-format email messages and calendar items\n from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3)\n bucket. For more information, see Exporting mailbox content in\n the WorkMail Administrator Guide.
", "smithy.api#idempotent": {} } }, @@ -6395,7 +7179,7 @@ } ], "traits": { - "smithy.api#documentation": "Applies the specified tags to the specified Amazon WorkMail organization\n resource.
" + "smithy.api#documentation": "Applies the specified tags to the specified WorkMailorganization\n resource.
" } }, "com.amazonaws.workmail#TagResourceRequest": { @@ -6430,6 +7214,18 @@ } } }, + "com.amazonaws.workmail#TargetUsers": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#EntityIdentifier" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, "com.amazonaws.workmail#TestAvailabilityConfiguration": { "type": "operation", "input": { @@ -6453,7 +7249,7 @@ } ], "traits": { - "smithy.api#documentation": "Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access\n policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn or SourceAccount header.
The request must contain either one provider definition (EwsProvider or\n LambdaProvider) or the DomainName parameter. If the\n DomainName parameter is provided, the configuration stored under the\n DomainName will be tested.
Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access\n policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn or SourceAccount header.
The request must contain either one provider definition (EwsProvider or\n LambdaProvider) or the DomainName parameter. If the\n DomainName parameter is provided, the configuration stored under the\n DomainName will be tested.
The Amazon WorkMail organization where the availability provider will be tested.
", + "smithy.api#documentation": "The WorkMail organization where the availability provider will be tested.
", "smithy.api#required": {} } }, @@ -6486,6 +7282,7 @@ "TestPassed": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean indicating whether the test passed or failed.
" } }, @@ -6539,7 +7336,7 @@ } ], "traits": { - "smithy.api#documentation": "Untags the specified tags from the specified Amazon WorkMail organization\n resource.
" + "smithy.api#documentation": "Untags the specified tags from the specified WorkMail organization\n resource.
" } }, "com.amazonaws.workmail#UntagResourceRequest": { @@ -6598,7 +7395,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization for which the AvailabilityConfiguration will be\n updated.
The WorkMail organization for which the AvailabilityConfiguration will be\n updated.
The Amazon WorkMail organization for which to list domains.
", + "smithy.api#documentation": "The WorkMail organization for which to list domains.
", "smithy.api#required": {} } }, @@ -6680,6 +7477,91 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#UpdateImpersonationRole": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#UpdateImpersonationRoleRequest" + }, + "output": { + "target": "com.amazonaws.workmail#UpdateImpersonationRoleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#EntityNotFoundException" + }, + { + "target": "com.amazonaws.workmail#EntityStateException" + }, + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#LimitExceededException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "Updates an impersonation role for the given WorkMail organization.
" + } + }, + "com.amazonaws.workmail#UpdateImpersonationRoleRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "The WorkMail organization that contains the impersonation role to update.
", + "smithy.api#required": {} + } + }, + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "The ID of the impersonation role to update.
", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.workmail#ImpersonationRoleName", + "traits": { + "smithy.api#documentation": "The updated impersonation role name.
", + "smithy.api#required": {} + } + }, + "Type": { + "target": "com.amazonaws.workmail#ImpersonationRoleType", + "traits": { + "smithy.api#documentation": "The updated impersonation role type.
", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.workmail#ImpersonationRoleDescription", + "traits": { + "smithy.api#documentation": "The updated impersonation role description.
" + } + }, + "Rules": { + "target": "com.amazonaws.workmail#ImpersonationRuleList", + "traits": { + "smithy.api#documentation": "The updated list of rules.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#UpdateImpersonationRoleResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.workmail#UpdateMailboxQuota": { "type": "operation", "input": { @@ -6763,7 +7645,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates a mobile device access rule for the specified Amazon WorkMail organization.
" + "smithy.api#documentation": "Updates a mobile device access rule for the specified WorkMail organization.
" } }, "com.amazonaws.workmail#UpdateMobileDeviceAccessRuleRequest": { @@ -6772,7 +7654,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "The Amazon WorkMail organization under which the rule will be updated.
", + "smithy.api#documentation": "The WorkMail organization under which the rule will be updated.
", "smithy.api#required": {} } }, @@ -7067,18 +7949,18 @@ "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "The date indicating when the user was enabled for Amazon WorkMail use.
" + "smithy.api#documentation": "The date indicating when the user was enabled for WorkMail use.
" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "The date indicating when the user was disabled from Amazon WorkMail use.
" + "smithy.api#documentation": "The date indicating when the user was disabled from WorkMail use.
" } } }, "traits": { - "smithy.api#documentation": "The representation of an Amazon WorkMail user.
" + "smithy.api#documentation": "The representation of an WorkMail user.
" } }, "com.amazonaws.workmail#UserIdList": { @@ -7104,22 +7986,26 @@ } }, "com.amazonaws.workmail#UserRole": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "USER", - "name": "USER" - }, - { - "value": "RESOURCE", - "name": "RESOURCE" - }, - { - "value": "SYSTEM_USER", - "name": "SYSTEM_USER" + "type": "enum", + "members": { + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER" + } + }, + "RESOURCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE" + } + }, + "SYSTEM_USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYSTEM_USER" } - ] + } } }, "com.amazonaws.workmail#Users": { @@ -7149,21 +8035,6 @@ }, "com.amazonaws.workmail#WorkMailService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "WorkMail", - "arnNamespace": "workmail", - "cloudFormationName": "WorkMail", - "cloudTrailEventSource": "workmail.amazonaws.com", - "endpointPrefix": "workmail" - }, - "aws.auth#sigv4": { - "name": "workmail" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon WorkMail is a secure, managed business email and calendaring service with support for\n existing desktop and mobile email clients. You can access your email, contacts, and\n calendars using Microsoft Outlook, your browser, or other native iOS and Android email\n applications. You can integrate WorkMail with your existing corporate directory and control\n both the keys that encrypt your data and the location in which your data is\n stored.
\nThe WorkMail API is designed for the following scenarios:
\nListing and describing organizations
\nManaging users
\nManaging groups
\nManaging resources
\nAll WorkMail API operations are Amazon-authenticated and certificate-signed. They not\n only require the use of the AWS SDK, but also allow for the exclusive use of AWS Identity and Access Management\n users and roles to help facilitate access, trust, and permission policies. By creating a\n role and allowing an IAM user to access the WorkMail site, the IAM user gains full\n administrative visibility into the entire WorkMail organization (or as set in the IAM\n policy). This includes, but is not limited to, the ability to create, update, and delete\n users, groups, and resources. This allows developers to perform the scenarios listed above,\n as well as give users the ability to grant access on a selective basis using the IAM\n model.
", - "smithy.api#title": "Amazon WorkMail" - }, "version": "2017-10-01", "operations": [ { @@ -7172,6 +8043,9 @@ { "target": "com.amazonaws.workmail#AssociateMemberToGroup" }, + { + "target": "com.amazonaws.workmail#AssumeImpersonationRole" + }, { "target": "com.amazonaws.workmail#CancelMailboxExportJob" }, @@ -7184,6 +8058,9 @@ { "target": "com.amazonaws.workmail#CreateGroup" }, + { + "target": "com.amazonaws.workmail#CreateImpersonationRole" + }, { "target": "com.amazonaws.workmail#CreateMobileDeviceAccessRule" }, @@ -7211,6 +8088,9 @@ { "target": "com.amazonaws.workmail#DeleteGroup" }, + { + "target": "com.amazonaws.workmail#DeleteImpersonationRole" + }, { "target": "com.amazonaws.workmail#DeleteMailboxPermissions" }, @@ -7271,6 +8151,12 @@ { "target": "com.amazonaws.workmail#GetDefaultRetentionPolicy" }, + { + "target": "com.amazonaws.workmail#GetImpersonationRole" + }, + { + "target": "com.amazonaws.workmail#GetImpersonationRoleEffect" + }, { "target": "com.amazonaws.workmail#GetMailboxDetails" }, @@ -7298,6 +8184,9 @@ { "target": "com.amazonaws.workmail#ListGroups" }, + { + "target": "com.amazonaws.workmail#ListImpersonationRoles" + }, { "target": "com.amazonaws.workmail#ListMailboxExportJobs" }, @@ -7373,6 +8262,9 @@ { "target": "com.amazonaws.workmail#UpdateDefaultMailDomain" }, + { + "target": "com.amazonaws.workmail#UpdateImpersonationRole" + }, { "target": "com.amazonaws.workmail#UpdateMailboxQuota" }, @@ -7385,7 +8277,22 @@ { "target": "com.amazonaws.workmail#UpdateResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "WorkMail", + "arnNamespace": "workmail", + "cloudFormationName": "WorkMail", + "cloudTrailEventSource": "workmail.amazonaws.com", + "endpointPrefix": "workmail" + }, + "aws.auth#sigv4": { + "name": "workmail" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "WorkMail is a secure, managed business email and calendaring service with support for\n existing desktop and mobile email clients. You can access your email, contacts, and\n calendars using Microsoft Outlook, your browser, or other native iOS and Android email\n applications. You can integrate WorkMail with your existing corporate directory and control\n both the keys that encrypt your data and the location in which your data is\n stored.
\nThe WorkMail API is designed for the following scenarios:
\nListing and describing organizations
\nManaging users
\nManaging groups
\nManaging resources
\nAll WorkMail API operations are Amazon-authenticated and certificate-signed. They not\n only require the use of the AWS SDK, but also allow for the exclusive use of AWS Identity and Access Management\n users and roles to help facilitate access, trust, and permission policies. By creating a\n role and allowing an IAM user to access the WorkMail site, the IAM user gains full\n administrative visibility into the entire WorkMail organization (or as set in the IAM\n policy). This includes, but is not limited to, the ability to create, update, and delete\n users, groups, and resources. This allows developers to perform the scenarios listed above,\n as well as give users the ability to grant access on a selective basis using the IAM\n model.
", + "smithy.api#title": "Amazon WorkMail" + } } } } diff --git a/codegen/sdk/aws-models/workmailmessageflow.json b/codegen/sdk/aws-models/workmailmessageflow.json index ba869814736..39491e410e4 100644 --- a/codegen/sdk/aws-models/workmailmessageflow.json +++ b/codegen/sdk/aws-models/workmailmessageflow.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { diff --git a/codegen/sdk/aws-models/workspaces-web.json b/codegen/sdk/aws-models/workspaces-web.json index 72e02c1dc95..298ceaf0b85 100644 --- a/codegen/sdk/aws-models/workspaces-web.json +++ b/codegen/sdk/aws-models/workspaces-web.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.workspacesweb#ARN": { "type": "string", @@ -13,21 +13,6 @@ }, "com.amazonaws.workspacesweb#AWSErmineControlPlaneService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "WorkSpaces Web", - "arnNamespace": "workspaces-web", - "cloudFormationName": "WorkSpacesWeb", - "cloudTrailEventSource": "workspaces-web.amazonaws.com", - "endpointPrefix": "workspaces-web" - }, - "aws.auth#sigv4": { - "name": "workspaces-web" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "WorkSpaces Web is a low cost, fully managed WorkSpace built specifically to facilitate\n secure, web-based workloads. WorkSpaces Web makes it easy for customers to safely provide\n their employees with access to internal websites and SaaS web applications without the\n administrative burden of appliances or specialized client software. WorkSpaces Web provides\n simple policy tools tailored for user interactions, while offloading common tasks like\n capacity management, scaling, and maintaining browser images.
", - "smithy.api#title": "Amazon WorkSpaces Web" - }, "version": "2020-07-08", "operations": [ { @@ -162,7 +147,22 @@ { "target": "com.amazonaws.workspacesweb#UpdateUserSettings" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "WorkSpaces Web", + "arnNamespace": "workspaces-web", + "cloudFormationName": "WorkSpacesWeb", + "cloudTrailEventSource": "workspaces-web.amazonaws.com", + "endpointPrefix": "workspaces-web" + }, + "aws.auth#sigv4": { + "name": "workspaces-web" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "WorkSpaces Web is a low cost, fully managed WorkSpace built specifically to facilitate\n secure, web-based workloads. WorkSpaces Web makes it easy for customers to safely provide\n their employees with access to internal websites and SaaS web applications without the\n administrative burden of appliances or specialized client software. WorkSpaces Web provides\n simple policy tools tailored for user interactions, while offloading common tasks like\n capacity management, scaling, and maintaining browser images.
", + "smithy.api#title": "Amazon WorkSpaces Web" + } }, "com.amazonaws.workspacesweb#AccessDeniedException": { "type": "structure", @@ -1793,7 +1793,6 @@ "com.amazonaws.workspacesweb#DisconnectTimeoutInMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 600 @@ -2456,7 +2455,6 @@ "com.amazonaws.workspacesweb#IdleDisconnectTimeoutInMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 60 @@ -2472,6 +2470,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.workspacesweb#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Advice to clients on when the call can be safely retried.
", "smithy.api#httpHeader": "Retry-After" } @@ -3081,7 +3080,6 @@ "com.amazonaws.workspacesweb#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3397,7 +3395,10 @@ "type": "string" }, "com.amazonaws.workspacesweb#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.workspacesweb#SamlMetadata": { "type": "string", @@ -3674,6 +3675,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.workspacesweb#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Advice to clients on when the call can be safely retried.
", "smithy.api#httpHeader": "Retry-After" } @@ -4523,4 +4525,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/xray.json b/codegen/sdk/aws-models/xray.json index 462332a5258..c0578579d7f 100644 --- a/codegen/sdk/aws-models/xray.json +++ b/codegen/sdk/aws-models/xray.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -396,11 +396,15 @@ } }, "com.amazonaws.xray#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.xray#BorrowCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -638,7 +642,10 @@ } }, "com.amazonaws.xray#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.xray#EC2InstanceId": { "type": "string", @@ -1085,6 +1092,7 @@ "com.amazonaws.xray#FixedRate": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 @@ -1329,7 +1337,6 @@ "com.amazonaws.xray#GetInsightEventsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -1537,7 +1544,6 @@ "com.amazonaws.xray#GetInsightSummariesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1877,6 +1883,7 @@ "ContainsOldGroupVersions": { "target": "com.amazonaws.xray#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag indicating whether the group's filter expression has been consistent, or\n if the returned service graph may show traces from an older version of the group's filter\n expression.
" } }, @@ -1985,6 +1992,7 @@ "ContainsOldGroupVersions": { "target": "com.amazonaws.xray#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A flag indicating whether or not a group's filter expression has been consistent, or if a returned\n aggregation might show statistics from an older version of the group's filter expression.
" } }, @@ -2278,12 +2286,14 @@ "Value": { "target": "com.amazonaws.xray#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the entry.
" } }, "Count": { "target": "com.amazonaws.xray#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The prevalence of the entry.
" } } @@ -2716,7 +2726,10 @@ } }, "com.amazonaws.xray#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.xray#InvalidRequestException": { "type": "structure", @@ -2794,32 +2807,21 @@ } }, "com.amazonaws.xray#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.xray#NullableDouble": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.xray#NullableInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.xray#NullableLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.xray#Priority": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 9999 @@ -2990,6 +2992,7 @@ "com.amazonaws.xray#RequestCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3024,6 +3027,7 @@ "com.amazonaws.xray#ReservoirSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3226,6 +3230,7 @@ "com.amazonaws.xray#SampledCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3256,6 +3261,7 @@ "Priority": { "target": "com.amazonaws.xray#Priority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The priority of the sampling rule.
", "smithy.api#required": {} } @@ -3263,6 +3269,7 @@ "FixedRate": { "target": "com.amazonaws.xray#FixedRate", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of matching requests to instrument, after the reservoir is\n exhausted.
", "smithy.api#required": {} } @@ -3270,6 +3277,7 @@ "ReservoirSize": { "target": "com.amazonaws.xray#ReservoirSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A fixed number of matching requests to instrument per second, prior to applying the\n fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.
", "smithy.api#required": {} } @@ -3312,6 +3320,7 @@ "Version": { "target": "com.amazonaws.xray#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The version of the sampling rule format (1).
The number of requests that matched the rule.
" } }, "BorrowCount": { "target": "com.amazonaws.xray#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of requests recorded with borrowed reservoir quota.
" } }, "SampledCount": { "target": "com.amazonaws.xray#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of requests recorded.
" } } @@ -3510,6 +3522,7 @@ "RequestCount": { "target": "com.amazonaws.xray#RequestCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of requests that matched the rule.
", "smithy.api#required": {} } @@ -3517,6 +3530,7 @@ "SampledCount": { "target": "com.amazonaws.xray#SampledCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of requests recorded.
", "smithy.api#required": {} } @@ -3524,6 +3538,7 @@ "BorrowCount": { "target": "com.amazonaws.xray#BorrowCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of requests recorded with borrowed reservoir quota.
" } } @@ -3591,6 +3606,7 @@ "FixedRate": { "target": "com.amazonaws.xray#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The percentage of matching requests to instrument, after the reservoir is\n exhausted.
" } }, @@ -4312,6 +4328,7 @@ "Revision": { "target": "com.amazonaws.xray#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The revision number of a trace.
" } }, @@ -4630,6 +4647,7 @@ "com.amazonaws.xray#Version": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } diff --git a/gradle.properties b/gradle.properties index 69e9e1964aa..2a66cfc96ae 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ sdkVersion=0.17.8-SNAPSHOT smithyVersion=1.25.2 smithyGradleVersion=0.6.0 # smithy-kotlin codegen and runtime are versioned together -smithyKotlinVersion=0.12.9-SNAPSHOT +smithyKotlinVersion=0.12.9 # kotlin kotlinVersion=1.7.10