@aws-sdk/client-acm-pca 3.30.0 → 3.34.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 (158) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/ACMPCAClient.js +13 -13
  3. package/dist/cjs/ACMPCAClient.js.map +1 -1
  4. package/dist/cjs/commands/CreateCertificateAuthorityAuditReportCommand.js +3 -3
  5. package/dist/cjs/commands/CreateCertificateAuthorityAuditReportCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateCertificateAuthorityCommand.js +3 -3
  7. package/dist/cjs/commands/CreateCertificateAuthorityCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreatePermissionCommand.js +3 -3
  9. package/dist/cjs/commands/CreatePermissionCommand.js.map +1 -1
  10. package/dist/cjs/commands/DeleteCertificateAuthorityCommand.js +3 -3
  11. package/dist/cjs/commands/DeleteCertificateAuthorityCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeletePermissionCommand.js +3 -3
  13. package/dist/cjs/commands/DeletePermissionCommand.js.map +1 -1
  14. package/dist/cjs/commands/DeletePolicyCommand.js +3 -3
  15. package/dist/cjs/commands/DeletePolicyCommand.js.map +1 -1
  16. package/dist/cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js +3 -3
  17. package/dist/cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +1 -1
  18. package/dist/cjs/commands/DescribeCertificateAuthorityCommand.js +3 -3
  19. package/dist/cjs/commands/DescribeCertificateAuthorityCommand.js.map +1 -1
  20. package/dist/cjs/commands/GetCertificateAuthorityCertificateCommand.js +3 -3
  21. package/dist/cjs/commands/GetCertificateAuthorityCertificateCommand.js.map +1 -1
  22. package/dist/cjs/commands/GetCertificateAuthorityCsrCommand.js +3 -3
  23. package/dist/cjs/commands/GetCertificateAuthorityCsrCommand.js.map +1 -1
  24. package/dist/cjs/commands/GetCertificateCommand.js +3 -3
  25. package/dist/cjs/commands/GetCertificateCommand.js.map +1 -1
  26. package/dist/cjs/commands/GetPolicyCommand.js +3 -3
  27. package/dist/cjs/commands/GetPolicyCommand.js.map +1 -1
  28. package/dist/cjs/commands/ImportCertificateAuthorityCertificateCommand.js +3 -3
  29. package/dist/cjs/commands/ImportCertificateAuthorityCertificateCommand.js.map +1 -1
  30. package/dist/cjs/commands/IssueCertificateCommand.js +3 -3
  31. package/dist/cjs/commands/IssueCertificateCommand.js.map +1 -1
  32. package/dist/cjs/commands/ListCertificateAuthoritiesCommand.js +3 -3
  33. package/dist/cjs/commands/ListCertificateAuthoritiesCommand.js.map +1 -1
  34. package/dist/cjs/commands/ListPermissionsCommand.js +3 -3
  35. package/dist/cjs/commands/ListPermissionsCommand.js.map +1 -1
  36. package/dist/cjs/commands/ListTagsCommand.js +3 -3
  37. package/dist/cjs/commands/ListTagsCommand.js.map +1 -1
  38. package/dist/cjs/commands/PutPolicyCommand.js +3 -3
  39. package/dist/cjs/commands/PutPolicyCommand.js.map +1 -1
  40. package/dist/cjs/commands/RestoreCertificateAuthorityCommand.js +3 -3
  41. package/dist/cjs/commands/RestoreCertificateAuthorityCommand.js.map +1 -1
  42. package/dist/cjs/commands/RevokeCertificateCommand.js +3 -3
  43. package/dist/cjs/commands/RevokeCertificateCommand.js.map +1 -1
  44. package/dist/cjs/commands/TagCertificateAuthorityCommand.js +3 -3
  45. package/dist/cjs/commands/TagCertificateAuthorityCommand.js.map +1 -1
  46. package/dist/cjs/commands/UntagCertificateAuthorityCommand.js +3 -3
  47. package/dist/cjs/commands/UntagCertificateAuthorityCommand.js.map +1 -1
  48. package/dist/cjs/commands/UpdateCertificateAuthorityCommand.js +3 -3
  49. package/dist/cjs/commands/UpdateCertificateAuthorityCommand.js.map +1 -1
  50. package/dist/cjs/endpoints.js +1 -1
  51. package/dist/cjs/endpoints.js.map +1 -1
  52. package/dist/cjs/index.js +33 -33
  53. package/dist/cjs/index.js.map +1 -1
  54. package/dist/cjs/models/index.js +1 -1
  55. package/dist/cjs/models/index.js.map +1 -1
  56. package/dist/cjs/package.json +40 -40
  57. package/dist/cjs/protocols/Aws_json1_1.js +99 -99
  58. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  59. package/dist/cjs/runtimeConfig.browser.js +4 -4
  60. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  61. package/dist/cjs/runtimeConfig.js +8 -8
  62. package/dist/cjs/runtimeConfig.js.map +1 -1
  63. package/dist/cjs/runtimeConfig.native.js +1 -1
  64. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  65. package/dist/cjs/waiters/waitForAuditReportCreated.js +3 -3
  66. package/dist/cjs/waiters/waitForAuditReportCreated.js.map +1 -1
  67. package/dist/cjs/waiters/waitForCertificateAuthorityCSRCreated.js +3 -3
  68. package/dist/cjs/waiters/waitForCertificateAuthorityCSRCreated.js.map +1 -1
  69. package/dist/cjs/waiters/waitForCertificateIssued.js +3 -3
  70. package/dist/cjs/waiters/waitForCertificateIssued.js.map +1 -1
  71. package/dist/es/ACMPCA.js +1 -21
  72. package/dist/es/ACMPCA.js.map +1 -1
  73. package/dist/es/ACMPCAClient.js +1 -26
  74. package/dist/es/ACMPCAClient.js.map +1 -1
  75. package/dist/es/commands/CreateCertificateAuthorityAuditReportCommand.js +2 -42
  76. package/dist/es/commands/CreateCertificateAuthorityAuditReportCommand.js.map +1 -1
  77. package/dist/es/commands/CreateCertificateAuthorityCommand.js +2 -47
  78. package/dist/es/commands/CreateCertificateAuthorityCommand.js.map +1 -1
  79. package/dist/es/commands/CreatePermissionCommand.js +2 -53
  80. package/dist/es/commands/CreatePermissionCommand.js.map +1 -1
  81. package/dist/es/commands/DeleteCertificateAuthorityCommand.js +2 -46
  82. package/dist/es/commands/DeleteCertificateAuthorityCommand.js.map +1 -1
  83. package/dist/es/commands/DeletePermissionCommand.js +2 -55
  84. package/dist/es/commands/DeletePermissionCommand.js.map +1 -1
  85. package/dist/es/commands/DeletePolicyCommand.js +2 -61
  86. package/dist/es/commands/DeletePolicyCommand.js.map +1 -1
  87. package/dist/es/commands/DescribeCertificateAuthorityAuditReportCommand.js +2 -30
  88. package/dist/es/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +1 -1
  89. package/dist/es/commands/DescribeCertificateAuthorityCommand.js +2 -67
  90. package/dist/es/commands/DescribeCertificateAuthorityCommand.js.map +1 -1
  91. package/dist/es/commands/GetCertificateAuthorityCertificateCommand.js +2 -30
  92. package/dist/es/commands/GetCertificateAuthorityCertificateCommand.js.map +1 -1
  93. package/dist/es/commands/GetCertificateAuthorityCsrCommand.js +2 -31
  94. package/dist/es/commands/GetCertificateAuthorityCsrCommand.js.map +1 -1
  95. package/dist/es/commands/GetCertificateCommand.js +2 -34
  96. package/dist/es/commands/GetCertificateCommand.js.map +1 -1
  97. package/dist/es/commands/GetPolicyCommand.js +2 -57
  98. package/dist/es/commands/GetPolicyCommand.js.map +1 -1
  99. package/dist/es/commands/ImportCertificateAuthorityCertificateCommand.js +2 -154
  100. package/dist/es/commands/ImportCertificateAuthorityCertificateCommand.js.map +1 -1
  101. package/dist/es/commands/IssueCertificateCommand.js +2 -34
  102. package/dist/es/commands/IssueCertificateCommand.js.map +1 -1
  103. package/dist/es/commands/ListCertificateAuthoritiesCommand.js +2 -27
  104. package/dist/es/commands/ListCertificateAuthoritiesCommand.js.map +1 -1
  105. package/dist/es/commands/ListPermissionsCommand.js +2 -54
  106. package/dist/es/commands/ListPermissionsCommand.js.map +1 -1
  107. package/dist/es/commands/ListTagsCommand.js +2 -30
  108. package/dist/es/commands/ListTagsCommand.js.map +1 -1
  109. package/dist/es/commands/PutPolicyCommand.js +2 -58
  110. package/dist/es/commands/PutPolicyCommand.js.map +1 -1
  111. package/dist/es/commands/RestoreCertificateAuthorityCommand.js +2 -37
  112. package/dist/es/commands/RestoreCertificateAuthorityCommand.js.map +1 -1
  113. package/dist/es/commands/RevokeCertificateCommand.js +2 -46
  114. package/dist/es/commands/RevokeCertificateCommand.js.map +1 -1
  115. package/dist/es/commands/TagCertificateAuthorityCommand.js +2 -34
  116. package/dist/es/commands/TagCertificateAuthorityCommand.js.map +1 -1
  117. package/dist/es/commands/UntagCertificateAuthorityCommand.js +2 -31
  118. package/dist/es/commands/UntagCertificateAuthorityCommand.js.map +1 -1
  119. package/dist/es/commands/UpdateCertificateAuthorityCommand.js +2 -37
  120. package/dist/es/commands/UpdateCertificateAuthorityCommand.js.map +1 -1
  121. package/dist/es/endpoints.js +1 -1
  122. package/dist/es/endpoints.js.map +1 -1
  123. package/dist/es/models/models_0.js +0 -228
  124. package/dist/es/models/models_0.js.map +1 -1
  125. package/dist/es/package.json +40 -40
  126. package/dist/es/pagination/ListCertificateAuthoritiesPaginator.js +16 -28
  127. package/dist/es/pagination/ListCertificateAuthoritiesPaginator.js.map +1 -1
  128. package/dist/es/pagination/ListPermissionsPaginator.js +16 -28
  129. package/dist/es/pagination/ListPermissionsPaginator.js.map +1 -1
  130. package/dist/es/pagination/ListTagsPaginator.js +16 -28
  131. package/dist/es/pagination/ListTagsPaginator.js.map +1 -1
  132. package/dist/es/protocols/Aws_json1_1.js +630 -635
  133. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  134. package/dist/es/runtimeConfig.browser.js +0 -3
  135. package/dist/es/runtimeConfig.browser.js.map +1 -1
  136. package/dist/es/runtimeConfig.js +0 -3
  137. package/dist/es/runtimeConfig.js.map +1 -1
  138. package/dist/es/runtimeConfig.native.js +0 -3
  139. package/dist/es/runtimeConfig.native.js.map +1 -1
  140. package/dist/es/runtimeConfig.shared.js +0 -3
  141. package/dist/es/runtimeConfig.shared.js.map +1 -1
  142. package/dist/es/waiters/waitForAuditReportCreated.js +9 -18
  143. package/dist/es/waiters/waitForAuditReportCreated.js.map +1 -1
  144. package/dist/es/waiters/waitForCertificateAuthorityCSRCreated.js +8 -17
  145. package/dist/es/waiters/waitForCertificateAuthorityCSRCreated.js.map +1 -1
  146. package/dist/es/waiters/waitForCertificateIssued.js +8 -17
  147. package/dist/es/waiters/waitForCertificateIssued.js.map +1 -1
  148. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  149. package/dist/types/runtimeConfig.d.ts +1 -0
  150. package/dist/types/runtimeConfig.native.d.ts +1 -0
  151. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  152. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  153. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  154. package/package.json +40 -40
  155. package/protocols/Aws_json1_1.ts +10 -7
  156. package/tsconfig.es.json +0 -2
  157. package/tsconfig.json +3 -5
  158. package/tsconfig.types.json +8 -0
@@ -1 +1 @@
1
- {"version":3,"file":"DeletePermissionCommand.js","sourceRoot":"","sources":["../../../commands/DeletePermissionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH;IAA6C,2CAI5C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,iCAAqB,KAAmC;QAAxD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA8B;;QAGtD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,mDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MA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json1_1DeletePolicyCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes the resource-based policy attached to a private CA. Deletion will remove any
8
- * access that the policy has granted. If there is no policy attached to the private CA,
9
- * this action will return successful.</p>
10
- * <p>If you delete a policy that was applied through AWS Resource Access Manager (RAM), the
11
- * CA will be removed from all shares in which it was included. </p>
12
- * <p>The AWS Certificate Manager Service Linked Role that the policy supports is not affected when you
13
- * delete the policy. </p>
14
- * <p>The current policy can be shown with <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_GetPolicy.html">GetPolicy</a> and updated with <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_PutPolicy.html">PutPolicy</a>.</p>
15
- * <p class="title">
16
- * <b>About Policies</b>
17
- * </p>
18
- * <ul>
19
- * <li>
20
- * <p>A policy grants access on a private CA to an AWS customer account, to AWS Organizations, or to
21
- * an AWS Organizations unit. Policies are under the control of a CA administrator. For more information,
22
- * see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource Based Policy with ACM Private CA</a>.</p>
23
- * </li>
24
- * <li>
25
- * <p>A policy permits a user of AWS Certificate Manager (ACM) to issue ACM certificates
26
- * signed by a CA in another account.</p>
27
- * </li>
28
- * <li>
29
- * <p>For ACM to manage automatic renewal of these certificates,
30
- * the ACM user must configure a Service Linked Role (SLR). The SLR allows
31
- * the ACM service to assume the identity of the user, subject to confirmation against the
32
- * ACM Private CA policy. For more information, see
33
- * <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html">Using a
34
- * Service Linked Role with ACM</a>.</p>
35
- * </li>
36
- * <li>
37
- * <p>Updates made in AWS Resource Manager (RAM) are reflected in policies. For more information,
38
- * see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html">Attach a Policy for Cross-Account
39
- * Access</a>.</p>
40
- * </li>
41
- * </ul>
42
- * @example
43
- * Use a bare-bones client and the command you need to make an API call.
44
- * ```javascript
45
- * import { ACMPCAClient, DeletePolicyCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
46
- * // const { ACMPCAClient, DeletePolicyCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
47
- * const client = new ACMPCAClient(config);
48
- * const command = new DeletePolicyCommand(input);
49
- * const response = await client.send(command);
50
- * ```
51
- *
52
- * @see {@link DeletePolicyCommandInput} for command's `input` shape.
53
- * @see {@link DeletePolicyCommandOutput} for command's `response` shape.
54
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
55
- *
56
- */
57
- var DeletePolicyCommand = /** @class */ (function (_super) {
6
+ var DeletePolicyCommand = (function (_super) {
58
7
  __extends(DeletePolicyCommand, _super);
59
- // Start section: command_properties
60
- // End section: command_properties
61
8
  function DeletePolicyCommand(input) {
62
- var _this =
63
- // Start section: command_constructor
64
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
65
10
  _this.input = input;
66
11
  return _this;
67
- // End section: command_constructor
68
12
  }
69
- /**
70
- * @internal
71
- */
72
13
  DeletePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
73
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DeletePolicyCommand.js","sourceRoot":"","sources":["../../../commands/DeletePolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uCAAS,GAAjB,UAAkB,KAA+B,EAAE,OAAuB;QACxE,OAAO,uCAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,yCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
@@ -3,41 +3,13 @@ import { DescribeCertificateAuthorityAuditReportRequest, DescribeCertificateAuth
3
3
  import { deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand, serializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Lists information about a specific audit report created by calling the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html">CreateCertificateAuthorityAuditReport</a> action. Audit information is created
8
- * every time the certificate authority (CA) private key is used. The private key is used
9
- * when you call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> action or the
10
- * <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RevokeCertificate.html">RevokeCertificate</a> action. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ACMPCAClient, DescribeCertificateAuthorityAuditReportCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
15
- * // const { ACMPCAClient, DescribeCertificateAuthorityAuditReportCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
16
- * const client = new ACMPCAClient(config);
17
- * const command = new DescribeCertificateAuthorityAuditReportCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeCertificateAuthorityAuditReportCommandInput} for command's `input` shape.
22
- * @see {@link DescribeCertificateAuthorityAuditReportCommandOutput} for command's `response` shape.
23
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var DescribeCertificateAuthorityAuditReportCommand = /** @class */ (function (_super) {
6
+ var DescribeCertificateAuthorityAuditReportCommand = (function (_super) {
27
7
  __extends(DescribeCertificateAuthorityAuditReportCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function DescribeCertificateAuthorityAuditReportCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  DescribeCertificateAuthorityAuditReportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DescribeCertificateAuthorityAuditReportCommand.js","sourceRoot":"","sources":["../../../commands/DescribeCertificateAuthorityAuditReportCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,8CAA8C,EAC9C,+CAA+C,GAChD,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,oEAAoE,EACpE,kEAAkE,GACnE,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiB7D;;;;;;;;;;;;;;;;;;;GAmBG;AACH;IAAoE,kEAInE;IACC,oCAAoC;IACpC,kCAAkC;IAElC,wDAAqB,KAA0D;QAA/E;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAqD;;QAG7E,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,0EAAiB,GAAjB,UACE,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAK9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,cAAc,CAAC;QAClC,IAAM,WAAW,GAAG,gDAAgD,CAAC;QACrE,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,8CAA8C,CAAC,kBAAkB;YAC1F,wBAAwB,EAAE,+CAA+C,CAAC,kBAAkB;SAC7F,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,kEAAS,GAAjB,UACE,KAA0D,EAC1D,OAAuB;QAEvB,OAAO,kEAAkE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;IAEO,oEAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,oEAAoE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;IAIH,qDAAC;AAAD,CAAC,AA/DD,CAAoE,QAAQ,GA+D3E"}
1
+ {"version":3,"file":"DescribeCertificateAuthorityAuditReportCommand.js","sourceRoot":"","sources":["../../../commands/DescribeCertificateAuthorityAuditReportCommand.ts"],"names":[],"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AAkE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;IAEO,oEAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,oEAAoE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;IAIH,qDAAC;AAAD,CAAC,AA/DD,CAAoE,QAAQ,GA+D3E"}
@@ -3,78 +3,13 @@ import { DescribeCertificateAuthorityRequest, DescribeCertificateAuthorityRespon
3
3
  import { deserializeAws_json1_1DescribeCertificateAuthorityCommand, serializeAws_json1_1DescribeCertificateAuthorityCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Lists information about your private certificate authority (CA) or one that has been
8
- * shared with you. You specify the private CA on input by its ARN (Amazon Resource Name).
9
- * The output contains the status of your CA. This can be any of the following: </p>
10
- * <ul>
11
- * <li>
12
- * <p>
13
- * <code>CREATING</code> - ACM Private CA is creating your private certificate
14
- * authority.</p>
15
- * </li>
16
- * <li>
17
- * <p>
18
- * <code>PENDING_CERTIFICATE</code> - The certificate is pending. You must use
19
- * your ACM Private CA-hosted or on-premises root or subordinate CA to sign your private CA
20
- * CSR and then import it into PCA. </p>
21
- * </li>
22
- * <li>
23
- * <p>
24
- * <code>ACTIVE</code> - Your private CA is active.</p>
25
- * </li>
26
- * <li>
27
- * <p>
28
- * <code>DISABLED</code> - Your private CA has been disabled.</p>
29
- * </li>
30
- * <li>
31
- * <p>
32
- * <code>EXPIRED</code> - Your private CA certificate has expired.</p>
33
- * </li>
34
- * <li>
35
- * <p>
36
- * <code>FAILED</code> - Your private CA has failed. Your CA can fail because of
37
- * problems such a network outage or back-end AWS failure or other errors. A
38
- * failed CA can never return to the pending state. You must create a new CA.
39
- * </p>
40
- * </li>
41
- * <li>
42
- * <p>
43
- * <code>DELETED</code> - Your private CA is within the restoration period, after
44
- * which it is permanently deleted. The length of time remaining in the CA's
45
- * restoration period is also included in this action's output.</p>
46
- * </li>
47
- * </ul>
48
- * @example
49
- * Use a bare-bones client and the command you need to make an API call.
50
- * ```javascript
51
- * import { ACMPCAClient, DescribeCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
52
- * // const { ACMPCAClient, DescribeCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
53
- * const client = new ACMPCAClient(config);
54
- * const command = new DescribeCertificateAuthorityCommand(input);
55
- * const response = await client.send(command);
56
- * ```
57
- *
58
- * @see {@link DescribeCertificateAuthorityCommandInput} for command's `input` shape.
59
- * @see {@link DescribeCertificateAuthorityCommandOutput} for command's `response` shape.
60
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
61
- *
62
- */
63
- var DescribeCertificateAuthorityCommand = /** @class */ (function (_super) {
6
+ var DescribeCertificateAuthorityCommand = (function (_super) {
64
7
  __extends(DescribeCertificateAuthorityCommand, _super);
65
- // Start section: command_properties
66
- // End section: command_properties
67
8
  function DescribeCertificateAuthorityCommand(input) {
68
- var _this =
69
- // Start section: command_constructor
70
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
71
10
  _this.input = input;
72
11
  return _this;
73
- // End section: command_constructor
74
12
  }
75
- /**
76
- * @internal
77
- */
78
13
  DescribeCertificateAuthorityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
79
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
80
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DescribeCertificateAuthorityCommand.js","sourceRoot":"","sources":["../../../commands/DescribeCertificateAuthorityCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,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AAO,CAAC,CAAC;IACjF,CAAC;IAEO,yDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,yDAAyD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAIH,0CAAC;AAAD,CAAC,AAzDD,CAAyD,QAAQ,GAyDhE"}
1
+ {"version":3,"file":"DescribeCertificateAuthorityCommand.js","sourceRoot":"","sources":["../../../commands/DescribeCertificateAuthorityCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAyE7D;IAAyD,uDAIxD;IAIC,6CAAqB,KAA+C;QAApE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0C;;IAIpE,CAAC;IAKD,+DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,cAAc,CAAC;QAClC,IAAM,WAAW,GAAG,qCAAqC,CAAC;QAC1D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,mCAAmC,CAAC,kBAAkB;YAC/E,wBAAwB,EAAE,oCAAoC,CAAC,kBAAkB;SAClF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uDAAS,GAAjB,UAAkB,KAA+C,EAAE,OAAuB;QACxF,OAAO,uDAAuD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAEO,yDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,yDAAyD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAIH,0CAAC;AAAD,CAAC,AAzDD,CAAyD,QAAQ,GAyDhE"}
@@ -3,41 +3,13 @@ import { GetCertificateAuthorityCertificateRequest, GetCertificateAuthorityCerti
3
3
  import { deserializeAws_json1_1GetCertificateAuthorityCertificateCommand, serializeAws_json1_1GetCertificateAuthorityCertificateCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Retrieves the certificate and certificate chain for your private certificate authority
8
- * (CA) or one that has been shared with you. Both the certificate and the chain are base64
9
- * PEM-encoded. The chain does not include the CA certificate. Each certificate in the
10
- * chain signs the one before it. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ACMPCAClient, GetCertificateAuthorityCertificateCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
15
- * // const { ACMPCAClient, GetCertificateAuthorityCertificateCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
16
- * const client = new ACMPCAClient(config);
17
- * const command = new GetCertificateAuthorityCertificateCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetCertificateAuthorityCertificateCommandInput} for command's `input` shape.
22
- * @see {@link GetCertificateAuthorityCertificateCommandOutput} for command's `response` shape.
23
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var GetCertificateAuthorityCertificateCommand = /** @class */ (function (_super) {
6
+ var GetCertificateAuthorityCertificateCommand = (function (_super) {
27
7
  __extends(GetCertificateAuthorityCertificateCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function GetCertificateAuthorityCertificateCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  GetCertificateAuthorityCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"GetCertificateAuthorityCertificateCommand.js","sourceRoot":"","sources":["../../../commands/GetCertificateAuthorityCertificateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,yCAAyC,EACzC,0CAA0C,GAC3C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,+DAA+D,EAC/D,6DAA6D,GAC9D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAgB7D;;;;;;;;;;;;;;;;;;;GAmBG;AACH;IAA+D,6DAI9D;IACC,oCAAoC;IACpC,kCAAkC;IAElC,mDAAqB,KAAqD;QAA1E;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAgD;;QAGxE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,qEAAiB,GAAjB,UACE,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,cAAc,CAAC;QAClC,IAAM,WAAW,GAAG,2CAA2C,CAAC;QAChE,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,yCAAyC,CAAC,kBAAkB;YACrF,wBAAwB,EAAE,0CAA0C,CAAC,kBAAkB;SACxF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6DAAS,GAAjB,UACE,KAAqD,EACrD,OAAuB;QAEvB,OAAO,6DAA6D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAEO,+DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,+DAA+D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAIH,gDAAC;AAAD,CAAC,AA5DD,CAA+D,QAAQ,GA4DtE"}
1
+ {"version":3,"file":"GetCertificateAuthorityCertificateCommand.js","sourceRoot":"","sources":["../../../commands/GetCertificateAuthorityCertificateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,yCAAyC,EACzC,0CAA0C,GAC3C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,+D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OAAuB;QAEvB,OAAO,+DAA+D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAIH,gDAAC;AAAD,CAAC,AA5DD,CAA+D,QAAQ,GA4DtE"}
@@ -3,42 +3,13 @@ import { GetCertificateAuthorityCsrRequest, GetCertificateAuthorityCsrResponse }
3
3
  import { deserializeAws_json1_1GetCertificateAuthorityCsrCommand, serializeAws_json1_1GetCertificateAuthorityCsrCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Retrieves the certificate signing request (CSR) for your private certificate authority
8
- * (CA). The CSR is created when you call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthority.html">CreateCertificateAuthority</a> action. Sign the CSR with your ACM Private CA-hosted or
9
- * on-premises root or subordinate CA. Then import the signed certificate back into ACM Private CA
10
- * by calling the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ImportCertificateAuthorityCertificate.html">ImportCertificateAuthorityCertificate</a> action. The CSR is returned as a
11
- * base64 PEM-encoded string. </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ACMPCAClient, GetCertificateAuthorityCsrCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
16
- * // const { ACMPCAClient, GetCertificateAuthorityCsrCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
17
- * const client = new ACMPCAClient(config);
18
- * const command = new GetCertificateAuthorityCsrCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link GetCertificateAuthorityCsrCommandInput} for command's `input` shape.
23
- * @see {@link GetCertificateAuthorityCsrCommandOutput} for command's `response` shape.
24
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
- var GetCertificateAuthorityCsrCommand = /** @class */ (function (_super) {
6
+ var GetCertificateAuthorityCsrCommand = (function (_super) {
28
7
  __extends(GetCertificateAuthorityCsrCommand, _super);
29
- // Start section: command_properties
30
- // End section: command_properties
31
8
  function GetCertificateAuthorityCsrCommand(input) {
32
- var _this =
33
- // Start section: command_constructor
34
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
35
10
  _this.input = input;
36
11
  return _this;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  GetCertificateAuthorityCsrCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
43
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"GetCertificateAuthorityCsrCommand.js","sourceRoot":"","sources":["../../../commands/GetCertificateAuthorityCsrCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH;IAAuD,qDAItD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,2CAAqB,KAA6C;QAAlE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwC;;QAGhE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,6DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,cAAc,CAAC;QAClC,IAAM,WAAW,GAAG,mCAAmC,CAAC;QACxD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iCAAiC,CAAC,kBAAkB;YAC7E,wBAAwB,EAAE,kCAAkC,CAAC,kBAAkB;SAChF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qDAAS,GAAjB,UAAkB,KAA6C,EAAE,OAAuB;QACtF,OAAO,qDAAqD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAEO,uDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,uDAAuD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAIH,wCAAC;AAAD,CAAC,AAzDD,CAAuD,QAAQ,GAyD9D"}
1
+ {"version":3,"file":"GetCertificateAuthorityCsrCommand.js","sourceRoot":"","sources":["../../../commands/GetCertificateAuthorityCsrCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAmC7D;IAAuD,qDAItD;IAIC,2CAAqB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deserializeAws_json1_1GetCertificateCommand, serializeAws_json1_1GetCertificateCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Retrieves a certificate from your private CA or one that has been shared with you. The
8
- * ARN of the certificate is returned when you call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> action. You
9
- * must specify both the ARN of your private CA and the ARN of the issued certificate when
10
- * calling the <b>GetCertificate</b> action. You can retrieve the
11
- * certificate if it is in the <b>ISSUED</b> state. You can call
12
- * the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html">CreateCertificateAuthorityAuditReport</a> action to create a report that
13
- * contains information about all of the certificates issued and revoked by your private
14
- * CA. </p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ACMPCAClient, GetCertificateCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
19
- * // const { ACMPCAClient, GetCertificateCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
20
- * const client = new ACMPCAClient(config);
21
- * const command = new GetCertificateCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link GetCertificateCommandInput} for command's `input` shape.
26
- * @see {@link GetCertificateCommandOutput} for command's `response` shape.
27
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
- var GetCertificateCommand = /** @class */ (function (_super) {
6
+ var GetCertificateCommand = (function (_super) {
31
7
  __extends(GetCertificateCommand, _super);
32
- // Start section: command_properties
33
- // End section: command_properties
34
8
  function GetCertificateCommand(input) {
35
- var _this =
36
- // Start section: command_constructor
37
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
38
10
  _this.input = input;
39
11
  return _this;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  GetCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
46
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"GetCertificateCommand.js","sourceRoot":"","sources":["../../../commands/GetCertificateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;IAA2C,yCAI1C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,+BAAqB,KAAiC;QAAtD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA4B;;QAGpD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,cAAc,CAAC;QAClC,IAAM,WAAW,GAAG,uBAAuB,CAAC;QAC5C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,qBAAqB,CAAC,kBAAkB;YACjE,wBAAwB,EAAE,sBAAsB,CA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AC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,cAAc,CAAC;QAClC,IAAM,WAAW,GAAG,uBAAuB,CAAC;QAC5C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,qBAAqB,CAAC,kBAAkB;YACjE,wBAAwB,EAAE,sBAAsB,CAAC,kBAAkB;SACpE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,yCAAS,GAAjB,UAAkB,KAAiC,EAAE,OAAuB;QAC1E,OAAO,yCAAyC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAEO,2CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,2CAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAIH,4BAAC;AAAD,CAAC,AAtDD,CAA2C,QAAQ,GAsDlD"}
@@ -3,68 +3,13 @@ import { GetPolicyRequest, GetPolicyResponse } from "../models/models_0";
3
3
  import { deserializeAws_json1_1GetPolicyCommand, serializeAws_json1_1GetPolicyCommand } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Retrieves the resource-based policy attached to a private CA. If either the private CA
8
- * resource or the policy cannot be found, this action returns a
9
- * <code>ResourceNotFoundException</code>. </p>
10
- * <p>The policy can be attached or updated with <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_PutPolicy.html">PutPolicy</a> and removed with <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeletePolicy.html">DeletePolicy</a>.</p>
11
- * <p class="title">
12
- * <b>About Policies</b>
13
- * </p>
14
- * <ul>
15
- * <li>
16
- * <p>A policy grants access on a private CA to an AWS customer account, to AWS Organizations, or to
17
- * an AWS Organizations unit. Policies are under the control of a CA administrator. For more information,
18
- * see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource Based Policy with ACM Private CA</a>.</p>
19
- * </li>
20
- * <li>
21
- * <p>A policy permits a user of AWS Certificate Manager (ACM) to issue ACM certificates
22
- * signed by a CA in another account.</p>
23
- * </li>
24
- * <li>
25
- * <p>For ACM to manage automatic renewal of these certificates,
26
- * the ACM user must configure a Service Linked Role (SLR). The SLR allows
27
- * the ACM service to assume the identity of the user, subject to confirmation against the
28
- * ACM Private CA policy. For more information, see
29
- * <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html">Using a
30
- * Service Linked Role with ACM</a>.</p>
31
- * </li>
32
- * <li>
33
- * <p>Updates made in AWS Resource Manager (RAM) are reflected in policies. For more information,
34
- * see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html">Attach a Policy for Cross-Account
35
- * Access</a>.</p>
36
- * </li>
37
- * </ul>
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { ACMPCAClient, GetPolicyCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
42
- * // const { ACMPCAClient, GetPolicyCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
43
- * const client = new ACMPCAClient(config);
44
- * const command = new GetPolicyCommand(input);
45
- * const response = await client.send(command);
46
- * ```
47
- *
48
- * @see {@link GetPolicyCommandInput} for command's `input` shape.
49
- * @see {@link GetPolicyCommandOutput} for command's `response` shape.
50
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
51
- *
52
- */
53
- var GetPolicyCommand = /** @class */ (function (_super) {
6
+ var GetPolicyCommand = (function (_super) {
54
7
  __extends(GetPolicyCommand, _super);
55
- // Start section: command_properties
56
- // End section: command_properties
57
8
  function GetPolicyCommand(input) {
58
- var _this =
59
- // Start section: command_constructor
60
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
61
10
  _this.input = input;
62
11
  return _this;
63
- // End section: command_constructor
64
12
  }
65
- /**
66
- * @internal
67
- */
68
13
  GetPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
69
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"GetPolicyCommand.js","sourceRoot":"","sources":["../../../commands/GetPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH;IAAsC,oCAIrC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,0BAAqB,KAA4B;QAAjD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuB;;QAG/C,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,4CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC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