@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,192 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { ImportCertificateAuthorityCertificateRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ImportCertificateAuthorityCertificateCommand, serializeAws_json1_1ImportCertificateAuthorityCertificateCommand, } 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>Imports a signed private CA certificate into ACM Private CA. This action is used when you are
|
|
8
|
-
* using a chain of trust whose root is located outside ACM Private CA. Before you can call this
|
|
9
|
-
* action, the following preparations must in place:</p>
|
|
10
|
-
* <ol>
|
|
11
|
-
* <li>
|
|
12
|
-
* <p>In ACM Private CA, call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthority.html">CreateCertificateAuthority</a> action to create the private CA that you
|
|
13
|
-
* plan to back with the imported certificate.</p>
|
|
14
|
-
* </li>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>Call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_GetCertificateAuthorityCsr.html">GetCertificateAuthorityCsr</a> action to generate a certificate signing
|
|
17
|
-
* request (CSR).</p>
|
|
18
|
-
* </li>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>Sign the CSR using a root or intermediate CA hosted by either an on-premises
|
|
21
|
-
* PKI hierarchy or by a commercial CA.</p>
|
|
22
|
-
* </li>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>Create a certificate chain and copy the signed certificate and the certificate
|
|
25
|
-
* chain to your working directory.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* </ol>
|
|
28
|
-
* <p>ACM Private CA supports three scenarios for installing a CA certificate:</p>
|
|
29
|
-
* <ul>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>Installing a certificate for a root CA hosted by ACM Private CA.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>Installing a subordinate CA certificate whose parent authority is hosted by
|
|
35
|
-
* ACM Private CA.</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Installing a subordinate CA certificate whose parent authority is externally
|
|
39
|
-
* hosted.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* </ul>
|
|
42
|
-
* <p>The following additional requirements apply when you import a CA certificate.</p>
|
|
43
|
-
* <ul>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>Only a self-signed certificate can be imported as a root CA.</p>
|
|
46
|
-
* </li>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>A self-signed certificate cannot be imported as a subordinate CA.</p>
|
|
49
|
-
* </li>
|
|
50
|
-
* <li>
|
|
51
|
-
* <p>Your certificate chain must not include the private CA certificate that you
|
|
52
|
-
* are importing.</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* <li>
|
|
55
|
-
* <p>Your root CA must be the last certificate in your chain. The subordinate
|
|
56
|
-
* certificate, if any, that your root CA signed must be next to last. The
|
|
57
|
-
* subordinate certificate signed by the preceding subordinate CA must come next,
|
|
58
|
-
* and so on until your chain is built. </p>
|
|
59
|
-
* </li>
|
|
60
|
-
* <li>
|
|
61
|
-
* <p>The chain must be PEM-encoded.</p>
|
|
62
|
-
* </li>
|
|
63
|
-
* <li>
|
|
64
|
-
* <p>The maximum allowed size of a certificate is 32 KB.</p>
|
|
65
|
-
* </li>
|
|
66
|
-
* <li>
|
|
67
|
-
* <p>The maximum allowed size of a certificate chain is 2 MB.</p>
|
|
68
|
-
* </li>
|
|
69
|
-
* </ul>
|
|
70
|
-
* <p>
|
|
71
|
-
* <i>Enforcement of Critical Constraints</i>
|
|
72
|
-
* </p>
|
|
73
|
-
* <p>ACM Private CA allows the following extensions to be marked critical in the imported CA
|
|
74
|
-
* certificate or chain.</p>
|
|
75
|
-
* <ul>
|
|
76
|
-
* <li>
|
|
77
|
-
* <p>Basic constraints (<i>must</i> be marked critical)</p>
|
|
78
|
-
* </li>
|
|
79
|
-
* <li>
|
|
80
|
-
* <p>Subject alternative names</p>
|
|
81
|
-
* </li>
|
|
82
|
-
* <li>
|
|
83
|
-
* <p>Key usage</p>
|
|
84
|
-
* </li>
|
|
85
|
-
* <li>
|
|
86
|
-
* <p>Extended key usage</p>
|
|
87
|
-
* </li>
|
|
88
|
-
* <li>
|
|
89
|
-
* <p>Authority key identifier</p>
|
|
90
|
-
* </li>
|
|
91
|
-
* <li>
|
|
92
|
-
* <p>Subject key identifier</p>
|
|
93
|
-
* </li>
|
|
94
|
-
* <li>
|
|
95
|
-
* <p>Issuer alternative name</p>
|
|
96
|
-
* </li>
|
|
97
|
-
* <li>
|
|
98
|
-
* <p>Subject directory attributes</p>
|
|
99
|
-
* </li>
|
|
100
|
-
* <li>
|
|
101
|
-
* <p>Subject information access</p>
|
|
102
|
-
* </li>
|
|
103
|
-
* <li>
|
|
104
|
-
* <p>Certificate policies</p>
|
|
105
|
-
* </li>
|
|
106
|
-
* <li>
|
|
107
|
-
* <p>Policy mappings</p>
|
|
108
|
-
* </li>
|
|
109
|
-
* <li>
|
|
110
|
-
* <p>Inhibit anyPolicy</p>
|
|
111
|
-
* </li>
|
|
112
|
-
* </ul>
|
|
113
|
-
* <p>ACM Private CA rejects the following extensions when they are marked critical in an imported CA
|
|
114
|
-
* certificate or chain.</p>
|
|
115
|
-
* <ul>
|
|
116
|
-
* <li>
|
|
117
|
-
* <p>Name constraints</p>
|
|
118
|
-
* </li>
|
|
119
|
-
* <li>
|
|
120
|
-
* <p>Policy constraints</p>
|
|
121
|
-
* </li>
|
|
122
|
-
* <li>
|
|
123
|
-
* <p>CRL distribution points</p>
|
|
124
|
-
* </li>
|
|
125
|
-
* <li>
|
|
126
|
-
* <p>Authority information access</p>
|
|
127
|
-
* </li>
|
|
128
|
-
* <li>
|
|
129
|
-
* <p>Freshest CRL</p>
|
|
130
|
-
* </li>
|
|
131
|
-
* <li>
|
|
132
|
-
* <p>Any other extension</p>
|
|
133
|
-
* </li>
|
|
134
|
-
* </ul>
|
|
135
|
-
* @example
|
|
136
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
137
|
-
* ```javascript
|
|
138
|
-
* import { ACMPCAClient, ImportCertificateAuthorityCertificateCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
139
|
-
* // const { ACMPCAClient, ImportCertificateAuthorityCertificateCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
140
|
-
* const client = new ACMPCAClient(config);
|
|
141
|
-
* const command = new ImportCertificateAuthorityCertificateCommand(input);
|
|
142
|
-
* const response = await client.send(command);
|
|
143
|
-
* ```
|
|
144
|
-
*
|
|
145
|
-
* @see {@link ImportCertificateAuthorityCertificateCommandInput} for command's `input` shape.
|
|
146
|
-
* @see {@link ImportCertificateAuthorityCertificateCommandOutput} for command's `response` shape.
|
|
147
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
148
|
-
*
|
|
149
|
-
*/
|
|
150
|
-
var ImportCertificateAuthorityCertificateCommand = /** @class */ (function (_super) {
|
|
151
|
-
__extends(ImportCertificateAuthorityCertificateCommand, _super);
|
|
152
|
-
// Start section: command_properties
|
|
153
|
-
// End section: command_properties
|
|
154
|
-
function ImportCertificateAuthorityCertificateCommand(input) {
|
|
155
|
-
var _this =
|
|
156
|
-
// Start section: command_constructor
|
|
157
|
-
_super.call(this) || this;
|
|
158
|
-
_this.input = input;
|
|
159
|
-
return _this;
|
|
160
|
-
// End section: command_constructor
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* @internal
|
|
164
|
-
*/
|
|
165
|
-
ImportCertificateAuthorityCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
166
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
167
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
168
|
-
var logger = configuration.logger;
|
|
169
|
-
var clientName = "ACMPCAClient";
|
|
170
|
-
var commandName = "ImportCertificateAuthorityCertificateCommand";
|
|
171
|
-
var handlerExecutionContext = {
|
|
172
|
-
logger: logger,
|
|
173
|
-
clientName: clientName,
|
|
174
|
-
commandName: commandName,
|
|
175
|
-
inputFilterSensitiveLog: ImportCertificateAuthorityCertificateRequest.filterSensitiveLog,
|
|
176
|
-
outputFilterSensitiveLog: function (output) { return output; },
|
|
177
|
-
};
|
|
178
|
-
var requestHandler = configuration.requestHandler;
|
|
179
|
-
return stack.resolve(function (request) {
|
|
180
|
-
return requestHandler.handle(request.request, options || {});
|
|
181
|
-
}, handlerExecutionContext);
|
|
182
|
-
};
|
|
183
|
-
ImportCertificateAuthorityCertificateCommand.prototype.serialize = function (input, context) {
|
|
184
|
-
return serializeAws_json1_1ImportCertificateAuthorityCertificateCommand(input, context);
|
|
185
|
-
};
|
|
186
|
-
ImportCertificateAuthorityCertificateCommand.prototype.deserialize = function (output, context) {
|
|
187
|
-
return deserializeAws_json1_1ImportCertificateAuthorityCertificateCommand(output, context);
|
|
188
|
-
};
|
|
189
|
-
return ImportCertificateAuthorityCertificateCommand;
|
|
190
|
-
}($Command));
|
|
191
|
-
export { ImportCertificateAuthorityCertificateCommand };
|
|
192
|
-
//# sourceMappingURL=ImportCertificateAuthorityCertificateCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImportCertificateAuthorityCertificateCommand.js","sourceRoot":"","sources":["../../../commands/ImportCertificateAuthorityCertificateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,4CAA4C,EAAE,MAAM,oBAAoB,CAAC;AAClF,OAAO,EACL,kEAAkE,EAClE,gEAAgE,GACjE,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAe7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+IG;AACH;IAAkE,gEA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CAAC,AA5DD,CAAkE,QAAQ,GA4DzE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IssueCertificateCommand.js","sourceRoot":"","sources":["../../../commands/IssueCertificateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,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;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;IAA6C,2CAI5C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,iCAAqB,KAAmC;QAAxD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA8B;;QAGtD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,mDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,cAAc,CAAC;QAClC,IAAM,WAAW,GAAG,yBAAyB,CAAC;QAC9C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,uBAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,wBAAwB,CAAC,kBAAkB;SACtE,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,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListCertificateAuthoritiesCommand.js","sourceRoot":"","sources":["../../../commands/ListCertificateAuthoritiesCommand.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;;;;;;;;;;;;;;;;GAgBG;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,92 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { ListPermissionsRequest, ListPermissionsResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ListPermissionsCommand, serializeAws_json1_1ListPermissionsCommand, } 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>List all permissions on a private CA, if any, granted to the AWS Certificate Manager (ACM) service
|
|
8
|
-
* principal (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. </p>
|
|
11
|
-
* <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
|
|
12
|
-
* revoked with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeletePermission.html">DeletePermission</a> action.</p>
|
|
13
|
-
* <p class="title">
|
|
14
|
-
* <b>About Permissions</b>
|
|
15
|
-
* </p>
|
|
16
|
-
* <ul>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>If the private CA and the certificates it issues reside in the same
|
|
19
|
-
* account, you can use <code>CreatePermission</code> to grant permissions for ACM to
|
|
20
|
-
* carry out automatic certificate renewals.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>For automatic certificate renewal to succeed, the ACM service principal
|
|
24
|
-
* needs permissions to create, retrieve, and list certificates.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>If the private CA and the ACM certificates reside in different accounts,
|
|
28
|
-
* then permissions cannot be used to enable automatic renewals. Instead,
|
|
29
|
-
* the ACM certificate owner must set up a resource-based policy to enable
|
|
30
|
-
* cross-account issuance and renewals. For more information, see
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource
|
|
32
|
-
* Based Policy with ACM Private CA</a>.</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* </ul>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { ACMPCAClient, ListPermissionsCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
39
|
-
* // const { ACMPCAClient, ListPermissionsCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
40
|
-
* const client = new ACMPCAClient(config);
|
|
41
|
-
* const command = new ListPermissionsCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link ListPermissionsCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link ListPermissionsCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
var ListPermissionsCommand = /** @class */ (function (_super) {
|
|
51
|
-
__extends(ListPermissionsCommand, _super);
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
function ListPermissionsCommand(input) {
|
|
55
|
-
var _this =
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
_super.call(this) || this;
|
|
58
|
-
_this.input = input;
|
|
59
|
-
return _this;
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
ListPermissionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
var logger = configuration.logger;
|
|
69
|
-
var clientName = "ACMPCAClient";
|
|
70
|
-
var commandName = "ListPermissionsCommand";
|
|
71
|
-
var handlerExecutionContext = {
|
|
72
|
-
logger: logger,
|
|
73
|
-
clientName: clientName,
|
|
74
|
-
commandName: commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListPermissionsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListPermissionsResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
var requestHandler = configuration.requestHandler;
|
|
79
|
-
return stack.resolve(function (request) {
|
|
80
|
-
return requestHandler.handle(request.request, options || {});
|
|
81
|
-
}, handlerExecutionContext);
|
|
82
|
-
};
|
|
83
|
-
ListPermissionsCommand.prototype.serialize = function (input, context) {
|
|
84
|
-
return serializeAws_json1_1ListPermissionsCommand(input, context);
|
|
85
|
-
};
|
|
86
|
-
ListPermissionsCommand.prototype.deserialize = function (output, context) {
|
|
87
|
-
return deserializeAws_json1_1ListPermissionsCommand(output, context);
|
|
88
|
-
};
|
|
89
|
-
return ListPermissionsCommand;
|
|
90
|
-
}($Command));
|
|
91
|
-
export { ListPermissionsCommand };
|
|
92
|
-
//# sourceMappingURL=ListPermissionsCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListPermissionsCommand.js","sourceRoot":"","sources":["../../../commands/ListPermissionsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH;IAA4C,0CAI3C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,gCAAqB,KAAkC;QAAvD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA6B;;QAGrD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,kDAAiB,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,CAA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ChE,CAAC;IAIH,sBAAC;AAAD,CAAC,AAlDD,CAAqC,QAAQ,GAkD5C"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { PutPolicyRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1PutPolicyCommand, serializeAws_json1_1PutPolicyCommand } 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>Attaches a resource-based policy to a private CA. </p>
|
|
8
|
-
* <p>A policy can also be applied by sharing a private CA through AWS Resource Access
|
|
9
|
-
* Manager (RAM). For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html">Attach a Policy for Cross-Account
|
|
10
|
-
* Access</a>.</p>
|
|
11
|
-
* <p>The policy can be displayed with <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_GetPolicy.html">GetPolicy</a> and removed with <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeletePolicy.html">DeletePolicy</a>.</p>
|
|
12
|
-
* <p class="title">
|
|
13
|
-
* <b>About Policies</b>
|
|
14
|
-
* </p>
|
|
15
|
-
* <ul>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>A policy grants access on a private CA to an AWS customer account, to AWS Organizations, or to
|
|
18
|
-
* an AWS Organizations unit. Policies are under the control of a CA administrator. For more information,
|
|
19
|
-
* 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>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>A policy permits a user of AWS Certificate Manager (ACM) to issue ACM certificates
|
|
23
|
-
* signed by a CA in another account.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>For ACM to manage automatic renewal of these certificates,
|
|
27
|
-
* the ACM user must configure a Service Linked Role (SLR). The SLR allows
|
|
28
|
-
* the ACM service to assume the identity of the user, subject to confirmation against the
|
|
29
|
-
* ACM Private CA policy. For more information, see
|
|
30
|
-
* <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html">Using a
|
|
31
|
-
* Service Linked Role with ACM</a>.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>Updates made in AWS Resource Manager (RAM) are reflected in policies. For more information,
|
|
35
|
-
* see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html">Attach a Policy for Cross-Account
|
|
36
|
-
* Access</a>.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* </ul>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { ACMPCAClient, PutPolicyCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
43
|
-
* // const { ACMPCAClient, PutPolicyCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
44
|
-
* const client = new ACMPCAClient(config);
|
|
45
|
-
* const command = new PutPolicyCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link PutPolicyCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link PutPolicyCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
var PutPolicyCommand = /** @class */ (function (_super) {
|
|
55
|
-
__extends(PutPolicyCommand, _super);
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
function PutPolicyCommand(input) {
|
|
59
|
-
var _this =
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
_super.call(this) || this;
|
|
62
|
-
_this.input = input;
|
|
63
|
-
return _this;
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
PutPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
var logger = configuration.logger;
|
|
73
|
-
var clientName = "ACMPCAClient";
|
|
74
|
-
var commandName = "PutPolicyCommand";
|
|
75
|
-
var handlerExecutionContext = {
|
|
76
|
-
logger: logger,
|
|
77
|
-
clientName: clientName,
|
|
78
|
-
commandName: commandName,
|
|
79
|
-
inputFilterSensitiveLog: PutPolicyRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: function (output) { return output; },
|
|
81
|
-
};
|
|
82
|
-
var requestHandler = configuration.requestHandler;
|
|
83
|
-
return stack.resolve(function (request) {
|
|
84
|
-
return requestHandler.handle(request.request, options || {});
|
|
85
|
-
}, handlerExecutionContext);
|
|
86
|
-
};
|
|
87
|
-
PutPolicyCommand.prototype.serialize = function (input, context) {
|
|
88
|
-
return serializeAws_json1_1PutPolicyCommand(input, context);
|
|
89
|
-
};
|
|
90
|
-
PutPolicyCommand.prototype.deserialize = function (output, context) {
|
|
91
|
-
return deserializeAws_json1_1PutPolicyCommand(output, context);
|
|
92
|
-
};
|
|
93
|
-
return PutPolicyCommand;
|
|
94
|
-
}($Command));
|
|
95
|
-
export { PutPolicyCommand };
|
|
96
|
-
//# sourceMappingURL=PutPolicyCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PutPolicyCommand.js","sourceRoot":"","sources":["../../../commands/PutPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH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AAO,oCAAoC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAEO,sCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,sCAAsC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAIH,uBAAC;AAAD,CAAC,AAtDD,CAAsC,QAAQ,GAsD7C"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { RestoreCertificateAuthorityRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1RestoreCertificateAuthorityCommand, serializeAws_json1_1RestoreCertificateAuthorityCommand, } 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>Restores a certificate authority (CA) that is in the <code>DELETED</code> state. You
|
|
8
|
-
* can restore a CA during the period that you defined in the <b>PermanentDeletionTimeInDays</b> parameter of the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeleteCertificateAuthority.html">DeleteCertificateAuthority</a> action. Currently, you can specify 7 to 30 days.
|
|
9
|
-
* If you did not specify a <b>PermanentDeletionTimeInDays</b>
|
|
10
|
-
* value, by default you can restore the CA at any time in a 30 day period. You can check
|
|
11
|
-
* the time remaining in the restoration period of a private CA in the <code>DELETED</code>
|
|
12
|
-
* state by calling the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DescribeCertificateAuthority.html">DescribeCertificateAuthority</a> or <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a> actions. The status of a restored CA is set to
|
|
13
|
-
* its pre-deletion status when the <b>RestoreCertificateAuthority</b> action returns. To change its status to
|
|
14
|
-
* <code>ACTIVE</code>, call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_UpdateCertificateAuthority.html">UpdateCertificateAuthority</a> action. If the private CA was in the
|
|
15
|
-
* <code>PENDING_CERTIFICATE</code> state at deletion, you must use the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ImportCertificateAuthorityCertificate.html">ImportCertificateAuthorityCertificate</a> action to import a certificate
|
|
16
|
-
* authority into the private CA before it can be activated. You cannot restore a CA after
|
|
17
|
-
* the restoration period has ended.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { ACMPCAClient, RestoreCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
22
|
-
* // const { ACMPCAClient, RestoreCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
23
|
-
* const client = new ACMPCAClient(config);
|
|
24
|
-
* const command = new RestoreCertificateAuthorityCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link RestoreCertificateAuthorityCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link RestoreCertificateAuthorityCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
var RestoreCertificateAuthorityCommand = /** @class */ (function (_super) {
|
|
34
|
-
__extends(RestoreCertificateAuthorityCommand, _super);
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
|
-
function RestoreCertificateAuthorityCommand(input) {
|
|
38
|
-
var _this =
|
|
39
|
-
// Start section: command_constructor
|
|
40
|
-
_super.call(this) || this;
|
|
41
|
-
_this.input = input;
|
|
42
|
-
return _this;
|
|
43
|
-
// End section: command_constructor
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
|
-
RestoreCertificateAuthorityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
49
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
50
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
51
|
-
var logger = configuration.logger;
|
|
52
|
-
var clientName = "ACMPCAClient";
|
|
53
|
-
var commandName = "RestoreCertificateAuthorityCommand";
|
|
54
|
-
var handlerExecutionContext = {
|
|
55
|
-
logger: logger,
|
|
56
|
-
clientName: clientName,
|
|
57
|
-
commandName: commandName,
|
|
58
|
-
inputFilterSensitiveLog: RestoreCertificateAuthorityRequest.filterSensitiveLog,
|
|
59
|
-
outputFilterSensitiveLog: function (output) { return output; },
|
|
60
|
-
};
|
|
61
|
-
var requestHandler = configuration.requestHandler;
|
|
62
|
-
return stack.resolve(function (request) {
|
|
63
|
-
return requestHandler.handle(request.request, options || {});
|
|
64
|
-
}, handlerExecutionContext);
|
|
65
|
-
};
|
|
66
|
-
RestoreCertificateAuthorityCommand.prototype.serialize = function (input, context) {
|
|
67
|
-
return serializeAws_json1_1RestoreCertificateAuthorityCommand(input, context);
|
|
68
|
-
};
|
|
69
|
-
RestoreCertificateAuthorityCommand.prototype.deserialize = function (output, context) {
|
|
70
|
-
return deserializeAws_json1_1RestoreCertificateAuthorityCommand(output, context);
|
|
71
|
-
};
|
|
72
|
-
return RestoreCertificateAuthorityCommand;
|
|
73
|
-
}($Command));
|
|
74
|
-
export { RestoreCertificateAuthorityCommand };
|
|
75
|
-
//# sourceMappingURL=RestoreCertificateAuthorityCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RestoreCertificateAuthorityCommand.js","sourceRoot":"","sources":["../../../commands/RestoreCertificateAuthorityCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,M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ChF,CAAC;IAEO,wDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,wDAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAIH,yCAAC;AAAD,CAAC,AAzDD,CAAwD,QAAQ,GAyD/D"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { RevokeCertificateRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1RevokeCertificateCommand, serializeAws_json1_1RevokeCertificateCommand, } 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 a certificate that was issued inside ACM Private CA. If you enable a certificate
|
|
8
|
-
* revocation list (CRL) when you create or update your private CA, information about the
|
|
9
|
-
* revoked certificates will be included in the CRL. ACM Private CA writes the CRL to an S3 bucket
|
|
10
|
-
* that you specify. A CRL is typically updated approximately 30 minutes after a
|
|
11
|
-
* certificate is revoked. If for any reason the CRL update fails, ACM Private CA attempts makes
|
|
12
|
-
* further attempts every 15 minutes. With Amazon CloudWatch, you can create alarms for the
|
|
13
|
-
* metrics <code>CRLGenerated</code> and <code>MisconfiguredCRLBucket</code>. For more
|
|
14
|
-
* information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaCloudWatch.html">Supported CloudWatch Metrics</a>.</p>
|
|
15
|
-
* <note>
|
|
16
|
-
* <p>Both PCA and the IAM principal must have permission to write to
|
|
17
|
-
* the S3 bucket that you specify. If the IAM principal making the call
|
|
18
|
-
* does not have permission to write to the bucket, then an exception is
|
|
19
|
-
* thrown. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuthAccess.html">Configure
|
|
20
|
-
* Access to ACM Private CA</a>.</p>
|
|
21
|
-
* </note>
|
|
22
|
-
* <p>ACM Private CA also writes
|
|
23
|
-
* revocation information to the audit report. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html">CreateCertificateAuthorityAuditReport</a>.</p>
|
|
24
|
-
* <note>
|
|
25
|
-
* <p>You cannot revoke a root CA self-signed certificate.</p>
|
|
26
|
-
* </note>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { ACMPCAClient, RevokeCertificateCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
31
|
-
* // const { ACMPCAClient, RevokeCertificateCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
32
|
-
* const client = new ACMPCAClient(config);
|
|
33
|
-
* const command = new RevokeCertificateCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link RevokeCertificateCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link RevokeCertificateCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
var RevokeCertificateCommand = /** @class */ (function (_super) {
|
|
43
|
-
__extends(RevokeCertificateCommand, _super);
|
|
44
|
-
// Start section: command_properties
|
|
45
|
-
// End section: command_properties
|
|
46
|
-
function RevokeCertificateCommand(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
|
-
RevokeCertificateCommand.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 = "RevokeCertificateCommand";
|
|
63
|
-
var handlerExecutionContext = {
|
|
64
|
-
logger: logger,
|
|
65
|
-
clientName: clientName,
|
|
66
|
-
commandName: commandName,
|
|
67
|
-
inputFilterSensitiveLog: RevokeCertificateRequest.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
|
-
RevokeCertificateCommand.prototype.serialize = function (input, context) {
|
|
76
|
-
return serializeAws_json1_1RevokeCertificateCommand(input, context);
|
|
77
|
-
};
|
|
78
|
-
RevokeCertificateCommand.prototype.deserialize = function (output, context) {
|
|
79
|
-
return deserializeAws_json1_1RevokeCertificateCommand(output, context);
|
|
80
|
-
};
|
|
81
|
-
return RevokeCertificateCommand;
|
|
82
|
-
}($Command));
|
|
83
|
-
export { RevokeCertificateCommand };
|
|
84
|
-
//# sourceMappingURL=RevokeCertificateCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RevokeCertificateCommand.js","sourceRoot":"","sources":["../../../commands/RevokeCertificateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH;IAA8C,4CAI7C;IACC,o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