@aws-sdk/client-acm-pca 3.934.0 → 3.935.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.
@@ -1,5 +1,23 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ACMPCAServiceException as __BaseException } from "./ACMPCAServiceException";
1
+ import {
2
+ AccessMethodType,
3
+ ActionType,
4
+ AuditReportResponseFormat,
5
+ AuditReportStatus,
6
+ CertificateAuthorityStatus,
7
+ CertificateAuthorityType,
8
+ CertificateAuthorityUsageMode,
9
+ CrlType,
10
+ ExtendedKeyUsageType,
11
+ FailureReason,
12
+ KeyAlgorithm,
13
+ KeyStorageSecurityStandard,
14
+ PolicyQualifierId,
15
+ ResourceOwner,
16
+ RevocationReason,
17
+ S3ObjectAcl,
18
+ SigningAlgorithm,
19
+ ValidityPeriodType,
20
+ } from "./enums";
3
21
  export interface CustomAttribute {
4
22
  ObjectIdentifier: string | undefined;
5
23
  Value: string | undefined;
@@ -39,13 +57,6 @@ export interface GeneralName {
39
57
  IpAddress?: string | undefined;
40
58
  RegisteredId?: string | undefined;
41
59
  }
42
- export declare const AccessMethodType: {
43
- readonly CA_REPOSITORY: "CA_REPOSITORY";
44
- readonly RESOURCE_PKI_MANIFEST: "RESOURCE_PKI_MANIFEST";
45
- readonly RESOURCE_PKI_NOTIFY: "RESOURCE_PKI_NOTIFY";
46
- };
47
- export type AccessMethodType =
48
- (typeof AccessMethodType)[keyof typeof AccessMethodType];
49
60
  export interface AccessMethod {
50
61
  CustomObjectIdentifier?: string | undefined;
51
62
  AccessMethodType?: AccessMethodType | undefined;
@@ -69,65 +80,15 @@ export interface CsrExtensions {
69
80
  KeyUsage?: KeyUsage | undefined;
70
81
  SubjectInformationAccess?: AccessDescription[] | undefined;
71
82
  }
72
- export declare const KeyAlgorithm: {
73
- readonly EC_prime256v1: "EC_prime256v1";
74
- readonly EC_secp384r1: "EC_secp384r1";
75
- readonly EC_secp521r1: "EC_secp521r1";
76
- readonly ML_DSA_44: "ML_DSA_44";
77
- readonly ML_DSA_65: "ML_DSA_65";
78
- readonly ML_DSA_87: "ML_DSA_87";
79
- readonly RSA_2048: "RSA_2048";
80
- readonly RSA_3072: "RSA_3072";
81
- readonly RSA_4096: "RSA_4096";
82
- readonly SM2: "SM2";
83
- };
84
- export type KeyAlgorithm = (typeof KeyAlgorithm)[keyof typeof KeyAlgorithm];
85
- export declare const SigningAlgorithm: {
86
- readonly ML_DSA_44: "ML_DSA_44";
87
- readonly ML_DSA_65: "ML_DSA_65";
88
- readonly ML_DSA_87: "ML_DSA_87";
89
- readonly SHA256WITHECDSA: "SHA256WITHECDSA";
90
- readonly SHA256WITHRSA: "SHA256WITHRSA";
91
- readonly SHA384WITHECDSA: "SHA384WITHECDSA";
92
- readonly SHA384WITHRSA: "SHA384WITHRSA";
93
- readonly SHA512WITHECDSA: "SHA512WITHECDSA";
94
- readonly SHA512WITHRSA: "SHA512WITHRSA";
95
- readonly SM3WITHSM2: "SM3WITHSM2";
96
- };
97
- export type SigningAlgorithm =
98
- (typeof SigningAlgorithm)[keyof typeof SigningAlgorithm];
99
83
  export interface CertificateAuthorityConfiguration {
100
84
  KeyAlgorithm: KeyAlgorithm | undefined;
101
85
  SigningAlgorithm: SigningAlgorithm | undefined;
102
86
  Subject: ASN1Subject | undefined;
103
87
  CsrExtensions?: CsrExtensions | undefined;
104
88
  }
105
- export declare const CertificateAuthorityType: {
106
- readonly ROOT: "ROOT";
107
- readonly SUBORDINATE: "SUBORDINATE";
108
- };
109
- export type CertificateAuthorityType =
110
- (typeof CertificateAuthorityType)[keyof typeof CertificateAuthorityType];
111
- export declare const KeyStorageSecurityStandard: {
112
- readonly CCPC_LEVEL_1_OR_HIGHER: "CCPC_LEVEL_1_OR_HIGHER";
113
- readonly FIPS_140_2_LEVEL_2_OR_HIGHER: "FIPS_140_2_LEVEL_2_OR_HIGHER";
114
- readonly FIPS_140_2_LEVEL_3_OR_HIGHER: "FIPS_140_2_LEVEL_3_OR_HIGHER";
115
- };
116
- export type KeyStorageSecurityStandard =
117
- (typeof KeyStorageSecurityStandard)[keyof typeof KeyStorageSecurityStandard];
118
89
  export interface CrlDistributionPointExtensionConfiguration {
119
90
  OmitExtension: boolean | undefined;
120
91
  }
121
- export declare const CrlType: {
122
- readonly COMPLETE: "COMPLETE";
123
- readonly PARTITIONED: "PARTITIONED";
124
- };
125
- export type CrlType = (typeof CrlType)[keyof typeof CrlType];
126
- export declare const S3ObjectAcl: {
127
- readonly BUCKET_OWNER_FULL_CONTROL: "BUCKET_OWNER_FULL_CONTROL";
128
- readonly PUBLIC_READ: "PUBLIC_READ";
129
- };
130
- export type S3ObjectAcl = (typeof S3ObjectAcl)[keyof typeof S3ObjectAcl];
131
92
  export interface CrlConfiguration {
132
93
  Enabled: boolean | undefined;
133
94
  ExpirationInDays?: number | undefined;
@@ -152,12 +113,6 @@ export interface Tag {
152
113
  Key: string | undefined;
153
114
  Value?: string | undefined;
154
115
  }
155
- export declare const CertificateAuthorityUsageMode: {
156
- readonly GENERAL_PURPOSE: "GENERAL_PURPOSE";
157
- readonly SHORT_LIVED_CERTIFICATE: "SHORT_LIVED_CERTIFICATE";
158
- };
159
- export type CertificateAuthorityUsageMode =
160
- (typeof CertificateAuthorityUsageMode)[keyof typeof CertificateAuthorityUsageMode];
161
116
  export interface CreateCertificateAuthorityRequest {
162
117
  CertificateAuthorityConfiguration:
163
118
  | CertificateAuthorityConfiguration
@@ -172,40 +127,6 @@ export interface CreateCertificateAuthorityRequest {
172
127
  export interface CreateCertificateAuthorityResponse {
173
128
  CertificateAuthorityArn?: string | undefined;
174
129
  }
175
- export declare class InvalidArgsException extends __BaseException {
176
- readonly name: "InvalidArgsException";
177
- readonly $fault: "client";
178
- constructor(
179
- opts: __ExceptionOptionType<InvalidArgsException, __BaseException>
180
- );
181
- }
182
- export declare class InvalidPolicyException extends __BaseException {
183
- readonly name: "InvalidPolicyException";
184
- readonly $fault: "client";
185
- constructor(
186
- opts: __ExceptionOptionType<InvalidPolicyException, __BaseException>
187
- );
188
- }
189
- export declare class InvalidTagException extends __BaseException {
190
- readonly name: "InvalidTagException";
191
- readonly $fault: "client";
192
- constructor(
193
- opts: __ExceptionOptionType<InvalidTagException, __BaseException>
194
- );
195
- }
196
- export declare class LimitExceededException extends __BaseException {
197
- readonly name: "LimitExceededException";
198
- readonly $fault: "client";
199
- constructor(
200
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
201
- );
202
- }
203
- export declare const AuditReportResponseFormat: {
204
- readonly CSV: "CSV";
205
- readonly JSON: "JSON";
206
- };
207
- export type AuditReportResponseFormat =
208
- (typeof AuditReportResponseFormat)[keyof typeof AuditReportResponseFormat];
209
130
  export interface CreateCertificateAuthorityAuditReportRequest {
210
131
  CertificateAuthorityArn: string | undefined;
211
132
  S3BucketName: string | undefined;
@@ -215,73 +136,12 @@ export interface CreateCertificateAuthorityAuditReportResponse {
215
136
  AuditReportId?: string | undefined;
216
137
  S3Key?: string | undefined;
217
138
  }
218
- export declare class InvalidArnException extends __BaseException {
219
- readonly name: "InvalidArnException";
220
- readonly $fault: "client";
221
- constructor(
222
- opts: __ExceptionOptionType<InvalidArnException, __BaseException>
223
- );
224
- }
225
- export declare class InvalidStateException extends __BaseException {
226
- readonly name: "InvalidStateException";
227
- readonly $fault: "client";
228
- constructor(
229
- opts: __ExceptionOptionType<InvalidStateException, __BaseException>
230
- );
231
- }
232
- export declare class RequestFailedException extends __BaseException {
233
- readonly name: "RequestFailedException";
234
- readonly $fault: "client";
235
- constructor(
236
- opts: __ExceptionOptionType<RequestFailedException, __BaseException>
237
- );
238
- }
239
- export declare class RequestInProgressException extends __BaseException {
240
- readonly name: "RequestInProgressException";
241
- readonly $fault: "client";
242
- constructor(
243
- opts: __ExceptionOptionType<RequestInProgressException, __BaseException>
244
- );
245
- }
246
- export declare class ResourceNotFoundException extends __BaseException {
247
- readonly name: "ResourceNotFoundException";
248
- readonly $fault: "client";
249
- constructor(
250
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
251
- );
252
- }
253
- export declare const ActionType: {
254
- readonly GetCertificate: "GetCertificate";
255
- readonly IssueCertificate: "IssueCertificate";
256
- readonly ListPermissions: "ListPermissions";
257
- };
258
- export type ActionType = (typeof ActionType)[keyof typeof ActionType];
259
139
  export interface CreatePermissionRequest {
260
140
  CertificateAuthorityArn: string | undefined;
261
141
  Principal: string | undefined;
262
142
  SourceAccount?: string | undefined;
263
143
  Actions: ActionType[] | undefined;
264
144
  }
265
- export declare class PermissionAlreadyExistsException extends __BaseException {
266
- readonly name: "PermissionAlreadyExistsException";
267
- readonly $fault: "client";
268
- constructor(
269
- opts: __ExceptionOptionType<
270
- PermissionAlreadyExistsException,
271
- __BaseException
272
- >
273
- );
274
- }
275
- export declare class ConcurrentModificationException extends __BaseException {
276
- readonly name: "ConcurrentModificationException";
277
- readonly $fault: "client";
278
- constructor(
279
- opts: __ExceptionOptionType<
280
- ConcurrentModificationException,
281
- __BaseException
282
- >
283
- );
284
- }
285
145
  export interface DeleteCertificateAuthorityRequest {
286
146
  CertificateAuthorityArn: string | undefined;
287
147
  PermanentDeletionTimeInDays?: number | undefined;
@@ -294,33 +154,9 @@ export interface DeletePermissionRequest {
294
154
  export interface DeletePolicyRequest {
295
155
  ResourceArn: string | undefined;
296
156
  }
297
- export declare class LockoutPreventedException extends __BaseException {
298
- readonly name: "LockoutPreventedException";
299
- readonly $fault: "client";
300
- constructor(
301
- opts: __ExceptionOptionType<LockoutPreventedException, __BaseException>
302
- );
303
- }
304
157
  export interface DescribeCertificateAuthorityRequest {
305
158
  CertificateAuthorityArn: string | undefined;
306
159
  }
307
- export declare const FailureReason: {
308
- readonly OTHER: "OTHER";
309
- readonly REQUEST_TIMED_OUT: "REQUEST_TIMED_OUT";
310
- readonly UNSUPPORTED_ALGORITHM: "UNSUPPORTED_ALGORITHM";
311
- };
312
- export type FailureReason = (typeof FailureReason)[keyof typeof FailureReason];
313
- export declare const CertificateAuthorityStatus: {
314
- readonly ACTIVE: "ACTIVE";
315
- readonly CREATING: "CREATING";
316
- readonly DELETED: "DELETED";
317
- readonly DISABLED: "DISABLED";
318
- readonly EXPIRED: "EXPIRED";
319
- readonly FAILED: "FAILED";
320
- readonly PENDING_CERTIFICATE: "PENDING_CERTIFICATE";
321
- };
322
- export type CertificateAuthorityStatus =
323
- (typeof CertificateAuthorityStatus)[keyof typeof CertificateAuthorityStatus];
324
160
  export interface CertificateAuthority {
325
161
  Arn?: string | undefined;
326
162
  OwnerAccount?: string | undefined;
@@ -347,13 +183,6 @@ export interface DescribeCertificateAuthorityAuditReportRequest {
347
183
  CertificateAuthorityArn: string | undefined;
348
184
  AuditReportId: string | undefined;
349
185
  }
350
- export declare const AuditReportStatus: {
351
- readonly CREATING: "CREATING";
352
- readonly FAILED: "FAILED";
353
- readonly SUCCESS: "SUCCESS";
354
- };
355
- export type AuditReportStatus =
356
- (typeof AuditReportStatus)[keyof typeof AuditReportStatus];
357
186
  export interface DescribeCertificateAuthorityAuditReportResponse {
358
187
  AuditReportStatus?: AuditReportStatus | undefined;
359
188
  S3BucketName?: string | undefined;
@@ -387,37 +216,11 @@ export interface GetPolicyRequest {
387
216
  export interface GetPolicyResponse {
388
217
  Policy?: string | undefined;
389
218
  }
390
- export declare class CertificateMismatchException extends __BaseException {
391
- readonly name: "CertificateMismatchException";
392
- readonly $fault: "client";
393
- constructor(
394
- opts: __ExceptionOptionType<CertificateMismatchException, __BaseException>
395
- );
396
- }
397
219
  export interface ImportCertificateAuthorityCertificateRequest {
398
220
  CertificateAuthorityArn: string | undefined;
399
221
  Certificate: Uint8Array | undefined;
400
222
  CertificateChain?: Uint8Array | undefined;
401
223
  }
402
- export declare class InvalidRequestException extends __BaseException {
403
- readonly name: "InvalidRequestException";
404
- readonly $fault: "client";
405
- constructor(
406
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
407
- );
408
- }
409
- export declare class MalformedCertificateException extends __BaseException {
410
- readonly name: "MalformedCertificateException";
411
- readonly $fault: "client";
412
- constructor(
413
- opts: __ExceptionOptionType<MalformedCertificateException, __BaseException>
414
- );
415
- }
416
- export declare const PolicyQualifierId: {
417
- readonly CPS: "CPS";
418
- };
419
- export type PolicyQualifierId =
420
- (typeof PolicyQualifierId)[keyof typeof PolicyQualifierId];
421
224
  export interface Qualifier {
422
225
  CpsUri: string | undefined;
423
226
  }
@@ -434,19 +237,6 @@ export interface CustomExtension {
434
237
  Value: string | undefined;
435
238
  Critical?: boolean | undefined;
436
239
  }
437
- export declare const ExtendedKeyUsageType: {
438
- readonly CERTIFICATE_TRANSPARENCY: "CERTIFICATE_TRANSPARENCY";
439
- readonly CLIENT_AUTH: "CLIENT_AUTH";
440
- readonly CODE_SIGNING: "CODE_SIGNING";
441
- readonly DOCUMENT_SIGNING: "DOCUMENT_SIGNING";
442
- readonly EMAIL_PROTECTION: "EMAIL_PROTECTION";
443
- readonly OCSP_SIGNING: "OCSP_SIGNING";
444
- readonly SERVER_AUTH: "SERVER_AUTH";
445
- readonly SMART_CARD_LOGIN: "SMART_CARD_LOGIN";
446
- readonly TIME_STAMPING: "TIME_STAMPING";
447
- };
448
- export type ExtendedKeyUsageType =
449
- (typeof ExtendedKeyUsageType)[keyof typeof ExtendedKeyUsageType];
450
240
  export interface ExtendedKeyUsage {
451
241
  ExtendedKeyUsageType?: ExtendedKeyUsageType | undefined;
452
242
  ExtendedKeyUsageObjectIdentifier?: string | undefined;
@@ -462,15 +252,6 @@ export interface ApiPassthrough {
462
252
  Extensions?: Extensions | undefined;
463
253
  Subject?: ASN1Subject | undefined;
464
254
  }
465
- export declare const ValidityPeriodType: {
466
- readonly ABSOLUTE: "ABSOLUTE";
467
- readonly DAYS: "DAYS";
468
- readonly END_DATE: "END_DATE";
469
- readonly MONTHS: "MONTHS";
470
- readonly YEARS: "YEARS";
471
- };
472
- export type ValidityPeriodType =
473
- (typeof ValidityPeriodType)[keyof typeof ValidityPeriodType];
474
255
  export interface Validity {
475
256
  Value: number | undefined;
476
257
  Type: ValidityPeriodType | undefined;
@@ -488,25 +269,6 @@ export interface IssueCertificateRequest {
488
269
  export interface IssueCertificateResponse {
489
270
  CertificateArn?: string | undefined;
490
271
  }
491
- export declare class MalformedCSRException extends __BaseException {
492
- readonly name: "MalformedCSRException";
493
- readonly $fault: "client";
494
- constructor(
495
- opts: __ExceptionOptionType<MalformedCSRException, __BaseException>
496
- );
497
- }
498
- export declare class InvalidNextTokenException extends __BaseException {
499
- readonly name: "InvalidNextTokenException";
500
- readonly $fault: "client";
501
- constructor(
502
- opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
503
- );
504
- }
505
- export declare const ResourceOwner: {
506
- readonly OTHER_ACCOUNTS: "OTHER_ACCOUNTS";
507
- readonly SELF: "SELF";
508
- };
509
- export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
510
272
  export interface ListCertificateAuthoritiesRequest {
511
273
  MaxResults?: number | undefined;
512
274
  NextToken?: string | undefined;
@@ -549,28 +311,6 @@ export interface PutPolicyRequest {
549
311
  export interface RestoreCertificateAuthorityRequest {
550
312
  CertificateAuthorityArn: string | undefined;
551
313
  }
552
- export declare class RequestAlreadyProcessedException extends __BaseException {
553
- readonly name: "RequestAlreadyProcessedException";
554
- readonly $fault: "client";
555
- constructor(
556
- opts: __ExceptionOptionType<
557
- RequestAlreadyProcessedException,
558
- __BaseException
559
- >
560
- );
561
- }
562
- export declare const RevocationReason: {
563
- readonly AFFILIATION_CHANGED: "AFFILIATION_CHANGED";
564
- readonly A_A_COMPROMISE: "A_A_COMPROMISE";
565
- readonly CERTIFICATE_AUTHORITY_COMPROMISE: "CERTIFICATE_AUTHORITY_COMPROMISE";
566
- readonly CESSATION_OF_OPERATION: "CESSATION_OF_OPERATION";
567
- readonly KEY_COMPROMISE: "KEY_COMPROMISE";
568
- readonly PRIVILEGE_WITHDRAWN: "PRIVILEGE_WITHDRAWN";
569
- readonly SUPERSEDED: "SUPERSEDED";
570
- readonly UNSPECIFIED: "UNSPECIFIED";
571
- };
572
- export type RevocationReason =
573
- (typeof RevocationReason)[keyof typeof RevocationReason];
574
314
  export interface RevokeCertificateRequest {
575
315
  CertificateAuthorityArn: string | undefined;
576
316
  CertificateSerial: string | undefined;
@@ -580,13 +320,6 @@ export interface TagCertificateAuthorityRequest {
580
320
  CertificateAuthorityArn: string | undefined;
581
321
  Tags: Tag[] | undefined;
582
322
  }
583
- export declare class TooManyTagsException extends __BaseException {
584
- readonly name: "TooManyTagsException";
585
- readonly $fault: "client";
586
- constructor(
587
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
588
- );
589
- }
590
323
  export interface UntagCertificateAuthorityRequest {
591
324
  CertificateAuthorityArn: string | undefined;
592
325
  Tags: Tag[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-acm-pca",
3
3
  "description": "AWS SDK for JavaScript Acm Pca Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-acm-pca",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";