@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.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/ACMPCA.js +0 -21
- package/dist-cjs/ACMPCAClient.js +0 -26
- package/dist-cjs/commands/CreateCertificateAuthorityAuditReportCommand.js +0 -40
- package/dist-cjs/commands/CreateCertificateAuthorityCommand.js +0 -45
- package/dist-cjs/commands/CreatePermissionCommand.js +0 -51
- package/dist-cjs/commands/DeleteCertificateAuthorityCommand.js +0 -44
- package/dist-cjs/commands/DeletePermissionCommand.js +0 -53
- package/dist-cjs/commands/DeletePolicyCommand.js +0 -59
- package/dist-cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js +0 -28
- package/dist-cjs/commands/DescribeCertificateAuthorityCommand.js +0 -65
- package/dist-cjs/commands/GetCertificateAuthorityCertificateCommand.js +0 -28
- package/dist-cjs/commands/GetCertificateAuthorityCsrCommand.js +0 -29
- package/dist-cjs/commands/GetCertificateCommand.js +0 -32
- package/dist-cjs/commands/GetPolicyCommand.js +0 -55
- package/dist-cjs/commands/ImportCertificateAuthorityCertificateCommand.js +0 -152
- package/dist-cjs/commands/IssueCertificateCommand.js +0 -32
- package/dist-cjs/commands/ListCertificateAuthoritiesCommand.js +0 -25
- package/dist-cjs/commands/ListPermissionsCommand.js +0 -52
- package/dist-cjs/commands/ListTagsCommand.js +0 -28
- package/dist-cjs/commands/PutPolicyCommand.js +0 -56
- package/dist-cjs/commands/RestoreCertificateAuthorityCommand.js +0 -35
- package/dist-cjs/commands/RevokeCertificateCommand.js +0 -44
- package/dist-cjs/commands/TagCertificateAuthorityCommand.js +0 -32
- package/dist-cjs/commands/UntagCertificateAuthorityCommand.js +0 -29
- package/dist-cjs/commands/UpdateCertificateAuthorityCommand.js +0 -35
- package/dist-cjs/commands/index.js +26 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +5 -33
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -229
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListCertificateAuthoritiesPaginator.js +0 -11
- package/dist-cjs/pagination/ListPermissionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListTagsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-cjs/waiters/waitForAuditReportCreated.js +0 -10
- package/dist-cjs/waiters/waitForCertificateAuthorityCSRCreated.js +0 -10
- package/dist-cjs/waiters/waitForCertificateIssued.js +0 -10
- package/dist-es/ACMPCA.js +0 -1
- package/dist-es/ACMPCAClient.js +0 -1
- package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +0 -1
- package/dist-es/commands/CreateCertificateAuthorityCommand.js +0 -1
- package/dist-es/commands/CreatePermissionCommand.js +0 -1
- package/dist-es/commands/DeleteCertificateAuthorityCommand.js +0 -1
- package/dist-es/commands/DeletePermissionCommand.js +0 -1
- package/dist-es/commands/DeletePolicyCommand.js +0 -1
- package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js +0 -1
- package/dist-es/commands/DescribeCertificateAuthorityCommand.js +0 -1
- package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js +0 -1
- package/dist-es/commands/GetCertificateAuthorityCsrCommand.js +0 -1
- package/dist-es/commands/GetCertificateCommand.js +0 -1
- package/dist-es/commands/GetPolicyCommand.js +0 -1
- package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +0 -1
- package/dist-es/commands/IssueCertificateCommand.js +0 -1
- package/dist-es/commands/ListCertificateAuthoritiesCommand.js +0 -1
- package/dist-es/commands/ListPermissionsCommand.js +0 -1
- package/dist-es/commands/ListTagsCommand.js +0 -1
- package/dist-es/commands/PutPolicyCommand.js +0 -1
- package/dist-es/commands/RestoreCertificateAuthorityCommand.js +0 -1
- package/dist-es/commands/RevokeCertificateCommand.js +0 -1
- package/dist-es/commands/TagCertificateAuthorityCommand.js +0 -1
- package/dist-es/commands/UntagCertificateAuthorityCommand.js +0 -1
- package/dist-es/commands/UpdateCertificateAuthorityCommand.js +0 -1
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +5 -33
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListCertificateAuthoritiesPaginator.js +0 -1
- package/dist-es/pagination/ListPermissionsPaginator.js +0 -1
- package/dist-es/pagination/ListTagsPaginator.js +0 -1
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/index.js +3 -0
- package/dist-es/waiters/waitForAuditReportCreated.js +0 -1
- package/dist-es/waiters/waitForCertificateAuthorityCSRCreated.js +0 -1
- package/dist-es/waiters/waitForCertificateIssued.js +0 -1
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/index.d.ts +5 -32
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/ACMPCA.d.ts +24 -563
- package/dist-types/ts3.4/ACMPCAClient.d.ts +24 -106
- package/dist-types/ts3.4/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -54
- package/dist-types/ts3.4/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +2 -60
- package/dist-types/ts3.4/commands/GetCertificateAuthorityCertificateCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetCertificateAuthorityCsrCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/ImportCertificateAuthorityCertificateCommand.d.ts +2 -147
- package/dist-types/ts3.4/commands/IssueCertificateCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/RestoreCertificateAuthorityCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/RevokeCertificateCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/TagCertificateAuthorityCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/UntagCertificateAuthorityCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdateCertificateAuthorityCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/index.d.ts +5 -32
- package/dist-types/ts3.4/models/models_0.d.ts +289 -1432
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForAuditReportCreated.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForCertificateAuthorityCSRCreated.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForCertificateIssued.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +34 -31
- package/dist-cjs/ACMPCA.js.map +0 -1
- package/dist-cjs/ACMPCAClient.js.map +0 -1
- package/dist-cjs/commands/CreateCertificateAuthorityAuditReportCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCertificateAuthorityCommand.js.map +0 -1
- package/dist-cjs/commands/CreatePermissionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCertificateAuthorityCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePermissionCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCertificateAuthorityCommand.js.map +0 -1
- package/dist-cjs/commands/GetCertificateAuthorityCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/GetCertificateAuthorityCsrCommand.js.map +0 -1
- package/dist-cjs/commands/GetCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/GetPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/ImportCertificateAuthorityCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/IssueCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/ListCertificateAuthoritiesCommand.js.map +0 -1
- package/dist-cjs/commands/ListPermissionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsCommand.js.map +0 -1
- package/dist-cjs/commands/PutPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/RestoreCertificateAuthorityCommand.js.map +0 -1
- package/dist-cjs/commands/RevokeCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/TagCertificateAuthorityCommand.js.map +0 -1
- package/dist-cjs/commands/UntagCertificateAuthorityCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateCertificateAuthorityCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListCertificateAuthoritiesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPermissionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTagsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForAuditReportCreated.js.map +0 -1
- package/dist-cjs/waiters/waitForCertificateAuthorityCSRCreated.js.map +0 -1
- package/dist-cjs/waiters/waitForCertificateIssued.js.map +0 -1
- package/dist-es/ACMPCA.js.map +0 -1
- package/dist-es/ACMPCAClient.js.map +0 -1
- package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js.map +0 -1
- package/dist-es/commands/CreateCertificateAuthorityCommand.js.map +0 -1
- package/dist-es/commands/CreatePermissionCommand.js.map +0 -1
- package/dist-es/commands/DeleteCertificateAuthorityCommand.js.map +0 -1
- package/dist-es/commands/DeletePermissionCommand.js.map +0 -1
- package/dist-es/commands/DeletePolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +0 -1
- package/dist-es/commands/DescribeCertificateAuthorityCommand.js.map +0 -1
- package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js.map +0 -1
- package/dist-es/commands/GetCertificateAuthorityCsrCommand.js.map +0 -1
- package/dist-es/commands/GetCertificateCommand.js.map +0 -1
- package/dist-es/commands/GetPolicyCommand.js.map +0 -1
- package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js.map +0 -1
- package/dist-es/commands/IssueCertificateCommand.js.map +0 -1
- package/dist-es/commands/ListCertificateAuthoritiesCommand.js.map +0 -1
- package/dist-es/commands/ListPermissionsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsCommand.js.map +0 -1
- package/dist-es/commands/PutPolicyCommand.js.map +0 -1
- package/dist-es/commands/RestoreCertificateAuthorityCommand.js.map +0 -1
- package/dist-es/commands/RevokeCertificateCommand.js.map +0 -1
- package/dist-es/commands/TagCertificateAuthorityCommand.js.map +0 -1
- package/dist-es/commands/UntagCertificateAuthorityCommand.js.map +0 -1
- package/dist-es/commands/UpdateCertificateAuthorityCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListCertificateAuthoritiesPaginator.js.map +0 -1
- package/dist-es/pagination/ListPermissionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListTagsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForAuditReportCreated.js.map +0 -1
- package/dist-es/waiters/waitForCertificateAuthorityCSRCreated.js.map +0 -1
- package/dist-es/waiters/waitForCertificateIssued.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/ACMPCA.ts +0 -1323
- package/src/ACMPCAClient.ts +0 -361
- package/src/commands/CreateCertificateAuthorityAuditReportCommand.ts +0 -122
- package/src/commands/CreateCertificateAuthorityCommand.ts +0 -118
- package/src/commands/CreatePermissionCommand.ts +0 -121
- package/src/commands/DeleteCertificateAuthorityCommand.ts +0 -117
- package/src/commands/DeletePermissionCommand.ts +0 -123
- package/src/commands/DeletePolicyCommand.ts +0 -129
- package/src/commands/DescribeCertificateAuthorityAuditReportCommand.ts +0 -113
- package/src/commands/DescribeCertificateAuthorityCommand.ts +0 -140
- package/src/commands/GetCertificateAuthorityCertificateCommand.ts +0 -109
- package/src/commands/GetCertificateAuthorityCsrCommand.ts +0 -102
- package/src/commands/GetCertificateCommand.ts +0 -102
- package/src/commands/GetPolicyCommand.ts +0 -122
- package/src/commands/ImportCertificateAuthorityCertificateCommand.ts +0 -229
- package/src/commands/IssueCertificateCommand.ts +0 -102
- package/src/commands/ListCertificateAuthoritiesCommand.ts +0 -98
- package/src/commands/ListPermissionsCommand.ts +0 -122
- package/src/commands/ListTagsCommand.ts +0 -91
- package/src/commands/PutPolicyCommand.ts +0 -123
- package/src/commands/RestoreCertificateAuthorityCommand.ts +0 -108
- package/src/commands/RevokeCertificateCommand.ts +0 -114
- package/src/commands/TagCertificateAuthorityCommand.ts +0 -102
- package/src/commands/UntagCertificateAuthorityCommand.ts +0 -102
- package/src/commands/UpdateCertificateAuthorityCommand.ts +0 -108
- package/src/endpoints.ts +0 -91
- package/src/index.ts +0 -33
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2571
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListCertificateAuthoritiesPaginator.ts +0 -59
- package/src/pagination/ListPermissionsPaginator.ts +0 -59
- package/src/pagination/ListTagsPaginator.ts +0 -55
- package/src/protocols/Aws_json1_1.ts +0 -3845
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForAuditReportCreated.ts +0 -61
- package/src/waiters/waitForCertificateAuthorityCSRCreated.ts +0 -49
- package/src/waiters/waitForCertificateIssued.ts +0 -43
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
46
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
47
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
54
|
|
|
8
55
|
|
package/dist-cjs/ACMPCA.js
CHANGED
|
@@ -25,26 +25,6 @@ const RevokeCertificateCommand_1 = require("./commands/RevokeCertificateCommand"
|
|
|
25
25
|
const TagCertificateAuthorityCommand_1 = require("./commands/TagCertificateAuthorityCommand");
|
|
26
26
|
const UntagCertificateAuthorityCommand_1 = require("./commands/UntagCertificateAuthorityCommand");
|
|
27
27
|
const UpdateCertificateAuthorityCommand_1 = require("./commands/UpdateCertificateAuthorityCommand");
|
|
28
|
-
/**
|
|
29
|
-
* <p>This is the <i>ACM Private CA API Reference</i>. It provides descriptions,
|
|
30
|
-
* syntax, and usage examples for each of the actions and data types involved in creating
|
|
31
|
-
* and managing private certificate authorities (CA) for your organization.</p>
|
|
32
|
-
* <p>The documentation for each action shows the Query API request parameters and the XML
|
|
33
|
-
* response. Alternatively, you can use one of the AWS SDKs to access an API that's
|
|
34
|
-
* tailored to the programming language or platform that you're using. For more
|
|
35
|
-
* information, see <a href="https://aws.amazon.com/tools/#SDKs">AWS
|
|
36
|
-
* SDKs</a>.</p>
|
|
37
|
-
* <p>Each ACM Private CA API operation has a quota that determines the number of times the operation
|
|
38
|
-
* can be called per second. ACM Private CA throttles API requests at different rates depending
|
|
39
|
-
* on the operation. Throttling means that ACM Private CA rejects an otherwise valid request
|
|
40
|
-
* because the request exceeds the operation's quota for the number of requests per second.
|
|
41
|
-
* When a request is throttled, ACM Private CA returns a <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. ACM Private CA does not guarantee a minimum request
|
|
42
|
-
* rate for APIs. </p>
|
|
43
|
-
*
|
|
44
|
-
* <p>To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,
|
|
45
|
-
* log into your AWS account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a>
|
|
46
|
-
* console.</p>
|
|
47
|
-
*/
|
|
48
28
|
class ACMPCA extends ACMPCAClient_1.ACMPCAClient {
|
|
49
29
|
createCertificateAuthority(args, optionsOrCb, cb) {
|
|
50
30
|
const command = new CreateCertificateAuthorityCommand_1.CreateCertificateAuthorityCommand(args);
|
|
@@ -370,4 +350,3 @@ class ACMPCA extends ACMPCAClient_1.ACMPCAClient {
|
|
|
370
350
|
}
|
|
371
351
|
}
|
|
372
352
|
exports.ACMPCA = ACMPCA;
|
|
373
|
-
//# sourceMappingURL=ACMPCA.js.map
|
package/dist-cjs/ACMPCAClient.js
CHANGED
|
@@ -10,26 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <p>This is the <i>ACM Private CA API Reference</i>. It provides descriptions,
|
|
15
|
-
* syntax, and usage examples for each of the actions and data types involved in creating
|
|
16
|
-
* and managing private certificate authorities (CA) for your organization.</p>
|
|
17
|
-
* <p>The documentation for each action shows the Query API request parameters and the XML
|
|
18
|
-
* response. Alternatively, you can use one of the AWS SDKs to access an API that's
|
|
19
|
-
* tailored to the programming language or platform that you're using. For more
|
|
20
|
-
* information, see <a href="https://aws.amazon.com/tools/#SDKs">AWS
|
|
21
|
-
* SDKs</a>.</p>
|
|
22
|
-
* <p>Each ACM Private CA API operation has a quota that determines the number of times the operation
|
|
23
|
-
* can be called per second. ACM Private CA throttles API requests at different rates depending
|
|
24
|
-
* on the operation. Throttling means that ACM Private CA rejects an otherwise valid request
|
|
25
|
-
* because the request exceeds the operation's quota for the number of requests per second.
|
|
26
|
-
* When a request is throttled, ACM Private CA returns a <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. ACM Private CA does not guarantee a minimum request
|
|
27
|
-
* rate for APIs. </p>
|
|
28
|
-
*
|
|
29
|
-
* <p>To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,
|
|
30
|
-
* log into your AWS account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a>
|
|
31
|
-
* console.</p>
|
|
32
|
-
*/
|
|
33
13
|
class ACMPCAClient extends smithy_client_1.Client {
|
|
34
14
|
constructor(configuration) {
|
|
35
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -48,14 +28,8 @@ class ACMPCAClient extends smithy_client_1.Client {
|
|
|
48
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
49
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
50
30
|
}
|
|
51
|
-
/**
|
|
52
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
53
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
54
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
55
|
-
*/
|
|
56
31
|
destroy() {
|
|
57
32
|
super.destroy();
|
|
58
33
|
}
|
|
59
34
|
}
|
|
60
35
|
exports.ACMPCAClient = ACMPCAClient;
|
|
61
|
-
//# sourceMappingURL=ACMPCAClient.js.map
|
|
@@ -5,50 +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>Creates an audit report that lists every time that your CA private key is used. The
|
|
10
|
-
* report is saved in the Amazon S3 bucket that you specify on input.
|
|
11
|
-
*
|
|
12
|
-
* The <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> and <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RevokeCertificate.html">RevokeCertificate</a> actions use
|
|
13
|
-
* the private key. </p>
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>Both PCA and the IAM principal must have permission to write to
|
|
16
|
-
* the S3 bucket that you specify. If the IAM principal making the call
|
|
17
|
-
* does not have permission to write to the bucket, then an exception is
|
|
18
|
-
* thrown. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuthAccess.html">Configure
|
|
19
|
-
* Access to ACM Private CA</a>.</p>
|
|
20
|
-
* </note>
|
|
21
|
-
*
|
|
22
|
-
* <p>ACM Private CA assets that are stored in Amazon S3 can be protected with encryption.
|
|
23
|
-
* For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuditReport.html#audit-report-encryption">Encrypting Your Audit
|
|
24
|
-
* Reports</a>.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ACMPCAClient, CreateCertificateAuthorityAuditReportCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
29
|
-
* // const { ACMPCAClient, CreateCertificateAuthorityAuditReportCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
30
|
-
* const client = new ACMPCAClient(config);
|
|
31
|
-
* const command = new CreateCertificateAuthorityAuditReportCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateCertificateAuthorityAuditReportCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateCertificateAuthorityAuditReportCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
8
|
class CreateCertificateAuthorityAuditReportCommand extends smithy_client_1.Command {
|
|
41
|
-
// Start section: command_properties
|
|
42
|
-
// End section: command_properties
|
|
43
9
|
constructor(input) {
|
|
44
|
-
// Start section: command_constructor
|
|
45
10
|
super();
|
|
46
11
|
this.input = input;
|
|
47
|
-
// End section: command_constructor
|
|
48
12
|
}
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
53
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
54
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -73,4 +34,3 @@ class CreateCertificateAuthorityAuditReportCommand extends smithy_client_1.Comma
|
|
|
73
34
|
}
|
|
74
35
|
}
|
|
75
36
|
exports.CreateCertificateAuthorityAuditReportCommand = CreateCertificateAuthorityAuditReportCommand;
|
|
76
|
-
//# sourceMappingURL=CreateCertificateAuthorityAuditReportCommand.js.map
|
|
@@ -5,55 +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>Creates a root or subordinate private certificate authority (CA). You must specify the
|
|
10
|
-
* CA configuration, an optional configuration for Online Certificate Status Protocol (OCSP)
|
|
11
|
-
* and/or a certificate revocation list (CRL), the CA type, and
|
|
12
|
-
* an optional idempotency token to avoid accidental creation of multiple CAs. The CA
|
|
13
|
-
* configuration specifies the name of the algorithm and key size to be used to create the
|
|
14
|
-
* CA private key, the type of signing algorithm that the CA uses, and X.500 subject
|
|
15
|
-
* information. The OCSP configuration can optionally specify a custom URL for the OCSP responder.
|
|
16
|
-
* The CRL configuration specifies the CRL expiration period in days (the
|
|
17
|
-
* validity period of the CRL), the Amazon S3 bucket that will contain the CRL, and a CNAME
|
|
18
|
-
* alias for the S3 bucket that is included in certificates issued by the CA. If
|
|
19
|
-
* successful, this action returns the Amazon Resource Name (ARN) of the CA.</p>
|
|
20
|
-
* <p>ACM Private CA assets that are stored in Amazon S3 can be protected with encryption.
|
|
21
|
-
* For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaCreateCa.html#crl-encryption">Encrypting Your
|
|
22
|
-
* CRLs</a>.</p>
|
|
23
|
-
* <note>
|
|
24
|
-
* <p>Both PCA and the IAM principal must have permission to write to
|
|
25
|
-
* the S3 bucket that you specify. If the IAM principal making the call
|
|
26
|
-
* does not have permission to write to the bucket, then an exception is
|
|
27
|
-
* thrown. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuthAccess.html">Configure
|
|
28
|
-
* Access to ACM Private CA</a>.</p>
|
|
29
|
-
* </note>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ACMPCAClient, CreateCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
34
|
-
* // const { ACMPCAClient, CreateCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
35
|
-
* const client = new ACMPCAClient(config);
|
|
36
|
-
* const command = new CreateCertificateAuthorityCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link CreateCertificateAuthorityCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link CreateCertificateAuthorityCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
8
|
class CreateCertificateAuthorityCommand extends smithy_client_1.Command {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
9
|
constructor(input) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
10
|
super();
|
|
51
11
|
this.input = input;
|
|
52
|
-
// End section: command_constructor
|
|
53
12
|
}
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
58
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
59
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -78,4 +34,3 @@ class CreateCertificateAuthorityCommand extends smithy_client_1.Command {
|
|
|
78
34
|
}
|
|
79
35
|
}
|
|
80
36
|
exports.CreateCertificateAuthorityCommand = CreateCertificateAuthorityCommand;
|
|
81
|
-
//# sourceMappingURL=CreateCertificateAuthorityCommand.js.map
|
|
@@ -5,61 +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>Grants one or more permissions on a private CA to the AWS Certificate Manager (ACM) service
|
|
10
|
-
* principal (<code>acm.amazonaws.com</code>). These permissions allow ACM to issue and
|
|
11
|
-
* renew ACM certificates that reside in the same AWS account as the CA.</p>
|
|
12
|
-
* <p>You can list current permissions with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListPermissions.html">ListPermissions</a> action and
|
|
13
|
-
* revoke them with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeletePermission.html">DeletePermission</a> action.</p>
|
|
14
|
-
* <p class="title">
|
|
15
|
-
* <b>About Permissions</b>
|
|
16
|
-
* </p>
|
|
17
|
-
* <ul>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>If the private CA and the certificates it issues reside in the same
|
|
20
|
-
* account, you can use <code>CreatePermission</code> to grant permissions for ACM to
|
|
21
|
-
* carry out automatic certificate renewals.</p>
|
|
22
|
-
* </li>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>For automatic certificate renewal to succeed, the ACM service principal
|
|
25
|
-
* needs permissions to create, retrieve, and list certificates.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>If the private CA and the ACM certificates reside in different accounts,
|
|
29
|
-
* then permissions cannot be used to enable automatic renewals. Instead,
|
|
30
|
-
* the ACM certificate owner must set up a resource-based policy to enable
|
|
31
|
-
* cross-account issuance and renewals. For more information, see
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource
|
|
33
|
-
* Based Policy with ACM Private CA</a>.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* </ul>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { ACMPCAClient, CreatePermissionCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
40
|
-
* // const { ACMPCAClient, CreatePermissionCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
41
|
-
* const client = new ACMPCAClient(config);
|
|
42
|
-
* const command = new CreatePermissionCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link CreatePermissionCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link CreatePermissionCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
8
|
class CreatePermissionCommand extends smithy_client_1.Command {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
9
|
constructor(input) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
10
|
super();
|
|
57
11
|
this.input = input;
|
|
58
|
-
// End section: command_constructor
|
|
59
12
|
}
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
64
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -84,4 +34,3 @@ class CreatePermissionCommand extends smithy_client_1.Command {
|
|
|
84
34
|
}
|
|
85
35
|
}
|
|
86
36
|
exports.CreatePermissionCommand = CreatePermissionCommand;
|
|
87
|
-
//# sourceMappingURL=CreatePermissionCommand.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>Deletes a private certificate authority (CA). You must provide the Amazon Resource
|
|
10
|
-
* Name (ARN) of the private CA that you want to delete. You can find the ARN by calling
|
|
11
|
-
* the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a> action. </p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>Deleting a CA will invalidate other CAs and certificates below it in your CA
|
|
14
|
-
* hierarchy.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
* <p>Before you can delete a CA that you have created and activated, you must disable it.
|
|
17
|
-
* To do this, call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_UpdateCertificateAuthority.html">UpdateCertificateAuthority</a> action and set the <b>CertificateAuthorityStatus</b> parameter to <code>DISABLED</code>. </p>
|
|
18
|
-
* <p>Additionally, you can delete a CA if you are waiting for it to be created (that is,
|
|
19
|
-
* the status of the CA is <code>CREATING</code>). You can also delete it if the CA has
|
|
20
|
-
* been created but you haven't yet imported the signed certificate into ACM Private CA (that is,
|
|
21
|
-
* the status of the CA is <code>PENDING_CERTIFICATE</code>). </p>
|
|
22
|
-
* <p>When you successfully call <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeleteCertificateAuthority.html">DeleteCertificateAuthority</a>, the CA's status changes to
|
|
23
|
-
* <code>DELETED</code>. However, the CA won't be permanently deleted until the restoration
|
|
24
|
-
* period has passed. By default, if you do not set the
|
|
25
|
-
* <code>PermanentDeletionTimeInDays</code> parameter, the CA remains restorable for 30
|
|
26
|
-
* days. You can set the parameter from 7 to 30 days. The <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DescribeCertificateAuthority.html">DescribeCertificateAuthority</a> action returns the time remaining in the
|
|
27
|
-
* restoration window of a private CA in the <code>DELETED</code> state. To restore an
|
|
28
|
-
* eligible CA, call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RestoreCertificateAuthority.html">RestoreCertificateAuthority</a> action.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { ACMPCAClient, DeleteCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
33
|
-
* // const { ACMPCAClient, DeleteCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
34
|
-
* const client = new ACMPCAClient(config);
|
|
35
|
-
* const command = new DeleteCertificateAuthorityCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link DeleteCertificateAuthorityCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link DeleteCertificateAuthorityCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
8
|
class DeleteCertificateAuthorityCommand 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 DeleteCertificateAuthorityCommand extends smithy_client_1.Command {
|
|
|
77
34
|
}
|
|
78
35
|
}
|
|
79
36
|
exports.DeleteCertificateAuthorityCommand = DeleteCertificateAuthorityCommand;
|
|
80
|
-
//# sourceMappingURL=DeleteCertificateAuthorityCommand.js.map
|
|
@@ -5,63 +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 permissions on a private CA granted to the AWS Certificate Manager (ACM) service principal
|
|
10
|
-
* (acm.amazonaws.com). </p>
|
|
11
|
-
* <p>These permissions allow ACM to issue and renew ACM certificates that reside in the
|
|
12
|
-
* same AWS account as the CA. If you revoke these permissions, ACM will no longer
|
|
13
|
-
* renew the affected certificates automatically.</p>
|
|
14
|
-
* <p>Permissions can be granted with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreatePermission.html">CreatePermission</a> action and
|
|
15
|
-
* listed with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListPermissions.html">ListPermissions</a> action. </p>
|
|
16
|
-
* <p class="title">
|
|
17
|
-
* <b>About Permissions</b>
|
|
18
|
-
* </p>
|
|
19
|
-
* <ul>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>If the private CA and the certificates it issues reside in the same
|
|
22
|
-
* account, you can use <code>CreatePermission</code> to grant permissions for ACM to
|
|
23
|
-
* carry out automatic certificate renewals.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>For automatic certificate renewal to succeed, the ACM service principal
|
|
27
|
-
* needs permissions to create, retrieve, and list certificates.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>If the private CA and the ACM certificates reside in different accounts,
|
|
31
|
-
* then permissions cannot be used to enable automatic renewals. Instead,
|
|
32
|
-
* the ACM certificate owner must set up a resource-based policy to enable
|
|
33
|
-
* cross-account issuance and renewals. For more information, see
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource
|
|
35
|
-
* Based Policy with ACM Private CA</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, DeletePermissionCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
42
|
-
* // const { ACMPCAClient, DeletePermissionCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
43
|
-
* const client = new ACMPCAClient(config);
|
|
44
|
-
* const command = new DeletePermissionCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link DeletePermissionCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link DeletePermissionCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
8
|
class DeletePermissionCommand extends smithy_client_1.Command {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
9
|
constructor(input) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
10
|
super();
|
|
59
11
|
this.input = input;
|
|
60
|
-
// End section: command_constructor
|
|
61
12
|
}
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
66
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -86,4 +34,3 @@ class DeletePermissionCommand extends smithy_client_1.Command {
|
|
|
86
34
|
}
|
|
87
35
|
}
|
|
88
36
|
exports.DeletePermissionCommand = DeletePermissionCommand;
|
|
89
|
-
//# sourceMappingURL=DeletePermissionCommand.js.map
|
|
@@ -5,69 +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>Deletes the resource-based policy attached to a private CA. Deletion will remove any
|
|
10
|
-
* access that the policy has granted. If there is no policy attached to the private CA,
|
|
11
|
-
* this action will return successful.</p>
|
|
12
|
-
* <p>If you delete a policy that was applied through AWS Resource Access Manager (RAM), the
|
|
13
|
-
* CA will be removed from all shares in which it was included. </p>
|
|
14
|
-
* <p>The AWS Certificate Manager Service Linked Role that the policy supports is not affected when you
|
|
15
|
-
* delete the policy. </p>
|
|
16
|
-
* <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>
|
|
17
|
-
* <p class="title">
|
|
18
|
-
* <b>About Policies</b>
|
|
19
|
-
* </p>
|
|
20
|
-
* <ul>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>A policy grants access on a private CA to an AWS customer account, to AWS Organizations, or to
|
|
23
|
-
* an AWS Organizations unit. Policies are under the control of a CA administrator. For more information,
|
|
24
|
-
* 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>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>A policy permits a user of AWS Certificate Manager (ACM) to issue ACM certificates
|
|
28
|
-
* signed by a CA in another account.</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>For ACM to manage automatic renewal of these certificates,
|
|
32
|
-
* the ACM user must configure a Service Linked Role (SLR). The SLR allows
|
|
33
|
-
* the ACM service to assume the identity of the user, subject to confirmation against the
|
|
34
|
-
* ACM Private CA policy. For more information, see
|
|
35
|
-
* <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html">Using a
|
|
36
|
-
* Service Linked Role with ACM</a>.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>Updates made in AWS Resource Manager (RAM) are reflected in policies. For more information,
|
|
40
|
-
* see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html">Attach a Policy for Cross-Account
|
|
41
|
-
* Access</a>.</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* </ul>
|
|
44
|
-
* @example
|
|
45
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
46
|
-
* ```javascript
|
|
47
|
-
* import { ACMPCAClient, DeletePolicyCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
48
|
-
* // const { ACMPCAClient, DeletePolicyCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
49
|
-
* const client = new ACMPCAClient(config);
|
|
50
|
-
* const command = new DeletePolicyCommand(input);
|
|
51
|
-
* const response = await client.send(command);
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
|
-
* @see {@link DeletePolicyCommandInput} for command's `input` shape.
|
|
55
|
-
* @see {@link DeletePolicyCommandOutput} for command's `response` shape.
|
|
56
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
8
|
class DeletePolicyCommand extends smithy_client_1.Command {
|
|
60
|
-
// Start section: command_properties
|
|
61
|
-
// End section: command_properties
|
|
62
9
|
constructor(input) {
|
|
63
|
-
// Start section: command_constructor
|
|
64
10
|
super();
|
|
65
11
|
this.input = input;
|
|
66
|
-
// End section: command_constructor
|
|
67
12
|
}
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
72
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
73
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -92,4 +34,3 @@ class DeletePolicyCommand extends smithy_client_1.Command {
|
|
|
92
34
|
}
|
|
93
35
|
}
|
|
94
36
|
exports.DeletePolicyCommand = DeletePolicyCommand;
|
|
95
|
-
//# sourceMappingURL=DeletePolicyCommand.js.map
|
|
@@ -5,38 +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>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
|
|
10
|
-
* every time the certificate authority (CA) private key is used. The private key is used
|
|
11
|
-
* when you call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> action or the
|
|
12
|
-
* <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RevokeCertificate.html">RevokeCertificate</a> action. </p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ACMPCAClient, DescribeCertificateAuthorityAuditReportCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
17
|
-
* // const { ACMPCAClient, DescribeCertificateAuthorityAuditReportCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
18
|
-
* const client = new ACMPCAClient(config);
|
|
19
|
-
* const command = new DescribeCertificateAuthorityAuditReportCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DescribeCertificateAuthorityAuditReportCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DescribeCertificateAuthorityAuditReportCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class DescribeCertificateAuthorityAuditReportCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -61,4 +34,3 @@ class DescribeCertificateAuthorityAuditReportCommand extends smithy_client_1.Com
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.DescribeCertificateAuthorityAuditReportCommand = DescribeCertificateAuthorityAuditReportCommand;
|
|
64
|
-
//# sourceMappingURL=DescribeCertificateAuthorityAuditReportCommand.js.map
|
|
@@ -5,75 +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>Lists information about your private certificate authority (CA) or one that has been
|
|
10
|
-
* shared with you. You specify the private CA on input by its ARN (Amazon Resource Name).
|
|
11
|
-
* The output contains the status of your CA. This can be any of the following: </p>
|
|
12
|
-
* <ul>
|
|
13
|
-
* <li>
|
|
14
|
-
* <p>
|
|
15
|
-
* <code>CREATING</code> - ACM Private CA is creating your private certificate
|
|
16
|
-
* authority.</p>
|
|
17
|
-
* </li>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>
|
|
20
|
-
* <code>PENDING_CERTIFICATE</code> - The certificate is pending. You must use
|
|
21
|
-
* your ACM Private CA-hosted or on-premises root or subordinate CA to sign your private CA
|
|
22
|
-
* CSR and then import it into PCA. </p>
|
|
23
|
-
* </li>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>
|
|
26
|
-
* <code>ACTIVE</code> - Your private CA is active.</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>
|
|
30
|
-
* <code>DISABLED</code> - Your private CA has been disabled.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>
|
|
34
|
-
* <code>EXPIRED</code> - Your private CA certificate has expired.</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>
|
|
38
|
-
* <code>FAILED</code> - Your private CA has failed. Your CA can fail because of
|
|
39
|
-
* problems such a network outage or back-end AWS failure or other errors. A
|
|
40
|
-
* failed CA can never return to the pending state. You must create a new CA.
|
|
41
|
-
* </p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>
|
|
45
|
-
* <code>DELETED</code> - Your private CA is within the restoration period, after
|
|
46
|
-
* which it is permanently deleted. The length of time remaining in the CA's
|
|
47
|
-
* restoration period is also included in this action's output.</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* </ul>
|
|
50
|
-
* @example
|
|
51
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
52
|
-
* ```javascript
|
|
53
|
-
* import { ACMPCAClient, DescribeCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
54
|
-
* // const { ACMPCAClient, DescribeCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
55
|
-
* const client = new ACMPCAClient(config);
|
|
56
|
-
* const command = new DescribeCertificateAuthorityCommand(input);
|
|
57
|
-
* const response = await client.send(command);
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* @see {@link DescribeCertificateAuthorityCommandInput} for command's `input` shape.
|
|
61
|
-
* @see {@link DescribeCertificateAuthorityCommandOutput} for command's `response` shape.
|
|
62
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
63
|
-
*
|
|
64
|
-
*/
|
|
65
8
|
class DescribeCertificateAuthorityCommand extends smithy_client_1.Command {
|
|
66
|
-
// Start section: command_properties
|
|
67
|
-
// End section: command_properties
|
|
68
9
|
constructor(input) {
|
|
69
|
-
// Start section: command_constructor
|
|
70
10
|
super();
|
|
71
11
|
this.input = input;
|
|
72
|
-
// End section: command_constructor
|
|
73
12
|
}
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
78
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
79
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -98,4 +34,3 @@ class DescribeCertificateAuthorityCommand extends smithy_client_1.Command {
|
|
|
98
34
|
}
|
|
99
35
|
}
|
|
100
36
|
exports.DescribeCertificateAuthorityCommand = DescribeCertificateAuthorityCommand;
|
|
101
|
-
//# sourceMappingURL=DescribeCertificateAuthorityCommand.js.map
|