@aws-sdk/client-acm-pca 3.427.0 → 3.429.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.
@@ -244,7 +244,7 @@ export interface AccessMethod {
244
244
  * @public
245
245
  * <p>Specifies the <code>AccessMethod</code>.</p>
246
246
  */
247
- AccessMethodType?: AccessMethodType | string;
247
+ AccessMethodType?: AccessMethodType;
248
248
  }
249
249
  /**
250
250
  * @public
@@ -380,14 +380,14 @@ export interface CertificateAuthorityConfiguration {
380
380
  * creates when it issues a certificate. When you create a subordinate CA, you must use a
381
381
  * key algorithm supported by the parent CA.</p>
382
382
  */
383
- KeyAlgorithm: KeyAlgorithm | string | undefined;
383
+ KeyAlgorithm: KeyAlgorithm | undefined;
384
384
  /**
385
385
  * @public
386
386
  * <p>Name of the algorithm your private CA uses to sign certificate requests.</p>
387
387
  * <p>This parameter should not be confused with the <code>SigningAlgorithm</code> parameter
388
388
  * used to sign certificates when they are issued.</p>
389
389
  */
390
- SigningAlgorithm: SigningAlgorithm | string | undefined;
390
+ SigningAlgorithm: SigningAlgorithm | undefined;
391
391
  /**
392
392
  * @public
393
393
  * <p>Structure that contains X.500 distinguished name information for your private
@@ -610,7 +610,7 @@ export interface CrlConfiguration {
610
610
  * <p>For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#s3-bpa">Blocking public access to the S3
611
611
  * bucket</a>.</p>
612
612
  */
613
- S3ObjectAcl?: S3ObjectAcl | string;
613
+ S3ObjectAcl?: S3ObjectAcl;
614
614
  }
615
615
  /**
616
616
  * @public
@@ -746,7 +746,7 @@ export interface CreateCertificateAuthorityRequest {
746
746
  * @public
747
747
  * <p>The type of the certificate authority.</p>
748
748
  */
749
- CertificateAuthorityType: CertificateAuthorityType | string | undefined;
749
+ CertificateAuthorityType: CertificateAuthorityType | undefined;
750
750
  /**
751
751
  * @public
752
752
  * <p>Custom string that can be used to distinguish between calls to the <b>CreateCertificateAuthority</b> action. Idempotency tokens for
@@ -773,7 +773,7 @@ export interface CreateCertificateAuthorityRequest {
773
773
  * and security compliance of Amazon Web Services Private CA private keys</a>.</p>
774
774
  * </note>
775
775
  */
776
- KeyStorageSecurityStandard?: KeyStorageSecurityStandard | string;
776
+ KeyStorageSecurityStandard?: KeyStorageSecurityStandard;
777
777
  /**
778
778
  * @public
779
779
  * <p>Key-value pairs that will be attached to the new private CA. You can associate up to
@@ -789,7 +789,7 @@ export interface CreateCertificateAuthorityRequest {
789
789
  * days.</p>
790
790
  * <p>The default value is GENERAL_PURPOSE.</p>
791
791
  */
792
- UsageMode?: CertificateAuthorityUsageMode | string;
792
+ UsageMode?: CertificateAuthorityUsageMode;
793
793
  }
794
794
  /**
795
795
  * @public
@@ -890,7 +890,7 @@ export interface CreateCertificateAuthorityAuditReportRequest {
890
890
  * @public
891
891
  * <p>The format in which to create the report. This can be either <b>JSON</b> or <b>CSV</b>.</p>
892
892
  */
893
- AuditReportResponseFormat: AuditReportResponseFormat | string | undefined;
893
+ AuditReportResponseFormat: AuditReportResponseFormat | undefined;
894
894
  }
895
895
  /**
896
896
  * @public
@@ -1014,7 +1014,7 @@ export interface CreatePermissionRequest {
1014
1014
  * <code>IssueCertificate</code>, <code>GetCertificate</code>, and
1015
1015
  * <code>ListPermissions</code>.</p>
1016
1016
  */
1017
- Actions: (ActionType | string)[] | undefined;
1017
+ Actions: ActionType[] | undefined;
1018
1018
  }
1019
1019
  /**
1020
1020
  * @public
@@ -1198,7 +1198,7 @@ export interface CertificateAuthority {
1198
1198
  * @public
1199
1199
  * <p>Type of your private CA.</p>
1200
1200
  */
1201
- Type?: CertificateAuthorityType | string;
1201
+ Type?: CertificateAuthorityType;
1202
1202
  /**
1203
1203
  * @public
1204
1204
  * <p>Serial number of your private CA.</p>
@@ -1208,7 +1208,7 @@ export interface CertificateAuthority {
1208
1208
  * @public
1209
1209
  * <p>Status of your private CA.</p>
1210
1210
  */
1211
- Status?: CertificateAuthorityStatus | string;
1211
+ Status?: CertificateAuthorityStatus;
1212
1212
  /**
1213
1213
  * @public
1214
1214
  * <p>Date and time before which your private CA certificate is not valid.</p>
@@ -1223,7 +1223,7 @@ export interface CertificateAuthority {
1223
1223
  * @public
1224
1224
  * <p>Reason the request to create your private CA failed.</p>
1225
1225
  */
1226
- FailureReason?: FailureReason | string;
1226
+ FailureReason?: FailureReason;
1227
1227
  /**
1228
1228
  * @public
1229
1229
  * <p>Your private CA configuration.</p>
@@ -1251,7 +1251,7 @@ export interface CertificateAuthority {
1251
1251
  * <code>InvalidArgsException</code> with the message "A certificate authority cannot
1252
1252
  * be created in this region with the specified security standard."</p>
1253
1253
  */
1254
- KeyStorageSecurityStandard?: KeyStorageSecurityStandard | string;
1254
+ KeyStorageSecurityStandard?: KeyStorageSecurityStandard;
1255
1255
  /**
1256
1256
  * @public
1257
1257
  * <p>Specifies whether the CA issues general-purpose certificates that typically require a
@@ -1260,7 +1260,7 @@ export interface CertificateAuthority {
1260
1260
  * days.</p>
1261
1261
  * <p>The default value is GENERAL_PURPOSE.</p>
1262
1262
  */
1263
- UsageMode?: CertificateAuthorityUsageMode | string;
1263
+ UsageMode?: CertificateAuthorityUsageMode;
1264
1264
  }
1265
1265
  /**
1266
1266
  * @public
@@ -1313,7 +1313,7 @@ export interface DescribeCertificateAuthorityAuditReportResponse {
1313
1313
  * @public
1314
1314
  * <p>Specifies whether report creation is in progress, has succeeded, or has failed.</p>
1315
1315
  */
1316
- AuditReportStatus?: AuditReportStatus | string;
1316
+ AuditReportStatus?: AuditReportStatus;
1317
1317
  /**
1318
1318
  * @public
1319
1319
  * <p>Name of the S3 bucket that contains the report.</p>
@@ -1554,7 +1554,7 @@ export interface PolicyQualifierInfo {
1554
1554
  * @public
1555
1555
  * <p>Identifies the qualifier modifying a <code>CertPolicyId</code>.</p>
1556
1556
  */
1557
- PolicyQualifierId: PolicyQualifierId | string | undefined;
1557
+ PolicyQualifierId: PolicyQualifierId | undefined;
1558
1558
  /**
1559
1559
  * @public
1560
1560
  * <p>Defines the qualifier type. Amazon Web Services Private CA supports the use of a URI for a CPS qualifier
@@ -1642,7 +1642,7 @@ export interface ExtendedKeyUsage {
1642
1642
  * <p>Specifies a standard <code>ExtendedKeyUsage</code> as defined as in <a href="https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12">RFC
1643
1643
  * 5280</a>.</p>
1644
1644
  */
1645
- ExtendedKeyUsageType?: ExtendedKeyUsageType | string;
1645
+ ExtendedKeyUsageType?: ExtendedKeyUsageType;
1646
1646
  /**
1647
1647
  * @public
1648
1648
  * <p>Specifies a custom <code>ExtendedKeyUsage</code> with an object identifier
@@ -1803,7 +1803,7 @@ export interface Validity {
1803
1803
  * (<code>DAYS</code>) is one day. The minimum validity for a certificate using absolute
1804
1804
  * time (<code>ABSOLUTE</code> or <code>END_DATE</code>) is one second.</p>
1805
1805
  */
1806
- Type: ValidityPeriodType | string | undefined;
1806
+ Type: ValidityPeriodType | undefined;
1807
1807
  }
1808
1808
  /**
1809
1809
  * @public
@@ -1861,7 +1861,7 @@ export interface IssueCertificateRequest {
1861
1861
  * family of the CA's secret key.</p>
1862
1862
  * </note>
1863
1863
  */
1864
- SigningAlgorithm: SigningAlgorithm | string | undefined;
1864
+ SigningAlgorithm: SigningAlgorithm | undefined;
1865
1865
  /**
1866
1866
  * @public
1867
1867
  * <p>Specifies a custom configuration template to use when issuing a certificate. If this
@@ -1998,7 +1998,7 @@ export interface ListCertificateAuthoritiesRequest {
1998
1998
  * <p>Use this parameter to filter the returned set of certificate authorities based on
1999
1999
  * their owner. The default is SELF.</p>
2000
2000
  */
2001
- ResourceOwner?: ResourceOwner | string;
2001
+ ResourceOwner?: ResourceOwner;
2002
2002
  }
2003
2003
  /**
2004
2004
  * @public
@@ -2081,7 +2081,7 @@ export interface Permission {
2081
2081
  * @public
2082
2082
  * <p>The private CA actions that can be performed by the designated Amazon Web Services service.</p>
2083
2083
  */
2084
- Actions?: (ActionType | string)[];
2084
+ Actions?: ActionType[];
2085
2085
  /**
2086
2086
  * @public
2087
2087
  * <p>The name of the policy that is associated with the permission.</p>
@@ -2248,7 +2248,7 @@ export interface RevokeCertificateRequest {
2248
2248
  * @public
2249
2249
  * <p>Specifies why you revoked the certificate.</p>
2250
2250
  */
2251
- RevocationReason: RevocationReason | string | undefined;
2251
+ RevocationReason: RevocationReason | undefined;
2252
2252
  }
2253
2253
  /**
2254
2254
  * @public
@@ -2351,5 +2351,5 @@ export interface UpdateCertificateAuthorityRequest {
2351
2351
  * @public
2352
2352
  * <p>Status of your private CA.</p>
2353
2353
  */
2354
- Status?: CertificateAuthorityStatus | string;
2354
+ Status?: CertificateAuthorityStatus;
2355
2355
  }
@@ -48,7 +48,7 @@ export type AccessMethodType =
48
48
  (typeof AccessMethodType)[keyof typeof AccessMethodType];
49
49
  export interface AccessMethod {
50
50
  CustomObjectIdentifier?: string;
51
- AccessMethodType?: AccessMethodType | string;
51
+ AccessMethodType?: AccessMethodType;
52
52
  }
53
53
  export interface AccessDescription {
54
54
  AccessMethod: AccessMethod | undefined;
@@ -87,8 +87,8 @@ export declare const SigningAlgorithm: {
87
87
  export type SigningAlgorithm =
88
88
  (typeof SigningAlgorithm)[keyof typeof SigningAlgorithm];
89
89
  export interface CertificateAuthorityConfiguration {
90
- KeyAlgorithm: KeyAlgorithm | string | undefined;
91
- SigningAlgorithm: SigningAlgorithm | string | undefined;
90
+ KeyAlgorithm: KeyAlgorithm | undefined;
91
+ SigningAlgorithm: SigningAlgorithm | undefined;
92
92
  Subject: ASN1Subject | undefined;
93
93
  CsrExtensions?: CsrExtensions;
94
94
  }
@@ -114,7 +114,7 @@ export interface CrlConfiguration {
114
114
  ExpirationInDays?: number;
115
115
  CustomCname?: string;
116
116
  S3BucketName?: string;
117
- S3ObjectAcl?: S3ObjectAcl | string;
117
+ S3ObjectAcl?: S3ObjectAcl;
118
118
  }
119
119
  export interface OcspConfiguration {
120
120
  Enabled: boolean | undefined;
@@ -139,11 +139,11 @@ export interface CreateCertificateAuthorityRequest {
139
139
  | CertificateAuthorityConfiguration
140
140
  | undefined;
141
141
  RevocationConfiguration?: RevocationConfiguration;
142
- CertificateAuthorityType: CertificateAuthorityType | string | undefined;
142
+ CertificateAuthorityType: CertificateAuthorityType | undefined;
143
143
  IdempotencyToken?: string;
144
- KeyStorageSecurityStandard?: KeyStorageSecurityStandard | string;
144
+ KeyStorageSecurityStandard?: KeyStorageSecurityStandard;
145
145
  Tags?: Tag[];
146
- UsageMode?: CertificateAuthorityUsageMode | string;
146
+ UsageMode?: CertificateAuthorityUsageMode;
147
147
  }
148
148
  export interface CreateCertificateAuthorityResponse {
149
149
  CertificateAuthorityArn?: string;
@@ -185,7 +185,7 @@ export type AuditReportResponseFormat =
185
185
  export interface CreateCertificateAuthorityAuditReportRequest {
186
186
  CertificateAuthorityArn: string | undefined;
187
187
  S3BucketName: string | undefined;
188
- AuditReportResponseFormat: AuditReportResponseFormat | string | undefined;
188
+ AuditReportResponseFormat: AuditReportResponseFormat | undefined;
189
189
  }
190
190
  export interface CreateCertificateAuthorityAuditReportResponse {
191
191
  AuditReportId?: string;
@@ -236,7 +236,7 @@ export interface CreatePermissionRequest {
236
236
  CertificateAuthorityArn: string | undefined;
237
237
  Principal: string | undefined;
238
238
  SourceAccount?: string;
239
- Actions: (ActionType | string)[] | undefined;
239
+ Actions: ActionType[] | undefined;
240
240
  }
241
241
  export declare class PermissionAlreadyExistsException extends __BaseException {
242
242
  readonly name: "PermissionAlreadyExistsException";
@@ -302,17 +302,17 @@ export interface CertificateAuthority {
302
302
  OwnerAccount?: string;
303
303
  CreatedAt?: Date;
304
304
  LastStateChangeAt?: Date;
305
- Type?: CertificateAuthorityType | string;
305
+ Type?: CertificateAuthorityType;
306
306
  Serial?: string;
307
- Status?: CertificateAuthorityStatus | string;
307
+ Status?: CertificateAuthorityStatus;
308
308
  NotBefore?: Date;
309
309
  NotAfter?: Date;
310
- FailureReason?: FailureReason | string;
310
+ FailureReason?: FailureReason;
311
311
  CertificateAuthorityConfiguration?: CertificateAuthorityConfiguration;
312
312
  RevocationConfiguration?: RevocationConfiguration;
313
313
  RestorableUntil?: Date;
314
- KeyStorageSecurityStandard?: KeyStorageSecurityStandard | string;
315
- UsageMode?: CertificateAuthorityUsageMode | string;
314
+ KeyStorageSecurityStandard?: KeyStorageSecurityStandard;
315
+ UsageMode?: CertificateAuthorityUsageMode;
316
316
  }
317
317
  export interface DescribeCertificateAuthorityResponse {
318
318
  CertificateAuthority?: CertificateAuthority;
@@ -329,7 +329,7 @@ export declare const AuditReportStatus: {
329
329
  export type AuditReportStatus =
330
330
  (typeof AuditReportStatus)[keyof typeof AuditReportStatus];
331
331
  export interface DescribeCertificateAuthorityAuditReportResponse {
332
- AuditReportStatus?: AuditReportStatus | string;
332
+ AuditReportStatus?: AuditReportStatus;
333
333
  S3BucketName?: string;
334
334
  S3Key?: string;
335
335
  CreatedAt?: Date;
@@ -396,7 +396,7 @@ export interface Qualifier {
396
396
  CpsUri: string | undefined;
397
397
  }
398
398
  export interface PolicyQualifierInfo {
399
- PolicyQualifierId: PolicyQualifierId | string | undefined;
399
+ PolicyQualifierId: PolicyQualifierId | undefined;
400
400
  Qualifier: Qualifier | undefined;
401
401
  }
402
402
  export interface PolicyInformation {
@@ -422,7 +422,7 @@ export declare const ExtendedKeyUsageType: {
422
422
  export type ExtendedKeyUsageType =
423
423
  (typeof ExtendedKeyUsageType)[keyof typeof ExtendedKeyUsageType];
424
424
  export interface ExtendedKeyUsage {
425
- ExtendedKeyUsageType?: ExtendedKeyUsageType | string;
425
+ ExtendedKeyUsageType?: ExtendedKeyUsageType;
426
426
  ExtendedKeyUsageObjectIdentifier?: string;
427
427
  }
428
428
  export interface Extensions {
@@ -447,13 +447,13 @@ export type ValidityPeriodType =
447
447
  (typeof ValidityPeriodType)[keyof typeof ValidityPeriodType];
448
448
  export interface Validity {
449
449
  Value: number | undefined;
450
- Type: ValidityPeriodType | string | undefined;
450
+ Type: ValidityPeriodType | undefined;
451
451
  }
452
452
  export interface IssueCertificateRequest {
453
453
  ApiPassthrough?: ApiPassthrough;
454
454
  CertificateAuthorityArn: string | undefined;
455
455
  Csr: Uint8Array | undefined;
456
- SigningAlgorithm: SigningAlgorithm | string | undefined;
456
+ SigningAlgorithm: SigningAlgorithm | undefined;
457
457
  TemplateArn?: string;
458
458
  Validity: Validity | undefined;
459
459
  ValidityNotBefore?: Validity;
@@ -484,7 +484,7 @@ export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
484
484
  export interface ListCertificateAuthoritiesRequest {
485
485
  NextToken?: string;
486
486
  MaxResults?: number;
487
- ResourceOwner?: ResourceOwner | string;
487
+ ResourceOwner?: ResourceOwner;
488
488
  }
489
489
  export interface ListCertificateAuthoritiesResponse {
490
490
  CertificateAuthorities?: CertificateAuthority[];
@@ -500,7 +500,7 @@ export interface Permission {
500
500
  CreatedAt?: Date;
501
501
  Principal?: string;
502
502
  SourceAccount?: string;
503
- Actions?: (ActionType | string)[];
503
+ Actions?: ActionType[];
504
504
  Policy?: string;
505
505
  }
506
506
  export interface ListPermissionsResponse {
@@ -548,7 +548,7 @@ export type RevocationReason =
548
548
  export interface RevokeCertificateRequest {
549
549
  CertificateAuthorityArn: string | undefined;
550
550
  CertificateSerial: string | undefined;
551
- RevocationReason: RevocationReason | string | undefined;
551
+ RevocationReason: RevocationReason | undefined;
552
552
  }
553
553
  export interface TagCertificateAuthorityRequest {
554
554
  CertificateAuthorityArn: string | undefined;
@@ -568,5 +568,5 @@ export interface UntagCertificateAuthorityRequest {
568
568
  export interface UpdateCertificateAuthorityRequest {
569
569
  CertificateAuthorityArn: string | undefined;
570
570
  RevocationConfiguration?: RevocationConfiguration;
571
- Status?: CertificateAuthorityStatus | string;
571
+ Status?: CertificateAuthorityStatus;
572
572
  }
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.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
- "@smithy/util-waiter": "^2.0.10",
58
+ "@smithy/util-waiter": "^2.0.11",
59
59
  "tslib": "^2.5.0"
60
60
  },
61
61
  "devDependencies": {