@aws-sdk/client-acm-pca 3.35.0 → 3.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/ACMPCA.js +0 -21
  3. package/dist-cjs/ACMPCAClient.js +0 -26
  4. package/dist-cjs/commands/CreateCertificateAuthorityAuditReportCommand.js +0 -40
  5. package/dist-cjs/commands/CreateCertificateAuthorityCommand.js +0 -45
  6. package/dist-cjs/commands/CreatePermissionCommand.js +0 -51
  7. package/dist-cjs/commands/DeleteCertificateAuthorityCommand.js +0 -44
  8. package/dist-cjs/commands/DeletePermissionCommand.js +0 -53
  9. package/dist-cjs/commands/DeletePolicyCommand.js +0 -59
  10. package/dist-cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js +0 -28
  11. package/dist-cjs/commands/DescribeCertificateAuthorityCommand.js +0 -65
  12. package/dist-cjs/commands/GetCertificateAuthorityCertificateCommand.js +0 -28
  13. package/dist-cjs/commands/GetCertificateAuthorityCsrCommand.js +0 -29
  14. package/dist-cjs/commands/GetCertificateCommand.js +0 -32
  15. package/dist-cjs/commands/GetPolicyCommand.js +0 -55
  16. package/dist-cjs/commands/ImportCertificateAuthorityCertificateCommand.js +0 -152
  17. package/dist-cjs/commands/IssueCertificateCommand.js +0 -32
  18. package/dist-cjs/commands/ListCertificateAuthoritiesCommand.js +0 -25
  19. package/dist-cjs/commands/ListPermissionsCommand.js +0 -52
  20. package/dist-cjs/commands/ListTagsCommand.js +0 -28
  21. package/dist-cjs/commands/PutPolicyCommand.js +0 -56
  22. package/dist-cjs/commands/RestoreCertificateAuthorityCommand.js +0 -35
  23. package/dist-cjs/commands/RevokeCertificateCommand.js +0 -44
  24. package/dist-cjs/commands/TagCertificateAuthorityCommand.js +0 -32
  25. package/dist-cjs/commands/UntagCertificateAuthorityCommand.js +0 -29
  26. package/dist-cjs/commands/UpdateCertificateAuthorityCommand.js +0 -35
  27. package/dist-cjs/commands/index.js +26 -0
  28. package/dist-cjs/endpoints.js +1 -2
  29. package/dist-cjs/index.js +5 -33
  30. package/dist-cjs/models/index.js +0 -1
  31. package/dist-cjs/models/models_0.js +0 -229
  32. package/dist-cjs/pagination/Interfaces.js +0 -1
  33. package/dist-cjs/pagination/ListCertificateAuthoritiesPaginator.js +0 -11
  34. package/dist-cjs/pagination/ListPermissionsPaginator.js +0 -11
  35. package/dist-cjs/pagination/ListTagsPaginator.js +0 -11
  36. package/dist-cjs/pagination/index.js +7 -0
  37. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  38. package/dist-cjs/runtimeConfig.browser.js +1 -6
  39. package/dist-cjs/runtimeConfig.js +2 -7
  40. package/dist-cjs/runtimeConfig.native.js +0 -4
  41. package/dist-cjs/runtimeConfig.shared.js +0 -4
  42. package/dist-cjs/waiters/index.js +6 -0
  43. package/dist-cjs/waiters/waitForAuditReportCreated.js +0 -10
  44. package/dist-cjs/waiters/waitForCertificateAuthorityCSRCreated.js +0 -10
  45. package/dist-cjs/waiters/waitForCertificateIssued.js +0 -10
  46. package/dist-es/ACMPCA.js +0 -1
  47. package/dist-es/ACMPCAClient.js +0 -1
  48. package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +0 -1
  49. package/dist-es/commands/CreateCertificateAuthorityCommand.js +0 -1
  50. package/dist-es/commands/CreatePermissionCommand.js +0 -1
  51. package/dist-es/commands/DeleteCertificateAuthorityCommand.js +0 -1
  52. package/dist-es/commands/DeletePermissionCommand.js +0 -1
  53. package/dist-es/commands/DeletePolicyCommand.js +0 -1
  54. package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js +0 -1
  55. package/dist-es/commands/DescribeCertificateAuthorityCommand.js +0 -1
  56. package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js +0 -1
  57. package/dist-es/commands/GetCertificateAuthorityCsrCommand.js +0 -1
  58. package/dist-es/commands/GetCertificateCommand.js +0 -1
  59. package/dist-es/commands/GetPolicyCommand.js +0 -1
  60. package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +0 -1
  61. package/dist-es/commands/IssueCertificateCommand.js +0 -1
  62. package/dist-es/commands/ListCertificateAuthoritiesCommand.js +0 -1
  63. package/dist-es/commands/ListPermissionsCommand.js +0 -1
  64. package/dist-es/commands/ListTagsCommand.js +0 -1
  65. package/dist-es/commands/PutPolicyCommand.js +0 -1
  66. package/dist-es/commands/RestoreCertificateAuthorityCommand.js +0 -1
  67. package/dist-es/commands/RevokeCertificateCommand.js +0 -1
  68. package/dist-es/commands/TagCertificateAuthorityCommand.js +0 -1
  69. package/dist-es/commands/UntagCertificateAuthorityCommand.js +0 -1
  70. package/dist-es/commands/UpdateCertificateAuthorityCommand.js +0 -1
  71. package/dist-es/commands/index.js +23 -0
  72. package/dist-es/endpoints.js +1 -2
  73. package/dist-es/index.js +5 -33
  74. package/dist-es/models/index.js +0 -1
  75. package/dist-es/models/models_0.js +0 -1
  76. package/dist-es/pagination/Interfaces.js +0 -1
  77. package/dist-es/pagination/ListCertificateAuthoritiesPaginator.js +0 -1
  78. package/dist-es/pagination/ListPermissionsPaginator.js +0 -1
  79. package/dist-es/pagination/ListTagsPaginator.js +0 -1
  80. package/dist-es/pagination/index.js +4 -0
  81. package/dist-es/protocols/Aws_json1_1.js +0 -1
  82. package/dist-es/runtimeConfig.browser.js +1 -2
  83. package/dist-es/runtimeConfig.js +2 -3
  84. package/dist-es/runtimeConfig.native.js +0 -1
  85. package/dist-es/runtimeConfig.shared.js +0 -1
  86. package/dist-es/waiters/index.js +3 -0
  87. package/dist-es/waiters/waitForAuditReportCreated.js +0 -1
  88. package/dist-es/waiters/waitForCertificateAuthorityCSRCreated.js +0 -1
  89. package/dist-es/waiters/waitForCertificateIssued.js +0 -1
  90. package/dist-types/commands/index.d.ts +23 -0
  91. package/dist-types/index.d.ts +5 -32
  92. package/dist-types/pagination/index.d.ts +4 -0
  93. package/dist-types/ts3.4/ACMPCA.d.ts +24 -563
  94. package/dist-types/ts3.4/ACMPCAClient.d.ts +24 -106
  95. package/dist-types/ts3.4/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +2 -35
  96. package/dist-types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +2 -40
  97. package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +2 -46
  98. package/dist-types/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +2 -39
  99. package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +2 -48
  100. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -54
  101. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +2 -23
  102. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +2 -60
  103. package/dist-types/ts3.4/commands/GetCertificateAuthorityCertificateCommand.d.ts +2 -23
  104. package/dist-types/ts3.4/commands/GetCertificateAuthorityCsrCommand.d.ts +2 -24
  105. package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +2 -27
  106. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +2 -50
  107. package/dist-types/ts3.4/commands/ImportCertificateAuthorityCertificateCommand.d.ts +2 -147
  108. package/dist-types/ts3.4/commands/IssueCertificateCommand.d.ts +2 -27
  109. package/dist-types/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +2 -47
  111. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -23
  112. package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +2 -51
  113. package/dist-types/ts3.4/commands/RestoreCertificateAuthorityCommand.d.ts +2 -30
  114. package/dist-types/ts3.4/commands/RevokeCertificateCommand.d.ts +2 -39
  115. package/dist-types/ts3.4/commands/TagCertificateAuthorityCommand.d.ts +2 -27
  116. package/dist-types/ts3.4/commands/UntagCertificateAuthorityCommand.d.ts +2 -24
  117. package/dist-types/ts3.4/commands/UpdateCertificateAuthorityCommand.d.ts +2 -30
  118. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  119. package/dist-types/ts3.4/index.d.ts +5 -32
  120. package/dist-types/ts3.4/models/models_0.d.ts +289 -1432
  121. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  122. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  123. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  124. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  125. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  126. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  127. package/dist-types/ts3.4/waiters/waitForAuditReportCreated.d.ts +2 -9
  128. package/dist-types/ts3.4/waiters/waitForCertificateAuthorityCSRCreated.d.ts +2 -9
  129. package/dist-types/ts3.4/waiters/waitForCertificateIssued.d.ts +2 -9
  130. package/dist-types/waiters/index.d.ts +3 -0
  131. package/package.json +34 -31
  132. package/dist-cjs/ACMPCA.js.map +0 -1
  133. package/dist-cjs/ACMPCAClient.js.map +0 -1
  134. package/dist-cjs/commands/CreateCertificateAuthorityAuditReportCommand.js.map +0 -1
  135. package/dist-cjs/commands/CreateCertificateAuthorityCommand.js.map +0 -1
  136. package/dist-cjs/commands/CreatePermissionCommand.js.map +0 -1
  137. package/dist-cjs/commands/DeleteCertificateAuthorityCommand.js.map +0 -1
  138. package/dist-cjs/commands/DeletePermissionCommand.js.map +0 -1
  139. package/dist-cjs/commands/DeletePolicyCommand.js.map +0 -1
  140. package/dist-cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +0 -1
  141. package/dist-cjs/commands/DescribeCertificateAuthorityCommand.js.map +0 -1
  142. package/dist-cjs/commands/GetCertificateAuthorityCertificateCommand.js.map +0 -1
  143. package/dist-cjs/commands/GetCertificateAuthorityCsrCommand.js.map +0 -1
  144. package/dist-cjs/commands/GetCertificateCommand.js.map +0 -1
  145. package/dist-cjs/commands/GetPolicyCommand.js.map +0 -1
  146. package/dist-cjs/commands/ImportCertificateAuthorityCertificateCommand.js.map +0 -1
  147. package/dist-cjs/commands/IssueCertificateCommand.js.map +0 -1
  148. package/dist-cjs/commands/ListCertificateAuthoritiesCommand.js.map +0 -1
  149. package/dist-cjs/commands/ListPermissionsCommand.js.map +0 -1
  150. package/dist-cjs/commands/ListTagsCommand.js.map +0 -1
  151. package/dist-cjs/commands/PutPolicyCommand.js.map +0 -1
  152. package/dist-cjs/commands/RestoreCertificateAuthorityCommand.js.map +0 -1
  153. package/dist-cjs/commands/RevokeCertificateCommand.js.map +0 -1
  154. package/dist-cjs/commands/TagCertificateAuthorityCommand.js.map +0 -1
  155. package/dist-cjs/commands/UntagCertificateAuthorityCommand.js.map +0 -1
  156. package/dist-cjs/commands/UpdateCertificateAuthorityCommand.js.map +0 -1
  157. package/dist-cjs/endpoints.js.map +0 -1
  158. package/dist-cjs/index.js.map +0 -1
  159. package/dist-cjs/models/index.js.map +0 -1
  160. package/dist-cjs/models/models_0.js.map +0 -1
  161. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  162. package/dist-cjs/pagination/ListCertificateAuthoritiesPaginator.js.map +0 -1
  163. package/dist-cjs/pagination/ListPermissionsPaginator.js.map +0 -1
  164. package/dist-cjs/pagination/ListTagsPaginator.js.map +0 -1
  165. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  166. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  167. package/dist-cjs/runtimeConfig.js.map +0 -1
  168. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  169. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  170. package/dist-cjs/waiters/waitForAuditReportCreated.js.map +0 -1
  171. package/dist-cjs/waiters/waitForCertificateAuthorityCSRCreated.js.map +0 -1
  172. package/dist-cjs/waiters/waitForCertificateIssued.js.map +0 -1
  173. package/dist-es/ACMPCA.js.map +0 -1
  174. package/dist-es/ACMPCAClient.js.map +0 -1
  175. package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js.map +0 -1
  176. package/dist-es/commands/CreateCertificateAuthorityCommand.js.map +0 -1
  177. package/dist-es/commands/CreatePermissionCommand.js.map +0 -1
  178. package/dist-es/commands/DeleteCertificateAuthorityCommand.js.map +0 -1
  179. package/dist-es/commands/DeletePermissionCommand.js.map +0 -1
  180. package/dist-es/commands/DeletePolicyCommand.js.map +0 -1
  181. package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +0 -1
  182. package/dist-es/commands/DescribeCertificateAuthorityCommand.js.map +0 -1
  183. package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js.map +0 -1
  184. package/dist-es/commands/GetCertificateAuthorityCsrCommand.js.map +0 -1
  185. package/dist-es/commands/GetCertificateCommand.js.map +0 -1
  186. package/dist-es/commands/GetPolicyCommand.js.map +0 -1
  187. package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js.map +0 -1
  188. package/dist-es/commands/IssueCertificateCommand.js.map +0 -1
  189. package/dist-es/commands/ListCertificateAuthoritiesCommand.js.map +0 -1
  190. package/dist-es/commands/ListPermissionsCommand.js.map +0 -1
  191. package/dist-es/commands/ListTagsCommand.js.map +0 -1
  192. package/dist-es/commands/PutPolicyCommand.js.map +0 -1
  193. package/dist-es/commands/RestoreCertificateAuthorityCommand.js.map +0 -1
  194. package/dist-es/commands/RevokeCertificateCommand.js.map +0 -1
  195. package/dist-es/commands/TagCertificateAuthorityCommand.js.map +0 -1
  196. package/dist-es/commands/UntagCertificateAuthorityCommand.js.map +0 -1
  197. package/dist-es/commands/UpdateCertificateAuthorityCommand.js.map +0 -1
  198. package/dist-es/endpoints.js.map +0 -1
  199. package/dist-es/index.js.map +0 -1
  200. package/dist-es/models/index.js.map +0 -1
  201. package/dist-es/models/models_0.js.map +0 -1
  202. package/dist-es/pagination/Interfaces.js.map +0 -1
  203. package/dist-es/pagination/ListCertificateAuthoritiesPaginator.js.map +0 -1
  204. package/dist-es/pagination/ListPermissionsPaginator.js.map +0 -1
  205. package/dist-es/pagination/ListTagsPaginator.js.map +0 -1
  206. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  207. package/dist-es/runtimeConfig.browser.js.map +0 -1
  208. package/dist-es/runtimeConfig.js.map +0 -1
  209. package/dist-es/runtimeConfig.native.js.map +0 -1
  210. package/dist-es/runtimeConfig.shared.js.map +0 -1
  211. package/dist-es/waiters/waitForAuditReportCreated.js.map +0 -1
  212. package/dist-es/waiters/waitForCertificateAuthorityCSRCreated.js.map +0 -1
  213. package/dist-es/waiters/waitForCertificateIssued.js.map +0 -1
  214. package/jest.config.js +0 -4
  215. package/src/ACMPCA.ts +0 -1323
  216. package/src/ACMPCAClient.ts +0 -361
  217. package/src/commands/CreateCertificateAuthorityAuditReportCommand.ts +0 -122
  218. package/src/commands/CreateCertificateAuthorityCommand.ts +0 -118
  219. package/src/commands/CreatePermissionCommand.ts +0 -121
  220. package/src/commands/DeleteCertificateAuthorityCommand.ts +0 -117
  221. package/src/commands/DeletePermissionCommand.ts +0 -123
  222. package/src/commands/DeletePolicyCommand.ts +0 -129
  223. package/src/commands/DescribeCertificateAuthorityAuditReportCommand.ts +0 -113
  224. package/src/commands/DescribeCertificateAuthorityCommand.ts +0 -140
  225. package/src/commands/GetCertificateAuthorityCertificateCommand.ts +0 -109
  226. package/src/commands/GetCertificateAuthorityCsrCommand.ts +0 -102
  227. package/src/commands/GetCertificateCommand.ts +0 -102
  228. package/src/commands/GetPolicyCommand.ts +0 -122
  229. package/src/commands/ImportCertificateAuthorityCertificateCommand.ts +0 -229
  230. package/src/commands/IssueCertificateCommand.ts +0 -102
  231. package/src/commands/ListCertificateAuthoritiesCommand.ts +0 -98
  232. package/src/commands/ListPermissionsCommand.ts +0 -122
  233. package/src/commands/ListTagsCommand.ts +0 -91
  234. package/src/commands/PutPolicyCommand.ts +0 -123
  235. package/src/commands/RestoreCertificateAuthorityCommand.ts +0 -108
  236. package/src/commands/RevokeCertificateCommand.ts +0 -114
  237. package/src/commands/TagCertificateAuthorityCommand.ts +0 -102
  238. package/src/commands/UntagCertificateAuthorityCommand.ts +0 -102
  239. package/src/commands/UpdateCertificateAuthorityCommand.ts +0 -108
  240. package/src/endpoints.ts +0 -91
  241. package/src/index.ts +0 -33
  242. package/src/models/index.ts +0 -1
  243. package/src/models/models_0.ts +0 -2571
  244. package/src/pagination/Interfaces.ts +0 -8
  245. package/src/pagination/ListCertificateAuthoritiesPaginator.ts +0 -59
  246. package/src/pagination/ListPermissionsPaginator.ts +0 -59
  247. package/src/pagination/ListTagsPaginator.ts +0 -55
  248. package/src/protocols/Aws_json1_1.ts +0 -3845
  249. package/src/runtimeConfig.browser.ts +0 -41
  250. package/src/runtimeConfig.native.ts +0 -17
  251. package/src/runtimeConfig.shared.ts +0 -17
  252. package/src/runtimeConfig.ts +0 -46
  253. package/src/waiters/waitForAuditReportCreated.ts +0 -61
  254. package/src/waiters/waitForCertificateAuthorityCSRCreated.ts +0 -49
  255. package/src/waiters/waitForCertificateIssued.ts +0 -43
  256. package/tsconfig.es.json +0 -10
  257. package/tsconfig.json +0 -33
  258. package/tsconfig.types.json +0 -9
@@ -5,45 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Restores a certificate authority (CA) that is in the <code>DELETED</code> state. You
10
- * can restore a CA during the period that you defined in the <b>PermanentDeletionTimeInDays</b> parameter of the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeleteCertificateAuthority.html">DeleteCertificateAuthority</a> action. Currently, you can specify 7 to 30 days.
11
- * If you did not specify a <b>PermanentDeletionTimeInDays</b>
12
- * value, by default you can restore the CA at any time in a 30 day period. You can check
13
- * the time remaining in the restoration period of a private CA in the <code>DELETED</code>
14
- * state by calling the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DescribeCertificateAuthority.html">DescribeCertificateAuthority</a> or <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a> actions. The status of a restored CA is set to
15
- * its pre-deletion status when the <b>RestoreCertificateAuthority</b> action returns. To change its status to
16
- * <code>ACTIVE</code>, call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_UpdateCertificateAuthority.html">UpdateCertificateAuthority</a> action. If the private CA was in the
17
- * <code>PENDING_CERTIFICATE</code> state at deletion, you must use the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ImportCertificateAuthorityCertificate.html">ImportCertificateAuthorityCertificate</a> action to import a certificate
18
- * authority into the private CA before it can be activated. You cannot restore a CA after
19
- * the restoration period has ended.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { ACMPCAClient, RestoreCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
24
- * // const { ACMPCAClient, RestoreCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
25
- * const client = new ACMPCAClient(config);
26
- * const command = new RestoreCertificateAuthorityCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link RestoreCertificateAuthorityCommandInput} for command's `input` shape.
31
- * @see {@link RestoreCertificateAuthorityCommandOutput} for command's `response` shape.
32
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class RestoreCertificateAuthorityCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -68,4 +34,3 @@ class RestoreCertificateAuthorityCommand extends smithy_client_1.Command {
68
34
  }
69
35
  }
70
36
  exports.RestoreCertificateAuthorityCommand = RestoreCertificateAuthorityCommand;
71
- //# sourceMappingURL=RestoreCertificateAuthorityCommand.js.map
@@ -5,54 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Revokes a certificate that was issued inside ACM Private CA. If you enable a certificate
10
- * revocation list (CRL) when you create or update your private CA, information about the
11
- * revoked certificates will be included in the CRL. ACM Private CA writes the CRL to an S3 bucket
12
- * that you specify. A CRL is typically updated approximately 30 minutes after a
13
- * certificate is revoked. If for any reason the CRL update fails, ACM Private CA attempts makes
14
- * further attempts every 15 minutes. With Amazon CloudWatch, you can create alarms for the
15
- * metrics <code>CRLGenerated</code> and <code>MisconfiguredCRLBucket</code>. For more
16
- * information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaCloudWatch.html">Supported CloudWatch Metrics</a>.</p>
17
- * <note>
18
- * <p>Both PCA and the IAM principal must have permission to write to
19
- * the S3 bucket that you specify. If the IAM principal making the call
20
- * does not have permission to write to the bucket, then an exception is
21
- * thrown. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuthAccess.html">Configure
22
- * Access to ACM Private CA</a>.</p>
23
- * </note>
24
- * <p>ACM Private CA also writes
25
- * revocation information to the audit report. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html">CreateCertificateAuthorityAuditReport</a>.</p>
26
- * <note>
27
- * <p>You cannot revoke a root CA self-signed certificate.</p>
28
- * </note>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ACMPCAClient, RevokeCertificateCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
33
- * // const { ACMPCAClient, RevokeCertificateCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
34
- * const client = new ACMPCAClient(config);
35
- * const command = new RevokeCertificateCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link RevokeCertificateCommandInput} for command's `input` shape.
40
- * @see {@link RevokeCertificateCommandOutput} for command's `response` shape.
41
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
8
  class RevokeCertificateCommand extends smithy_client_1.Command {
45
- // Start section: command_properties
46
- // End section: command_properties
47
9
  constructor(input) {
48
- // Start section: command_constructor
49
10
  super();
50
11
  this.input = input;
51
- // End section: command_constructor
52
12
  }
53
- /**
54
- * @internal
55
- */
56
13
  resolveMiddleware(clientStack, configuration, options) {
57
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
58
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -77,4 +34,3 @@ class RevokeCertificateCommand extends smithy_client_1.Command {
77
34
  }
78
35
  }
79
36
  exports.RevokeCertificateCommand = RevokeCertificateCommand;
80
- //# sourceMappingURL=RevokeCertificateCommand.js.map
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Adds one or more tags to your private CA. Tags are labels that you can use to identify
10
- * and organize your AWS resources. Each tag consists of a key and an optional value. You
11
- * specify the private CA on input by its Amazon Resource Name (ARN). You specify the tag
12
- * by using a key-value pair. You can apply a tag to just one private CA if you want to
13
- * identify a specific characteristic of that CA, or you can apply the same tag to multiple
14
- * private CAs if you want to filter for a common relationship among those CAs. To remove
15
- * one or more tags, use the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_UntagCertificateAuthority.html">UntagCertificateAuthority</a> action. Call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListTags.html">ListTags</a> action to see what tags are
16
- * associated with your CA. </p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { ACMPCAClient, TagCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
21
- * // const { ACMPCAClient, TagCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
22
- * const client = new ACMPCAClient(config);
23
- * const command = new TagCertificateAuthorityCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link TagCertificateAuthorityCommandInput} for command's `input` shape.
28
- * @see {@link TagCertificateAuthorityCommandOutput} for command's `response` shape.
29
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class TagCertificateAuthorityCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +34,3 @@ class TagCertificateAuthorityCommand extends smithy_client_1.Command {
65
34
  }
66
35
  }
67
36
  exports.TagCertificateAuthorityCommand = TagCertificateAuthorityCommand;
68
- //# sourceMappingURL=TagCertificateAuthorityCommand.js.map
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Remove one or more tags from your private CA. A tag consists of a key-value pair. If
10
- * you do not specify the value portion of the tag when calling this action, the tag will
11
- * be removed regardless of value. If you specify a value, the tag is removed only if it is
12
- * associated with the specified value. To add tags to a private CA, use the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_TagCertificateAuthority.html">TagCertificateAuthority</a>. Call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListTags.html">ListTags</a> action to see what tags are
13
- * associated with your CA. </p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { ACMPCAClient, UntagCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
18
- * // const { ACMPCAClient, UntagCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
19
- * const client = new ACMPCAClient(config);
20
- * const command = new UntagCertificateAuthorityCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link UntagCertificateAuthorityCommandInput} for command's `input` shape.
25
- * @see {@link UntagCertificateAuthorityCommandOutput} for command's `response` shape.
26
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class UntagCertificateAuthorityCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class UntagCertificateAuthorityCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.UntagCertificateAuthorityCommand = UntagCertificateAuthorityCommand;
65
- //# sourceMappingURL=UntagCertificateAuthorityCommand.js.map
@@ -5,45 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Updates the status or configuration of a private certificate authority (CA). Your
10
- * private CA must be in the <code>ACTIVE</code> or <code>DISABLED</code> state before you
11
- * can update it. You can disable a private CA that is in the <code>ACTIVE</code> state or
12
- * make a CA that is in the <code>DISABLED</code> state active again.</p>
13
- * <note>
14
- * <p>Both PCA and the IAM principal must have permission to write to
15
- * the S3 bucket that you specify. If the IAM principal making the call
16
- * does not have permission to write to the bucket, then an exception is
17
- * thrown. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuthAccess.html">Configure
18
- * Access to ACM Private CA</a>.</p>
19
- * </note>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { ACMPCAClient, UpdateCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
24
- * // const { ACMPCAClient, UpdateCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
25
- * const client = new ACMPCAClient(config);
26
- * const command = new UpdateCertificateAuthorityCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link UpdateCertificateAuthorityCommandInput} for command's `input` shape.
31
- * @see {@link UpdateCertificateAuthorityCommandOutput} for command's `response` shape.
32
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class UpdateCertificateAuthorityCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -68,4 +34,3 @@ class UpdateCertificateAuthorityCommand extends smithy_client_1.Command {
68
34
  }
69
35
  }
70
36
  exports.UpdateCertificateAuthorityCommand = UpdateCertificateAuthorityCommand;
71
- //# sourceMappingURL=UpdateCertificateAuthorityCommand.js.map
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateCertificateAuthorityAuditReportCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateCertificateAuthorityCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreatePermissionCommand"), exports);
7
+ tslib_1.__exportStar(require("./DeleteCertificateAuthorityCommand"), exports);
8
+ tslib_1.__exportStar(require("./DeletePermissionCommand"), exports);
9
+ tslib_1.__exportStar(require("./DeletePolicyCommand"), exports);
10
+ tslib_1.__exportStar(require("./DescribeCertificateAuthorityAuditReportCommand"), exports);
11
+ tslib_1.__exportStar(require("./DescribeCertificateAuthorityCommand"), exports);
12
+ tslib_1.__exportStar(require("./GetCertificateAuthorityCertificateCommand"), exports);
13
+ tslib_1.__exportStar(require("./GetCertificateAuthorityCsrCommand"), exports);
14
+ tslib_1.__exportStar(require("./GetCertificateCommand"), exports);
15
+ tslib_1.__exportStar(require("./GetPolicyCommand"), exports);
16
+ tslib_1.__exportStar(require("./ImportCertificateAuthorityCertificateCommand"), exports);
17
+ tslib_1.__exportStar(require("./IssueCertificateCommand"), exports);
18
+ tslib_1.__exportStar(require("./ListCertificateAuthoritiesCommand"), exports);
19
+ tslib_1.__exportStar(require("./ListPermissionsCommand"), exports);
20
+ tslib_1.__exportStar(require("./ListTagsCommand"), exports);
21
+ tslib_1.__exportStar(require("./PutPolicyCommand"), exports);
22
+ tslib_1.__exportStar(require("./RestoreCertificateAuthorityCommand"), exports);
23
+ tslib_1.__exportStar(require("./RevokeCertificateCommand"), exports);
24
+ tslib_1.__exportStar(require("./TagCertificateAuthorityCommand"), exports);
25
+ tslib_1.__exportStar(require("./UntagCertificateAuthorityCommand"), exports);
26
+ tslib_1.__exportStar(require("./UpdateCertificateAuthorityCommand"), exports);
@@ -69,7 +69,7 @@ const partitionHash = {
69
69
  hostname: "acm-pca.{region}.amazonaws.com.cn",
70
70
  },
71
71
  "aws-iso": {
72
- regions: ["us-iso-east-1"],
72
+ regions: ["us-iso-east-1", "us-iso-west-1"],
73
73
  hostname: "acm-pca.{region}.c2s.ic.gov",
74
74
  },
75
75
  "aws-iso-b": {
@@ -88,4 +88,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
88
88
  partitionHash,
89
89
  });
90
90
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
91
- //# sourceMappingURL=endpoints.js.map
package/dist-cjs/index.js CHANGED
@@ -1,37 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./ACMPCAClient"), exports);
5
4
  tslib_1.__exportStar(require("./ACMPCA"), exports);
6
- tslib_1.__exportStar(require("./commands/CreateCertificateAuthorityCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/CreateCertificateAuthorityAuditReportCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreatePermissionCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/DeleteCertificateAuthorityCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/DeletePermissionCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/DeletePolicyCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/DescribeCertificateAuthorityCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/DescribeCertificateAuthorityAuditReportCommand"), exports);
14
- tslib_1.__exportStar(require("./waiters/waitForAuditReportCreated"), exports);
15
- tslib_1.__exportStar(require("./commands/GetCertificateCommand"), exports);
16
- tslib_1.__exportStar(require("./waiters/waitForCertificateIssued"), exports);
17
- tslib_1.__exportStar(require("./commands/GetCertificateAuthorityCertificateCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/GetCertificateAuthorityCsrCommand"), exports);
19
- tslib_1.__exportStar(require("./waiters/waitForCertificateAuthorityCSRCreated"), exports);
20
- tslib_1.__exportStar(require("./commands/GetPolicyCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/ImportCertificateAuthorityCertificateCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/IssueCertificateCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/ListCertificateAuthoritiesCommand"), exports);
24
- tslib_1.__exportStar(require("./pagination/ListCertificateAuthoritiesPaginator"), exports);
25
- tslib_1.__exportStar(require("./commands/ListPermissionsCommand"), exports);
26
- tslib_1.__exportStar(require("./pagination/ListPermissionsPaginator"), exports);
27
- tslib_1.__exportStar(require("./commands/ListTagsCommand"), exports);
28
- tslib_1.__exportStar(require("./pagination/ListTagsPaginator"), exports);
29
- tslib_1.__exportStar(require("./commands/PutPolicyCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/RestoreCertificateAuthorityCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/RevokeCertificateCommand"), exports);
32
- tslib_1.__exportStar(require("./commands/TagCertificateAuthorityCommand"), exports);
33
- tslib_1.__exportStar(require("./commands/UntagCertificateAuthorityCommand"), exports);
34
- tslib_1.__exportStar(require("./commands/UpdateCertificateAuthorityCommand"), exports);
35
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
36
- tslib_1.__exportStar(require("./models/index"), exports);
37
- //# sourceMappingURL=index.js.map
5
+ tslib_1.__exportStar(require("./ACMPCAClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./waiters"), exports);
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map