aws-sdk-core 2.0.48 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/apis/autoscaling/2011-01-01/api-2.json +636 -33
  3. data/apis/cloudhsm/2014-05-30/api-2.json +3 -6
  4. data/apis/ec2/2014-10-01/api-2.json +10267 -0
  5. data/apis/ec2/2014-10-01/paginators-1.json +125 -0
  6. data/apis/ec2/2014-10-01/resources-1.json +2289 -0
  7. data/apis/ec2/2014-10-01/waiters-2.json +453 -0
  8. data/apis/ec2/2015-03-01/api-2.json +11245 -0
  9. data/apis/ec2/2015-03-01/paginators-1.json +125 -0
  10. data/apis/ec2/2015-03-01/resources-1.json +2479 -0
  11. data/apis/ec2/2015-03-01/waiters-2.json +458 -0
  12. data/apis/ec2/2015-04-15/api-2.json +182 -2
  13. data/apis/ecs/2014-11-13/api-2.json +316 -7
  14. data/apis/ecs/2014-11-13/paginators-1.json +40 -0
  15. data/apis/ecs/2014-11-13/waiters-2.json +93 -0
  16. data/apis/redshift/2012-12-01/waiters-2.json +19 -0
  17. data/apis/s3/2006-03-01/api-2.json +1 -2
  18. data/apis/sqs/2012-11-05/api-2.json +5 -6
  19. data/ca-bundle.crt +3554 -0
  20. data/lib/aws-sdk-core.rb +127 -44
  21. data/lib/aws-sdk-core/api/builder.rb +95 -0
  22. data/lib/aws-sdk-core/api/customizations.rb +152 -0
  23. data/lib/aws-sdk-core/api/docs/builder.rb +220 -0
  24. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +109 -0
  25. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +66 -0
  26. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +107 -0
  27. data/lib/aws-sdk-core/api/docs/param_formatter.rb +163 -0
  28. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +22 -0
  29. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +91 -0
  30. data/lib/aws-sdk-core/api/docs/utils.rb +133 -0
  31. data/lib/aws-sdk-core/api/shape_map.rb +140 -0
  32. data/lib/aws-sdk-core/assume_role_credentials.rb +9 -6
  33. data/lib/aws-sdk-core/client.rb +9 -6
  34. data/lib/aws-sdk-core/client_stubs.rb +127 -133
  35. data/lib/aws-sdk-core/client_waiters.rb +1 -1
  36. data/lib/aws-sdk-core/credential_provider.rb +44 -0
  37. data/lib/aws-sdk-core/credential_provider_chain.rb +3 -2
  38. data/lib/aws-sdk-core/credentials.rb +5 -0
  39. data/lib/aws-sdk-core/deprecations.rb +69 -0
  40. data/lib/aws-sdk-core/dynamodb.rb +12 -0
  41. data/lib/aws-sdk-core/eager_loader.rb +31 -0
  42. data/lib/aws-sdk-core/ecs.rb +2 -0
  43. data/lib/aws-sdk-core/empty_structure.rb +1 -82
  44. data/lib/aws-sdk-core/endpoint_provider.rb +1 -1
  45. data/lib/aws-sdk-core/instance_profile_credentials.rb +9 -10
  46. data/lib/aws-sdk-core/json.rb +56 -0
  47. data/lib/aws-sdk-core/json/builder.rb +33 -34
  48. data/lib/aws-sdk-core/json/error_handler.rb +2 -2
  49. data/lib/aws-sdk-core/json/handler.rb +67 -0
  50. data/lib/aws-sdk-core/json/json_engine.rb +15 -0
  51. data/lib/aws-sdk-core/json/oj_engine.rb +15 -0
  52. data/lib/aws-sdk-core/json/parser.rb +30 -38
  53. data/lib/aws-sdk-core/pageable_response.rb +9 -12
  54. data/lib/aws-sdk-core/pager.rb +69 -0
  55. data/lib/aws-sdk-core/param_converter.rb +203 -0
  56. data/lib/aws-sdk-core/param_validator.rb +148 -0
  57. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +21 -18
  58. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +9 -1
  59. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +2 -3
  60. data/lib/aws-sdk-core/plugins/param_converter.rb +27 -0
  61. data/lib/aws-sdk-core/plugins/param_validator.rb +28 -0
  62. data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +3 -7
  63. data/lib/aws-sdk-core/plugins/protocols/rest_json.rb +1 -2
  64. data/lib/aws-sdk-core/plugins/protocols/rest_xml.rb +1 -1
  65. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +1 -1
  66. data/lib/aws-sdk-core/plugins/request_signer.rb +5 -5
  67. data/lib/aws-sdk-core/plugins/response_paging.rb +20 -11
  68. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +1 -1
  69. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +1 -2
  70. data/lib/aws-sdk-core/plugins/stub_responses.rb +25 -27
  71. data/lib/aws-sdk-core/query/ec2_param_builder.rb +29 -34
  72. data/lib/aws-sdk-core/query/handler.rb +32 -18
  73. data/lib/aws-sdk-core/query/param_builder.rb +45 -53
  74. data/lib/aws-sdk-core/refreshing_credentials.rb +3 -15
  75. data/lib/aws-sdk-core/rest/handler.rb +22 -0
  76. data/lib/aws-sdk-core/rest/request/body.rb +58 -0
  77. data/lib/aws-sdk-core/rest/request/builder.rb +50 -0
  78. data/lib/aws-sdk-core/rest/request/endpoint.rb +70 -0
  79. data/lib/aws-sdk-core/rest/request/headers.rb +48 -0
  80. data/lib/aws-sdk-core/rest/response/body.rb +43 -0
  81. data/lib/aws-sdk-core/rest/response/headers.rb +60 -0
  82. data/lib/aws-sdk-core/rest/response/parser.rb +47 -0
  83. data/lib/aws-sdk-core/rest/response/status_code.rb +24 -0
  84. data/lib/aws-sdk-core/shared_credentials.rb +11 -6
  85. data/lib/aws-sdk-core/signers/base.rb +1 -1
  86. data/lib/aws-sdk-core/signers/s3.rb +2 -3
  87. data/lib/aws-sdk-core/signers/v2.rb +7 -4
  88. data/lib/aws-sdk-core/signers/v4.rb +11 -22
  89. data/lib/aws-sdk-core/structure.rb +26 -145
  90. data/lib/aws-sdk-core/stubbing/data_applicator.rb +46 -0
  91. data/lib/aws-sdk-core/stubbing/empty_stub.rb +53 -0
  92. data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +49 -0
  93. data/lib/aws-sdk-core/stubbing/protocols/json.rb +40 -0
  94. data/lib/aws-sdk-core/stubbing/protocols/query.rb +40 -0
  95. data/lib/aws-sdk-core/stubbing/protocols/rest.rb +67 -0
  96. data/lib/aws-sdk-core/stubbing/protocols/rest_json.rb +25 -0
  97. data/lib/aws-sdk-core/stubbing/protocols/rest_xml.rb +38 -0
  98. data/lib/aws-sdk-core/stubbing/stub_data.rb +34 -0
  99. data/lib/aws-sdk-core/version.rb +1 -1
  100. data/lib/aws-sdk-core/xml/builder.rb +58 -52
  101. data/lib/aws-sdk-core/xml/default_map.rb +10 -0
  102. data/lib/aws-sdk-core/xml/doc_builder.rb +86 -0
  103. data/lib/aws-sdk-core/xml/error_handler.rb +7 -2
  104. data/lib/aws-sdk-core/xml/parser.rb +4 -4
  105. data/lib/aws-sdk-core/xml/parser/frame.rb +75 -70
  106. data/lib/aws-sdk-core/xml/parser/stack.rb +4 -4
  107. data/lib/seahorse.rb +0 -11
  108. data/lib/seahorse/client/base.rb +3 -12
  109. data/lib/seahorse/client/http/request.rb +9 -5
  110. data/lib/seahorse/client/plugins/endpoint.rb +5 -56
  111. data/lib/seahorse/client/plugins/restful_bindings.rb +38 -31
  112. data/lib/seahorse/client/request_context.rb +2 -2
  113. data/lib/seahorse/client/response.rb +6 -5
  114. data/lib/seahorse/model/api.rb +18 -61
  115. data/lib/seahorse/model/operation.rb +24 -54
  116. data/lib/seahorse/model/shapes.rb +120 -364
  117. data/lib/seahorse/util.rb +2 -6
  118. metadata +56 -109
  119. data/apis/autoscaling/2011-01-01/docs-2.json +0 -1246
  120. data/apis/cloudformation/2010-05-15/docs-2.json +0 -725
  121. data/apis/cloudfront/2014-11-06/docs-2.json +0 -1125
  122. data/apis/cloudhsm/2014-05-30/docs-2.json +0 -472
  123. data/apis/cloudsearch/2013-01-01/docs-2.json +0 -865
  124. data/apis/cloudsearchdomain/2013-01-01/docs-2.json +0 -311
  125. data/apis/cloudtrail/2013-11-01/docs-2.json +0 -328
  126. data/apis/codedeploy/2014-10-06/docs-2.json +0 -1261
  127. data/apis/cognito-identity/2014-06-30/docs-2.json +0 -506
  128. data/apis/cognito-sync/2014-06-30/docs-2.json +0 -582
  129. data/apis/config/2014-10-17/docs-2.json +0 -513
  130. data/apis/config/2014-11-12/docs-2.json +0 -514
  131. data/apis/datapipeline/2012-10-29/docs-2.json +0 -607
  132. data/apis/directconnect/2012-10-25/docs-2.json +0 -494
  133. data/apis/ds/2015-04-16/docs-2.json +0 -753
  134. data/apis/dynamodb/2011-12-05/api-2.json +0 -949
  135. data/apis/dynamodb/2011-12-05/docs-2.json +0 -606
  136. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  137. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  138. data/apis/dynamodb/2012-08-10/docs-2.json +0 -977
  139. data/apis/ec2/2015-04-15/docs-2.json +0 -5368
  140. data/apis/ecs/2014-11-13/docs-2.json +0 -791
  141. data/apis/elasticache/2015-02-02/docs-2.json +0 -1390
  142. data/apis/elasticbeanstalk/2010-12-01/docs-2.json +0 -1114
  143. data/apis/elasticfilesystem/2015-02-01/docs-2.json +0 -414
  144. data/apis/elasticloadbalancing/2012-06-01/docs-2.json +0 -1078
  145. data/apis/elasticmapreduce/2009-03-31/docs-2.json +0 -969
  146. data/apis/elastictranscoder/2012-09-25/docs-2.json +0 -1152
  147. data/apis/email/2010-12-01/docs-2.json +0 -441
  148. data/apis/glacier/2012-06-01/docs-2.json +0 -575
  149. data/apis/iam/2010-05-08/docs-2.json +0 -2138
  150. data/apis/importexport/2010-06-01/docs-2.json +0 -432
  151. data/apis/kinesis/2013-12-02/docs-2.json +0 -424
  152. data/apis/kms/2014-11-01/docs-2.json +0 -628
  153. data/apis/lambda/2014-11-11/docs-2.json +0 -303
  154. data/apis/lambda/2015-03-31/docs-2.json +0 -490
  155. data/apis/logs/2014-03-28/docs-2.json +0 -599
  156. data/apis/machinelearning/2014-12-12/docs-2.json +0 -1034
  157. data/apis/monitoring/2010-08-01/docs-2.json +0 -514
  158. data/apis/opsworks/2013-02-18/docs-2.json +0 -1592
  159. data/apis/rds/2014-10-31/docs-2.json +0 -2074
  160. data/apis/redshift/2012-12-01/docs-2.json +0 -1890
  161. data/apis/route53/2013-04-01/docs-2.json +0 -1159
  162. data/apis/route53domains/2014-05-15/docs-2.json +0 -620
  163. data/apis/s3/2006-03-01/docs-2.json +0 -2213
  164. data/apis/sdb/2009-04-15/docs-2.json +0 -339
  165. data/apis/sns/2010-03-31/docs-2.json +0 -564
  166. data/apis/sqs/2012-11-05/docs-2.json +0 -503
  167. data/apis/ssm/2014-11-06/docs-2.json +0 -440
  168. data/apis/storagegateway/2013-06-30/docs-2.json +0 -1331
  169. data/apis/sts/2011-06-15/docs-2.json +0 -351
  170. data/apis/support/2013-04-15/docs-2.json +0 -680
  171. data/apis/swf/2012-01-25/docs-2.json +0 -1569
  172. data/apis/workspaces/2015-04-08/docs-2.json +0 -457
  173. data/lib/aws-sdk-core/api/customizer.rb +0 -75
  174. data/lib/aws-sdk-core/api/docstrings.rb +0 -38
  175. data/lib/aws-sdk-core/api/documenter.rb +0 -241
  176. data/lib/aws-sdk-core/api/operation_documenter.rb +0 -173
  177. data/lib/aws-sdk-core/api/operation_example.rb +0 -133
  178. data/lib/aws-sdk-core/api/service_customizations.rb +0 -140
  179. data/lib/aws-sdk-core/client_paging.rb +0 -31
  180. data/lib/aws-sdk-core/json/rest_handler.rb +0 -20
  181. data/lib/aws-sdk-core/json/rpc_body_handler.rb +0 -38
  182. data/lib/aws-sdk-core/json/rpc_headers_handler.rb +0 -34
  183. data/lib/aws-sdk-core/json/simple_body_handler.rb +0 -34
  184. data/lib/aws-sdk-core/paging/null_pager.rb +0 -20
  185. data/lib/aws-sdk-core/paging/null_provider.rb +0 -13
  186. data/lib/aws-sdk-core/paging/pager.rb +0 -70
  187. data/lib/aws-sdk-core/paging/provider.rb +0 -22
  188. data/lib/aws-sdk-core/rest_body_handler.rb +0 -111
  189. data/lib/aws-sdk-core/signers/handler.rb +0 -18
  190. data/lib/aws-sdk-core/xml/rest_handler.rb +0 -20
  191. data/lib/seahorse/client/param_converter.rb +0 -207
  192. data/lib/seahorse/client/param_validator.rb +0 -139
  193. data/lib/seahorse/client/plugins/json_simple.rb +0 -33
  194. data/lib/seahorse/client/plugins/param_conversion.rb +0 -29
  195. data/lib/seahorse/client/plugins/param_validation.rb +0 -30
  196. data/lib/seahorse/client/xml/builder.rb +0 -91
  197. data/lib/seahorse/model/shape_map.rb +0 -47
@@ -1,628 +0,0 @@
1
- {
2
- "version": "2.0",
3
- "operations": {
4
- "CreateAlias": "<p> Creates a display name for a customer master key. An alias can be used to identify a key and should be unique. The console enforces a one-to-one mapping between the alias and a key. An alias name can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). An alias must start with the word \"alias\" followed by a forward slash (alias/). An alias that begins with \"aws\" after the forward slash (alias/aws...) is reserved by Amazon Web Services (AWS). </p> <p>To associate an alias with a different key, call <a>UpdateAlias</a>.</p> <p>Note that you cannot create or update an alias that represents a key in another account.</p>",
5
- "CreateGrant": "<p>Adds a grant to a key to specify who can access the key and under what conditions. Grants are alternate permission mechanisms to key policies. For more information about grants, see <a href=\"http://docs.aws.amazon.com/kms/latest/developerguide/grants.html\">Grants</a> in the developer guide. If a grant is absent, access to the key is evaluated based on IAM policies attached to the user. <ol> <li><a>ListGrants</a></li> <li><a>RetireGrant</a></li> <li><a>RevokeGrant</a></li> </ol> </p>",
6
- "CreateKey": "<p>Creates a customer master key. Customer master keys can be used to encrypt small amounts of data (less than 4K) directly, but they are most commonly used to encrypt or envelope data keys that are then used to encrypt customer data. For more information about data keys, see <a>GenerateDataKey</a> and <a>GenerateDataKeyWithoutPlaintext</a>.</p>",
7
- "Decrypt": "<p>Decrypts ciphertext. Ciphertext is plaintext that has been previously encrypted by using any of the following functions: <ul> <li><a>GenerateDataKey</a></li> <li><a>GenerateDataKeyWithoutPlaintext</a></li> <li><a>Encrypt</a></li> </ul> </p> <p>Note that if a caller has been granted access permissions to all keys (through, for example, IAM user policies that grant <code>Decrypt</code> permission on all resources), then ciphertext encrypted by using keys in other accounts where the key grants access to the caller can be decrypted. To remedy this, we recommend that you do not grant <code>Decrypt</code> access in an IAM user policy. Instead grant <code>Decrypt</code> access only in key policies. If you must grant <code>Decrypt</code> access in an IAM user policy, you should scope the resource to specific keys or to specific trusted accounts. </p>",
8
- "DeleteAlias": "<p>Deletes the specified alias. To associate an alias with a different key, call <a>UpdateAlias</a>.</p>",
9
- "DescribeKey": "<p>Provides detailed information about the specified customer master key.</p>",
10
- "DisableKey": "<p>Marks a key as disabled, thereby preventing its use.</p>",
11
- "DisableKeyRotation": "Disables rotation of the specified key.",
12
- "EnableKey": "Marks a key as enabled, thereby permitting its use. You can have up to 25 enabled keys at one time.",
13
- "EnableKeyRotation": "Enables rotation of the specified customer master key.",
14
- "Encrypt": "<p>Encrypts plaintext into ciphertext by using a customer master key. The <code>Encrypt</code> function has two primary use cases: <ul> <li>You can encrypt up to 4 KB of arbitrary data such as an RSA key, a database password, or other sensitive customer information.</li> <li>If you are moving encrypted data from one region to another, you can use this API to encrypt in the new region the plaintext data key that was used to encrypt the data in the original region. This provides you with an encrypted copy of the data key that can be decrypted in the new region and used there to decrypt the encrypted data. </li> </ul> </p> <p>Unless you are moving encrypted data from one region to another, you don't use this function to encrypt a generated data key within a region. You retrieve data keys already encrypted by calling the <a>GenerateDataKey</a> or <a>GenerateDataKeyWithoutPlaintext</a> function. Data keys don't need to be encrypted again by calling <code>Encrypt</code>. </p> <p>If you want to encrypt data locally in your application, you can use the <code>GenerateDataKey</code> function to return a plaintext data encryption key and a copy of the key encrypted under the customer master key (CMK) of your choosing. </p>",
15
- "GenerateDataKey": "<p>Generates a data key that you can use in your application to locally encrypt data. This call returns a plaintext version of the key in the <code>Plaintext</code> field of the response object and an encrypted copy of the key in the <code>CiphertextBlob</code> field. The key is encrypted by using the master key specified by the <code>KeyId</code> field. To decrypt the encrypted key, pass it to the <code>Decrypt</code> API. </p> <p>We recommend that you use the following pattern to locally encrypt data: call the <code>GenerateDataKey</code> API, use the key returned in the <code>Plaintext</code> response field to locally encrypt data, and then erase the plaintext data key from memory. Store the encrypted data key (contained in the <code>CiphertextBlob</code> field) alongside of the locally encrypted data. </p> <note>You should not call the <code>Encrypt</code> function to re-encrypt your data keys within a region. <code>GenerateDataKey</code> always returns the data key encrypted and tied to the customer master key that will be used to decrypt it. There is no need to decrypt it twice. </note> <p>If you decide to use the optional <code>EncryptionContext</code> parameter, you must also store the context in full or at least store enough information along with the encrypted data to be able to reconstruct the context when submitting the ciphertext to the <code>Decrypt</code> API. It is a good practice to choose a context that you can reconstruct on the fly to better secure the ciphertext. For more information about how this parameter is used, see <a href=\"http://docs.aws.amazon.com/kms/latest/developerguide/encrypt-context.html\">Encryption Context</a>. </p> <p>To decrypt data, pass the encrypted data key to the <code>Decrypt</code> API. <code>Decrypt</code> uses the associated master key to decrypt the encrypted data key and returns it as plaintext. Use the plaintext data key to locally decrypt your data and then erase the key from memory. You must specify the encryption context, if any, that you specified when you generated the key. The encryption context is logged by CloudTrail, and you can use this log to help track the use of particular data. </p>",
16
- "GenerateDataKeyWithoutPlaintext": "<p>Returns a data key encrypted by a customer master key without the plaintext copy of that key. Otherwise, this API functions exactly like <a>GenerateDataKey</a>. You can use this API to, for example, satisfy an audit requirement that an encrypted key be made available without exposing the plaintext copy of that key. </p>",
17
- "GenerateRandom": "<p>Generates an unpredictable byte string. </p>",
18
- "GetKeyPolicy": "<p>Retrieves a policy attached to the specified key.</p>",
19
- "GetKeyRotationStatus": "Retrieves a Boolean value that indicates whether key rotation is enabled for the specified key.",
20
- "ListAliases": "<p>Lists all of the key aliases in the account.</p>",
21
- "ListGrants": "<p>List the grants for a specified key.</p>",
22
- "ListKeyPolicies": "<p>Retrieves a list of policies attached to a key.</p>",
23
- "ListKeys": "<p>Lists the customer master keys.</p>",
24
- "PutKeyPolicy": "<p>Attaches a policy to the specified key.</p>",
25
- "ReEncrypt": "<p>Encrypts data on the server side with a new customer master key without exposing the plaintext of the data on the client side. The data is first decrypted and then encrypted. This operation can also be used to change the encryption context of a ciphertext. </p> <p>Unlike other actions, <code>ReEncrypt</code> is authorized twice - once as <code>ReEncryptFrom</code> on the source key and once as <code>ReEncryptTo</code> on the destination key. We therefore recommend that you include the <code>\"action\":\"kms:ReEncrypt*\"</code> statement in your key policies to permit re-encryption from or to the key. The statement is included automatically when you authorize use of the key through the console but must be included manually when you set a policy by using the <a>PutKeyPolicy</a> function. </p>",
26
- "RetireGrant": "<p>Retires a grant. You can retire a grant when you're done using it to clean up. You should revoke a grant when you intend to actively deny operations that depend on it. The following are permitted to call this API: <ul> <li>The account that created the grant</li> <li>The <code>RetiringPrincipal</code>, if present</li> <li>The <code>GranteePrincipal</code>, if <code>RetireGrant</code> is a grantee operation</li> </ul> The grant to retire must be identified by its grant token or by a combination of the key ARN and the grant ID. A grant token is a unique variable-length base64-encoded string. A grant ID is a 64 character unique identifier of a grant. Both are returned by the <code>CreateGrant</code> function. </p>",
27
- "RevokeGrant": "Revokes a grant. You can revoke a grant to actively deny operations that depend on it.",
28
- "UpdateAlias": "<p>Updates an alias to associate it with a different key.</p> <p>An alias name can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). An alias must start with the word \"alias\" followed by a forward slash (alias/). An alias that begins with \"aws\" after the forward slash (alias/aws...) is reserved by Amazon Web Services (AWS). </p> <p>An alias is not a property of a key. Therefore, an alias can be associated with and disassociated from an existing key without changing the properties of the key. </p> <p>Note that you cannot create or update an alias that represents a key in another account.</p>",
29
- "UpdateKeyDescription": "<p>Updates the description of a key.</p>"
30
- },
31
- "service": "<fullname>AWS Key Management Service</fullname> <p> AWS Key Management Service (KMS) is an encryption and key management web service. This guide describes the KMS actions that you can call programmatically. For general information about KMS, see the <a href=\"http://docs.aws.amazon.com/kms/latest/developerguide/overview.html\"> AWS Key Management Service Developer Guide </a> </p> <note> AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, iOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to KMS and AWS. For example, the SDKs take care of tasks such as signing requests (see below), managing errors, and retrying requests automatically. For more information about the AWS SDKs, including how to download and install them, see <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services</a>. </note> <p> We recommend that you use the AWS SDKs to make programmatic API calls to KMS. </p> <p>Clients must support TLS (Transport Layer Security) 1.0. We recommend TLS 1.2. Clients must also support cipher suites with Perfect Forward Secrecy (PFS) such as Ephemeral Diffie-Hellman (DHE) or Elliptic Curve Ephemeral Diffie-Hellman (ECDHE). Most modern systems such as Java 7 and later support these modes. </p> <p><b>Signing Requests</b></p> <p> Requests must be signed by using an access key ID and a secret access key. We strongly recommend that you do not use your AWS account access key ID and secret key for everyday work with KMS. Instead, use the access key ID and secret access key for an IAM user, or you can use the AWS Security Token Service to generate temporary security credentials that you can use to sign requests. </p> <p> All KMS operations require <a href=\"http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4</a>. </p> <p><b>Recording API Requests</b></p> <p> KMS supports AWS CloudTrail, a service that records AWS API calls and related events for your AWS account and delivers them to an Amazon S3 bucket that you specify. By using the information collected by CloudTrail, you can determine what requests were made to KMS, who made the request, when it was made, and so on. To learn more about CloudTrail, including how to turn it on and find your log files, see the <a href=\"http://docs.aws.amazon.com/awscloudtrail/latest/userguide/whatiscloudtrail.html\">AWS CloudTrail User Guide</a> </p> <p><b>Additional Resources</b></p> <p>For more information about credentials and request signing, see the following:</p> <ul> <li> <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html\">AWS Security Credentials</a>. This topic provides general information about the types of credentials used for accessing AWS. </li> <li> <a href=\"http://docs.aws.amazon.com/STS/latest/UsingSTS/\">AWS Security Token Service</a>. This guide describes how to create and use temporary security credentials. </li> <li> <a href=\"http://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html\">Signing AWS API Requests</a>. This set of topics walks you through the process of signing a request using an access key ID and a secret access key. </li> </ul> <p><b>Commonly Used APIs</b></p> <p> Of the APIs discussed in this guide, the following will prove the most useful for most applications. You will likely perform actions other than these, such as creating keys and assigning policies, by using the console. <ul> <li><a>Encrypt</a></li> <li><a>Decrypt</a></li> <li><a>GenerateDataKey</a></li> <li><a>GenerateDataKeyWithoutPlaintext</a></li> </ul> </p>",
32
- "shapes": {
33
- "AWSAccountIdType": {
34
- "base": null,
35
- "refs": {
36
- "KeyMetadata$AWSAccountId": "<p>Account ID number.</p>"
37
- }
38
- },
39
- "AliasList": {
40
- "base": null,
41
- "refs": {
42
- "ListAliasesResponse$Aliases": "<p>A list of key aliases in the user's account.</p>"
43
- }
44
- },
45
- "AliasListEntry": {
46
- "base": "Contains information about an alias.",
47
- "refs": {
48
- "AliasList$member": null
49
- }
50
- },
51
- "AliasNameType": {
52
- "base": null,
53
- "refs": {
54
- "AliasListEntry$AliasName": "<p>String that contains the alias.</p>",
55
- "CreateAliasRequest$AliasName": "<p>String that contains the display name. The name must start with the word \"alias\" followed by a forward slash (alias/). Aliases that begin with \"alias/AWS\" are reserved. </p>",
56
- "DeleteAliasRequest$AliasName": "<p>The alias to be deleted. The name must start with the word \"alias\" followed by a forward slash (alias/). Aliases that begin with \"alias/AWS\" are reserved.</p>",
57
- "UpdateAliasRequest$AliasName": "String that contains the name of the alias to be modifed. The name must start with the word \"alias\" followed by a forward slash (alias/). Aliases that begin with \"alias/AWS\" are reserved."
58
- }
59
- },
60
- "AlreadyExistsException": {
61
- "base": "<p>The request was rejected because it attempted to create a resource that already exists.</p>",
62
- "refs": {
63
- }
64
- },
65
- "ArnType": {
66
- "base": null,
67
- "refs": {
68
- "AliasListEntry$AliasArn": "<p>String that contains the key ARN.</p>",
69
- "KeyListEntry$KeyArn": "<p>ARN of the key.</p>",
70
- "KeyMetadata$Arn": "<p>Key ARN (Amazon Resource Name).</p>"
71
- }
72
- },
73
- "BooleanType": {
74
- "base": null,
75
- "refs": {
76
- "GetKeyRotationStatusResponse$KeyRotationEnabled": "A Boolean value that specifies whether key rotation is enabled.",
77
- "KeyMetadata$Enabled": "<p>Value that specifies whether the key is enabled.</p>",
78
- "ListAliasesResponse$Truncated": "<p>A flag that indicates whether there are more items in the list. If your results were truncated, you can make a subsequent pagination request using the <code>Marker</code> request parameter to retrieve more aliases in the list. </p>",
79
- "ListGrantsResponse$Truncated": "<p>A flag that indicates whether there are more items in the list. If your results were truncated, you can make a subsequent pagination request using the <code>Marker</code> request parameter to retrieve more grants in the list. </p>",
80
- "ListKeyPoliciesResponse$Truncated": "<p>A flag that indicates whether there are more items in the list. If your results were truncated, you can make a subsequent pagination request using the <code>Marker</code> request parameter to retrieve more policies in the list. </p>",
81
- "ListKeysResponse$Truncated": "<p>A flag that indicates whether there are more items in the list. If your results were truncated, you can make a subsequent pagination request using the <code>Marker</code> request parameter to retrieve more keys in the list. </p>"
82
- }
83
- },
84
- "CiphertextType": {
85
- "base": null,
86
- "refs": {
87
- "DecryptRequest$CiphertextBlob": "<p>Ciphertext to be decrypted. The blob includes metadata.</p>",
88
- "EncryptResponse$CiphertextBlob": "<p>The encrypted plaintext. If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded.</p>",
89
- "GenerateDataKeyResponse$CiphertextBlob": "<p>Ciphertext that contains the encrypted data key. You must store the blob and enough information to reconstruct the encryption context so that the data encrypted by using the key can later be decrypted. You must provide both the ciphertext blob and the encryption context to the <a>Decrypt</a> API to recover the plaintext data key and decrypt the object. </p> <p>If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded.</p>",
90
- "GenerateDataKeyWithoutPlaintextResponse$CiphertextBlob": "<p>Ciphertext that contains the wrapped data key. You must store the blob and encryption context so that the key can be used in a future decrypt operation. </p> <p>If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded. </p>",
91
- "ReEncryptRequest$CiphertextBlob": "<p>Ciphertext of the data to re-encrypt.</p>",
92
- "ReEncryptResponse$CiphertextBlob": "<p>The re-encrypted data. If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded.</p>"
93
- }
94
- },
95
- "CreateAliasRequest": {
96
- "base": null,
97
- "refs": {
98
- }
99
- },
100
- "CreateGrantRequest": {
101
- "base": null,
102
- "refs": {
103
- }
104
- },
105
- "CreateGrantResponse": {
106
- "base": null,
107
- "refs": {
108
- }
109
- },
110
- "CreateKeyRequest": {
111
- "base": null,
112
- "refs": {
113
- }
114
- },
115
- "CreateKeyResponse": {
116
- "base": null,
117
- "refs": {
118
- }
119
- },
120
- "DataKeySpec": {
121
- "base": null,
122
- "refs": {
123
- "GenerateDataKeyRequest$KeySpec": "<p>Value that identifies the encryption algorithm and key size to generate a data key for. Currently this can be AES_128 or AES_256. </p>",
124
- "GenerateDataKeyWithoutPlaintextRequest$KeySpec": "<p>Value that identifies the encryption algorithm and key size. Currently this can be AES_128 or AES_256. </p>"
125
- }
126
- },
127
- "DateType": {
128
- "base": null,
129
- "refs": {
130
- "KeyMetadata$CreationDate": "<p>Date the key was created.</p>"
131
- }
132
- },
133
- "DecryptRequest": {
134
- "base": null,
135
- "refs": {
136
- }
137
- },
138
- "DecryptResponse": {
139
- "base": null,
140
- "refs": {
141
- }
142
- },
143
- "DeleteAliasRequest": {
144
- "base": null,
145
- "refs": {
146
- }
147
- },
148
- "DependencyTimeoutException": {
149
- "base": "<p>The system timed out while trying to fulfill the request.</p>",
150
- "refs": {
151
- }
152
- },
153
- "DescribeKeyRequest": {
154
- "base": null,
155
- "refs": {
156
- }
157
- },
158
- "DescribeKeyResponse": {
159
- "base": null,
160
- "refs": {
161
- }
162
- },
163
- "DescriptionType": {
164
- "base": null,
165
- "refs": {
166
- "CreateKeyRequest$Description": "<p>Description of the key. We recommend that you choose a description that helps your customer decide whether the key is appropriate for a task. </p>",
167
- "KeyMetadata$Description": "<p>The description of the key.</p>",
168
- "UpdateKeyDescriptionRequest$Description": "<p>New description for the key.</p>"
169
- }
170
- },
171
- "DisableKeyRequest": {
172
- "base": null,
173
- "refs": {
174
- }
175
- },
176
- "DisableKeyRotationRequest": {
177
- "base": null,
178
- "refs": {
179
- }
180
- },
181
- "DisabledException": {
182
- "base": "<p>A request was rejected because the specified key was marked as disabled.</p>",
183
- "refs": {
184
- }
185
- },
186
- "EnableKeyRequest": {
187
- "base": null,
188
- "refs": {
189
- }
190
- },
191
- "EnableKeyRotationRequest": {
192
- "base": null,
193
- "refs": {
194
- }
195
- },
196
- "EncryptRequest": {
197
- "base": null,
198
- "refs": {
199
- }
200
- },
201
- "EncryptResponse": {
202
- "base": null,
203
- "refs": {
204
- }
205
- },
206
- "EncryptionContextKey": {
207
- "base": null,
208
- "refs": {
209
- "EncryptionContextType$key": null
210
- }
211
- },
212
- "EncryptionContextType": {
213
- "base": null,
214
- "refs": {
215
- "DecryptRequest$EncryptionContext": "<p>The encryption context. If this was specified in the <a>Encrypt</a> function, it must be specified here or the decryption operation will fail. For more information, see <a href=\"http://docs.aws.amazon.com/kms/latest/developerguide/encrypt-context.html\">Encryption Context</a>. </p>",
216
- "EncryptRequest$EncryptionContext": "<p>Name/value pair that specifies the encryption context to be used for authenticated encryption. If used here, the same value must be supplied to the <code>Decrypt</code> API or decryption will fail. For more information, see <a href=\"http://docs.aws.amazon.com/kms/latest/developerguide/encrypt-context.html\">Encryption Context</a>. </p>",
217
- "GenerateDataKeyRequest$EncryptionContext": "<p>Name/value pair that contains additional data to be authenticated during the encryption and decryption processes that use the key. This value is logged by AWS CloudTrail to provide context around the data encrypted by the key. </p>",
218
- "GenerateDataKeyWithoutPlaintextRequest$EncryptionContext": "<p>Name:value pair that contains additional data to be authenticated during the encryption and decryption processes. </p>",
219
- "GrantConstraints$EncryptionContextSubset": "The constraint equals the full encryption context.",
220
- "GrantConstraints$EncryptionContextEquals": "The constraint contains additional key/value pairs that serve to further limit the grant.",
221
- "ReEncryptRequest$SourceEncryptionContext": "<p>Encryption context used to encrypt and decrypt the data specified in the <code>CiphertextBlob</code> parameter. </p>",
222
- "ReEncryptRequest$DestinationEncryptionContext": "<p>Encryption context to be used when the data is re-encrypted.</p>"
223
- }
224
- },
225
- "EncryptionContextValue": {
226
- "base": null,
227
- "refs": {
228
- "EncryptionContextType$value": null
229
- }
230
- },
231
- "ErrorMessageType": {
232
- "base": null,
233
- "refs": {
234
- "AlreadyExistsException$message": null,
235
- "DependencyTimeoutException$message": null,
236
- "DisabledException$message": null,
237
- "InvalidAliasNameException$message": null,
238
- "InvalidArnException$message": null,
239
- "InvalidCiphertextException$message": null,
240
- "InvalidGrantTokenException$message": null,
241
- "InvalidKeyUsageException$message": null,
242
- "InvalidMarkerException$message": null,
243
- "KMSInternalException$message": null,
244
- "KeyUnavailableException$message": null,
245
- "LimitExceededException$message": null,
246
- "MalformedPolicyDocumentException$message": null,
247
- "NotFoundException$message": null,
248
- "UnsupportedOperationException$message": null
249
- }
250
- },
251
- "GenerateDataKeyRequest": {
252
- "base": null,
253
- "refs": {
254
- }
255
- },
256
- "GenerateDataKeyResponse": {
257
- "base": null,
258
- "refs": {
259
- }
260
- },
261
- "GenerateDataKeyWithoutPlaintextRequest": {
262
- "base": null,
263
- "refs": {
264
- }
265
- },
266
- "GenerateDataKeyWithoutPlaintextResponse": {
267
- "base": null,
268
- "refs": {
269
- }
270
- },
271
- "GenerateRandomRequest": {
272
- "base": null,
273
- "refs": {
274
- }
275
- },
276
- "GenerateRandomResponse": {
277
- "base": null,
278
- "refs": {
279
- }
280
- },
281
- "GetKeyPolicyRequest": {
282
- "base": null,
283
- "refs": {
284
- }
285
- },
286
- "GetKeyPolicyResponse": {
287
- "base": null,
288
- "refs": {
289
- }
290
- },
291
- "GetKeyRotationStatusRequest": {
292
- "base": null,
293
- "refs": {
294
- }
295
- },
296
- "GetKeyRotationStatusResponse": {
297
- "base": null,
298
- "refs": {
299
- }
300
- },
301
- "GrantConstraints": {
302
- "base": "Contains constraints on the grant.",
303
- "refs": {
304
- "CreateGrantRequest$Constraints": "<p>Specifies the conditions under which the actions specified by the <code>Operations</code> parameter are allowed. </p>",
305
- "GrantListEntry$Constraints": "<p>Specifies the conditions under which the actions specified by the <code>Operations</code> parameter are allowed. </p>"
306
- }
307
- },
308
- "GrantIdType": {
309
- "base": null,
310
- "refs": {
311
- "CreateGrantResponse$GrantId": "<p>Unique grant identifier. You can use the <i>GrantId</i> value to revoke a grant.</p>",
312
- "GrantListEntry$GrantId": "<p>Unique grant identifier.</p>",
313
- "RetireGrantRequest$GrantId": "<p> Unique identifier of the grant to be retired. The grant ID is returned by the <code>CreateGrant</code> function. <ul> <li>Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123</li> </ul> </p>",
314
- "RevokeGrantRequest$GrantId": "<p>Identifier of the grant to be revoked.</p>"
315
- }
316
- },
317
- "GrantList": {
318
- "base": null,
319
- "refs": {
320
- "ListGrantsResponse$Grants": "<p>A list of grants.</p>"
321
- }
322
- },
323
- "GrantListEntry": {
324
- "base": "<p>Contains information about each entry in the grant list.</p>",
325
- "refs": {
326
- "GrantList$member": null
327
- }
328
- },
329
- "GrantOperation": {
330
- "base": null,
331
- "refs": {
332
- "GrantOperationList$member": null
333
- }
334
- },
335
- "GrantOperationList": {
336
- "base": null,
337
- "refs": {
338
- "CreateGrantRequest$Operations": "<p>List of operations permitted by the grant. This can be any combination of one or more of the following values: <ol> <li>Decrypt</li> <li>Encrypt</li> <li>GenerateDataKey</li> <li>GenerateDataKeyWithoutPlaintext</li> <li>ReEncryptFrom</li> <li>ReEncryptTo</li> <li>CreateGrant</li> <li>RetireGrant</li> </ol> </p>",
339
- "GrantListEntry$Operations": "<p>List of operations permitted by the grant. This can be any combination of one or more of the following values: <ol> <li>Decrypt</li> <li>Encrypt</li> <li>GenerateDataKey</li> <li>GenerateDataKeyWithoutPlaintext</li> <li>ReEncryptFrom</li> <li>ReEncryptTo</li> <li>CreateGrant</li> </ol></p>"
340
- }
341
- },
342
- "GrantTokenList": {
343
- "base": null,
344
- "refs": {
345
- "CreateGrantRequest$GrantTokens": "<p>For more information, see <a href=\"http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token\">Grant Tokens</a>. </p>",
346
- "DecryptRequest$GrantTokens": "<p>For more information, see <a href=\"http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token\">Grant Tokens</a>. </p>",
347
- "EncryptRequest$GrantTokens": "<p>For more information, see <a href=\"http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token\">Grant Tokens</a>. </p>",
348
- "GenerateDataKeyRequest$GrantTokens": "<p>For more information, see <a href=\"http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token\">Grant Tokens</a>. </p>",
349
- "GenerateDataKeyWithoutPlaintextRequest$GrantTokens": "<p>For more information, see <a href=\"http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token\">Grant Tokens</a>. </p>",
350
- "ReEncryptRequest$GrantTokens": "<p>For more information, see <a href=\"http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token\">Grant Tokens</a>. </p>"
351
- }
352
- },
353
- "GrantTokenType": {
354
- "base": null,
355
- "refs": {
356
- "CreateGrantResponse$GrantToken": "<p>For more information, see <a href=\"http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token\">Grant Tokens</a>. </p>",
357
- "GrantTokenList$member": null,
358
- "RetireGrantRequest$GrantToken": "<p>Token that identifies the grant to be retired.</p>"
359
- }
360
- },
361
- "InvalidAliasNameException": {
362
- "base": "<p>The request was rejected because the specified alias name is not valid.</p>",
363
- "refs": {
364
- }
365
- },
366
- "InvalidArnException": {
367
- "base": "<p>The request was rejected because a specified ARN was not valid.</p>",
368
- "refs": {
369
- }
370
- },
371
- "InvalidCiphertextException": {
372
- "base": "<p>The request was rejected because the specified ciphertext has been corrupted or is otherwise invalid.</p>",
373
- "refs": {
374
- }
375
- },
376
- "InvalidGrantTokenException": {
377
- "base": "<p>A grant token provided as part of the request is invalid.</p>",
378
- "refs": {
379
- }
380
- },
381
- "InvalidKeyUsageException": {
382
- "base": "<p>The request was rejected because the specified KeySpec parameter is not valid. The currently supported value is ENCRYPT/DECRYPT. </p>",
383
- "refs": {
384
- }
385
- },
386
- "InvalidMarkerException": {
387
- "base": "<p>The request was rejected because the marker that specifies where pagination should next begin is not valid. </p>",
388
- "refs": {
389
- }
390
- },
391
- "KMSInternalException": {
392
- "base": "<p>The request was rejected because an internal exception occurred. This error can be retried.</p>",
393
- "refs": {
394
- }
395
- },
396
- "KeyIdType": {
397
- "base": null,
398
- "refs": {
399
- "AliasListEntry$TargetKeyId": "<p>String that contains the key identifier pointed to by the alias.</p>",
400
- "CreateAliasRequest$TargetKeyId": "<p>An identifier of the key for which you are creating the alias. This value cannot be another alias but can be a globally unique identifier or a fully specified ARN to a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
401
- "CreateGrantRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
402
- "DecryptResponse$KeyId": "<p>ARN of the key used to perform the decryption. This value is returned if no errors are encountered during the operation. </p>",
403
- "DescribeKeyRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by \"alias/\". <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Alias ARN Example - arn:aws:kms:us-east-1:123456789012:alias/MyAliasName</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> <li>Alias Name Example - alias/MyAliasName</li> </ul> </p>",
404
- "DisableKeyRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
405
- "DisableKeyRotationRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
406
- "EnableKeyRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
407
- "EnableKeyRotationRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
408
- "EncryptRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by \"alias/\". <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Alias ARN Example - arn:aws:kms:us-east-1:123456789012:alias/MyAliasName</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> <li>Alias Name Example - alias/MyAliasName</li> </ul> </p>",
409
- "EncryptResponse$KeyId": "<p>The ID of the key used during encryption.</p>",
410
- "GenerateDataKeyRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by \"alias/\". <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Alias ARN Example - arn:aws:kms:us-east-1:123456789012:alias/MyAliasName</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> <li>Alias Name Example - alias/MyAliasName</li> </ul> </p>",
411
- "GenerateDataKeyResponse$KeyId": "<p>System generated unique identifier of the key to be used to decrypt the encrypted copy of the data key.</p>",
412
- "GenerateDataKeyWithoutPlaintextRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by \"alias/\". <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Alias ARN Example - arn:aws:kms:us-east-1:123456789012:alias/MyAliasName</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> <li>Alias Name Example - alias/MyAliasName</li> </ul> </p>",
413
- "GenerateDataKeyWithoutPlaintextResponse$KeyId": "<p>System generated unique identifier of the key to be used to decrypt the encrypted copy of the data key.</p>",
414
- "GetKeyPolicyRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
415
- "GetKeyRotationStatusRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
416
- "KeyListEntry$KeyId": "<p>Unique identifier of the key.</p>",
417
- "KeyMetadata$KeyId": "<p>Unique identifier for the key.</p>",
418
- "ListGrantsRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
419
- "ListKeyPoliciesRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by \"alias/\". <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Alias ARN Example - arn:aws:kms:us-east-1:123456789012:alias/MyAliasName</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> <li>Alias Name Example - alias/MyAliasName</li> </ul> </p>",
420
- "PutKeyPolicyRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
421
- "ReEncryptRequest$DestinationKeyId": "<p>A unique identifier for the customer master key used to re-encrypt the data. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by \"alias/\". <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Alias ARN Example - arn:aws:kms:us-east-1:123456789012:alias/MyAliasName</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> <li>Alias Name Example - alias/MyAliasName</li> </ul> </p>",
422
- "ReEncryptResponse$SourceKeyId": "<p>Unique identifier of the key used to originally encrypt the data.</p>",
423
- "ReEncryptResponse$KeyId": "<p>Unique identifier of the key used to re-encrypt the data.</p>",
424
- "RetireGrantRequest$KeyId": "<p>A unique identifier for the customer master key associated with the grant. This value can be a globally unique identifier or a fully specified ARN of the key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
425
- "RevokeGrantRequest$KeyId": "<p>A unique identifier for the customer master key associated with the grant. This value can be a globally unique identifier or the fully specified ARN to a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
426
- "UpdateAliasRequest$TargetKeyId": "<p>Unique identifier of the customer master key to be associated with the alias. This value can be a globally unique identifier or the fully specified ARN of a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>",
427
- "UpdateKeyDescriptionRequest$KeyId": "<p>A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. <ul> <li>Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</li> <li>Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012</li> </ul> </p>"
428
- }
429
- },
430
- "KeyList": {
431
- "base": null,
432
- "refs": {
433
- "ListKeysResponse$Keys": "<p>A list of keys.</p>"
434
- }
435
- },
436
- "KeyListEntry": {
437
- "base": "<p>Contains information about each entry in the key list.</p>",
438
- "refs": {
439
- "KeyList$member": null
440
- }
441
- },
442
- "KeyMetadata": {
443
- "base": "Contains metadata associated with a specific key.",
444
- "refs": {
445
- "CreateKeyResponse$KeyMetadata": "<p>Metadata associated with the key.</p>",
446
- "DescribeKeyResponse$KeyMetadata": "<p>Metadata associated with the key.</p>"
447
- }
448
- },
449
- "KeyUnavailableException": {
450
- "base": "<p>The request was rejected because the key was disabled, not found, or otherwise not available.</p>",
451
- "refs": {
452
- }
453
- },
454
- "KeyUsageType": {
455
- "base": null,
456
- "refs": {
457
- "CreateKeyRequest$KeyUsage": "<p>Specifies the intended use of the key. Currently this defaults to ENCRYPT/DECRYPT, and only symmetric encryption and decryption are supported. </p>",
458
- "KeyMetadata$KeyUsage": "<p>A value that specifies what operation(s) the key can perform.</p>"
459
- }
460
- },
461
- "LimitExceededException": {
462
- "base": "<p>The request was rejected because a quota was exceeded.</p>",
463
- "refs": {
464
- }
465
- },
466
- "LimitType": {
467
- "base": null,
468
- "refs": {
469
- "ListAliasesRequest$Limit": "<p>Specify this parameter when paginating results to indicate the maximum number of aliases you want in each response. If there are additional aliases beyond the maximum you specify, the <code>Truncated</code> response element will be set to <code>true.</code> </p>",
470
- "ListGrantsRequest$Limit": "<p>Specify this parameter only when paginating results to indicate the maximum number of grants you want listed in the response. If there are additional grants beyond the maximum you specify, the <code>Truncated</code> response element will be set to <code>true.</code> </p>",
471
- "ListKeyPoliciesRequest$Limit": "<p>Specify this parameter only when paginating results to indicate the maximum number of policies you want listed in the response. If there are additional policies beyond the maximum you specify, the <code>Truncated</code> response element will be set to <code>true.</code> </p>",
472
- "ListKeysRequest$Limit": "<p>Specify this parameter only when paginating results to indicate the maximum number of keys you want listed in the response. If there are additional keys beyond the maximum you specify, the <code>Truncated</code> response element will be set to <code>true.</code> </p>"
473
- }
474
- },
475
- "ListAliasesRequest": {
476
- "base": null,
477
- "refs": {
478
- }
479
- },
480
- "ListAliasesResponse": {
481
- "base": null,
482
- "refs": {
483
- }
484
- },
485
- "ListGrantsRequest": {
486
- "base": null,
487
- "refs": {
488
- }
489
- },
490
- "ListGrantsResponse": {
491
- "base": null,
492
- "refs": {
493
- }
494
- },
495
- "ListKeyPoliciesRequest": {
496
- "base": null,
497
- "refs": {
498
- }
499
- },
500
- "ListKeyPoliciesResponse": {
501
- "base": null,
502
- "refs": {
503
- }
504
- },
505
- "ListKeysRequest": {
506
- "base": null,
507
- "refs": {
508
- }
509
- },
510
- "ListKeysResponse": {
511
- "base": null,
512
- "refs": {
513
- }
514
- },
515
- "MalformedPolicyDocumentException": {
516
- "base": "<p>The request was rejected because the specified policy is not syntactically or semantically correct. </p>",
517
- "refs": {
518
- }
519
- },
520
- "MarkerType": {
521
- "base": null,
522
- "refs": {
523
- "ListAliasesRequest$Marker": "<p>Use this parameter when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>NextMarker</code> element in the response you just received. </p>",
524
- "ListAliasesResponse$NextMarker": "<p>If <code>Truncated</code> is true, this value is present and contains the value to use for the <code>Marker</code> request parameter in a subsequent pagination request. </p>",
525
- "ListGrantsRequest$Marker": "<p>Use this parameter only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>NextMarker</code> in the response you just received. </p>",
526
- "ListGrantsResponse$NextMarker": "<p>If <code>Truncated</code> is true, this value is present and contains the value to use for the <code>Marker</code> request parameter in a subsequent pagination request. </p>",
527
- "ListKeyPoliciesRequest$Marker": "<p>Use this parameter only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>NextMarker</code> in the response you just received. </p>",
528
- "ListKeyPoliciesResponse$NextMarker": "<p>If <code>Truncated</code> is true, this value is present and contains the value to use for the <code>Marker</code> request parameter in a subsequent pagination request. </p>",
529
- "ListKeysRequest$Marker": "<p>Use this parameter only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>NextMarker</code> in the response you just received. </p>",
530
- "ListKeysResponse$NextMarker": "<p>If <code>Truncated</code> is true, this value is present and contains the value to use for the <code>Marker</code> request parameter in a subsequent pagination request. </p>"
531
- }
532
- },
533
- "NotFoundException": {
534
- "base": "<p>The request was rejected because the specified entity or resource could not be found. </p>",
535
- "refs": {
536
- }
537
- },
538
- "NumberOfBytesType": {
539
- "base": null,
540
- "refs": {
541
- "GenerateDataKeyRequest$NumberOfBytes": "<p>Integer that contains the number of bytes to generate. Common values are 128, 256, 512, and 1024. 1024 is the current limit. We recommend that you use the <code>KeySpec</code> parameter instead. </p>",
542
- "GenerateDataKeyWithoutPlaintextRequest$NumberOfBytes": "<p>Integer that contains the number of bytes to generate. Common values are 128, 256, 512, 1024 and so on. We recommend that you use the <code>KeySpec</code> parameter instead. </p>",
543
- "GenerateRandomRequest$NumberOfBytes": "<p>Integer that contains the number of bytes to generate. Common values are 128, 256, 512, 1024 and so on. The current limit is 1024 bytes. </p>"
544
- }
545
- },
546
- "PlaintextType": {
547
- "base": null,
548
- "refs": {
549
- "DecryptResponse$Plaintext": "<p>Decrypted plaintext data. This value may not be returned if the customer master key is not available or if you didn't have permission to use it.</p>",
550
- "EncryptRequest$Plaintext": "<p>Data to be encrypted.</p>",
551
- "GenerateDataKeyResponse$Plaintext": "<p>Plaintext that contains the data key. Use this for encryption and decryption and then remove it from memory as soon as possible. </p>",
552
- "GenerateRandomResponse$Plaintext": "<p>Plaintext that contains the unpredictable byte string.</p>"
553
- }
554
- },
555
- "PolicyNameList": {
556
- "base": null,
557
- "refs": {
558
- "ListKeyPoliciesResponse$PolicyNames": "<p>A list of policy names. Currently, there is only one policy and it is named \"Default\".</p>"
559
- }
560
- },
561
- "PolicyNameType": {
562
- "base": null,
563
- "refs": {
564
- "GetKeyPolicyRequest$PolicyName": "<p>String that contains the name of the policy. Currently, this must be \"default\". Policy names can be discovered by calling <a>ListKeyPolicies</a>. </p>",
565
- "PolicyNameList$member": null,
566
- "PutKeyPolicyRequest$PolicyName": "<p>Name of the policy to be attached. Currently, the only supported name is \"default\".</p>"
567
- }
568
- },
569
- "PolicyType": {
570
- "base": null,
571
- "refs": {
572
- "CreateKeyRequest$Policy": "<p>Policy to be attached to the key. This is required and delegates back to the account. The key is the root of trust. </p>",
573
- "GetKeyPolicyResponse$Policy": "<p>A policy document in JSON format.</p>",
574
- "PutKeyPolicyRequest$Policy": "<p>The policy, in JSON format, to be attached to the key.</p>"
575
- }
576
- },
577
- "PrincipalIdType": {
578
- "base": null,
579
- "refs": {
580
- "CreateGrantRequest$GranteePrincipal": "<p>Principal given permission by the grant to use the key identified by the <code>keyId</code> parameter.</p>",
581
- "CreateGrantRequest$RetiringPrincipal": "<p>Principal given permission to retire the grant. For more information, see <a>RetireGrant</a>.</p>",
582
- "GrantListEntry$GranteePrincipal": "<p>The principal that receives the grant permission.</p>",
583
- "GrantListEntry$RetiringPrincipal": "<p>The principal that can retire the account.</p>",
584
- "GrantListEntry$IssuingAccount": "<p>The account under which the grant was issued.</p>"
585
- }
586
- },
587
- "PutKeyPolicyRequest": {
588
- "base": null,
589
- "refs": {
590
- }
591
- },
592
- "ReEncryptRequest": {
593
- "base": null,
594
- "refs": {
595
- }
596
- },
597
- "ReEncryptResponse": {
598
- "base": null,
599
- "refs": {
600
- }
601
- },
602
- "RetireGrantRequest": {
603
- "base": null,
604
- "refs": {
605
- }
606
- },
607
- "RevokeGrantRequest": {
608
- "base": null,
609
- "refs": {
610
- }
611
- },
612
- "UnsupportedOperationException": {
613
- "base": "<p>The request was rejected because a specified parameter is not supported.</p>",
614
- "refs": {
615
- }
616
- },
617
- "UpdateAliasRequest": {
618
- "base": null,
619
- "refs": {
620
- }
621
- },
622
- "UpdateKeyDescriptionRequest": {
623
- "base": null,
624
- "refs": {
625
- }
626
- }
627
- }
628
- }