@aws-sdk/client-acm-pca 3.32.0 → 3.36.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 +44 -0
- package/{dist/cjs → dist-cjs}/ACMPCA.js +0 -1
- package/{dist/cjs → dist-cjs}/ACMPCAClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/CreateCertificateAuthorityAuditReportCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateCertificateAuthorityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreatePermissionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteCertificateAuthorityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeletePermissionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeletePolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeCertificateAuthorityAuditReportCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeCertificateAuthorityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetCertificateAuthorityCertificateCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetCertificateAuthorityCsrCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetCertificateCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ImportCertificateAuthorityCertificateCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/IssueCertificateCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListCertificateAuthoritiesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListPermissionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RestoreCertificateAuthorityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RevokeCertificateCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagCertificateAuthorityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagCertificateAuthorityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateCertificateAuthorityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListCertificateAuthoritiesPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListPermissionsPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListTagsPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/cjs → dist-cjs}/waiters/waitForAuditReportCreated.js +4 -5
- package/{dist/cjs → dist-cjs}/waiters/waitForCertificateAuthorityCSRCreated.js +2 -3
- package/{dist/cjs → dist-cjs}/waiters/waitForCertificateIssued.js +2 -3
- package/{dist/es → dist-es}/ACMPCA.js +1 -22
- package/{dist/es → dist-es}/ACMPCAClient.js +2 -28
- package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +39 -0
- package/dist-es/commands/CreateCertificateAuthorityCommand.js +39 -0
- package/dist-es/commands/CreatePermissionCommand.js +39 -0
- package/dist-es/commands/DeleteCertificateAuthorityCommand.js +39 -0
- package/dist-es/commands/DeletePermissionCommand.js +39 -0
- package/dist-es/commands/DeletePolicyCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DescribeCertificateAuthorityAuditReportCommand.js +4 -33
- package/dist-es/commands/DescribeCertificateAuthorityCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetCertificateAuthorityCertificateCommand.js +4 -33
- package/{dist/es → dist-es}/commands/GetCertificateAuthorityCsrCommand.js +4 -34
- package/dist-es/commands/GetCertificateCommand.js +39 -0
- package/dist-es/commands/GetPolicyCommand.js +39 -0
- package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +39 -0
- package/{dist/es → dist-es}/commands/IssueCertificateCommand.js +4 -37
- package/{dist/es → dist-es}/commands/ListCertificateAuthoritiesCommand.js +4 -30
- package/dist-es/commands/ListPermissionsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/ListTagsCommand.js +4 -33
- package/dist-es/commands/PutPolicyCommand.js +39 -0
- package/dist-es/commands/RestoreCertificateAuthorityCommand.js +39 -0
- package/dist-es/commands/RevokeCertificateCommand.js +39 -0
- package/dist-es/commands/TagCertificateAuthorityCommand.js +39 -0
- package/{dist/es → dist-es}/commands/UntagCertificateAuthorityCommand.js +4 -34
- package/dist-es/commands/UpdateCertificateAuthorityCommand.js +39 -0
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -229
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListCertificateAuthoritiesPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListPermissionsPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListTagsPaginator.js +16 -29
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +622 -628
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/waiters/waitForAuditReportCreated.js +10 -20
- package/{dist/es → dist-es}/waiters/waitForCertificateAuthorityCSRCreated.js +9 -19
- package/{dist/es → dist-es}/waiters/waitForCertificateIssued.js +9 -19
- package/{dist/types → dist-types}/ACMPCA.d.ts +1 -1
- package/{dist/types → dist-types}/ACMPCAClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreatePermissionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeletePermissionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeletePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetCertificateAuthorityCertificateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetCertificateAuthorityCsrCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetCertificateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ImportCertificateAuthorityCertificateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/IssueCertificateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListCertificateAuthoritiesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPermissionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RestoreCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RevokeCertificateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListCertificateAuthoritiesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTagsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ACMPCA.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/ACMPCAClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreatePermissionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeletePermissionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeletePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetCertificateAuthorityCertificateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetCertificateAuthorityCsrCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetCertificateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ImportCertificateAuthorityCertificateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/IssueCertificateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListPermissionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RestoreCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RevokeCertificateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/TagCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateCertificateAuthorityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListCertificateAuthoritiesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTagsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/waiters/waitForAuditReportCreated.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/waiters/waitForCertificateAuthorityCSRCreated.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/waiters/waitForCertificateIssued.d.ts +1 -1
- package/{dist/types → dist-types}/waiters/waitForAuditReportCreated.d.ts +1 -1
- package/{dist/types → dist-types}/waiters/waitForCertificateAuthorityCSRCreated.d.ts +1 -1
- package/{dist/types → dist-types}/waiters/waitForCertificateIssued.d.ts +1 -1
- package/package.json +53 -50
- package/ACMPCA.ts +0 -1322
- package/ACMPCAClient.ts +0 -360
- package/commands/CreateCertificateAuthorityAuditReportCommand.ts +0 -121
- package/commands/CreateCertificateAuthorityCommand.ts +0 -117
- package/commands/CreatePermissionCommand.ts +0 -120
- package/commands/DeleteCertificateAuthorityCommand.ts +0 -116
- package/commands/DeletePermissionCommand.ts +0 -122
- package/commands/DeletePolicyCommand.ts +0 -128
- package/commands/DescribeCertificateAuthorityAuditReportCommand.ts +0 -112
- package/commands/DescribeCertificateAuthorityCommand.ts +0 -139
- package/commands/GetCertificateAuthorityCertificateCommand.ts +0 -108
- package/commands/GetCertificateAuthorityCsrCommand.ts +0 -101
- package/commands/GetCertificateCommand.ts +0 -101
- package/commands/GetPolicyCommand.ts +0 -121
- package/commands/ImportCertificateAuthorityCertificateCommand.ts +0 -228
- package/commands/IssueCertificateCommand.ts +0 -101
- package/commands/ListCertificateAuthoritiesCommand.ts +0 -97
- package/commands/ListPermissionsCommand.ts +0 -121
- package/commands/ListTagsCommand.ts +0 -90
- package/commands/PutPolicyCommand.ts +0 -122
- package/commands/RestoreCertificateAuthorityCommand.ts +0 -107
- package/commands/RevokeCertificateCommand.ts +0 -113
- package/commands/TagCertificateAuthorityCommand.ts +0 -101
- package/commands/UntagCertificateAuthorityCommand.ts +0 -101
- package/commands/UpdateCertificateAuthorityCommand.ts +0 -107
- 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/package.json +0 -92
- 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 +0 -80
- package/dist/es/commands/CreateCertificateAuthorityAuditReportCommand.js.map +0 -1
- package/dist/es/commands/CreateCertificateAuthorityCommand.js +0 -85
- package/dist/es/commands/CreateCertificateAuthorityCommand.js.map +0 -1
- package/dist/es/commands/CreatePermissionCommand.js +0 -91
- package/dist/es/commands/CreatePermissionCommand.js.map +0 -1
- package/dist/es/commands/DeleteCertificateAuthorityCommand.js +0 -84
- package/dist/es/commands/DeleteCertificateAuthorityCommand.js.map +0 -1
- package/dist/es/commands/DeletePermissionCommand.js +0 -93
- package/dist/es/commands/DeletePermissionCommand.js.map +0 -1
- package/dist/es/commands/DeletePolicyCommand.js +0 -99
- package/dist/es/commands/DeletePolicyCommand.js.map +0 -1
- package/dist/es/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +0 -1
- package/dist/es/commands/DescribeCertificateAuthorityCommand.js +0 -105
- 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 +0 -72
- package/dist/es/commands/GetCertificateCommand.js.map +0 -1
- package/dist/es/commands/GetPolicyCommand.js +0 -95
- package/dist/es/commands/GetPolicyCommand.js.map +0 -1
- package/dist/es/commands/ImportCertificateAuthorityCertificateCommand.js +0 -192
- 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 +0 -92
- package/dist/es/commands/ListPermissionsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsCommand.js.map +0 -1
- package/dist/es/commands/PutPolicyCommand.js +0 -96
- package/dist/es/commands/PutPolicyCommand.js.map +0 -1
- package/dist/es/commands/RestoreCertificateAuthorityCommand.js +0 -75
- package/dist/es/commands/RestoreCertificateAuthorityCommand.js.map +0 -1
- package/dist/es/commands/RevokeCertificateCommand.js +0 -84
- package/dist/es/commands/RevokeCertificateCommand.js.map +0 -1
- package/dist/es/commands/TagCertificateAuthorityCommand.js +0 -72
- package/dist/es/commands/TagCertificateAuthorityCommand.js.map +0 -1
- package/dist/es/commands/UntagCertificateAuthorityCommand.js.map +0 -1
- package/dist/es/commands/UpdateCertificateAuthorityCommand.js +0 -75
- package/dist/es/commands/UpdateCertificateAuthorityCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -34
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -92
- package/dist/es/pagination/Interfaces.js +0 -2
- 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/endpoints.ts +0 -91
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2571
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListCertificateAuthoritiesPaginator.ts +0 -58
- package/pagination/ListPermissionsPaginator.ts +0 -58
- package/pagination/ListTagsPaginator.ts +0 -54
- package/protocols/Aws_json1_1.ts +0 -3844
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
- package/waiters/waitForAuditReportCreated.ts +0 -60
- package/waiters/waitForCertificateAuthorityCSRCreated.ts +0 -48
- package/waiters/waitForCertificateIssued.ts +0 -42
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { DeleteCertificateAuthorityRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DeleteCertificateAuthorityCommand, serializeAws_json1_1DeleteCertificateAuthorityCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Deletes a private certificate authority (CA). You must provide the Amazon Resource
|
|
8
|
-
* Name (ARN) of the private CA that you want to delete. You can find the ARN by calling
|
|
9
|
-
* the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a> action. </p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>Deleting a CA will invalidate other CAs and certificates below it in your CA
|
|
12
|
-
* hierarchy.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* <p>Before you can delete a CA that you have created and activated, you must disable it.
|
|
15
|
-
* 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>
|
|
16
|
-
* <p>Additionally, you can delete a CA if you are waiting for it to be created (that is,
|
|
17
|
-
* the status of the CA is <code>CREATING</code>). You can also delete it if the CA has
|
|
18
|
-
* been created but you haven't yet imported the signed certificate into ACM Private CA (that is,
|
|
19
|
-
* the status of the CA is <code>PENDING_CERTIFICATE</code>). </p>
|
|
20
|
-
* <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
|
|
21
|
-
* <code>DELETED</code>. However, the CA won't be permanently deleted until the restoration
|
|
22
|
-
* period has passed. By default, if you do not set the
|
|
23
|
-
* <code>PermanentDeletionTimeInDays</code> parameter, the CA remains restorable for 30
|
|
24
|
-
* 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
|
|
25
|
-
* restoration window of a private CA in the <code>DELETED</code> state. To restore an
|
|
26
|
-
* eligible CA, call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RestoreCertificateAuthority.html">RestoreCertificateAuthority</a> action.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { ACMPCAClient, DeleteCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
31
|
-
* // const { ACMPCAClient, DeleteCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
32
|
-
* const client = new ACMPCAClient(config);
|
|
33
|
-
* const command = new DeleteCertificateAuthorityCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DeleteCertificateAuthorityCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DeleteCertificateAuthorityCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
var DeleteCertificateAuthorityCommand = /** @class */ (function (_super) {
|
|
43
|
-
__extends(DeleteCertificateAuthorityCommand, _super);
|
|
44
|
-
// Start section: command_properties
|
|
45
|
-
// End section: command_properties
|
|
46
|
-
function DeleteCertificateAuthorityCommand(input) {
|
|
47
|
-
var _this =
|
|
48
|
-
// Start section: command_constructor
|
|
49
|
-
_super.call(this) || this;
|
|
50
|
-
_this.input = input;
|
|
51
|
-
return _this;
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
DeleteCertificateAuthorityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
58
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
59
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
60
|
-
var logger = configuration.logger;
|
|
61
|
-
var clientName = "ACMPCAClient";
|
|
62
|
-
var commandName = "DeleteCertificateAuthorityCommand";
|
|
63
|
-
var handlerExecutionContext = {
|
|
64
|
-
logger: logger,
|
|
65
|
-
clientName: clientName,
|
|
66
|
-
commandName: commandName,
|
|
67
|
-
inputFilterSensitiveLog: DeleteCertificateAuthorityRequest.filterSensitiveLog,
|
|
68
|
-
outputFilterSensitiveLog: function (output) { return output; },
|
|
69
|
-
};
|
|
70
|
-
var requestHandler = configuration.requestHandler;
|
|
71
|
-
return stack.resolve(function (request) {
|
|
72
|
-
return requestHandler.handle(request.request, options || {});
|
|
73
|
-
}, handlerExecutionContext);
|
|
74
|
-
};
|
|
75
|
-
DeleteCertificateAuthorityCommand.prototype.serialize = function (input, context) {
|
|
76
|
-
return serializeAws_json1_1DeleteCertificateAuthorityCommand(input, context);
|
|
77
|
-
};
|
|
78
|
-
DeleteCertificateAuthorityCommand.prototype.deserialize = function (output, context) {
|
|
79
|
-
return deserializeAws_json1_1DeleteCertificateAuthorityCommand(output, context);
|
|
80
|
-
};
|
|
81
|
-
return DeleteCertificateAuthorityCommand;
|
|
82
|
-
}($Command));
|
|
83
|
-
export { DeleteCertificateAuthorityCommand };
|
|
84
|
-
//# sourceMappingURL=DeleteCertificateAuthorityCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteCertificateAuthorityCommand.js","sourceRoot":"","sources":["../../../commands/DeleteCertificateAuthorityCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACvE,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;;;;;;;;;;;;;;;;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O,CAAC,CAAC;IAClF,CAAC;IAIH,wCAAC;AAAD,CAAC,AAzDD,CAAuD,QAAQ,GAyD9D"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { DeletePermissionRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DeletePermissionCommand, serializeAws_json1_1DeletePermissionCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Revokes permissions on a private CA granted to the AWS Certificate Manager (ACM) service principal
|
|
8
|
-
* (acm.amazonaws.com). </p>
|
|
9
|
-
* <p>These permissions allow ACM to issue and renew ACM certificates that reside in the
|
|
10
|
-
* same AWS account as the CA. If you revoke these permissions, ACM will no longer
|
|
11
|
-
* renew the affected certificates automatically.</p>
|
|
12
|
-
* <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
|
|
13
|
-
* listed with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListPermissions.html">ListPermissions</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, DeletePermissionCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
40
|
-
* // const { ACMPCAClient, DeletePermissionCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
41
|
-
* const client = new ACMPCAClient(config);
|
|
42
|
-
* const command = new DeletePermissionCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link DeletePermissionCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link DeletePermissionCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
var DeletePermissionCommand = /** @class */ (function (_super) {
|
|
52
|
-
__extends(DeletePermissionCommand, _super);
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
function DeletePermissionCommand(input) {
|
|
56
|
-
var _this =
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
_super.call(this) || this;
|
|
59
|
-
_this.input = input;
|
|
60
|
-
return _this;
|
|
61
|
-
// End section: command_constructor
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
DeletePermissionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
var logger = configuration.logger;
|
|
70
|
-
var clientName = "ACMPCAClient";
|
|
71
|
-
var commandName = "DeletePermissionCommand";
|
|
72
|
-
var handlerExecutionContext = {
|
|
73
|
-
logger: logger,
|
|
74
|
-
clientName: clientName,
|
|
75
|
-
commandName: commandName,
|
|
76
|
-
inputFilterSensitiveLog: DeletePermissionRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: function (output) { return output; },
|
|
78
|
-
};
|
|
79
|
-
var requestHandler = configuration.requestHandler;
|
|
80
|
-
return stack.resolve(function (request) {
|
|
81
|
-
return requestHandler.handle(request.request, options || {});
|
|
82
|
-
}, handlerExecutionContext);
|
|
83
|
-
};
|
|
84
|
-
DeletePermissionCommand.prototype.serialize = function (input, context) {
|
|
85
|
-
return serializeAws_json1_1DeletePermissionCommand(input, context);
|
|
86
|
-
};
|
|
87
|
-
DeletePermissionCommand.prototype.deserialize = function (output, context) {
|
|
88
|
-
return deserializeAws_json1_1DeletePermissionCommand(output, context);
|
|
89
|
-
};
|
|
90
|
-
return DeletePermissionCommand;
|
|
91
|
-
}($Command));
|
|
92
|
-
export { DeletePermissionCommand };
|
|
93
|
-
//# sourceMappingURL=DeletePermissionCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,2C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AD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { DeletePolicyRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DeletePolicyCommand, serializeAws_json1_1DeletePolicyCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
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) {
|
|
58
|
-
__extends(DeletePolicyCommand, _super);
|
|
59
|
-
// Start section: command_properties
|
|
60
|
-
// End section: command_properties
|
|
61
|
-
function DeletePolicyCommand(input) {
|
|
62
|
-
var _this =
|
|
63
|
-
// Start section: command_constructor
|
|
64
|
-
_super.call(this) || this;
|
|
65
|
-
_this.input = input;
|
|
66
|
-
return _this;
|
|
67
|
-
// End section: command_constructor
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
DeletePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
73
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
74
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
75
|
-
var logger = configuration.logger;
|
|
76
|
-
var clientName = "ACMPCAClient";
|
|
77
|
-
var commandName = "DeletePolicyCommand";
|
|
78
|
-
var handlerExecutionContext = {
|
|
79
|
-
logger: logger,
|
|
80
|
-
clientName: clientName,
|
|
81
|
-
commandName: commandName,
|
|
82
|
-
inputFilterSensitiveLog: DeletePolicyRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: function (output) { return output; },
|
|
84
|
-
};
|
|
85
|
-
var requestHandler = configuration.requestHandler;
|
|
86
|
-
return stack.resolve(function (request) {
|
|
87
|
-
return requestHandler.handle(request.request, options || {});
|
|
88
|
-
}, handlerExecutionContext);
|
|
89
|
-
};
|
|
90
|
-
DeletePolicyCommand.prototype.serialize = function (input, context) {
|
|
91
|
-
return serializeAws_json1_1DeletePolicyCommand(input, context);
|
|
92
|
-
};
|
|
93
|
-
DeletePolicyCommand.prototype.deserialize = function (output, context) {
|
|
94
|
-
return deserializeAws_json1_1DeletePolicyCommand(output, context);
|
|
95
|
-
};
|
|
96
|
-
return DeletePolicyCommand;
|
|
97
|
-
}($Command));
|
|
98
|
-
export { DeletePolicyCommand };
|
|
99
|
-
//# sourceMappingURL=DeletePolicyCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeletePolicyCommand.js","sourceRoot":"","sources":["../../../commands/DeletePolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAo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uB,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"}
|
|
@@ -1 +0,0 @@
|
|
|
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,105 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { DescribeCertificateAuthorityRequest, DescribeCertificateAuthorityResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DescribeCertificateAuthorityCommand, serializeAws_json1_1DescribeCertificateAuthorityCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
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) {
|
|
64
|
-
__extends(DescribeCertificateAuthorityCommand, _super);
|
|
65
|
-
// Start section: command_properties
|
|
66
|
-
// End section: command_properties
|
|
67
|
-
function DescribeCertificateAuthorityCommand(input) {
|
|
68
|
-
var _this =
|
|
69
|
-
// Start section: command_constructor
|
|
70
|
-
_super.call(this) || this;
|
|
71
|
-
_this.input = input;
|
|
72
|
-
return _this;
|
|
73
|
-
// End section: command_constructor
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
DescribeCertificateAuthorityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
79
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
80
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
81
|
-
var logger = configuration.logger;
|
|
82
|
-
var clientName = "ACMPCAClient";
|
|
83
|
-
var commandName = "DescribeCertificateAuthorityCommand";
|
|
84
|
-
var handlerExecutionContext = {
|
|
85
|
-
logger: logger,
|
|
86
|
-
clientName: clientName,
|
|
87
|
-
commandName: commandName,
|
|
88
|
-
inputFilterSensitiveLog: DescribeCertificateAuthorityRequest.filterSensitiveLog,
|
|
89
|
-
outputFilterSensitiveLog: DescribeCertificateAuthorityResponse.filterSensitiveLog,
|
|
90
|
-
};
|
|
91
|
-
var requestHandler = configuration.requestHandler;
|
|
92
|
-
return stack.resolve(function (request) {
|
|
93
|
-
return requestHandler.handle(request.request, options || {});
|
|
94
|
-
}, handlerExecutionContext);
|
|
95
|
-
};
|
|
96
|
-
DescribeCertificateAuthorityCommand.prototype.serialize = function (input, context) {
|
|
97
|
-
return serializeAws_json1_1DescribeCertificateAuthorityCommand(input, context);
|
|
98
|
-
};
|
|
99
|
-
DescribeCertificateAuthorityCommand.prototype.deserialize = function (output, context) {
|
|
100
|
-
return deserializeAws_json1_1DescribeCertificateAuthorityCommand(output, context);
|
|
101
|
-
};
|
|
102
|
-
return DescribeCertificateAuthorityCommand;
|
|
103
|
-
}($Command));
|
|
104
|
-
export { DescribeCertificateAuthorityCommand };
|
|
105
|
-
//# sourceMappingURL=DescribeCertificateAuthorityCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AAgB7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH;IAAyD,uDAIxD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,6CAAqB,KAA+C;QAApE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0C;;QAGlE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,+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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetCertificateAuthorityCertificateCommand.js","sourceRoot":"","sources":["../../../commands/GetCertificateAuthorityCertificateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,yCAAyC,EACzC,0CAA0C,GAC3C,MAAM,oBAAoB,CAAC;AA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D,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 +0,0 @@
|
|
|
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,72 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { GetCertificateRequest, GetCertificateResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1GetCertificateCommand, serializeAws_json1_1GetCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
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) {
|
|
31
|
-
__extends(GetCertificateCommand, _super);
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
|
-
function GetCertificateCommand(input) {
|
|
35
|
-
var _this =
|
|
36
|
-
// Start section: command_constructor
|
|
37
|
-
_super.call(this) || this;
|
|
38
|
-
_this.input = input;
|
|
39
|
-
return _this;
|
|
40
|
-
// End section: command_constructor
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
|
-
GetCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
46
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
48
|
-
var logger = configuration.logger;
|
|
49
|
-
var clientName = "ACMPCAClient";
|
|
50
|
-
var commandName = "GetCertificateCommand";
|
|
51
|
-
var handlerExecutionContext = {
|
|
52
|
-
logger: logger,
|
|
53
|
-
clientName: clientName,
|
|
54
|
-
commandName: commandName,
|
|
55
|
-
inputFilterSensitiveLog: GetCertificateRequest.filterSensitiveLog,
|
|
56
|
-
outputFilterSensitiveLog: GetCertificateResponse.filterSensitiveLog,
|
|
57
|
-
};
|
|
58
|
-
var requestHandler = configuration.requestHandler;
|
|
59
|
-
return stack.resolve(function (request) {
|
|
60
|
-
return requestHandler.handle(request.request, options || {});
|
|
61
|
-
}, handlerExecutionContext);
|
|
62
|
-
};
|
|
63
|
-
GetCertificateCommand.prototype.serialize = function (input, context) {
|
|
64
|
-
return serializeAws_json1_1GetCertificateCommand(input, context);
|
|
65
|
-
};
|
|
66
|
-
GetCertificateCommand.prototype.deserialize = function (output, context) {
|
|
67
|
-
return deserializeAws_json1_1GetCertificateCommand(output, context);
|
|
68
|
-
};
|
|
69
|
-
return GetCertificateCommand;
|
|
70
|
-
}($Command));
|
|
71
|
-
export { GetCertificateCommand };
|
|
72
|
-
//# sourceMappingURL=GetCertificateCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,kCAA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 -1,95 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { GetPolicyRequest, GetPolicyResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1GetPolicyCommand, serializeAws_json1_1GetPolicyCommand } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
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) {
|
|
54
|
-
__extends(GetPolicyCommand, _super);
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
|
-
function GetPolicyCommand(input) {
|
|
58
|
-
var _this =
|
|
59
|
-
// Start section: command_constructor
|
|
60
|
-
_super.call(this) || this;
|
|
61
|
-
_this.input = input;
|
|
62
|
-
return _this;
|
|
63
|
-
// End section: command_constructor
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
GetPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
var logger = configuration.logger;
|
|
72
|
-
var clientName = "ACMPCAClient";
|
|
73
|
-
var commandName = "GetPolicyCommand";
|
|
74
|
-
var handlerExecutionContext = {
|
|
75
|
-
logger: logger,
|
|
76
|
-
clientName: clientName,
|
|
77
|
-
commandName: commandName,
|
|
78
|
-
inputFilterSensitiveLog: GetPolicyRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: GetPolicyResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
var requestHandler = configuration.requestHandler;
|
|
82
|
-
return stack.resolve(function (request) {
|
|
83
|
-
return requestHandler.handle(request.request, options || {});
|
|
84
|
-
}, handlerExecutionContext);
|
|
85
|
-
};
|
|
86
|
-
GetPolicyCommand.prototype.serialize = function (input, context) {
|
|
87
|
-
return serializeAws_json1_1GetPolicyCommand(input, context);
|
|
88
|
-
};
|
|
89
|
-
GetPolicyCommand.prototype.deserialize = function (output, context) {
|
|
90
|
-
return deserializeAws_json1_1GetPolicyCommand(output, context);
|
|
91
|
-
};
|
|
92
|
-
return GetPolicyCommand;
|
|
93
|
-
}($Command));
|
|
94
|
-
export { GetPolicyCommand };
|
|
95
|
-
//# sourceMappingURL=GetPolicyCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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;;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