@aws-sdk/client-acm-pca 3.35.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.
Files changed (211) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/ACMPCA.js +0 -1
  3. package/dist-cjs/ACMPCAClient.js +0 -1
  4. package/dist-cjs/commands/CreateCertificateAuthorityAuditReportCommand.js +0 -1
  5. package/dist-cjs/commands/CreateCertificateAuthorityCommand.js +0 -1
  6. package/dist-cjs/commands/CreatePermissionCommand.js +0 -1
  7. package/dist-cjs/commands/DeleteCertificateAuthorityCommand.js +0 -1
  8. package/dist-cjs/commands/DeletePermissionCommand.js +0 -1
  9. package/dist-cjs/commands/DeletePolicyCommand.js +0 -1
  10. package/dist-cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js +0 -1
  11. package/dist-cjs/commands/DescribeCertificateAuthorityCommand.js +0 -1
  12. package/dist-cjs/commands/GetCertificateAuthorityCertificateCommand.js +0 -1
  13. package/dist-cjs/commands/GetCertificateAuthorityCsrCommand.js +0 -1
  14. package/dist-cjs/commands/GetCertificateCommand.js +0 -1
  15. package/dist-cjs/commands/GetPolicyCommand.js +0 -1
  16. package/dist-cjs/commands/ImportCertificateAuthorityCertificateCommand.js +0 -1
  17. package/dist-cjs/commands/IssueCertificateCommand.js +0 -1
  18. package/dist-cjs/commands/ListCertificateAuthoritiesCommand.js +0 -1
  19. package/dist-cjs/commands/ListPermissionsCommand.js +0 -1
  20. package/dist-cjs/commands/ListTagsCommand.js +0 -1
  21. package/dist-cjs/commands/PutPolicyCommand.js +0 -1
  22. package/dist-cjs/commands/RestoreCertificateAuthorityCommand.js +0 -1
  23. package/dist-cjs/commands/RevokeCertificateCommand.js +0 -1
  24. package/dist-cjs/commands/TagCertificateAuthorityCommand.js +0 -1
  25. package/dist-cjs/commands/UntagCertificateAuthorityCommand.js +0 -1
  26. package/dist-cjs/commands/UpdateCertificateAuthorityCommand.js +0 -1
  27. package/dist-cjs/endpoints.js +0 -1
  28. package/dist-cjs/index.js +0 -1
  29. package/dist-cjs/models/index.js +0 -1
  30. package/dist-cjs/models/models_0.js +0 -1
  31. package/dist-cjs/pagination/Interfaces.js +0 -1
  32. package/dist-cjs/pagination/ListCertificateAuthoritiesPaginator.js +0 -1
  33. package/dist-cjs/pagination/ListPermissionsPaginator.js +0 -1
  34. package/dist-cjs/pagination/ListTagsPaginator.js +0 -1
  35. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  36. package/dist-cjs/runtimeConfig.browser.js +2 -3
  37. package/dist-cjs/runtimeConfig.js +3 -4
  38. package/dist-cjs/runtimeConfig.native.js +0 -1
  39. package/dist-cjs/runtimeConfig.shared.js +0 -1
  40. package/dist-cjs/waiters/waitForAuditReportCreated.js +0 -1
  41. package/dist-cjs/waiters/waitForCertificateAuthorityCSRCreated.js +0 -1
  42. package/dist-cjs/waiters/waitForCertificateIssued.js +0 -1
  43. package/dist-es/ACMPCA.js +0 -1
  44. package/dist-es/ACMPCAClient.js +0 -1
  45. package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +0 -1
  46. package/dist-es/commands/CreateCertificateAuthorityCommand.js +0 -1
  47. package/dist-es/commands/CreatePermissionCommand.js +0 -1
  48. package/dist-es/commands/DeleteCertificateAuthorityCommand.js +0 -1
  49. package/dist-es/commands/DeletePermissionCommand.js +0 -1
  50. package/dist-es/commands/DeletePolicyCommand.js +0 -1
  51. package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js +0 -1
  52. package/dist-es/commands/DescribeCertificateAuthorityCommand.js +0 -1
  53. package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js +0 -1
  54. package/dist-es/commands/GetCertificateAuthorityCsrCommand.js +0 -1
  55. package/dist-es/commands/GetCertificateCommand.js +0 -1
  56. package/dist-es/commands/GetPolicyCommand.js +0 -1
  57. package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +0 -1
  58. package/dist-es/commands/IssueCertificateCommand.js +0 -1
  59. package/dist-es/commands/ListCertificateAuthoritiesCommand.js +0 -1
  60. package/dist-es/commands/ListPermissionsCommand.js +0 -1
  61. package/dist-es/commands/ListTagsCommand.js +0 -1
  62. package/dist-es/commands/PutPolicyCommand.js +0 -1
  63. package/dist-es/commands/RestoreCertificateAuthorityCommand.js +0 -1
  64. package/dist-es/commands/RevokeCertificateCommand.js +0 -1
  65. package/dist-es/commands/TagCertificateAuthorityCommand.js +0 -1
  66. package/dist-es/commands/UntagCertificateAuthorityCommand.js +0 -1
  67. package/dist-es/commands/UpdateCertificateAuthorityCommand.js +0 -1
  68. package/dist-es/endpoints.js +0 -1
  69. package/dist-es/index.js +0 -1
  70. package/dist-es/models/index.js +0 -1
  71. package/dist-es/models/models_0.js +0 -1
  72. package/dist-es/pagination/Interfaces.js +0 -1
  73. package/dist-es/pagination/ListCertificateAuthoritiesPaginator.js +0 -1
  74. package/dist-es/pagination/ListPermissionsPaginator.js +0 -1
  75. package/dist-es/pagination/ListTagsPaginator.js +0 -1
  76. package/dist-es/protocols/Aws_json1_1.js +0 -1
  77. package/dist-es/runtimeConfig.browser.js +1 -2
  78. package/dist-es/runtimeConfig.js +2 -3
  79. package/dist-es/runtimeConfig.native.js +0 -1
  80. package/dist-es/runtimeConfig.shared.js +0 -1
  81. package/dist-es/waiters/waitForAuditReportCreated.js +0 -1
  82. package/dist-es/waiters/waitForCertificateAuthorityCSRCreated.js +0 -1
  83. package/dist-es/waiters/waitForCertificateIssued.js +0 -1
  84. package/package.json +34 -31
  85. package/dist-cjs/ACMPCA.js.map +0 -1
  86. package/dist-cjs/ACMPCAClient.js.map +0 -1
  87. package/dist-cjs/commands/CreateCertificateAuthorityAuditReportCommand.js.map +0 -1
  88. package/dist-cjs/commands/CreateCertificateAuthorityCommand.js.map +0 -1
  89. package/dist-cjs/commands/CreatePermissionCommand.js.map +0 -1
  90. package/dist-cjs/commands/DeleteCertificateAuthorityCommand.js.map +0 -1
  91. package/dist-cjs/commands/DeletePermissionCommand.js.map +0 -1
  92. package/dist-cjs/commands/DeletePolicyCommand.js.map +0 -1
  93. package/dist-cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +0 -1
  94. package/dist-cjs/commands/DescribeCertificateAuthorityCommand.js.map +0 -1
  95. package/dist-cjs/commands/GetCertificateAuthorityCertificateCommand.js.map +0 -1
  96. package/dist-cjs/commands/GetCertificateAuthorityCsrCommand.js.map +0 -1
  97. package/dist-cjs/commands/GetCertificateCommand.js.map +0 -1
  98. package/dist-cjs/commands/GetPolicyCommand.js.map +0 -1
  99. package/dist-cjs/commands/ImportCertificateAuthorityCertificateCommand.js.map +0 -1
  100. package/dist-cjs/commands/IssueCertificateCommand.js.map +0 -1
  101. package/dist-cjs/commands/ListCertificateAuthoritiesCommand.js.map +0 -1
  102. package/dist-cjs/commands/ListPermissionsCommand.js.map +0 -1
  103. package/dist-cjs/commands/ListTagsCommand.js.map +0 -1
  104. package/dist-cjs/commands/PutPolicyCommand.js.map +0 -1
  105. package/dist-cjs/commands/RestoreCertificateAuthorityCommand.js.map +0 -1
  106. package/dist-cjs/commands/RevokeCertificateCommand.js.map +0 -1
  107. package/dist-cjs/commands/TagCertificateAuthorityCommand.js.map +0 -1
  108. package/dist-cjs/commands/UntagCertificateAuthorityCommand.js.map +0 -1
  109. package/dist-cjs/commands/UpdateCertificateAuthorityCommand.js.map +0 -1
  110. package/dist-cjs/endpoints.js.map +0 -1
  111. package/dist-cjs/index.js.map +0 -1
  112. package/dist-cjs/models/index.js.map +0 -1
  113. package/dist-cjs/models/models_0.js.map +0 -1
  114. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  115. package/dist-cjs/pagination/ListCertificateAuthoritiesPaginator.js.map +0 -1
  116. package/dist-cjs/pagination/ListPermissionsPaginator.js.map +0 -1
  117. package/dist-cjs/pagination/ListTagsPaginator.js.map +0 -1
  118. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  119. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  120. package/dist-cjs/runtimeConfig.js.map +0 -1
  121. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  122. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  123. package/dist-cjs/waiters/waitForAuditReportCreated.js.map +0 -1
  124. package/dist-cjs/waiters/waitForCertificateAuthorityCSRCreated.js.map +0 -1
  125. package/dist-cjs/waiters/waitForCertificateIssued.js.map +0 -1
  126. package/dist-es/ACMPCA.js.map +0 -1
  127. package/dist-es/ACMPCAClient.js.map +0 -1
  128. package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js.map +0 -1
  129. package/dist-es/commands/CreateCertificateAuthorityCommand.js.map +0 -1
  130. package/dist-es/commands/CreatePermissionCommand.js.map +0 -1
  131. package/dist-es/commands/DeleteCertificateAuthorityCommand.js.map +0 -1
  132. package/dist-es/commands/DeletePermissionCommand.js.map +0 -1
  133. package/dist-es/commands/DeletePolicyCommand.js.map +0 -1
  134. package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +0 -1
  135. package/dist-es/commands/DescribeCertificateAuthorityCommand.js.map +0 -1
  136. package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js.map +0 -1
  137. package/dist-es/commands/GetCertificateAuthorityCsrCommand.js.map +0 -1
  138. package/dist-es/commands/GetCertificateCommand.js.map +0 -1
  139. package/dist-es/commands/GetPolicyCommand.js.map +0 -1
  140. package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js.map +0 -1
  141. package/dist-es/commands/IssueCertificateCommand.js.map +0 -1
  142. package/dist-es/commands/ListCertificateAuthoritiesCommand.js.map +0 -1
  143. package/dist-es/commands/ListPermissionsCommand.js.map +0 -1
  144. package/dist-es/commands/ListTagsCommand.js.map +0 -1
  145. package/dist-es/commands/PutPolicyCommand.js.map +0 -1
  146. package/dist-es/commands/RestoreCertificateAuthorityCommand.js.map +0 -1
  147. package/dist-es/commands/RevokeCertificateCommand.js.map +0 -1
  148. package/dist-es/commands/TagCertificateAuthorityCommand.js.map +0 -1
  149. package/dist-es/commands/UntagCertificateAuthorityCommand.js.map +0 -1
  150. package/dist-es/commands/UpdateCertificateAuthorityCommand.js.map +0 -1
  151. package/dist-es/endpoints.js.map +0 -1
  152. package/dist-es/index.js.map +0 -1
  153. package/dist-es/models/index.js.map +0 -1
  154. package/dist-es/models/models_0.js.map +0 -1
  155. package/dist-es/pagination/Interfaces.js.map +0 -1
  156. package/dist-es/pagination/ListCertificateAuthoritiesPaginator.js.map +0 -1
  157. package/dist-es/pagination/ListPermissionsPaginator.js.map +0 -1
  158. package/dist-es/pagination/ListTagsPaginator.js.map +0 -1
  159. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  160. package/dist-es/runtimeConfig.browser.js.map +0 -1
  161. package/dist-es/runtimeConfig.js.map +0 -1
  162. package/dist-es/runtimeConfig.native.js.map +0 -1
  163. package/dist-es/runtimeConfig.shared.js.map +0 -1
  164. package/dist-es/waiters/waitForAuditReportCreated.js.map +0 -1
  165. package/dist-es/waiters/waitForCertificateAuthorityCSRCreated.js.map +0 -1
  166. package/dist-es/waiters/waitForCertificateIssued.js.map +0 -1
  167. package/jest.config.js +0 -4
  168. package/src/ACMPCA.ts +0 -1323
  169. package/src/ACMPCAClient.ts +0 -361
  170. package/src/commands/CreateCertificateAuthorityAuditReportCommand.ts +0 -122
  171. package/src/commands/CreateCertificateAuthorityCommand.ts +0 -118
  172. package/src/commands/CreatePermissionCommand.ts +0 -121
  173. package/src/commands/DeleteCertificateAuthorityCommand.ts +0 -117
  174. package/src/commands/DeletePermissionCommand.ts +0 -123
  175. package/src/commands/DeletePolicyCommand.ts +0 -129
  176. package/src/commands/DescribeCertificateAuthorityAuditReportCommand.ts +0 -113
  177. package/src/commands/DescribeCertificateAuthorityCommand.ts +0 -140
  178. package/src/commands/GetCertificateAuthorityCertificateCommand.ts +0 -109
  179. package/src/commands/GetCertificateAuthorityCsrCommand.ts +0 -102
  180. package/src/commands/GetCertificateCommand.ts +0 -102
  181. package/src/commands/GetPolicyCommand.ts +0 -122
  182. package/src/commands/ImportCertificateAuthorityCertificateCommand.ts +0 -229
  183. package/src/commands/IssueCertificateCommand.ts +0 -102
  184. package/src/commands/ListCertificateAuthoritiesCommand.ts +0 -98
  185. package/src/commands/ListPermissionsCommand.ts +0 -122
  186. package/src/commands/ListTagsCommand.ts +0 -91
  187. package/src/commands/PutPolicyCommand.ts +0 -123
  188. package/src/commands/RestoreCertificateAuthorityCommand.ts +0 -108
  189. package/src/commands/RevokeCertificateCommand.ts +0 -114
  190. package/src/commands/TagCertificateAuthorityCommand.ts +0 -102
  191. package/src/commands/UntagCertificateAuthorityCommand.ts +0 -102
  192. package/src/commands/UpdateCertificateAuthorityCommand.ts +0 -108
  193. package/src/endpoints.ts +0 -91
  194. package/src/index.ts +0 -33
  195. package/src/models/index.ts +0 -1
  196. package/src/models/models_0.ts +0 -2571
  197. package/src/pagination/Interfaces.ts +0 -8
  198. package/src/pagination/ListCertificateAuthoritiesPaginator.ts +0 -59
  199. package/src/pagination/ListPermissionsPaginator.ts +0 -59
  200. package/src/pagination/ListTagsPaginator.ts +0 -55
  201. package/src/protocols/Aws_json1_1.ts +0 -3845
  202. package/src/runtimeConfig.browser.ts +0 -41
  203. package/src/runtimeConfig.native.ts +0 -17
  204. package/src/runtimeConfig.shared.ts +0 -17
  205. package/src/runtimeConfig.ts +0 -46
  206. package/src/waiters/waitForAuditReportCreated.ts +0 -61
  207. package/src/waiters/waitForCertificateAuthorityCSRCreated.ts +0 -49
  208. package/src/waiters/waitForCertificateIssued.ts +0 -43
  209. package/tsconfig.es.json +0 -10
  210. package/tsconfig.json +0 -33
  211. package/tsconfig.types.json +0 -9
@@ -1,8 +0,0 @@
1
- import { PaginationConfiguration } from "@aws-sdk/types";
2
-
3
- import { ACMPCA } from "../ACMPCA";
4
- import { ACMPCAClient } from "../ACMPCAClient";
5
-
6
- export interface ACMPCAPaginationConfiguration extends PaginationConfiguration {
7
- client: ACMPCA | ACMPCAClient;
8
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import { ACMPCA } from "../ACMPCA";
4
- import { ACMPCAClient } from "../ACMPCAClient";
5
- import {
6
- ListCertificateAuthoritiesCommand,
7
- ListCertificateAuthoritiesCommandInput,
8
- ListCertificateAuthoritiesCommandOutput,
9
- } from "../commands/ListCertificateAuthoritiesCommand";
10
- import { ACMPCAPaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ACMPCAClient,
17
- input: ListCertificateAuthoritiesCommandInput,
18
- ...args: any
19
- ): Promise<ListCertificateAuthoritiesCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new ListCertificateAuthoritiesCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ACMPCA,
28
- input: ListCertificateAuthoritiesCommandInput,
29
- ...args: any
30
- ): Promise<ListCertificateAuthoritiesCommandOutput> => {
31
- // @ts-ignore
32
- return await client.listCertificateAuthorities(input, ...args);
33
- };
34
- export async function* paginateListCertificateAuthorities(
35
- config: ACMPCAPaginationConfiguration,
36
- input: ListCertificateAuthoritiesCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<ListCertificateAuthoritiesCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.NextToken
40
- let token: typeof input.NextToken | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: ListCertificateAuthoritiesCommandOutput;
43
- while (hasNext) {
44
- input.NextToken = token;
45
- input["MaxResults"] = config.pageSize;
46
- if (config.client instanceof ACMPCA) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ACMPCAClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ACMPCA | ACMPCAClient");
52
- }
53
- yield page;
54
- token = page.NextToken;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import { ACMPCA } from "../ACMPCA";
4
- import { ACMPCAClient } from "../ACMPCAClient";
5
- import {
6
- ListPermissionsCommand,
7
- ListPermissionsCommandInput,
8
- ListPermissionsCommandOutput,
9
- } from "../commands/ListPermissionsCommand";
10
- import { ACMPCAPaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ACMPCAClient,
17
- input: ListPermissionsCommandInput,
18
- ...args: any
19
- ): Promise<ListPermissionsCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new ListPermissionsCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ACMPCA,
28
- input: ListPermissionsCommandInput,
29
- ...args: any
30
- ): Promise<ListPermissionsCommandOutput> => {
31
- // @ts-ignore
32
- return await client.listPermissions(input, ...args);
33
- };
34
- export async function* paginateListPermissions(
35
- config: ACMPCAPaginationConfiguration,
36
- input: ListPermissionsCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<ListPermissionsCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.NextToken
40
- let token: typeof input.NextToken | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: ListPermissionsCommandOutput;
43
- while (hasNext) {
44
- input.NextToken = token;
45
- input["MaxResults"] = config.pageSize;
46
- if (config.client instanceof ACMPCA) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ACMPCAClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ACMPCA | ACMPCAClient");
52
- }
53
- yield page;
54
- token = page.NextToken;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,55 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import { ACMPCA } from "../ACMPCA";
4
- import { ACMPCAClient } from "../ACMPCAClient";
5
- import { ListTagsCommand, ListTagsCommandInput, ListTagsCommandOutput } from "../commands/ListTagsCommand";
6
- import { ACMPCAPaginationConfiguration } from "./Interfaces";
7
-
8
- /**
9
- * @private
10
- */
11
- const makePagedClientRequest = async (
12
- client: ACMPCAClient,
13
- input: ListTagsCommandInput,
14
- ...args: any
15
- ): Promise<ListTagsCommandOutput> => {
16
- // @ts-ignore
17
- return await client.send(new ListTagsCommand(input), ...args);
18
- };
19
- /**
20
- * @private
21
- */
22
- const makePagedRequest = async (
23
- client: ACMPCA,
24
- input: ListTagsCommandInput,
25
- ...args: any
26
- ): Promise<ListTagsCommandOutput> => {
27
- // @ts-ignore
28
- return await client.listTags(input, ...args);
29
- };
30
- export async function* paginateListTags(
31
- config: ACMPCAPaginationConfiguration,
32
- input: ListTagsCommandInput,
33
- ...additionalArguments: any
34
- ): Paginator<ListTagsCommandOutput> {
35
- // ToDo: replace with actual type instead of typeof input.NextToken
36
- let token: typeof input.NextToken | undefined = config.startingToken || undefined;
37
- let hasNext = true;
38
- let page: ListTagsCommandOutput;
39
- while (hasNext) {
40
- input.NextToken = token;
41
- input["MaxResults"] = config.pageSize;
42
- if (config.client instanceof ACMPCA) {
43
- page = await makePagedRequest(config.client, input, ...additionalArguments);
44
- } else if (config.client instanceof ACMPCAClient) {
45
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
46
- } else {
47
- throw new Error("Invalid client, expected ACMPCA | ACMPCAClient");
48
- }
49
- yield page;
50
- token = page.NextToken;
51
- hasNext = !!token;
52
- }
53
- // @ts-ignore
54
- return undefined;
55
- }