Skip to content

Commit

Permalink
Updates SDK to v2.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Feb 15, 2017
1 parent e4d72fc commit d911f8d
Show file tree
Hide file tree
Showing 15 changed files with 587 additions and 124 deletions.
7 changes: 7 additions & 0 deletions .changes/2.14.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"type": "feature",
"category": "KMS",
"description": "This release of AWS Key Management Service introduces the ability to tag keys. Tagging keys can help you organize your keys and track your KMS costs in the cost allocation report. This release also increases the maximum length of a key ID to accommodate ARNs that include a long key alias."
}
]
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.13.0-->
<!--LATEST=2.14.0-->
<!--ENTRYINSERT-->

## 2.14.0
* feature: KMS: This release of AWS Key Management Service introduces the ability to tag keys. Tagging keys can help you organize your keys and track your KMS costs in the cost allocation report. This release also increases the maximum length of a key ID to accommodate ARNs that include a long key alias.

## 2.13.0
* feature: Ec2: Adds support for the new Modify Volumes apis.

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 @@ to work with the new major 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.13.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.14.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
49 changes: 48 additions & 1 deletion apis/kms-2014-11-01.examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,19 @@
],
"CreateKey": [
{
"input": {
"Tags": [
{
"TagKey": "CreatedBy",
"TagValue": "ExampleUser"
}
]
},
"output": {
"KeyMetadata": {
"AWSAccountId": "111122223333",
"Arn": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
"CreationDate": "2016-11-01T10:15:42-07:00",
"CreationDate": "2017-01-09T12:00:07-08:00",
"Description": "",
"Enabled": true,
"KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
Expand All @@ -85,6 +93,9 @@
}
},
"comments": {
"input": {
"Tags": "One or more tags. Each tag consists of a tag key and a tag value."
},
"output": {
"KeyMetadata": "An object that contains information about the CMK created by this operation."
}
Expand Down Expand Up @@ -636,6 +647,42 @@
"title": "To list customer master keys (CMKs)"
}
],
"ListResourceTags": [
{
"input": {
"KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
},
"output": {
"Tags": [
{
"TagKey": "CostCenter",
"TagValue": "87654"
},
{
"TagKey": "CreatedBy",
"TagValue": "ExampleUser"
},
{
"TagKey": "Purpose",
"TagValue": "Test"
}
],
"Truncated": false
},
"comments": {
"input": {
"KeyId": "The identifier of the CMK whose tags you are listing. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
},
"output": {
"Tags": "A list of tags.",
"Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not."
}
},
"description": "The following example lists tags for a CMK.",
"id": "to-list-tags-for-a-cmk-1483996855796",
"title": "To list tags for a customer master key (CMK)"
}
],
"ListRetirableGrants": [
{
"input": {
Expand Down
99 changes: 87 additions & 12 deletions apis/kms-2014-11-01.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,17 @@
"Origin": {},
"BypassPolicyLockoutSafetyCheck": {
"type": "boolean"
},
"Tags": {
"shape": "Sp"
}
}
},
"output": {
"type": "structure",
"members": {
"KeyMetadata": {
"shape": "Sq"
"shape": "Su"
}
}
}
Expand Down Expand Up @@ -118,7 +121,7 @@
"members": {
"KeyId": {},
"Plaintext": {
"shape": "Sz"
"shape": "S13"
}
}
}
Expand Down Expand Up @@ -162,7 +165,7 @@
"type": "structure",
"members": {
"KeyMetadata": {
"shape": "Sq"
"shape": "Su"
}
}
}
Expand Down Expand Up @@ -221,7 +224,7 @@
"members": {
"KeyId": {},
"Plaintext": {
"shape": "Sz"
"shape": "S13"
},
"EncryptionContext": {
"shape": "Sb"
Expand Down Expand Up @@ -268,7 +271,7 @@
"type": "blob"
},
"Plaintext": {
"shape": "Sz"
"shape": "S13"
},
"KeyId": {}
}
Expand Down Expand Up @@ -317,7 +320,7 @@
"type": "structure",
"members": {
"Plaintext": {
"shape": "Sz"
"shape": "S13"
}
}
}
Expand Down Expand Up @@ -382,7 +385,7 @@
"type": "blob"
},
"PublicKey": {
"shape": "Sz"
"shape": "S13"
},
"ParametersValidTo": {
"type": "timestamp"
Expand Down Expand Up @@ -463,7 +466,7 @@
}
},
"output": {
"shape": "S20"
"shape": "S24"
}
},
"ListKeyPolicies": {
Expand Down Expand Up @@ -524,6 +527,33 @@
}
}
},
"ListResourceTags": {
"input": {
"type": "structure",
"required": [
"KeyId"
],
"members": {
"KeyId": {},
"Limit": {
"type": "integer"
},
"Marker": {}
}
},
"output": {
"type": "structure",
"members": {
"Tags": {
"shape": "Sp"
},
"NextMarker": {},
"Truncated": {
"type": "boolean"
}
}
}
},
"ListRetirableGrants": {
"input": {
"type": "structure",
Expand All @@ -539,7 +569,7 @@
}
},
"output": {
"shape": "S20"
"shape": "S24"
}
},
"PutKeyPolicy": {
Expand Down Expand Up @@ -640,6 +670,37 @@
}
}
},
"TagResource": {
"input": {
"type": "structure",
"required": [
"KeyId",
"Tags"
],
"members": {
"KeyId": {},
"Tags": {
"shape": "Sp"
}
}
}
},
"UntagResource": {
"input": {
"type": "structure",
"required": [
"KeyId",
"TagKeys"
],
"members": {
"KeyId": {},
"TagKeys": {
"type": "list",
"member": {}
}
}
}
},
"UpdateAlias": {
"input": {
"type": "structure",
Expand Down Expand Up @@ -692,7 +753,21 @@
"type": "list",
"member": {}
},
"Sq": {
"Sp": {
"type": "list",
"member": {
"type": "structure",
"required": [
"TagKey",
"TagValue"
],
"members": {
"TagKey": {},
"TagValue": {}
}
}
},
"Su": {
"type": "structure",
"required": [
"KeyId"
Expand Down Expand Up @@ -720,11 +795,11 @@
"ExpirationModel": {}
}
},
"Sz": {
"S13": {
"type": "blob",
"sensitive": true
},
"S20": {
"S24": {
"type": "structure",
"members": {
"Grants": {
Expand Down
Loading

0 comments on commit d911f8d

Please sign in to comment.