@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
package/runtimeConfig.browser.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
-
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
7
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
8
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
|
-
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
|
-
import { ACMPCAClientConfig } from "./ACMPCAClient";
|
|
12
|
-
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
export const getRuntimeConfig = (config: ACMPCAClientConfig) => {
|
|
18
|
-
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
19
|
-
return {
|
|
20
|
-
...clientSharedValues,
|
|
21
|
-
...config,
|
|
22
|
-
runtime: "browser",
|
|
23
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
24
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
25
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
|
-
credentialDefaultProvider:
|
|
27
|
-
config?.credentialDefaultProvider ?? ((_: unknown) => () => Promise.reject(new Error("Credential is missing"))),
|
|
28
|
-
defaultUserAgentProvider:
|
|
29
|
-
config?.defaultUserAgentProvider ??
|
|
30
|
-
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
|
-
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
32
|
-
region: config?.region ?? invalidProvider("Region is missing"),
|
|
33
|
-
requestHandler: config?.requestHandler ?? new FetchHttpHandler(),
|
|
34
|
-
retryMode: config?.retryMode ?? (() => Promise.resolve(DEFAULT_RETRY_MODE)),
|
|
35
|
-
sha256: config?.sha256 ?? Sha256,
|
|
36
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
37
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
38
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
39
|
-
};
|
|
40
|
-
};
|
package/runtimeConfig.native.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
-
import { ACMPCAClientConfig } from "./ACMPCAClient";
|
|
3
|
-
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
export const getRuntimeConfig = (config: ACMPCAClientConfig) => {
|
|
9
|
-
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
10
|
-
return {
|
|
11
|
-
...browserDefaults,
|
|
12
|
-
...config,
|
|
13
|
-
runtime: "react-native",
|
|
14
|
-
sha256: config?.sha256 ?? Sha256,
|
|
15
|
-
};
|
|
16
|
-
};
|
package/runtimeConfig.shared.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
|
-
import { Logger as __Logger } from "@aws-sdk/types";
|
|
3
|
-
import { parseUrl } from "@aws-sdk/url-parser";
|
|
4
|
-
import { ACMPCAClientConfig } from "./ACMPCAClient";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
export const getRuntimeConfig = (config: ACMPCAClientConfig) => ({
|
|
10
|
-
apiVersion: "2017-08-22",
|
|
11
|
-
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
12
|
-
logger: config?.logger ?? ({} as __Logger),
|
|
13
|
-
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
14
|
-
serviceId: config?.serviceId ?? "ACM PCA",
|
|
15
|
-
urlParser: config?.urlParser ?? parseUrl,
|
|
16
|
-
});
|
package/runtimeConfig.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
|
-
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
|
-
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
|
-
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
|
-
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
|
-
import { ACMPCAClientConfig } from "./ACMPCAClient";
|
|
15
|
-
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
*/
|
|
21
|
-
export const getRuntimeConfig = (config: ACMPCAClientConfig) => {
|
|
22
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
23
|
-
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
24
|
-
return {
|
|
25
|
-
...clientSharedValues,
|
|
26
|
-
...config,
|
|
27
|
-
runtime: "node",
|
|
28
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
29
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
30
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
33
|
-
defaultUserAgentProvider:
|
|
34
|
-
config?.defaultUserAgentProvider ??
|
|
35
|
-
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
36
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
37
|
-
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
38
|
-
requestHandler: config?.requestHandler ?? new NodeHttpHandler(),
|
|
39
|
-
retryMode: config?.retryMode ?? loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
40
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
41
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
42
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
43
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
44
|
-
};
|
|
45
|
-
};
|
package/tsconfig.es.json
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "es5",
|
|
5
|
-
"module": "esnext",
|
|
6
|
-
"moduleResolution": "node",
|
|
7
|
-
"declaration": false,
|
|
8
|
-
"declarationDir": null,
|
|
9
|
-
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
|
|
10
|
-
"outDir": "dist/es"
|
|
11
|
-
}
|
|
12
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"alwaysStrict": true,
|
|
4
|
-
"target": "ES2018",
|
|
5
|
-
"module": "commonjs",
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"strict": true,
|
|
8
|
-
"sourceMap": true,
|
|
9
|
-
"downlevelIteration": true,
|
|
10
|
-
"importHelpers": true,
|
|
11
|
-
"noEmitHelpers": true,
|
|
12
|
-
"incremental": true,
|
|
13
|
-
"resolveJsonModule": true,
|
|
14
|
-
"esModuleInterop": true,
|
|
15
|
-
"declarationDir": "./dist/types",
|
|
16
|
-
"outDir": "dist/cjs"
|
|
17
|
-
},
|
|
18
|
-
"typedocOptions": {
|
|
19
|
-
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
|
|
20
|
-
"excludeNotExported": true,
|
|
21
|
-
"excludePrivate": true,
|
|
22
|
-
"hideGenerator": true,
|
|
23
|
-
"ignoreCompilerErrors": true,
|
|
24
|
-
"includeDeclarations": true,
|
|
25
|
-
"stripInternal": true,
|
|
26
|
-
"readme": "./README.md",
|
|
27
|
-
"mode": "file",
|
|
28
|
-
"out": "./docs",
|
|
29
|
-
"theme": "minimal",
|
|
30
|
-
"plugin": ["@aws-sdk/client-documentation-generator"]
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { ACMPCAClient } from "../ACMPCAClient";
|
|
2
|
-
import {
|
|
3
|
-
DescribeCertificateAuthorityAuditReportCommand,
|
|
4
|
-
DescribeCertificateAuthorityAuditReportCommandInput,
|
|
5
|
-
} from "../commands/DescribeCertificateAuthorityAuditReportCommand";
|
|
6
|
-
import { WaiterConfiguration, WaiterResult, WaiterState, checkExceptions, createWaiter } from "@aws-sdk/util-waiter";
|
|
7
|
-
|
|
8
|
-
const checkState = async (
|
|
9
|
-
client: ACMPCAClient,
|
|
10
|
-
input: DescribeCertificateAuthorityAuditReportCommandInput
|
|
11
|
-
): Promise<WaiterResult> => {
|
|
12
|
-
let reason;
|
|
13
|
-
try {
|
|
14
|
-
let result: any = await client.send(new DescribeCertificateAuthorityAuditReportCommand(input));
|
|
15
|
-
reason = result;
|
|
16
|
-
try {
|
|
17
|
-
let returnComparator = () => {
|
|
18
|
-
return result.AuditReportStatus;
|
|
19
|
-
};
|
|
20
|
-
if (returnComparator() === "SUCCESS") {
|
|
21
|
-
return { state: WaiterState.SUCCESS, reason };
|
|
22
|
-
}
|
|
23
|
-
} catch (e) {}
|
|
24
|
-
try {
|
|
25
|
-
let returnComparator = () => {
|
|
26
|
-
return result.AuditReportStatus;
|
|
27
|
-
};
|
|
28
|
-
if (returnComparator() === "FAILED") {
|
|
29
|
-
return { state: WaiterState.FAILURE, reason };
|
|
30
|
-
}
|
|
31
|
-
} catch (e) {}
|
|
32
|
-
} catch (exception) {
|
|
33
|
-
reason = exception;
|
|
34
|
-
}
|
|
35
|
-
return { state: WaiterState.RETRY, reason };
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Wait until a Audit Report is created
|
|
39
|
-
* @deprecated Use waitUntilAuditReportCreated instead. waitForAuditReportCreated does not throw error in non-success cases.
|
|
40
|
-
*/
|
|
41
|
-
export const waitForAuditReportCreated = async (
|
|
42
|
-
params: WaiterConfiguration<ACMPCAClient>,
|
|
43
|
-
input: DescribeCertificateAuthorityAuditReportCommandInput
|
|
44
|
-
): Promise<WaiterResult> => {
|
|
45
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
46
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Wait until a Audit Report is created
|
|
50
|
-
* @param params - Waiter configuration options.
|
|
51
|
-
* @param input - The input to DescribeCertificateAuthorityAuditReportCommand for polling.
|
|
52
|
-
*/
|
|
53
|
-
export const waitUntilAuditReportCreated = async (
|
|
54
|
-
params: WaiterConfiguration<ACMPCAClient>,
|
|
55
|
-
input: DescribeCertificateAuthorityAuditReportCommandInput
|
|
56
|
-
): Promise<WaiterResult> => {
|
|
57
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
58
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
59
|
-
return checkExceptions(result);
|
|
60
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ACMPCAClient } from "../ACMPCAClient";
|
|
2
|
-
import {
|
|
3
|
-
GetCertificateAuthorityCsrCommand,
|
|
4
|
-
GetCertificateAuthorityCsrCommandInput,
|
|
5
|
-
} from "../commands/GetCertificateAuthorityCsrCommand";
|
|
6
|
-
import { WaiterConfiguration, WaiterResult, WaiterState, checkExceptions, createWaiter } from "@aws-sdk/util-waiter";
|
|
7
|
-
|
|
8
|
-
const checkState = async (
|
|
9
|
-
client: ACMPCAClient,
|
|
10
|
-
input: GetCertificateAuthorityCsrCommandInput
|
|
11
|
-
): Promise<WaiterResult> => {
|
|
12
|
-
let reason;
|
|
13
|
-
try {
|
|
14
|
-
let result: any = await client.send(new GetCertificateAuthorityCsrCommand(input));
|
|
15
|
-
reason = result;
|
|
16
|
-
return { state: WaiterState.SUCCESS, reason };
|
|
17
|
-
} catch (exception) {
|
|
18
|
-
reason = exception;
|
|
19
|
-
if (exception.name && exception.name == "RequestInProgressException") {
|
|
20
|
-
return { state: WaiterState.RETRY, reason };
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
return { state: WaiterState.RETRY, reason };
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Wait until a Certificate Authority CSR is created
|
|
27
|
-
* @deprecated Use waitUntilCertificateAuthorityCSRCreated instead. waitForCertificateAuthorityCSRCreated does not throw error in non-success cases.
|
|
28
|
-
*/
|
|
29
|
-
export const waitForCertificateAuthorityCSRCreated = async (
|
|
30
|
-
params: WaiterConfiguration<ACMPCAClient>,
|
|
31
|
-
input: GetCertificateAuthorityCsrCommandInput
|
|
32
|
-
): Promise<WaiterResult> => {
|
|
33
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
34
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Wait until a Certificate Authority CSR is created
|
|
38
|
-
* @param params - Waiter configuration options.
|
|
39
|
-
* @param input - The input to GetCertificateAuthorityCsrCommand for polling.
|
|
40
|
-
*/
|
|
41
|
-
export const waitUntilCertificateAuthorityCSRCreated = async (
|
|
42
|
-
params: WaiterConfiguration<ACMPCAClient>,
|
|
43
|
-
input: GetCertificateAuthorityCsrCommandInput
|
|
44
|
-
): Promise<WaiterResult> => {
|
|
45
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
46
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
47
|
-
return checkExceptions(result);
|
|
48
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ACMPCAClient } from "../ACMPCAClient";
|
|
2
|
-
import { GetCertificateCommand, GetCertificateCommandInput } from "../commands/GetCertificateCommand";
|
|
3
|
-
import { WaiterConfiguration, WaiterResult, WaiterState, checkExceptions, createWaiter } from "@aws-sdk/util-waiter";
|
|
4
|
-
|
|
5
|
-
const checkState = async (client: ACMPCAClient, input: GetCertificateCommandInput): Promise<WaiterResult> => {
|
|
6
|
-
let reason;
|
|
7
|
-
try {
|
|
8
|
-
let result: any = await client.send(new GetCertificateCommand(input));
|
|
9
|
-
reason = result;
|
|
10
|
-
return { state: WaiterState.SUCCESS, reason };
|
|
11
|
-
} catch (exception) {
|
|
12
|
-
reason = exception;
|
|
13
|
-
if (exception.name && exception.name == "RequestInProgressException") {
|
|
14
|
-
return { state: WaiterState.RETRY, reason };
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return { state: WaiterState.RETRY, reason };
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Wait until a certificate is issued
|
|
21
|
-
* @deprecated Use waitUntilCertificateIssued instead. waitForCertificateIssued does not throw error in non-success cases.
|
|
22
|
-
*/
|
|
23
|
-
export const waitForCertificateIssued = async (
|
|
24
|
-
params: WaiterConfiguration<ACMPCAClient>,
|
|
25
|
-
input: GetCertificateCommandInput
|
|
26
|
-
): Promise<WaiterResult> => {
|
|
27
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
28
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Wait until a certificate is issued
|
|
32
|
-
* @param params - Waiter configuration options.
|
|
33
|
-
* @param input - The input to GetCertificateCommand for polling.
|
|
34
|
-
*/
|
|
35
|
-
export const waitUntilCertificateIssued = async (
|
|
36
|
-
params: WaiterConfiguration<ACMPCAClient>,
|
|
37
|
-
input: GetCertificateCommandInput
|
|
38
|
-
): Promise<WaiterResult> => {
|
|
39
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
40
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
41
|
-
return checkExceptions(result);
|
|
42
|
-
};
|