diff --git a/codegen/sdk-codegen/aws-models/acm.json b/codegen/sdk-codegen/aws-models/acm.json index aa8f107dabb..d38572be049 100644 --- a/codegen/sdk-codegen/aws-models/acm.json +++ b/codegen/sdk-codegen/aws-models/acm.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -41,7 +41,7 @@ "code": "AccessDenied", "httpResponseCode": 403 }, - "smithy.api#documentation": "

You do not have access\n required to perform this action.

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

You do not have access required to perform this action.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } @@ -51,6 +51,9 @@ "input": { "target": "com.amazonaws.acm#AddTagsToCertificateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.acm#InvalidArnException" @@ -75,7 +78,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds one or more tags to an ACM certificate. Tags are labels that you can use to\n identify and organize your Amazon Web Services resources. Each tag consists of a key and an\n optional value. You specify the certificate on input by its Amazon Resource Name\n (ARN). You specify the tag by using a key-value pair.

\n\n

You can apply a tag to just one certificate if you want to identify a specific\n characteristic of that certificate, or you can apply the same tag to multiple certificates if\n you want to filter for a common relationship among those certificates. Similarly, you can\n apply the same tag to multiple resources if you want to specify a relationship among those\n resources. For example, you can add the same tag to an ACM certificate and an Elastic Load\n Balancing load balancer to indicate that they are both used by the same website. For more\n information, see Tagging ACM\n certificates.

\n\n

To remove one or more tags, use the RemoveTagsFromCertificate action. To\n view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action.

" + "smithy.api#documentation": "

Adds one or more tags to an ACM certificate. Tags are labels that you can use to\n identify and organize your Amazon Web Services resources. Each tag consists of a key and an\n optional value. You specify the certificate on input by its Amazon Resource Name\n (ARN). You specify the tag by using a key-value pair.

\n

You can apply a tag to just one certificate if you want to identify a specific\n characteristic of that certificate, or you can apply the same tag to multiple certificates if\n you want to filter for a common relationship among those certificates. Similarly, you can\n apply the same tag to multiple resources if you want to specify a relationship among those\n resources. For example, you can add the same tag to an ACM certificate and an Elastic Load\n Balancing load balancer to indicate that they are both used by the same website. For more\n information, see Tagging ACM\n certificates.

\n

To remove one or more tags, use the RemoveTagsFromCertificate action. To\n view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action.

" } }, "com.amazonaws.acm#AddTagsToCertificateRequest": { @@ -84,7 +87,7 @@ "CertificateArn": { "target": "com.amazonaws.acm#Arn", "traits": { - "smithy.api#documentation": "

String that contains the ARN of the ACM certificate to which the tag is to be applied.\n This must be of the form:

\n\n

\n arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012\n

\n\n

For more information about ARNs, see Amazon Resource Names (ARNs).

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

String that contains the ARN of the ACM certificate to which the tag is to be applied.\n This must be of the form:

\n

\n arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012\n

\n

For more information about ARNs, see Amazon Resource Names (ARNs).

", "smithy.api#required": {} } }, @@ -166,7 +169,7 @@ "SubjectAlternativeNames": { "target": "com.amazonaws.acm#DomainList", "traits": { - "smithy.api#documentation": "

One or more domain names (subject alternative names) included in the certificate. This\n list contains the domain names that are bound to the public key that is contained in the\n certificate. The subject alternative names include the canonical domain name (CN) of the\n certificate and additional domain names that can be used to connect to the website.

" + "smithy.api#documentation": "

One or more domain names (subject alternative names) \n included in the certificate. This\n list contains the domain names that are bound to the public key that is contained in the\n certificate. The subject alternative names include the canonical domain name (CN) of the\n certificate and additional domain names that can be used to connect to the website.

" } }, "DomainValidationOptions": { @@ -208,13 +211,13 @@ "ImportedAt": { "target": "com.amazonaws.acm#TStamp", "traits": { - "smithy.api#documentation": "

The date and time at which the certificate was imported. This value exists only when the\n certificate type is IMPORTED.

" + "smithy.api#documentation": "

The date and time when the certificate was imported. This value exists only when the\n certificate type is IMPORTED.

" } }, "Status": { "target": "com.amazonaws.acm#CertificateStatus", "traits": { - "smithy.api#documentation": "

The status of the certificate.

" + "smithy.api#documentation": "

The status of the certificate.

\n

A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for\n any of the reasons given in the troubleshooting topic Certificate request fails. ACM makes\n repeated attempts to validate a certificate for 72 hours and then times out. If a certificate\n shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS validation or Email validation, and\n try again. If validation succeeds, the certificate enters status ISSUED.

" } }, "RevokedAt": { @@ -262,13 +265,13 @@ "FailureReason": { "target": "com.amazonaws.acm#FailureReason", "traits": { - "smithy.api#documentation": "

The reason the certificate request failed. This value exists only when the certificate\n status is FAILED. For more information, see Certificate Request\n Failed in the Amazon Web Services Certificate Manager User Guide.

" + "smithy.api#documentation": "

The reason the certificate request failed. This value exists only when the certificate\n status is FAILED. For more information, see Certificate Request\n Failed in the Certificate Manager User Guide.

" } }, "Type": { "target": "com.amazonaws.acm#CertificateType", "traits": { - "smithy.api#documentation": "

The source of the certificate. For certificates provided by ACM, this value is\n AMAZON_ISSUED. For certificates that you imported with ImportCertificate, this value is IMPORTED. ACM does not provide\n managed renewal for\n imported certificates. For more information about the differences between certificates that\n you import and those that ACM provides, see Importing Certificates in the\n Amazon Web Services Certificate Manager User Guide.

" + "smithy.api#documentation": "

The source of the certificate. For certificates provided by ACM, this value is\n AMAZON_ISSUED. For certificates that you imported with ImportCertificate, this value is IMPORTED. ACM does not provide\n managed renewal for\n imported certificates. For more information about the differences between certificates that\n you import and those that ACM provides, see Importing Certificates in the\n Certificate Manager User Guide.

" } }, "RenewalSummary": { @@ -292,7 +295,7 @@ "CertificateAuthorityArn": { "target": "com.amazonaws.acm#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the ACM PCA private certificate authority (CA) that issued\n the certificate. This has the following format:

\n

\n arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the private certificate authority (CA) that issued the\n certificate. This has the following format:

\n

\n arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n

" } }, "RenewalEligibility": { @@ -374,7 +377,7 @@ "name": "acm" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Web Services Certificate Manager\n

You can use Amazon Web Services Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites\n and applications. For more information about using ACM, see the Amazon Web Services Certificate Manager User Guide.

", + "smithy.api#documentation": "Certificate Manager\n

You can use Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites\n and applications. For more information about using ACM, see the Certificate Manager User Guide.

", "smithy.api#title": "AWS Certificate Manager" } }, @@ -393,38 +396,50 @@ } }, "com.amazonaws.acm#CertificateStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING_VALIDATION", - "name": "PENDING_VALIDATION" - }, - { - "value": "ISSUED", - "name": "ISSUED" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" - }, - { - "value": "EXPIRED", - "name": "EXPIRED" - }, - { - "value": "VALIDATION_TIMED_OUT", - "name": "VALIDATION_TIMED_OUT" - }, - { - "value": "REVOKED", - "name": "REVOKED" - }, - { - "value": "FAILED", - "name": "FAILED" - } - ] + "type": "enum", + "members": { + "PENDING_VALIDATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING_VALIDATION" + } + }, + "ISSUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ISSUED" + } + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" + } + }, + "EXPIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPIRED" + } + }, + "VALIDATION_TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VALIDATION_TIMED_OUT" + } + }, + "REVOKED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REVOKED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.acm#CertificateStatuses": { @@ -439,7 +454,7 @@ "CertificateArn": { "target": "com.amazonaws.acm#Arn", "traits": { - "smithy.api#documentation": "

Amazon Resource Name (ARN) of the certificate. This is of the form:

\n\n

\n arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012\n

\n\n

For more information about ARNs, see Amazon Resource Names (ARNs).

" + "smithy.api#documentation": "

Amazon Resource Name (ARN) of the certificate. This is of the form:

\n

\n arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012\n

\n

For more information about ARNs, see Amazon Resource Names (ARNs).

" } }, "DomainName": { @@ -447,6 +462,102 @@ "traits": { "smithy.api#documentation": "

Fully qualified domain name (FQDN), such as www.example.com or example.com, for the\n certificate.

" } + }, + "SubjectAlternativeNameSummaries": { + "target": "com.amazonaws.acm#DomainList", + "traits": { + "smithy.api#documentation": "

One or more domain names (subject alternative names) \n included in the certificate. This\n list contains the domain names that are bound to the public key that is contained in the\n certificate. The subject alternative names include the canonical domain name (CN) of the\n certificate and additional domain names that can be used to connect to the website.

\n

When called by ListCertificates, this parameter will only return the first 100 subject alternative\n names included in the certificate. To display the full list of subject alternative names, use\n DescribeCertificate.

" + } + }, + "HasAdditionalSubjectAlternativeNames": { + "target": "com.amazonaws.acm#NullableBoolean", + "traits": { + "smithy.api#documentation": "

When called by ListCertificates, indicates whether the full list of subject alternative names has\n been included in the response. If false, the response includes all of the subject alternative\n names included in the certificate. If true, the response only includes the first 100 subject\n alternative names included in the certificate. To display the full list of subject alternative\n names, use DescribeCertificate.

" + } + }, + "Status": { + "target": "com.amazonaws.acm#CertificateStatus", + "traits": { + "smithy.api#documentation": "

The status of the certificate.

\n

A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for\n any of the reasons given in the troubleshooting topic Certificate request fails. ACM makes\n repeated attempts to validate a certificate for 72 hours and then times out. If a certificate\n shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS validation or Email validation, and\n try again. If validation succeeds, the certificate enters status ISSUED.

" + } + }, + "Type": { + "target": "com.amazonaws.acm#CertificateType", + "traits": { + "smithy.api#documentation": "

The source of the certificate. For certificates provided by ACM, this value is\n AMAZON_ISSUED. For certificates that you imported with ImportCertificate, this value is IMPORTED. ACM does not provide\n managed renewal for\n imported certificates. For more information about the differences between certificates that\n you import and those that ACM provides, see Importing Certificates in the\n Certificate Manager User Guide.

" + } + }, + "KeyAlgorithm": { + "target": "com.amazonaws.acm#KeyAlgorithm", + "traits": { + "smithy.api#documentation": "

The algorithm that was used to generate the public-private key pair.

" + } + }, + "KeyUsages": { + "target": "com.amazonaws.acm#KeyUsageNames", + "traits": { + "smithy.api#documentation": "

A list of Key Usage X.509 v3 extension objects. Each object is a string value that\n identifies the purpose of the public key contained in the certificate. Possible extension\n values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.

" + } + }, + "ExtendedKeyUsages": { + "target": "com.amazonaws.acm#ExtendedKeyUsageNames", + "traits": { + "smithy.api#documentation": "

Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a\n purpose for which the certificate public key can be used and consists of a name and an object\n identifier (OID).

" + } + }, + "InUse": { + "target": "com.amazonaws.acm#NullableBoolean", + "traits": { + "smithy.api#documentation": "

Indicates whether the certificate is currently in use by any Amazon Web Services resources.

" + } + }, + "Exported": { + "target": "com.amazonaws.acm#NullableBoolean", + "traits": { + "smithy.api#documentation": "

Indicates whether the certificate has been exported. This value exists only when the\n certificate type is PRIVATE.

" + } + }, + "RenewalEligibility": { + "target": "com.amazonaws.acm#RenewalEligibility", + "traits": { + "smithy.api#documentation": "

Specifies whether the certificate is eligible for renewal. At this time, only exported\n private certificates can be renewed with the RenewCertificate\n command.

" + } + }, + "NotBefore": { + "target": "com.amazonaws.acm#TStamp", + "traits": { + "smithy.api#documentation": "

The time before which the certificate is not valid.

" + } + }, + "NotAfter": { + "target": "com.amazonaws.acm#TStamp", + "traits": { + "smithy.api#documentation": "

The time after which the certificate is not valid.

" + } + }, + "CreatedAt": { + "target": "com.amazonaws.acm#TStamp", + "traits": { + "smithy.api#documentation": "

The time at which the certificate was requested.

" + } + }, + "IssuedAt": { + "target": "com.amazonaws.acm#TStamp", + "traits": { + "smithy.api#documentation": "

The time at which the certificate was issued. This value exists only when the certificate\n type is AMAZON_ISSUED.

" + } + }, + "ImportedAt": { + "target": "com.amazonaws.acm#TStamp", + "traits": { + "smithy.api#documentation": "

The date and time when the certificate was imported. This value exists only when the\n certificate type is IMPORTED.

" + } + }, + "RevokedAt": { + "target": "com.amazonaws.acm#TStamp", + "traits": { + "smithy.api#documentation": "

The time at which the certificate was revoked. This value exists only when the certificate\n status is REVOKED.

" + } } }, "traits": { @@ -460,37 +571,43 @@ } }, "com.amazonaws.acm#CertificateTransparencyLoggingPreference": { - "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.acm#CertificateType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IMPORTED", - "name": "IMPORTED" - }, - { - "value": "AMAZON_ISSUED", - "name": "AMAZON_ISSUED" - }, - { - "value": "PRIVATE", - "name": "PRIVATE" - } - ] + "type": "enum", + "members": { + "IMPORTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORTED" + } + }, + "AMAZON_ISSUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AMAZON_ISSUED" + } + }, + "PRIVATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRIVATE" + } + } } }, "com.amazonaws.acm#ConflictException": { @@ -501,7 +618,7 @@ } }, "traits": { - "smithy.api#documentation": "

You are trying to\n update a resource or configuration that is already being created or updated. Wait for the\n previous operation to finish and try again.

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

You are trying to update a resource or configuration that is already being created or\n updated. Wait for the previous operation to finish and try again.

", "smithy.api#error": "client" } }, @@ -510,6 +627,9 @@ "input": { "target": "com.amazonaws.acm#DeleteCertificateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.acm#InvalidArnException" @@ -554,7 +674,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns detailed metadata about the specified ACM certificate.

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

Returns detailed metadata about the specified ACM certificate.

\n

If you have just created a certificate using the RequestCertificate action,\n there is a delay of several seconds before you can retrieve information about it.

", "smithy.waiters#waitable": { "CertificateValidated": { "acceptors": [ @@ -646,22 +766,26 @@ } }, "com.amazonaws.acm#DomainStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING_VALIDATION", - "name": "PENDING_VALIDATION" - }, - { - "value": "SUCCESS", - "name": "SUCCESS" - }, - { - "value": "FAILED", - "name": "FAILED" - } - ] + "type": "enum", + "members": { + "PENDING_VALIDATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING_VALIDATION" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.acm#DomainValidation": { @@ -689,7 +813,7 @@ "ValidationStatus": { "target": "com.amazonaws.acm#DomainStatus", "traits": { - "smithy.api#documentation": "

The validation status of the domain name. This can be one of the following values:

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

The validation status of the domain name. This can be one of the following values:

\n " } }, "ResourceRecord": { @@ -766,7 +890,7 @@ } }, "traits": { - "smithy.api#documentation": "

Object containing\n expiration events options associated with an Amazon Web Services account.

" + "smithy.api#documentation": "

Object containing expiration events options associated with an Amazon Web Services account.

" } }, "com.amazonaws.acm#ExportCertificate": { @@ -805,7 +929,7 @@ "Passphrase": { "target": "com.amazonaws.acm#PassphraseBlob", "traits": { - "smithy.api#documentation": "

Passphrase to associate with the encrypted exported private key. If you want to later\n decrypt the private key, you must have the passphrase. You can use the following OpenSSL\n command to decrypt a private key:

\n

\n openssl rsa -in encrypted_key.pem -out decrypted_key.pem\n

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

Passphrase to associate with the encrypted exported private key.

\n \n

When creating your passphrase, you can use any ASCII character except #, $, or %.

\n
\n

If you want to later decrypt the private key, you must have the passphrase. You can use\n the following OpenSSL command to decrypt a private key. After entering the command, you are\n prompted for the passphrase.

\n

\n openssl rsa -in encrypted_key.pem -out decrypted_key.pem\n

", "smithy.api#required": {} } } @@ -846,7 +970,7 @@ "OID": { "target": "com.amazonaws.acm#String", "traits": { - "smithy.api#documentation": "

An object identifier (OID) for the extension value. OIDs are strings of numbers separated\n by periods. The following OIDs are defined in RFC 3280 and RFC 5280.

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

An object identifier (OID) for the extension value. OIDs are strings of numbers separated\n by periods. The following OIDs are defined in RFC 3280 and RFC 5280.

\n " } } }, @@ -867,133 +991,193 @@ } }, "com.amazonaws.acm#ExtendedKeyUsageName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TLS_WEB_SERVER_AUTHENTICATION", - "name": "TLS_WEB_SERVER_AUTHENTICATION" - }, - { - "value": "TLS_WEB_CLIENT_AUTHENTICATION", - "name": "TLS_WEB_CLIENT_AUTHENTICATION" - }, - { - "value": "CODE_SIGNING", - "name": "CODE_SIGNING" - }, - { - "value": "EMAIL_PROTECTION", - "name": "EMAIL_PROTECTION" - }, - { - "value": "TIME_STAMPING", - "name": "TIME_STAMPING" - }, - { - "value": "OCSP_SIGNING", - "name": "OCSP_SIGNING" - }, - { - "value": "IPSEC_END_SYSTEM", - "name": "IPSEC_END_SYSTEM" - }, - { - "value": "IPSEC_TUNNEL", - "name": "IPSEC_TUNNEL" - }, - { - "value": "IPSEC_USER", - "name": "IPSEC_USER" - }, - { - "value": "ANY", - "name": "ANY" - }, - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "CUSTOM", - "name": "CUSTOM" - } - ] + "type": "enum", + "members": { + "TLS_WEB_SERVER_AUTHENTICATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TLS_WEB_SERVER_AUTHENTICATION" + } + }, + "TLS_WEB_CLIENT_AUTHENTICATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TLS_WEB_CLIENT_AUTHENTICATION" + } + }, + "CODE_SIGNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CODE_SIGNING" + } + }, + "EMAIL_PROTECTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EMAIL_PROTECTION" + } + }, + "TIME_STAMPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIME_STAMPING" + } + }, + "OCSP_SIGNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OCSP_SIGNING" + } + }, + "IPSEC_END_SYSTEM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPSEC_END_SYSTEM" + } + }, + "IPSEC_TUNNEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPSEC_TUNNEL" + } + }, + "IPSEC_USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPSEC_USER" + } + }, + "ANY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ANY" + } + }, + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "CUSTOM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOM" + } + } + } + }, + "com.amazonaws.acm#ExtendedKeyUsageNames": { + "type": "list", + "member": { + "target": "com.amazonaws.acm#ExtendedKeyUsageName" } }, "com.amazonaws.acm#FailureReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NO_AVAILABLE_CONTACTS", - "name": "NO_AVAILABLE_CONTACTS" - }, - { - "value": "ADDITIONAL_VERIFICATION_REQUIRED", - "name": "ADDITIONAL_VERIFICATION_REQUIRED" - }, - { - "value": "DOMAIN_NOT_ALLOWED", - "name": "DOMAIN_NOT_ALLOWED" - }, - { - "value": "INVALID_PUBLIC_DOMAIN", - "name": "INVALID_PUBLIC_DOMAIN" - }, - { - "value": "DOMAIN_VALIDATION_DENIED", - "name": "DOMAIN_VALIDATION_DENIED" - }, - { - "value": "CAA_ERROR", - "name": "CAA_ERROR" - }, - { - "value": "PCA_LIMIT_EXCEEDED", - "name": "PCA_LIMIT_EXCEEDED" - }, - { - "value": "PCA_INVALID_ARN", - "name": "PCA_INVALID_ARN" - }, - { - "value": "PCA_INVALID_STATE", - "name": "PCA_INVALID_STATE" - }, - { - "value": "PCA_REQUEST_FAILED", - "name": "PCA_REQUEST_FAILED" - }, - { - "value": "PCA_NAME_CONSTRAINTS_VALIDATION", - "name": "PCA_NAME_CONSTRAINTS_VALIDATION" - }, - { - "value": "PCA_RESOURCE_NOT_FOUND", - "name": "PCA_RESOURCE_NOT_FOUND" - }, - { - "value": "PCA_INVALID_ARGS", - "name": "PCA_INVALID_ARGS" - }, - { - "value": "PCA_INVALID_DURATION", - "name": "PCA_INVALID_DURATION" - }, - { - "value": "PCA_ACCESS_DENIED", - "name": "PCA_ACCESS_DENIED" - }, - { - "value": "SLR_NOT_FOUND", - "name": "SLR_NOT_FOUND" - }, - { - "value": "OTHER", - "name": "OTHER" - } - ] + "type": "enum", + "members": { + "NO_AVAILABLE_CONTACTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO_AVAILABLE_CONTACTS" + } + }, + "ADDITIONAL_VERIFICATION_REQUIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ADDITIONAL_VERIFICATION_REQUIRED" + } + }, + "DOMAIN_NOT_ALLOWED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOMAIN_NOT_ALLOWED" + } + }, + "INVALID_PUBLIC_DOMAIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_PUBLIC_DOMAIN" + } + }, + "DOMAIN_VALIDATION_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOMAIN_VALIDATION_DENIED" + } + }, + "CAA_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CAA_ERROR" + } + }, + "PCA_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PCA_LIMIT_EXCEEDED" + } + }, + "PCA_INVALID_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PCA_INVALID_ARN" + } + }, + "PCA_INVALID_STATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PCA_INVALID_STATE" + } + }, + "PCA_REQUEST_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PCA_REQUEST_FAILED" + } + }, + "PCA_NAME_CONSTRAINTS_VALIDATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PCA_NAME_CONSTRAINTS_VALIDATION" + } + }, + "PCA_RESOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PCA_RESOURCE_NOT_FOUND" + } + }, + "PCA_INVALID_ARGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PCA_INVALID_ARGS" + } + }, + "PCA_INVALID_DURATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PCA_INVALID_DURATION" + } + }, + "PCA_ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PCA_ACCESS_DENIED" + } + }, + "SLR_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SLR_NOT_FOUND" + } + }, + "OTHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OTHER" + } + } } }, "com.amazonaws.acm#Filters": { @@ -1014,7 +1198,7 @@ "keyTypes": { "target": "com.amazonaws.acm#KeyAlgorithmList", "traits": { - "smithy.api#documentation": "

Specify one or more algorithms that can be used to generate key pairs.

\n

Default filtering returns only RSA_1024 and RSA_2048\n certificates that have at least one domain. To return other certificate types, provide the\n desired type signatures in a comma-separated list. For example, \"keyTypes\":\n [\"RSA_2048,RSA_4096\"] returns both RSA_2048 and RSA_4096\n certificates.

" + "smithy.api#documentation": "

Specify one or more algorithms that can be used to generate key pairs.

\n

Default filtering returns only RSA_1024 and RSA_2048\n certificates that have at least one domain. To return other certificate types, provide the\n desired type signatures in a comma-separated list. For example, \"keyTypes\":\n [\"RSA_2048\",\"RSA_4096\"] returns both RSA_2048 and RSA_4096\n certificates.

" } } }, @@ -1024,6 +1208,9 @@ }, "com.amazonaws.acm#GetAccountConfiguration": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.acm#GetAccountConfigurationResponse" }, @@ -1036,7 +1223,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the account\n configuration options associated with an Amazon Web Services account.

" + "smithy.api#documentation": "

Returns the account configuration options associated with an Amazon Web Services account.

" } }, "com.amazonaws.acm#GetAccountConfigurationResponse": { @@ -1045,7 +1232,7 @@ "ExpiryEvents": { "target": "com.amazonaws.acm#ExpiryEventsConfiguration", "traits": { - "smithy.api#documentation": "

Expiration events\n configuration options associated with the Amazon Web Services account.

" + "smithy.api#documentation": "

Expiration events configuration options associated with the Amazon Web Services account.

" } } } @@ -1144,7 +1331,7 @@ } ], "traits": { - "smithy.api#documentation": "

Imports a certificate into Amazon Web Services Certificate Manager (ACM) to use with services that are integrated with\n ACM. Note that integrated\n services allow only certificate types and keys they support to be associated with\n their resources. Further, their support differs depending on whether the certificate is\n imported into IAM or into ACM. For more information, see the documentation for each\n service. For more information about importing certificates into ACM, see Importing\n Certificates in the Amazon Web Services Certificate Manager User Guide.

\n\n \n

ACM does not provide managed renewal for certificates that you import.

\n
\n\n

Note the following guidelines when importing third party certificates:

\n\n\n \n\n

This operation returns the Amazon\n Resource Name (ARN) of the imported certificate.

" + "smithy.api#documentation": "

Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with\n ACM. Note that integrated\n services allow only certificate types and keys they support to be associated with\n their resources. Further, their support differs depending on whether the certificate is\n imported into IAM or into ACM. For more information, see the documentation for each\n service. For more information about importing certificates into ACM, see Importing\n Certificates in the Certificate Manager User Guide.

\n \n

ACM does not provide managed renewal for certificates that you import.

\n
\n

Note the following guidelines when importing third party certificates:

\n \n

This operation returns the Amazon\n Resource Name (ARN) of the imported certificate.

" } }, "com.amazonaws.acm#ImportCertificateRequest": { @@ -1274,38 +1461,50 @@ } }, "com.amazonaws.acm#KeyAlgorithm": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RSA_1024", - "name": "RSA_1024" - }, - { - "value": "RSA_2048", - "name": "RSA_2048" - }, - { - "value": "RSA_3072", - "name": "RSA_3072" - }, - { - "value": "RSA_4096", - "name": "RSA_4096" - }, - { - "value": "EC_prime256v1", - "name": "EC_prime256v1" - }, - { - "value": "EC_secp384r1", - "name": "EC_secp384r1" - }, - { - "value": "EC_secp521r1", - "name": "EC_secp521r1" - } - ] + "type": "enum", + "members": { + "RSA_1024": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RSA_1024" + } + }, + "RSA_2048": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RSA_2048" + } + }, + "RSA_3072": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RSA_3072" + } + }, + "RSA_4096": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RSA_4096" + } + }, + "EC_prime256v1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC_prime256v1" + } + }, + "EC_secp384r1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC_secp384r1" + } + }, + "EC_secp521r1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC_secp521r1" + } + } } }, "com.amazonaws.acm#KeyAlgorithmList": { @@ -1341,54 +1540,80 @@ } }, "com.amazonaws.acm#KeyUsageName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DIGITAL_SIGNATURE", - "name": "DIGITAL_SIGNATURE" - }, - { - "value": "NON_REPUDIATION", - "name": "NON_REPUDATION" - }, - { - "value": "KEY_ENCIPHERMENT", - "name": "KEY_ENCIPHERMENT" - }, - { - "value": "DATA_ENCIPHERMENT", - "name": "DATA_ENCIPHERMENT" - }, - { - "value": "KEY_AGREEMENT", - "name": "KEY_AGREEMENT" - }, - { - "value": "CERTIFICATE_SIGNING", - "name": "CERTIFICATE_SIGNING" - }, - { - "value": "CRL_SIGNING", - "name": "CRL_SIGNING" - }, - { - "value": "ENCIPHER_ONLY", - "name": "ENCHIPER_ONLY" - }, - { - "value": "DECIPHER_ONLY", - "name": "DECIPHER_ONLY" - }, - { - "value": "ANY", - "name": "ANY" - }, - { - "value": "CUSTOM", - "name": "CUSTOM" - } - ] + "type": "enum", + "members": { + "DIGITAL_SIGNATURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DIGITAL_SIGNATURE" + } + }, + "NON_REPUDATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NON_REPUDIATION" + } + }, + "KEY_ENCIPHERMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEY_ENCIPHERMENT" + } + }, + "DATA_ENCIPHERMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_ENCIPHERMENT" + } + }, + "KEY_AGREEMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEY_AGREEMENT" + } + }, + "CERTIFICATE_SIGNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CERTIFICATE_SIGNING" + } + }, + "CRL_SIGNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CRL_SIGNING" + } + }, + "ENCHIPER_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENCIPHER_ONLY" + } + }, + "DECIPHER_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DECIPHER_ONLY" + } + }, + "ANY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ANY" + } + }, + "CUSTOM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOM" + } + } + } + }, + "com.amazonaws.acm#KeyUsageNames": { + "type": "list", + "member": { + "target": "com.amazonaws.acm#KeyUsageName" } }, "com.amazonaws.acm#LimitExceededException": { @@ -1452,6 +1677,18 @@ "traits": { "smithy.api#documentation": "

Use this parameter when paginating results to specify the maximum number of items to\n return in the response. If additional items exist beyond the number you specify, the\n NextToken element is sent in the response. Use this NextToken\n value in a subsequent request to retrieve additional items.

" } + }, + "SortBy": { + "target": "com.amazonaws.acm#SortBy", + "traits": { + "smithy.api#documentation": "

Specifies the field to sort results by. If you specify SortBy, you must also\n specify SortOrder.

" + } + }, + "SortOrder": { + "target": "com.amazonaws.acm#SortOrder", + "traits": { + "smithy.api#documentation": "

Specifies the order of sorted results. If you specify SortOrder, you must\n also specify SortBy.

" + } } } }, @@ -1518,7 +1755,6 @@ "com.amazonaws.acm#MaxItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -1535,6 +1771,9 @@ "smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]*$" } }, + "com.amazonaws.acm#NullableBoolean": { + "type": "boolean" + }, "com.amazonaws.acm#PassphraseBlob": { "type": "blob", "traits": { @@ -1548,7 +1787,6 @@ "com.amazonaws.acm#PositiveInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1580,6 +1818,9 @@ "input": { "target": "com.amazonaws.acm#PutAccountConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.acm#AccessDeniedException" @@ -1595,7 +1836,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds or modifies\n account-level configurations in ACM.\n

\n

The\n supported configuration option is DaysBeforeExpiry. This option specifies the\n number of days prior to certificate expiration when ACM starts generating\n EventBridge events. ACM sends one event per day per certificate until the\n certificate expires. By default, accounts receive events starting 45 days before certificate\n expiration.

" + "smithy.api#documentation": "

Adds or modifies account-level configurations in ACM.

\n

The supported configuration option is DaysBeforeExpiry. This option specifies\n the number of days prior to certificate expiration when ACM starts generating\n EventBridge events. ACM sends one event per day per certificate until the\n certificate expires. By default, accounts receive events starting 45 days before certificate\n expiration.

" } }, "com.amazonaws.acm#PutAccountConfigurationRequest": { @@ -1604,27 +1845,27 @@ "ExpiryEvents": { "target": "com.amazonaws.acm#ExpiryEventsConfiguration", "traits": { - "smithy.api#documentation": "

Specifies expiration\n events associated with an account.

" + "smithy.api#documentation": "

Specifies expiration events associated with an account.

" } }, "IdempotencyToken": { "target": "com.amazonaws.acm#IdempotencyToken", "traits": { - "smithy.api#documentation": "

Customer-chosen string\n used to distinguish between calls to PutAccountConfiguration. Idempotency tokens\n time out after one hour. If you call PutAccountConfiguration multiple times with\n the same unexpired idempotency token, ACM treats it as the same request and returns the\n original result. If you change the idempotency token for each call, ACM treats each call as\n a new request.

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

Customer-chosen string used to distinguish between calls to\n PutAccountConfiguration. Idempotency tokens time out after one hour. If you\n call PutAccountConfiguration multiple times with the same unexpired idempotency\n token, ACM treats it as the same request and returns the original result. If you change the\n idempotency token for each call, ACM treats each call as a new request.

", "smithy.api#required": {} } } } }, "com.amazonaws.acm#RecordType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CNAME", - "name": "CNAME" + "type": "enum", + "members": { + "CNAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CNAME" } - ] + } } }, "com.amazonaws.acm#RemoveTagsFromCertificate": { @@ -1632,6 +1873,9 @@ "input": { "target": "com.amazonaws.acm#RemoveTagsFromCertificateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.acm#InvalidArnException" @@ -1653,7 +1897,7 @@ } ], "traits": { - "smithy.api#documentation": "

Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If\n you do not specify the value portion of the tag when calling this function, the tag will be\n removed regardless of value. If you specify a value, the tag is removed only if it is\n associated with the specified value.

\n\n

To add tags to a certificate, use the AddTagsToCertificate action. To\n view all of the tags that have been applied to a specific ACM certificate, use the ListTagsForCertificate action.

" + "smithy.api#documentation": "

Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If\n you do not specify the value portion of the tag when calling this function, the tag will be\n removed regardless of value. If you specify a value, the tag is removed only if it is\n associated with the specified value.

\n

To add tags to a certificate, use the AddTagsToCertificate action. To\n view all of the tags that have been applied to a specific ACM certificate, use the ListTagsForCertificate action.

" } }, "com.amazonaws.acm#RemoveTagsFromCertificateRequest": { @@ -1662,7 +1906,7 @@ "CertificateArn": { "target": "com.amazonaws.acm#Arn", "traits": { - "smithy.api#documentation": "

String that contains the ARN of the ACM Certificate with one or more tags that you want\n to remove. This must be of the form:

\n\n

\n arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012\n

\n\n

For more information about ARNs, see Amazon Resource Names (ARNs).

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

String that contains the ARN of the ACM Certificate with one or more tags that you want\n to remove. This must be of the form:

\n

\n arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012\n

\n

For more information about ARNs, see Amazon Resource Names (ARNs).

", "smithy.api#required": {} } }, @@ -1680,6 +1924,9 @@ "input": { "target": "com.amazonaws.acm#RenewCertificateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.acm#InvalidArnException" @@ -1689,7 +1936,7 @@ } ], "traits": { - "smithy.api#documentation": "

Renews an eligible ACM certificate. At this time, only exported private certificates can\n be renewed with this operation. In order to renew your ACM PCA certificates with ACM, you must\n first grant the ACM\n service principal permission to do so. For more information, see Testing Managed Renewal\n in the ACM User Guide.

" + "smithy.api#documentation": "

Renews an eligible ACM certificate. At this time, only exported private certificates can\n be renewed with this operation. In order to renew your ACM Private CA certificates with ACM, you\n must first grant the ACM\n service principal permission to do so. For more information, see Testing Managed Renewal\n in the ACM User Guide.

" } }, "com.amazonaws.acm#RenewCertificateRequest": { @@ -1705,41 +1952,49 @@ } }, "com.amazonaws.acm#RenewalEligibility": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ELIGIBLE", - "name": "ELIGIBLE" - }, - { - "value": "INELIGIBLE", - "name": "INELIGIBLE" + "type": "enum", + "members": { + "ELIGIBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELIGIBLE" + } + }, + "INELIGIBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INELIGIBLE" } - ] + } } }, "com.amazonaws.acm#RenewalStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING_AUTO_RENEWAL", - "name": "PENDING_AUTO_RENEWAL" - }, - { - "value": "PENDING_VALIDATION", - "name": "PENDING_VALIDATION" - }, - { - "value": "SUCCESS", - "name": "SUCCESS" - }, - { - "value": "FAILED", - "name": "FAILED" - } - ] + "type": "enum", + "members": { + "PENDING_AUTO_RENEWAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING_AUTO_RENEWAL" + } + }, + "PENDING_VALIDATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING_VALIDATION" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.acm#RenewalSummary": { @@ -1809,7 +2064,7 @@ } ], "traits": { - "smithy.api#documentation": "

Requests an ACM certificate for use with other Amazon Web Services services. To request an ACM\n certificate, you must specify a fully qualified domain name (FQDN) in the\n DomainName parameter. You can also specify additional FQDNs in the\n SubjectAlternativeNames parameter.

\n

If you are requesting a private certificate, domain validation is not required. If you are\n requesting a public certificate, each domain name that you specify must be validated to verify\n that you own or control the domain. You can use DNS validation or email validation.\n We recommend that you use DNS validation. ACM issues public certificates after receiving\n approval from the domain owner.

\n \n \n

ACM behavior differs from the https://tools.ietf.org/html/rfc6125#appendix-B.2RFC 6125 specification of the\n certificate validation process. first checks for a subject alternative name, and, if it\n finds one, ignores the common name (CN)

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

Requests an ACM certificate for use with other Amazon Web Services services. To request an ACM\n certificate, you must specify a fully qualified domain name (FQDN) in the\n DomainName parameter. You can also specify additional FQDNs in the\n SubjectAlternativeNames parameter.

\n

If you are requesting a private certificate, domain validation is not required. If you are\n requesting a public certificate, each domain name that you specify must be validated to verify\n that you own or control the domain. You can use DNS validation or email validation.\n We recommend that you use DNS validation. ACM issues public certificates after receiving\n approval from the domain owner.

\n \n

ACM behavior differs from the RFC 6125\n specification of the certificate validation process. ACM first checks for a Subject\n Alternative Name, and, if it finds one, ignores the common name (CN).

\n
\n

After successful completion of the RequestCertificate action, there is a\n delay of several seconds before you can retrieve information about the new certificate.

" } }, "com.amazonaws.acm#RequestCertificateRequest": { @@ -1818,7 +2073,7 @@ "DomainName": { "target": "com.amazonaws.acm#DomainNameString", "traits": { - "smithy.api#documentation": "

Fully qualified domain name (FQDN), such as www.example.com, that you want to secure with\n an ACM certificate. Use an asterisk (*) to create a wildcard certificate that protects\n several sites in the same domain. For example, *.example.com protects www.example.com,\n site.example.com, and images.example.com.

\n\n

The first domain name you enter cannot exceed 64 octets, including periods. Each\n subsequent Subject Alternative Name (SAN), however, can be up to 253 octets in length.

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

Fully qualified domain name (FQDN), such as www.example.com, that you want to secure with\n an ACM certificate. Use an asterisk (*) to create a wildcard certificate that protects\n several sites in the same domain. For example, *.example.com protects www.example.com,\n site.example.com, and images.example.com.

\n

In compliance with RFC\n 5280, the length of the domain name (technically, the Common Name) that you provide\n cannot exceed 64 octets (characters), including periods. To add a longer domain name, specify it in the Subject Alternative\n Name field, which supports names up to 253 octets in length.

", "smithy.api#required": {} } }, @@ -1831,7 +2086,7 @@ "SubjectAlternativeNames": { "target": "com.amazonaws.acm#DomainList", "traits": { - "smithy.api#documentation": "

Additional FQDNs to be included in the Subject Alternative Name extension of the ACM\n certificate. For example, add the name www.example.net to a certificate for which the\n DomainName field is www.example.com if users can reach your site by using\n either name. The maximum number of domain names that you can add to an ACM certificate is\n 100. However, the initial quota is 10 domain names. If you need more than 10 names, you must\n request a quota increase. For more information, see Quotas.

\n\n

The maximum length of a SAN DNS name is 253 octets. The name is made up of multiple\n labels separated by periods. No label can be longer than 63 octets. Consider the following\n examples:

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

Additional FQDNs to be included in the Subject Alternative Name extension of the ACM\n certificate. For example, add the name www.example.net to a certificate for which the\n DomainName field is www.example.com if users can reach your site by using\n either name. The maximum number of domain names that you can add to an ACM certificate is\n 100. However, the initial quota is 10 domain names. If you need more than 10 names, you must\n request a quota increase. For more information, see Quotas.

\n

The maximum length of a SAN DNS name is 253 octets. The name is made up of multiple\n labels separated by periods. No label can be longer than 63 octets. Consider the following\n examples:

\n " } }, "IdempotencyToken": { @@ -1855,7 +2110,7 @@ "CertificateAuthorityArn": { "target": "com.amazonaws.acm#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used\n to issue the certificate. If you do not provide an ARN and you are trying to request a private\n certificate, ACM will attempt to issue a public certificate. For more information about\n private CAs, see the Amazon Web Services Certificate Manager Private Certificate Authority (PCA) user guide. The ARN must have the following form:

\n\n

\n arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used\n to issue the certificate. If you do not provide an ARN and you are trying to request a private\n certificate, ACM will attempt to issue a public certificate. For more information about\n private CAs, see the Certificate Manager Private Certificate Authority user guide. The ARN must have the following form:

\n

\n arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n

" } }, "Tags": { @@ -1894,6 +2149,9 @@ "input": { "target": "com.amazonaws.acm#ResendValidationEmailRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.acm#InvalidArnException" @@ -1918,7 +2176,7 @@ "CertificateArn": { "target": "com.amazonaws.acm#Arn", "traits": { - "smithy.api#documentation": "

String that contains the ARN of the requested certificate. The certificate ARN is\n generated and returned by the RequestCertificate action as soon as the\n request is made. By default, using this parameter causes email to be sent to all top-level\n domains you specified in the certificate request. The ARN must be of the form:

\n\n

\n arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012\n

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

String that contains the ARN of the requested certificate. The certificate ARN is\n generated and returned by the RequestCertificate action as soon as the\n request is made. By default, using this parameter causes email to be sent to all top-level\n domains you specified in the certificate request. The ARN must be of the form:

\n

\n arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012\n

", "smithy.api#required": {} } }, @@ -1988,59 +2246,105 @@ } }, "traits": { - "smithy.api#documentation": "

Contains a DNS record value that you can use to validate ownership or control\n of a domain. This is used by the DescribeCertificate action.

" + "smithy.api#documentation": "

Contains a DNS record value that you can use to validate ownership or control of a domain.\n This is used by the DescribeCertificate action.

" } }, "com.amazonaws.acm#RevocationReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNSPECIFIED", - "name": "UNSPECIFIED" - }, - { - "value": "KEY_COMPROMISE", - "name": "KEY_COMPROMISE" - }, - { - "value": "CA_COMPROMISE", - "name": "CA_COMPROMISE" - }, - { - "value": "AFFILIATION_CHANGED", - "name": "AFFILIATION_CHANGED" - }, - { - "value": "SUPERCEDED", - "name": "SUPERCEDED" - }, - { - "value": "CESSATION_OF_OPERATION", - "name": "CESSATION_OF_OPERATION" - }, - { - "value": "CERTIFICATE_HOLD", - "name": "CERTIFICATE_HOLD" - }, - { - "value": "REMOVE_FROM_CRL", - "name": "REMOVE_FROM_CRL" - }, - { - "value": "PRIVILEGE_WITHDRAWN", - "name": "PRIVILEGE_WITHDRAWN" - }, - { - "value": "A_A_COMPROMISE", - "name": "A_A_COMPROMISE" - } - ] + "type": "enum", + "members": { + "UNSPECIFIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNSPECIFIED" + } + }, + "KEY_COMPROMISE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEY_COMPROMISE" + } + }, + "CA_COMPROMISE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CA_COMPROMISE" + } + }, + "AFFILIATION_CHANGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AFFILIATION_CHANGED" + } + }, + "SUPERCEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUPERCEDED" + } + }, + "CESSATION_OF_OPERATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CESSATION_OF_OPERATION" + } + }, + "CERTIFICATE_HOLD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CERTIFICATE_HOLD" + } + }, + "REMOVE_FROM_CRL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REMOVE_FROM_CRL" + } + }, + "PRIVILEGE_WITHDRAWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRIVILEGE_WITHDRAWN" + } + }, + "A_A_COMPROMISE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "A_A_COMPROMISE" + } + } } }, "com.amazonaws.acm#ServiceErrorMessage": { "type": "string" }, + "com.amazonaws.acm#SortBy": { + "type": "enum", + "members": { + "CREATED_AT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATED_AT" + } + } + } + }, + "com.amazonaws.acm#SortOrder": { + "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.acm#String": { "type": "string" }, @@ -2124,7 +2428,7 @@ "code": "Throttling", "httpResponseCode": 400 }, - "smithy.api#documentation": "

The request was denied\n because it exceeded a quota.

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

The request was denied because it exceeded a quota.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -2146,6 +2450,9 @@ "input": { "target": "com.amazonaws.acm#UpdateCertificateOptionsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.acm#InvalidArnException" @@ -2201,7 +2508,7 @@ "code": "ValidationError", "httpResponseCode": 400 }, - "smithy.api#documentation": "

The supplied input\n failed to satisfy constraints of an Amazon Web Services service.

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

The supplied input failed to satisfy constraints of an Amazon Web Services service.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -2210,18 +2517,20 @@ "type": "string" }, "com.amazonaws.acm#ValidationMethod": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EMAIL", - "name": "EMAIL" - }, - { - "value": "DNS", - "name": "DNS" - } - ] + "type": "enum", + "members": { + "EMAIL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EMAIL" + } + }, + "DNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DNS" + } + } } } } diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index 07972f1f4a1..a10eb2fc9da 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -52914,6 +52914,12 @@ "traits": { "smithy.api#enumValue": "p4de.24xlarge" } + }, + "u_3tb1_56xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "u-3tb1.56xlarge" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/emr-serverless.json b/codegen/sdk-codegen/aws-models/emr-serverless.json index cdd869bc8c1..b93dc1afcb2 100644 --- a/codegen/sdk-codegen/aws-models/emr-serverless.json +++ b/codegen/sdk-codegen/aws-models/emr-serverless.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.emrserverless#Application": { "type": "structure", @@ -93,7 +93,7 @@ "autoStopConfiguration": { "target": "com.amazonaws.emrserverless#AutoStopConfig", "traits": { - "smithy.api#documentation": "

The configuration for an application to automatically stop after a certain amount of time being idle.

" + "smithy.api#documentation": "

The configuration for an application to automatically stop after a certain amount of\n time being idle.

" } }, "networkConfiguration": { @@ -210,7 +210,7 @@ } }, "com.amazonaws.emrserverless#ApplicationStateSet": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.emrserverless#ApplicationState" }, @@ -218,7 +218,8 @@ "smithy.api#length": { "min": 1, "max": 7 - } + }, + "smithy.api#uniqueItems": {} } }, "com.amazonaws.emrserverless#ApplicationSummary": { @@ -297,7 +298,7 @@ "enabled": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Enables the application to automatically start on job submission. Defaults to true.

" + "smithy.api#documentation": "

Enables the application to automatically start on job submission. Defaults to\n true.

" } } }, @@ -311,14 +312,14 @@ "enabled": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.

" + "smithy.api#documentation": "

Enables the application to automatically stop after a certain amount of time being idle.\n Defaults to true.

" } }, "idleTimeoutMinutes": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.

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

The amount of idle time in minutes after which your application will automatically stop.\n Defaults to 15 minutes.

", "smithy.api#range": { "min": 1, "max": 10080 @@ -327,11 +328,31 @@ } }, "traits": { - "smithy.api#documentation": "

The configuration for an application to automatically stop after a certain amount of time being idle.

" + "smithy.api#documentation": "

The configuration for an application to automatically stop after a certain amount of\n time being idle.

" } }, "com.amazonaws.emrserverless#AwsToledoWebService": { "type": "service", + "version": "2021-07-13", + "operations": [ + { + "target": "com.amazonaws.emrserverless#ListTagsForResource" + }, + { + "target": "com.amazonaws.emrserverless#TagResource" + }, + { + "target": "com.amazonaws.emrserverless#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.emrserverless#ApplicationResource" + }, + { + "target": "com.amazonaws.emrserverless#JobRunResource" + } + ], "traits": { "aws.api#service": { "sdkId": "EMR Serverless", @@ -364,27 +385,7 @@ }, "smithy.api#documentation": "

Amazon EMR Serverless is a new deployment option for Amazon EMR. EMR Serverless provides\n a serverless runtime environment that simplifies running analytics applications using the\n latest open source frameworks such as Apache Spark and Apache Hive. With EMR Serverless,\n you don’t have to configure, optimize, secure, or operate clusters to run applications with\n these frameworks.

\n

The API reference to Amazon EMR Serverless is emr-serverless. The\n emr-serverless prefix is used in the following scenarios:

\n ", "smithy.api#title": "EMR Serverless" - }, - "version": "2021-07-13", - "operations": [ - { - "target": "com.amazonaws.emrserverless#ListTagsForResource" - }, - { - "target": "com.amazonaws.emrserverless#TagResource" - }, - { - "target": "com.amazonaws.emrserverless#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.emrserverless#ApplicationResource" - }, - { - "target": "com.amazonaws.emrserverless#JobRunResource" - } - ] + } }, "com.amazonaws.emrserverless#CancelJobRun": { "type": "operation", @@ -639,7 +640,7 @@ "autoStopConfiguration": { "target": "com.amazonaws.emrserverless#AutoStopConfig", "traits": { - "smithy.api#documentation": "

The configuration for an application to automatically stop after a certain amount of time being idle.

" + "smithy.api#documentation": "

The configuration for an application to automatically stop after a certain amount of\n time being idle.

" } }, "networkConfiguration": { @@ -738,6 +739,7 @@ "com.amazonaws.emrserverless#Duration": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000000 @@ -845,6 +847,67 @@ } } }, + "com.amazonaws.emrserverless#GetDashboardForJobRun": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#GetDashboardForJobRunRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#GetDashboardForJobRunResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a URL to access the job run dashboard.

", + "smithy.api#http": { + "method": "GET", + "uri": "/applications/{applicationId}/jobruns/{jobRunId}/dashboard" + } + } + }, + "com.amazonaws.emrserverless#GetDashboardForJobRunRequest": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "jobRunId": { + "target": "com.amazonaws.emrserverless#JobRunId", + "traits": { + "smithy.api#documentation": "

The ID of the job run.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "jobRunId" + } + } + } + }, + "com.amazonaws.emrserverless#GetDashboardForJobRunResponse": { + "type": "structure", + "members": { + "url": { + "target": "com.amazonaws.emrserverless#Url", + "traits": { + "smithy.api#documentation": "

The URL to view job run's dashboard.

" + } + } + } + }, "com.amazonaws.emrserverless#GetJobRun": { "type": "operation", "input": { @@ -976,6 +1039,7 @@ "workerCount": { "target": "com.amazonaws.emrserverless#WorkerCounts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of workers in the initial capacity configuration.

", "smithy.api#required": {} } @@ -1156,7 +1220,7 @@ "totalResourceUtilization": { "target": "com.amazonaws.emrserverless#TotalResourceUtilization", "traits": { - "smithy.api#documentation": "

The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated,\n rounded up to the nearest second.

" + "smithy.api#documentation": "

The aggregate vCPU, memory, and storage resources used from the time job start executing\n till the time job is terminated, rounded up to the nearest second.

" } }, "networkConfiguration": { @@ -1165,7 +1229,7 @@ "totalExecutionDurationSeconds": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The job run total execution duration in seconds. This field is only available for job runs in a COMPLETED, FAILED, or CANCELLED state.

" + "smithy.api#documentation": "

The job run total execution duration in seconds. This field is only available for job\n runs in a COMPLETED, FAILED, or CANCELLED\n state.

" } } }, @@ -1204,7 +1268,12 @@ }, "list": { "target": "com.amazonaws.emrserverless#ListJobRuns" - } + }, + "operations": [ + { + "target": "com.amazonaws.emrserverless#GetDashboardForJobRun" + } + ] }, "com.amazonaws.emrserverless#JobRunState": { "type": "string", @@ -1246,7 +1315,7 @@ } }, "com.amazonaws.emrserverless#JobRunStateSet": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.emrserverless#JobRunState" }, @@ -1254,7 +1323,8 @@ "smithy.api#length": { "min": 0, "max": 8 - } + }, + "smithy.api#uniqueItems": {} } }, "com.amazonaws.emrserverless#JobRunSummary": { @@ -1402,7 +1472,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of applications that can be listed.

", "smithy.api#httpQuery": "maxResults", "smithy.api#range": { @@ -1414,7 +1484,7 @@ "states": { "target": "com.amazonaws.emrserverless#ApplicationStateSet", "traits": { - "smithy.api#documentation": "

An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

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

An optional filter for application states. Note that if this filter contains multiple\n states, the resulting list will be grouped by the state.

", "smithy.api#httpQuery": "states" } } @@ -1491,7 +1561,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of job runs that can be listed.

", "smithy.api#httpQuery": "maxResults", "smithy.api#range": { @@ -1517,7 +1587,7 @@ "states": { "target": "com.amazonaws.emrserverless#JobRunStateSet", "traits": { - "smithy.api#documentation": "

An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

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

An optional filter for job run states. Note that if this filter contains multiple\n states, the resulting list will be grouped by the state.

", "smithy.api#httpQuery": "states" } } @@ -1575,7 +1645,7 @@ "resourceArn": { "target": "com.amazonaws.emrserverless#ResourceArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.

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

The Amazon Resource Name (ARN) that identifies the resource to list the tags for.\n Currently, the supported resources are Amazon EMR Serverless applications and job\n runs.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1599,7 +1669,7 @@ "enabled": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Enables managed logging and defaults to true. If set to false, managed logging will be turned off.

" + "smithy.api#documentation": "

Enables managed logging and defaults to true. If set to false, managed logging will be\n turned off.

" } }, "encryptionKeyArn": { @@ -1998,8 +2068,8 @@ "executionTimeoutMinutes": { "target": "com.amazonaws.emrserverless#Duration", "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.

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

The maximum duration for the job run to run. If the job run runs beyond this duration,\n it will be automatically cancelled.

" } }, "name": { @@ -2196,7 +2266,7 @@ "resourceArn": { "target": "com.amazonaws.emrserverless#ResourceArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.

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

The Amazon Resource Name (ARN) that identifies the resource to list the tags for.\n Currently, the supported resources are Amazon EMR Serverless applications and job\n runs.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2230,24 +2300,24 @@ "vCPUHour": { "target": "smithy.api#Double", "traits": { - "smithy.api#documentation": "

The aggregated vCPU used per hour from the time job start executing till the time job is terminated.

" + "smithy.api#documentation": "

The aggregated vCPU used per hour from the time job start executing till the time job is\n terminated.

" } }, "memoryGBHour": { "target": "smithy.api#Double", "traits": { - "smithy.api#documentation": "

The aggregated memory used per hour from the time job start executing till the time job is terminated.

" + "smithy.api#documentation": "

The aggregated memory used per hour from the time job start executing till the time job\n is terminated.

" } }, "storageGBHour": { "target": "smithy.api#Double", "traits": { - "smithy.api#documentation": "

The aggregated storage used per hour from the time job start executing till the time job is terminated.

" + "smithy.api#documentation": "

The aggregated storage used per hour from the time job start executing till the time job\n is terminated.

" } } }, "traits": { - "smithy.api#documentation": "

The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated,\n rounded up to the nearest second.

" + "smithy.api#documentation": "

The aggregate vCPU, memory, and storage resources used from the time job start executing\n till the time job is terminated, rounded up to the nearest second.

" } }, "com.amazonaws.emrserverless#UntagResource": { @@ -2284,7 +2354,7 @@ "resourceArn": { "target": "com.amazonaws.emrserverless#ResourceArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.

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

The Amazon Resource Name (ARN) that identifies the resource to list the tags for.\n Currently, the supported resources are Amazon EMR Serverless applications and job\n runs.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2371,7 +2441,7 @@ "autoStopConfiguration": { "target": "com.amazonaws.emrserverless#AutoStopConfig", "traits": { - "smithy.api#documentation": "

The configuration for an application to automatically stop after a certain amount of time being idle.

" + "smithy.api#documentation": "

The configuration for an application to automatically stop after a certain amount of\n time being idle.

" } }, "networkConfiguration": { @@ -2401,6 +2471,15 @@ "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDBFF-\\uDC00\\uDFFF\\r\\n\\t]*" } }, + "com.amazonaws.emrserverless#Url": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, "com.amazonaws.emrserverless#ValidationException": { "type": "structure", "members": { @@ -2420,6 +2499,7 @@ "com.amazonaws.emrserverless#WorkerCounts": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000000 diff --git a/codegen/sdk-codegen/aws-models/fsx.json b/codegen/sdk-codegen/aws-models/fsx.json index d6162772772..f8209ae5fd5 100644 --- a/codegen/sdk-codegen/aws-models/fsx.json +++ b/codegen/sdk-codegen/aws-models/fsx.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -42,21 +42,6 @@ }, "com.amazonaws.fsx#AWSSimbaAPIService_v20180301": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "FSx", - "arnNamespace": "fsx", - "cloudFormationName": "FSx", - "cloudTrailEventSource": "fsx.amazonaws.com", - "endpointPrefix": "fsx" - }, - "aws.auth#sigv4": { - "name": "fsx" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Amazon FSx is a fully managed service that makes it easy for storage and\n application administrators to launch and use shared file storage.

", - "smithy.api#title": "Amazon FSx" - }, "version": "2018-03-01", "operations": [ { @@ -77,6 +62,9 @@ { "target": "com.amazonaws.fsx#CreateDataRepositoryTask" }, + { + "target": "com.amazonaws.fsx#CreateFileCache" + }, { "target": "com.amazonaws.fsx#CreateFileSystem" }, @@ -101,6 +89,9 @@ { "target": "com.amazonaws.fsx#DeleteDataRepositoryAssociation" }, + { + "target": "com.amazonaws.fsx#DeleteFileCache" + }, { "target": "com.amazonaws.fsx#DeleteFileSystem" }, @@ -122,6 +113,9 @@ { "target": "com.amazonaws.fsx#DescribeDataRepositoryTasks" }, + { + "target": "com.amazonaws.fsx#DescribeFileCaches" + }, { "target": "com.amazonaws.fsx#DescribeFileSystemAliases" }, @@ -158,6 +152,9 @@ { "target": "com.amazonaws.fsx#UpdateDataRepositoryAssociation" }, + { + "target": "com.amazonaws.fsx#UpdateFileCache" + }, { "target": "com.amazonaws.fsx#UpdateFileSystem" }, @@ -170,7 +167,22 @@ { "target": "com.amazonaws.fsx#UpdateVolume" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "FSx", + "arnNamespace": "fsx", + "cloudFormationName": "FSx", + "cloudTrailEventSource": "fsx.amazonaws.com", + "endpointPrefix": "fsx" + }, + "aws.auth#sigv4": { + "name": "fsx" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Amazon FSx is a fully managed service that makes it easy for storage and\n application administrators to launch and use shared file storage.

", + "smithy.api#title": "Amazon FSx" + } }, "com.amazonaws.fsx#ActiveDirectoryBackupAttributes": { "type": "structure", @@ -221,27 +233,35 @@ } }, "com.amazonaws.fsx#ActiveDirectoryErrorType": { - "type": "string", + "type": "enum", + "members": { + "DOMAIN_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOMAIN_NOT_FOUND" + } + }, + "INCOMPATIBLE_DOMAIN_MODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INCOMPATIBLE_DOMAIN_MODE" + } + }, + "WRONG_VPC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WRONG_VPC" + } + }, + "INVALID_DOMAIN_STAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_DOMAIN_STAGE" + } + } + }, "traits": { - "smithy.api#documentation": "

The type of error relating to Microsoft Active Directory. NOT_FOUND means that no\n directory was found by specifying the given directory. INCOMPATIBLE_MODE means that the\n directory specified is not a Microsoft AD directory. WRONG_VPC means that the specified\n directory isn't accessible from the specified VPC. WRONG_STAGE means that the\n specified directory isn't currently in the ACTIVE state.

", - "smithy.api#enum": [ - { - "value": "DOMAIN_NOT_FOUND", - "name": "DOMAIN_NOT_FOUND" - }, - { - "value": "INCOMPATIBLE_DOMAIN_MODE", - "name": "INCOMPATIBLE_DOMAIN_MODE" - }, - { - "value": "WRONG_VPC", - "name": "WRONG_VPC" - }, - { - "value": "INVALID_DOMAIN_STAGE", - "name": "INVALID_DOMAIN_STAGE" - } - ] + "smithy.api#documentation": "

The type of error relating to Microsoft Active Directory. NOT_FOUND means that no\n directory was found by specifying the given directory. INCOMPATIBLE_MODE means that the\n directory specified is not a Microsoft AD directory. WRONG_VPC means that the specified\n directory isn't accessible from the specified VPC. WRONG_STAGE means that the\n specified directory isn't currently in the ACTIVE state.

" } }, "com.amazonaws.fsx#ActiveDirectoryFullyQualifiedName": { @@ -324,39 +344,53 @@ } }, "com.amazonaws.fsx#AdministrativeActionType": { - "type": "string", + "type": "enum", + "members": { + "FILE_SYSTEM_UPDATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_SYSTEM_UPDATE" + } + }, + "STORAGE_OPTIMIZATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STORAGE_OPTIMIZATION" + } + }, + "FILE_SYSTEM_ALIAS_ASSOCIATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_SYSTEM_ALIAS_ASSOCIATION" + } + }, + "FILE_SYSTEM_ALIAS_DISASSOCIATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_SYSTEM_ALIAS_DISASSOCIATION" + } + }, + "VOLUME_UPDATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VOLUME_UPDATE" + } + }, + "SNAPSHOT_UPDATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNAPSHOT_UPDATE" + } + }, + "RELEASE_NFS_V3_LOCKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RELEASE_NFS_V3_LOCKS" + } + } + }, "traits": { - "smithy.api#documentation": "

Describes the type of administrative action, as follows:

\n ", - "smithy.api#enum": [ - { - "value": "FILE_SYSTEM_UPDATE", - "name": "FILE_SYSTEM_UPDATE" - }, - { - "value": "STORAGE_OPTIMIZATION", - "name": "STORAGE_OPTIMIZATION" - }, - { - "value": "FILE_SYSTEM_ALIAS_ASSOCIATION", - "name": "FILE_SYSTEM_ALIAS_ASSOCIATION" - }, - { - "value": "FILE_SYSTEM_ALIAS_DISASSOCIATION", - "name": "FILE_SYSTEM_ALIAS_DISASSOCIATION" - }, - { - "value": "VOLUME_UPDATE", - "name": "VOLUME_UPDATE" - }, - { - "value": "SNAPSHOT_UPDATE", - "name": "SNAPSHOT_UPDATE" - }, - { - "value": "RELEASE_NFS_V3_LOCKS", - "name": "RELEASE_NFS_V3_LOCKS" - } - ] + "smithy.api#documentation": "

Describes the type of administrative action, as follows:

\n " } }, "com.amazonaws.fsx#AdministrativeActions": { @@ -392,30 +426,38 @@ } }, "com.amazonaws.fsx#AliasLifecycle": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AVAILABLE", - "name": "AVAILABLE" - }, - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "CREATE_FAILED", - "name": "CREATE_FAILED" - }, - { - "value": "DELETE_FAILED", - "name": "DELETE_FAILED" - } - ] + "type": "enum", + "members": { + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + }, + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "CREATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_FAILED" + } + }, + "DELETE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_FAILED" + } + } } }, "com.amazonaws.fsx#Aliases": { @@ -534,12 +576,12 @@ "Events": { "target": "com.amazonaws.fsx#EventTypes", "traits": { - "smithy.api#documentation": "

The AutoExportPolicy can have the following event values:

\n \n

You can define any combination of event types for your AutoExportPolicy.

" + "smithy.api#documentation": "

The AutoExportPolicy can have the following event values:

\n \n

You can define any combination of event types for your AutoExportPolicy.

" } } }, "traits": { - "smithy.api#documentation": "

Describes a data repository association's automatic export policy. The\n AutoExportPolicy defines the types of updated objects on the\n file system that will be automatically exported to the data repository.\n As you create, modify, or delete files, Amazon FSx automatically\n exports the defined changes asynchronously once your application finishes\n modifying the file.

\n

This AutoExportPolicy is supported only for file systems with the\n Persistent_2 deployment type.

" + "smithy.api#documentation": "

Describes a data repository association's automatic export policy. The\n AutoExportPolicy defines the types of updated objects on the\n file system that will be automatically exported to the data repository.\n As you create, modify, or delete files, Amazon FSx for Lustre \n automatically exports the defined changes asynchronously once your application finishes\n modifying the file.

\n

This AutoExportPolicy is supported only for Amazon FSx for Lustre\n file systems with the Persistent_2 deployment type.

" } }, "com.amazonaws.fsx#AutoImportPolicy": { @@ -553,36 +595,41 @@ } }, "traits": { - "smithy.api#documentation": "

Describes the data repository association's automatic import policy.\n The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory\n listings up to date by importing changes to your file system as you modify\n objects in a linked S3 bucket.

\n

This AutoImportPolicy is supported only for file systems\n with the Persistent_2 deployment type.

" + "smithy.api#documentation": "

Describes the data repository association's automatic import policy.\n The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory\n listings up to date by importing changes to your Amazon FSx for Lustre file system\n as you modify objects in a linked S3 bucket.

\n

The AutoImportPolicy is supported only for Amazon FSx for Lustre\n file systems with the Persistent_2 deployment type.

" } }, "com.amazonaws.fsx#AutoImportPolicyType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "NEW", - "name": "NEW" - }, - { - "value": "NEW_CHANGED", - "name": "NEW_CHANGED" - }, - { - "value": "NEW_CHANGED_DELETED", - "name": "NEW_CHANGED_DELETED" - } - ] + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "NEW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW" + } + }, + "NEW_CHANGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW_CHANGED" + } + }, + "NEW_CHANGED_DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW_CHANGED_DELETED" + } + } } }, "com.amazonaws.fsx#AutomaticBackupRetentionDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The number of days to retain automatic backups. Setting this property to\n 0 disables automatic backups. You can retain automatic backups for a\n maximum of 90 days. The default is 0.

", "smithy.api#range": { "min": 0, @@ -753,39 +800,53 @@ } }, "com.amazonaws.fsx#BackupLifecycle": { - "type": "string", + "type": "enum", + "members": { + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + }, + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "TRANSFERRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TRANSFERRING" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "COPYING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COPYING" + } + } + }, "traits": { - "smithy.api#documentation": "

The lifecycle status of the backup.

\n ", - "smithy.api#enum": [ - { - "value": "AVAILABLE", - "name": "AVAILABLE" - }, - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "TRANSFERRING", - "name": "TRANSFERRING" - }, - { - "value": "DELETED", - "name": "DELETED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "COPYING", - "name": "COPYING" - } - ] + "smithy.api#documentation": "

The lifecycle status of the backup.

\n " } }, "com.amazonaws.fsx#BackupNotFound": { @@ -819,23 +880,29 @@ } }, "com.amazonaws.fsx#BackupType": { - "type": "string", - "traits": { - "smithy.api#documentation": "

The type of the backup.

", - "smithy.api#enum": [ - { - "value": "AUTOMATIC", - "name": "AUTOMATIC" - }, - { - "value": "USER_INITIATED", - "name": "USER_INITIATED" - }, - { - "value": "AWS_BACKUP", - "name": "AWS_BACKUP" + "type": "enum", + "members": { + "AUTOMATIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTOMATIC" + } + }, + "USER_INITIATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER_INITIATED" + } + }, + "AWS_BACKUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_BACKUP" } - ] + } + }, + "traits": { + "smithy.api#documentation": "

The type of the backup.

" } }, "com.amazonaws.fsx#Backups": { @@ -864,10 +931,7 @@ } }, "com.amazonaws.fsx#BatchImportMetaDataOnCreate": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.fsx#CancelDataRepositoryTask": { "type": "operation", @@ -931,6 +995,15 @@ } } }, + "com.amazonaws.fsx#CapacityToRelease": { + "type": "long", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 2147483647 + } + } + }, "com.amazonaws.fsx#ClientRequestToken": { "type": "string", "traits": { @@ -978,7 +1051,6 @@ "com.amazonaws.fsx#CoolingPeriod": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2, "max": 183 @@ -1077,6 +1149,9 @@ } } }, + "com.amazonaws.fsx#CopyTagsToDataRepositoryAssociations": { + "type": "boolean" + }, "com.amazonaws.fsx#CreateBackup": { "type": "operation", "input": { @@ -1192,7 +1267,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Amazon FSx for Lustre data repository association (DRA). A data\n repository association is a link between a directory on the file system and\n an Amazon S3 bucket or prefix. You can have a maximum of 8 data repository\n associations on a file system. Data repository associations are supported only\n for file systems with the Persistent_2 deployment type.

\n

Each data repository association must have a unique Amazon FSx file\n system directory and a unique S3 bucket or prefix associated with it. You\n can configure a data repository association for automatic import only,\n for automatic export only, or for both. To learn more about linking a\n data repository to your file system, see \n Linking your file system to an S3 bucket.

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

Creates an Amazon FSx for Lustre data repository association (DRA). A data\n repository association is a link between a directory on the file system and\n an Amazon S3 bucket or prefix. You can have a maximum of 8 data repository\n associations on a file system. Data repository associations are supported only\n for file systems with the Persistent_2 deployment type.

\n

Each data repository association must have a unique Amazon FSx file\n system directory and a unique S3 bucket or prefix associated with it. You\n can configure a data repository association for automatic import only,\n for automatic export only, or for both. To learn more about linking a\n data repository to your file system, see \n Linking your file system to an S3 bucket.

\n \n

\n CreateDataRepositoryAssociation isn't supported\n on Amazon File Cache resources. To create a DRA on Amazon File Cache,\n use the CreateFileCache operation.

\n
", "smithy.api#idempotent": {} } }, @@ -1208,8 +1283,7 @@ "FileSystemPath": { "target": "com.amazonaws.fsx#Namespace", "traits": { - "smithy.api#documentation": "

A path on the file system that points to a high-level directory (such\n as /ns1/) or subdirectory (such as /ns1/subdir/)\n that will be mapped 1-1 with DataRepositoryPath.\n The leading forward slash in the name is required. Two data repository\n associations cannot have overlapping file system paths. For example, if\n a data repository is associated with file system path /ns1/,\n then you cannot link another data repository with file system\n path /ns1/ns2.

\n

This path specifies where in your file system files will be exported\n from or imported to. This file system directory can be linked to only one\n Amazon S3 bucket, and no other S3 bucket can be linked to the directory.

\n \n

If you specify only a forward slash (/) as the file system\n path, you can link only 1 data repository to the file system. You can only specify\n \"/\" as the file system path for the first data repository associated with a file system.

\n
", - "smithy.api#required": {} + "smithy.api#documentation": "

A path on the file system that points to a high-level directory (such\n as /ns1/) or subdirectory (such as /ns1/subdir/)\n that will be mapped 1-1 with DataRepositoryPath.\n The leading forward slash in the name is required. Two data repository\n associations cannot have overlapping file system paths. For example, if\n a data repository is associated with file system path /ns1/,\n then you cannot link another data repository with file system\n path /ns1/ns2.

\n

This path specifies where in your file system files will be exported\n from or imported to. This file system directory can be linked to only one\n Amazon S3 bucket, and no other S3 bucket can be linked to the directory.

\n \n

If you specify only a forward slash (/) as the file system\n path, you can link only one data repository to the file system. You can only specify\n \"/\" as the file system path for the first data repository associated with a file system.

\n
" } }, "DataRepositoryPath": { @@ -1332,6 +1406,12 @@ }, "Tags": { "target": "com.amazonaws.fsx#Tags" + }, + "CapacityToRelease": { + "target": "com.amazonaws.fsx#CapacityToRelease", + "traits": { + "smithy.api#documentation": "

Specifies the amount of data to release, in GiB, by an Amazon File Cache\n AUTO_RELEASE_DATA task that automatically releases files from the cache.

" + } } } }, @@ -1346,18 +1426,15 @@ } } }, - "com.amazonaws.fsx#CreateFileSystem": { + "com.amazonaws.fsx#CreateFileCache": { "type": "operation", "input": { - "target": "com.amazonaws.fsx#CreateFileSystemRequest" + "target": "com.amazonaws.fsx#CreateFileCacheRequest" }, "output": { - "target": "com.amazonaws.fsx#CreateFileSystemResponse" + "target": "com.amazonaws.fsx#CreateFileCacheResponse" }, "errors": [ - { - "target": "com.amazonaws.fsx#ActiveDirectoryError" - }, { "target": "com.amazonaws.fsx#BadRequest" }, @@ -1367,12 +1444,6 @@ { "target": "com.amazonaws.fsx#InternalServerError" }, - { - "target": "com.amazonaws.fsx#InvalidExportPath" - }, - { - "target": "com.amazonaws.fsx#InvalidImportPath" - }, { "target": "com.amazonaws.fsx#InvalidNetworkSettings" }, @@ -1380,88 +1451,260 @@ "target": "com.amazonaws.fsx#InvalidPerUnitStorageThroughput" }, { - "target": "com.amazonaws.fsx#MissingFileSystemConfiguration" + "target": "com.amazonaws.fsx#MissingFileCacheConfiguration" }, { "target": "com.amazonaws.fsx#ServiceLimitExceeded" } ], "traits": { - "smithy.api#documentation": "

Creates a new, empty Amazon FSx file system. You can create the following supported \n Amazon FSx file systems using the CreateFileSystem API operation:

\n \n

This operation requires a client request token in the request that Amazon FSx uses\n to ensure idempotent creation. This means that calling the operation multiple times with\n the same client request token has no effect. By using the idempotent operation, you can\n retry a CreateFileSystem operation without the risk of creating an extra\n file system. This approach can be useful when an initial call fails in a way that makes\n it unclear whether a file system was created. Examples are if a transport level timeout\n occurred, or your connection was reset. If you use the same client request token and the\n initial call created a file system, the client receives success as long as the\n parameters are the same.

\n

If a file system with the specified client request token exists and the parameters\n match, CreateFileSystem returns the description of the existing file\n system. If a file system with the specified client request token exists and the\n parameters don't match, this call returns IncompatibleParameterError. If a\n file system with the specified client request token doesn't exist,\n CreateFileSystem does the following:

\n \n\n

This operation requires a client request token in the request that Amazon FSx\n uses to ensure idempotent creation. This means that calling the operation multiple times\n with the same client request token has no effect. By using the idempotent operation, you\n can retry a CreateFileSystem operation without the risk of creating an\n extra file system. This approach can be useful when an initial call fails in a way that\n makes it unclear whether a file system was created. Examples are if a transport-level\n timeout occurred, or your connection was reset. If you use the same client request token\n and the initial call created a file system, the client receives a success message as\n long as the parameters are the same.

\n \n

The CreateFileSystem call returns while the file system's lifecycle\n state is still CREATING. You can check the file-system creation status\n by calling the DescribeFileSystems operation, which returns the file system state\n along with other information.

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

Creates a new Amazon File Cache resource.

\n

You can use this operation with a client request token in the request that\n Amazon File Cache uses to ensure idempotent creation. \n If a cache with the specified client request token exists and the parameters\n match, CreateFileCache returns the description of the existing\n cache. If a cache with the specified client request token exists and the\n parameters don't match, this call returns IncompatibleParameterError.\n If a file cache with the specified client request token doesn't exist,\n CreateFileCache does the following:

\n \n \n

The CreateFileCache call returns while the cache's lifecycle\n state is still CREATING. You can check the cache creation status\n by calling the DescribeFileCaches operation, which returns the cache state\n along with other information.

\n
", + "smithy.api#idempotent": {} } }, - "com.amazonaws.fsx#CreateFileSystemFromBackup": { - "type": "operation", - "input": { - "target": "com.amazonaws.fsx#CreateFileSystemFromBackupRequest" - }, - "output": { - "target": "com.amazonaws.fsx#CreateFileSystemFromBackupResponse" + "com.amazonaws.fsx#CreateFileCacheDataRepositoryAssociations": { + "type": "list", + "member": { + "target": "com.amazonaws.fsx#FileCacheDataRepositoryAssociation" }, - "errors": [ - { - "target": "com.amazonaws.fsx#ActiveDirectoryError" - }, - { - "target": "com.amazonaws.fsx#BackupNotFound" - }, - { - "target": "com.amazonaws.fsx#BadRequest" - }, - { - "target": "com.amazonaws.fsx#IncompatibleParameterError" - }, - { - "target": "com.amazonaws.fsx#InternalServerError" - }, - { - "target": "com.amazonaws.fsx#InvalidNetworkSettings" - }, - { - "target": "com.amazonaws.fsx#InvalidPerUnitStorageThroughput" - }, - { - "target": "com.amazonaws.fsx#MissingFileSystemConfiguration" - }, - { - "target": "com.amazonaws.fsx#ServiceLimitExceeded" - } - ], "traits": { - "smithy.api#documentation": "

Creates a new Amazon FSx for Lustre, Amazon FSx for Windows File\n Server, or Amazon FSx for OpenZFS file system from an existing Amazon FSx backup.

\n \n

If a file system with the specified client request token exists and the parameters\n match, this operation returns the description of the file system. If a file system\n with the specified client request token exists but the parameters don't match, this\n call returns IncompatibleParameterError. If a file system with the\n specified client request token doesn't exist, this operation does the following:

\n \n \n\n

Parameters like the Active Directory, default share name, automatic backup, and backup\n settings default to the parameters of the file system that was backed up, unless\n overridden. You can explicitly supply other settings.

\n\n

By using the idempotent operation, you can retry a\n CreateFileSystemFromBackup call without the risk of creating an extra\n file system. This approach can be useful when an initial call fails in a way that makes\n it unclear whether a file system was created. Examples are if a transport level timeout\n occurred, or your connection was reset. If you use the same client request token and the\n initial call created a file system, the client receives a success message as long as the\n parameters are the same.

\n \n

The CreateFileSystemFromBackup call returns while the file system's\n lifecycle state is still CREATING. You can check the file-system\n creation status by calling the \n DescribeFileSystems operation, which returns the file system state along\n with other information.

\n
" + "smithy.api#length": { + "min": 0, + "max": 8 + } } }, - "com.amazonaws.fsx#CreateFileSystemFromBackupRequest": { + "com.amazonaws.fsx#CreateFileCacheLustreConfiguration": { "type": "structure", "members": { - "BackupId": { - "target": "com.amazonaws.fsx#BackupId", + "PerUnitStorageThroughput": { + "target": "com.amazonaws.fsx#PerUnitStorageThroughput", + "traits": { + "smithy.api#documentation": "

Provisions the amount of read and write throughput for each 1 tebibyte (TiB)\n of cache storage capacity, in MB/s/TiB. The only supported\n value is 1000.

", + "smithy.api#required": {} + } + }, + "DeploymentType": { + "target": "com.amazonaws.fsx#FileCacheLustreDeploymentType", "traits": { + "smithy.api#documentation": "

Specifies the cache deployment type, which must be CACHE_1.

", "smithy.api#required": {} } }, + "WeeklyMaintenanceStartTime": { + "target": "com.amazonaws.fsx#WeeklyTime" + }, + "MetadataConfiguration": { + "target": "com.amazonaws.fsx#FileCacheLustreMetadataConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for a Lustre MDT (Metadata Target) storage volume.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The Amazon File Cache configuration for the cache that you are creating.

" + } + }, + "com.amazonaws.fsx#CreateFileCacheRequest": { + "type": "structure", + "members": { "ClientRequestToken": { "target": "com.amazonaws.fsx#ClientRequestToken", "traits": { - "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon FSx uses to ensure\n idempotent creation. This string is automatically filled on your behalf when you use the\n Command Line Interface (CLI) or an Amazon Web Services SDK.

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

An idempotency token for resource creation, in a string of up to 64\n ASCII characters. This token is automatically filled on your behalf when you use the\n Command Line Interface (CLI) or an Amazon Web Services SDK.

\n

By using the idempotent operation, you can retry a CreateFileCache\n operation without the risk of creating an extra cache. This approach can be useful\n when an initial call fails in a way that makes it unclear whether a cache was created.\n Examples are if a transport level timeout occurred, or your connection was reset.\n If you use the same client request token and the initial call created a cache, the\n client receives success as long as the parameters are the same.

", "smithy.api#idempotencyToken": {} } }, - "SubnetIds": { - "target": "com.amazonaws.fsx#SubnetIds", + "FileCacheType": { + "target": "com.amazonaws.fsx#FileCacheType", "traits": { - "smithy.api#documentation": "

Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1 \n file system deployment types, provide exactly two subnet IDs, one for the preferred file server \n and one for the standby file server. You specify one of these subnets as the preferred subnet \n using the WindowsConfiguration > PreferredSubnetID property.

\n

Windows SINGLE_AZ_1 and SINGLE_AZ_2 file system deployment\n types, Lustre file systems, and OpenZFS file systems provide exactly one subnet ID. The\n file server is launched in that subnet's Availability Zone.

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

The type of cache that you're creating, which\n must be LUSTRE.

", "smithy.api#required": {} } }, - "SecurityGroupIds": { - "target": "com.amazonaws.fsx#SecurityGroupIds", + "FileCacheTypeVersion": { + "target": "com.amazonaws.fsx#FileSystemTypeVersion", "traits": { - "smithy.api#documentation": "

A list of IDs for the security groups that apply to the specified network interfaces\n created for file system access. These security groups apply to all network interfaces.\n This value isn't returned in later DescribeFileSystem requests.

" + "smithy.api#documentation": "

Sets the Lustre version for the cache that you're creating,\n which must be 2.12.

", + "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.fsx#Tags", + "StorageCapacity": { + "target": "com.amazonaws.fsx#StorageCapacity", + "traits": { + "smithy.api#documentation": "

The storage capacity of the cache in gibibytes (GiB). Valid values\n are 1200 GiB, 2400 GiB, and increments of 2400 GiB.

", + "smithy.api#required": {} + } + }, + "SubnetIds": { + "target": "com.amazonaws.fsx#SubnetIds", + "traits": { + "smithy.api#required": {} + } + }, + "SecurityGroupIds": { + "target": "com.amazonaws.fsx#SecurityGroupIds", + "traits": { + "smithy.api#documentation": "

A list of IDs specifying the security groups to apply to all network interfaces\n created for Amazon File Cache access. This list isn't returned in later requests to\n describe the cache.

" + } + }, + "Tags": { + "target": "com.amazonaws.fsx#Tags" + }, + "CopyTagsToDataRepositoryAssociations": { + "target": "com.amazonaws.fsx#CopyTagsToDataRepositoryAssociations", + "traits": { + "smithy.api#documentation": "

A boolean flag indicating whether tags for the cache should be copied to\n data repository associations. This value defaults to false.

" + } + }, + "KmsKeyId": { + "target": "com.amazonaws.fsx#KmsKeyId", + "traits": { + "smithy.api#documentation": "

Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on\n an Amazon File Cache. If a KmsKeyId isn't specified, the Amazon FSx-managed\n KMS key for your account is used. For more information,\n see Encrypt in the\n Key Management Service API Reference.

" + } + }, + "LustreConfiguration": { + "target": "com.amazonaws.fsx#CreateFileCacheLustreConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for the Amazon File Cache resource being created.

" + } + }, + "DataRepositoryAssociations": { + "target": "com.amazonaws.fsx#CreateFileCacheDataRepositoryAssociations", + "traits": { + "smithy.api#documentation": "

A list of up to 8 configurations for data repository associations (DRAs) to\n be created during the cache creation. The DRAs link the cache to either an\n Amazon S3 data repository or a Network File System (NFS) data repository that supports the NFSv3 protocol.

\n

The DRA configurations must meet the following requirements:

\n \n \n

DRA automatic import and automatic export is not supported.

" + } + } + } + }, + "com.amazonaws.fsx#CreateFileCacheResponse": { + "type": "structure", + "members": { + "FileCache": { + "target": "com.amazonaws.fsx#FileCacheCreating", + "traits": { + "smithy.api#documentation": "

A description of the cache that was created.

" + } + } + } + }, + "com.amazonaws.fsx#CreateFileSystem": { + "type": "operation", + "input": { + "target": "com.amazonaws.fsx#CreateFileSystemRequest" + }, + "output": { + "target": "com.amazonaws.fsx#CreateFileSystemResponse" + }, + "errors": [ + { + "target": "com.amazonaws.fsx#ActiveDirectoryError" + }, + { + "target": "com.amazonaws.fsx#BadRequest" + }, + { + "target": "com.amazonaws.fsx#IncompatibleParameterError" + }, + { + "target": "com.amazonaws.fsx#InternalServerError" + }, + { + "target": "com.amazonaws.fsx#InvalidExportPath" + }, + { + "target": "com.amazonaws.fsx#InvalidImportPath" + }, + { + "target": "com.amazonaws.fsx#InvalidNetworkSettings" + }, + { + "target": "com.amazonaws.fsx#InvalidPerUnitStorageThroughput" + }, + { + "target": "com.amazonaws.fsx#MissingFileSystemConfiguration" + }, + { + "target": "com.amazonaws.fsx#ServiceLimitExceeded" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a new, empty Amazon FSx file system. You can create the following supported \n Amazon FSx file systems using the CreateFileSystem API operation:

\n \n

This operation requires a client request token in the request that Amazon FSx uses\n to ensure idempotent creation. This means that calling the operation multiple times with\n the same client request token has no effect. By using the idempotent operation, you can\n retry a CreateFileSystem operation without the risk of creating an extra\n file system. This approach can be useful when an initial call fails in a way that makes\n it unclear whether a file system was created. Examples are if a transport level timeout\n occurred, or your connection was reset. If you use the same client request token and the\n initial call created a file system, the client receives success as long as the\n parameters are the same.

\n

If a file system with the specified client request token exists and the parameters\n match, CreateFileSystem returns the description of the existing file\n system. If a file system with the specified client request token exists and the\n parameters don't match, this call returns IncompatibleParameterError. If a\n file system with the specified client request token doesn't exist,\n CreateFileSystem does the following:

\n \n \n

The CreateFileSystem call returns while the file system's lifecycle\n state is still CREATING. You can check the file-system creation status\n by calling the DescribeFileSystems operation, which returns the file system state\n along with other information.

\n
" + } + }, + "com.amazonaws.fsx#CreateFileSystemFromBackup": { + "type": "operation", + "input": { + "target": "com.amazonaws.fsx#CreateFileSystemFromBackupRequest" + }, + "output": { + "target": "com.amazonaws.fsx#CreateFileSystemFromBackupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.fsx#ActiveDirectoryError" + }, + { + "target": "com.amazonaws.fsx#BackupNotFound" + }, + { + "target": "com.amazonaws.fsx#BadRequest" + }, + { + "target": "com.amazonaws.fsx#IncompatibleParameterError" + }, + { + "target": "com.amazonaws.fsx#InternalServerError" + }, + { + "target": "com.amazonaws.fsx#InvalidNetworkSettings" + }, + { + "target": "com.amazonaws.fsx#InvalidPerUnitStorageThroughput" + }, + { + "target": "com.amazonaws.fsx#MissingFileSystemConfiguration" + }, + { + "target": "com.amazonaws.fsx#ServiceLimitExceeded" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a new Amazon FSx for Lustre, Amazon FSx for Windows File\n Server, or Amazon FSx for OpenZFS file system from an existing Amazon FSx backup.

\n \n

If a file system with the specified client request token exists and the parameters\n match, this operation returns the description of the file system. If a file system\n with the specified client request token exists but the parameters don't match, this\n call returns IncompatibleParameterError. If a file system with the\n specified client request token doesn't exist, this operation does the following:

\n \n \n\n

Parameters like the Active Directory, default share name, automatic backup, and backup\n settings default to the parameters of the file system that was backed up, unless\n overridden. You can explicitly supply other settings.

\n\n

By using the idempotent operation, you can retry a\n CreateFileSystemFromBackup call without the risk of creating an extra\n file system. This approach can be useful when an initial call fails in a way that makes\n it unclear whether a file system was created. Examples are if a transport level timeout\n occurred, or your connection was reset. If you use the same client request token and the\n initial call created a file system, the client receives a success message as long as the\n parameters are the same.

\n \n

The CreateFileSystemFromBackup call returns while the file system's\n lifecycle state is still CREATING. You can check the file-system\n creation status by calling the \n DescribeFileSystems operation, which returns the file system state along\n with other information.

\n
" + } + }, + "com.amazonaws.fsx#CreateFileSystemFromBackupRequest": { + "type": "structure", + "members": { + "BackupId": { + "target": "com.amazonaws.fsx#BackupId", + "traits": { + "smithy.api#required": {} + } + }, + "ClientRequestToken": { + "target": "com.amazonaws.fsx#ClientRequestToken", + "traits": { + "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon FSx uses to ensure\n idempotent creation. This string is automatically filled on your behalf when you use the\n Command Line Interface (CLI) or an Amazon Web Services SDK.

", + "smithy.api#idempotencyToken": {} + } + }, + "SubnetIds": { + "target": "com.amazonaws.fsx#SubnetIds", + "traits": { + "smithy.api#documentation": "

Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1 \n file system deployment types, provide exactly two subnet IDs, one for the preferred file server \n and one for the standby file server. You specify one of these subnets as the preferred subnet \n using the WindowsConfiguration > PreferredSubnetID property.

\n

Windows SINGLE_AZ_1 and SINGLE_AZ_2 file system deployment\n types, Lustre file systems, and OpenZFS file systems provide exactly one subnet ID. The\n file server is launched in that subnet's Availability Zone.

", + "smithy.api#required": {} + } + }, + "SecurityGroupIds": { + "target": "com.amazonaws.fsx#SecurityGroupIds", + "traits": { + "smithy.api#documentation": "

A list of IDs for the security groups that apply to the specified network interfaces\n created for file system access. These security groups apply to all network interfaces.\n This value isn't returned in later DescribeFileSystem requests.

" + } + }, + "Tags": { + "target": "com.amazonaws.fsx#Tags", "traits": { "smithy.api#documentation": "

The tags to be applied to the file system at file system creation. The key value of\n the Name tag appears in the console as the file system\n name.

" } @@ -1495,6 +1738,12 @@ "traits": { "smithy.api#documentation": "

The OpenZFS configuration for the file system that's being created.

" } + }, + "StorageCapacity": { + "target": "com.amazonaws.fsx#StorageCapacity", + "traits": { + "smithy.api#documentation": "

Sets the storage capacity of the OpenZFS file system that you're creating\n from a backup, in gibibytes (GiB). Valid values are from 64 GiB up to 524,288 GiB\n (512 TiB). However, the value that you specify must be equal to or greater than the\n backup's storage capacity value. If you don't use the StorageCapacity\n parameter, the default is the backup's StorageCapacity value.

\n

If used to create a file system other than OpenZFS, you must provide a value\n that matches the backup's StorageCapacity value. If you provide any\n other value, Amazon FSx responds with a 400 Bad Request.

" + } } }, "traits": { @@ -2376,7 +2625,7 @@ "min": 16, "max": 275 }, - "smithy.api#pattern": "^(fsi?-[0-9a-f]{8,}\\..{4,253})$" + "smithy.api#pattern": "^((fs|fc)i?-[0-9a-f]{8,}\\..{4,253})$" } }, "com.amazonaws.fsx#DailyTime": { @@ -2391,18 +2640,20 @@ } }, "com.amazonaws.fsx#DataCompressionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "LZ4", - "name": "LZ4" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "LZ4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LZ4" } - ] + } } }, "com.amazonaws.fsx#DataRepositoryAssociation": { @@ -2423,7 +2674,7 @@ "Lifecycle": { "target": "com.amazonaws.fsx#DataRepositoryLifecycle", "traits": { - "smithy.api#documentation": "

Describes the state of a data repository association. The lifecycle can have\n the following values:

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

Describes the state of a data repository association. The lifecycle can have\n the following values:

\n " } }, "FailureDetails": { @@ -2432,31 +2683,31 @@ "FileSystemPath": { "target": "com.amazonaws.fsx#Namespace", "traits": { - "smithy.api#documentation": "

A path on the file system that points to a high-level directory (such\n as /ns1/) or subdirectory (such as /ns1/subdir/)\n that will be mapped 1-1 with DataRepositoryPath.\n The leading forward slash in the name is required. Two data repository\n associations cannot have overlapping file system paths. For example, if\n a data repository is associated with file system path /ns1/,\n then you cannot link another data repository with file system\n path /ns1/ns2.

\n

This path specifies where in your file system files will be exported\n from or imported to. This file system directory can be linked to only one\n Amazon S3 bucket, and no other S3 bucket can be linked to the directory.

\n \n

If you specify only a forward slash (/) as the file system\n path, you can link only 1 data repository to the file system. You can only specify\n \"/\" as the file system path for the first data repository associated with a file system.

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

A path on the Amazon FSx for Lustre file system that points to a high-level directory (such\n as /ns1/) or subdirectory (such as /ns1/subdir/)\n that will be mapped 1-1 with DataRepositoryPath.\n The leading forward slash in the name is required. Two data repository\n associations cannot have overlapping file system paths. For example, if\n a data repository is associated with file system path /ns1/,\n then you cannot link another data repository with file system\n path /ns1/ns2.

\n

This path specifies where in your file system files will be exported\n from or imported to. This file system directory can be linked to only one\n Amazon S3 bucket, and no other S3 bucket can be linked to the directory.

\n \n

If you specify only a forward slash (/) as the file system\n path, you can link only one data repository to the file system. You can only specify\n \"/\" as the file system path for the first data repository associated with a file system.

\n
" } }, "DataRepositoryPath": { "target": "com.amazonaws.fsx#ArchivePath", "traits": { - "smithy.api#documentation": "

The path to the Amazon S3 data repository that will be linked to the file\n system. The path can be an S3 bucket or prefix in the format\n s3://myBucket/myPrefix/. This path specifies where in the S3\n data repository files will be imported from or exported to.

" + "smithy.api#documentation": "

The path to the data repository that will be linked to the cache\n or file system.

\n " } }, "BatchImportMetaDataOnCreate": { "target": "com.amazonaws.fsx#BatchImportMetaDataOnCreate", "traits": { - "smithy.api#documentation": "

A boolean flag indicating whether an import data repository task to import\n metadata should run after the data repository association is created. The\n task runs if this flag is set to true.

" + "smithy.api#documentation": "

A boolean flag indicating whether an import data repository task to import\n metadata should run after the data repository association is created. The\n task runs if this flag is set to true.

\n \n

\n BatchImportMetaDataOnCreate is not supported for data repositories\n linked to an Amazon File Cache resource.

\n
" } }, "ImportedFileChunkSize": { "target": "com.amazonaws.fsx#Megabytes", "traits": { - "smithy.api#documentation": "

For files imported from a data repository, this value determines the stripe count and\n maximum amount of data per file (in MiB) stored on a single physical disk. The maximum\n number of disks that a single file can be striped across is limited by the total number\n of disks that make up the file system.

\n \n

The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500\n GiB). Amazon S3 objects have a maximum size of 5 TB.

" + "smithy.api#documentation": "

For files imported from a data repository, this value determines the stripe count and\n maximum amount of data per file (in MiB) stored on a single physical disk. The maximum\n number of disks that a single file can be striped across is limited by the total number\n of disks that make up the file system or cache.

\n \n

The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500\n GiB). Amazon S3 objects have a maximum size of 5 TB.

" } }, "S3": { "target": "com.amazonaws.fsx#S3DataRepositoryConfiguration", "traits": { - "smithy.api#documentation": "

The configuration for an Amazon S3 data repository linked to an\n Amazon FSx Lustre file system with a data repository association.\n The configuration defines which file events (new, changed, or\n deleted files or directories) are automatically imported from\n the linked data repository to the file system or automatically\n exported from the file system to the data repository.

" + "smithy.api#documentation": "

The configuration for an Amazon S3 data repository linked to an\n Amazon FSx for Lustre file system with a data repository association.

" } }, "Tags": { @@ -2464,10 +2715,34 @@ }, "CreationTime": { "target": "com.amazonaws.fsx#CreationTime" + }, + "FileCacheId": { + "target": "com.amazonaws.fsx#FileCacheId", + "traits": { + "smithy.api#documentation": "

The globally unique ID of the Amazon File Cache resource.

" + } + }, + "FileCachePath": { + "target": "com.amazonaws.fsx#Namespace", + "traits": { + "smithy.api#documentation": "

A path on the Amazon File Cache that points to a high-level directory (such\n as /ns1/) or subdirectory (such as /ns1/subdir/)\n that will be mapped 1-1 with DataRepositoryPath.\n The leading forward slash in the path is required. Two data repository\n associations cannot have overlapping cache paths. For example, if\n a data repository is associated with cache path /ns1/,\n then you cannot link another data repository with cache\n path /ns1/ns2.

\n

This path specifies the directory in your cache where files will be exported\n from. This cache directory can be linked to only one data repository\n (S3 or NFS) and no other data repository can be linked to the directory.

\n \n

The cache path can only be set to root (/) on an NFS DRA when\n DataRepositorySubdirectories is specified. If you\n specify root (/) as the cache path, you can create only one DRA\n on the cache.

\n

The cache path cannot be set to root (/) for an S3 DRA.

\n
" + } + }, + "DataRepositorySubdirectories": { + "target": "com.amazonaws.fsx#SubDirectoriesPaths", + "traits": { + "smithy.api#documentation": "

For Amazon File Cache, a list of NFS Exports that will be linked with an\n NFS data repository association. All the subdirectories must be on a single NFS file system.\n The Export paths are in the format /exportpath1.\n To use this parameter, you must configure DataRepositoryPath\n as the domain name of the NFS file system. The NFS file system domain name in effect is the\n root of the subdirectories. Note that DataRepositorySubdirectories is not\n supported for S3 data repositories.

" + } + }, + "NFS": { + "target": "com.amazonaws.fsx#NFSDataRepositoryConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for an NFS data repository linked to an\n Amazon File Cache resource with a data repository association.

" + } } }, "traits": { - "smithy.api#documentation": "

The configuration of a data repository association that links\n an Amazon FSx for Lustre file system to an Amazon S3 bucket.\n The data repository association configuration object is returned \n in the response of the following operations:

\n \n

Data repository associations are supported only for file systems\n with the Persistent_2 deployment type.

" + "smithy.api#documentation": "

The configuration of a data repository association that links\n an Amazon FSx for Lustre file system to an Amazon S3 bucket\n or an Amazon File Cache resource to an Amazon S3 bucket or an NFS file system.\n The data repository association configuration object is returned\n in the response of the following operations:

\n \n

Data repository associations are supported only for an Amazon FSx for Lustre\n file system with the Persistent_2 deployment type and for an\n Amazon File Cache resource.

" } }, "com.amazonaws.fsx#DataRepositoryAssociationId": { @@ -2569,34 +2844,44 @@ } }, "com.amazonaws.fsx#DataRepositoryLifecycle": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "AVAILABLE", - "name": "AVAILABLE" - }, - { - "value": "MISCONFIGURED", - "name": "MISCONFIGURED" - }, - { - "value": "UPDATING", - "name": "UPDATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "FAILED", - "name": "FAILED" - } - ] + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + }, + "MISCONFIGURED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISCONFIGURED" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.fsx#DataRepositoryTask": { @@ -2612,14 +2897,14 @@ "Lifecycle": { "target": "com.amazonaws.fsx#DataRepositoryTaskLifecycle", "traits": { - "smithy.api#documentation": "

The lifecycle status of the data repository task, as follows:

\n \n \n

You cannot delete an FSx for Lustre file system if there are data \n repository tasks for the file system in the PENDING or EXECUTING states.\n Please retry when the data repository task is finished (with a status of CANCELED, SUCCEEDED, or FAILED). \n You can use the DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you need to delete your file system immediately.

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

The lifecycle status of the data repository task, as follows:

\n \n \n

You cannot delete an FSx for Lustre file system if there are data \n repository tasks for the file system in the PENDING or EXECUTING states.\n Please retry when the data repository task is finished (with a status of CANCELED, SUCCEEDED, or FAILED). \n You can use the DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you need to delete your file system immediately.

\n
", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.fsx#DataRepositoryTaskType", "traits": { - "smithy.api#documentation": "

The type of data repository task.

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

The type of data repository task.

\n ", "smithy.api#required": {} } }, @@ -2632,13 +2917,13 @@ "StartTime": { "target": "com.amazonaws.fsx#StartTime", "traits": { - "smithy.api#documentation": "

The time that Amazon FSx began processing the task.

" + "smithy.api#documentation": "

The time the system began processing the task.

" } }, "EndTime": { "target": "com.amazonaws.fsx#EndTime", "traits": { - "smithy.api#documentation": "

The time that Amazon FSx completed processing the task, populated after the task is complete.

" + "smithy.api#documentation": "

The time the system completed processing the task, populated after the task is complete.

" } }, "ResourceARN": { @@ -2650,13 +2935,13 @@ "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { - "smithy.api#required": {} + "smithy.api#documentation": "

The globally unique ID of the file system.

" } }, "Paths": { "target": "com.amazonaws.fsx#DataRepositoryTaskPaths", "traits": { - "smithy.api#documentation": "

An array of paths on the Amazon FSx for Lustre file system that specify the data for the data repository task to process. \n For example, in an EXPORT_TO_REPOSITORY task, the paths specify which data to export to the linked data repository.

\n

(Default) If Paths is not specified, Amazon FSx uses the file system root directory.

" + "smithy.api#documentation": "

An array of paths that specify the data for the data repository task to process. \n For example, in an EXPORT_TO_REPOSITORY task, the paths specify which data to export\n to the linked data repository.

\n

(Default) If Paths is not specified, Amazon FSx uses the file system root directory.

" } }, "FailureDetails": { @@ -2673,10 +2958,22 @@ }, "Report": { "target": "com.amazonaws.fsx#CompletionReport" + }, + "CapacityToRelease": { + "target": "com.amazonaws.fsx#CapacityToRelease", + "traits": { + "smithy.api#documentation": "

Specifies the amount of data to release, in GiB, by an Amazon File Cache\n AUTO_RELEASE_DATA task that automatically releases files from the cache.

" + } + }, + "FileCacheId": { + "target": "com.amazonaws.fsx#FileCacheId", + "traits": { + "smithy.api#documentation": "

The system-generated, unique ID of the cache.

" + } } }, "traits": { - "smithy.api#documentation": "

A description of the data repository task. You use data repository tasks\n to perform bulk transfer operations between your Amazon FSx file system and a linked data\n repository.

" + "smithy.api#documentation": "

A description of the data repository task. You use data repository tasks\n to perform bulk transfer operations between an Amazon FSx for Lustre file system\n and a linked data repository. An Amazon File Cache resource uses a task to\n automatically release files from the cache.

" } }, "com.amazonaws.fsx#DataRepositoryTaskEnded": { @@ -2735,22 +3032,32 @@ } }, "com.amazonaws.fsx#DataRepositoryTaskFilterName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "file-system-id", - "name": "FILE_SYSTEM_ID" - }, - { - "value": "task-lifecycle", - "name": "TASK_LIFECYCLE" - }, - { - "value": "data-repository-association-id", - "name": "DATA_REPO_ASSOCIATION_ID" + "type": "enum", + "members": { + "FILE_SYSTEM_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "file-system-id" + } + }, + "TASK_LIFECYCLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "task-lifecycle" + } + }, + "DATA_REPO_ASSOCIATION_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "data-repository-association-id" + } + }, + "FILE_CACHE_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "file-cache-id" } - ] + } } }, "com.amazonaws.fsx#DataRepositoryTaskFilterValue": { @@ -2788,34 +3095,44 @@ } }, "com.amazonaws.fsx#DataRepositoryTaskLifecycle": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "EXECUTING", - "name": "EXECUTING" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "SUCCEEDED", - "name": "SUCCEEDED" - }, - { - "value": "CANCELED", - "name": "CANCELED" - }, - { - "value": "CANCELING", - "name": "CANCELING" - } - ] + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "EXECUTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXECUTING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" + } + }, + "CANCELED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELED" + } + }, + "CANCELING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELING" + } + } } }, "com.amazonaws.fsx#DataRepositoryTaskNotFound": { @@ -2878,6 +3195,12 @@ "traits": { "smithy.api#documentation": "

The time at which the task status was last updated.

" } + }, + "ReleasedCapacity": { + "target": "com.amazonaws.fsx#ReleasedCapacity", + "traits": { + "smithy.api#documentation": "

The total amount of data, in GiB, released by an Amazon File Cache\n AUTO_RELEASE_DATA task that automatically releases files from the cache.

" + } } }, "traits": { @@ -2885,19 +3208,33 @@ } }, "com.amazonaws.fsx#DataRepositoryTaskType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EXPORT_TO_REPOSITORY", - "name": "EXPORT" - }, - { - "value": "IMPORT_METADATA_FROM_REPOSITORY", - "name": "IMPORT" + "type": "enum", + "members": { + "EXPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPORT_TO_REPOSITORY" } - ] - } + }, + "IMPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT_METADATA_FROM_REPOSITORY" + } + }, + "EVICTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RELEASE_DATA_FROM_FILESYSTEM" + } + }, + "AUTO_TRIGGERED_EVICTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_RELEASE_DATA" + } + } + } }, "com.amazonaws.fsx#DataRepositoryTasks": { "type": "list", @@ -2990,10 +3327,7 @@ } }, "com.amazonaws.fsx#DeleteDataInFileSystem": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.fsx#DeleteDataRepositoryAssociation": { "type": "operation", @@ -3044,8 +3378,7 @@ "DeleteDataInFileSystem": { "target": "com.amazonaws.fsx#DeleteDataInFileSystem", "traits": { - "smithy.api#documentation": "

Set to true to delete the data in the file system that corresponds\n to the data repository association.

", - "smithy.api#required": {} + "smithy.api#documentation": "

Set to true to delete the data in the file system that corresponds\n to the data repository association.

" } } } @@ -3073,6 +3406,71 @@ } } }, + "com.amazonaws.fsx#DeleteFileCache": { + "type": "operation", + "input": { + "target": "com.amazonaws.fsx#DeleteFileCacheRequest" + }, + "output": { + "target": "com.amazonaws.fsx#DeleteFileCacheResponse" + }, + "errors": [ + { + "target": "com.amazonaws.fsx#BadRequest" + }, + { + "target": "com.amazonaws.fsx#FileCacheNotFound" + }, + { + "target": "com.amazonaws.fsx#IncompatibleParameterError" + }, + { + "target": "com.amazonaws.fsx#InternalServerError" + }, + { + "target": "com.amazonaws.fsx#ServiceLimitExceeded" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes an Amazon File Cache resource. After deletion, the cache no longer exists, and its data\n is gone.

\n \n

The DeleteFileCache operation returns while the cache has the\n DELETING status. You can check the cache deletion status by\n calling the DescribeFileCaches operation, which returns a list of caches in your\n account. If you pass the cache ID for a deleted cache, the\n DescribeFileCaches operation returns a FileCacheNotFound\n error.

\n \n \n

The data in a deleted cache is also deleted and can't be recovered by\n any means.

\n
", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.fsx#DeleteFileCacheRequest": { + "type": "structure", + "members": { + "FileCacheId": { + "target": "com.amazonaws.fsx#FileCacheId", + "traits": { + "smithy.api#documentation": "

The ID of the cache that's being deleted.

", + "smithy.api#required": {} + } + }, + "ClientRequestToken": { + "target": "com.amazonaws.fsx#ClientRequestToken", + "traits": { + "smithy.api#idempotencyToken": {} + } + } + } + }, + "com.amazonaws.fsx#DeleteFileCacheResponse": { + "type": "structure", + "members": { + "FileCacheId": { + "target": "com.amazonaws.fsx#FileCacheId", + "traits": { + "smithy.api#documentation": "

The ID of the cache that's being deleted.

" + } + }, + "Lifecycle": { + "target": "com.amazonaws.fsx#FileCacheLifecycle", + "traits": { + "smithy.api#documentation": "

The cache lifecycle for the deletion request. If the\n DeleteFileCache operation is successful, this status is\n DELETING.

" + } + } + } + }, "com.amazonaws.fsx#DeleteFileSystem": { "type": "operation", "input": { @@ -3170,14 +3568,14 @@ } }, "com.amazonaws.fsx#DeleteFileSystemOpenZFSOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS", - "name": "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS" + "type": "enum", + "members": { + "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS" } - ] + } } }, "com.amazonaws.fsx#DeleteFileSystemOpenZFSOptions": { @@ -3313,14 +3711,14 @@ } }, "com.amazonaws.fsx#DeleteOpenZFSVolumeOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS", - "name": "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS" + "type": "enum", + "members": { + "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS" } - ] + } } }, "com.amazonaws.fsx#DeleteOpenZFSVolumeOptions": { @@ -3691,7 +4089,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the description of specific Amazon FSx for Lustre data repository associations, if\n one or more AssociationIds values are provided in the request, or if filters are\n used in the request. Data repository associations are supported only\n for file systems with the Persistent_2 deployment type.

\n \n

You can use filters to narrow the response to include just data repository\n associations for specific file systems (use the file-system-id filter with\n the ID of the file system) or data repository associations for a specific repository type\n (use the data-repository-type filter with a value of S3).\n If you don't use filters, the response returns all data repository associations\n owned by your Amazon Web Services account in the Amazon Web Services Region of the endpoint\n that you're calling.

\n \n

When retrieving all data repository associations, you can paginate the response by using\n the optional MaxResults parameter to limit the number of data repository associations\n returned in a response. If more data repository associations remain, Amazon FSx returns a\n NextToken value in the response. In this case, send a later\n request with the NextToken request parameter set to the value of\n NextToken from the last response.

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

Returns the description of specific Amazon FSx for Lustre or Amazon File Cache\n data repository associations, if one or more AssociationIds values\n are provided in the request, or if filters are used in the request. Data repository\n associations are supported only for Amazon FSx for Lustre file systems with the\n Persistent_2 deployment type and for Amazon File Cache resources.

\n \n

You can use filters to narrow the response to include just data repository\n associations for specific file systems (use the file-system-id filter with\n the ID of the file system) or caches (use the file-cache-id filter with\n the ID of the cache), or data repository associations for a specific repository type\n (use the data-repository-type filter with a value of S3\n or NFS). If you don't use filters, the response returns all data\n repository associations owned by your Amazon Web Services account in the Amazon Web Services Region\n of the endpoint that you're calling.

\n \n

When retrieving all data repository associations, you can paginate the response by using\n the optional MaxResults parameter to limit the number of data repository associations\n returned in a response. If more data repository associations remain, a\n NextToken value is returned in the response. In this case, send a later\n request with the NextToken request parameter set to the value of\n NextToken from the last response.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", @@ -3729,7 +4127,7 @@ "Associations": { "target": "com.amazonaws.fsx#DataRepositoryAssociations", "traits": { - "smithy.api#documentation": "

An array of one ore more data repository association descriptions.

" + "smithy.api#documentation": "

An array of one or more data repository association descriptions.

" } }, "NextToken": { @@ -3760,7 +4158,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the description of specific Amazon FSx for Lustre data repository tasks, if\n one or more TaskIds values are provided in the request, or if filters are used in the request. \n You can use filters to narrow the response to include just tasks for specific file systems, \n or tasks in a specific lifecycle state. Otherwise, it returns all data repository tasks owned \n by your Amazon Web Services account in the Amazon Web Services Region of the endpoint that you're calling.

\n \n

When retrieving all tasks, you can paginate the response by using the optional MaxResults\n parameter to limit the number of tasks returned in a response. If more tasks remain, Amazon\n FSx returns a NextToken value in the response. In this case, send a later\n request with the NextToken request parameter set to the value of\n NextToken from the last response.

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

Returns the description of specific Amazon FSx for Lustre or Amazon File Cache data repository tasks, if\n one or more TaskIds values are provided in the request, or if filters are used in the request. \n You can use filters to narrow the response to include just tasks for specific file systems or caches, \n or tasks in a specific lifecycle state. Otherwise, it returns all data repository tasks owned \n by your Amazon Web Services account in the Amazon Web Services Region of the endpoint that you're calling.

\n \n

When retrieving all tasks, you can paginate the response by using the optional MaxResults\n parameter to limit the number of tasks returned in a response. If more tasks remain,\n a NextToken value is returned in the response. In this case, send a later\n request with the NextToken request parameter set to the value of\n NextToken from the last response.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -3805,6 +4203,66 @@ } } }, + "com.amazonaws.fsx#DescribeFileCaches": { + "type": "operation", + "input": { + "target": "com.amazonaws.fsx#DescribeFileCachesRequest" + }, + "output": { + "target": "com.amazonaws.fsx#DescribeFileCachesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.fsx#BadRequest" + }, + { + "target": "com.amazonaws.fsx#FileCacheNotFound" + }, + { + "target": "com.amazonaws.fsx#InternalServerError" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the description of a specific Amazon File Cache resource, if a\n FileCacheIds value is provided for that cache. Otherwise, it\n returns descriptions of all caches owned by your Amazon Web Services account in the\n Amazon Web Services Region of the endpoint that you're calling.

\n \n

When retrieving all cache descriptions, you can optionally specify the\n MaxResults parameter to limit the number of descriptions in a response.\n If more cache descriptions remain, the operation returns a\n NextToken value in the response. In this case, send a later request\n with the NextToken request parameter set to the value of\n NextToken from the last response.

\n \n

This operation is used in an iterative process to retrieve a list of your cache\n descriptions. DescribeFileCaches is called first without a\n NextTokenvalue. Then the operation continues to be called with the\n NextToken parameter set to the value of the last NextToken\n value until a response has no NextToken.

\n \n

When using this operation, keep the following in mind:

\n ", + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.fsx#DescribeFileCachesRequest": { + "type": "structure", + "members": { + "FileCacheIds": { + "target": "com.amazonaws.fsx#FileCacheIds", + "traits": { + "smithy.api#documentation": "

IDs of the caches whose descriptions you want to retrieve (String).

" + } + }, + "MaxResults": { + "target": "com.amazonaws.fsx#MaxResults" + }, + "NextToken": { + "target": "com.amazonaws.fsx#NextToken" + } + } + }, + "com.amazonaws.fsx#DescribeFileCachesResponse": { + "type": "structure", + "members": { + "FileCaches": { + "target": "com.amazonaws.fsx#FileCaches", + "traits": { + "smithy.api#documentation": "

The response object for the DescribeFileCaches operation.

" + } + }, + "NextToken": { + "target": "com.amazonaws.fsx#NextToken" + } + } + }, "com.amazonaws.fsx#DescribeFileSystemAliases": { "type": "operation", "input": { @@ -3906,7 +4364,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the description of specific Amazon FSx file systems, if a\n FileSystemIds value is provided for that file system. Otherwise, it\n returns descriptions of all file systems owned by your Amazon Web Services account in the\n Amazon Web Services Region of the endpoint that you're calling.

\n\n

When retrieving all file system descriptions, you can optionally specify the\n MaxResults parameter to limit the number of descriptions in a response.\n If more file system descriptions remain, Amazon FSx returns a\n NextToken value in the response. In this case, send a later request\n with the NextToken request parameter set to the value of\n NextToken from the last response.

\n\n

This operation is used in an iterative process to retrieve a list of your file system\n descriptions. DescribeFileSystems is called first without a\n NextTokenvalue. Then the operation continues to be called with the\n NextToken parameter set to the value of the last NextToken\n value until a response has no NextToken.

\n\n

When using this operation, keep the following in mind:

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

Returns the description of specific Amazon FSx file systems, if a\n FileSystemIds value is provided for that file system. Otherwise, it\n returns descriptions of all file systems owned by your Amazon Web Services account in the\n Amazon Web Services Region of the endpoint that you're calling.

\n\n

When retrieving all file system descriptions, you can optionally specify the\n MaxResults parameter to limit the number of descriptions in a response.\n If more file system descriptions remain, Amazon FSx returns a\n NextToken value in the response. In this case, send a later request\n with the NextToken request parameter set to the value of\n NextToken from the last response.

\n\n

This operation is used in an iterative process to retrieve a list of your file system\n descriptions. DescribeFileSystems is called first without a\n NextTokenvalue. Then the operation continues to be called with the\n NextToken parameter set to the value of the last NextToken\n value until a response has no NextToken.

\n\n

When using this operation, keep the following in mind:

\n ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -4274,18 +4732,20 @@ } }, "com.amazonaws.fsx#DiskIopsConfigurationMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AUTOMATIC", - "name": "AUTOMATIC" - }, - { - "value": "USER_PROVISIONED", - "name": "USER_PROVISIONED" + "type": "enum", + "members": { + "AUTOMATIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTOMATIC" } - ] + }, + "USER_PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER_PROVISIONED" + } + } } }, "com.amazonaws.fsx#DnsIps": { @@ -4301,18 +4761,20 @@ } }, "com.amazonaws.fsx#DriveCacheType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "READ", - "name": "READ" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "READ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READ" + } + } } }, "com.amazonaws.fsx#EndTime": { @@ -4329,22 +4791,26 @@ } }, "com.amazonaws.fsx#EventType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NEW", - "name": "NEW" - }, - { - "value": "CHANGED", - "name": "CHANGED" - }, - { - "value": "DELETED", - "name": "DELETED" + "type": "enum", + "members": { + "NEW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW" } - ] + }, + "CHANGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHANGED" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + } } }, "com.amazonaws.fsx#EventTypes": { @@ -4360,9 +4826,415 @@ } }, "com.amazonaws.fsx#FailedCount": { - "type": "long", + "type": "long" + }, + "com.amazonaws.fsx#FileCache": { + "type": "structure", + "members": { + "OwnerId": { + "target": "com.amazonaws.fsx#AWSAccountId" + }, + "CreationTime": { + "target": "com.amazonaws.fsx#CreationTime" + }, + "FileCacheId": { + "target": "com.amazonaws.fsx#FileCacheId", + "traits": { + "smithy.api#documentation": "

The system-generated, unique ID of the cache.

" + } + }, + "FileCacheType": { + "target": "com.amazonaws.fsx#FileCacheType", + "traits": { + "smithy.api#documentation": "

The type of cache, which must be LUSTRE.

" + } + }, + "FileCacheTypeVersion": { + "target": "com.amazonaws.fsx#FileSystemTypeVersion", + "traits": { + "smithy.api#documentation": "

The Lustre version of the cache, which must be 2.12.

" + } + }, + "Lifecycle": { + "target": "com.amazonaws.fsx#FileCacheLifecycle", + "traits": { + "smithy.api#documentation": "

The lifecycle status of the cache. The following are the possible values and\n what they mean:

\n " + } + }, + "FailureDetails": { + "target": "com.amazonaws.fsx#FileCacheFailureDetails", + "traits": { + "smithy.api#documentation": "

A structure providing details of any failures that occurred.

" + } + }, + "StorageCapacity": { + "target": "com.amazonaws.fsx#StorageCapacity", + "traits": { + "smithy.api#documentation": "

The storage capacity of the cache in gibibytes (GiB).

" + } + }, + "VpcId": { + "target": "com.amazonaws.fsx#VpcId" + }, + "SubnetIds": { + "target": "com.amazonaws.fsx#SubnetIds" + }, + "NetworkInterfaceIds": { + "target": "com.amazonaws.fsx#NetworkInterfaceIds" + }, + "DNSName": { + "target": "com.amazonaws.fsx#DNSName", + "traits": { + "smithy.api#documentation": "

The Domain Name System (DNS) name for the cache.

" + } + }, + "KmsKeyId": { + "target": "com.amazonaws.fsx#KmsKeyId", + "traits": { + "smithy.api#documentation": "

Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on\n an Amazon File Cache. If a KmsKeyId isn't specified, the Amazon FSx-managed\n KMS key for your account is used. For more information,\n see Encrypt in the\n Key Management Service API Reference.

" + } + }, + "ResourceARN": { + "target": "com.amazonaws.fsx#ResourceARN" + }, + "LustreConfiguration": { + "target": "com.amazonaws.fsx#FileCacheLustreConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for the Amazon File Cache resource.

" + } + }, + "DataRepositoryAssociationIds": { + "target": "com.amazonaws.fsx#DataRepositoryAssociationIds", + "traits": { + "smithy.api#documentation": "

A list of IDs of data repository associations that are associated with this cache.

" + } + } + }, "traits": { - "smithy.api#box": {} + "smithy.api#documentation": "

A description of a specific Amazon File Cache resource, which is\n a response object from the DescribeFileCaches operation.

" + } + }, + "com.amazonaws.fsx#FileCacheCreating": { + "type": "structure", + "members": { + "OwnerId": { + "target": "com.amazonaws.fsx#AWSAccountId" + }, + "CreationTime": { + "target": "com.amazonaws.fsx#CreationTime" + }, + "FileCacheId": { + "target": "com.amazonaws.fsx#FileCacheId", + "traits": { + "smithy.api#documentation": "

The system-generated, unique ID of the cache.

" + } + }, + "FileCacheType": { + "target": "com.amazonaws.fsx#FileCacheType", + "traits": { + "smithy.api#documentation": "

The type of cache, which must be LUSTRE.

" + } + }, + "FileCacheTypeVersion": { + "target": "com.amazonaws.fsx#FileSystemTypeVersion", + "traits": { + "smithy.api#documentation": "

The Lustre version of the cache, which must be 2.12.

" + } + }, + "Lifecycle": { + "target": "com.amazonaws.fsx#FileCacheLifecycle", + "traits": { + "smithy.api#documentation": "

The lifecycle status of the cache. The following are the possible values and\n what they mean:

\n " + } + }, + "FailureDetails": { + "target": "com.amazonaws.fsx#FileCacheFailureDetails", + "traits": { + "smithy.api#documentation": "

A structure providing details of any failures that occurred.

" + } + }, + "StorageCapacity": { + "target": "com.amazonaws.fsx#StorageCapacity", + "traits": { + "smithy.api#documentation": "

The storage capacity of the cache in gibibytes (GiB).

" + } + }, + "VpcId": { + "target": "com.amazonaws.fsx#VpcId" + }, + "SubnetIds": { + "target": "com.amazonaws.fsx#SubnetIds" + }, + "NetworkInterfaceIds": { + "target": "com.amazonaws.fsx#NetworkInterfaceIds" + }, + "DNSName": { + "target": "com.amazonaws.fsx#DNSName", + "traits": { + "smithy.api#documentation": "

The Domain Name System (DNS) name for the cache.

" + } + }, + "KmsKeyId": { + "target": "com.amazonaws.fsx#KmsKeyId", + "traits": { + "smithy.api#documentation": "

Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on\n an Amazon File Cache. If a KmsKeyId isn't specified, the Amazon FSx-managed\n KMS key for your account is used. For more information,\n see Encrypt in the\n Key Management Service API Reference.

" + } + }, + "ResourceARN": { + "target": "com.amazonaws.fsx#ResourceARN" + }, + "Tags": { + "target": "com.amazonaws.fsx#Tags" + }, + "CopyTagsToDataRepositoryAssociations": { + "target": "com.amazonaws.fsx#CopyTagsToDataRepositoryAssociations", + "traits": { + "smithy.api#documentation": "

A boolean flag indicating whether tags for the cache should be copied to\n data repository associations.

" + } + }, + "LustreConfiguration": { + "target": "com.amazonaws.fsx#FileCacheLustreConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for the Amazon File Cache resource.

" + } + }, + "DataRepositoryAssociationIds": { + "target": "com.amazonaws.fsx#DataRepositoryAssociationIds", + "traits": { + "smithy.api#documentation": "

A list of IDs of data repository associations that are associated with this cache.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The response object for the Amazon File Cache resource being created in the\n CreateFileCache operation.

" + } + }, + "com.amazonaws.fsx#FileCacheDataRepositoryAssociation": { + "type": "structure", + "members": { + "FileCachePath": { + "target": "com.amazonaws.fsx#Namespace", + "traits": { + "smithy.api#documentation": "

A path on the cache that points to a high-level directory (such\n as /ns1/) or subdirectory (such as /ns1/subdir/)\n that will be mapped 1-1 with DataRepositoryPath.\n The leading forward slash in the name is required. Two data repository\n associations cannot have overlapping cache paths. For example, if\n a data repository is associated with cache path /ns1/,\n then you cannot link another data repository with cache\n path /ns1/ns2.

\n

This path specifies where in your cache files will be exported\n from. This cache directory can be linked to only one data repository,\n and no data repository other can be linked to the directory.

\n \n

The cache path can only be set to root (/) on an NFS DRA when\n DataRepositorySubdirectories is specified. If you\n specify root (/) as the cache path, you can create only one DRA\n on the cache.

\n

The cache path cannot be set to root (/) for an S3 DRA.

\n
", + "smithy.api#required": {} + } + }, + "DataRepositoryPath": { + "target": "com.amazonaws.fsx#ArchivePath", + "traits": { + "smithy.api#documentation": "

The path to the S3 or NFS data repository that links to the\n cache. You must provide one of the following paths:

\n ", + "smithy.api#required": {} + } + }, + "DataRepositorySubdirectories": { + "target": "com.amazonaws.fsx#SubDirectoriesPaths", + "traits": { + "smithy.api#documentation": "

A list of NFS Exports that will be linked with this data repository\n association. The Export paths are in the format /exportpath1.\n To use this parameter, you must configure DataRepositoryPath\n as the domain name of the NFS file system. The NFS file system domain name in effect is the\n root of the subdirectories. Note that DataRepositorySubdirectories\n is not supported for S3 data repositories.

" + } + }, + "NFS": { + "target": "com.amazonaws.fsx#FileCacheNFSConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for a data repository association that\n links an Amazon File Cache resource to an NFS data repository.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration for a data repository association (DRA) to\n be created during the Amazon File Cache resource creation. The DRA\n links the cache to either an Amazon S3 bucket or prefix, or a Network File\n System (NFS) data repository that supports the NFSv3 protocol.

\n

The DRA does not support automatic import or automatic\n export.

" + } + }, + "com.amazonaws.fsx#FileCacheFailureDetails": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.fsx#ErrorMessage", + "traits": { + "smithy.api#documentation": "

A message describing any failures that occurred.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A structure providing details of any failures that occurred.

" + } + }, + "com.amazonaws.fsx#FileCacheId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 11, + "max": 21 + }, + "smithy.api#pattern": "^(fc-[0-9a-f]{8,})$" + } + }, + "com.amazonaws.fsx#FileCacheIds": { + "type": "list", + "member": { + "target": "com.amazonaws.fsx#FileCacheId" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.fsx#FileCacheLifecycle": { + "type": "enum", + "members": { + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + }, + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } + } + }, + "com.amazonaws.fsx#FileCacheLustreConfiguration": { + "type": "structure", + "members": { + "PerUnitStorageThroughput": { + "target": "com.amazonaws.fsx#PerUnitStorageThroughput", + "traits": { + "smithy.api#documentation": "

Per unit storage throughput represents the megabytes per second of read or write\n throughput per 1 tebibyte of storage provisioned. Cache throughput capacity is\n equal to Storage capacity (TiB) * PerUnitStorageThroughput (MB/s/TiB). The only\n supported value is 1000.

" + } + }, + "DeploymentType": { + "target": "com.amazonaws.fsx#FileCacheLustreDeploymentType", + "traits": { + "smithy.api#documentation": "

The deployment type of the Amazon File Cache resource, which must\n be CACHE_1.

" + } + }, + "MountName": { + "target": "com.amazonaws.fsx#LustreFileSystemMountName", + "traits": { + "smithy.api#documentation": "

You use the MountName value when mounting the cache. If you pass\n a cache ID to the DescribeFileCaches operation, it returns the\n the MountName value as part of the cache's description.

" + } + }, + "WeeklyMaintenanceStartTime": { + "target": "com.amazonaws.fsx#WeeklyTime" + }, + "MetadataConfiguration": { + "target": "com.amazonaws.fsx#FileCacheLustreMetadataConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for a Lustre MDT (Metadata Target) storage volume.

" + } + }, + "LogConfiguration": { + "target": "com.amazonaws.fsx#LustreLogConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for Lustre logging used to write the enabled\n logging events for your Amazon File Cache resource to Amazon CloudWatch Logs.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration for the Amazon File Cache resource.

" + } + }, + "com.amazonaws.fsx#FileCacheLustreDeploymentType": { + "type": "enum", + "members": { + "CACHE_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CACHE_1" + } + } + } + }, + "com.amazonaws.fsx#FileCacheLustreMetadataConfiguration": { + "type": "structure", + "members": { + "StorageCapacity": { + "target": "com.amazonaws.fsx#MetadataStorageCapacity", + "traits": { + "smithy.api#documentation": "

The storage capacity of the Lustre MDT (Metadata Target) storage\n volume in gibibytes (GiB). The only supported value is 2400 GiB.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration for a Lustre MDT (Metadata Target) storage volume.\n The metadata on Amazon File Cache is managed by a Lustre Metadata Server\n (MDS) while the actual metadata is persisted on an MDT.

" + } + }, + "com.amazonaws.fsx#FileCacheNFSConfiguration": { + "type": "structure", + "members": { + "Version": { + "target": "com.amazonaws.fsx#NfsVersion", + "traits": { + "smithy.api#documentation": "

The version of the NFS (Network File System) protocol of the\n NFS data repository. The only supported value is NFS3,\n which indicates that the data repository must support the NFSv3 protocol.

", + "smithy.api#required": {} + } + }, + "DnsIps": { + "target": "com.amazonaws.fsx#RepositoryDnsIps", + "traits": { + "smithy.api#documentation": "

A list of up to 2 IP addresses of DNS servers used to resolve\n the NFS file system domain name. The provided IP addresses can either\n be the IP addresses of a DNS forwarder or resolver that the customer\n manages and runs inside the customer VPC, or the IP addresses of the\n on-premises DNS servers.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration for an NFS data repository association (DRA)\n created during the creation of the Amazon File Cache resource.

" + } + }, + "com.amazonaws.fsx#FileCacheNotFound": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.fsx#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

No caches were found based upon supplied parameters.

", + "smithy.api#error": "client" + } + }, + "com.amazonaws.fsx#FileCacheType": { + "type": "enum", + "members": { + "LUSTRE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LUSTRE" + } + } + } + }, + "com.amazonaws.fsx#FileCaches": { + "type": "list", + "member": { + "target": "com.amazonaws.fsx#FileCache" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } } }, "com.amazonaws.fsx#FileSystem": { @@ -4579,55 +5451,73 @@ } }, "com.amazonaws.fsx#FileSystemLifecycle": { - "type": "string", + "type": "enum", + "members": { + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + }, + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "MISCONFIGURED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISCONFIGURED" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "MISCONFIGURED_UNAVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISCONFIGURED_UNAVAILABLE" + } + } + }, "traits": { - "smithy.api#documentation": "

The lifecycle status of the file system.

", - "smithy.api#enum": [ - { - "value": "AVAILABLE", - "name": "AVAILABLE" - }, - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "MISCONFIGURED", - "name": "MISCONFIGURED" - }, - { - "value": "UPDATING", - "name": "UPDATING" - }, - { - "value": "MISCONFIGURED_UNAVAILABLE", - "name": "MISCONFIGURED_UNAVAILABLE" - } - ] + "smithy.api#documentation": "

The lifecycle status of the file system.

" } }, "com.amazonaws.fsx#FileSystemMaintenanceOperation": { - "type": "string", - "traits": { - "smithy.api#documentation": "

An enumeration specifying the currently ongoing maintenance operation.

", - "smithy.api#enum": [ - { - "value": "PATCHING", - "name": "PATCHING" - }, - { - "value": "BACKING_UP", - "name": "BACKING_UP" + "type": "enum", + "members": { + "PATCHING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PATCHING" + } + }, + "BACKING_UP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BACKING_UP" } - ] + } + }, + "traits": { + "smithy.api#documentation": "

An enumeration specifying the currently ongoing maintenance operation.

" } }, "com.amazonaws.fsx#FileSystemMaintenanceOperations": { @@ -4656,27 +5546,35 @@ } }, "com.amazonaws.fsx#FileSystemType": { - "type": "string", + "type": "enum", + "members": { + "WINDOWS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WINDOWS" + } + }, + "LUSTRE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LUSTRE" + } + }, + "ONTAP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONTAP" + } + }, + "OPENZFS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPENZFS" + } + } + }, "traits": { - "smithy.api#documentation": "

The type of file system.

", - "smithy.api#enum": [ - { - "value": "WINDOWS", - "name": "WINDOWS" - }, - { - "value": "LUSTRE", - "name": "LUSTRE" - }, - { - "value": "ONTAP", - "name": "ONTAP" - }, - { - "value": "OPENZFS", - "name": "OPENZFS" - } - ] + "smithy.api#documentation": "

The type of file system.

" } }, "com.amazonaws.fsx#FileSystemTypeVersion": { @@ -4723,31 +5621,53 @@ } }, "com.amazonaws.fsx#FilterName": { - "type": "string", + "type": "enum", + "members": { + "FILE_SYSTEM_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "file-system-id" + } + }, + "BACKUP_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "backup-type" + } + }, + "FILE_SYSTEM_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "file-system-type" + } + }, + "VOLUME_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "volume-id" + } + }, + "DATA_REPOSITORY_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "data-repository-type" + } + }, + "FILE_CACHE_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "file-cache-id" + } + }, + "FILE_CACHE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "file-cache-type" + } + } + }, "traits": { - "smithy.api#documentation": "

The name for a filter.

", - "smithy.api#enum": [ - { - "value": "file-system-id", - "name": "FILE_SYSTEM_ID" - }, - { - "value": "backup-type", - "name": "BACKUP_TYPE" - }, - { - "value": "file-system-type", - "name": "FILE_SYSTEM_TYPE" - }, - { - "value": "volume-id", - "name": "VOLUME_ID" - }, - { - "value": "data-repository-type", - "name": "DATA_REPOSITORY_TYPE" - } - ] + "smithy.api#documentation": "

The name for a filter.

" } }, "com.amazonaws.fsx#FilterValue": { @@ -4788,28 +5708,29 @@ } }, "com.amazonaws.fsx#Flag": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.fsx#FlexCacheEndpointType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "ORIGIN", - "name": "ORIGIN" - }, - { - "value": "CACHE", - "name": "CACHE" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "ORIGIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ORIGIN" } - ] + }, + "CACHE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CACHE" + } + } } }, "com.amazonaws.fsx#GeneralARN": { @@ -4856,7 +5777,6 @@ "com.amazonaws.fsx#IntegerNoMax": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -4866,7 +5786,6 @@ "com.amazonaws.fsx#IntegerNoMaxFromNegativeOne": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -1, "max": 2147483647 @@ -4876,7 +5795,6 @@ "com.amazonaws.fsx#IntegerRecordSizeKiB": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 4, "max": 1024 @@ -5015,7 +5933,6 @@ "com.amazonaws.fsx#Iops": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 160000 @@ -5080,7 +5997,6 @@ "com.amazonaws.fsx#LimitedMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 25 @@ -5169,49 +6085,61 @@ } }, "com.amazonaws.fsx#LustreAccessAuditLogLevel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "WARN_ONLY", - "name": "WARN_ONLY" - }, - { - "value": "ERROR_ONLY", - "name": "ERROR_ONLY" - }, - { - "value": "WARN_ERROR", - "name": "WARN_ERROR" - } - ] + "type": "enum", + "members": { + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "WARN_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WARN_ONLY" + } + }, + "ERROR_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR_ONLY" + } + }, + "WARN_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WARN_ERROR" + } + } } }, "com.amazonaws.fsx#LustreDeploymentType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SCRATCH_1", - "name": "SCRATCH_1" - }, - { - "value": "SCRATCH_2", - "name": "SCRATCH_2" - }, - { - "value": "PERSISTENT_1", - "name": "PERSISTENT_1" - }, - { - "value": "PERSISTENT_2", - "name": "PERSISTENT_2" - } - ] + "type": "enum", + "members": { + "SCRATCH_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCRATCH_1" + } + }, + "SCRATCH_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCRATCH_2" + } + }, + "PERSISTENT_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERSISTENT_1" + } + }, + "PERSISTENT_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERSISTENT_2" + } + } } }, "com.amazonaws.fsx#LustreFileSystemConfiguration": { @@ -5301,7 +6229,7 @@ "Level": { "target": "com.amazonaws.fsx#LustreAccessAuditLogLevel", "traits": { - "smithy.api#documentation": "

The data repository events that are logged by Amazon FSx.

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

The data repository events that are logged by Amazon FSx.

\n \n

Note that Amazon File Cache uses a default setting of WARN_ERROR,\n which can't be changed.

", "smithy.api#required": {} } }, @@ -5313,7 +6241,7 @@ } }, "traits": { - "smithy.api#documentation": "

The configuration for Lustre logging used to write the enabled\n logging events for your file system to Amazon CloudWatch Logs.

\n

When logging is enabled, Lustre logs error and warning events\n from data repository operations such as automatic export and data repository tasks.\n To learn more about Lustre logging, see \n Logging with Amazon CloudWatch Logs.\n

" + "smithy.api#documentation": "

The configuration for Lustre logging used to write the enabled\n logging events for your Amazon FSx for Lustre file system or\n Amazon File Cache resource to Amazon CloudWatch Logs.

" } }, "com.amazonaws.fsx#LustreLogCreateConfiguration": { @@ -5329,12 +6257,12 @@ "Destination": { "target": "com.amazonaws.fsx#GeneralARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that specifies the destination of the logs.

\n

The destination can be any Amazon CloudWatch Logs log group ARN, with the following\n requirements:

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

The Amazon Resource Name (ARN) that specifies the destination of the logs.

\n

The destination can be any Amazon CloudWatch Logs log group ARN, with the following\n requirements:

\n " } } }, "traits": { - "smithy.api#documentation": "

The Lustre logging configuration used when creating or updating an\n Amazon FSx for Lustre file system. Lustre logging writes the enabled\n logging events for your file system to Amazon CloudWatch Logs.

\n

Error and warning events can be logged from the following data\n repository operations:

\n \n

To learn more about Lustre logging, see \n Logging to Amazon CloudWatch Logs.

" + "smithy.api#documentation": "

The Lustre logging configuration used when creating or updating an\n Amazon FSx for Lustre file system. An Amazon File Cache is created\n with Lustre logging enabled by default, with a setting of\n WARN_ERROR for the logging events. which can't be changed.

\n

Lustre logging writes the enabled logging events for your file system\n or cache to Amazon CloudWatch Logs.

" } }, "com.amazonaws.fsx#LustreNoSquashNid": { @@ -5392,7 +6320,6 @@ "com.amazonaws.fsx#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The maximum number of resources to return in the response. This value must be an\n integer greater than zero.

", "smithy.api#range": { "min": 1, @@ -5403,7 +6330,6 @@ "com.amazonaws.fsx#Megabytes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 512000 @@ -5413,7 +6339,6 @@ "com.amazonaws.fsx#MegabytesPerSecond": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps).

", "smithy.api#range": { "min": 8, @@ -5421,6 +6346,27 @@ } } }, + "com.amazonaws.fsx#MetadataStorageCapacity": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0, + "max": 2147483647 + } + } + }, + "com.amazonaws.fsx#MissingFileCacheConfiguration": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.fsx#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

A cache configuration is required for this operation.

", + "smithy.api#error": "client" + } + }, "com.amazonaws.fsx#MissingFileSystemConfiguration": { "type": "structure", "members": { @@ -5445,6 +6391,33 @@ "smithy.api#error": "client" } }, + "com.amazonaws.fsx#NFSDataRepositoryConfiguration": { + "type": "structure", + "members": { + "Version": { + "target": "com.amazonaws.fsx#NfsVersion", + "traits": { + "smithy.api#documentation": "

The version of the NFS (Network File System) protocol of the\n NFS data repository. Currently, the only supported value is\n NFS3, which indicates that the data repository must\n support the NFSv3 protocol.

", + "smithy.api#required": {} + } + }, + "DnsIps": { + "target": "com.amazonaws.fsx#RepositoryDnsIps", + "traits": { + "smithy.api#documentation": "

A list of up to 2 IP addresses of DNS servers used to resolve\n the NFS file system domain name. The provided IP addresses can either\n be the IP addresses of a DNS forwarder or resolver that the customer\n manages and runs inside the customer VPC, or the IP addresses of the\n on-premises DNS servers.

" + } + }, + "AutoExportPolicy": { + "target": "com.amazonaws.fsx#AutoExportPolicy", + "traits": { + "smithy.api#documentation": "

This parameter is not supported for Amazon File Cache.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration for a data repository association that\n links an Amazon File Cache resource to an NFS data repository.

" + } + }, "com.amazonaws.fsx#Namespace": { "type": "string", "traits": { @@ -5500,6 +6473,17 @@ "smithy.api#pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" } }, + "com.amazonaws.fsx#NfsVersion": { + "type": "enum", + "members": { + "NFS3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NFS3" + } + } + } + }, "com.amazonaws.fsx#NotServiceResourceError": { "type": "structure", "members": { @@ -5520,18 +6504,20 @@ } }, "com.amazonaws.fsx#OntapDeploymentType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MULTI_AZ_1", - "name": "MULTI_AZ_1" - }, - { - "value": "SINGLE_AZ_1", - "name": "SINGLE_AZ_1" + "type": "enum", + "members": { + "MULTI_AZ_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MULTI_AZ_1" + } + }, + "SINGLE_AZ_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_AZ_1" } - ] + } } }, "com.amazonaws.fsx#OntapEndpointIpAddresses": { @@ -5668,22 +6654,26 @@ } }, "com.amazonaws.fsx#OntapVolumeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RW", - "name": "RW" - }, - { - "value": "DP", - "name": "DP" - }, - { - "value": "LS", - "name": "LS" + "type": "enum", + "members": { + "RW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RW" + } + }, + "DP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DP" } - ] + }, + "LS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LS" + } + } } }, "com.amazonaws.fsx#OpenZFSClientConfiguration": { @@ -5731,18 +6721,20 @@ } }, "com.amazonaws.fsx#OpenZFSCopyStrategy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CLONE", - "name": "CLONE" - }, - { - "value": "FULL_COPY", - "name": "FULL_COPY" + "type": "enum", + "members": { + "CLONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLONE" } - ] + }, + "FULL_COPY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL_COPY" + } + } } }, "com.amazonaws.fsx#OpenZFSCreateRootVolumeConfiguration": { @@ -5790,33 +6782,37 @@ } }, "com.amazonaws.fsx#OpenZFSDataCompressionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "ZSTD", - "name": "ZSTD" - }, - { - "value": "LZ4", - "name": "LZ4" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "ZSTD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZSTD" + } + }, + "LZ4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LZ4" + } + } } }, "com.amazonaws.fsx#OpenZFSDeploymentType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SINGLE_AZ_1", - "name": "SINGLE_AZ_1" + "type": "enum", + "members": { + "SINGLE_AZ_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_AZ_1" } - ] + } } }, "com.amazonaws.fsx#OpenZFSFileSystemConfiguration": { @@ -5936,18 +6932,20 @@ } }, "com.amazonaws.fsx#OpenZFSQuotaType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "USER", - "name": "USER" - }, - { - "value": "GROUP", - "name": "GROUP" + "type": "enum", + "members": { + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER" } - ] + }, + "GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GROUP" + } + } } }, "com.amazonaws.fsx#OpenZFSUserAndGroupQuotas": { @@ -6087,7 +7085,6 @@ "com.amazonaws.fsx#PerUnitStorageThroughput": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 12, "max": 1000 @@ -6097,7 +7094,6 @@ "com.amazonaws.fsx#ProgressPercent": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The current percent of progress of an asynchronous task.

", "smithy.api#range": { "min": 0, @@ -6106,10 +7102,7 @@ } }, "com.amazonaws.fsx#ReadOnly": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.fsx#Region": { "type": "string", @@ -6176,26 +7169,41 @@ } } }, + "com.amazonaws.fsx#ReleasedCapacity": { + "type": "long" + }, "com.amazonaws.fsx#ReportFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "REPORT_CSV_20191124", - "name": "REPORT_CSV_20191124" + "type": "enum", + "members": { + "REPORT_CSV_20191124": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REPORT_CSV_20191124" } - ] + } } }, "com.amazonaws.fsx#ReportScope": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FAILED_FILES_ONLY", - "name": "FAILED_FILES_ONLY" + "type": "enum", + "members": { + "FAILED_FILES_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED_FILES_ONLY" } - ] + } + } + }, + "com.amazonaws.fsx#RepositoryDnsIps": { + "type": "list", + "member": { + "target": "com.amazonaws.fsx#IpAddress" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } } }, "com.amazonaws.fsx#RequestTime": { @@ -6251,33 +7259,37 @@ } }, "com.amazonaws.fsx#ResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FILE_SYSTEM", - "name": "FILE_SYSTEM" - }, - { - "value": "VOLUME", - "name": "VOLUME" + "type": "enum", + "members": { + "FILE_SYSTEM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_SYSTEM" } - ] + }, + "VOLUME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VOLUME" + } + } } }, "com.amazonaws.fsx#RestoreOpenZFSVolumeOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DELETE_INTERMEDIATE_SNAPSHOTS", - "name": "DELETE_INTERMEDIATE_SNAPSHOTS" - }, - { - "value": "DELETE_CLONED_VOLUMES", - "name": "DELETE_CLONED_VOLUMES" + "type": "enum", + "members": { + "DELETE_INTERMEDIATE_SNAPSHOTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_INTERMEDIATE_SNAPSHOTS" } - ] + }, + "DELETE_CLONED_VOLUMES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_CLONED_VOLUMES" + } + } } }, "com.amazonaws.fsx#RestoreOpenZFSVolumeOptions": { @@ -6403,7 +7415,7 @@ } }, "traits": { - "smithy.api#documentation": "

The configuration for an Amazon S3 data repository linked to an\n Amazon FSx Lustre file system with a data repository association.\n The configuration consists of an AutoImportPolicy that\n defines file events on the data repository are automatically\n imported to the file system and an AutoExportPolicy\n that defines which file events on the file system are automatically\n exported to the data repository. File events are when files or\n directories are added, changed, or deleted on the file system or\n the data repository.

" + "smithy.api#documentation": "

The configuration for an Amazon S3 data repository linked to an\n Amazon FSx for Lustre file system with a data repository association.\n The configuration consists of an AutoImportPolicy that\n defines which file events on the data repository are automatically\n imported to the file system and an AutoExportPolicy that\n defines which file events on the file system are automatically exported\n to the data repository. File events are when files or directories are\n added, changed, or deleted on the file system or the data repository.

\n \n

Data repository associations on Amazon File Cache don't\n use S3DataRepositoryConfiguration because they don't\n support automatic import or automatic export.

\n
" } }, "com.amazonaws.fsx#SecurityGroupId": { @@ -6423,7 +7435,7 @@ "target": "com.amazonaws.fsx#SecurityGroupId" }, "traits": { - "smithy.api#documentation": "

A list of security group IDs.

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

A list of IDs specifying the security groups to apply to all network interfaces\n created for file system access. This list isn't returned in later requests to\n describe the file system.

", "smithy.api#length": { "min": 0, "max": 50 @@ -6431,22 +7443,26 @@ } }, "com.amazonaws.fsx#SecurityStyle": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNIX", - "name": "UNIX" - }, - { - "value": "NTFS", - "name": "NTFS" - }, - { - "value": "MIXED", - "name": "MIXED" + "type": "enum", + "members": { + "UNIX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNIX" } - ] + }, + "NTFS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NTFS" + } + }, + "MIXED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MIXED" + } + } } }, "com.amazonaws.fsx#SelfManagedActiveDirectoryAttributes": { @@ -6562,47 +7578,71 @@ } }, "com.amazonaws.fsx#ServiceLimit": { - "type": "string", + "type": "enum", + "members": { + "FILE_SYSTEM_COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_SYSTEM_COUNT" + } + }, + "TOTAL_THROUGHPUT_CAPACITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TOTAL_THROUGHPUT_CAPACITY" + } + }, + "TOTAL_STORAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TOTAL_STORAGE" + } + }, + "TOTAL_USER_INITIATED_BACKUPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TOTAL_USER_INITIATED_BACKUPS" + } + }, + "TOTAL_USER_TAGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TOTAL_USER_TAGS" + } + }, + "TOTAL_IN_PROGRESS_COPY_BACKUPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TOTAL_IN_PROGRESS_COPY_BACKUPS" + } + }, + "STORAGE_VIRTUAL_MACHINES_PER_FILE_SYSTEM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STORAGE_VIRTUAL_MACHINES_PER_FILE_SYSTEM" + } + }, + "VOLUMES_PER_FILE_SYSTEM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VOLUMES_PER_FILE_SYSTEM" + } + }, + "TOTAL_SSD_IOPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TOTAL_SSD_IOPS" + } + }, + "FILE_CACHE_COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_CACHE_COUNT" + } + } + }, "traits": { - "smithy.api#documentation": "

The types of limits on your service utilization. Limits include file system count,\n total throughput capacity, total storage, and total user-initiated backups. These limits\n apply for a specific account in a specific Amazon Web Services Region. You can increase some of them by\n contacting Amazon Web Services Support.

", - "smithy.api#enum": [ - { - "value": "FILE_SYSTEM_COUNT", - "name": "FILE_SYSTEM_COUNT" - }, - { - "value": "TOTAL_THROUGHPUT_CAPACITY", - "name": "TOTAL_THROUGHPUT_CAPACITY" - }, - { - "value": "TOTAL_STORAGE", - "name": "TOTAL_STORAGE" - }, - { - "value": "TOTAL_USER_INITIATED_BACKUPS", - "name": "TOTAL_USER_INITIATED_BACKUPS" - }, - { - "value": "TOTAL_USER_TAGS", - "name": "TOTAL_USER_TAGS" - }, - { - "value": "TOTAL_IN_PROGRESS_COPY_BACKUPS", - "name": "TOTAL_IN_PROGRESS_COPY_BACKUPS" - }, - { - "value": "STORAGE_VIRTUAL_MACHINES_PER_FILE_SYSTEM", - "name": "STORAGE_VIRTUAL_MACHINES_PER_FILE_SYSTEM" - }, - { - "value": "VOLUMES_PER_FILE_SYSTEM", - "name": "VOLUMES_PER_FILE_SYSTEM" - }, - { - "value": "TOTAL_SSD_IOPS", - "name": "TOTAL_SSD_IOPS" - } - ] + "smithy.api#documentation": "

The types of limits on your service utilization. Limits include file system count,\n total throughput capacity, total storage, and total user-initiated backups. These limits\n apply for a specific account in a specific Amazon Web Services Region. You can increase some of them by\n contacting Amazon Web Services Support.

" } }, "com.amazonaws.fsx#ServiceLimitExceeded": { @@ -6695,18 +7735,20 @@ } }, "com.amazonaws.fsx#SnapshotFilterName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "file-system-id", - "name": "FILE_SYSTEM_ID" - }, - { - "value": "volume-id", - "name": "VOLUME_ID" + "type": "enum", + "members": { + "FILE_SYSTEM_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "file-system-id" } - ] + }, + "VOLUME_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "volume-id" + } + } } }, "com.amazonaws.fsx#SnapshotFilterValue": { @@ -6766,26 +7808,32 @@ } }, "com.amazonaws.fsx#SnapshotLifecycle": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "AVAILABLE", - "name": "AVAILABLE" - } - ] + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + } } }, "com.amazonaws.fsx#SnapshotName": { @@ -6851,36 +7899,43 @@ "type": "timestamp" }, "com.amazonaws.fsx#Status": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "UPDATED_OPTIMIZING", - "name": "UPDATED_OPTIMIZING" - } - ] + "type": "enum", + "members": { + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "UPDATED_OPTIMIZING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATED_OPTIMIZING" + } + } } }, "com.amazonaws.fsx#StorageCapacity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The storage capacity for your Amazon FSx file system, in gibibytes.

", "smithy.api#range": { "min": 0, @@ -6889,19 +7944,23 @@ } }, "com.amazonaws.fsx#StorageType": { - "type": "string", - "traits": { - "smithy.api#documentation": "

The storage type for your Amazon FSx file system.

", - "smithy.api#enum": [ - { - "value": "SSD", - "name": "SSD" - }, - { - "value": "HDD", - "name": "HDD" + "type": "enum", + "members": { + "SSD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SSD" + } + }, + "HDD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HDD" } - ] + } + }, + "traits": { + "smithy.api#documentation": "

The storage type for your Amazon FSx file system.

" } }, "com.amazonaws.fsx#StorageVirtualMachine": { @@ -6999,14 +8058,14 @@ } }, "com.amazonaws.fsx#StorageVirtualMachineFilterName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "file-system-id", - "name": "FILE_SYSTEM_ID" + "type": "enum", + "members": { + "FILE_SYSTEM_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "file-system-id" } - ] + } } }, "com.amazonaws.fsx#StorageVirtualMachineFilterValue": { @@ -7066,34 +8125,44 @@ } }, "com.amazonaws.fsx#StorageVirtualMachineLifecycle": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATED", - "name": "CREATED" - }, - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "MISCONFIGURED", - "name": "MISCONFIGURED" - }, - { - "value": "PENDING", - "name": "PENDING" - } - ] + "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" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "MISCONFIGURED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISCONFIGURED" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + } } }, "com.amazonaws.fsx#StorageVirtualMachineName": { @@ -7119,45 +8188,55 @@ } }, "com.amazonaws.fsx#StorageVirtualMachineRootVolumeSecurityStyle": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNIX", - "name": "UNIX" - }, - { - "value": "NTFS", - "name": "NTFS" - }, - { - "value": "MIXED", - "name": "MIXED" + "type": "enum", + "members": { + "UNIX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNIX" + } + }, + "NTFS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NTFS" } - ] + }, + "MIXED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MIXED" + } + } } }, "com.amazonaws.fsx#StorageVirtualMachineSubtype": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEFAULT", - "name": "DEFAULT" - }, - { - "value": "DP_DESTINATION", - "name": "DP_DESTINATION" - }, - { - "value": "SYNC_DESTINATION", - "name": "SYNC_DESTINATION" - }, - { - "value": "SYNC_SOURCE", - "name": "SYNC_SOURCE" - } - ] + "type": "enum", + "members": { + "DEFAULT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT" + } + }, + "DP_DESTINATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DP_DESTINATION" + } + }, + "SYNC_DESTINATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYNC_DESTINATION" + } + }, + "SYNC_SOURCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYNC_SOURCE" + } + } } }, "com.amazonaws.fsx#StorageVirtualMachines": { @@ -7172,6 +8251,18 @@ } } }, + "com.amazonaws.fsx#SubDirectoriesPaths": { + "type": "list", + "member": { + "target": "com.amazonaws.fsx#Namespace" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 500 + } + } + }, "com.amazonaws.fsx#SubnetId": { "type": "string", "traits": { @@ -7189,7 +8280,7 @@ "target": "com.amazonaws.fsx#SubnetId" }, "traits": { - "smithy.api#documentation": "

A list of subnet IDs. Currently, you can specify only one subnet ID in a call to\n the CreateFileSystem operation.

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

A list of subnet IDs that the cache will be accessible from. You can specify only\n one subnet ID in a call to the CreateFileCache operation.

", "smithy.api#length": { "min": 0, "max": 50 @@ -7197,10 +8288,7 @@ } }, "com.amazonaws.fsx#SucceededCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.fsx#SvmActiveDirectoryConfiguration": { "type": "structure", @@ -7440,33 +8528,36 @@ } }, "com.amazonaws.fsx#TieringPolicyName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SNAPSHOT_ONLY", - "name": "SNAPSHOT_ONLY" - }, - { - "value": "AUTO", - "name": "AUTO" - }, - { - "value": "ALL", - "name": "ALL" - }, - { - "value": "NONE", - "name": "NONE" - } - ] + "type": "enum", + "members": { + "SNAPSHOT_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNAPSHOT_ONLY" + } + }, + "AUTO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO" + } + }, + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" + } + }, + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + } } }, "com.amazonaws.fsx#TotalCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.fsx#UUID": { "type": "string", @@ -7620,6 +8711,88 @@ } } }, + "com.amazonaws.fsx#UpdateFileCache": { + "type": "operation", + "input": { + "target": "com.amazonaws.fsx#UpdateFileCacheRequest" + }, + "output": { + "target": "com.amazonaws.fsx#UpdateFileCacheResponse" + }, + "errors": [ + { + "target": "com.amazonaws.fsx#BadRequest" + }, + { + "target": "com.amazonaws.fsx#FileCacheNotFound" + }, + { + "target": "com.amazonaws.fsx#IncompatibleParameterError" + }, + { + "target": "com.amazonaws.fsx#InternalServerError" + }, + { + "target": "com.amazonaws.fsx#MissingFileCacheConfiguration" + }, + { + "target": "com.amazonaws.fsx#ServiceLimitExceeded" + }, + { + "target": "com.amazonaws.fsx#UnsupportedOperation" + } + ], + "traits": { + "smithy.api#documentation": "

Updates the configuration of an existing Amazon File Cache resource.\n You can update multiple properties in a single request.

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.fsx#UpdateFileCacheLustreConfiguration": { + "type": "structure", + "members": { + "WeeklyMaintenanceStartTime": { + "target": "com.amazonaws.fsx#WeeklyTime" + } + }, + "traits": { + "smithy.api#documentation": "

The configuration update for an Amazon File Cache resource.

" + } + }, + "com.amazonaws.fsx#UpdateFileCacheRequest": { + "type": "structure", + "members": { + "FileCacheId": { + "target": "com.amazonaws.fsx#FileCacheId", + "traits": { + "smithy.api#documentation": "

The ID of the cache that you are updating.

", + "smithy.api#required": {} + } + }, + "ClientRequestToken": { + "target": "com.amazonaws.fsx#ClientRequestToken", + "traits": { + "smithy.api#idempotencyToken": {} + } + }, + "LustreConfiguration": { + "target": "com.amazonaws.fsx#UpdateFileCacheLustreConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration updates for an Amazon File Cache resource.

" + } + } + } + }, + "com.amazonaws.fsx#UpdateFileCacheResponse": { + "type": "structure", + "members": { + "FileCache": { + "target": "com.amazonaws.fsx#FileCache", + "traits": { + "smithy.api#documentation": "

A description of the cache that was updated.

" + } + } + } + }, "com.amazonaws.fsx#UpdateFileSystem": { "type": "operation", "input": { @@ -8246,7 +9419,6 @@ "com.amazonaws.fsx#VolumeCapacity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -8274,18 +9446,20 @@ } }, "com.amazonaws.fsx#VolumeFilterName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "file-system-id", - "name": "FILE_SYSTEM_ID" - }, - { - "value": "storage-virtual-machine-id", - "name": "STORAGE_VIRTUAL_MACHINE_ID" + "type": "enum", + "members": { + "FILE_SYSTEM_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "file-system-id" + } + }, + "STORAGE_VIRTUAL_MACHINE_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "storage-virtual-machine-id" } - ] + } } }, "com.amazonaws.fsx#VolumeFilterValue": { @@ -8345,38 +9519,50 @@ } }, "com.amazonaws.fsx#VolumeLifecycle": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "CREATED", - "name": "CREATED" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "MISCONFIGURED", - "name": "MISCONFIGURED" - }, - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "AVAILABLE", - "name": "AVAILABLE" - } - ] + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "CREATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATED" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "MISCONFIGURED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISCONFIGURED" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + } } }, "com.amazonaws.fsx#VolumeName": { @@ -8412,18 +9598,20 @@ } }, "com.amazonaws.fsx#VolumeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ONTAP", - "name": "ONTAP" - }, - { - "value": "OPENZFS", - "name": "OPENZFS" + "type": "enum", + "members": { + "ONTAP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONTAP" + } + }, + "OPENZFS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPENZFS" } - ] + } } }, "com.amazonaws.fsx#Volumes": { @@ -8461,26 +9649,32 @@ } }, "com.amazonaws.fsx#WindowsAccessAuditLogLevel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "SUCCESS_ONLY", - "name": "SUCCESS_ONLY" - }, - { - "value": "FAILURE_ONLY", - "name": "FAILURE_ONLY" - }, - { - "value": "SUCCESS_AND_FAILURE", - "name": "SUCCESS_AND_FAILURE" - } - ] + "type": "enum", + "members": { + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "SUCCESS_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS_ONLY" + } + }, + "FAILURE_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILURE_ONLY" + } + }, + "SUCCESS_AND_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS_AND_FAILURE" + } + } } }, "com.amazonaws.fsx#WindowsAuditLogConfiguration": { @@ -8540,22 +9734,26 @@ } }, "com.amazonaws.fsx#WindowsDeploymentType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MULTI_AZ_1", - "name": "MULTI_AZ_1" - }, - { - "value": "SINGLE_AZ_1", - "name": "SINGLE_AZ_1" - }, - { - "value": "SINGLE_AZ_2", - "name": "SINGLE_AZ_2" - } - ] + "type": "enum", + "members": { + "MULTI_AZ_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MULTI_AZ_1" + } + }, + "SINGLE_AZ_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_AZ_1" + } + }, + "SINGLE_AZ_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_AZ_2" + } + } } }, "com.amazonaws.fsx#WindowsFileSystemConfiguration": { diff --git a/codegen/sdk-codegen/aws-models/migrationhuborchestrator.json b/codegen/sdk-codegen/aws-models/migrationhuborchestrator.json new file mode 100644 index 00000000000..7e74f47c2b7 --- /dev/null +++ b/codegen/sdk-codegen/aws-models/migrationhuborchestrator.json @@ -0,0 +1,4529 @@ +{ + "smithy": "2.0", + "shapes": { + "com.amazonaws.migrationhuborchestrator#AWSMigrationHubOrchestrator": { + "type": "service", + "version": "2021-08-28", + "operations": [ + { + "target": "com.amazonaws.migrationhuborchestrator#ListTagsForResource" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#TagResource" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflow" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowTemplate" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#Plugin" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#TemplateStep" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#TemplateStepGroup" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#TemplateStepGroups" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStep" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepGroup" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "MigrationHubOrchestrator", + "arnNamespace": "migrationhub-orchestrator", + "endpointPrefix": "migrationhub-orchestrator", + "cloudTrailEventSource": "migrationhub-orchestrator.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "migrationhub-orchestrator" + }, + "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" + ], + "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": "

This API reference provides descriptions, syntax, and other details about each of the\n actions and data types for AWS Migration Hub Orchestrator. he topic for each action shows the API\n request parameters and the response. Alternatively, you can use one of the AWS SDKs to\n access an API that is tailored to the programming language or platform that you're\n using.

", + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#title": "AWS Migration Hub Orchestrator" + } + }, + "com.amazonaws.migrationhuborchestrator#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, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.migrationhuborchestrator#ApplicationConfigurationName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*$" + } + }, + "com.amazonaws.migrationhuborchestrator#CreateMigrationWorkflowRequest": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the migration workflow.

", + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*$", + "smithy.api#required": {} + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the migration workflow.

", + "smithy.api#length": { + "min": 0, + "max": 500 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+, ]*$" + } + }, + "templateId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the template.

", + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*$", + "smithy.api#required": {} + } + }, + "applicationConfigurationId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The configuration ID of the application configured in Application Discovery Service.

", + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*$", + "smithy.api#required": {} + } + }, + "inputParameters": { + "target": "com.amazonaws.migrationhuborchestrator#StepInputParameters", + "traits": { + "smithy.api#documentation": "

The input parameters required to create a migration workflow.

", + "smithy.api#required": {} + } + }, + "stepTargets": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The servers on which a step will be run.

" + } + }, + "tags": { + "target": "com.amazonaws.migrationhuborchestrator#StringMap", + "traits": { + "smithy.api#documentation": "

The tags to add on a migration workflow.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#CreateMigrationWorkflowResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "arn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the migration workflow.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the migration workflow.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the migration workflow.

" + } + }, + "templateId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the template.

" + } + }, + "adsApplicationConfigurationId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The configuration ID of the application configured in Application Discovery Service.

" + } + }, + "workflowInputs": { + "target": "com.amazonaws.migrationhuborchestrator#StepInputParameters", + "traits": { + "smithy.api#documentation": "

The inputs for creating a migration workflow.

" + } + }, + "stepTargets": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The servers on which a step will be run.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowStatusEnum", + "traits": { + "smithy.api#documentation": "

The status of the migration workflow.

" + } + }, + "creationTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the migration workflow was created.

" + } + }, + "tags": { + "target": "com.amazonaws.migrationhuborchestrator#StringMap", + "traits": { + "smithy.api#documentation": "

The tags to add on a migration workflow.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#CreateWorkflow": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#CreateMigrationWorkflowRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#CreateMigrationWorkflowResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Create a workflow to orchestrate your migrations.

", + "smithy.api#http": { + "method": "POST", + "uri": "/migrationworkflow/", + "code": 200 + } + } + }, + "com.amazonaws.migrationhuborchestrator#CreateWorkflowStep": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#CreateWorkflowStepRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#CreateWorkflowStepResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Create a step in the migration workflow.

", + "smithy.api#http": { + "method": "POST", + "uri": "/workflowstep", + "code": 200 + } + } + }, + "com.amazonaws.migrationhuborchestrator#CreateWorkflowStepGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#CreateWorkflowStepGroupRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#CreateWorkflowStepGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Create a step group in a migration workflow.

", + "smithy.api#http": { + "method": "POST", + "uri": "/workflowstepgroups", + "code": 200 + } + } + }, + "com.amazonaws.migrationhuborchestrator#CreateWorkflowStepGroupRequest": { + "type": "structure", + "members": { + "workflowId": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow that will contain the step group.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupName", + "traits": { + "smithy.api#documentation": "

The name of the step group.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupDescription", + "traits": { + "smithy.api#documentation": "

The description of the step group.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step group.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step group.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#CreateWorkflowStepGroupResponse": { + "type": "structure", + "members": { + "workflowId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow that contains the step group.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step group.

" + } + }, + "id": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the step group.

" + } + }, + "tools": { + "target": "com.amazonaws.migrationhuborchestrator#ToolsList", + "traits": { + "smithy.api#documentation": "

List of AWS services utilized in a migration workflow.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step group.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step group.

" + } + }, + "creationTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the step group is created.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#CreateWorkflowStepRequest": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowName", + "traits": { + "smithy.api#documentation": "

The name of the step.

", + "smithy.api#required": {} + } + }, + "stepGroupId": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

", + "smithy.api#required": {} + } + }, + "workflowId": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#required": {} + } + }, + "stepActionType": { + "target": "com.amazonaws.migrationhuborchestrator#StepActionType", + "traits": { + "smithy.api#documentation": "

The action type of the step. You must run and update the status of a manual step for\n the workflow to continue after the completion of the step.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowDescription", + "traits": { + "smithy.api#documentation": "

The description of the step.

" + } + }, + "workflowStepAutomationConfiguration": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepAutomationConfiguration", + "traits": { + "smithy.api#documentation": "

The custom script to run tests on source or target environments.

" + } + }, + "stepTarget": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The servers on which a step will be run.

" + } + }, + "outputs": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepOutputList", + "traits": { + "smithy.api#documentation": "

The key value pairs added for the expected output.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#CreateWorkflowStepResponse": { + "type": "structure", + "members": { + "id": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step.

" + } + }, + "stepGroupId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

" + } + }, + "workflowId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#DataType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "STRING", + "name": "STRING" + }, + { + "value": "INTEGER", + "name": "INTEGER" + }, + { + "value": "STRINGLIST", + "name": "STRINGLIST" + }, + { + "value": "STRINGMAP", + "name": "STRINGMAP" + } + ] + } + }, + "com.amazonaws.migrationhuborchestrator#DeleteMigrationWorkflowRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow you want to delete.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#DeleteMigrationWorkflowResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "arn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the migration workflow.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowStatusEnum", + "traits": { + "smithy.api#documentation": "

The status of the migration workflow.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#DeleteWorkflow": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#DeleteMigrationWorkflowRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#DeleteMigrationWorkflowResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Delete a migration workflow. You must pause a running workflow in Migration Hub Orchestrator console to\n delete it.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/migrationworkflow/{id}", + "code": 202 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.migrationhuborchestrator#DeleteWorkflowStep": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#DeleteWorkflowStepRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#DeleteWorkflowStepResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Delete a step in a migration workflow. Pause the workflow to delete a running\n step.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/workflowstep/{id}", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.migrationhuborchestrator#DeleteWorkflowStepGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#DeleteWorkflowStepGroupRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#DeleteWorkflowStepGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Delete a step group in a migration workflow.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/workflowstepgroup/{id}", + "code": 202 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.migrationhuborchestrator#DeleteWorkflowStepGroupRequest": { + "type": "structure", + "members": { + "workflowId": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#httpQuery": "workflowId", + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group you want to delete.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#DeleteWorkflowStepGroupResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.migrationhuborchestrator#DeleteWorkflowStepRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepId", + "traits": { + "smithy.api#documentation": "

The ID of the step you want to delete.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "stepGroupId": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group that contains the step you want to delete.

", + "smithy.api#httpQuery": "stepGroupId", + "smithy.api#required": {} + } + }, + "workflowId": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#httpQuery": "workflowId", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#DeleteWorkflowStepResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.migrationhuborchestrator#GetMigrationWorkflowRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#GetMigrationWorkflowResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "arn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the migration workflow.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the migration workflow.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the migration workflow.

" + } + }, + "templateId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the template.

" + } + }, + "adsApplicationConfigurationId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The configuration ID of the application configured in Application Discovery Service.

" + } + }, + "adsApplicationName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the application configured in Application Discovery Service.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowStatusEnum", + "traits": { + "smithy.api#documentation": "

The status of the migration workflow.

" + } + }, + "statusMessage": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The status message of the migration workflow.

" + } + }, + "creationTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the migration workflow was created.

" + } + }, + "lastStartTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the migration workflow was last started.

" + } + }, + "lastStopTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the migration workflow was last stopped.

" + } + }, + "lastModifiedTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the migration workflow was last modified.

" + } + }, + "endTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the migration workflow ended.

" + } + }, + "tools": { + "target": "com.amazonaws.migrationhuborchestrator#ToolsList", + "traits": { + "smithy.api#documentation": "

List of AWS services utilized in a migration workflow.

" + } + }, + "totalSteps": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The total number of steps in the migration workflow.

" + } + }, + "completedSteps": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

Get a list of completed steps in the migration workflow.

" + } + }, + "workflowInputs": { + "target": "com.amazonaws.migrationhuborchestrator#StepInputParameters", + "traits": { + "smithy.api#documentation": "

The inputs required for creating the migration workflow.

" + } + }, + "tags": { + "target": "com.amazonaws.migrationhuborchestrator#StringMap", + "traits": { + "smithy.api#documentation": "

The tags added to the migration workflow.

" + } + }, + "workflowBucket": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon S3 bucket where the migration logs are stored.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#GetMigrationWorkflowTemplateRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateId", + "traits": { + "smithy.api#documentation": "

The ID of the template.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#GetMigrationWorkflowTemplateResponse": { + "type": "structure", + "members": { + "id": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the template.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the template.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The time at which the template was last created.

" + } + }, + "inputs": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateInputList", + "traits": { + "smithy.api#documentation": "

The inputs provided for the creation of the migration workflow.

" + } + }, + "tools": { + "target": "com.amazonaws.migrationhuborchestrator#ToolsList", + "traits": { + "smithy.api#documentation": "

List of AWS services utilized in a migration workflow.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateStatus", + "traits": { + "smithy.api#documentation": "

The status of the template.

" + } + }, + "creationTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the template was last created.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#GetTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#GetMigrationWorkflowTemplateRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#GetMigrationWorkflowTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Get the template you want to use for creating a migration workflow.

", + "smithy.api#http": { + "method": "GET", + "uri": "/migrationworkflowtemplate/{id}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#GetTemplateStep": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#GetTemplateStepRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#GetTemplateStepResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Get a specific step in a template.

", + "smithy.api#http": { + "method": "GET", + "uri": "/templatestep/{id}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#GetTemplateStepGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#GetTemplateStepGroupRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#GetTemplateStepGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Get a step group in a template.

", + "smithy.api#http": { + "method": "GET", + "uri": "/templates/{templateId}/stepgroups/{id}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#GetTemplateStepGroupRequest": { + "type": "structure", + "members": { + "templateId": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateId", + "traits": { + "smithy.api#documentation": "

The ID of the template.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#GetTemplateStepGroupResponse": { + "type": "structure", + "members": { + "templateId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the template.

" + } + }, + "id": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step group.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the step group.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupStatus", + "traits": { + "smithy.api#documentation": "

The status of the step group.

" + } + }, + "creationTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the step group was created.

" + } + }, + "lastModifiedTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the step group was last modified.

" + } + }, + "tools": { + "target": "com.amazonaws.migrationhuborchestrator#ToolsList", + "traits": { + "smithy.api#documentation": "

List of AWS services utilized in a migration workflow.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step group.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step group.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#GetTemplateStepRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepId", + "traits": { + "smithy.api#documentation": "

The ID of the step.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateId", + "traits": { + "smithy.api#documentation": "

The ID of the template.

", + "smithy.api#httpQuery": "templateId", + "smithy.api#required": {} + } + }, + "stepGroupId": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

", + "smithy.api#httpQuery": "stepGroupId", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#GetTemplateStepResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepId", + "traits": { + "smithy.api#documentation": "

The ID of the step.

" + } + }, + "stepGroupId": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

" + } + }, + "templateId": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateId", + "traits": { + "smithy.api#documentation": "

The ID of the template.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the step.

" + } + }, + "stepActionType": { + "target": "com.amazonaws.migrationhuborchestrator#StepActionType", + "traits": { + "smithy.api#documentation": "

The action type of the step. You must run and update the status of a manual step for\n the workflow to continue after the completion of the step.

" + } + }, + "creationTime": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The time at which the step was created.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step.

" + } + }, + "outputs": { + "target": "com.amazonaws.migrationhuborchestrator#StepOutputList", + "traits": { + "smithy.api#documentation": "

The outputs of the step.

" + } + }, + "stepAutomationConfiguration": { + "target": "com.amazonaws.migrationhuborchestrator#StepAutomationConfiguration", + "traits": { + "smithy.api#documentation": "

The custom script to run tests on source or target environments.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#GetWorkflow": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#GetMigrationWorkflowRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#GetMigrationWorkflowResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Get migration workflow.

", + "smithy.api#http": { + "method": "GET", + "uri": "/migrationworkflow/{id}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#GetWorkflowStep": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#GetWorkflowStepRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#GetWorkflowStepResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Get a step in the migration workflow.

", + "smithy.api#http": { + "method": "GET", + "uri": "/workflowstep/{id}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#GetWorkflowStepGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#GetWorkflowStepGroupRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#GetWorkflowStepGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Get the step group of a migration workflow.

", + "smithy.api#http": { + "method": "GET", + "uri": "/workflowstepgroup/{id}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#GetWorkflowStepGroupRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "workflowId": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#httpQuery": "workflowId", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#GetWorkflowStepGroupResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

" + } + }, + "workflowId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step group.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the step group.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupStatus", + "traits": { + "smithy.api#documentation": "

The status of the step group.

" + } + }, + "owner": { + "target": "com.amazonaws.migrationhuborchestrator#Owner", + "traits": { + "smithy.api#documentation": "

The owner of the step group.

" + } + }, + "creationTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the step group was created.

" + } + }, + "lastModifiedTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the step group was last modified.

" + } + }, + "endTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the step group ended.

" + } + }, + "tools": { + "target": "com.amazonaws.migrationhuborchestrator#ToolsList", + "traits": { + "smithy.api#documentation": "

List of AWS services utilized in a migration workflow.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step group.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step group.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#GetWorkflowStepRequest": { + "type": "structure", + "members": { + "workflowId": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#httpQuery": "workflowId", + "smithy.api#required": {} + } + }, + "stepGroupId": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

desThe ID of the step group.

", + "smithy.api#httpQuery": "stepGroupId", + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepId", + "traits": { + "smithy.api#documentation": "

The ID of the step.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#GetWorkflowStepResponse": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step.

" + } + }, + "stepGroupId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

" + } + }, + "workflowId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "stepId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the step.

" + } + }, + "stepActionType": { + "target": "com.amazonaws.migrationhuborchestrator#StepActionType", + "traits": { + "smithy.api#documentation": "

The action type of the step. You must run and update the status of a manual step for\n the workflow to continue after the completion of the step.

" + } + }, + "owner": { + "target": "com.amazonaws.migrationhuborchestrator#Owner", + "traits": { + "smithy.api#documentation": "

The owner of the step.

" + } + }, + "workflowStepAutomationConfiguration": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepAutomationConfiguration", + "traits": { + "smithy.api#documentation": "

The custom script to run tests on source or target environments.

" + } + }, + "stepTarget": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The servers on which a step will be run.

" + } + }, + "outputs": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepOutputList", + "traits": { + "smithy.api#documentation": "

The outputs of the step.

", + "smithy.api#length": { + "min": 0, + "max": 5 + } + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#StepStatus", + "traits": { + "smithy.api#documentation": "

The status of the step.

" + } + }, + "statusMessage": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The status message of the migration workflow.

" + } + }, + "scriptOutputLocation": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The output location of the script.

" + } + }, + "creationTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the step was created.

" + } + }, + "lastStartTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the workflow was last started.

" + } + }, + "endTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the step ended.

" + } + }, + "noOfSrvCompleted": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of servers that have been migrated.

" + } + }, + "noOfSrvFailed": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of servers that have failed to migrate.

" + } + }, + "totalNoOfSrv": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The total number of servers that have been migrated.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#IPAddress": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 15 + }, + "smithy.api#pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$" + } + }, + "com.amazonaws.migrationhuborchestrator#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An internal error has occurred.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.migrationhuborchestrator#ListMigrationWorkflowTemplatesRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.migrationhuborchestrator#MaxResults", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The maximum number of results that can be returned.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "name": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateName", + "traits": { + "smithy.api#documentation": "

The name of the template.

", + "smithy.api#httpQuery": "name" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListMigrationWorkflowTemplatesResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

" + } + }, + "templateSummary": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateSummaryList", + "traits": { + "smithy.api#documentation": "

The summary of the template.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListMigrationWorkflowsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.migrationhuborchestrator#MaxResults", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The maximum number of results that can be returned.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "templateId": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateId", + "traits": { + "smithy.api#documentation": "

The ID of the template.

", + "smithy.api#httpQuery": "templateId" + } + }, + "adsApplicationConfigurationName": { + "target": "com.amazonaws.migrationhuborchestrator#ApplicationConfigurationName", + "traits": { + "smithy.api#documentation": "

The name of the application configured in Application Discovery Service.

", + "smithy.api#httpQuery": "adsApplicationConfigurationName" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowStatusEnum", + "traits": { + "smithy.api#documentation": "

The status of the migration workflow.

", + "smithy.api#httpQuery": "status" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the migration workflow.

", + "smithy.api#httpQuery": "name" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListMigrationWorkflowsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

" + } + }, + "migrationWorkflowSummary": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowSummaryList", + "traits": { + "smithy.api#documentation": "

The summary of the migration workflow.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListPlugins": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#ListPluginsRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#ListPluginsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

List AWS Migration Hub Orchestrator plugins.

", + "smithy.api#http": { + "method": "GET", + "uri": "/plugins", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "plugins" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#ListPluginsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.migrationhuborchestrator#MaxResults", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The maximum number of plugins that can be returned.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListPluginsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

" + } + }, + "plugins": { + "target": "com.amazonaws.migrationhuborchestrator#PluginSummaries", + "traits": { + "smithy.api#documentation": "

Migration Hub Orchestrator plugins.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

List the tags added to a resource.

", + "smithy.api#http": { + "uri": "/tags/{resourceArn}", + "method": "GET" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.migrationhuborchestrator#ResourceArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.migrationhuborchestrator#TagMap", + "traits": { + "smithy.api#documentation": "

The tags added to a resource.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListTemplateStepGroups": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#ListTemplateStepGroupsRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#ListTemplateStepGroupsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

List the step groups in a template.

", + "smithy.api#http": { + "method": "GET", + "uri": "/templatestepgroups/{templateId}", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "templateStepGroupSummary" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#ListTemplateStepGroupsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.migrationhuborchestrator#MaxResults", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The maximum number of results that can be returned.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "templateId": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateId", + "traits": { + "smithy.api#documentation": "

The ID of the template.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListTemplateStepGroupsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

" + } + }, + "templateStepGroupSummary": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateStepGroupSummaryList", + "traits": { + "smithy.api#documentation": "

The summary of the step group in the template.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListTemplateSteps": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#ListTemplateStepsRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#ListTemplateStepsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

List the steps in a template.

", + "smithy.api#http": { + "method": "GET", + "uri": "/templatesteps", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "templateStepSummaryList" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#ListTemplateStepsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.migrationhuborchestrator#MaxResults", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The maximum number of results that can be returned.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "templateId": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateId", + "traits": { + "smithy.api#documentation": "

The ID of the template.

", + "smithy.api#httpQuery": "templateId", + "smithy.api#required": {} + } + }, + "stepGroupId": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

", + "smithy.api#httpQuery": "stepGroupId", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListTemplateStepsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

" + } + }, + "templateStepSummaryList": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateStepSummaryList", + "traits": { + "smithy.api#documentation": "

The list of summaries of steps in a template.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListTemplates": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#ListMigrationWorkflowTemplatesRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#ListMigrationWorkflowTemplatesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

List the templates available in Migration Hub Orchestrator to create a migration workflow.

", + "smithy.api#http": { + "method": "GET", + "uri": "/migrationworkflowtemplates", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "templateSummary" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#ListWorkflowStepGroups": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#ListWorkflowStepGroupsRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#ListWorkflowStepGroupsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

List the step groups in a migration workflow.

", + "smithy.api#http": { + "method": "GET", + "uri": "/workflowstepgroups", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "workflowStepGroupsSummary" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#ListWorkflowStepGroupsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.migrationhuborchestrator#MaxResults", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The maximum number of results that can be returned.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "workflowId": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#httpQuery": "workflowId", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListWorkflowStepGroupsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

" + } + }, + "workflowStepGroupsSummary": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepGroupsSummaryList", + "traits": { + "smithy.api#documentation": "

The summary of step groups in a migration workflow.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListWorkflowSteps": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#ListWorkflowStepsRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#ListWorkflowStepsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

List the steps in a workflow.

", + "smithy.api#http": { + "method": "GET", + "uri": "/workflow/{workflowId}/workflowstepgroups/{stepGroupId}/workflowsteps", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "workflowStepsSummary" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#ListWorkflowStepsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.migrationhuborchestrator#MaxResults", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The maximum number of results that can be returned.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "workflowId": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "stepGroupId": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListWorkflowStepsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.migrationhuborchestrator#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token.

" + } + }, + "workflowStepsSummary": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepsSummaryList", + "traits": { + "smithy.api#documentation": "

The summary of steps in a migration workflow.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ListWorkflows": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#ListMigrationWorkflowsRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#ListMigrationWorkflowsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

List the migration workflows.

", + "smithy.api#http": { + "method": "GET", + "uri": "/migrationworkflows", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "migrationWorkflowSummary" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.migrationhuborchestrator#MaxResults": { + "type": "integer", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.migrationhuborchestrator#MigrationWorkflow": { + "type": "resource", + "identifiers": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId" + } + }, + "create": { + "target": "com.amazonaws.migrationhuborchestrator#CreateWorkflow" + }, + "read": { + "target": "com.amazonaws.migrationhuborchestrator#GetWorkflow" + }, + "update": { + "target": "com.amazonaws.migrationhuborchestrator#UpdateWorkflow" + }, + "delete": { + "target": "com.amazonaws.migrationhuborchestrator#DeleteWorkflow" + }, + "list": { + "target": "com.amazonaws.migrationhuborchestrator#ListWorkflows" + }, + "operations": [ + { + "target": "com.amazonaws.migrationhuborchestrator#StartWorkflow" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#StopWorkflow" + } + ] + }, + "com.amazonaws.migrationhuborchestrator#MigrationWorkflowDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 500 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+, ]*$" + } + }, + "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[a-zA-Z0-9-]+$" + } + }, + "com.amazonaws.migrationhuborchestrator#MigrationWorkflowName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*$" + } + }, + "com.amazonaws.migrationhuborchestrator#MigrationWorkflowStatusEnum": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CREATING", + "name": "CREATING" + }, + { + "value": "NOT_STARTED", + "name": "NOT_STARTED" + }, + { + "value": "CREATION_FAILED", + "name": "CREATION_FAILED" + }, + { + "value": "STARTING", + "name": "STARTING" + }, + { + "value": "IN_PROGRESS", + "name": "IN_PROGRESS" + }, + { + "value": "WORKFLOW_FAILED", + "name": "WORKFLOW_FAILED" + }, + { + "value": "PAUSED", + "name": "PAUSED" + }, + { + "value": "PAUSING", + "name": "PAUSING" + }, + { + "value": "PAUSING_FAILED", + "name": "PAUSING_FAILED" + }, + { + "value": "USER_ATTENTION_REQUIRED", + "name": "USER_ATTENTION_REQUIRED" + }, + { + "value": "DELETING", + "name": "DELETING" + }, + { + "value": "DELETION_FAILED", + "name": "DELETION_FAILED" + }, + { + "value": "DELETED", + "name": "DELETED" + }, + { + "value": "COMPLETED", + "name": "COMPLETED" + } + ] + } + }, + "com.amazonaws.migrationhuborchestrator#MigrationWorkflowSummary": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the migration workflow.

" + } + }, + "templateId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the template.

" + } + }, + "adsApplicationConfigurationName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the application configured in Application Discovery Service.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowStatusEnum", + "traits": { + "smithy.api#documentation": "

The status of the migration workflow.

" + } + }, + "creationTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the migration workflow was created.

" + } + }, + "endTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the migration workflow ended.

" + } + }, + "statusMessage": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The status message of the migration workflow.

" + } + }, + "completedSteps": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The steps completed in the migration workflow.

" + } + }, + "totalSteps": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

All the steps in a migration workflow.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of a migration workflow.

" + } + }, + "com.amazonaws.migrationhuborchestrator#MigrationWorkflowSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowSummary" + } + }, + "com.amazonaws.migrationhuborchestrator#MigrationWorkflowTemplate": { + "type": "resource", + "identifiers": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateId" + } + }, + "read": { + "target": "com.amazonaws.migrationhuborchestrator#GetTemplate" + }, + "list": { + "target": "com.amazonaws.migrationhuborchestrator#ListTemplates" + } + }, + "com.amazonaws.migrationhuborchestrator#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 2048 + }, + "smithy.api#pattern": ".*\\S.*" + } + }, + "com.amazonaws.migrationhuborchestrator#Owner": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AWS_MANAGED", + "name": "AWSManaged" + }, + { + "value": "CUSTOM", + "name": "CUSTOM" + } + ] + } + }, + "com.amazonaws.migrationhuborchestrator#PlatformCommand": { + "type": "structure", + "members": { + "linux": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

Command for Linux.

" + } + }, + "windows": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

Command for Windows.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Command to be run on a particular operating system.

" + } + }, + "com.amazonaws.migrationhuborchestrator#PlatformScriptKey": { + "type": "structure", + "members": { + "linux": { + "target": "com.amazonaws.migrationhuborchestrator#S3Key", + "traits": { + "smithy.api#documentation": "

The script location for Linux.

" + } + }, + "windows": { + "target": "com.amazonaws.migrationhuborchestrator#S3Key", + "traits": { + "smithy.api#documentation": "

The script location for Windows.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The script location for a particular operating system.

" + } + }, + "com.amazonaws.migrationhuborchestrator#Plugin": { + "type": "resource", + "identifiers": { + "pluginId": { + "target": "com.amazonaws.migrationhuborchestrator#PluginId" + } + }, + "list": { + "target": "com.amazonaws.migrationhuborchestrator#ListPlugins" + } + }, + "com.amazonaws.migrationhuborchestrator#PluginHealth": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "HEALTHY", + "name": "PLUGIN_HEALTHY" + }, + { + "value": "UNHEALTHY", + "name": "PLUGIN_UNHEALTHY" + } + ] + } + }, + "com.amazonaws.migrationhuborchestrator#PluginId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 60 + }, + "smithy.api#pattern": ".*\\S.*" + } + }, + "com.amazonaws.migrationhuborchestrator#PluginSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#PluginSummary" + } + }, + "com.amazonaws.migrationhuborchestrator#PluginSummary": { + "type": "structure", + "members": { + "pluginId": { + "target": "com.amazonaws.migrationhuborchestrator#PluginId", + "traits": { + "smithy.api#documentation": "

The ID of the plugin.

" + } + }, + "hostname": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the host.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#PluginHealth", + "traits": { + "smithy.api#documentation": "

The status of the plugin.

" + } + }, + "ipAddress": { + "target": "com.amazonaws.migrationhuborchestrator#IPAddress", + "traits": { + "smithy.api#documentation": "

The IP address at which the plugin is located.

" + } + }, + "version": { + "target": "com.amazonaws.migrationhuborchestrator#PluginVersion", + "traits": { + "smithy.api#documentation": "

The version of the plugin.

" + } + }, + "registeredTime": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The time at which the plugin was registered.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of the Migration Hub Orchestrator plugin.

" + } + }, + "com.amazonaws.migrationhuborchestrator#PluginVersion": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1024 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.migrationhuborchestrator#ResourceArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:aws:migrationhub-orchestrator:[a-z0-9-]+:[0-9]+:workflow/[.]*$" + } + }, + "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The resource is not available.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.migrationhuborchestrator#RetryWorkflowStep": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#RetryWorkflowStepRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#RetryWorkflowStepResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Retry a failed step in a migration workflow.

", + "smithy.api#http": { + "method": "POST", + "uri": "/retryworkflowstep/{id}", + "code": 200 + } + } + }, + "com.amazonaws.migrationhuborchestrator#RetryWorkflowStepRequest": { + "type": "structure", + "members": { + "workflowId": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#httpQuery": "workflowId", + "smithy.api#required": {} + } + }, + "stepGroupId": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

", + "smithy.api#httpQuery": "stepGroupId", + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepId", + "traits": { + "smithy.api#documentation": "

The ID of the step.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#RetryWorkflowStepResponse": { + "type": "structure", + "members": { + "stepGroupId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

" + } + }, + "workflowId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "id": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#StepStatus", + "traits": { + "smithy.api#documentation": "

The status of the step.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#RunEnvironment": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AWS", + "name": "AWS" + }, + { + "value": "ONPREMISE", + "name": "ONPREMISE" + } + ] + } + }, + "com.amazonaws.migrationhuborchestrator#S3Bucket": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 63 + }, + "smithy.api#pattern": "^[0-9a-z]+[0-9a-z\\.\\-]*[0-9a-z]+$" + } + }, + "com.amazonaws.migrationhuborchestrator#S3Key": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1024 + } + } + }, + "com.amazonaws.migrationhuborchestrator#StartMigrationWorkflowRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#StartMigrationWorkflowResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "arn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the migration workflow.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowStatusEnum", + "traits": { + "smithy.api#documentation": "

The status of the migration workflow.

" + } + }, + "statusMessage": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The status message of the migration workflow.

" + } + }, + "lastStartTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the migration workflow was last started.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#StartWorkflow": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#StartMigrationWorkflowRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#StartMigrationWorkflowResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Start a migration workflow.

", + "smithy.api#http": { + "method": "POST", + "uri": "/migrationworkflow/{id}/start", + "code": 200 + } + } + }, + "com.amazonaws.migrationhuborchestrator#StepActionType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "MANUAL", + "name": "MANUAL" + }, + { + "value": "AUTOMATED", + "name": "AUTOMATED" + } + ] + } + }, + "com.amazonaws.migrationhuborchestrator#StepAutomationConfiguration": { + "type": "structure", + "members": { + "scriptLocationS3Bucket": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon S3 bucket where the script is located.

" + } + }, + "scriptLocationS3Key": { + "target": "com.amazonaws.migrationhuborchestrator#PlatformScriptKey", + "traits": { + "smithy.api#documentation": "

The Amazon S3 key for the script location.

" + } + }, + "command": { + "target": "com.amazonaws.migrationhuborchestrator#PlatformCommand", + "traits": { + "smithy.api#documentation": "

The command to run the script.

" + } + }, + "runEnvironment": { + "target": "com.amazonaws.migrationhuborchestrator#RunEnvironment", + "traits": { + "smithy.api#documentation": "

The source or target environment.

" + } + }, + "targetType": { + "target": "com.amazonaws.migrationhuborchestrator#TargetType", + "traits": { + "smithy.api#documentation": "

The servers on which to run the script.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The custom script to run tests on source or target environments.

" + } + }, + "com.amazonaws.migrationhuborchestrator#StepDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 500 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+, ]*$" + } + }, + "com.amazonaws.migrationhuborchestrator#StepGroupDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 500 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+, ]*$" + } + }, + "com.amazonaws.migrationhuborchestrator#StepGroupId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[a-zA-Z0-9-]+$" + } + }, + "com.amazonaws.migrationhuborchestrator#StepGroupName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*$" + } + }, + "com.amazonaws.migrationhuborchestrator#StepGroupStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AWAITING_DEPENDENCIES", + "name": "AWAITING_DEPENDENCIES" + }, + { + "value": "READY", + "name": "READY" + }, + { + "value": "IN_PROGRESS", + "name": "IN_PROGRESS" + }, + { + "value": "COMPLETED", + "name": "COMPLETED" + }, + { + "value": "FAILED", + "name": "FAILED" + }, + { + "value": "PAUSED", + "name": "PAUSED" + }, + { + "value": "PAUSING", + "name": "PAUSING" + }, + { + "value": "USER_ATTENTION_REQUIRED", + "name": "USER_ATTENTION_REQUIRED" + } + ] + } + }, + "com.amazonaws.migrationhuborchestrator#StepId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[a-zA-Z0-9-]+$" + } + }, + "com.amazonaws.migrationhuborchestrator#StepInput": { + "type": "union", + "members": { + "integerValue": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The value of the integer.

" + } + }, + "stringValue": { + "target": "com.amazonaws.migrationhuborchestrator#StringValue", + "traits": { + "smithy.api#documentation": "

String value.

" + } + }, + "listOfStringsValue": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

List of string values.

" + } + }, + "mapOfStringValue": { + "target": "com.amazonaws.migrationhuborchestrator#StringMap", + "traits": { + "smithy.api#documentation": "

Map of string values.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A map of key value pairs that is generated when you create a migration workflow. The\n key value pairs will differ based on your selection of the template.

" + } + }, + "com.amazonaws.migrationhuborchestrator#StepInputParameters": { + "type": "map", + "key": { + "target": "com.amazonaws.migrationhuborchestrator#StepInputParametersKey" + }, + "value": { + "target": "com.amazonaws.migrationhuborchestrator#StepInput" + }, + "traits": { + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.migrationhuborchestrator#StepInputParametersKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[a-zA-Z0-9-_ ()]+$" + } + }, + "com.amazonaws.migrationhuborchestrator#StepName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*$" + } + }, + "com.amazonaws.migrationhuborchestrator#StepOutput": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step.

" + } + }, + "dataType": { + "target": "com.amazonaws.migrationhuborchestrator#DataType", + "traits": { + "smithy.api#documentation": "

The data type of the step output.

" + } + }, + "required": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Determine if an output is required from a step.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The output of the step.

" + } + }, + "com.amazonaws.migrationhuborchestrator#StepOutputList": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#StepOutput" + } + }, + "com.amazonaws.migrationhuborchestrator#StepStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AWAITING_DEPENDENCIES", + "name": "AWAITING_DEPENDENCIES" + }, + { + "value": "READY", + "name": "READY" + }, + { + "value": "IN_PROGRESS", + "name": "IN_PROGRESS" + }, + { + "value": "COMPLETED", + "name": "COMPLETED" + }, + { + "value": "FAILED", + "name": "FAILED" + }, + { + "value": "PAUSED", + "name": "PAUSED" + }, + { + "value": "USER_ATTENTION_REQUIRED", + "name": "USER_ATTENTION_REQUIRED" + } + ] + } + }, + "com.amazonaws.migrationhuborchestrator#StopMigrationWorkflowRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#StopMigrationWorkflowResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "arn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the migration workflow.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowStatusEnum", + "traits": { + "smithy.api#documentation": "

The status of the migration workflow.

" + } + }, + "statusMessage": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The status message of the migration workflow.

" + } + }, + "lastStopTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the migration workflow was stopped.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#StopWorkflow": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#StopMigrationWorkflowRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#StopMigrationWorkflowResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Stop an ongoing migration workflow.

", + "smithy.api#http": { + "method": "POST", + "uri": "/migrationworkflow/{id}/stop", + "code": 200 + } + } + }, + "com.amazonaws.migrationhuborchestrator#StringList": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#StringListMember" + } + }, + "com.amazonaws.migrationhuborchestrator#StringListMember": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.migrationhuborchestrator#StringMap": { + "type": "map", + "key": { + "target": "com.amazonaws.migrationhuborchestrator#StringMapKey" + }, + "value": { + "target": "com.amazonaws.migrationhuborchestrator#StringMapValue" + } + }, + "com.amazonaws.migrationhuborchestrator#StringMapKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[a-zA-Z0-9-_ ()]+$" + } + }, + "com.amazonaws.migrationhuborchestrator#StringMapValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.migrationhuborchestrator#StringValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.migrationhuborchestrator#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" + } + }, + "com.amazonaws.migrationhuborchestrator#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.migrationhuborchestrator#TagMap": { + "type": "map", + "key": { + "target": "com.amazonaws.migrationhuborchestrator#TagKey" + }, + "value": { + "target": "com.amazonaws.migrationhuborchestrator#TagValue" + } + }, + "com.amazonaws.migrationhuborchestrator#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Tag a resource by specifying its Amazon Resource Name (ARN).

", + "smithy.api#http": { + "uri": "/tags/{resourceArn}", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.migrationhuborchestrator#TagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.migrationhuborchestrator#ResourceArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to which you want to add tags.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.migrationhuborchestrator#TagMap", + "traits": { + "smithy.api#documentation": "

A collection of labels, in the form of key:value pairs, that apply to this\n resource.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#TagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.migrationhuborchestrator#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + } + } + }, + "com.amazonaws.migrationhuborchestrator#TargetType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SINGLE", + "name": "SINGLE" + }, + { + "value": "ALL", + "name": "ALL" + }, + { + "value": "NONE", + "name": "NONE" + } + ] + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*$" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateInput": { + "type": "structure", + "members": { + "inputName": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateInputName", + "traits": { + "smithy.api#documentation": "

The name of the template.

" + } + }, + "dataType": { + "target": "com.amazonaws.migrationhuborchestrator#DataType", + "traits": { + "smithy.api#documentation": "

The data type of the template input.

" + } + }, + "required": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Determine if an input is required from the template.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The input parameters of a template.

" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateInputList": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateInput" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateInputName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*$" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*$" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CREATED", + "name": "CREATED" + } + ] + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateStep": { + "type": "resource", + "identifiers": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepId" + } + }, + "read": { + "target": "com.amazonaws.migrationhuborchestrator#GetTemplateStep" + }, + "list": { + "target": "com.amazonaws.migrationhuborchestrator#ListTemplateSteps" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateStepGroup": { + "type": "resource", + "identifiers": { + "templateId": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateId" + }, + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId" + } + }, + "read": { + "target": "com.amazonaws.migrationhuborchestrator#GetTemplateStepGroup" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateStepGroupSummary": { + "type": "structure", + "members": { + "id": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step group.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step group.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step group.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of the step group in the template.

" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateStepGroupSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateStepGroupSummary" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateStepGroups": { + "type": "resource", + "identifiers": { + "templateId": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateId" + } + }, + "read": { + "target": "com.amazonaws.migrationhuborchestrator#ListTemplateStepGroups" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateStepSummary": { + "type": "structure", + "members": { + "id": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step.

" + } + }, + "stepGroupId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

" + } + }, + "templateId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the template.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step.

" + } + }, + "stepActionType": { + "target": "com.amazonaws.migrationhuborchestrator#StepActionType", + "traits": { + "smithy.api#documentation": "

The action type of the step. You must run and update the status of a manual step for\n the workflow to continue after the completion of the step.

" + } + }, + "targetType": { + "target": "com.amazonaws.migrationhuborchestrator#TargetType", + "traits": { + "smithy.api#documentation": "

The servers on which to run the script.

" + } + }, + "owner": { + "target": "com.amazonaws.migrationhuborchestrator#Owner", + "traits": { + "smithy.api#documentation": "

The owner of the step.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of the step.

" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateStepSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateStepSummary" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateSummary": { + "type": "structure", + "members": { + "id": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the template.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the template.

" + } + }, + "arn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the template.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of the template.

" + } + }, + "com.amazonaws.migrationhuborchestrator#TemplateSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#TemplateSummary" + } + }, + "com.amazonaws.migrationhuborchestrator#ThrottlingException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The request was denied due to request throttling.

", + "smithy.api#error": "client", + "smithy.api#httpError": 429 + } + }, + "com.amazonaws.migrationhuborchestrator#Tool": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of an AWS service.

" + } + }, + "url": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The URL of an AWS service.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

List of AWS services utilized in a migration workflow.

" + } + }, + "com.amazonaws.migrationhuborchestrator#ToolsList": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#Tool" + } + }, + "com.amazonaws.migrationhuborchestrator#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes the tags for a resource.

", + "smithy.api#http": { + "uri": "/tags/{resourceArn}", + "method": "DELETE" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.migrationhuborchestrator#UntagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.migrationhuborchestrator#ResourceArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource from which you want to remove\n tags.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tagKeys": { + "target": "com.amazonaws.migrationhuborchestrator#TagKeyList", + "traits": { + "smithy.api#documentation": "

One or more tag keys. Specify only the tag keys, not the tag values.

", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#UntagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.migrationhuborchestrator#UpdateMigrationWorkflowRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the migration workflow.

", + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*$" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the migration workflow.

", + "smithy.api#length": { + "min": 0, + "max": 500 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+, ]*$" + } + }, + "inputParameters": { + "target": "com.amazonaws.migrationhuborchestrator#StepInputParameters", + "traits": { + "smithy.api#documentation": "

The input parameters required to update a migration workflow.

" + } + }, + "stepTargets": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The servers on which a step will be run.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#UpdateMigrationWorkflowResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "arn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the migration workflow.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the migration workflow.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the migration workflow.

" + } + }, + "templateId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the template.

" + } + }, + "adsApplicationConfigurationId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the application configured in Application Discovery Service.

" + } + }, + "workflowInputs": { + "target": "com.amazonaws.migrationhuborchestrator#StepInputParameters", + "traits": { + "smithy.api#documentation": "

The inputs required to update a migration workflow.

" + } + }, + "stepTargets": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The servers on which a step will be run.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowStatusEnum", + "traits": { + "smithy.api#documentation": "

The status of the migration workflow.

" + } + }, + "creationTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the migration workflow was created.

" + } + }, + "lastModifiedTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the migration workflow was last modified.

" + } + }, + "tags": { + "target": "com.amazonaws.migrationhuborchestrator#StringMap", + "traits": { + "smithy.api#documentation": "

The tags added to the migration workflow.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#UpdateWorkflow": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#UpdateMigrationWorkflowRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#UpdateMigrationWorkflowResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Update a migration workflow.

", + "smithy.api#http": { + "method": "POST", + "uri": "/migrationworkflow/{id}", + "code": 200 + } + } + }, + "com.amazonaws.migrationhuborchestrator#UpdateWorkflowStep": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#UpdateWorkflowStepRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#UpdateWorkflowStepResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Update a step in a migration workflow.

", + "smithy.api#http": { + "method": "POST", + "uri": "/workflowstep/{id}", + "code": 200 + } + } + }, + "com.amazonaws.migrationhuborchestrator#UpdateWorkflowStepGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.migrationhuborchestrator#UpdateWorkflowStepGroupRequest" + }, + "output": { + "target": "com.amazonaws.migrationhuborchestrator#UpdateWorkflowStepGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.migrationhuborchestrator#AccessDeniedException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#InternalServerException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ThrottlingException" + }, + { + "target": "com.amazonaws.migrationhuborchestrator#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Update the step group in a migration workflow.

", + "smithy.api#http": { + "method": "POST", + "uri": "/workflowstepgroup/{id}", + "code": 202 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.migrationhuborchestrator#UpdateWorkflowStepGroupRequest": { + "type": "structure", + "members": { + "workflowId": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#httpQuery": "workflowId", + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupName", + "traits": { + "smithy.api#documentation": "

The name of the step group.

" + } + }, + "description": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupDescription", + "traits": { + "smithy.api#documentation": "

The description of the step group.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step group.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step group.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#UpdateWorkflowStepGroupResponse": { + "type": "structure", + "members": { + "workflowId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step group.

" + } + }, + "id": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the step group.

" + } + }, + "tools": { + "target": "com.amazonaws.migrationhuborchestrator#ToolsList", + "traits": { + "smithy.api#documentation": "

List of AWS services utilized in a migration workflow.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step group.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step group.

" + } + }, + "lastModifiedTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the step group was last modified.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#UpdateWorkflowStepRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepId", + "traits": { + "smithy.api#documentation": "

The ID of the step.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "stepGroupId": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

", + "smithy.api#required": {} + } + }, + "workflowId": { + "target": "com.amazonaws.migrationhuborchestrator#MigrationWorkflowId", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.migrationhuborchestrator#StepName", + "traits": { + "smithy.api#documentation": "

The name of the step.

" + } + }, + "description": { + "target": "com.amazonaws.migrationhuborchestrator#StepDescription", + "traits": { + "smithy.api#documentation": "

The description of the step.

" + } + }, + "stepActionType": { + "target": "com.amazonaws.migrationhuborchestrator#StepActionType", + "traits": { + "smithy.api#documentation": "

The action type of the step. You must run and update the status of a manual step for\n the workflow to continue after the completion of the step.

" + } + }, + "workflowStepAutomationConfiguration": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepAutomationConfiguration", + "traits": { + "smithy.api#documentation": "

The custom script to run tests on the source and target environments.

" + } + }, + "stepTarget": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The servers on which a step will be run.

" + } + }, + "outputs": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepOutputList", + "traits": { + "smithy.api#documentation": "

The outputs of a step.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#StepStatus", + "traits": { + "smithy.api#documentation": "

The status of the step.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#UpdateWorkflowStepResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepId", + "traits": { + "smithy.api#documentation": "

The ID of the step.

" + } + }, + "stepGroupId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

" + } + }, + "workflowId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the migration workflow.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step.

" + } + } + } + }, + "com.amazonaws.migrationhuborchestrator#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The input fails to satisfy the constraints specified by an AWS service.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.migrationhuborchestrator#WorkflowStep": { + "type": "resource", + "identifiers": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepId" + } + }, + "create": { + "target": "com.amazonaws.migrationhuborchestrator#CreateWorkflowStep" + }, + "read": { + "target": "com.amazonaws.migrationhuborchestrator#GetWorkflowStep" + }, + "update": { + "target": "com.amazonaws.migrationhuborchestrator#UpdateWorkflowStep" + }, + "delete": { + "target": "com.amazonaws.migrationhuborchestrator#DeleteWorkflowStep" + }, + "list": { + "target": "com.amazonaws.migrationhuborchestrator#ListWorkflowSteps" + }, + "operations": [ + { + "target": "com.amazonaws.migrationhuborchestrator#RetryWorkflowStep" + } + ] + }, + "com.amazonaws.migrationhuborchestrator#WorkflowStepAutomationConfiguration": { + "type": "structure", + "members": { + "scriptLocationS3Bucket": { + "target": "com.amazonaws.migrationhuborchestrator#S3Bucket", + "traits": { + "smithy.api#documentation": "

The Amazon S3 bucket where the script is located.

" + } + }, + "scriptLocationS3Key": { + "target": "com.amazonaws.migrationhuborchestrator#PlatformScriptKey", + "traits": { + "smithy.api#documentation": "

The Amazon S3 key for the script location.

" + } + }, + "command": { + "target": "com.amazonaws.migrationhuborchestrator#PlatformCommand", + "traits": { + "smithy.api#documentation": "

The command required to run the script.

" + } + }, + "runEnvironment": { + "target": "com.amazonaws.migrationhuborchestrator#RunEnvironment", + "traits": { + "smithy.api#documentation": "

The source or target environment.

" + } + }, + "targetType": { + "target": "com.amazonaws.migrationhuborchestrator#TargetType", + "traits": { + "smithy.api#documentation": "

The servers on which to run the script.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The custom script to run tests on source or target environments.

" + } + }, + "com.amazonaws.migrationhuborchestrator#WorkflowStepGroup": { + "type": "resource", + "identifiers": { + "id": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupId" + } + }, + "create": { + "target": "com.amazonaws.migrationhuborchestrator#CreateWorkflowStepGroup" + }, + "read": { + "target": "com.amazonaws.migrationhuborchestrator#GetWorkflowStepGroup" + }, + "update": { + "target": "com.amazonaws.migrationhuborchestrator#UpdateWorkflowStepGroup" + }, + "delete": { + "target": "com.amazonaws.migrationhuborchestrator#DeleteWorkflowStepGroup" + }, + "list": { + "target": "com.amazonaws.migrationhuborchestrator#ListWorkflowStepGroups" + } + }, + "com.amazonaws.migrationhuborchestrator#WorkflowStepGroupSummary": { + "type": "structure", + "members": { + "id": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step group.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step group.

" + } + }, + "owner": { + "target": "com.amazonaws.migrationhuborchestrator#Owner", + "traits": { + "smithy.api#documentation": "

The owner of the step group.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#StepGroupStatus", + "traits": { + "smithy.api#documentation": "

The status of the step group.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step group.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step group.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of a step group in a workflow.

" + } + }, + "com.amazonaws.migrationhuborchestrator#WorkflowStepGroupsSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepGroupSummary" + } + }, + "com.amazonaws.migrationhuborchestrator#WorkflowStepOutput": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepOutputName", + "traits": { + "smithy.api#documentation": "

The name of the step.

" + } + }, + "dataType": { + "target": "com.amazonaws.migrationhuborchestrator#DataType", + "traits": { + "smithy.api#documentation": "

The data type of the output.

" + } + }, + "required": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Determine if an output is required from a step.

" + } + }, + "value": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepOutputUnion", + "traits": { + "smithy.api#documentation": "

The value of the output.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The output of a step.

" + } + }, + "com.amazonaws.migrationhuborchestrator#WorkflowStepOutputList": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepOutput" + } + }, + "com.amazonaws.migrationhuborchestrator#WorkflowStepOutputName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*$" + } + }, + "com.amazonaws.migrationhuborchestrator#WorkflowStepOutputUnion": { + "type": "union", + "members": { + "integerValue": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The integer value.

" + } + }, + "stringValue": { + "target": "com.amazonaws.migrationhuborchestrator#StringValue", + "traits": { + "smithy.api#documentation": "

The string value.

" + } + }, + "listOfStringValue": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The list of string value.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A structure to hold multiple values of an output.

" + } + }, + "com.amazonaws.migrationhuborchestrator#WorkflowStepSummary": { + "type": "structure", + "members": { + "stepId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the step.

" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the step.

" + } + }, + "stepActionType": { + "target": "com.amazonaws.migrationhuborchestrator#StepActionType", + "traits": { + "smithy.api#documentation": "

The action type of the step. You must run and update the status of a manual step for\n the workflow to continue after the completion of the step.

" + } + }, + "owner": { + "target": "com.amazonaws.migrationhuborchestrator#Owner", + "traits": { + "smithy.api#documentation": "

The owner of the step.

" + } + }, + "previous": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The previous step.

" + } + }, + "next": { + "target": "com.amazonaws.migrationhuborchestrator#StringList", + "traits": { + "smithy.api#documentation": "

The next step.

" + } + }, + "status": { + "target": "com.amazonaws.migrationhuborchestrator#StepStatus", + "traits": { + "smithy.api#documentation": "

The status of the step.

" + } + }, + "statusMessage": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The status message of the migration workflow.

" + } + }, + "noOfSrvCompleted": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of servers that have been migrated.

" + } + }, + "noOfSrvFailed": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of servers that have failed to migrate.

" + } + }, + "totalNoOfSrv": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The total number of servers that have been migrated.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the step.

" + } + }, + "scriptLocation": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The location of the script.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of the step in a migration workflow.

" + } + }, + "com.amazonaws.migrationhuborchestrator#WorkflowStepsSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.migrationhuborchestrator#WorkflowStepSummary" + } + } + } +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/polly.json b/codegen/sdk-codegen/aws-models/polly.json index b78d214f610..1a518360318 100644 --- a/codegen/sdk-codegen/aws-models/polly.json +++ b/codegen/sdk-codegen/aws-models/polly.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -131,6 +131,7 @@ "IncludeAdditionalLanguageCodes": { "target": "com.amazonaws.polly#IncludeAdditionalLanguageCodes", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value indicating whether to return any bilingual voices that\n use the specified language as an additional language. For instance, if you\n request all languages that use US English (es-US), and there is an Italian\n voice that speaks both Italian (it-IT) and US English, that voice will be\n included if you specify yes but not if you specify\n no.

", "smithy.api#httpQuery": "IncludeAdditionalLanguageCodes" } @@ -162,18 +163,20 @@ } }, "com.amazonaws.polly#Engine": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "standard", - "name": "STANDARD" - }, - { - "value": "neural", - "name": "NEURAL" + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "standard" + } + }, + "NEURAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "neural" } - ] + } } }, "com.amazonaws.polly#EngineList": { @@ -199,18 +202,20 @@ "type": "string" }, "com.amazonaws.polly#Gender": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Female", - "name": "Female" - }, - { - "value": "Male", - "name": "Male" + "type": "enum", + "members": { + "Female": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Female" + } + }, + "Male": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Male" } - ] + } } }, "com.amazonaws.polly#GetLexicon": { @@ -321,7 +326,10 @@ } }, "com.amazonaws.polly#IncludeAdditionalLanguageCodes": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.polly#InvalidLexiconException": { "type": "structure", @@ -428,142 +436,212 @@ } }, "com.amazonaws.polly#LanguageCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "arb", - "name": "arb" - }, - { - "value": "cmn-CN", - "name": "cmn_CN" - }, - { - "value": "cy-GB", - "name": "cy_GB" - }, - { - "value": "da-DK", - "name": "da_DK" - }, - { - "value": "de-DE", - "name": "de_DE" - }, - { - "value": "en-AU", - "name": "en_AU" - }, - { - "value": "en-GB", - "name": "en_GB" - }, - { - "value": "en-GB-WLS", - "name": "en_GB_WLS" - }, - { - "value": "en-IN", - "name": "en_IN" - }, - { - "value": "en-US", - "name": "en_US" - }, - { - "value": "es-ES", - "name": "es_ES" - }, - { - "value": "es-MX", - "name": "es_MX" - }, - { - "value": "es-US", - "name": "es_US" - }, - { - "value": "fr-CA", - "name": "fr_CA" - }, - { - "value": "fr-FR", - "name": "fr_FR" - }, - { - "value": "is-IS", - "name": "is_IS" - }, - { - "value": "it-IT", - "name": "it_IT" - }, - { - "value": "ja-JP", - "name": "ja_JP" - }, - { - "value": "hi-IN", - "name": "hi_IN" - }, - { - "value": "ko-KR", - "name": "ko_KR" - }, - { - "value": "nb-NO", - "name": "nb_NO" - }, - { - "value": "nl-NL", - "name": "nl_NL" - }, - { - "value": "pl-PL", - "name": "pl_PL" - }, - { - "value": "pt-BR", - "name": "pt_BR" - }, - { - "value": "pt-PT", - "name": "pt_PT" - }, - { - "value": "ro-RO", - "name": "ro_RO" - }, - { - "value": "ru-RU", - "name": "ru_RU" - }, - { - "value": "sv-SE", - "name": "sv_SE" - }, - { - "value": "tr-TR", - "name": "tr_TR" - }, - { - "value": "en-NZ", - "name": "en_NZ" - }, - { - "value": "en-ZA", - "name": "en_ZA" - }, - { - "value": "ca-ES", - "name": "ca_ES" - }, - { - "value": "de-AT", - "name": "de_AT" - } - ] + "type": "enum", + "members": { + "arb": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "arb" + } + }, + "cmn_CN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cmn-CN" + } + }, + "cy_GB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cy-GB" + } + }, + "da_DK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "da-DK" + } + }, + "de_DE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de-DE" + } + }, + "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_GB_WLS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-GB-WLS" + } + }, + "en_IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-IN" + } + }, + "en_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-US" + } + }, + "es_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-ES" + } + }, + "es_MX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-MX" + } + }, + "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" + } + }, + "is_IS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "is-IS" + } + }, + "it_IT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "it-IT" + } + }, + "ja_JP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ja-JP" + } + }, + "hi_IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hi-IN" + } + }, + "ko_KR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ko-KR" + } + }, + "nb_NO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nb-NO" + } + }, + "nl_NL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nl-NL" + } + }, + "pl_PL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pl-PL" + } + }, + "pt_BR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pt-BR" + } + }, + "pt_PT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pt-PT" + } + }, + "ro_RO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ro-RO" + } + }, + "ru_RU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ru-RU" + } + }, + "sv_SE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sv-SE" + } + }, + "tr_TR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tr-TR" + } + }, + "en_NZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-NZ" + } + }, + "en_ZA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-ZA" + } + }, + "ca_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ca-ES" + } + }, + "de_AT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de-AT" + } + }, + "yue_CN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "yue-CN" + } + } } }, "com.amazonaws.polly#LanguageCodeList": { @@ -592,7 +670,10 @@ "type": "timestamp" }, "com.amazonaws.polly#LexemesCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.polly#Lexicon": { "type": "structure", @@ -647,12 +728,14 @@ "LexemesCount": { "target": "com.amazonaws.polly#LexemesCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of lexemes in the lexicon.

" } }, "Size": { "target": "com.amazonaws.polly#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total size of the lexicon, in characters.

" } } @@ -906,7 +989,6 @@ "com.amazonaws.polly#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -923,26 +1005,32 @@ } }, "com.amazonaws.polly#OutputFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "json", - "name": "JSON" - }, - { - "value": "mp3", - "name": "MP3" - }, - { - "value": "ogg_vorbis", - "name": "OGG_VORBIS" - }, - { - "value": "pcm", - "name": "PCM" - } - ] + "type": "enum", + "members": { + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "json" + } + }, + "MP3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "mp3" + } + }, + "OGG_VORBIS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ogg_vorbis" + } + }, + "PCM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pcm" + } + } } }, "com.amazonaws.polly#OutputS3BucketName": { @@ -962,24 +1050,6 @@ }, "com.amazonaws.polly#Parrot_v1": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Polly", - "arnNamespace": "polly", - "cloudFormationName": "Polly", - "cloudTrailEventSource": "polly.amazonaws.com", - "endpointPrefix": "polly" - }, - "aws.auth#sigv4": { - "name": "polly" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Polly is a web service that makes it easy to synthesize speech from\n text.

\n

The Amazon Polly service provides API operations for synthesizing\n high-quality speech from plain text and Speech Synthesis Markup Language\n (SSML), along with managing pronunciations lexicons that enable you to get\n the best results for your application domain.

", - "smithy.api#title": "Amazon Polly", - "smithy.api#xmlNamespace": { - "uri": "http://polly.amazonaws.com/doc/v1" - } - }, "version": "2016-06-10", "operations": [ { @@ -1009,7 +1079,25 @@ { "target": "com.amazonaws.polly#SynthesizeSpeech" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Polly", + "arnNamespace": "polly", + "cloudFormationName": "Polly", + "cloudTrailEventSource": "polly.amazonaws.com", + "endpointPrefix": "polly" + }, + "aws.auth#sigv4": { + "name": "polly" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon Polly is a web service that makes it easy to synthesize speech from\n text.

\n

The Amazon Polly service provides API operations for synthesizing\n high-quality speech from plain text and Speech Synthesis Markup Language\n (SSML), along with managing pronunciations lexicons that enable you to get\n the best results for your application domain.

", + "smithy.api#title": "Amazon Polly", + "smithy.api#xmlNamespace": { + "uri": "http://polly.amazonaws.com/doc/v1" + } + } }, "com.amazonaws.polly#PutLexicon": { "type": "operation", @@ -1076,7 +1164,10 @@ "members": {} }, "com.amazonaws.polly#RequestCharacters": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.polly#SampleRate": { "type": "string" @@ -1095,7 +1186,10 @@ } }, "com.amazonaws.polly#Size": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.polly#SnsTopicArn": { "type": "string", @@ -1104,26 +1198,32 @@ } }, "com.amazonaws.polly#SpeechMarkType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "sentence", - "name": "SENTENCE" - }, - { - "value": "ssml", - "name": "SSML" - }, - { - "value": "viseme", - "name": "VISEME" - }, - { - "value": "word", - "name": "WORD" - } - ] + "type": "enum", + "members": { + "SENTENCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sentence" + } + }, + "SSML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ssml" + } + }, + "VISEME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "viseme" + } + }, + "WORD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "word" + } + } } }, "com.amazonaws.polly#SpeechMarkTypeList": { @@ -1340,6 +1440,7 @@ "RequestCharacters": { "target": "com.amazonaws.polly#RequestCharacters", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of billable characters synthesized.

" } }, @@ -1511,6 +1612,8 @@ "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.

" } }, @@ -1530,7 +1633,8 @@ "target": "com.amazonaws.polly#AudioStream", "traits": { "smithy.api#documentation": "

Stream containing the synthesized speech.

", - "smithy.api#httpPayload": {} + "smithy.api#httpPayload": {}, + "smithy.api#required": {} } }, "ContentType": { @@ -1543,6 +1647,7 @@ "RequestCharacters": { "target": "com.amazonaws.polly#RequestCharacters", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of characters synthesized.

", "smithy.api#httpHeader": "x-amzn-RequestCharacters" } @@ -1556,26 +1661,32 @@ } }, "com.amazonaws.polly#TaskStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "scheduled", - "name": "SCHEDULED" - }, - { - "value": "inProgress", - "name": "IN_PROGRESS" - }, - { - "value": "completed", - "name": "COMPLETED" - }, - { - "value": "failed", - "name": "FAILED" - } - ] + "type": "enum", + "members": { + "SCHEDULED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "scheduled" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "inProgress" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "completed" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "failed" + } + } } }, "com.amazonaws.polly#TaskStatusReason": { @@ -1598,18 +1709,20 @@ } }, "com.amazonaws.polly#TextType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ssml", - "name": "SSML" - }, - { - "value": "text", - "name": "TEXT" + "type": "enum", + "members": { + "SSML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ssml" + } + }, + "TEXT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "text" } - ] + } } }, "com.amazonaws.polly#UnsupportedPlsAlphabetException": { @@ -1689,298 +1802,446 @@ } }, "com.amazonaws.polly#VoiceId": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Aditi", - "name": "Aditi" - }, - { - "value": "Amy", - "name": "Amy" - }, - { - "value": "Astrid", - "name": "Astrid" - }, - { - "value": "Bianca", - "name": "Bianca" - }, - { - "value": "Brian", - "name": "Brian" - }, - { - "value": "Camila", - "name": "Camila" - }, - { - "value": "Carla", - "name": "Carla" - }, - { - "value": "Carmen", - "name": "Carmen" - }, - { - "value": "Celine", - "name": "Celine" - }, - { - "value": "Chantal", - "name": "Chantal" - }, - { - "value": "Conchita", - "name": "Conchita" - }, - { - "value": "Cristiano", - "name": "Cristiano" - }, - { - "value": "Dora", - "name": "Dora" - }, - { - "value": "Emma", - "name": "Emma" - }, - { - "value": "Enrique", - "name": "Enrique" - }, - { - "value": "Ewa", - "name": "Ewa" - }, - { - "value": "Filiz", - "name": "Filiz" - }, - { - "value": "Gabrielle", - "name": "Gabrielle" - }, - { - "value": "Geraint", - "name": "Geraint" - }, - { - "value": "Giorgio", - "name": "Giorgio" - }, - { - "value": "Gwyneth", - "name": "Gwyneth" - }, - { - "value": "Hans", - "name": "Hans" - }, - { - "value": "Ines", - "name": "Ines" - }, - { - "value": "Ivy", - "name": "Ivy" - }, - { - "value": "Jacek", - "name": "Jacek" - }, - { - "value": "Jan", - "name": "Jan" - }, - { - "value": "Joanna", - "name": "Joanna" - }, - { - "value": "Joey", - "name": "Joey" - }, - { - "value": "Justin", - "name": "Justin" - }, - { - "value": "Karl", - "name": "Karl" - }, - { - "value": "Kendra", - "name": "Kendra" - }, - { - "value": "Kevin", - "name": "Kevin" - }, - { - "value": "Kimberly", - "name": "Kimberly" - }, - { - "value": "Lea", - "name": "Lea" - }, - { - "value": "Liv", - "name": "Liv" - }, - { - "value": "Lotte", - "name": "Lotte" - }, - { - "value": "Lucia", - "name": "Lucia" - }, - { - "value": "Lupe", - "name": "Lupe" - }, - { - "value": "Mads", - "name": "Mads" - }, - { - "value": "Maja", - "name": "Maja" - }, - { - "value": "Marlene", - "name": "Marlene" - }, - { - "value": "Mathieu", - "name": "Mathieu" - }, - { - "value": "Matthew", - "name": "Matthew" - }, - { - "value": "Maxim", - "name": "Maxim" - }, - { - "value": "Mia", - "name": "Mia" - }, - { - "value": "Miguel", - "name": "Miguel" - }, - { - "value": "Mizuki", - "name": "Mizuki" - }, - { - "value": "Naja", - "name": "Naja" - }, - { - "value": "Nicole", - "name": "Nicole" - }, - { - "value": "Olivia", - "name": "Olivia" - }, - { - "value": "Penelope", - "name": "Penelope" - }, - { - "value": "Raveena", - "name": "Raveena" - }, - { - "value": "Ricardo", - "name": "Ricardo" - }, - { - "value": "Ruben", - "name": "Ruben" - }, - { - "value": "Russell", - "name": "Russell" - }, - { - "value": "Salli", - "name": "Salli" - }, - { - "value": "Seoyeon", - "name": "Seoyeon" - }, - { - "value": "Takumi", - "name": "Takumi" - }, - { - "value": "Tatyana", - "name": "Tatyana" - }, - { - "value": "Vicki", - "name": "Vicki" - }, - { - "value": "Vitoria", - "name": "Vitoria" - }, - { - "value": "Zeina", - "name": "Zeina" - }, - { - "value": "Zhiyu", - "name": "Zhiyu" - }, - { - "value": "Aria", - "name": "Aria" - }, - { - "value": "Ayanda", - "name": "Ayanda" - }, - { - "value": "Arlet", - "name": "Arlet" - }, - { - "value": "Hannah", - "name": "Hannah" - }, - { - "value": "Arthur", - "name": "Arthur" - }, - { - "value": "Daniel", - "name": "Daniel" - }, - { - "value": "Liam", - "name": "Liam" - }, - { - "value": "Pedro", - "name": "Pedro" - }, - { - "value": "Kajal", - "name": "Kajal" - } - ] + "type": "enum", + "members": { + "Aditi": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Aditi" + } + }, + "Amy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Amy" + } + }, + "Astrid": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Astrid" + } + }, + "Bianca": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Bianca" + } + }, + "Brian": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Brian" + } + }, + "Camila": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Camila" + } + }, + "Carla": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Carla" + } + }, + "Carmen": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Carmen" + } + }, + "Celine": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Celine" + } + }, + "Chantal": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Chantal" + } + }, + "Conchita": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Conchita" + } + }, + "Cristiano": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Cristiano" + } + }, + "Dora": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Dora" + } + }, + "Emma": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Emma" + } + }, + "Enrique": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Enrique" + } + }, + "Ewa": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ewa" + } + }, + "Filiz": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Filiz" + } + }, + "Gabrielle": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Gabrielle" + } + }, + "Geraint": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Geraint" + } + }, + "Giorgio": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Giorgio" + } + }, + "Gwyneth": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Gwyneth" + } + }, + "Hans": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hans" + } + }, + "Ines": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ines" + } + }, + "Ivy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ivy" + } + }, + "Jacek": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Jacek" + } + }, + "Jan": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Jan" + } + }, + "Joanna": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Joanna" + } + }, + "Joey": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Joey" + } + }, + "Justin": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Justin" + } + }, + "Karl": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Karl" + } + }, + "Kendra": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Kendra" + } + }, + "Kevin": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Kevin" + } + }, + "Kimberly": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Kimberly" + } + }, + "Lea": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Lea" + } + }, + "Liv": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Liv" + } + }, + "Lotte": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Lotte" + } + }, + "Lucia": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Lucia" + } + }, + "Lupe": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Lupe" + } + }, + "Mads": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Mads" + } + }, + "Maja": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Maja" + } + }, + "Marlene": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Marlene" + } + }, + "Mathieu": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Mathieu" + } + }, + "Matthew": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Matthew" + } + }, + "Maxim": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Maxim" + } + }, + "Mia": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Mia" + } + }, + "Miguel": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Miguel" + } + }, + "Mizuki": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Mizuki" + } + }, + "Naja": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Naja" + } + }, + "Nicole": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Nicole" + } + }, + "Olivia": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Olivia" + } + }, + "Penelope": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Penelope" + } + }, + "Raveena": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Raveena" + } + }, + "Ricardo": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ricardo" + } + }, + "Ruben": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ruben" + } + }, + "Russell": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Russell" + } + }, + "Salli": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Salli" + } + }, + "Seoyeon": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Seoyeon" + } + }, + "Takumi": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Takumi" + } + }, + "Tatyana": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Tatyana" + } + }, + "Vicki": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Vicki" + } + }, + "Vitoria": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Vitoria" + } + }, + "Zeina": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Zeina" + } + }, + "Zhiyu": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Zhiyu" + } + }, + "Aria": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Aria" + } + }, + "Ayanda": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ayanda" + } + }, + "Arlet": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Arlet" + } + }, + "Hannah": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hannah" + } + }, + "Arthur": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Arthur" + } + }, + "Daniel": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Daniel" + } + }, + "Liam": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Liam" + } + }, + "Pedro": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pedro" + } + }, + "Kajal": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Kajal" + } + }, + "Hiujin": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hiujin" + } + } } }, "com.amazonaws.polly#VoiceList": { diff --git a/codegen/sdk-codegen/aws-models/proton.json b/codegen/sdk-codegen/aws-models/proton.json index 1a78e09c426..c06f51da5b8 100644 --- a/codegen/sdk-codegen/aws-models/proton.json +++ b/codegen/sdk-codegen/aws-models/proton.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.proton#AcceptEnvironmentAccountConnection": { "type": "operation", @@ -30,7 +30,7 @@ } ], "traits": { - "smithy.api#documentation": "

In a management account, an environment account connection request is accepted. When the environment account connection request is accepted, Proton\n can use the associated IAM role to provision environment infrastructure resources in the associated environment account.

\n

For more information, see Environment account\n connections in the Proton Administrator guide.

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

In a management account, an environment account connection request is accepted. When the environment account connection request is accepted, Proton\n can use the associated IAM role to provision environment infrastructure resources in the associated environment account.

\n

For more information, see Environment account\n connections in the Proton User guide.

", "smithy.api#idempotent": {} } }, @@ -93,12 +93,12 @@ "pipelineProvisioningRepository": { "target": "com.amazonaws.proton#RepositoryBranch", "traits": { - "smithy.api#documentation": "

The repository configured in the Amazon Web Services account for pipeline provisioning. Required it if you have environments configured for self-managed\n provisioning with services that include pipelines.

" + "smithy.api#documentation": "

The linked repository for pipeline provisioning. Required if you have environments configured for self-managed provisioning with services that include\n pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.

" } } }, "traits": { - "smithy.api#documentation": "

The Proton pipeline service role and repository data shared across the Amazon Web Services account.

" + "smithy.api#documentation": "

Proton settings that are used for multiple services in the Amazon Web Services account.

" } }, "com.amazonaws.proton#AccountSettingsResource": { @@ -127,21 +127,6 @@ }, "com.amazonaws.proton#AwsProton20200720": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Proton", - "arnNamespace": "awsproton20200720", - "cloudFormationName": "AwsProton20200720", - "cloudTrailEventSource": "awsproton20200720.amazonaws.com", - "endpointPrefix": "proton" - }, - "aws.auth#sigv4": { - "name": "proton" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "

This is the Proton Service API Reference. It provides descriptions, syntax and usage examples for each of the actions and data types for the Proton service.

\n

The documentation for each action shows the Query API request parameters and the XML response.

\n

Alternatively, you can use the Amazon Web Services CLI to access an API. For more information, see the Amazon Web Services Command Line Interface User Guide.

\n

The Proton service is a two-pronged automation framework. Administrators create service templates to provide standardized infrastructure\n and deployment tooling for serverless and container based applications. Developers, in turn, select from the available service templates to\n automate their application or service deployments.

\n

Because administrators define the infrastructure and tooling that Proton deploys and manages, they need permissions to use all of the\n listed API operations.

\n

When developers select a specific infrastructure and tooling set, Proton deploys their applications. To monitor their applications that are\n running on Proton, developers need permissions to the service create, list,\n update and delete API operations and the service instance list and\n update API operations.

\n

To learn more about Proton administration, see the Proton\n Administrator Guide.

\n

To learn more about deploying serverless and containerized applications on Proton, see the Proton User Guide.

\n

\n Ensuring Idempotency\n

\n

When you make a mutating API request, the request typically returns a result before the asynchronous workflows of the operation are complete.\n Operations might also time out or encounter other server issues before they're complete, even if the request already returned a result. This might\n make it difficult to determine whether the request succeeded. Moreover, you might need to retry the request multiple times to ensure that the\n operation completes successfully. However, if the original request and the subsequent retries are successful, the operation occurs multiple times.\n This means that you might create more resources than you intended.

\n

\n Idempotency ensures that an API request action completes no more than one time. With an idempotent request, if the\n original request action completes successfully, any subsequent retries complete successfully without performing any further actions. However, the\n result might contain updated information, such as the current creation status.

\n

The following lists of APIs are grouped according to methods that ensure idempotency.

\n

\n Idempotent create APIs with a client token\n

\n

The API actions in this list support idempotency with the use of a client token. The corresponding Amazon Web Services CLI commands\n also support idempotency using a client token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. To make an\n idempotent API request using one of these actions, specify a client token in the request. We recommend that you don't reuse\n the same client token for other API requests. If you don’t provide a client token for these APIs, a default client token is automatically provided\n by SDKs.

\n

Given a request action that has succeeded:

\n

If you retry the request using the same client token and the same parameters, the retry succeeds without performing any further actions other\n than returning the original resource detail data in the response.

\n

If you retry the request using the same client token, but one or more of the parameters are different, the retry throws a\n ValidationException with an IdempotentParameterMismatch error.

\n

Client tokens expire eight hours after a request is made. If you retry the request with the expired token, a new resource is created.

\n

If the original resource is deleted and you retry the request, a new resource is created.

\n

Idempotent create APIs with a client token:

\n \n

\n Idempotent create APIs\n

\n

Given a request action that has succeeded:

\n

If you retry the request with an API from this group, and the original resource hasn't been modified, the retry succeeds\n without performing any further actions other than returning the original resource detail data in the response.

\n

If the original resource has been modified, the retry throws a ConflictException.

\n

If you retry with different input parameters, the retry throws a ValidationException with an\n IdempotentParameterMismatch error.

\n

Idempotent create APIs:

\n \n

\n Idempotent delete APIs\n

\n

Given a request action that has succeeded:

\n

When you retry the request with an API from this group and the resource was deleted, its metadata is returned in the response.

\n

If you retry and the resource doesn't exist, the response is empty.

\n

In both cases, the retry succeeds.

\n

Idempotent delete APIs:

\n \n

\n Asynchronous idempotent delete APIs\n

\n

Given a request action that has succeeded:

\n

If you retry the request with an API from this group, if the original request delete operation status is DELETE_IN_PROGRESS, the\n retry returns the resource detail data in the response without performing any further actions.

\n

If the original request delete operation is complete, a retry returns an empty response.

\n

Asynchronous idempotent delete APIs:

\n ", - "smithy.api#title": "AWS Proton" - }, "version": "2020-07-20", "operations": [ { @@ -242,7 +227,22 @@ { "target": "com.amazonaws.proton#TemplateSyncConfigResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Proton", + "arnNamespace": "awsproton20200720", + "cloudFormationName": "AwsProton20200720", + "cloudTrailEventSource": "awsproton20200720.amazonaws.com", + "endpointPrefix": "proton" + }, + "aws.auth#sigv4": { + "name": "proton" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "

This is the Proton Service API Reference. It provides descriptions, syntax and usage examples for each of the actions and data types for the Proton service.

\n

The documentation for each action shows the Query API request parameters and the XML response.

\n

Alternatively, you can use the Amazon Web Services CLI to access an API. For more information, see the Amazon Web Services Command Line Interface User Guide.

\n

The Proton service is a two-pronged automation framework. Administrators create service templates to provide standardized infrastructure\n and deployment tooling for serverless and container based applications. Developers, in turn, select from the available service templates to\n automate their application or service deployments.

\n

Because administrators define the infrastructure and tooling that Proton deploys and manages, they need permissions to use all of the\n listed API operations.

\n

When developers select a specific infrastructure and tooling set, Proton deploys their applications. To monitor their applications that are\n running on Proton, developers need permissions to the service create, list,\n update and delete API operations and the service instance list and\n update API operations.

\n

To learn more about Proton, see the Proton User Guide.

\n

\n Ensuring Idempotency\n

\n

When you make a mutating API request, the request typically returns a result before the asynchronous workflows of the operation are complete.\n Operations might also time out or encounter other server issues before they're complete, even if the request already returned a result. This might\n make it difficult to determine whether the request succeeded. Moreover, you might need to retry the request multiple times to ensure that the\n operation completes successfully. However, if the original request and the subsequent retries are successful, the operation occurs multiple times.\n This means that you might create more resources than you intended.

\n

\n Idempotency ensures that an API request action completes no more than one time. With an idempotent request, if the\n original request action completes successfully, any subsequent retries complete successfully without performing any further actions. However, the\n result might contain updated information, such as the current creation status.

\n

The following lists of APIs are grouped according to methods that ensure idempotency.

\n

\n Idempotent create APIs with a client token\n

\n

The API actions in this list support idempotency with the use of a client token. The corresponding Amazon Web Services CLI commands\n also support idempotency using a client token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. To make an\n idempotent API request using one of these actions, specify a client token in the request. We recommend that you don't reuse\n the same client token for other API requests. If you don’t provide a client token for these APIs, a default client token is automatically provided\n by SDKs.

\n

Given a request action that has succeeded:

\n

If you retry the request using the same client token and the same parameters, the retry succeeds without performing any further actions other\n than returning the original resource detail data in the response.

\n

If you retry the request using the same client token, but one or more of the parameters are different, the retry throws a\n ValidationException with an IdempotentParameterMismatch error.

\n

Client tokens expire eight hours after a request is made. If you retry the request with the expired token, a new resource is created.

\n

If the original resource is deleted and you retry the request, a new resource is created.

\n

Idempotent create APIs with a client token:

\n \n

\n Idempotent create APIs\n

\n

Given a request action that has succeeded:

\n

If you retry the request with an API from this group, and the original resource hasn't been modified, the retry succeeds\n without performing any further actions other than returning the original resource detail data in the response.

\n

If the original resource has been modified, the retry throws a ConflictException.

\n

If you retry with different input parameters, the retry throws a ValidationException with an\n IdempotentParameterMismatch error.

\n

Idempotent create APIs:

\n \n

\n Idempotent delete APIs\n

\n

Given a request action that has succeeded:

\n

When you retry the request with an API from this group and the resource was deleted, its metadata is returned in the response.

\n

If you retry and the resource doesn't exist, the response is empty.

\n

In both cases, the retry succeeds.

\n

Idempotent delete APIs:

\n \n

\n Asynchronous idempotent delete APIs\n

\n

Given a request action that has succeeded:

\n

If you retry the request with an API from this group, if the original request delete operation status is DELETE_IN_PROGRESS, the\n retry returns the resource detail data in the response without performing any further actions.

\n

If the original request delete operation is complete, a retry returns an empty response.

\n

Asynchronous idempotent delete APIs:

\n ", + "smithy.api#title": "AWS Proton" + } }, "com.amazonaws.proton#CancelComponentDeployment": { "type": "operation", @@ -273,7 +273,7 @@ } ], "traits": { - "smithy.api#documentation": "

Attempts to cancel a component deployment (for a component that is in the IN_PROGRESS deployment status).

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

Attempts to cancel a component deployment (for a component that is in the IN_PROGRESS deployment status).

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

" } }, "com.amazonaws.proton#CancelComponentDeploymentInput": { @@ -339,7 +339,7 @@ } ], "traits": { - "smithy.api#documentation": "

Attempts to cancel an environment deployment on an UpdateEnvironment action, if the deployment is IN_PROGRESS. For more\n information, see Update an environment in the Proton\n Administrator guide.

\n

The following list includes potential cancellation scenarios.

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

Attempts to cancel an environment deployment on an UpdateEnvironment action, if the deployment is IN_PROGRESS. For more\n information, see Update an environment in the Proton\n User guide.

\n

The following list includes potential cancellation scenarios.

\n " } }, "com.amazonaws.proton#CancelEnvironmentDeploymentInput": { @@ -405,7 +405,7 @@ } ], "traits": { - "smithy.api#documentation": "

Attempts to cancel a service instance deployment on an UpdateServiceInstance action, if the deployment is IN_PROGRESS.\n For more information, see Update a service instance in the Proton Administrator guide or the Proton User guide.

\n

The following list includes potential cancellation scenarios.

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

Attempts to cancel a service instance deployment on an UpdateServiceInstance action, if the deployment is IN_PROGRESS.\n For more information, see Update a service instance in the\n Proton User guide.

\n

The following list includes potential cancellation scenarios.

\n " } }, "com.amazonaws.proton#CancelServiceInstanceDeploymentInput": { @@ -479,7 +479,7 @@ } ], "traits": { - "smithy.api#documentation": "

Attempts to cancel a service pipeline deployment on an UpdateServicePipeline action, if the deployment is IN_PROGRESS.\n For more information, see Update a service pipeline in the Proton Administrator guide or the Proton User guide.

\n

The following list includes potential cancellation scenarios.

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

Attempts to cancel a service pipeline deployment on an UpdateServicePipeline action, if the deployment is IN_PROGRESS.\n For more information, see Update a service pipeline in the\n Proton User guide.

\n

The following list includes potential cancellation scenarios.

\n " } }, "com.amazonaws.proton#CancelServicePipelineDeploymentInput": { @@ -676,7 +676,7 @@ } }, "traits": { - "smithy.api#documentation": "

Detailed data of an Proton component resource.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

Detailed data of an Proton component resource.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

" } }, "com.amazonaws.proton#ComponentArn": { @@ -839,7 +839,7 @@ } }, "traits": { - "smithy.api#documentation": "

Summary data of an Proton component resource.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

Summary data of an Proton component resource.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

" } }, "com.amazonaws.proton#ComponentSummaryList": { @@ -896,7 +896,7 @@ } ], "traits": { - "smithy.api#documentation": "

Create an Proton component. A component is an infrastructure extension for a service instance.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

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

Create an Proton component. A component is an infrastructure extension for a service instance.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

", "smithy.api#idempotent": {} } }, @@ -957,7 +957,7 @@ "tags": { "target": "com.amazonaws.proton#TagList", "traits": { - "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

" + "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

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

Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be\n shared across services.

\n

\n You can provision environments using the following methods:\n

\n \n

For more information, see Environments and Provisioning methods in the Proton Administrator\n Guide.

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

Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be\n shared across services.

\n

\n You can provision environments using the following methods:\n

\n \n

For more information, see Environments and Provisioning methods in the Proton User\n Guide.

", "smithy.api#idempotent": {} } }, @@ -1039,7 +1039,7 @@ } ], "traits": { - "smithy.api#documentation": "

Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the environment\n account from a management account.

\n

An environment account connection is a secure bi-directional connection between a management account and an environment\n account that maintains authorization and permissions. For more information, see Environment account connections in the Proton Administrator\n guide.

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

Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the environment\n account from a management account.

\n

An environment account connection is a secure bi-directional connection between a management account and an environment\n account that maintains authorization and permissions. For more information, see Environment account connections in the Proton User\n guide.

", "smithy.api#idempotent": {} } }, @@ -1077,13 +1077,13 @@ "tags": { "target": "com.amazonaws.proton#TagList", "traits": { - "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

" } }, "componentRoleArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated\n environment account. It determines the scope of infrastructure that a component can provision in the account.

\n

You must specify componentRoleArn to allow directly defined components to be associated with any environments running in this\n account.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated\n environment account. It determines the scope of infrastructure that a component can provision in the account.

\n

You must specify componentRoleArn to allow directly defined components to be associated with any environments running in this\n account.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

" } } } @@ -1113,7 +1113,7 @@ "templateName": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the environment template. For more information, see Environment Templates in the Proton Administrator Guide.

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

The name of the environment template. For more information, see Environment Templates in the Proton User Guide.

", "smithy.api#required": {} } }, @@ -1139,7 +1139,7 @@ "spec": { "target": "com.amazonaws.proton#SpecContents", "traits": { - "smithy.api#documentation": "

A YAML formatted string that provides inputs as defined in the environment template bundle schema file. For more information, see Environments in the Proton Administrator\n Guide.

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

A YAML formatted string that provides inputs as defined in the environment template bundle schema file. For more information, see Environments in the Proton User\n Guide.

", "smithy.api#required": {} } }, @@ -1152,25 +1152,25 @@ "environmentAccountConnectionId": { "target": "com.amazonaws.proton#EnvironmentAccountConnectionId", "traits": { - "smithy.api#documentation": "

The ID of the environment account connection that you provide if you're provisioning your environment infrastructure resources to an environment\n account. For more information, see Environment account\n connections in the Proton Administrator guide.

\n

To use Amazon Web Services-managed provisioning for the environment, specify either the environmentAccountConnectionId or\n protonServiceRoleArn parameter and omit the provisioningRepository parameter.

" + "smithy.api#documentation": "

The ID of the environment account connection that you provide if you're provisioning your environment infrastructure resources to an environment\n account. For more information, see Environment account\n connections in the Proton User guide.

\n

To use Amazon Web Services-managed provisioning for the environment, specify either the environmentAccountConnectionId or\n protonServiceRoleArn parameter and omit the provisioningRepository parameter.

" } }, "tags": { "target": "com.amazonaws.proton#TagList", "traits": { - "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton environment. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

" + "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton environment. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

" } }, "provisioningRepository": { "target": "com.amazonaws.proton#RepositoryBranchInput", "traits": { - "smithy.api#documentation": "

The infrastructure repository that you use to host your rendered infrastructure templates for self-managed provisioning.

\n

To use self-managed provisioning for the environment, specify this parameter and omit the environmentAccountConnectionId and\n protonServiceRoleArn parameters.

" + "smithy.api#documentation": "

The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository\n that has been registered with Proton. For more information, see CreateRepository.

\n

To use self-managed provisioning for the environment, specify this parameter and omit the environmentAccountConnectionId and\n protonServiceRoleArn parameters.

" } }, "componentRoleArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It\n determines the scope of infrastructure that a component can provision.

\n

You must specify componentRoleArn to allow directly defined components to be associated with this environment.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It\n determines the scope of infrastructure that a component can provision.

\n

You must specify componentRoleArn to allow directly defined components to be associated with this environment.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

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

Create an environment template for Proton. For more information, see Environment Templates in the Proton Administrator Guide.

\n

You can create an environment template in one of the two following ways:

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

Create an environment template for Proton. For more information, see Environment Templates in the Proton User Guide.

\n

You can create an environment template in one of the two following ways:

\n ", "smithy.api#idempotent": {} } }, @@ -1257,7 +1257,7 @@ "tags": { "target": "com.amazonaws.proton#TagList", "traits": { - "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton environment template. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

" + "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton environment template. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

" } } } @@ -1349,7 +1349,7 @@ "tags": { "target": "com.amazonaws.proton#TagList", "traits": { - "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton environment template version. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

" + "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton environment template version. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

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

Create and register a link to a repository that can be used with self-managed provisioning (infrastructure or pipelines) or for template sync\n configurations. When you create a repository link, Proton creates a service-linked role for you.

\n

For more information, see Self-managed provisioning, Template bundles, and\n Template sync configurations in the Proton\n Administrator Guide.

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

Create and register a link to a repository. Proton uses the link to repeatedly access the repository, to either push to it (self-managed\n provisioning) or pull from it (template sync). You can share a linked repository across multiple resources (like environments using self-managed\n provisioning, or synced templates). When you create a repository link, Proton creates a service-linked role for you.

\n

For more information, see Self-managed provisioning, Template bundles, and\n Template sync configurations in the Proton\n User Guide.

", "smithy.api#idempotent": {} } }, @@ -1419,7 +1419,7 @@ "connectionArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar connection. For more information, see Setting up for Proton in the Proton Administrator\n Guide.

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

The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User\n Guide.

", "smithy.api#required": {} } }, @@ -1432,7 +1432,7 @@ "tags": { "target": "com.amazonaws.proton#TagList", "traits": { - "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

" + "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

" } } } @@ -1443,7 +1443,7 @@ "repository": { "target": "com.amazonaws.proton#Repository", "traits": { - "smithy.api#documentation": "

The repository detail data that's returned by Proton.

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

The repository link's detail data that's returned by Proton.

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

Create an Proton service. An Proton service is an instantiation of a service template and often includes several service instances and pipeline.\n For more information, see Services in the Proton\n Administrator Guide and Services in the Proton\n User Guide.

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

Create an Proton service. An Proton service is an instantiation of a service template and often includes several service instances and pipeline.\n For more information, see Services in the Proton User\n Guide.

", "smithy.api#idempotent": {} } }, @@ -1524,14 +1524,14 @@ "spec": { "target": "com.amazonaws.proton#SpecContents", "traits": { - "smithy.api#documentation": "

A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec file is in YAML format.\n Don’t include pipeline inputs in the spec if your service template doesn’t include a service pipeline. For\n more information, see Create a service in the\n Proton Administrator Guide and Create a\n service in the Proton User Guide.

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

A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec file is in YAML format.\n Don’t include pipeline inputs in the spec if your service template doesn’t include a service pipeline. For\n more information, see Create a service in the Proton\n User Guide.

", "smithy.api#required": {} } }, "repositoryConnectionArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the repository connection. For more information, see Set up repository connection in the Proton\n Administrator Guide and Setting up with\n Proton in the Proton User Guide. Don't include this parameter if your service template\n doesn't include a service pipeline.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User\n Guide. Don't include this parameter if your service template doesn't include a service\n pipeline.

" } }, "repositoryId": { @@ -1549,7 +1549,7 @@ "tags": { "target": "com.amazonaws.proton#TagList", "traits": { - "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton service. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

" + "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton service. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

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

Create a service template. The administrator creates a service template to define standardized infrastructure and an optional CI/CD service pipeline.\n Developers, in turn, select the service template from Proton. If the selected service template includes a service pipeline definition, they provide a\n link to their source code repository. Proton then deploys and manages the infrastructure defined by the selected service template. For more\n information, see Service Templates in the\n Proton Administrator Guide.

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

Create a service template. The administrator creates a service template to define standardized infrastructure and an optional CI/CD service pipeline.\n Developers, in turn, select the service template from Proton. If the selected service template includes a service pipeline definition, they provide a\n link to their source code repository. Proton then deploys and manages the infrastructure defined by the selected service template. For more\n information, see Proton templates in the Proton User\n Guide.

", "smithy.api#idempotent": {} } }, @@ -1630,13 +1630,13 @@ "pipelineProvisioning": { "target": "com.amazonaws.proton#Provisioning", "traits": { - "smithy.api#documentation": "

By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline\n isn't provided for your service. After it's included, it can't be changed. For more information, see Service template bundles in the Proton Administrator\n Guide.

" + "smithy.api#documentation": "

By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline\n isn't provided for your service. After it's included, it can't be changed. For more information, see Template bundles in the Proton\n User Guide.

" } }, "tags": { "target": "com.amazonaws.proton#TagList", "traits": { - "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

" + "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

" } } } @@ -1735,13 +1735,13 @@ "tags": { "target": "com.amazonaws.proton#TagList", "traits": { - "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton service template version. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

" + "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton service template version. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

" } }, "supportedComponentSources": { "target": "com.amazonaws.proton#ServiceTemplateSupportedComponentSourceInputList", "traits": { - "smithy.api#documentation": "

An array of supported component sources. Components with supported sources can be attached to service instances based on this service template\n version.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

An array of supported component sources. Components with supported sources can be attached to service instances based on this service template\n version.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

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

Set up a template to create new template versions automatically. When a commit is pushed to your registered repository, Proton checks for changes to your repository template bundles. If it detects\n a template bundle change, a new major or minor version of its template is created, if the version doesn’t already exist. For more information, see Template sync configurations in the Proton\n Administrator Guide.

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

Set up a template to create new template versions automatically by tracking a linked repository. A linked repository is a repository that has been\n registered with Proton. For more information, see CreateRepository.

\n

When a commit is pushed to your linked repository, Proton checks for changes to your repository template bundles. If it detects a template bundle\n change, a new major or minor version of its template is created, if the version doesn’t already exist. For more information, see Template sync configurations in the Proton User\n Guide.

", "smithy.api#idempotent": {} } }, @@ -1818,14 +1818,14 @@ "repositoryName": { "target": "com.amazonaws.proton#RepositoryName", "traits": { - "smithy.api#documentation": "

The name of your repository (for example, myrepos/myrepo).

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

The repository name (for example, myrepos/myrepo).

", "smithy.api#required": {} } }, "branch": { "target": "com.amazonaws.proton#GitBranchName", "traits": { - "smithy.api#documentation": "

The branch of the registered repository for your template.

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

The repository branch for your template.

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

Delete an Proton component resource.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

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

Delete an Proton component resource.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

", "smithy.api#idempotent": {} } }, @@ -1973,7 +1973,7 @@ } ], "traits": { - "smithy.api#documentation": "

In an environment account, delete an environment account connection.

\n

After you delete an environment account connection that’s in use by an Proton environment, Proton can’t manage the\n environment infrastructure resources until a new environment account connection is accepted for the environment account and associated environment. You're\n responsible for cleaning up provisioned resources that remain without an environment connection.

\n

For more information, see Environment account\n connections in the Proton Administrator guide.

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

In an environment account, delete an environment account connection.

\n

After you delete an environment account connection that’s in use by an Proton environment, Proton can’t manage the\n environment infrastructure resources until a new environment account connection is accepted for the environment account and associated environment. You're\n responsible for cleaning up provisioned resources that remain without an environment connection.

\n

For more information, see Environment account\n connections in the Proton User guide.

", "smithy.api#idempotent": {} } }, @@ -2223,7 +2223,7 @@ "name": { "target": "com.amazonaws.proton#RepositoryName", "traits": { - "smithy.api#documentation": "

The name of the repository.

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

The repository name.

", "smithy.api#required": {} } } @@ -2242,7 +2242,7 @@ "repository": { "target": "com.amazonaws.proton#Repository", "traits": { - "smithy.api#documentation": "

The repository detail data that's returned by Proton.

" + "smithy.api#documentation": "

The deleted repository link's detail data that's returned by Proton.

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

Delete a service, with its instances and pipeline.

\n \n

You can't delete a service if it has any service instances that have components attached to them.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

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

Delete a service, with its instances and pipeline.

\n \n

You can't delete a service if it has any service instances that have components attached to them.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

\n
", "smithy.api#idempotent": {} } }, @@ -2721,13 +2721,13 @@ "provisioningRepository": { "target": "com.amazonaws.proton#RepositoryBranch", "traits": { - "smithy.api#documentation": "

The infrastructure repository that you use to host your rendered infrastructure templates for self-managed provisioning.

" + "smithy.api#documentation": "

The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository\n that has been registered with Proton. For more information, see CreateRepository.

" } }, "componentRoleArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It\n determines the scope of infrastructure that a component can provision.

\n

The environment must have a componentRoleArn to allow directly defined components to be associated with the environment.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It\n determines the scope of infrastructure that a component can provision.

\n

The environment must have a componentRoleArn to allow directly defined components to be associated with the environment.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

" } } }, @@ -2804,7 +2804,7 @@ "componentRoleArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated\n environment account. It determines the scope of infrastructure that a component can provision in the account.

\n

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any\n environments running in the account.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated\n environment account. It determines the scope of infrastructure that a component can provision in the account.

\n

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any\n environments running in the account.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

" } } }, @@ -2974,7 +2974,7 @@ "componentRoleArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated\n environment account. It determines the scope of infrastructure that a component can provision in the account.

\n

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any\n environments running in the account.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated\n environment account. It determines the scope of infrastructure that a component can provision in the account.

\n

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any\n environments running in the account.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

" } } }, @@ -3161,7 +3161,7 @@ "componentRoleArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It\n determines the scope of infrastructure that a component can provision.

\n

The environment must have a componentRoleArn to allow directly defined components to be associated with the environment.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It\n determines the scope of infrastructure that a component can provision.

\n

The environment must have a componentRoleArn to allow directly defined components to be associated with the environment.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

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

Get detail data for the Proton pipeline service role.

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

Get detail data for Proton account-wide settings.

", "smithy.api#readonly": {} } }, @@ -3669,7 +3669,7 @@ } ], "traits": { - "smithy.api#documentation": "

Get detailed data for a component.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

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

Get detailed data for a component.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

", "smithy.api#readonly": {}, "smithy.waiters#waitable": { "ComponentDeployed": { @@ -3840,7 +3840,7 @@ } ], "traits": { - "smithy.api#documentation": "

In an environment account, get the detailed data for an environment account connection.

\n

For more information, see Environment account\n connections in the Proton Administrator guide.

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

In an environment account, get the detailed data for an environment account connection.

\n

For more information, see Environment account\n connections in the Proton User guide.

", "smithy.api#readonly": {} } }, @@ -4034,7 +4034,7 @@ "templateName": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the environment template a version of which you want to get detailed data for..

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

The name of the environment template a version of which you want to get detailed data for.

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

Get detail data for a repository.

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

Get detail data for a linked repository.

", "smithy.api#readonly": {} } }, @@ -4135,7 +4135,7 @@ "repository": { "target": "com.amazonaws.proton#Repository", "traits": { - "smithy.api#documentation": "

The repository detail data that's returned by Proton.

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

The repository link's detail data that's returned by Proton.

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

Get the sync status of a repository used for Proton template sync. For more information about template sync, see .

\n \n

A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource\n have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control\n (ABAC).

\n

For more information about ABAC, see ABAC in the Proton\n Administrator Guide.

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

Get the sync status of a repository used for Proton template sync. For more information about template sync, see .

\n \n

A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource\n have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control\n (ABAC).

\n

For more information about ABAC, see ABAC in the Proton User\n Guide.

\n
" } }, "com.amazonaws.proton#GetRepositorySyncStatusInput": { @@ -4891,7 +4891,7 @@ } ], "traits": { - "smithy.api#documentation": "

Get a list of component Infrastructure as Code (IaC) outputs.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

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

Get a list of component Infrastructure as Code (IaC) outputs.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4962,7 +4962,7 @@ } ], "traits": { - "smithy.api#documentation": "

List provisioned resources for a component with details.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

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

List provisioned resources for a component with details.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5030,7 +5030,7 @@ } ], "traits": { - "smithy.api#documentation": "

List components with summary data. You can filter the result list by environment, service, or a single service instance.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

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

List components with summary data. You can filter the result list by environment, service, or a single service instance.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5116,7 +5116,7 @@ } ], "traits": { - "smithy.api#documentation": "

View a list of environment account connections.

\n

For more information, see Environment account\n connections in the Proton Administrator guide.

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

View a list of environment account connections.

\n

For more information, see Environment account\n connections in the Proton User guide.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5577,7 +5577,7 @@ } ], "traits": { - "smithy.api#documentation": "

List repositories with detail data.

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

List linked repositories with detail data.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5616,7 +5616,7 @@ "repositories": { "target": "com.amazonaws.proton#RepositorySummaryList", "traits": { - "smithy.api#documentation": "

An array of repositories.

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

An array of repository links.

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

List tags for a resource. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

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

List tags for a resource. For more information, see Proton resources and\n tagging in the Proton User Guide.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -6383,7 +6383,6 @@ "com.amazonaws.proton#MaxPageResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -6428,7 +6427,7 @@ } ], "traits": { - "smithy.api#documentation": "

Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.

\n

For more information, see Self-managed provisioning in the Proton Administrator Guide.

" + "smithy.api#documentation": "

Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.

\n

For more information, see Self-managed provisioning in the Proton User Guide.

" } }, "com.amazonaws.proton#NotifyResourceDeploymentStatusChangeInput": { @@ -6553,7 +6552,7 @@ "provisioningEngine": { "target": "com.amazonaws.proton#ProvisionedResourceEngine", "traits": { - "smithy.api#documentation": "

The resource provisioning engine. At this time, CLOUDFORMATION can be used for Amazon Web Services-managed provisioning, and TERRAFORM can\n be used for self-managed provisioning.

\n

For more information, see Self-managed provisioning in the Proton Administrator Guide.

" + "smithy.api#documentation": "

The resource provisioning engine. At this time, CLOUDFORMATION can be used for Amazon Web Services-managed provisioning, and TERRAFORM can\n be used for self-managed provisioning.

\n

For more information, see Self-managed provisioning in the Proton User Guide.

" } } }, @@ -6641,7 +6640,7 @@ } ], "traits": { - "smithy.api#documentation": "

In a management account, reject an environment account connection from another environment account.

\n

After you reject an environment account connection request, you can't accept or use the rejected environment account\n connection.

\n

You can’t reject an environment account connection that's connected to an environment.

\n

For more information, see Environment account\n connections in the Proton Administrator guide.

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

In a management account, reject an environment account connection from another environment account.

\n

After you reject an environment account connection request, you can't accept or use the rejected environment account\n connection.

\n

You can’t reject an environment account connection that's connected to an environment.

\n

For more information, see Environment account\n connections in the Proton User guide.

", "smithy.api#idempotent": {} } }, @@ -6682,7 +6681,7 @@ "arn": { "target": "com.amazonaws.proton#RepositoryArn", "traits": { - "smithy.api#documentation": "

The repository Amazon Resource Name (ARN).

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

The Amazon Resource Name (ARN) of the linked repository.

", "smithy.api#required": {} } }, @@ -6703,7 +6702,7 @@ "connectionArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The repository Amazon Web Services CodeStar connection that connects Proton to your repository.

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

The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account.

", "smithy.api#required": {} } }, @@ -6715,7 +6714,7 @@ } }, "traits": { - "smithy.api#documentation": "

Detailed data of a repository that has been registered with Proton.

" + "smithy.api#documentation": "

Detailed data of a linked repository—a repository that has been registered with Proton.

" } }, "com.amazonaws.proton#RepositoryArn": { @@ -6732,7 +6731,7 @@ "arn": { "target": "com.amazonaws.proton#RepositoryArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the repository branch.

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

The Amazon Resource Name (ARN) of the linked repository.

", "smithy.api#required": {} } }, @@ -6759,7 +6758,7 @@ } }, "traits": { - "smithy.api#documentation": "

Detail data for a repository branch.

" + "smithy.api#documentation": "

Detail data for a linked repository branch.

" } }, "com.amazonaws.proton#RepositoryBranchInput": { @@ -6788,7 +6787,7 @@ } }, "traits": { - "smithy.api#documentation": "

Detail input data for a repository branch.

" + "smithy.api#documentation": "

Detail input data for a linked repository branch.

" } }, "com.amazonaws.proton#RepositoryId": { @@ -6867,7 +6866,7 @@ "arn": { "target": "com.amazonaws.proton#RepositoryArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for a repository.

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

The Amazon Resource Name (ARN) of the linked repository.

", "smithy.api#required": {} } }, @@ -6887,7 +6886,7 @@ } }, "traits": { - "smithy.api#documentation": "

Summary data of a repository that has been registered with Proton.

" + "smithy.api#documentation": "

Summary data of a linked repository—a repository that has been registered with Proton.

" } }, "com.amazonaws.proton#RepositorySummaryList": { @@ -6958,7 +6957,7 @@ } }, "traits": { - "smithy.api#documentation": "

The repository sync definition.

" + "smithy.api#documentation": "

A repository sync definition.

" } }, "com.amazonaws.proton#RepositorySyncDefinitionList": { @@ -7380,7 +7379,7 @@ "repositoryConnectionArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the repository connection. For more information, see Set up a repository connection in the Proton\n Administrator Guide and Setting up with\n Proton in the Proton User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User\n Guide.

" } }, "repositoryId": { @@ -7808,7 +7807,7 @@ } }, "traits": { - "smithy.api#documentation": "

A quota was exceeded. For more information, see Proton Quotas in the Proton Administrator\n Guide.

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

A quota was exceeded. For more information, see Proton Quotas in\n the Proton User Guide.

", "smithy.api#error": "client", "smithy.api#httpError": 402 } @@ -8251,7 +8250,7 @@ "supportedComponentSources": { "target": "com.amazonaws.proton#ServiceTemplateSupportedComponentSourceInputList", "traits": { - "smithy.api#documentation": "

An array of supported component sources. Components with supported sources can be attached to service instances based on this service template\n version.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

An array of supported component sources. Components with supported sources can be attached to service instances based on this service template\n version.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

" } } }, @@ -8506,7 +8505,7 @@ } ], "traits": { - "smithy.api#documentation": "

Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton resource.

\n

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

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

Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton resource.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

", "smithy.api#idempotent": {} } }, @@ -8603,7 +8602,7 @@ "repositoryName": { "target": "com.amazonaws.proton#RepositoryName", "traits": { - "smithy.api#documentation": "

The name of the repository, for example myrepos/myrepo.

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

The repository name (for example, myrepos/myrepo).

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

Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with an Proton resource.

\n

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

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

Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with an Proton resource.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

", "smithy.api#idempotent": {} } }, @@ -8804,7 +8803,7 @@ } ], "traits": { - "smithy.api#documentation": "

Update the Proton service pipeline role or repository settings.

" + "smithy.api#documentation": "

Update Proton settings that are used for multiple services in the Amazon Web Services account.

" } }, "com.amazonaws.proton#UpdateAccountSettingsInput": { @@ -8813,13 +8812,19 @@ "pipelineServiceRoleArn": { "target": "com.amazonaws.proton#PipelineRoleArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by\n customer-owned automation for self-managed provisioning.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by\n customer-owned automation for self-managed provisioning.

\n

To remove a previously configured ARN, specify an empty string.

" } }, "pipelineProvisioningRepository": { "target": "com.amazonaws.proton#RepositoryBranchInput", "traits": { - "smithy.api#documentation": "

A repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include\n pipelines.

" + "smithy.api#documentation": "

A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include\n pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.

\n

To remove a previously configured repository, set deletePipelineProvisioningRepository to true, and don't set\n pipelineProvisioningRepository.

" + } + }, + "deletePipelineProvisioningRepository": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Set to true to remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured\n pipeline repository.

" } } } @@ -8868,7 +8873,7 @@ } ], "traits": { - "smithy.api#documentation": "

Update a component.

\n

There are a few modes for updating a component. The deploymentType field defines the mode.

\n \n

You can't update a component while its deployment status, or the deployment status of a service instance attached to it, is\n IN_PROGRESS.

\n
\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

Update a component.

\n

There are a few modes for updating a component. The deploymentType field defines the mode.

\n \n

You can't update a component while its deployment status, or the deployment status of a service instance attached to it, is\n IN_PROGRESS.

\n
\n

For more information about components, see\n Proton components in the\n Proton User Guide.

" } }, "com.amazonaws.proton#UpdateComponentInput": { @@ -8968,7 +8973,7 @@ } ], "traits": { - "smithy.api#documentation": "

Update an environment.

\n

If the environment is associated with an environment account connection, don't update or include the\n protonServiceRoleArn and provisioningRepository parameter to update or connect to an environment account connection.

\n

You can only update to a new environment account connection if that connection was created in the same environment account that the current\n environment account connection was created in. The account connection must also be associated with the current environment.

\n

If the environment isn't associated with an environment account connection, don't update or include the\n environmentAccountConnectionId parameter. You can't update or connect the environment to an environment account\n connection if it isn't already associated with an environment connection.

\n

You can update either the environmentAccountConnectionId or protonServiceRoleArn parameter and value. You can’t update\n both.

\n

If the environment was configured for Amazon Web Services-managed provisioning, omit the provisioningRepository parameter.

\n

If the environment was configured for self-managed provisioning, specify the provisioningRepository parameter and omit the\n protonServiceRoleArn and environmentAccountConnectionId parameters.

\n

For more information, see Environments and Provisioning methods in the Proton Administrator\n Guide.

\n

There are four modes for updating an environment. The deploymentType field defines the mode.

\n
\n
\n
\n

\n NONE\n

\n

In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.

\n
\n
\n
\n

\n CURRENT_VERSION\n

\n

In this mode, the environment is deployed and updated with the new spec that you provide. Only requested parameters are updated.\n Don’t include minor or major version parameters when you use this deployment-type.

\n
\n
\n
\n

\n MINOR_VERSION\n

\n

In this mode, the environment is deployed and updated with the published, recommended (latest) minor version of the current major version in\n use, by default. You can also specify a different minor version of the current major version in use.

\n
\n
\n
\n

\n MAJOR_VERSION\n

\n

In this mode, the environment is deployed and updated with the published, recommended (latest) major and minor version of the current template,\n by default. You can also specify a different major version that's higher than the major version in use and a minor version.

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

Update an environment.

\n

If the environment is associated with an environment account connection, don't update or include the\n protonServiceRoleArn and provisioningRepository parameter to update or connect to an environment account connection.

\n

You can only update to a new environment account connection if that connection was created in the same environment account that the current\n environment account connection was created in. The account connection must also be associated with the current environment.

\n

If the environment isn't associated with an environment account connection, don't update or include the\n environmentAccountConnectionId parameter. You can't update or connect the environment to an environment account\n connection if it isn't already associated with an environment connection.

\n

You can update either the environmentAccountConnectionId or protonServiceRoleArn parameter and value. You can’t update\n both.

\n

If the environment was configured for Amazon Web Services-managed provisioning, omit the provisioningRepository parameter.

\n

If the environment was configured for self-managed provisioning, specify the provisioningRepository parameter and omit the\n protonServiceRoleArn and environmentAccountConnectionId parameters.

\n

For more information, see Environments and Provisioning methods in the Proton User\n Guide.

\n

There are four modes for updating an environment. The deploymentType field defines the mode.

\n
\n
\n
\n

\n NONE\n

\n

In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.

\n
\n
\n
\n

\n CURRENT_VERSION\n

\n

In this mode, the environment is deployed and updated with the new spec that you provide. Only requested parameters are updated.\n Don’t include minor or major version parameters when you use this deployment-type.

\n
\n
\n
\n

\n MINOR_VERSION\n

\n

In this mode, the environment is deployed and updated with the published, recommended (latest) minor version of the current major version in\n use, by default. You can also specify a different minor version of the current major version in use.

\n
\n
\n
\n

\n MAJOR_VERSION\n

\n

In this mode, the environment is deployed and updated with the published, recommended (latest) major and minor version of the current template,\n by default. You can also specify a different major version that's higher than the major version in use and a minor version.

\n
\n
" } }, "com.amazonaws.proton#UpdateEnvironmentAccountConnection": { @@ -9000,7 +9005,7 @@ } ], "traits": { - "smithy.api#documentation": "

In an environment account, update an environment account connection to use a new IAM role.

\n

For more information, see Environment account\n connections in the Proton Administrator guide.

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

In an environment account, update an environment account connection to use a new IAM role.

\n

For more information, see Environment account\n connections in the Proton User guide.

", "smithy.api#idempotent": {} } }, @@ -9023,7 +9028,7 @@ "componentRoleArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated\n environment account. It determines the scope of infrastructure that a component can provision in the account.

\n

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any\n environments running in the account.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated\n environment account. It determines the scope of infrastructure that a component can provision in the account.

\n

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any\n environments running in the account.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

" } } }, @@ -9103,13 +9108,13 @@ "provisioningRepository": { "target": "com.amazonaws.proton#RepositoryBranchInput", "traits": { - "smithy.api#documentation": "

The infrastructure repository that you use to host your rendered infrastructure templates for self-managed provisioning.

" + "smithy.api#documentation": "

The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository\n that has been registered with Proton. For more information, see CreateRepository.

" } }, "componentRoleArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It\n determines the scope of infrastructure that a component can provision.

\n

The environment must have a componentRoleArn to allow directly defined components to be associated with the environment.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It\n determines the scope of infrastructure that a component can provision.

\n

The environment must have a componentRoleArn to allow directly defined components to be associated with the environment.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

" } } }, @@ -9329,7 +9334,7 @@ } ], "traits": { - "smithy.api#documentation": "

Edit a service description or use a spec to add and delete service instances.

\n \n

Existing service instances and the service pipeline can't be edited using this API. They can only be deleted.

\n
\n

Use the description parameter to modify the description.

\n

Edit the spec parameter to add or delete instances.

\n \n

You can't delete a service instance (remove it from the spec) if it has an attached component.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

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

Edit a service description or use a spec to add and delete service instances.

\n \n

Existing service instances and the service pipeline can't be edited using this API. They can only be deleted.

\n
\n

Use the description parameter to modify the description.

\n

Edit the spec parameter to add or delete instances.

\n \n

You can't delete a service instance (remove it from the spec) if it has an attached component.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

\n
" } }, "com.amazonaws.proton#UpdateServiceInput": { @@ -9351,7 +9356,7 @@ "spec": { "target": "com.amazonaws.proton#SpecContents", "traits": { - "smithy.api#documentation": "

Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list.\n Don't include edits to the existing service instances or pipeline. For more information, see Edit a service in\n the Proton Administrator Guide or the Proton User Guide.

" + "smithy.api#documentation": "

Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list.\n Don't include edits to the existing service instances or pipeline. For more information, see Edit a service in the Proton User Guide.

" } } }, @@ -9392,7 +9397,7 @@ } ], "traits": { - "smithy.api#documentation": "

Update a service instance.

\n

There are a few modes for updating a service instance. The deploymentType field defines the mode.

\n \n

You can't update a service instance while its deployment status, or the deployment status of a component attached to it, is\n IN_PROGRESS.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

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

Update a service instance.

\n

There are a few modes for updating a service instance. The deploymentType field defines the mode.

\n \n

You can't update a service instance while its deployment status, or the deployment status of a component attached to it, is\n IN_PROGRESS.

\n

For more information about components, see\n Proton components in the\n Proton User Guide.

\n
" } }, "com.amazonaws.proton#UpdateServiceInstanceInput": { @@ -9714,7 +9719,7 @@ "supportedComponentSources": { "target": "com.amazonaws.proton#ServiceTemplateSupportedComponentSourceInputList", "traits": { - "smithy.api#documentation": "

An array of supported component sources. Components with supported sources can be attached to service instances based on this service template\n version.

\n \n

A change to supportedComponentSources doesn't impact existing component attachments to instances based on this template version. A\n change only affects later associations.

\n
\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + "smithy.api#documentation": "

An array of supported component sources. Components with supported sources can be attached to service instances based on this service template\n version.

\n \n

A change to supportedComponentSources doesn't impact existing component attachments to instances based on this template version. A\n change only affects later associations.

\n
\n

For more information about components, see\n Proton components in the\n Proton User Guide.

" } } }, @@ -9767,7 +9772,7 @@ } ], "traits": { - "smithy.api#documentation": "

Update template sync configuration parameters, except for the templateName and templateType.

" + "smithy.api#documentation": "

Update template sync configuration parameters, except for the templateName and templateType. Repository details (branch,\n name, and provider) should be of a linked repository. A linked repository is a repository that has been registered with Proton. For more information,\n see CreateRepository.

" } }, "com.amazonaws.proton#UpdateTemplateSyncConfigInput": { @@ -9797,14 +9802,14 @@ "repositoryName": { "target": "com.amazonaws.proton#RepositoryName", "traits": { - "smithy.api#documentation": "

The name of the repository (for example, myrepos/myrepo).

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

The repository name (for example, myrepos/myrepo).

", "smithy.api#required": {} } }, "branch": { "target": "com.amazonaws.proton#GitBranchName", "traits": { - "smithy.api#documentation": "

The repository branch.

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

The repository branch for your template.

", "smithy.api#required": {} } }, diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index c7244c8ae37..0c2ad0570b6 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -15986,6 +15986,12 @@ "traits": { "smithy.api#documentation": "

The environment variables to set in the Docker container.

" } + }, + "WarmPoolStatus": { + "target": "com.amazonaws.sagemaker#WarmPoolStatus", + "traits": { + "smithy.api#documentation": "

The status of the warm pool associated with the training job.

" + } } } }, @@ -23131,6 +23137,15 @@ "smithy.api#documentation": "

The JupyterServer app settings.

" } }, + "com.amazonaws.sagemaker#KeepAlivePeriodInSeconds": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0, + "max": 3600 + } + } + }, "com.amazonaws.sagemaker#KernelDisplayName": { "type": "string", "traits": { @@ -28824,6 +28839,12 @@ "traits": { "smithy.api#documentation": "

The sort order for results. The default is Ascending.

" } + }, + "WarmPoolStatusEquals": { + "target": "com.amazonaws.sagemaker#WarmPoolResourceStatus", + "traits": { + "smithy.api#documentation": "

A filter that retrieves only training jobs with a specific warm pool status.

" + } } } }, @@ -37916,12 +37937,33 @@ "traits": { "smithy.api#documentation": "

The configuration of a heterogeneous cluster in JSON format.

" } + }, + "KeepAlivePeriodInSeconds": { + "target": "com.amazonaws.sagemaker#KeepAlivePeriodInSeconds", + "traits": { + "smithy.api#documentation": "

The duration of time in seconds to retain configured resources in a warm pool for subsequent training jobs.

" + } } }, "traits": { "smithy.api#documentation": "

Describes the resources, including ML compute instances and ML storage volumes, to\n use for model training.

" } }, + "com.amazonaws.sagemaker#ResourceConfigForUpdate": { + "type": "structure", + "members": { + "KeepAlivePeriodInSeconds": { + "target": "com.amazonaws.sagemaker#KeepAlivePeriodInSeconds", + "traits": { + "smithy.api#documentation": "

The KeepAlivePeriodInSeconds value specified in the ResourceConfig to update.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The ResourceConfig to update KeepAlivePeriodInSeconds. Other fields in the ResourceConfig cannot be updated.

" + } + }, "com.amazonaws.sagemaker#ResourceId": { "type": "string", "traits": { @@ -38011,6 +38053,14 @@ "smithy.api#pattern": "^.+$" } }, + "com.amazonaws.sagemaker#ResourceRetainedBillableTimeInSeconds": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0 + } + } + }, "com.amazonaws.sagemaker#ResourceSpec": { "type": "structure", "members": { @@ -42906,6 +42956,12 @@ "smithy.api#documentation": "

The status of the training job.

", "smithy.api#required": {} } + }, + "WarmPoolStatus": { + "target": "com.amazonaws.sagemaker#WarmPoolStatus", + "traits": { + "smithy.api#documentation": "

The status of the warm pool associated with the training job.

" + } } }, "traits": { @@ -45717,7 +45773,7 @@ } ], "traits": { - "smithy.api#documentation": "

Update a model training job to request a new Debugger profiling configuration.

" + "smithy.api#documentation": "

Update a model training job to request a new Debugger profiling configuration or to change warm pool retention length.

" } }, "com.amazonaws.sagemaker#UpdateTrainingJobRequest": { @@ -45741,6 +45797,12 @@ "traits": { "smithy.api#documentation": "

Configuration information for Debugger rules for profiling system and framework\n metrics.

" } + }, + "ResourceConfig": { + "target": "com.amazonaws.sagemaker#ResourceConfigForUpdate", + "traits": { + "smithy.api#documentation": "

The training job ResourceConfig to update warm pool retention length.

" + } } } }, @@ -46546,6 +46608,62 @@ } } }, + "com.amazonaws.sagemaker#WarmPoolResourceStatus": { + "type": "enum", + "members": { + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Available" + } + }, + "TERMINATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Terminated" + } + }, + "REUSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Reused" + } + }, + "INUSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InUse" + } + } + } + }, + "com.amazonaws.sagemaker#WarmPoolStatus": { + "type": "structure", + "members": { + "Status": { + "target": "com.amazonaws.sagemaker#WarmPoolResourceStatus", + "traits": { + "smithy.api#documentation": "

The status of the warm pool.

\n ", + "smithy.api#required": {} + } + }, + "ResourceRetainedBillableTimeInSeconds": { + "target": "com.amazonaws.sagemaker#ResourceRetainedBillableTimeInSeconds", + "traits": { + "smithy.api#documentation": "

The billable time in seconds used by the warm pool. Billable time refers to the absolute wall-clock\n time.

\n

Multiply ResourceRetainedBillableTimeInSeconds by the number of instances\n (InstanceCount) in your training cluster to get the total compute time\n SageMaker bills you if you run warm pool training. The formula is as follows:\n ResourceRetainedBillableTimeInSeconds * InstanceCount.

" + } + }, + "ReusedByJob": { + "target": "com.amazonaws.sagemaker#TrainingJobName", + "traits": { + "smithy.api#documentation": "

The name of the matching training job that reused the warm pool.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Status and billing information about the warm pool.

" + } + }, "com.amazonaws.sagemaker#Workforce": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/secrets-manager.json b/codegen/sdk-codegen/aws-models/secrets-manager.json index 8d607c80fae..9b7175c95aa 100644 --- a/codegen/sdk-codegen/aws-models/secrets-manager.json +++ b/codegen/sdk-codegen/aws-models/secrets-manager.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -43,6 +43,7 @@ "com.amazonaws.secretsmanager#AutomaticallyRotateAfterDaysType": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -50,7 +51,10 @@ } }, "com.amazonaws.secretsmanager#BooleanType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.secretsmanager#CancelRotateSecret": { "type": "operation", @@ -75,7 +79,7 @@ } ], "traits": { - "smithy.api#documentation": "

Turns off automatic rotation, and if a rotation is currently in\n progress, cancels the rotation.

\n

If you cancel a rotation in progress, it can leave the VersionStage\n labels in an unexpected state. You might\n need to remove the staging label AWSPENDING from the partially created version. \n You also need to determine whether to roll back to the previous version of the secret \n by moving the staging label AWSCURRENT to the version that has AWSPENDING.\n To determine \n which version has a specific staging label, call ListSecretVersionIds. Then use \n UpdateSecretVersionStage to change staging labels. \n For more information, see How rotation works.

\n

To turn on automatic rotation again, call RotateSecret.

\n

\n Required permissions: \n secretsmanager:CancelRotateSecret. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Turns off automatic rotation, and if a rotation is currently in\n progress, cancels the rotation.

\n

If you cancel a rotation in progress, it can leave the VersionStage\n labels in an unexpected state. You might\n need to remove the staging label AWSPENDING from the partially created version. \n You also need to determine whether to roll back to the previous version of the secret \n by moving the staging label AWSCURRENT to the version that has AWSPENDING.\n To determine \n which version has a specific staging label, call ListSecretVersionIds. Then use \n UpdateSecretVersionStage to change staging labels. \n For more information, see How rotation works.

\n

To turn on automatic rotation again, call RotateSecret.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:CancelRotateSecret. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#CancelRotateSecretRequest": { @@ -163,7 +167,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new secret. A secret can be a password, a set of \n credentials such as a user name and password, an OAuth token, or other secret information \n that you store in an encrypted form in Secrets Manager. The secret also \n includes the connection information to access a database or other service, which Secrets Manager \n doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the\n important information needed to manage the secret.

\n

For information about creating a secret in the console, see Create a secret.

\n

To create a secret, you can provide the secret value to be encrypted in either the\n SecretString parameter or the SecretBinary parameter, but not both. \n If you include SecretString or SecretBinary\n then Secrets Manager creates an initial secret version and automatically attaches the staging\n label AWSCURRENT to it.

\n

For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret,\n you must make sure the JSON you store in the SecretString matches the JSON structure of\n a database secret.

\n

If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key \n aws/secretsmanager. If this key \n doesn't already exist in your account, then Secrets Manager creates it for you automatically. All\n users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. \n Creating aws/secretsmanager can result in a one-time significant delay in returning the \n result.

\n

If the secret is in a different Amazon Web Services account from the credentials calling the API, then \n you can't use aws/secretsmanager to encrypt the secret, and you must create \n and use a customer managed KMS key.

\n

\n Required permissions: \n secretsmanager:CreateSecret. If you \n include tags in the secret, you also need secretsmanager:TagResource.\n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

\n

To encrypt the secret with a KMS key other than aws/secretsmanager, you need kms:GenerateDataKey and kms:Decrypt permission to the key.

" + "smithy.api#documentation": "

Creates a new secret. A secret can be a password, a set of \n credentials such as a user name and password, an OAuth token, or other secret information \n that you store in an encrypted form in Secrets Manager. The secret also \n includes the connection information to access a database or other service, which Secrets Manager \n doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the\n important information needed to manage the secret.

\n

For information about creating a secret in the console, see Create a secret.

\n

To create a secret, you can provide the secret value to be encrypted in either the\n SecretString parameter or the SecretBinary parameter, but not both. \n If you include SecretString or SecretBinary\n then Secrets Manager creates an initial secret version and automatically attaches the staging\n label AWSCURRENT to it.

\n

For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret,\n you must make sure the JSON you store in the SecretString matches the JSON structure of\n a database secret.

\n

If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key \n aws/secretsmanager. If this key \n doesn't already exist in your account, then Secrets Manager creates it for you automatically. All\n users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. \n Creating aws/secretsmanager can result in a one-time significant delay in returning the \n result.

\n

If the secret is in a different Amazon Web Services account from the credentials calling the API, then \n you can't use aws/secretsmanager to encrypt the secret, and you must create \n and use a customer managed KMS key.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary or SecretString because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:CreateSecret. If you \n include tags in the secret, you also need secretsmanager:TagResource.\n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

\n

To encrypt the secret with a KMS key other than aws/secretsmanager, you need kms:GenerateDataKey and kms:Decrypt permission to the key.

" } }, "com.amazonaws.secretsmanager#CreateSecretRequest": { @@ -222,6 +226,7 @@ "ForceOverwriteReplicaSecret": { "target": "com.amazonaws.secretsmanager#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to overwrite a secret with the same name in the\n destination Region.

" } } @@ -294,7 +299,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the resource-based permission policy attached to the secret. To attach a policy to \n a secret, use PutResourcePolicy.

\n

\n Required permissions: \n secretsmanager:DeleteResourcePolicy. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Deletes the resource-based permission policy attached to the secret. To attach a policy to \n a secret, use PutResourcePolicy.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:DeleteResourcePolicy. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#DeleteResourcePolicyRequest": { @@ -349,7 +354,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a secret and all of its versions. You can specify a recovery\n window during which you can restore the secret. The minimum recovery window is 7 days. \n The default recovery window is 30 days. Secrets Manager attaches a DeletionDate stamp to\n the secret that specifies the end of the recovery window. At the end of the recovery window,\n Secrets Manager deletes the secret permanently.

\n

You can't delete a primary secret that is replicated to other Regions. You must first delete the \n replicas using RemoveRegionsFromReplication, and then delete the primary secret. \n When you delete a replica, it is deleted immediately.

\n

You can't directly delete a version of a secret. Instead, you remove all staging labels \n from the version using UpdateSecretVersionStage. This marks the version as deprecated, \n and then Secrets Manager can automatically delete the version in the background.

\n

To determine whether an application still uses a secret, you can create an Amazon CloudWatch alarm \n to alert you to any attempts to access a secret during the recovery window. For more information, \n see \n Monitor secrets scheduled for deletion.

\n

Secrets Manager performs the permanent secret deletion at the end of the waiting period as a\n background task with low priority. There is no guarantee of a specific time after the\n recovery window for the permanent delete to occur.

\n

At any time before recovery window ends, you can use RestoreSecret to\n remove the DeletionDate and cancel the deletion of the secret.

\n

When a secret is scheduled for deletion, you cannot retrieve the secret value.\n You must first cancel the deletion with RestoreSecret and then you can retrieve the secret.

\n

\n Required permissions: \n secretsmanager:DeleteSecret. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Deletes a secret and all of its versions. You can specify a recovery\n window during which you can restore the secret. The minimum recovery window is 7 days. \n The default recovery window is 30 days. Secrets Manager attaches a DeletionDate stamp to\n the secret that specifies the end of the recovery window. At the end of the recovery window,\n Secrets Manager deletes the secret permanently.

\n

You can't delete a primary secret that is replicated to other Regions. You must first delete the \n replicas using RemoveRegionsFromReplication, and then delete the primary secret. \n When you delete a replica, it is deleted immediately.

\n

You can't directly delete a version of a secret. Instead, you remove all staging labels \n from the version using UpdateSecretVersionStage. This marks the version as deprecated, \n and then Secrets Manager can automatically delete the version in the background.

\n

To determine whether an application still uses a secret, you can create an Amazon CloudWatch alarm \n to alert you to any attempts to access a secret during the recovery window. For more information, \n see \n Monitor secrets scheduled for deletion.

\n

Secrets Manager performs the permanent secret deletion at the end of the waiting period as a\n background task with low priority. There is no guarantee of a specific time after the\n recovery window for the permanent delete to occur.

\n

At any time before recovery window ends, you can use RestoreSecret to\n remove the DeletionDate and cancel the deletion of the secret.

\n

When a secret is scheduled for deletion, you cannot retrieve the secret value.\n You must first cancel the deletion with RestoreSecret and then you can retrieve the secret.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:DeleteSecret. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#DeleteSecretRequest": { @@ -365,14 +370,14 @@ "RecoveryWindowInDays": { "target": "com.amazonaws.secretsmanager#RecoveryWindowInDaysType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The number of days from 7 to 30 that Secrets Manager waits before permanently deleting the\n secret. You can't use both this parameter and ForceDeleteWithoutRecovery\n in the same call. If you don't use either, then Secrets Manager defaults to a 30 day recovery window.

" } }, "ForceDeleteWithoutRecovery": { "target": "com.amazonaws.secretsmanager#BooleanType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether to delete the secret without any recovery window. You\n can't use both this parameter and RecoveryWindowInDays in the same\n call. If you don't use either, then Secrets Manager defaults to a 30 day recovery window.

\n

Secrets Manager performs the actual deletion with an asynchronous background process, so there might \n be a short delay before the secret is permanently deleted. If you delete a secret and then \n immediately create a secret with the same name, use appropriate back off and retry logic.

\n \n

Use this parameter with caution. This parameter causes the operation to skip the normal\n recovery window before the permanent deletion that Secrets Manager would normally impose with the\n RecoveryWindowInDays parameter. If you delete a secret with the\n ForceDeleteWithouRecovery parameter, then you have no opportunity to recover\n the secret. You lose the secret permanently.

\n
" } } @@ -427,7 +432,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager\n only returns fields that have a value in the response.

\n

\n Required permissions: \n secretsmanager:DescribeSecret. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager\n only returns fields that have a value in the response.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:DescribeSecret. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#DescribeSecretRequest": { @@ -472,7 +477,7 @@ "RotationEnabled": { "target": "com.amazonaws.secretsmanager#RotationEnabledType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether automatic rotation is turned on for this secret.

\n

To turn on rotation, use RotateSecret. To turn off\n rotation, use CancelRotateSecret.

" } }, @@ -594,16 +599,28 @@ } }, "com.amazonaws.secretsmanager#ExcludeLowercaseType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.secretsmanager#ExcludeNumbersType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.secretsmanager#ExcludePunctuationType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.secretsmanager#ExcludeUppercaseType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.secretsmanager#Filter": { "type": "structure", @@ -626,34 +643,44 @@ } }, "com.amazonaws.secretsmanager#FilterNameStringType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "description", - "name": "description" - }, - { - "value": "name", - "name": "name" - }, - { - "value": "tag-key", - "name": "tag_key" - }, - { - "value": "tag-value", - "name": "tag_value" - }, - { - "value": "primary-region", - "name": "primary_region" - }, - { - "value": "all", - "name": "all" - } - ] + "type": "enum", + "members": { + "description": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "description" + } + }, + "name": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "name" + } + }, + "tag_key": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tag-key" + } + }, + "tag_value": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tag-value" + } + }, + "primary_region": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "primary-region" + } + }, + "all": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "all" + } + } } }, "com.amazonaws.secretsmanager#FilterValueStringType": { @@ -710,7 +737,7 @@ } ], "traits": { - "smithy.api#documentation": "

Generates a random password. We recommend that you specify the\n maximum length and include every character type that the system you are generating a password\n for can support.

\n

\n Required permissions: \n secretsmanager:GetRandomPassword. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Generates a random password. We recommend that you specify the\n maximum length and include every character type that the system you are generating a password\n for can support.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:GetRandomPassword. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#GetRandomPasswordRequest": { @@ -719,7 +746,7 @@ "PasswordLength": { "target": "com.amazonaws.secretsmanager#PasswordLengthType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The length of the password. If you don't include this parameter, the \n default length is 32 characters.

" } }, @@ -732,42 +759,42 @@ "ExcludeNumbers": { "target": "com.amazonaws.secretsmanager#ExcludeNumbersType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether to exclude numbers from the password. If you don't \n include this switch, the password can contain numbers.

" } }, "ExcludePunctuation": { "target": "com.amazonaws.secretsmanager#ExcludePunctuationType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether to exclude the following punctuation characters from the password: \n ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~. \n If you don't include this switch, the password can contain punctuation.

" } }, "ExcludeUppercase": { "target": "com.amazonaws.secretsmanager#ExcludeUppercaseType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether to exclude uppercase letters from the password. If you \n don't include this switch, the password can contain uppercase letters.

" } }, "ExcludeLowercase": { "target": "com.amazonaws.secretsmanager#ExcludeLowercaseType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether to exclude lowercase letters from the password. If\n you don't include this switch, the password can contain lowercase letters.

" } }, "IncludeSpace": { "target": "com.amazonaws.secretsmanager#IncludeSpaceType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether to include the space character. If you \n include this switch, the password can contain space characters.

" } }, "RequireEachIncludedType": { "target": "com.amazonaws.secretsmanager#RequireEachIncludedTypeType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation. \n If you don't include this switch, the password contains at least one of every character type.

" } } @@ -807,7 +834,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the JSON text of the resource-based policy document attached to the\n secret. For more information about permissions policies attached to a secret, see \n Permissions \n policies attached to a secret.

\n

\n Required permissions: \n secretsmanager:GetResourcePolicy. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Retrieves the JSON text of the resource-based policy document attached to the\n secret. For more information about permissions policies attached to a secret, see \n Permissions \n policies attached to a secret.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:GetResourcePolicy. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#GetResourcePolicyRequest": { @@ -871,7 +898,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the contents of the encrypted fields SecretString or\n SecretBinary from the specified version of a secret, whichever contains\n content.

\n

We recommend that you cache your secret values by using client-side caching. \n Caching secrets improves speed and reduces your costs. For more information, see Cache secrets for \n your applications.

\n

To retrieve the previous version of a secret, use VersionStage and specify \n AWSPREVIOUS. To revert to the previous version of a secret, call UpdateSecretVersionStage.

\n \n

\n Required permissions: \n secretsmanager:GetSecretValue. \n If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key \n aws/secretsmanager, then you also need kms:Decrypt permissions for that key.\n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Retrieves the contents of the encrypted fields SecretString or\n SecretBinary from the specified version of a secret, whichever contains\n content.

\n

We recommend that you cache your secret values by using client-side caching. \n Caching secrets improves speed and reduces your costs. For more information, see Cache secrets for \n your applications.

\n

To retrieve the previous version of a secret, use VersionStage and specify \n AWSPREVIOUS. To revert to the previous version of a secret, call UpdateSecretVersionStage.

\n \n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:GetSecretValue. \n If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key \n aws/secretsmanager, then you also need kms:Decrypt permissions for that key.\n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#GetSecretValueRequest": { @@ -946,7 +973,10 @@ } }, "com.amazonaws.secretsmanager#IncludeSpaceType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.secretsmanager#InternalServiceError": { "type": "structure", @@ -1055,7 +1085,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the versions of a secret. Secrets Manager uses staging labels to indicate the different versions \n of a secret. For more information, see \n Secrets Manager concepts: Versions.

\n

To list the secrets in the account, use ListSecrets.

\n

\n Required permissions: \n secretsmanager:ListSecretVersionIds. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

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

Lists the versions of a secret. Secrets Manager uses staging labels to indicate the different versions \n of a secret. For more information, see \n Secrets Manager concepts: Versions.

\n

To list the secrets in the account, use ListSecrets.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:ListSecretVersionIds. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1076,7 +1106,7 @@ "MaxResults": { "target": "com.amazonaws.secretsmanager#MaxResultsType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The number of results to include in the response.

\n

If there are more results available, in the response, Secrets Manager includes NextToken. \n To get the next results, call ListSecretVersionIds again with the value from NextToken.

" } }, @@ -1089,7 +1119,7 @@ "IncludeDeprecated": { "target": "com.amazonaws.secretsmanager#BooleanType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether to include versions of secrets that don't have any\n staging labels attached to them. Versions without staging labels are considered deprecated and are subject to\n deletion by Secrets Manager.

" } } @@ -1144,7 +1174,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets \n that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console.

\n

ListSecrets is eventually consistent, however it might not reflect changes from the last five minutes. \n To get the latest information for a specific secret, use DescribeSecret.

\n

To list the versions of a secret, use ListSecretVersionIds.

\n

To get the secret value from SecretString or SecretBinary, \n call GetSecretValue.

\n

For information about finding secrets in the console, see Find secrets in Secrets Manager.

\n

\n Required permissions: \n secretsmanager:ListSecrets. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

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

Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets \n that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console.

\n

ListSecrets is eventually consistent, however it might not reflect changes from the last five minutes. \n To get the latest information for a specific secret, use DescribeSecret.

\n

To list the versions of a secret, use ListSecretVersionIds.

\n

To get the secret value from SecretString or SecretBinary, \n call GetSecretValue.

\n

For information about finding secrets in the console, see Find secrets in Secrets Manager.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:ListSecrets. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1158,7 +1188,7 @@ "MaxResults": { "target": "com.amazonaws.secretsmanager#MaxResultsType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The number of results to include in the response.

\n

If there are more results available, in the response, Secrets Manager includes NextToken. \n To get the next results, call ListSecrets again with the value from \n NextToken.

" } }, @@ -1214,6 +1244,7 @@ "com.amazonaws.secretsmanager#MaxResultsType": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1259,6 +1290,7 @@ "com.amazonaws.secretsmanager#PasswordLengthType": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 4096 @@ -1318,7 +1350,7 @@ } ], "traits": { - "smithy.api#documentation": "

Attaches a resource-based permission policy to a secret. A resource-based policy is \n optional. For more information, see Authentication and access control for Secrets Manager\n

\n

For information about attaching a policy in the console, see Attach a \n permissions policy to a secret.

\n

\n Required permissions: \n secretsmanager:PutResourcePolicy. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Attaches a resource-based permission policy to a secret. A resource-based policy is \n optional. For more information, see Authentication and access control for Secrets Manager\n

\n

For information about attaching a policy in the console, see Attach a \n permissions policy to a secret.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:PutResourcePolicy. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#PutResourcePolicyRequest": { @@ -1341,7 +1373,7 @@ "BlockPublicPolicy": { "target": "com.amazonaws.secretsmanager#BooleanType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether to block resource-based policies that allow broad access to the secret, for example those that use a wildcard for the principal.

" } } @@ -1399,7 +1431,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new version with a new encrypted secret value and attaches it to the secret. The \n version can contain a new SecretString value or a new SecretBinary value.

\n

We recommend you avoid calling PutSecretValue at a sustained rate of more than \n once every 10 minutes. When you update the secret value, Secrets Manager creates a new version \n of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not \n remove versions created less than 24 hours ago. If you call PutSecretValue more \n than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach \n the quota for secret versions.

\n

You can specify the staging labels to attach to the new version in VersionStages. \n If you don't include VersionStages, then Secrets Manager automatically\n moves the staging label AWSCURRENT to this version. If this operation creates \n the first version for the secret, then Secrets Manager\n automatically attaches the staging label AWSCURRENT to it .

\n

If this operation moves the staging label AWSCURRENT from another version to this\n version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to\n the version that AWSCURRENT was removed from.

\n

This operation is idempotent. If you call this operation with a ClientRequestToken \n that matches an existing version's VersionId, and you specify the\n same secret data, the operation succeeds but does nothing. However, if the secret data is\n different, then the operation fails because you can't modify an existing version; you can\n only create new ones.

\n

\n Required permissions: \n secretsmanager:PutSecretValue. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Creates a new version with a new encrypted secret value and attaches it to the secret. The \n version can contain a new SecretString value or a new SecretBinary value.

\n

We recommend you avoid calling PutSecretValue at a sustained rate of more than \n once every 10 minutes. When you update the secret value, Secrets Manager creates a new version \n of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not \n remove versions created less than 24 hours ago. If you call PutSecretValue more \n than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach \n the quota for secret versions.

\n

You can specify the staging labels to attach to the new version in VersionStages. \n If you don't include VersionStages, then Secrets Manager automatically\n moves the staging label AWSCURRENT to this version. If this operation creates \n the first version for the secret, then Secrets Manager\n automatically attaches the staging label AWSCURRENT to it. \n If this operation moves the staging label AWSCURRENT from another version to this\n version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to\n the version that AWSCURRENT was removed from.

\n

This operation is idempotent. If you call this operation with a ClientRequestToken \n that matches an existing version's VersionId, and you specify the\n same secret data, the operation succeeds but does nothing. However, if the secret data is\n different, then the operation fails because you can't modify an existing version; you can\n only create new ones.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary or SecretString because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:PutSecretValue. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#PutSecretValueRequest": { @@ -1479,7 +1511,10 @@ } }, "com.amazonaws.secretsmanager#RecoveryWindowInDaysType": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.secretsmanager#RegionType": { "type": "string", @@ -1514,7 +1549,7 @@ } ], "traits": { - "smithy.api#documentation": "

For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.

\n

\n Required permissions: \n secretsmanager:RemoveRegionsFromReplication. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:RemoveRegionsFromReplication. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#RemoveRegionsFromReplicationRequest": { @@ -1607,7 +1642,7 @@ } ], "traits": { - "smithy.api#documentation": "

Replicates the secret to a new Regions. See Multi-Region secrets.

\n

\n Required permissions: \n secretsmanager:ReplicateSecretToRegions. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Replicates the secret to a new Regions. See Multi-Region secrets.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:ReplicateSecretToRegions. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#ReplicateSecretToRegionsRequest": { @@ -1630,6 +1665,7 @@ "ForceOverwriteReplicaSecret": { "target": "com.amazonaws.secretsmanager#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to overwrite a secret with the same name in the destination Region.

" } } @@ -1697,7 +1733,10 @@ } }, "com.amazonaws.secretsmanager#RequireEachIncludedTypeType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.secretsmanager#ResourceExistsException": { "type": "structure", @@ -1746,7 +1785,7 @@ } ], "traits": { - "smithy.api#documentation": "

Cancels the scheduled deletion of a secret by removing the DeletedDate time\n stamp. You can access a secret again after it has been restored.

\n

\n Required permissions: \n secretsmanager:RestoreSecret. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Cancels the scheduled deletion of a secret by removing the DeletedDate time\n stamp. You can access a secret again after it has been restored.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:RestoreSecret. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#RestoreSecretRequest": { @@ -1801,7 +1840,7 @@ } ], "traits": { - "smithy.api#documentation": "

Configures and starts the asynchronous process of rotating the secret. For more information about rotation, \n see Rotate secrets.

\n

If you include the\n configuration parameters, the operation sets the values for the secret and then immediately\n starts a rotation. If you don't include the configuration parameters, the operation starts a\n rotation with the values already stored in the secret.

\n

For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret, you must \n make sure the secret value is in the\n JSON structure\n of a database secret. In particular, if you want to use the alternating users strategy, your secret must contain the ARN of a superuser\n secret.

\n \n

To configure rotation, you also need the ARN of an Amazon Web Services Lambda function and the schedule \n for the rotation. The Lambda rotation function creates a new\n version of the secret and creates or updates the credentials on the database or service to\n match. After testing the new credentials, the function marks the new secret version with the staging\n label AWSCURRENT. Then anyone who retrieves the secret gets the new version. For more\n information, see How rotation works.

\n

You can create the Lambda rotation function based on the rotation function templates that Secrets Manager provides. Choose \n a template that matches your Rotation strategy.

\n

When rotation is successful, the AWSPENDING staging label might be attached\n to the same version as the AWSCURRENT version, or it might not be attached to any\n version. If the AWSPENDING staging label is present but not attached to the same\n version as AWSCURRENT, then any later invocation of RotateSecret\n assumes that a previous rotation request is still in progress and returns an error.

\n

\n Required permissions: \n secretsmanager:RotateSecret. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager. You also need lambda:InvokeFunction permissions on the rotation function. \n For more information, see \n Permissions for rotation.

" + "smithy.api#documentation": "

Configures and starts the asynchronous process of rotating the secret. For more information about rotation, \n see Rotate secrets.

\n

If you include the\n configuration parameters, the operation sets the values for the secret and then immediately\n starts a rotation. If you don't include the configuration parameters, the operation starts a\n rotation with the values already stored in the secret.

\n

For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret, you must \n make sure the secret value is in the\n JSON structure\n of a database secret. In particular, if you want to use the alternating users strategy, your secret must contain the ARN of a superuser\n secret.

\n \n

To configure rotation, you also need the ARN of an Amazon Web Services Lambda function and the schedule \n for the rotation. The Lambda rotation function creates a new\n version of the secret and creates or updates the credentials on the database or service to\n match. After testing the new credentials, the function marks the new secret version with the staging\n label AWSCURRENT. Then anyone who retrieves the secret gets the new version. For more\n information, see How rotation works.

\n

You can create the Lambda rotation function based on the rotation function templates that Secrets Manager provides. Choose \n a template that matches your Rotation strategy.

\n

When rotation is successful, the AWSPENDING staging label might be attached\n to the same version as the AWSCURRENT version, or it might not be attached to any\n version. If the AWSPENDING staging label is present but not attached to the same\n version as AWSCURRENT, then any later invocation of RotateSecret\n assumes that a previous rotation request is still in progress and returns an error.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:RotateSecret. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager. You also need lambda:InvokeFunction permissions on the rotation function. \n For more information, see \n Permissions for rotation.

" } }, "com.amazonaws.secretsmanager#RotateSecretRequest": { @@ -1836,7 +1875,7 @@ "RotateImmediately": { "target": "com.amazonaws.secretsmanager#BooleanType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. \n The rotation schedule is defined in RotateSecretRequest$RotationRules.

\n

If you don't immediately rotate the secret, Secrets Manager tests the rotation configuration by running the \n \n testSecret \n step of the Lambda rotation function. The test creates an AWSPENDING version of the secret and then removes it.

\n

If you don't specify this value, then by default, Secrets Manager rotates the secret immediately.

" } } @@ -1866,7 +1905,10 @@ } }, "com.amazonaws.secretsmanager#RotationEnabledType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.secretsmanager#RotationLambdaARNType": { "type": "string", @@ -1883,7 +1925,7 @@ "AutomaticallyAfterDays": { "target": "com.amazonaws.secretsmanager#AutomaticallyRotateAfterDaysType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The number of days between automatic scheduled rotations of the secret. You can use this \n value to check that your secret meets your compliance guidelines for how often secrets must \n be rotated.

\n

In DescribeSecret and ListSecrets, this value is calculated from \n the rotation schedule after every successful rotation. In RotateSecret, you can \n set the rotation schedule in RotationRules with AutomaticallyAfterDays\n or ScheduleExpression, but not both.

" } }, @@ -1972,7 +2014,7 @@ "RotationEnabled": { "target": "com.amazonaws.secretsmanager#RotationEnabledType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Indicates whether automatic, scheduled rotation is enabled for this secret.

" } }, @@ -2156,18 +2198,20 @@ } }, "com.amazonaws.secretsmanager#SortOrderType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "asc", - "name": "asc" - }, - { - "value": "desc", - "name": "desc" + "type": "enum", + "members": { + "asc": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "asc" + } + }, + "desc": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "desc" } - ] + } } }, "com.amazonaws.secretsmanager#StatusMessageType": { @@ -2180,22 +2224,26 @@ } }, "com.amazonaws.secretsmanager#StatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "InSync", - "name": "InSync" - }, - { - "value": "Failed", - "name": "Failed" - }, - { - "value": "InProgress", - "name": "InProgress" + "type": "enum", + "members": { + "InSync": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InSync" + } + }, + "Failed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" } - ] + }, + "InProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + } } }, "com.amazonaws.secretsmanager#StopReplicationToReplica": { @@ -2221,7 +2269,7 @@ } ], "traits": { - "smithy.api#documentation": "

Removes the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region.

\n

You must call this operation from the Region in which you want to promote the replica to a primary secret.

\n

\n Required permissions: \n secretsmanager:StopReplicationToReplica. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Removes the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region.

\n

You must call this operation from the Region in which you want to promote the replica to a primary secret.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:StopReplicationToReplica. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#StopReplicationToReplicaRequest": { @@ -2311,7 +2359,7 @@ } ], "traits": { - "smithy.api#documentation": "

Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the \n secret's metadata. They are not associated with specific versions of the secret. This operation appends tags to the existing list of tags.

\n

The following restrictions apply to tags:

\n \n \n \n

If you use tags as part of your security strategy, then adding or removing a tag can\n change permissions. If successfully completing this operation would result in you losing\n your permissions for this secret, then the operation is blocked and returns an Access Denied\n error.

\n
\n

\n Required permissions: \n secretsmanager:TagResource. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the \n secret's metadata. They are not associated with specific versions of the secret. This operation appends tags to the existing list of tags.

\n

The following restrictions apply to tags:

\n \n \n \n

If you use tags as part of your security strategy, then adding or removing a tag can\n change permissions. If successfully completing this operation would result in you losing\n your permissions for this secret, then the operation is blocked and returns an Access Denied\n error.

\n
\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:TagResource. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#TagResourceRequest": { @@ -2368,7 +2416,7 @@ } ], "traits": { - "smithy.api#documentation": "

Removes specific tags from a secret.

\n

This operation is idempotent. If a requested tag is not attached to the secret, no error\n is returned and the secret metadata is unchanged.

\n \n

If you use tags as part of your security strategy, then removing a tag can change\n permissions. If successfully completing this operation would result in you losing your\n permissions for this secret, then the operation is blocked and returns an Access Denied\n error.

\n
\n

\n Required permissions: \n secretsmanager:UntagResource. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Removes specific tags from a secret.

\n

This operation is idempotent. If a requested tag is not attached to the secret, no error\n is returned and the secret metadata is unchanged.

\n \n

If you use tags as part of your security strategy, then removing a tag can change\n permissions. If successfully completing this operation would result in you losing your\n permissions for this secret, then the operation is blocked and returns an Access Denied\n error.

\n
\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:UntagResource. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#UntagResourceRequest": { @@ -2431,7 +2479,7 @@ } ], "traits": { - "smithy.api#documentation": "

Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use PutSecretValue.

\n

To change the rotation configuration of a secret, use RotateSecret instead.

\n \n

We recommend you avoid calling UpdateSecret at a sustained rate of more than \n once every 10 minutes. When you call UpdateSecret to update the secret value, Secrets Manager creates a new version \n of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not \n remove versions created less than 24 hours ago. If you update the secret value more \n than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach \n the quota for secret versions.

\n

If you include SecretString or SecretBinary to create a new\n secret version, Secrets Manager automatically attaches the staging label AWSCURRENT to the new\n version.

\n

If you call this operation with a ClientRequestToken that matches an existing version's \n VersionId, the operation results in an error. You can't modify an existing \n version, you can only create a new version. To remove a version, remove all staging labels from it. See \n UpdateSecretVersionStage.

\n

\n Required permissions: \n secretsmanager:UpdateSecret. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager. \n If you use a customer managed key, you must also have kms:GenerateDataKey and \n kms:Decrypt permissions on the key. For more information, see \n Secret encryption and decryption.

" + "smithy.api#documentation": "

Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use PutSecretValue.

\n

To change the rotation configuration of a secret, use RotateSecret instead.

\n \n

We recommend you avoid calling UpdateSecret at a sustained rate of more than \n once every 10 minutes. When you call UpdateSecret to update the secret value, Secrets Manager creates a new version \n of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not \n remove versions created less than 24 hours ago. If you update the secret value more \n than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach \n the quota for secret versions.

\n

If you include SecretString or SecretBinary to create a new\n secret version, Secrets Manager automatically moves the staging label AWSCURRENT to the new\n version. Then it attaches the label AWSPREVIOUS\n to the version that AWSCURRENT was removed from.

\n\n

If you call this operation with a ClientRequestToken that matches an existing version's \n VersionId, the operation results in an error. You can't modify an existing \n version, you can only create a new version. To remove a version, remove all staging labels from it. See \n UpdateSecretVersionStage.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary or SecretString because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:UpdateSecret. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager. \n If you use a customer managed key, you must also have kms:GenerateDataKey and \n kms:Decrypt permissions on the key. For more information, see \n Secret encryption and decryption.

" } }, "com.amazonaws.secretsmanager#UpdateSecretRequest": { @@ -2526,7 +2574,7 @@ } ], "traits": { - "smithy.api#documentation": "

Modifies the staging labels attached to a version of a secret. Secrets Manager uses staging labels to\n track a version as it progresses through the secret rotation process. Each staging label can be \n attached to only one version at a time. To add a staging label to a version when it is already \n attached to another version, Secrets Manager first removes it from the other version first and\n then attaches it to this one. For more information about versions and staging labels, see Concepts: Version.

\n

The staging labels that you specify in the VersionStage parameter are added\n to the existing list of staging labels for the version.

\n

You can move the AWSCURRENT staging label to this version by including it in this\n call.

\n \n

Whenever you move AWSCURRENT, Secrets Manager automatically moves the label AWSPREVIOUS\n to the version that AWSCURRENT was removed from.

\n
\n

If this action results in the last label being removed from a version, then the version is\n considered to be 'deprecated' and can be deleted by Secrets Manager.

\n

\n Required permissions: \n secretsmanager:UpdateSecretVersionStage. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Modifies the staging labels attached to a version of a secret. Secrets Manager uses staging labels to\n track a version as it progresses through the secret rotation process. Each staging label can be \n attached to only one version at a time. To add a staging label to a version when it is already \n attached to another version, Secrets Manager first removes it from the other version first and\n then attaches it to this one. For more information about versions and staging labels, see Concepts: Version.

\n

The staging labels that you specify in the VersionStage parameter are added\n to the existing list of staging labels for the version.

\n

You can move the AWSCURRENT staging label to this version by including it in this\n call.

\n \n

Whenever you move AWSCURRENT, Secrets Manager automatically moves the label AWSPREVIOUS\n to the version that AWSCURRENT was removed from.

\n
\n

If this action results in the last label being removed from a version, then the version is\n considered to be 'deprecated' and can be deleted by Secrets Manager.

\n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:UpdateSecretVersionStage. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#UpdateSecretVersionStageRequest": { @@ -2603,7 +2651,7 @@ } ], "traits": { - "smithy.api#documentation": "

Validates that a resource policy does not grant a wide range of principals access to\n your secret. A resource-based policy is optional for secrets.

\n

The API performs three checks when validating the policy:

\n \n

\n Required permissions: \n secretsmanager:ValidateResourcePolicy. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" + "smithy.api#documentation": "

Validates that a resource policy does not grant a wide range of principals access to\n your secret. A resource-based policy is optional for secrets.

\n

The API performs three checks when validating the policy:

\n \n

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

\n

\n Required permissions: \n secretsmanager:ValidateResourcePolicy. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.

" } }, "com.amazonaws.secretsmanager#ValidateResourcePolicyRequest": { @@ -2630,6 +2678,7 @@ "PolicyValidationPassed": { "target": "com.amazonaws.secretsmanager#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if your policy passes validation, otherwise false.

" } }, @@ -2669,21 +2718,6 @@ }, "com.amazonaws.secretsmanager#secretsmanager": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Secrets Manager", - "arnNamespace": "secretsmanager", - "cloudFormationName": "SecretsManager", - "cloudTrailEventSource": "secretsmanager.amazonaws.com", - "endpointPrefix": "secretsmanager" - }, - "aws.auth#sigv4": { - "name": "secretsmanager" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Web Services Secrets Manager\n

Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets.

\n \n

This guide provides descriptions of the Secrets Manager API. For more information about using this\n service, see the Amazon Web Services Secrets Manager User Guide.

\n \n

\n API Version\n

\n \n

This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

\n Support and Feedback for Amazon Web Services Secrets Manager\n

\n

We welcome your feedback. Send your comments to awssecretsmanager-feedback@amazon.com, or post your feedback and questions in the Amazon Web Services Secrets Manager Discussion Forum. For more\n information about the Amazon Web Services Discussion Forums, see Forums\n Help.

\n \n

\n Logging API Requests\n

\n

Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services\n account and delivers log files to an Amazon S3 bucket. By using information that's collected\n by Amazon Web Services CloudTrail, you can determine the requests successfully made to Secrets Manager, who made the\n request, when it was made, and so on. For more about Amazon Web Services Secrets Manager and support for Amazon Web Services\n CloudTrail, see Logging\n Amazon Web Services Secrets Manager Events with Amazon Web Services CloudTrail in the Amazon Web Services Secrets Manager User Guide.\n To learn more about CloudTrail, including enabling it and find your log files, see the Amazon Web Services CloudTrail User Guide.

", - "smithy.api#title": "AWS Secrets Manager" - }, "version": "2017-10-17", "operations": [ { @@ -2752,7 +2786,22 @@ { "target": "com.amazonaws.secretsmanager#ValidateResourcePolicy" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Secrets Manager", + "arnNamespace": "secretsmanager", + "cloudFormationName": "SecretsManager", + "cloudTrailEventSource": "secretsmanager.amazonaws.com", + "endpointPrefix": "secretsmanager" + }, + "aws.auth#sigv4": { + "name": "secretsmanager" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Web Services Secrets Manager\n

Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets.

\n \n

This guide provides descriptions of the Secrets Manager API. For more information about using this\n service, see the Amazon Web Services Secrets Manager User Guide.

\n \n

\n API Version\n

\n \n

This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

\n Support and Feedback for Amazon Web Services Secrets Manager\n

\n

We welcome your feedback. Send your comments to awssecretsmanager-feedback@amazon.com, or post your feedback and questions in the Amazon Web Services Secrets Manager Discussion Forum. For more\n information about the Amazon Web Services Discussion Forums, see Forums\n Help.

\n \n

\n Logging API Requests\n

\n

Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services\n account and delivers log files to an Amazon S3 bucket. By using information that's collected\n by Amazon Web Services CloudTrail, you can determine the requests successfully made to Secrets Manager, who made the\n request, when it was made, and so on. For more about Amazon Web Services Secrets Manager and support for Amazon Web Services\n CloudTrail, see Logging\n Amazon Web Services Secrets Manager Events with Amazon Web Services CloudTrail in the Amazon Web Services Secrets Manager User Guide.\n To learn more about CloudTrail, including enabling it and find your log files, see the Amazon Web Services CloudTrail User Guide.

", + "smithy.api#title": "AWS Secrets Manager" + } } } } diff --git a/codegen/sdk-codegen/aws-models/translate.json b/codegen/sdk-codegen/aws-models/translate.json index 5319ee3ae57..7488b2557cd 100644 --- a/codegen/sdk-codegen/aws-models/translate.json +++ b/codegen/sdk-codegen/aws-models/translate.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.translate#AWSShineFrontendService_20170701": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Translate", - "arnNamespace": "translate", - "cloudFormationName": "Translate", - "cloudTrailEventSource": "translate.amazonaws.com", - "endpointPrefix": "translate" - }, - "aws.auth#sigv4": { - "name": "translate" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Provides translation between one source language and another of the same set of\n languages.

", - "smithy.api#title": "Amazon Translate" - }, "version": "2017-07-01", "operations": [ { @@ -75,6 +60,9 @@ { "target": "com.amazonaws.translate#ListParallelData" }, + { + "target": "com.amazonaws.translate#ListTagsForResource" + }, { "target": "com.amazonaws.translate#ListTerminologies" }, @@ -87,13 +75,34 @@ { "target": "com.amazonaws.translate#StopTextTranslationJob" }, + { + "target": "com.amazonaws.translate#TagResource" + }, { "target": "com.amazonaws.translate#TranslateText" }, + { + "target": "com.amazonaws.translate#UntagResource" + }, { "target": "com.amazonaws.translate#UpdateParallelData" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Translate", + "arnNamespace": "translate", + "cloudFormationName": "Translate", + "cloudTrailEventSource": "translate.amazonaws.com", + "endpointPrefix": "translate" + }, + "aws.auth#sigv4": { + "name": "translate" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Provides translation between one source language and another of the same set of\n languages.

", + "smithy.api#title": "Amazon Translate" + } }, "com.amazonaws.translate#AppliedTerminology": { "type": "structure", @@ -186,6 +195,9 @@ "target": "com.amazonaws.translate#CreateParallelDataResponse" }, "errors": [ + { + "target": "com.amazonaws.translate#ConcurrentModificationException" + }, { "target": "com.amazonaws.translate#ConflictException" }, @@ -203,6 +215,9 @@ }, { "target": "com.amazonaws.translate#TooManyRequestsException" + }, + { + "target": "com.amazonaws.translate#TooManyTagsException" } ], "traits": { @@ -242,6 +257,9 @@ "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } + }, + "Tags": { + "target": "com.amazonaws.translate#TagList" } } }, @@ -431,65 +449,85 @@ } }, "com.amazonaws.translate#Directionality": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNI", - "name": "UNI" - }, - { - "value": "MULTI", - "name": "MULTI" + "type": "enum", + "members": { + "UNI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNI" } - ] + }, + "MULTI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MULTI" + } + } } }, "com.amazonaws.translate#DisplayLanguageCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "de", - "name": "DE" - }, - { - "value": "en", - "name": "EN" - }, - { - "value": "es", - "name": "ES" - }, - { - "value": "fr", - "name": "FR" - }, - { - "value": "it", - "name": "IT" - }, - { - "value": "ja", - "name": "JA" - }, - { - "value": "ko", - "name": "KO" - }, - { - "value": "pt", - "name": "PT" - }, - { - "value": "zh", - "name": "ZH" - }, - { - "value": "zh-TW", - "name": "ZH_TW" - } - ] + "type": "enum", + "members": { + "DE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de" + } + }, + "EN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en" + } + }, + "ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es" + } + }, + "FR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fr" + } + }, + "IT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "it" + } + }, + "JA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ja" + } + }, + "KO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ko" + } + }, + "PT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pt" + } + }, + "ZH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "zh" + } + }, + "ZH_TW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "zh-TW" + } + } } }, "com.amazonaws.translate#EncryptionKey": { @@ -525,29 +563,31 @@ } }, "com.amazonaws.translate#EncryptionKeyType": { - "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.translate#Formality": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FORMAL", - "name": "FORMAL" - }, - { - "value": "INFORMAL", - "name": "INFORMAL" + "type": "enum", + "members": { + "FORMAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FORMAL" } - ] + }, + "INFORMAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INFORMAL" + } + } } }, "com.amazonaws.translate#GetParallelData": { @@ -703,6 +743,9 @@ "target": "com.amazonaws.translate#ImportTerminologyResponse" }, "errors": [ + { + "target": "com.amazonaws.translate#ConcurrentModificationException" + }, { "target": "com.amazonaws.translate#InternalServerException" }, @@ -714,6 +757,9 @@ }, { "target": "com.amazonaws.translate#TooManyRequestsException" + }, + { + "target": "com.amazonaws.translate#TooManyTagsException" } ], "traits": { @@ -755,6 +801,9 @@ "traits": { "smithy.api#documentation": "

The encryption key for the custom terminology being imported.

" } + }, + "Tags": { + "target": "com.amazonaws.translate#TagList" } } }, @@ -798,10 +847,7 @@ } }, "com.amazonaws.translate#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.translate#InternalServerException": { "type": "structure", @@ -902,38 +948,50 @@ } }, "com.amazonaws.translate#JobStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUBMITTED", - "name": "SUBMITTED" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "COMPLETED_WITH_ERROR", - "name": "COMPLETED_WITH_ERROR" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "STOP_REQUESTED", - "name": "STOP_REQUESTED" - }, - { - "value": "STOPPED", - "name": "STOPPED" - } - ] + "type": "enum", + "members": { + "SUBMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUBMITTED" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "COMPLETED_WITH_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED_WITH_ERROR" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "STOP_REQUESTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOP_REQUESTED" + } + }, + "STOPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPED" + } + } } }, "com.amazonaws.translate#Language": { @@ -1131,6 +1189,45 @@ } } }, + "com.amazonaws.translate#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.translate#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.translate#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.translate#InternalServerException" + }, + { + "target": "com.amazonaws.translate#InvalidParameterValueException" + }, + { + "target": "com.amazonaws.translate#ResourceNotFoundException" + } + ] + }, + "com.amazonaws.translate#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.translate#ResourceArn", + "traits": { + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.translate#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "Tags": { + "target": "com.amazonaws.translate#TagList" + } + } + }, "com.amazonaws.translate#ListTerminologies": { "type": "operation", "input": { @@ -1274,15 +1371,11 @@ } }, "com.amazonaws.translate#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.translate#MaxResultsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -1290,14 +1383,14 @@ } }, "com.amazonaws.translate#MergeStrategy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OVERWRITE", - "name": "OVERWRITE" + "type": "enum", + "members": { + "OVERWRITE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OVERWRITE" } - ] + } } }, "com.amazonaws.translate#NextToken": { @@ -1382,22 +1475,26 @@ } }, "com.amazonaws.translate#ParallelDataFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TSV", - "name": "TSV" - }, - { - "value": "CSV", - "name": "CSV" - }, - { - "value": "TMX", - "name": "TMX" + "type": "enum", + "members": { + "TSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TSV" + } + }, + "CSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CSV" + } + }, + "TMX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TMX" } - ] + } } }, "com.amazonaws.translate#ParallelDataProperties": { @@ -1514,41 +1611,58 @@ } }, "com.amazonaws.translate#ParallelDataStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "UPDATING", - "name": "UPDATING" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "FAILED", - "name": "FAILED" - } - ] + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.translate#Profanity": { + "type": "enum", + "members": { + "MASK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MASK" + } + } + } + }, + "com.amazonaws.translate#ResourceArn": { "type": "string", "traits": { - "smithy.api#enum": [ - { - "value": "MASK", - "name": "MASK" - } - ] + "smithy.api#length": { + "min": 1, + "max": 512 + } } }, "com.amazonaws.translate#ResourceName": { @@ -1786,6 +1900,112 @@ "smithy.api#pattern": "^[\\P{M}\\p{M}]{0,10000}$" } }, + "com.amazonaws.translate#Tag": { + "type": "structure", + "members": { + "Key": { + "target": "com.amazonaws.translate#TagKey", + "traits": { + "smithy.api#required": {} + } + }, + "Value": { + "target": "com.amazonaws.translate#TagValue", + "traits": { + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.translate#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.translate#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.translate#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.translate#TagList": { + "type": "list", + "member": { + "target": "com.amazonaws.translate#Tag" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.translate#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.translate#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.translate#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.translate#ConcurrentModificationException" + }, + { + "target": "com.amazonaws.translate#InternalServerException" + }, + { + "target": "com.amazonaws.translate#InvalidParameterValueException" + }, + { + "target": "com.amazonaws.translate#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.translate#TooManyTagsException" + } + ] + }, + "com.amazonaws.translate#TagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.translate#ResourceArn", + "traits": { + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.translate#TagList", + "traits": { + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.translate#TagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.translate#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + } + } + }, "com.amazonaws.translate#TargetLanguageCodeStringList": { "type": "list", "member": { @@ -1793,8 +2013,7 @@ }, "traits": { "smithy.api#length": { - "min": 1, - "max": 1 + "min": 1 } } }, @@ -1862,22 +2081,26 @@ } }, "com.amazonaws.translate#TerminologyDataFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CSV", - "name": "CSV" - }, - { - "value": "TMX", - "name": "TMX" - }, - { - "value": "TSV", - "name": "TSV" + "type": "enum", + "members": { + "CSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CSV" + } + }, + "TMX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TMX" + } + }, + "TSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TSV" } - ] + } } }, "com.amazonaws.translate#TerminologyDataLocation": { @@ -2175,6 +2398,21 @@ "smithy.api#httpError": 429 } }, + "com.amazonaws.translate#TooManyTagsException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.translate#String" + }, + "ResourceArn": { + "target": "com.amazonaws.translate#ResourceArn" + } + }, + "traits": { + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, "com.amazonaws.translate#TranslateText": { "type": "operation", "input": { @@ -2356,6 +2594,50 @@ "smithy.api#httpError": 400 } }, + "com.amazonaws.translate#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.translate#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.translate#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.translate#ConcurrentModificationException" + }, + { + "target": "com.amazonaws.translate#InternalServerException" + }, + { + "target": "com.amazonaws.translate#InvalidParameterValueException" + }, + { + "target": "com.amazonaws.translate#ResourceNotFoundException" + } + ] + }, + "com.amazonaws.translate#UntagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.translate#ResourceArn", + "traits": { + "smithy.api#required": {} + } + }, + "TagKeys": { + "target": "com.amazonaws.translate#TagKeyList", + "traits": { + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.translate#UntagResourceResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.translate#UpdateParallelData": { "type": "operation", "input": { diff --git a/codegen/sdk-codegen/aws-models/workspaces.json b/codegen/sdk-codegen/aws-models/workspaces.json index ba507e06cc2..2cf085fb3ec 100644 --- a/codegen/sdk-codegen/aws-models/workspaces.json +++ b/codegen/sdk-codegen/aws-models/workspaces.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -48,18 +48,20 @@ } }, "com.amazonaws.workspaces#AccessPropertyValue": { - "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.workspaces#AccountModification": { @@ -146,18 +148,20 @@ } }, "com.amazonaws.workspaces#Application": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Microsoft_Office_2016", - "name": "Microsoft_Office_2016" - }, - { - "value": "Microsoft_Office_2019", - "name": "Microsoft_Office_2019" + "type": "enum", + "members": { + "Microsoft_Office_2016": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Microsoft_Office_2016" } - ] + }, + "Microsoft_Office_2019": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Microsoft_Office_2019" + } + } } }, "com.amazonaws.workspaces#ApplicationList": { @@ -290,30 +294,38 @@ "members": {} }, "com.amazonaws.workspaces#AssociationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NOT_ASSOCIATED", - "name": "NOT_ASSOCIATED" - }, - { - "value": "ASSOCIATED_WITH_OWNER_ACCOUNT", - "name": "ASSOCIATED_WITH_OWNER_ACCOUNT" - }, - { - "value": "ASSOCIATED_WITH_SHARED_ACCOUNT", - "name": "ASSOCIATED_WITH_SHARED_ACCOUNT" - }, - { - "value": "PENDING_ASSOCIATION", - "name": "PENDING_ASSOCIATION" - }, - { - "value": "PENDING_DISASSOCIATION", - "name": "PENDING_DISASSOCIATION" - } - ] + "type": "enum", + "members": { + "NOT_ASSOCIATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_ASSOCIATED" + } + }, + "ASSOCIATED_WITH_OWNER_ACCOUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSOCIATED_WITH_OWNER_ACCOUNT" + } + }, + "ASSOCIATED_WITH_SHARED_ACCOUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSOCIATED_WITH_SHARED_ACCOUNT" + } + }, + "PENDING_ASSOCIATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING_ASSOCIATION" + } + }, + "PENDING_DISASSOCIATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING_DISASSOCIATION" + } + } } }, "com.amazonaws.workspaces#AuthorizeIpRules": { @@ -375,10 +387,7 @@ } }, "com.amazonaws.workspaces#BooleanObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.workspaces#BundleId": { "type": "string", @@ -408,34 +417,44 @@ "type": "string" }, "com.amazonaws.workspaces#ClientDeviceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DeviceTypeWindows", - "name": "DEVICE_TYPE_WINDOWS" - }, - { - "value": "DeviceTypeOsx", - "name": "DEVICE_TYPE_OSX" - }, - { - "value": "DeviceTypeAndroid", - "name": "DEVICE_TYPE_ANDROID" - }, - { - "value": "DeviceTypeIos", - "name": "DEVICE_TYPE_IOS" - }, - { - "value": "DeviceTypeLinux", - "name": "DEVICE_TYPE_LINUX" - }, - { - "value": "DeviceTypeWeb", - "name": "DEVICE_TYPE_WEB" - } - ] + "type": "enum", + "members": { + "DEVICE_TYPE_WINDOWS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeviceTypeWindows" + } + }, + "DEVICE_TYPE_OSX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeviceTypeOsx" + } + }, + "DEVICE_TYPE_ANDROID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeviceTypeAndroid" + } + }, + "DEVICE_TYPE_IOS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeviceTypeIos" + } + }, + "DEVICE_TYPE_LINUX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeviceTypeLinux" + } + }, + "DEVICE_TYPE_WEB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeviceTypeWeb" + } + } } }, "com.amazonaws.workspaces#ClientDeviceTypeList": { @@ -488,6 +507,12 @@ "traits": { "smithy.api#documentation": "

Specifies whether users can cache their credentials on the Amazon WorkSpaces client.\n When enabled, users can choose to reconnect to their WorkSpaces without re-entering their\n credentials.

" } + }, + "LogUploadEnabled": { + "target": "com.amazonaws.workspaces#LogUploadEnum", + "traits": { + "smithy.api#documentation": "

Specifies whether users can upload diagnostic log files of Amazon WorkSpaces client directly to \n WorkSpaces to troubleshoot issues when using the WorkSpaces client. \n When enabled, the log files will be sent to WorkSpaces automatically and will be applied to all \n users in the specified directory.

" + } } }, "traits": { @@ -531,46 +556,62 @@ } }, "com.amazonaws.workspaces#Compute": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "VALUE", - "name": "VALUE" - }, - { - "value": "STANDARD", - "name": "STANDARD" - }, - { - "value": "PERFORMANCE", - "name": "PERFORMANCE" - }, - { - "value": "POWER", - "name": "POWER" - }, - { - "value": "GRAPHICS", - "name": "GRAPHICS" - }, - { - "value": "POWERPRO", - "name": "POWERPRO" - }, - { - "value": "GRAPHICSPRO", - "name": "GRAPHICSPRO" - }, - { - "value": "GRAPHICS_G4DN", - "name": "GRAPHICS_G4DN" - }, - { - "value": "GRAPHICSPRO_G4DN", - "name": "GRAPHICSPRO_G4DN" - } - ] + "type": "enum", + "members": { + "VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VALUE" + } + }, + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" + } + }, + "PERFORMANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERFORMANCE" + } + }, + "POWER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POWER" + } + }, + "GRAPHICS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GRAPHICS" + } + }, + "POWERPRO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POWERPRO" + } + }, + "GRAPHICSPRO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GRAPHICSPRO" + } + }, + "GRAPHICS_G4DN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GRAPHICS_G4DN" + } + }, + "GRAPHICSPRO_G4DN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GRAPHICSPRO_G4DN" + } + } } }, "com.amazonaws.workspaces#ComputeType": { @@ -779,22 +820,26 @@ } }, "com.amazonaws.workspaces#ConnectionAliasState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "CREATED", - "name": "CREATED" - }, - { - "value": "DELETING", - "name": "DELETING" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "CREATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATED" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" } - ] + } } }, "com.amazonaws.workspaces#ConnectionIdentifier": { @@ -808,22 +853,26 @@ } }, "com.amazonaws.workspaces#ConnectionState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CONNECTED", - "name": "CONNECTED" - }, - { - "value": "DISCONNECTED", - "name": "DISCONNECTED" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN" + "type": "enum", + "members": { + "CONNECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTED" } - ] + }, + "DISCONNECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISCONNECTED" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + } } }, "com.amazonaws.workspaces#ConnectionString": { @@ -1443,7 +1492,7 @@ "OwnerAccountId": { "target": "com.amazonaws.workspaces#AwsAccount", "traits": { - "smithy.api#documentation": "

The identifier of the AWS account that owns the image.

" + "smithy.api#documentation": "

The identifier of the Amazon Web Services account that owns the image.

" } } } @@ -1510,48 +1559,54 @@ } }, "com.amazonaws.workspaces#DedicatedTenancyModificationStateEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" } - ] + } } }, "com.amazonaws.workspaces#DedicatedTenancySupportEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + } } }, "com.amazonaws.workspaces#DedicatedTenancySupportResultEnum": { - "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.workspaces#DefaultClientBrandingAttributes": { @@ -1693,18 +1748,20 @@ } }, "com.amazonaws.workspaces#DeletableSamlProperty": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SAML_PROPERTIES_USER_ACCESS_URL", - "name": "SAML_PROPERTIES_USER_ACCESS_URL" - }, - { - "value": "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME", - "name": "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME" + "type": "enum", + "members": { + "SAML_PROPERTIES_USER_ACCESS_URL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAML_PROPERTIES_USER_ACCESS_URL" + } + }, + "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME" } - ] + } } }, "com.amazonaws.workspaces#DeleteClientBranding": { @@ -3270,18 +3327,20 @@ } }, "com.amazonaws.workspaces#ImageType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OWNED", - "name": "OWNED" - }, - { - "value": "SHARED", - "name": "SHARED" + "type": "enum", + "members": { + "OWNED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OWNED" } - ] + }, + "SHARED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHARED" + } + } } }, "com.amazonaws.workspaces#ImportClientBranding": { @@ -3703,7 +3762,6 @@ "com.amazonaws.workspaces#Limit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 25 @@ -3771,6 +3829,23 @@ } } }, + "com.amazonaws.workspaces#LogUploadEnum": { + "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.workspaces#LoginMessage": { "type": "map", "key": { @@ -3789,7 +3864,6 @@ "com.amazonaws.workspaces#ManagementCidrRangeMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 @@ -3865,22 +3939,26 @@ } }, "com.amazonaws.workspaces#ModificationResourceEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ROOT_VOLUME", - "name": "ROOT_VOLUME" - }, - { - "value": "USER_VOLUME", - "name": "USER_VOLUME" - }, - { - "value": "COMPUTE_TYPE", - "name": "COMPUTE_TYPE" + "type": "enum", + "members": { + "ROOT_VOLUME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROOT_VOLUME" + } + }, + "USER_VOLUME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER_VOLUME" + } + }, + "COMPUTE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPUTE_TYPE" } - ] + } } }, "com.amazonaws.workspaces#ModificationState": { @@ -3904,18 +3982,20 @@ } }, "com.amazonaws.workspaces#ModificationStateEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UPDATE_INITIATED", - "name": "UPDATE_INITIATED" - }, - { - "value": "UPDATE_IN_PROGRESS", - "name": "UPDATE_IN_PROGRESS" + "type": "enum", + "members": { + "UPDATE_INITIATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_INITIATED" + } + }, + "UPDATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_IN_PROGRESS" } - ] + } } }, "com.amazonaws.workspaces#ModificationStateList": { @@ -4339,18 +4419,20 @@ } }, "com.amazonaws.workspaces#OperatingSystemType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "WINDOWS", - "name": "WINDOWS" - }, - { - "value": "LINUX", - "name": "LINUX" + "type": "enum", + "members": { + "WINDOWS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WINDOWS" + } + }, + "LINUX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LINUX" } - ] + } } }, "com.amazonaws.workspaces#OperationInProgressException": { @@ -4520,18 +4602,20 @@ } }, "com.amazonaws.workspaces#ReconnectEnum": { - "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.workspaces#Region": { @@ -4846,31 +4930,27 @@ } }, "com.amazonaws.workspaces#RootVolumeSizeGib": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.workspaces#RunningMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AUTO_STOP", - "name": "AUTO_STOP" - }, - { - "value": "ALWAYS_ON", - "name": "ALWAYS_ON" + "type": "enum", + "members": { + "AUTO_STOP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_STOP" } - ] + }, + "ALWAYS_ON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALWAYS_ON" + } + } } }, "com.amazonaws.workspaces#RunningModeAutoStopTimeoutInMinutes": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.workspaces#SamlProperties": { "type": "structure", @@ -4899,22 +4979,26 @@ } }, "com.amazonaws.workspaces#SamlStatusEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK", - "name": "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK" + "type": "enum", + "members": { + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK" } - ] + } } }, "com.amazonaws.workspaces#SamlUserAccessUrl": { @@ -5191,33 +5275,37 @@ } }, "com.amazonaws.workspaces#TargetWorkspaceState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AVAILABLE", - "name": "AVAILABLE" - }, - { - "value": "ADMIN_MAINTENANCE", - "name": "ADMIN_MAINTENANCE" + "type": "enum", + "members": { + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" } - ] + }, + "ADMIN_MAINTENANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ADMIN_MAINTENANCE" + } + } } }, "com.amazonaws.workspaces#Tenancy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEDICATED", - "name": "DEDICATED" - }, - { - "value": "SHARED", - "name": "SHARED" + "type": "enum", + "members": { + "DEDICATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEDICATED" } - ] + }, + "SHARED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHARED" + } + } } }, "com.amazonaws.workspaces#TerminateRequest": { @@ -5637,10 +5725,7 @@ } }, "com.amazonaws.workspaces#UserVolumeSizeGib": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.workspaces#VolumeEncryptionKey": { "type": "string" @@ -6080,45 +6165,55 @@ } }, "com.amazonaws.workspaces#WorkspaceDirectoryState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "REGISTERING", - "name": "REGISTERING" - }, - { - "value": "REGISTERED", - "name": "REGISTERED" - }, - { - "value": "DEREGISTERING", - "name": "DEREGISTERING" - }, - { - "value": "DEREGISTERED", - "name": "DEREGISTERED" - }, - { - "value": "ERROR", - "name": "ERROR" - } - ] + "type": "enum", + "members": { + "REGISTERING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REGISTERING" + } + }, + "REGISTERED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REGISTERED" + } + }, + "DEREGISTERING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEREGISTERING" + } + }, + "DEREGISTERED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEREGISTERED" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + } } }, "com.amazonaws.workspaces#WorkspaceDirectoryType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SIMPLE_AD", - "name": "SIMPLE_AD" - }, - { - "value": "AD_CONNECTOR", - "name": "AD_CONNECTOR" + "type": "enum", + "members": { + "SIMPLE_AD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SIMPLE_AD" + } + }, + "AD_CONNECTOR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AD_CONNECTOR" } - ] + } } }, "com.amazonaws.workspaces#WorkspaceErrorCode": { @@ -6248,30 +6343,38 @@ } }, "com.amazonaws.workspaces#WorkspaceImageIngestionProcess": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BYOL_REGULAR", - "name": "BYOL_REGULAR" - }, - { - "value": "BYOL_GRAPHICS", - "name": "BYOL_GRAPHICS" - }, - { - "value": "BYOL_GRAPHICSPRO", - "name": "BYOL_GRAPHICSPRO" - }, - { - "value": "BYOL_GRAPHICS_G4DN", - "name": "BYOL_GRAPHICS_G4DN" - }, - { - "value": "BYOL_REGULAR_WSP", - "name": "BYOL_REGULAR_WSP" - } - ] + "type": "enum", + "members": { + "BYOL_REGULAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BYOL_REGULAR" + } + }, + "BYOL_GRAPHICS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BYOL_GRAPHICS" + } + }, + "BYOL_GRAPHICSPRO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BYOL_GRAPHICSPRO" + } + }, + "BYOL_GRAPHICS_G4DN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BYOL_GRAPHICS_G4DN" + } + }, + "BYOL_REGULAR_WSP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BYOL_REGULAR_WSP" + } + } } }, "com.amazonaws.workspaces#WorkspaceImageList": { @@ -6291,37 +6394,43 @@ } }, "com.amazonaws.workspaces#WorkspaceImageRequiredTenancy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEFAULT", - "name": "DEFAULT" - }, - { - "value": "DEDICATED", - "name": "DEDICATED" + "type": "enum", + "members": { + "DEFAULT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT" + } + }, + "DEDICATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEDICATED" } - ] + } } }, "com.amazonaws.workspaces#WorkspaceImageState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AVAILABLE", - "name": "AVAILABLE" - }, - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "ERROR", - "name": "ERROR" + "type": "enum", + "members": { + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" } - ] + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + } } }, "com.amazonaws.workspaces#WorkspaceList": { @@ -6440,78 +6549,110 @@ } }, "com.amazonaws.workspaces#WorkspaceState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "AVAILABLE", - "name": "AVAILABLE" - }, - { - "value": "IMPAIRED", - "name": "IMPAIRED" - }, - { - "value": "UNHEALTHY", - "name": "UNHEALTHY" - }, - { - "value": "REBOOTING", - "name": "REBOOTING" - }, - { - "value": "STARTING", - "name": "STARTING" - }, - { - "value": "REBUILDING", - "name": "REBUILDING" - }, - { - "value": "RESTORING", - "name": "RESTORING" - }, - { - "value": "MAINTENANCE", - "name": "MAINTENANCE" - }, - { - "value": "ADMIN_MAINTENANCE", - "name": "ADMIN_MAINTENANCE" - }, - { - "value": "TERMINATING", - "name": "TERMINATING" - }, - { - "value": "TERMINATED", - "name": "TERMINATED" - }, - { - "value": "SUSPENDED", - "name": "SUSPENDED" - }, - { - "value": "UPDATING", - "name": "UPDATING" - }, - { - "value": "STOPPING", - "name": "STOPPING" - }, - { - "value": "STOPPED", - "name": "STOPPED" - }, - { - "value": "ERROR", - "name": "ERROR" - } - ] + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + }, + "IMPAIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPAIRED" + } + }, + "UNHEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNHEALTHY" + } + }, + "REBOOTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REBOOTING" + } + }, + "STARTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTING" + } + }, + "REBUILDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REBUILDING" + } + }, + "RESTORING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESTORING" + } + }, + "MAINTENANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAINTENANCE" + } + }, + "ADMIN_MAINTENANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ADMIN_MAINTENANCE" + } + }, + "TERMINATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERMINATING" + } + }, + "TERMINATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERMINATED" + } + }, + "SUSPENDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUSPENDED" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "STOPPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPING" + } + }, + "STOPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPED" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + } } }, "com.amazonaws.workspaces#WorkspacesDefaultRoleNotFoundException": { @@ -6566,24 +6707,6 @@ }, "com.amazonaws.workspaces#WorkspacesService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "WorkSpaces", - "arnNamespace": "workspaces", - "cloudFormationName": "WorkSpaces", - "cloudTrailEventSource": "workspaces.amazonaws.com", - "endpointPrefix": "workspaces" - }, - "aws.auth#sigv4": { - "name": "workspaces" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon WorkSpaces Service\n

Amazon WorkSpaces enables you to provision virtual, cloud-based Microsoft Windows\n or Amazon Linux desktops for your users, known as WorkSpaces.\n WorkSpaces eliminates the need to procure and deploy hardware or install complex\n software. You can quickly add or remove users as your needs change. Users can access their\n virtual desktops from multiple devices or web browsers.

\n

This API Reference provides detailed information about the actions, data types,\n parameters, and errors of the WorkSpaces service. For more information about the\n supported Amazon Web Services Regions, endpoints, and service quotas of the Amazon WorkSpaces service, see WorkSpaces endpoints and quotas in the Amazon Web Services\n General Reference.

\n

You can also manage your WorkSpaces resources using the WorkSpaces\n console, Command Line Interface (CLI), and SDKs. For more information about\n administering WorkSpaces, see the Amazon WorkSpaces Administration Guide.\n For more information about using the Amazon WorkSpaces client application or web\n browser to access provisioned WorkSpaces, see the Amazon WorkSpaces User Guide. For more\n information about using the CLI to manage your WorkSpaces resources,\n see the WorkSpaces section of the CLI Reference.

", - "smithy.api#title": "Amazon WorkSpaces", - "smithy.api#xmlNamespace": { - "uri": "http://workspaces.amazonaws.com/api/v1" - } - }, "version": "2015-04-08", "operations": [ { @@ -6775,7 +6898,25 @@ { "target": "com.amazonaws.workspaces#UpdateWorkspaceImagePermission" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "WorkSpaces", + "arnNamespace": "workspaces", + "cloudFormationName": "WorkSpaces", + "cloudTrailEventSource": "workspaces.amazonaws.com", + "endpointPrefix": "workspaces" + }, + "aws.auth#sigv4": { + "name": "workspaces" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon WorkSpaces Service\n

Amazon WorkSpaces enables you to provision virtual, cloud-based Microsoft Windows\n or Amazon Linux desktops for your users, known as WorkSpaces.\n WorkSpaces eliminates the need to procure and deploy hardware or install complex\n software. You can quickly add or remove users as your needs change. Users can access their\n virtual desktops from multiple devices or web browsers.

\n

This API Reference provides detailed information about the actions, data types,\n parameters, and errors of the WorkSpaces service. For more information about the\n supported Amazon Web Services Regions, endpoints, and service quotas of the Amazon WorkSpaces service, see WorkSpaces endpoints and quotas in the Amazon Web Services\n General Reference.

\n

You can also manage your WorkSpaces resources using the WorkSpaces\n console, Command Line Interface (CLI), and SDKs. For more information about\n administering WorkSpaces, see the Amazon WorkSpaces Administration Guide.\n For more information about using the Amazon WorkSpaces client application or web\n browser to access provisioned WorkSpaces, see the Amazon WorkSpaces User Guide. For more\n information about using the CLI to manage your WorkSpaces resources,\n see the WorkSpaces section of the CLI Reference.

", + "smithy.api#title": "Amazon WorkSpaces", + "smithy.api#xmlNamespace": { + "uri": "http://workspaces.amazonaws.com/api/v1" + } + } } } }