Skip to content

Commit

Permalink
Updates SDK to v2.825.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jan 11, 2021
1 parent df2460e commit 220889b
Show file tree
Hide file tree
Showing 15 changed files with 134 additions and 73 deletions.
12 changes: 12 additions & 0 deletions .changes/2.825.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"type": "feature",
"category": "KMS",
"description": "Adds support for filtering grants by grant ID and grantee principal in ListGrants requests to AWS KMS."
},
{
"type": "feature",
"category": "RDS",
"description": "This releases adds support for Major Version Upgrades on Aurora MySQL Global Clusters. Customers will be able to upgrade their whole Aurora MySQL Global Cluster to a new major engine version."
}
]
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.824.0-->
<!--LATEST=2.825.0-->
<!--ENTRYINSERT-->

## 2.825.0
* feature: KMS: Adds support for filtering grants by grant ID and grantee principal in ListGrants requests to AWS KMS.
* feature: RDS: This releases adds support for Major Version Upgrades on Aurora MySQL Global Clusters. Customers will be able to upgrade their whole Aurora MySQL Global Cluster to a new major engine version.

## 2.824.0
* feature: CodePipeline: Adding cancelled status and summary for executions aborted by pipeline updates.
* feature: DevOpsGuru: Add resourceHours field in GetAccountHealth API to show total number of resource hours AWS Dev Ops Guru has done work for in the last hour.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ version.
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.824.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.825.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
4 changes: 3 additions & 1 deletion apis/kms-2014-11-01.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,9 @@
"type": "integer"
},
"Marker": {},
"KeyId": {}
"KeyId": {},
"GrantId": {},
"GranteePrincipal": {}
}
},
"output": {
Expand Down
25 changes: 17 additions & 8 deletions apis/kms-2014-11-01.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,9 @@
{
"shape": "InvalidMarkerException"
},
{
"shape": "InvalidGrantIdException"
},
{
"shape": "InvalidArnException"
},
Expand All @@ -1052,7 +1055,7 @@
"shape": "KMSInvalidStateException"
}
],
"documentation": "<p>Gets a list of all grants for the specified customer master key (CMK).</p> <note> <p>The <code>GranteePrincipal</code> field in the <code>ListGrants</code> response usually contains the user or role designated as the grantee principal in the grant. However, when the grantee principal in the grant is an AWS service, the <code>GranteePrincipal</code> field contains the <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#principal-services\">service principal</a>, which might represent several different grantee principals.</p> </note> <p> <b>Cross-account use</b>: Yes. To perform this operation on a CMK in a different AWS account, specify the key ARN in the value of the <code>KeyId</code> parameter.</p> <p> <b>Required permissions</b>: <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html\">kms:ListGrants</a> (key policy)</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>CreateGrant</a> </p> </li> <li> <p> <a>ListRetirableGrants</a> </p> </li> <li> <p> <a>RetireGrant</a> </p> </li> <li> <p> <a>RevokeGrant</a> </p> </li> </ul>"
"documentation": "<p>Gets a list of all grants for the specified customer master key (CMK). </p> <p>You must specify the CMK in all requests. You can filter the grant list by grant ID or grantee principal.</p> <note> <p>The <code>GranteePrincipal</code> field in the <code>ListGrants</code> response usually contains the user or role designated as the grantee principal in the grant. However, when the grantee principal in the grant is an AWS service, the <code>GranteePrincipal</code> field contains the <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#principal-services\">service principal</a>, which might represent several different grantee principals.</p> </note> <p> <b>Cross-account use</b>: Yes. To perform this operation on a CMK in a different AWS account, specify the key ARN in the value of the <code>KeyId</code> parameter.</p> <p> <b>Required permissions</b>: <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html\">kms:ListGrants</a> (key policy)</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>CreateGrant</a> </p> </li> <li> <p> <a>ListRetirableGrants</a> </p> </li> <li> <p> <a>RetireGrant</a> </p> </li> <li> <p> <a>RevokeGrant</a> </p> </li> </ul>"
},
"ListKeyPolicies": {
"name": "ListKeyPolicies",
Expand Down Expand Up @@ -1618,15 +1621,13 @@
},
"TargetKeyId": {
"shape": "KeyIdType",
"documentation": "<p>String that contains the key identifier of the CMK associated with the alias.</p>"
"documentation": "<p>String that contains the key identifier referred to by the alias.</p>"
},
"CreationDate": {
"shape": "DateType",
"documentation": "<p>Date and time that the alias was most recently created in the account and Region. Formatted as Unix time.</p>"
"shape": "DateType"
},
"LastUpdatedDate": {
"shape": "DateType",
"documentation": "<p>Date and time that the alias was most recently associated with a CMK in the account and Region. Formatted as Unix time.</p>"
"shape": "DateType"
}
},
"documentation": "<p>Contains information about an alias.</p>"
Expand Down Expand Up @@ -1816,7 +1817,7 @@
},
"GrantId": {
"shape": "GrantIdType",
"documentation": "<p>The unique identifier for the grant.</p> <p>You can use the <code>GrantId</code> in a subsequent <a>RetireGrant</a> or <a>RevokeGrant</a> operation.</p>"
"documentation": "<p>The unique identifier for the grant.</p> <p>You can use the <code>GrantId</code> in a <a>ListGrants</a>, <a>RetireGrant</a>, or <a>RevokeGrant</a> operation.</p>"
}
}
},
Expand Down Expand Up @@ -2925,7 +2926,15 @@
},
"KeyId": {
"shape": "KeyIdType",
"documentation": "<p>A unique identifier for the customer master key (CMK).</p> <p>Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN.</p> <p>For example:</p> <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> <li> <p>Key ARN: <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> </ul> <p>To get the key ID and key ARN for a CMK, use <a>ListKeys</a> or <a>DescribeKey</a>.</p>"
"documentation": "<p>Returns only grants for the specified customer master key (CMK). This parameter is required.</p> <p>Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN.</p> <p>For example:</p> <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> <li> <p>Key ARN: <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> </ul> <p>To get the key ID and key ARN for a CMK, use <a>ListKeys</a> or <a>DescribeKey</a>.</p>"
},
"GrantId": {
"shape": "GrantIdType",
"documentation": "<p>Returns only the grant with the specified grant ID. The grant ID uniquely identifies the grant. </p>"
},
"GranteePrincipal": {
"shape": "PrincipalIdType",
"documentation": "<p>Returns only grants where the specified principal is the grantee principal for the grant.</p>"
}
}
},
Expand Down
4 changes: 4 additions & 0 deletions apis/rds-2014-10-31.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -3364,6 +3364,10 @@
"NewGlobalClusterIdentifier": {},
"DeletionProtection": {
"type": "boolean"
},
"EngineVersion": {},
"AllowMajorVersionUpgrade": {
"type": "boolean"
}
}
},
Expand Down
Loading

0 comments on commit 220889b

Please sign in to comment.