Skip to content

Commit

Permalink
Updates SDK to v2.1544.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jan 25, 2024
1 parent 131e460 commit cb6f1ba
Show file tree
Hide file tree
Showing 16 changed files with 122 additions and 42 deletions.
12 changes: 12 additions & 0 deletions .changes/2.1544.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"type": "feature",
"category": "ACMPCA",
"description": "AWS Private CA now supports an option to omit the CDP extension from issued certificates, when CRL revocation is enabled."
},
{
"type": "feature",
"category": "Lightsail",
"description": "This release adds support for IPv6-only instance plans."
}
]
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1543.0-->
<!--LATEST=2.1544.0-->
<!--ENTRYINSERT-->

## 2.1544.0
* feature: ACMPCA: AWS Private CA now supports an option to omit the CDP extension from issued certificates, when CRL revocation is enabled.
* feature: Lightsail: This release adds support for IPv6-only instance plans.

## 2.1543.0
* bugfix: S3: add compatibility fallback S3#ExpiresString when S3#Expires field is not a date-time
* feature: EC2: Introduced a new clientToken request parameter on CreateNetworkAcl and CreateRouteTable APIs. The clientToken parameter allows idempotent operations on the APIs.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,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.1543.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1544.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
41 changes: 26 additions & 15 deletions apis/acm-pca-2017-08-22.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"IdempotencyToken": {},
"KeyStorageSecurityStandard": {},
"Tags": {
"shape": "S15"
"shape": "S16"
},
"UsageMode": {}
}
Expand Down Expand Up @@ -80,7 +80,7 @@
"Principal": {},
"SourceAccount": {},
"Actions": {
"shape": "S1l"
"shape": "S1m"
}
}
}
Expand Down Expand Up @@ -138,7 +138,7 @@
"type": "structure",
"members": {
"CertificateAuthority": {
"shape": "S1t"
"shape": "S1u"
}
}
}
Expand Down Expand Up @@ -357,10 +357,10 @@
"SigningAlgorithm": {},
"TemplateArn": {},
"Validity": {
"shape": "S2x"
"shape": "S2y"
},
"ValidityNotBefore": {
"shape": "S2x"
"shape": "S2y"
},
"IdempotencyToken": {}
}
Expand Down Expand Up @@ -390,7 +390,7 @@
"CertificateAuthorities": {
"type": "list",
"member": {
"shape": "S1t"
"shape": "S1u"
}
},
"NextToken": {}
Expand Down Expand Up @@ -426,7 +426,7 @@
"Principal": {},
"SourceAccount": {},
"Actions": {
"shape": "S1l"
"shape": "S1m"
},
"Policy": {}
}
Expand Down Expand Up @@ -454,7 +454,7 @@
"type": "structure",
"members": {
"Tags": {
"shape": "S15"
"shape": "S16"
},
"NextToken": {}
}
Expand Down Expand Up @@ -509,7 +509,7 @@
"members": {
"CertificateAuthorityArn": {},
"Tags": {
"shape": "S15"
"shape": "S16"
}
}
}
Expand All @@ -524,7 +524,7 @@
"members": {
"CertificateAuthorityArn": {},
"Tags": {
"shape": "S15"
"shape": "S16"
}
}
}
Expand Down Expand Up @@ -707,7 +707,18 @@
},
"CustomCname": {},
"S3BucketName": {},
"S3ObjectAcl": {}
"S3ObjectAcl": {},
"CrlDistributionPointExtensionConfiguration": {
"type": "structure",
"required": [
"OmitExtension"
],
"members": {
"OmitExtension": {
"type": "boolean"
}
}
}
}
},
"OcspConfiguration": {
Expand All @@ -724,7 +735,7 @@
}
}
},
"S15": {
"S16": {
"type": "list",
"member": {
"type": "structure",
Expand All @@ -737,11 +748,11 @@
}
}
},
"S1l": {
"S1m": {
"type": "list",
"member": {}
},
"S1t": {
"S1u": {
"type": "structure",
"members": {
"Arn": {},
Expand Down Expand Up @@ -775,7 +786,7 @@
"UsageMode": {}
}
},
"S2x": {
"S2y": {
"type": "structure",
"required": [
"Value",
Expand Down
32 changes: 25 additions & 7 deletions apis/acm-pca-2017-08-22.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@
"type": "string",
"max": 200,
"min": 5,
"pattern": "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*"
"pattern": "arn:[\\w+=/,.@-]+:acm-pca:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*"
},
"AuditReportId": {
"type": "string",
Expand Down Expand Up @@ -1174,9 +1174,27 @@
"S3ObjectAcl": {
"shape": "S3ObjectAcl",
"documentation": "<p>Determines whether the CRL will be publicly readable or privately held in the CRL Amazon S3 bucket. If you choose PUBLIC_READ, the CRL will be accessible over the public internet. If you choose BUCKET_OWNER_FULL_CONTROL, only the owner of the CRL S3 bucket can access the CRL, and your PKI clients may need an alternative method of access. </p> <p>If no value is specified, the default is <code>PUBLIC_READ</code>.</p> <p> <i>Note:</i> This default can cause CA creation to fail in some circumstances. If you have have enabled the Block Public Access (BPA) feature in your S3 account, then you must specify the value of this parameter as <code>BUCKET_OWNER_FULL_CONTROL</code>, and not doing so results in an error. If you have disabled BPA in S3, then you can specify either <code>BUCKET_OWNER_FULL_CONTROL</code> or <code>PUBLIC_READ</code> as the value.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#s3-bpa\">Blocking public access to the S3 bucket</a>.</p>"
},
"CrlDistributionPointExtensionConfiguration": {
"shape": "CrlDistributionPointExtensionConfiguration",
"documentation": "<p>Configures the behavior of the CRL Distribution Point extension for certificates issued by your certificate authority. If this field is not provided, then the CRl Distribution Point Extension will be present and contain the default CRL URL.</p>"
}
},
"documentation": "<p>Contains configuration information for a certificate revocation list (CRL). Your private certificate authority (CA) creates base CRLs. Delta CRLs are not supported. You can enable CRLs for your new or an existing private CA by setting the <b>Enabled</b> parameter to <code>true</code>. Your private CA writes CRLs to an S3 bucket that you specify in the <b>S3BucketName</b> parameter. You can hide the name of your bucket by specifying a value for the <b>CustomCname</b> parameter. Your private CA copies the CNAME or the S3 bucket name to the <b>CRL Distribution Points</b> extension of each certificate it issues. Your S3 bucket policy must give write permission to Amazon Web Services Private CA. </p> <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#crl-encryption\">Encrypting Your CRLs</a>.</p> <p>Your private CA uses the value in the <b>ExpirationInDays</b> parameter to calculate the <b>nextUpdate</b> field in the CRL. The CRL is refreshed prior to a certificate's expiration date or when a certificate is revoked. When a certificate is revoked, it appears in the CRL until the certificate expires, and then in one additional CRL after expiration, and it always appears in the audit report.</p> <p>A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason a CRL update fails, Amazon Web Services Private CA makes further attempts every 15 minutes.</p> <p>CRLs contain the following fields:</p> <ul> <li> <p> <b>Version</b>: The current version number defined in RFC 5280 is V2. The integer value is 0x1. </p> </li> <li> <p> <b>Signature Algorithm</b>: The name of the algorithm used to sign the CRL.</p> </li> <li> <p> <b>Issuer</b>: The X.500 distinguished name of your private CA that issued the CRL.</p> </li> <li> <p> <b>Last Update</b>: The issue date and time of this CRL.</p> </li> <li> <p> <b>Next Update</b>: The day and time by which the next CRL will be issued.</p> </li> <li> <p> <b>Revoked Certificates</b>: List of revoked certificates. Each list item contains the following information.</p> <ul> <li> <p> <b>Serial Number</b>: The serial number, in hexadecimal format, of the revoked certificate.</p> </li> <li> <p> <b>Revocation Date</b>: Date and time the certificate was revoked.</p> </li> <li> <p> <b>CRL Entry Extensions</b>: Optional extensions for the CRL entry.</p> <ul> <li> <p> <b>X509v3 CRL Reason Code</b>: Reason the certificate was revoked.</p> </li> </ul> </li> </ul> </li> <li> <p> <b>CRL Extensions</b>: Optional extensions for the CRL.</p> <ul> <li> <p> <b>X509v3 Authority Key Identifier</b>: Identifies the public key associated with the private key used to sign the certificate.</p> </li> <li> <p> <b>X509v3 CRL Number:</b>: Decimal sequence number for the CRL.</p> </li> </ul> </li> <li> <p> <b>Signature Algorithm</b>: Algorithm used by your private CA to sign the CRL.</p> </li> <li> <p> <b>Signature Value</b>: Signature computed over the CRL.</p> </li> </ul> <p>Certificate revocation lists created by Amazon Web Services Private CA are DER-encoded. You can use the following OpenSSL command to list a CRL.</p> <p> <code>openssl crl -inform DER -text -in <i>crl_path</i> -noout</code> </p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html\">Planning a certificate revocation list (CRL)</a> in the <i>Amazon Web Services Private Certificate Authority User Guide</i> </p>"
"documentation": "<p>Contains configuration information for a certificate revocation list (CRL). Your private certificate authority (CA) creates base CRLs. Delta CRLs are not supported. You can enable CRLs for your new or an existing private CA by setting the <b>Enabled</b> parameter to <code>true</code>. Your private CA writes CRLs to an S3 bucket that you specify in the <b>S3BucketName</b> parameter. You can hide the name of your bucket by specifying a value for the <b>CustomCname</b> parameter. Your private CA by default copies the CNAME or the S3 bucket name to the <b>CRL Distribution Points</b> extension of each certificate it issues. If you want to configure this default behavior to be something different, you can set the <b>CrlDistributionPointExtensionConfiguration</b> parameter. Your S3 bucket policy must give write permission to Amazon Web Services Private CA. </p> <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#crl-encryption\">Encrypting Your CRLs</a>.</p> <p>Your private CA uses the value in the <b>ExpirationInDays</b> parameter to calculate the <b>nextUpdate</b> field in the CRL. The CRL is refreshed prior to a certificate's expiration date or when a certificate is revoked. When a certificate is revoked, it appears in the CRL until the certificate expires, and then in one additional CRL after expiration, and it always appears in the audit report.</p> <p>A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason a CRL update fails, Amazon Web Services Private CA makes further attempts every 15 minutes.</p> <p>CRLs contain the following fields:</p> <ul> <li> <p> <b>Version</b>: The current version number defined in RFC 5280 is V2. The integer value is 0x1. </p> </li> <li> <p> <b>Signature Algorithm</b>: The name of the algorithm used to sign the CRL.</p> </li> <li> <p> <b>Issuer</b>: The X.500 distinguished name of your private CA that issued the CRL.</p> </li> <li> <p> <b>Last Update</b>: The issue date and time of this CRL.</p> </li> <li> <p> <b>Next Update</b>: The day and time by which the next CRL will be issued.</p> </li> <li> <p> <b>Revoked Certificates</b>: List of revoked certificates. Each list item contains the following information.</p> <ul> <li> <p> <b>Serial Number</b>: The serial number, in hexadecimal format, of the revoked certificate.</p> </li> <li> <p> <b>Revocation Date</b>: Date and time the certificate was revoked.</p> </li> <li> <p> <b>CRL Entry Extensions</b>: Optional extensions for the CRL entry.</p> <ul> <li> <p> <b>X509v3 CRL Reason Code</b>: Reason the certificate was revoked.</p> </li> </ul> </li> </ul> </li> <li> <p> <b>CRL Extensions</b>: Optional extensions for the CRL.</p> <ul> <li> <p> <b>X509v3 Authority Key Identifier</b>: Identifies the public key associated with the private key used to sign the certificate.</p> </li> <li> <p> <b>X509v3 CRL Number:</b>: Decimal sequence number for the CRL.</p> </li> </ul> </li> <li> <p> <b>Signature Algorithm</b>: Algorithm used by your private CA to sign the CRL.</p> </li> <li> <p> <b>Signature Value</b>: Signature computed over the CRL.</p> </li> </ul> <p>Certificate revocation lists created by Amazon Web Services Private CA are DER-encoded. You can use the following OpenSSL command to list a CRL.</p> <p> <code>openssl crl -inform DER -text -in <i>crl_path</i> -noout</code> </p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html\">Planning a certificate revocation list (CRL)</a> in the <i>Amazon Web Services Private Certificate Authority User Guide</i> </p>"
},
"CrlDistributionPointExtensionConfiguration": {
"type": "structure",
"required": [
"OmitExtension"
],
"members": {
"OmitExtension": {
"shape": "Boolean",
"documentation": "<p>Configures whether the CRL Distribution Point extension should be populated with the default URL to the CRL. If set to <code>true</code>, then the CDP extension will not be present in any certificates issued by that CA unless otherwise specified through CSR or API passthrough.</p> <note> <p>Only set this if you have another way to distribute the CRL Distribution Points ffor certificates issued by your CA, such as the Matter Distributed Compliance Ledger</p> <p>This configuration cannot be enabled with a custom CNAME set.</p> </note>",
"box": true
}
},
"documentation": "<p>Contains configuration information for the default behavior of the CRL Distribution Point (CDP) extension in certificates issued by your CA. This extension contains a link to download the CRL, so you can check whether a certificate has been revoked. To choose whether you want this extension omitted or not in certificates issued by your CA, you can set the <b>OmitExtension</b> parameter.</p>"
},
"CsrBlob": {
"type": "blob",
Expand Down Expand Up @@ -1223,7 +1241,7 @@
"member": {
"shape": "CustomAttribute"
},
"max": 30,
"max": 150,
"min": 1
},
"CustomExtension": {
Expand Down Expand Up @@ -1254,7 +1272,7 @@
"member": {
"shape": "CustomExtension"
},
"max": 20,
"max": 150,
"min": 1
},
"CustomObjectIdentifier": {
Expand Down Expand Up @@ -1499,7 +1517,7 @@
"member": {
"shape": "GeneralName"
},
"max": 20,
"max": 150,
"min": 1
},
"GetCertificateAuthorityCertificateRequest": {
Expand Down Expand Up @@ -1750,7 +1768,7 @@
},
"MaxResults": {
"shape": "MaxResults",
"documentation": "<p>Use this parameter when paginating results to specify the maximum number of items to return in the response on each page. If additional items exist beyond the number you specify, the <code>NextToken</code> element is sent in the response. Use this <code>NextToken</code> value in a subsequent request to retrieve additional items.</p>"
"documentation": "<p>Use this parameter when paginating results to specify the maximum number of items to return in the response on each page. If additional items exist beyond the number you specify, the <code>NextToken</code> element is sent in the response. Use this <code>NextToken</code> value in a subsequent request to retrieve additional items.</p> <p>Although the maximum value is 1000, the action only returns a maximum of 100 items.</p>"
},
"ResourceOwner": {
"shape": "ResourceOwner",
Expand Down Expand Up @@ -1844,7 +1862,7 @@
},
"NextToken": {
"type": "string",
"max": 500,
"max": 43739,
"min": 1
},
"OcspConfiguration": {
Expand Down
2 changes: 1 addition & 1 deletion apis/acm-pca-2017-08-22.waiters2.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"CertificateIssued": {
"description": "Wait until a certificate is issued",
"operation": "GetCertificate",
"delay": 3,
"delay": 1,
"maxAttempts": 60,
"acceptors": [
{
Expand Down
13 changes: 11 additions & 2 deletions apis/lightsail-2016-11-28.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -1881,6 +1881,9 @@
"supportedAppCategories": {
"type": "list",
"member": {}
},
"publicIpv4AddressCount": {
"type": "integer"
}
}
}
Expand Down Expand Up @@ -2609,6 +2612,9 @@
"type": "timestamp"
},
"ipAddress": {},
"ipv6Addresses": {
"shape": "Sbo"
},
"password": {},
"passwordData": {
"type": "structure",
Expand Down Expand Up @@ -5269,8 +5275,7 @@
"privateIpAddress": {},
"publicIpAddress": {},
"ipv6Addresses": {
"type": "list",
"member": {}
"shape": "Sbo"
},
"ipAddressType": {},
"hardware": {
Expand Down Expand Up @@ -5347,6 +5352,10 @@
}
}
},
"Sbo": {
"type": "list",
"member": {}
},
"Sbx": {
"type": "structure",
"members": {
Expand Down
8 changes: 8 additions & 0 deletions apis/lightsail-2016-11-28.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -6552,6 +6552,10 @@
"supportedAppCategories": {
"shape": "AppCategoryList",
"documentation": "<p>Virtual computer blueprints that are supported by a Lightsail for Research bundle.</p> <important> <p>This parameter only applies to Lightsail for Research resources.</p> </important>"
},
"publicIpv4AddressCount": {
"shape": "integer",
"documentation": "<p>An integer that indicates the public ipv4 address count included in the bundle, the value is either 0 or 1.</p>"
}
},
"documentation": "<p>Describes a bundle, which is a set of specs describing your virtual private server (or <i>instance</i>).</p>"
Expand Down Expand Up @@ -11768,6 +11772,10 @@
"shape": "IpAddress",
"documentation": "<p>The public IP address of the Amazon Lightsail instance.</p>"
},
"ipv6Addresses": {
"shape": "Ipv6AddressList",
"documentation": "<p>The IPv6 address of the Amazon Lightsail instance.</p>"
},
"password": {
"shape": "string",
"documentation": "<p>For RDP access, the password for your Amazon Lightsail instance. Password will be an empty string if the password for your new instance is not ready yet. When you create an instance, it can take up to 15 minutes for the instance to be ready.</p> <note> <p>If you create an instance using any key pair other than the default (<code>LightsailDefaultKeyPair</code>), <code>password</code> will always be an empty string.</p> <p>If you change the Administrator password on the instance, Lightsail will continue to return the original password value. When accessing the instance using RDP, you need to manually enter the Administrator password after changing it from the default.</p> </note>"
Expand Down
Loading

0 comments on commit cb6f1ba

Please sign in to comment.