Skip to content

Commit

Permalink
Updates SDK to v2.1655.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jul 5, 2024
1 parent 487d80d commit ddd3a96
Show file tree
Hide file tree
Showing 20 changed files with 715 additions and 435 deletions.
17 changes: 17 additions & 0 deletions .changes/2.1655.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"type": "feature",
"category": "ECR",
"description": "This release for Amazon ECR makes change to bring the SDK into sync with the API."
},
{
"type": "feature",
"category": "PaymentCryptographyData",
"description": "Added further restrictions on logging of potentially sensitive inputs and outputs."
},
{
"type": "feature",
"category": "QBusiness",
"description": "Updates API to latest version."
}
]
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1654.0-->
<!--LATEST=2.1655.0-->
<!--ENTRYINSERT-->

## 2.1655.0
* feature: ECR: This release for Amazon ECR makes change to bring the SDK into sync with the API.
* feature: PaymentCryptographyData: Added further restrictions on logging of potentially sensitive inputs and outputs.
* feature: QBusiness: Updates API to latest version.

## 2.1654.0
* feature: Organizations: Added a new reason under ConstraintViolationException in RegisterDelegatedAdministrator API to prevent registering suspended accounts as delegated administrator of a service.
* feature: Rekognition: This release adds support for tagging projects and datasets with the CreateProject and CreateDataset APIs.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1654.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1655.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
5 changes: 4 additions & 1 deletion apis/acm-2015-12-08.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"serviceId": "ACM",
"signatureVersion": "v4",
"targetPrefix": "CertificateManager",
"uid": "acm-2015-12-08"
"uid": "acm-2015-12-08",
"auth": [
"aws.auth#sigv4"
]
},
"operations": {
"AddTagsToCertificate": {
Expand Down
19 changes: 11 additions & 8 deletions apis/acm-2015-12-08.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"serviceId": "ACM",
"signatureVersion": "v4",
"targetPrefix": "CertificateManager",
"uid": "acm-2015-12-08"
"uid": "acm-2015-12-08",
"auth": [
"aws.auth#sigv4"
]
},
"operations": {
"AddTagsToCertificate": {
Expand Down Expand Up @@ -170,7 +173,7 @@
"shape": "InvalidArnException"
}
],
"documentation": "<p>Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use <a href=\"https://wiki.openssl.org/index.php/Command_Line_Utilities\">OpenSSL</a> to decode the certificates and inspect individual fields.</p>"
"documentation": "<p>Retrieves a certificate and its certificate chain. The certificate may be either a public or private certificate issued using the ACM <code>RequestCertificate</code> action, or a certificate imported into ACM using the <code>ImportCertificate</code> action. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use <a href=\"https://wiki.openssl.org/index.php/Command_Line_Utilities\">OpenSSL</a> to decode the certificates and inspect individual fields.</p>"
},
"ImportCertificate": {
"name": "ImportCertificate",
Expand Down Expand Up @@ -207,7 +210,7 @@
"shape": "InvalidArnException"
}
],
"documentation": "<p>Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with ACM. Note that <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html\">integrated services</a> allow only certificate types and keys they support to be associated with their resources. Further, their support differs depending on whether the certificate is imported into IAM or into ACM. For more information, see the documentation for each service. For more information about importing certificates into ACM, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html\">Importing Certificates</a> in the <i>Certificate Manager User Guide</i>. </p> <note> <p>ACM does not provide <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html\">managed renewal</a> for certificates that you import.</p> </note> <p>Note the following guidelines when importing third party certificates:</p> <ul> <li> <p>You must enter the private key that matches the certificate you are importing.</p> </li> <li> <p>The private key must be unencrypted. You cannot import a private key that is protected by a password or a passphrase.</p> </li> <li> <p>The private key must be no larger than 5 KB (5,120 bytes).</p> </li> <li> <p>If the certificate you are importing is not self-signed, you must enter its certificate chain.</p> </li> <li> <p>If a certificate chain is included, the issuer must be the subject of one of the certificates in the chain.</p> </li> <li> <p>The certificate, private key, and certificate chain must be PEM-encoded.</p> </li> <li> <p>The current time must be between the <code>Not Before</code> and <code>Not After</code> certificate fields.</p> </li> <li> <p>The <code>Issuer</code> field must not be empty.</p> </li> <li> <p>The OCSP authority URL, if present, must not exceed 1000 characters.</p> </li> <li> <p>To import a new certificate, omit the <code>CertificateArn</code> argument. Include this argument only when you want to replace a previously imported certificate.</p> </li> <li> <p>When you import a certificate by using the CLI, you must specify the certificate, the certificate chain, and the private key by their file names preceded by <code>fileb://</code>. For example, you can specify a certificate saved in the <code>C:\\temp</code> folder as <code>fileb://C:\\temp\\certificate_to_import.pem</code>. If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs. </p> </li> <li> <p>When you import a certificate by using an SDK, you must specify the certificate, the certificate chain, and the private key files in the manner required by the programming language you're using. </p> </li> <li> <p>The cryptographic algorithm of an imported certificate must match the algorithm of the signing CA. For example, if the signing CA key type is RSA, then the certificate key type must also be RSA.</p> </li> </ul> <p>This operation returns the <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Name (ARN)</a> of the imported certificate.</p>"
"documentation": "<p>Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with ACM. Note that <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html\">integrated services</a> allow only certificate types and keys they support to be associated with their resources. Further, their support differs depending on whether the certificate is imported into IAM or into ACM. For more information, see the documentation for each service. For more information about importing certificates into ACM, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html\">Importing Certificates</a> in the <i>Certificate Manager User Guide</i>. </p> <note> <p>ACM does not provide <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html\">managed renewal</a> for certificates that you import.</p> </note> <p>Note the following guidelines when importing third party certificates:</p> <ul> <li> <p>You must enter the private key that matches the certificate you are importing.</p> </li> <li> <p>The private key must be unencrypted. You cannot import a private key that is protected by a password or a passphrase.</p> </li> <li> <p>The private key must be no larger than 5 KB (5,120 bytes).</p> </li> <li> <p>The certificate, private key, and certificate chain must be PEM-encoded.</p> </li> <li> <p>The current time must be between the <code>Not Before</code> and <code>Not After</code> certificate fields.</p> </li> <li> <p>The <code>Issuer</code> field must not be empty.</p> </li> <li> <p>The OCSP authority URL, if present, must not exceed 1000 characters.</p> </li> <li> <p>To import a new certificate, omit the <code>CertificateArn</code> argument. Include this argument only when you want to replace a previously imported certificate.</p> </li> <li> <p>When you import a certificate by using the CLI, you must specify the certificate, the certificate chain, and the private key by their file names preceded by <code>fileb://</code>. For example, you can specify a certificate saved in the <code>C:\\temp</code> folder as <code>fileb://C:\\temp\\certificate_to_import.pem</code>. If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs. </p> </li> <li> <p>When you import a certificate by using an SDK, you must specify the certificate, the certificate chain, and the private key files in the manner required by the programming language you're using. </p> </li> <li> <p>The cryptographic algorithm of an imported certificate must match the algorithm of the signing CA. For example, if the signing CA key type is RSA, then the certificate key type must also be RSA.</p> </li> </ul> <p>This operation returns the <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Name (ARN)</a> of the imported certificate.</p>"
},
"ListCertificates": {
"name": "ListCertificates",
Expand All @@ -229,7 +232,7 @@
"shape": "ValidationException"
}
],
"documentation": "<p>Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate. Default filtering returns only <code>RSA_2048</code> certificates. For more information, see <a>Filters</a>.</p>"
"documentation": "<p>Retrieves a list of certificate ARNs and domain names. By default, the API returns RSA_2048 certificates. To return all certificates in the account, include the <code>keyType</code> filter with the values <code>[RSA_1024, RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1]</code>.</p> <p>In addition to <code>keyType</code>, you can also filter by the <code>CertificateStatuses</code>, <code>keyUsage</code>, and <code>extendedKeyUsage</code> attributes on the certificate. For more information, see <a>Filters</a>.</p>"
},
"ListTagsForCertificate": {
"name": "ListTagsForCertificate",
Expand Down Expand Up @@ -613,11 +616,11 @@
},
"SubjectAlternativeNameSummaries": {
"shape": "DomainList",
"documentation": "<p>One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website. </p> <p>When called by <a href=\"https://docs.aws.amazon.com/acm/latestAPIReference/API_ListCertificates.html\">ListCertificates</a>, this parameter will only return the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use <a href=\"https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html\">DescribeCertificate</a>.</p>"
"documentation": "<p>One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website. </p> <p>When called by <a>ListCertificates</a>, this parameter will only return the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use <a>DescribeCertificate</a>.</p>"
},
"HasAdditionalSubjectAlternativeNames": {
"shape": "NullableBoolean",
"documentation": "<p>When called by <a href=\"https://docs.aws.amazon.com/acm/latestAPIReference/API_ListCertificates.html\">ListCertificates</a>, indicates whether the full list of subject alternative names has been included in the response. If false, the response includes all of the subject alternative names included in the certificate. If true, the response only includes the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use <a href=\"https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html\">DescribeCertificate</a>.</p>",
"documentation": "<p>When called by <a>ListCertificates</a>, indicates whether the full list of subject alternative names has been included in the response. If false, the response includes all of the subject alternative names included in the certificate. If true, the response only includes the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use <a>DescribeCertificate</a>.</p>",
"box": true
},
"Status": {
Expand Down Expand Up @@ -777,7 +780,7 @@
},
"ValidationStatus": {
"shape": "DomainStatus",
"documentation": "<p>The validation status of the domain name. This can be one of the following values:</p> <ul> <li> <p> <code>PENDING_VALIDATION</code> </p> </li> <li> <p> <code/>SUCCESS</p> </li> <li> <p> <code/>FAILED</p> </li> </ul>"
"documentation": "<p>The validation status of the domain name. This can be one of the following values:</p> <ul> <li> <p> <code>PENDING_VALIDATION</code> </p> </li> <li> <p> <code>SUCCESS</code> </p> </li> <li> <p> <code>FAILED</code> </p> </li> </ul>"
},
"ResourceRecord": {
"shape": "ResourceRecord",
Expand Down Expand Up @@ -1343,7 +1346,7 @@
},
"KeyAlgorithm": {
"shape": "KeyAlgorithm",
"documentation": "<p>Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but with greater computing efficiency. However, ECDSA is not supported by all network clients. Some AWS services may require RSA keys, or only support ECDSA keys of a particular size, while others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken. Check the requirements for the AWS service where you plan to deploy your certificate.</p> <p>Default: RSA_2048</p>"
"documentation": "<p>Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but with greater computing efficiency. However, ECDSA is not supported by all network clients. Some Amazon Web Services services may require RSA keys, or only support ECDSA keys of a particular size, while others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken. Check the requirements for the Amazon Web Services service where you plan to deploy your certificate. For more information about selecting an algorithm, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate.html#algorithms\">Key algorithms</a>.</p> <note> <p>Algorithms supported for an ACM certificate request include: </p> <ul> <li> <p> <code>RSA_2048</code> </p> </li> <li> <p> <code>EC_prime256v1</code> </p> </li> <li> <p> <code>EC_secp384r1</code> </p> </li> </ul> <p>Other listed algorithms are for imported certificates only. </p> </note> <note> <p>When you request a private PKI certificate signed by a CA from Amazon Web Services Private CA, the specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.</p> </note> <p>Default: RSA_2048</p>"
}
}
},
Expand Down
5 changes: 4 additions & 1 deletion apis/ecr-2015-09-21.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"signatureVersion": "v4",
"signingName": "ecr",
"targetPrefix": "AmazonEC2ContainerRegistry_V20150921",
"uid": "ecr-2015-09-21"
"uid": "ecr-2015-09-21",
"auth": [
"aws.auth#sigv4"
]
},
"operations": {
"BatchCheckLayerAvailability": {
Expand Down
7 changes: 5 additions & 2 deletions apis/ecr-2015-09-21.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"signatureVersion": "v4",
"signingName": "ecr",
"targetPrefix": "AmazonEC2ContainerRegistry_V20150921",
"uid": "ecr-2015-09-21"
"uid": "ecr-2015-09-21",
"auth": [
"aws.auth#sigv4"
]
},
"operations": {
"BatchCheckLayerAvailability": {
Expand Down Expand Up @@ -3672,7 +3675,7 @@
"member": {
"shape": "ReplicationDestination"
},
"max": 25,
"max": 100,
"min": 0
},
"ReplicationError": {
Expand Down
Loading

0 comments on commit ddd3a96

Please sign in to comment.