@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,361 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import {
53
- CreateCertificateAuthorityAuditReportCommandInput,
54
- CreateCertificateAuthorityAuditReportCommandOutput,
55
- } from "./commands/CreateCertificateAuthorityAuditReportCommand";
56
- import {
57
- CreateCertificateAuthorityCommandInput,
58
- CreateCertificateAuthorityCommandOutput,
59
- } from "./commands/CreateCertificateAuthorityCommand";
60
- import { CreatePermissionCommandInput, CreatePermissionCommandOutput } from "./commands/CreatePermissionCommand";
61
- import {
62
- DeleteCertificateAuthorityCommandInput,
63
- DeleteCertificateAuthorityCommandOutput,
64
- } from "./commands/DeleteCertificateAuthorityCommand";
65
- import { DeletePermissionCommandInput, DeletePermissionCommandOutput } from "./commands/DeletePermissionCommand";
66
- import { DeletePolicyCommandInput, DeletePolicyCommandOutput } from "./commands/DeletePolicyCommand";
67
- import {
68
- DescribeCertificateAuthorityAuditReportCommandInput,
69
- DescribeCertificateAuthorityAuditReportCommandOutput,
70
- } from "./commands/DescribeCertificateAuthorityAuditReportCommand";
71
- import {
72
- DescribeCertificateAuthorityCommandInput,
73
- DescribeCertificateAuthorityCommandOutput,
74
- } from "./commands/DescribeCertificateAuthorityCommand";
75
- import {
76
- GetCertificateAuthorityCertificateCommandInput,
77
- GetCertificateAuthorityCertificateCommandOutput,
78
- } from "./commands/GetCertificateAuthorityCertificateCommand";
79
- import {
80
- GetCertificateAuthorityCsrCommandInput,
81
- GetCertificateAuthorityCsrCommandOutput,
82
- } from "./commands/GetCertificateAuthorityCsrCommand";
83
- import { GetCertificateCommandInput, GetCertificateCommandOutput } from "./commands/GetCertificateCommand";
84
- import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
85
- import {
86
- ImportCertificateAuthorityCertificateCommandInput,
87
- ImportCertificateAuthorityCertificateCommandOutput,
88
- } from "./commands/ImportCertificateAuthorityCertificateCommand";
89
- import { IssueCertificateCommandInput, IssueCertificateCommandOutput } from "./commands/IssueCertificateCommand";
90
- import {
91
- ListCertificateAuthoritiesCommandInput,
92
- ListCertificateAuthoritiesCommandOutput,
93
- } from "./commands/ListCertificateAuthoritiesCommand";
94
- import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
95
- import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
96
- import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
97
- import {
98
- RestoreCertificateAuthorityCommandInput,
99
- RestoreCertificateAuthorityCommandOutput,
100
- } from "./commands/RestoreCertificateAuthorityCommand";
101
- import { RevokeCertificateCommandInput, RevokeCertificateCommandOutput } from "./commands/RevokeCertificateCommand";
102
- import {
103
- TagCertificateAuthorityCommandInput,
104
- TagCertificateAuthorityCommandOutput,
105
- } from "./commands/TagCertificateAuthorityCommand";
106
- import {
107
- UntagCertificateAuthorityCommandInput,
108
- UntagCertificateAuthorityCommandOutput,
109
- } from "./commands/UntagCertificateAuthorityCommand";
110
- import {
111
- UpdateCertificateAuthorityCommandInput,
112
- UpdateCertificateAuthorityCommandOutput,
113
- } from "./commands/UpdateCertificateAuthorityCommand";
114
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
115
-
116
- export type ServiceInputTypes =
117
- | CreateCertificateAuthorityAuditReportCommandInput
118
- | CreateCertificateAuthorityCommandInput
119
- | CreatePermissionCommandInput
120
- | DeleteCertificateAuthorityCommandInput
121
- | DeletePermissionCommandInput
122
- | DeletePolicyCommandInput
123
- | DescribeCertificateAuthorityAuditReportCommandInput
124
- | DescribeCertificateAuthorityCommandInput
125
- | GetCertificateAuthorityCertificateCommandInput
126
- | GetCertificateAuthorityCsrCommandInput
127
- | GetCertificateCommandInput
128
- | GetPolicyCommandInput
129
- | ImportCertificateAuthorityCertificateCommandInput
130
- | IssueCertificateCommandInput
131
- | ListCertificateAuthoritiesCommandInput
132
- | ListPermissionsCommandInput
133
- | ListTagsCommandInput
134
- | PutPolicyCommandInput
135
- | RestoreCertificateAuthorityCommandInput
136
- | RevokeCertificateCommandInput
137
- | TagCertificateAuthorityCommandInput
138
- | UntagCertificateAuthorityCommandInput
139
- | UpdateCertificateAuthorityCommandInput;
140
-
141
- export type ServiceOutputTypes =
142
- | CreateCertificateAuthorityAuditReportCommandOutput
143
- | CreateCertificateAuthorityCommandOutput
144
- | CreatePermissionCommandOutput
145
- | DeleteCertificateAuthorityCommandOutput
146
- | DeletePermissionCommandOutput
147
- | DeletePolicyCommandOutput
148
- | DescribeCertificateAuthorityAuditReportCommandOutput
149
- | DescribeCertificateAuthorityCommandOutput
150
- | GetCertificateAuthorityCertificateCommandOutput
151
- | GetCertificateAuthorityCsrCommandOutput
152
- | GetCertificateCommandOutput
153
- | GetPolicyCommandOutput
154
- | ImportCertificateAuthorityCertificateCommandOutput
155
- | IssueCertificateCommandOutput
156
- | ListCertificateAuthoritiesCommandOutput
157
- | ListPermissionsCommandOutput
158
- | ListTagsCommandOutput
159
- | PutPolicyCommandOutput
160
- | RestoreCertificateAuthorityCommandOutput
161
- | RevokeCertificateCommandOutput
162
- | TagCertificateAuthorityCommandOutput
163
- | UntagCertificateAuthorityCommandOutput
164
- | UpdateCertificateAuthorityCommandOutput;
165
-
166
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
167
- /**
168
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
169
- */
170
- requestHandler?: __HttpHandler;
171
-
172
- /**
173
- * A constructor for a class implementing the {@link __Hash} interface
174
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
175
- * @internal
176
- */
177
- sha256?: __HashConstructor;
178
-
179
- /**
180
- * The function that will be used to convert strings into HTTP endpoints.
181
- * @internal
182
- */
183
- urlParser?: __UrlParser;
184
-
185
- /**
186
- * A function that can calculate the length of a request body.
187
- * @internal
188
- */
189
- bodyLengthChecker?: (body: any) => number | undefined;
190
-
191
- /**
192
- * A function that converts a stream into an array of bytes.
193
- * @internal
194
- */
195
- streamCollector?: __StreamCollector;
196
-
197
- /**
198
- * The function that will be used to convert a base64-encoded string to a byte array.
199
- * @internal
200
- */
201
- base64Decoder?: __Decoder;
202
-
203
- /**
204
- * The function that will be used to convert binary data to a base64-encoded string.
205
- * @internal
206
- */
207
- base64Encoder?: __Encoder;
208
-
209
- /**
210
- * The function that will be used to convert a UTF8-encoded string to a byte array.
211
- * @internal
212
- */
213
- utf8Decoder?: __Decoder;
214
-
215
- /**
216
- * The function that will be used to convert binary data to a UTF-8 encoded string.
217
- * @internal
218
- */
219
- utf8Encoder?: __Encoder;
220
-
221
- /**
222
- * The runtime environment.
223
- * @internal
224
- */
225
- runtime?: string;
226
-
227
- /**
228
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
229
- * trait of an operation.
230
- */
231
- disableHostPrefix?: boolean;
232
-
233
- /**
234
- * Value for how many times a request will be made at most in case of retry.
235
- */
236
- maxAttempts?: number | __Provider<number>;
237
-
238
- /**
239
- * Specifies which retry algorithm to use.
240
- */
241
- retryMode?: string | __Provider<string>;
242
-
243
- /**
244
- * Optional logger for logging debug/info/warn/error.
245
- */
246
- logger?: __Logger;
247
-
248
- /**
249
- * Unique service identifier.
250
- * @internal
251
- */
252
- serviceId?: string;
253
-
254
- /**
255
- * The AWS region to which this client will send requests
256
- */
257
- region?: string | __Provider<string>;
258
-
259
- /**
260
- * Default credentials provider; Not available in browser runtime.
261
- * @internal
262
- */
263
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
264
-
265
- /**
266
- * Fetch related hostname, signing name or signing region with given region.
267
- * @internal
268
- */
269
- regionInfoProvider?: RegionInfoProvider;
270
-
271
- /**
272
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
273
- * @internal
274
- */
275
- defaultUserAgentProvider?: Provider<__UserAgent>;
276
- }
277
-
278
- type ACMPCAClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
279
- ClientDefaults &
280
- RegionInputConfig &
281
- EndpointsInputConfig &
282
- RetryInputConfig &
283
- HostHeaderInputConfig &
284
- AwsAuthInputConfig &
285
- UserAgentInputConfig;
286
- /**
287
- * The configuration interface of ACMPCAClient class constructor that set the region, credentials and other options.
288
- */
289
- export interface ACMPCAClientConfig extends ACMPCAClientConfigType {}
290
-
291
- type ACMPCAClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
292
- Required<ClientDefaults> &
293
- RegionResolvedConfig &
294
- EndpointsResolvedConfig &
295
- RetryResolvedConfig &
296
- HostHeaderResolvedConfig &
297
- AwsAuthResolvedConfig &
298
- UserAgentResolvedConfig;
299
- /**
300
- * The resolved configuration interface of ACMPCAClient class. This is resolved and normalized from the {@link ACMPCAClientConfig | constructor configuration interface}.
301
- */
302
- export interface ACMPCAClientResolvedConfig extends ACMPCAClientResolvedConfigType {}
303
-
304
- /**
305
- * <p>This is the <i>ACM Private CA API Reference</i>. It provides descriptions,
306
- * syntax, and usage examples for each of the actions and data types involved in creating
307
- * and managing private certificate authorities (CA) for your organization.</p>
308
- * <p>The documentation for each action shows the Query API request parameters and the XML
309
- * response. Alternatively, you can use one of the AWS SDKs to access an API that's
310
- * tailored to the programming language or platform that you're using. For more
311
- * information, see <a href="https://aws.amazon.com/tools/#SDKs">AWS
312
- * SDKs</a>.</p>
313
- * <p>Each ACM Private CA API operation has a quota that determines the number of times the operation
314
- * can be called per second. ACM Private CA throttles API requests at different rates depending
315
- * on the operation. Throttling means that ACM Private CA rejects an otherwise valid request
316
- * because the request exceeds the operation's quota for the number of requests per second.
317
- * When a request is throttled, ACM Private CA returns a <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. ACM Private CA does not guarantee a minimum request
318
- * rate for APIs. </p>
319
- *
320
- * <p>To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,
321
- * log into your AWS account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a>
322
- * console.</p>
323
- */
324
- export class ACMPCAClient extends __Client<
325
- __HttpHandlerOptions,
326
- ServiceInputTypes,
327
- ServiceOutputTypes,
328
- ACMPCAClientResolvedConfig
329
- > {
330
- /**
331
- * The resolved configuration of ACMPCAClient class. This is resolved and normalized from the {@link ACMPCAClientConfig | constructor configuration interface}.
332
- */
333
- readonly config: ACMPCAClientResolvedConfig;
334
-
335
- constructor(configuration: ACMPCAClientConfig) {
336
- const _config_0 = __getRuntimeConfig(configuration);
337
- const _config_1 = resolveRegionConfig(_config_0);
338
- const _config_2 = resolveEndpointsConfig(_config_1);
339
- const _config_3 = resolveRetryConfig(_config_2);
340
- const _config_4 = resolveHostHeaderConfig(_config_3);
341
- const _config_5 = resolveAwsAuthConfig(_config_4);
342
- const _config_6 = resolveUserAgentConfig(_config_5);
343
- super(_config_6);
344
- this.config = _config_6;
345
- this.middlewareStack.use(getRetryPlugin(this.config));
346
- this.middlewareStack.use(getContentLengthPlugin(this.config));
347
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
348
- this.middlewareStack.use(getLoggerPlugin(this.config));
349
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
350
- this.middlewareStack.use(getUserAgentPlugin(this.config));
351
- }
352
-
353
- /**
354
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
355
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
356
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
357
- */
358
- destroy(): void {
359
- super.destroy();
360
- }
361
- }
@@ -1,122 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
15
- import {
16
- CreateCertificateAuthorityAuditReportRequest,
17
- CreateCertificateAuthorityAuditReportResponse,
18
- } from "../models/models_0";
19
- import {
20
- deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommand,
21
- serializeAws_json1_1CreateCertificateAuthorityAuditReportCommand,
22
- } from "../protocols/Aws_json1_1";
23
-
24
- export interface CreateCertificateAuthorityAuditReportCommandInput
25
- extends CreateCertificateAuthorityAuditReportRequest {}
26
- export interface CreateCertificateAuthorityAuditReportCommandOutput
27
- extends CreateCertificateAuthorityAuditReportResponse,
28
- __MetadataBearer {}
29
-
30
- /**
31
- * <p>Creates an audit report that lists every time that your CA private key is used. The
32
- * report is saved in the Amazon S3 bucket that you specify on input.
33
- *
34
- * The <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> and <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RevokeCertificate.html">RevokeCertificate</a> actions use
35
- * the private key. </p>
36
- * <note>
37
- * <p>Both PCA and the IAM principal must have permission to write to
38
- * the S3 bucket that you specify. If the IAM principal making the call
39
- * does not have permission to write to the bucket, then an exception is
40
- * thrown. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuthAccess.html">Configure
41
- * Access to ACM Private CA</a>.</p>
42
- * </note>
43
- *
44
- * <p>ACM Private CA assets that are stored in Amazon S3 can be protected with encryption.
45
- * For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuditReport.html#audit-report-encryption">Encrypting Your Audit
46
- * Reports</a>.</p>
47
- * @example
48
- * Use a bare-bones client and the command you need to make an API call.
49
- * ```javascript
50
- * import { ACMPCAClient, CreateCertificateAuthorityAuditReportCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
51
- * // const { ACMPCAClient, CreateCertificateAuthorityAuditReportCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
52
- * const client = new ACMPCAClient(config);
53
- * const command = new CreateCertificateAuthorityAuditReportCommand(input);
54
- * const response = await client.send(command);
55
- * ```
56
- *
57
- * @see {@link CreateCertificateAuthorityAuditReportCommandInput} for command's `input` shape.
58
- * @see {@link CreateCertificateAuthorityAuditReportCommandOutput} for command's `response` shape.
59
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
60
- *
61
- */
62
- export class CreateCertificateAuthorityAuditReportCommand extends $Command<
63
- CreateCertificateAuthorityAuditReportCommandInput,
64
- CreateCertificateAuthorityAuditReportCommandOutput,
65
- ACMPCAClientResolvedConfig
66
- > {
67
- // Start section: command_properties
68
- // End section: command_properties
69
-
70
- constructor(readonly input: CreateCertificateAuthorityAuditReportCommandInput) {
71
- // Start section: command_constructor
72
- super();
73
- // End section: command_constructor
74
- }
75
-
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(
80
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
81
- configuration: ACMPCAClientResolvedConfig,
82
- options?: __HttpHandlerOptions
83
- ): Handler<CreateCertificateAuthorityAuditReportCommandInput, CreateCertificateAuthorityAuditReportCommandOutput> {
84
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
85
-
86
- const stack = clientStack.concat(this.middlewareStack);
87
-
88
- const { logger } = configuration;
89
- const clientName = "ACMPCAClient";
90
- const commandName = "CreateCertificateAuthorityAuditReportCommand";
91
- const handlerExecutionContext: HandlerExecutionContext = {
92
- logger,
93
- clientName,
94
- commandName,
95
- inputFilterSensitiveLog: CreateCertificateAuthorityAuditReportRequest.filterSensitiveLog,
96
- outputFilterSensitiveLog: CreateCertificateAuthorityAuditReportResponse.filterSensitiveLog,
97
- };
98
- const { requestHandler } = configuration;
99
- return stack.resolve(
100
- (request: FinalizeHandlerArguments<any>) =>
101
- requestHandler.handle(request.request as __HttpRequest, options || {}),
102
- handlerExecutionContext
103
- );
104
- }
105
-
106
- private serialize(
107
- input: CreateCertificateAuthorityAuditReportCommandInput,
108
- context: __SerdeContext
109
- ): Promise<__HttpRequest> {
110
- return serializeAws_json1_1CreateCertificateAuthorityAuditReportCommand(input, context);
111
- }
112
-
113
- private deserialize(
114
- output: __HttpResponse,
115
- context: __SerdeContext
116
- ): Promise<CreateCertificateAuthorityAuditReportCommandOutput> {
117
- return deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommand(output, context);
118
- }
119
-
120
- // Start section: command_body_extra
121
- // End section: command_body_extra
122
- }
@@ -1,118 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
15
- import { CreateCertificateAuthorityRequest, CreateCertificateAuthorityResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1CreateCertificateAuthorityCommand,
18
- serializeAws_json1_1CreateCertificateAuthorityCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface CreateCertificateAuthorityCommandInput extends CreateCertificateAuthorityRequest {}
22
- export interface CreateCertificateAuthorityCommandOutput extends CreateCertificateAuthorityResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a root or subordinate private certificate authority (CA). You must specify the
26
- * CA configuration, an optional configuration for Online Certificate Status Protocol (OCSP)
27
- * and/or a certificate revocation list (CRL), the CA type, and
28
- * an optional idempotency token to avoid accidental creation of multiple CAs. The CA
29
- * configuration specifies the name of the algorithm and key size to be used to create the
30
- * CA private key, the type of signing algorithm that the CA uses, and X.500 subject
31
- * information. The OCSP configuration can optionally specify a custom URL for the OCSP responder.
32
- * The CRL configuration specifies the CRL expiration period in days (the
33
- * validity period of the CRL), the Amazon S3 bucket that will contain the CRL, and a CNAME
34
- * alias for the S3 bucket that is included in certificates issued by the CA. If
35
- * successful, this action returns the Amazon Resource Name (ARN) of the CA.</p>
36
- * <p>ACM Private CA assets that are stored in Amazon S3 can be protected with encryption.
37
- * For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaCreateCa.html#crl-encryption">Encrypting Your
38
- * CRLs</a>.</p>
39
- * <note>
40
- * <p>Both PCA and the IAM principal must have permission to write to
41
- * the S3 bucket that you specify. If the IAM principal making the call
42
- * does not have permission to write to the bucket, then an exception is
43
- * thrown. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuthAccess.html">Configure
44
- * Access to ACM Private CA</a>.</p>
45
- * </note>
46
- * @example
47
- * Use a bare-bones client and the command you need to make an API call.
48
- * ```javascript
49
- * import { ACMPCAClient, CreateCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
50
- * // const { ACMPCAClient, CreateCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
51
- * const client = new ACMPCAClient(config);
52
- * const command = new CreateCertificateAuthorityCommand(input);
53
- * const response = await client.send(command);
54
- * ```
55
- *
56
- * @see {@link CreateCertificateAuthorityCommandInput} for command's `input` shape.
57
- * @see {@link CreateCertificateAuthorityCommandOutput} for command's `response` shape.
58
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
59
- *
60
- */
61
- export class CreateCertificateAuthorityCommand extends $Command<
62
- CreateCertificateAuthorityCommandInput,
63
- CreateCertificateAuthorityCommandOutput,
64
- ACMPCAClientResolvedConfig
65
- > {
66
- // Start section: command_properties
67
- // End section: command_properties
68
-
69
- constructor(readonly input: CreateCertificateAuthorityCommandInput) {
70
- // Start section: command_constructor
71
- super();
72
- // End section: command_constructor
73
- }
74
-
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(
79
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
80
- configuration: ACMPCAClientResolvedConfig,
81
- options?: __HttpHandlerOptions
82
- ): Handler<CreateCertificateAuthorityCommandInput, CreateCertificateAuthorityCommandOutput> {
83
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
84
-
85
- const stack = clientStack.concat(this.middlewareStack);
86
-
87
- const { logger } = configuration;
88
- const clientName = "ACMPCAClient";
89
- const commandName = "CreateCertificateAuthorityCommand";
90
- const handlerExecutionContext: HandlerExecutionContext = {
91
- logger,
92
- clientName,
93
- commandName,
94
- inputFilterSensitiveLog: CreateCertificateAuthorityRequest.filterSensitiveLog,
95
- outputFilterSensitiveLog: CreateCertificateAuthorityResponse.filterSensitiveLog,
96
- };
97
- const { requestHandler } = configuration;
98
- return stack.resolve(
99
- (request: FinalizeHandlerArguments<any>) =>
100
- requestHandler.handle(request.request as __HttpRequest, options || {}),
101
- handlerExecutionContext
102
- );
103
- }
104
-
105
- private serialize(input: CreateCertificateAuthorityCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
106
- return serializeAws_json1_1CreateCertificateAuthorityCommand(input, context);
107
- }
108
-
109
- private deserialize(
110
- output: __HttpResponse,
111
- context: __SerdeContext
112
- ): Promise<CreateCertificateAuthorityCommandOutput> {
113
- return deserializeAws_json1_1CreateCertificateAuthorityCommand(output, context);
114
- }
115
-
116
- // Start section: command_body_extra
117
- // End section: command_body_extra
118
- }