@aws-sdk/client-acm-pca 3.28.0 → 3.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ACMPCA.ts +14 -7
- package/ACMPCAClient.ts +10 -5
- package/CHANGELOG.md +35 -0
- package/README.md +10 -5
- package/commands/CreateCertificateAuthorityCommand.ts +4 -2
- package/dist/cjs/ACMPCA.js +10 -5
- package/dist/cjs/ACMPCA.js.map +1 -1
- package/dist/cjs/ACMPCAClient.js +10 -5
- package/dist/cjs/ACMPCAClient.js.map +1 -1
- package/dist/cjs/commands/CreateCertificateAuthorityCommand.js +4 -2
- package/dist/cjs/commands/CreateCertificateAuthorityCommand.js.map +1 -1
- package/dist/cjs/models/models_0.js +11 -2
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_json1_1.js +28 -8
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/ACMPCA.js +10 -5
- package/dist/es/ACMPCA.js.map +1 -1
- package/dist/es/ACMPCAClient.js +10 -5
- package/dist/es/ACMPCAClient.js.map +1 -1
- package/dist/es/commands/CreateCertificateAuthorityCommand.js +4 -2
- package/dist/es/commands/CreateCertificateAuthorityCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +7 -0
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/protocols/Aws_json1_1.js +26 -10
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/types/ACMPCA.d.ts +14 -7
- package/dist/types/ACMPCAClient.d.ts +10 -5
- package/dist/types/commands/CreateCertificateAuthorityCommand.d.ts +4 -2
- package/dist/types/models/models_0.d.ts +72 -19
- package/dist/types/ts3.4/ACMPCA.d.ts +14 -7
- package/dist/types/ts3.4/ACMPCAClient.d.ts +10 -5
- package/dist/types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +4 -2
- package/dist/types/ts3.4/models/models_0.d.ts +72 -19
- package/models/models_0.ts +78 -19
- package/package.json +32 -32
- package/protocols/Aws_json1_1.ts +36 -9
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.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,46 +27,46 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
58
|
-
"@aws-sdk/util-waiter": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
|
+
"@aws-sdk/util-waiter": "3.32.0",
|
|
59
59
|
"tslib": "^2.3.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
62
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
63
63
|
"@types/node": "^12.7.5",
|
|
64
64
|
"downlevel-dts": "0.7.0",
|
|
65
65
|
"jest": "^26.1.0",
|
|
66
66
|
"rimraf": "^3.0.0",
|
|
67
67
|
"ts-jest": "^26.4.1",
|
|
68
68
|
"typedoc": "^0.19.2",
|
|
69
|
-
"typescript": "~4.3.
|
|
69
|
+
"typescript": "~4.3.5"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
72
|
"node": ">=10.0.0"
|
package/protocols/Aws_json1_1.ts
CHANGED
|
@@ -117,6 +117,7 @@ import {
|
|
|
117
117
|
LockoutPreventedException,
|
|
118
118
|
MalformedCSRException,
|
|
119
119
|
MalformedCertificateException,
|
|
120
|
+
OcspConfiguration,
|
|
120
121
|
OtherName,
|
|
121
122
|
Permission,
|
|
122
123
|
PermissionAlreadyExistsException,
|
|
@@ -141,8 +142,11 @@ import {
|
|
|
141
142
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
142
143
|
import {
|
|
143
144
|
expectBoolean as __expectBoolean,
|
|
144
|
-
|
|
145
|
+
expectInt32 as __expectInt32,
|
|
146
|
+
expectNonNull as __expectNonNull,
|
|
147
|
+
expectNumber as __expectNumber,
|
|
145
148
|
expectString as __expectString,
|
|
149
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
146
150
|
} from "@aws-sdk/smithy-client";
|
|
147
151
|
import {
|
|
148
152
|
Endpoint as __Endpoint,
|
|
@@ -3058,6 +3062,14 @@ const serializeAws_json1_1ListTagsRequest = (input: ListTagsRequest, context: __
|
|
|
3058
3062
|
};
|
|
3059
3063
|
};
|
|
3060
3064
|
|
|
3065
|
+
const serializeAws_json1_1OcspConfiguration = (input: OcspConfiguration, context: __SerdeContext): any => {
|
|
3066
|
+
return {
|
|
3067
|
+
...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
|
|
3068
|
+
...(input.OcspCustomCname !== undefined &&
|
|
3069
|
+
input.OcspCustomCname !== null && { OcspCustomCname: input.OcspCustomCname }),
|
|
3070
|
+
};
|
|
3071
|
+
};
|
|
3072
|
+
|
|
3061
3073
|
const serializeAws_json1_1OtherName = (input: OtherName, context: __SerdeContext): any => {
|
|
3062
3074
|
return {
|
|
3063
3075
|
...(input.TypeId !== undefined && input.TypeId !== null && { TypeId: input.TypeId }),
|
|
@@ -3124,6 +3136,10 @@ const serializeAws_json1_1RevocationConfiguration = (input: RevocationConfigurat
|
|
|
3124
3136
|
input.CrlConfiguration !== null && {
|
|
3125
3137
|
CrlConfiguration: serializeAws_json1_1CrlConfiguration(input.CrlConfiguration, context),
|
|
3126
3138
|
}),
|
|
3139
|
+
...(input.OcspConfiguration !== undefined &&
|
|
3140
|
+
input.OcspConfiguration !== null && {
|
|
3141
|
+
OcspConfiguration: serializeAws_json1_1OcspConfiguration(input.OcspConfiguration, context),
|
|
3142
|
+
}),
|
|
3127
3143
|
};
|
|
3128
3144
|
};
|
|
3129
3145
|
|
|
@@ -3284,26 +3300,26 @@ const deserializeAws_json1_1CertificateAuthority = (output: any, context: __Serd
|
|
|
3284
3300
|
: undefined,
|
|
3285
3301
|
CreatedAt:
|
|
3286
3302
|
output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
3287
|
-
?
|
|
3303
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
3288
3304
|
: undefined,
|
|
3289
3305
|
FailureReason: __expectString(output.FailureReason),
|
|
3290
3306
|
KeyStorageSecurityStandard: __expectString(output.KeyStorageSecurityStandard),
|
|
3291
3307
|
LastStateChangeAt:
|
|
3292
3308
|
output.LastStateChangeAt !== undefined && output.LastStateChangeAt !== null
|
|
3293
|
-
?
|
|
3309
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastStateChangeAt)))
|
|
3294
3310
|
: undefined,
|
|
3295
3311
|
NotAfter:
|
|
3296
3312
|
output.NotAfter !== undefined && output.NotAfter !== null
|
|
3297
|
-
?
|
|
3313
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.NotAfter)))
|
|
3298
3314
|
: undefined,
|
|
3299
3315
|
NotBefore:
|
|
3300
3316
|
output.NotBefore !== undefined && output.NotBefore !== null
|
|
3301
|
-
?
|
|
3317
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.NotBefore)))
|
|
3302
3318
|
: undefined,
|
|
3303
3319
|
OwnerAccount: __expectString(output.OwnerAccount),
|
|
3304
3320
|
RestorableUntil:
|
|
3305
3321
|
output.RestorableUntil !== undefined && output.RestorableUntil !== null
|
|
3306
|
-
?
|
|
3322
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RestorableUntil)))
|
|
3307
3323
|
: undefined,
|
|
3308
3324
|
RevocationConfiguration:
|
|
3309
3325
|
output.RevocationConfiguration !== undefined && output.RevocationConfiguration !== null
|
|
@@ -3374,7 +3390,7 @@ const deserializeAws_json1_1CrlConfiguration = (output: any, context: __SerdeCon
|
|
|
3374
3390
|
return {
|
|
3375
3391
|
CustomCname: __expectString(output.CustomCname),
|
|
3376
3392
|
Enabled: __expectBoolean(output.Enabled),
|
|
3377
|
-
ExpirationInDays:
|
|
3393
|
+
ExpirationInDays: __expectInt32(output.ExpirationInDays),
|
|
3378
3394
|
S3BucketName: __expectString(output.S3BucketName),
|
|
3379
3395
|
S3ObjectAcl: __expectString(output.S3ObjectAcl),
|
|
3380
3396
|
} as any;
|
|
@@ -3401,7 +3417,7 @@ const deserializeAws_json1_1DescribeCertificateAuthorityAuditReportResponse = (
|
|
|
3401
3417
|
AuditReportStatus: __expectString(output.AuditReportStatus),
|
|
3402
3418
|
CreatedAt:
|
|
3403
3419
|
output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
3404
|
-
?
|
|
3420
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
3405
3421
|
: undefined,
|
|
3406
3422
|
S3BucketName: __expectString(output.S3BucketName),
|
|
3407
3423
|
S3Key: __expectString(output.S3Key),
|
|
@@ -3618,6 +3634,13 @@ const deserializeAws_json1_1MalformedCSRException = (output: any, context: __Ser
|
|
|
3618
3634
|
} as any;
|
|
3619
3635
|
};
|
|
3620
3636
|
|
|
3637
|
+
const deserializeAws_json1_1OcspConfiguration = (output: any, context: __SerdeContext): OcspConfiguration => {
|
|
3638
|
+
return {
|
|
3639
|
+
Enabled: __expectBoolean(output.Enabled),
|
|
3640
|
+
OcspCustomCname: __expectString(output.OcspCustomCname),
|
|
3641
|
+
} as any;
|
|
3642
|
+
};
|
|
3643
|
+
|
|
3621
3644
|
const deserializeAws_json1_1OtherName = (output: any, context: __SerdeContext): OtherName => {
|
|
3622
3645
|
return {
|
|
3623
3646
|
TypeId: __expectString(output.TypeId),
|
|
@@ -3634,7 +3657,7 @@ const deserializeAws_json1_1Permission = (output: any, context: __SerdeContext):
|
|
|
3634
3657
|
CertificateAuthorityArn: __expectString(output.CertificateAuthorityArn),
|
|
3635
3658
|
CreatedAt:
|
|
3636
3659
|
output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
3637
|
-
?
|
|
3660
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
3638
3661
|
: undefined,
|
|
3639
3662
|
Policy: __expectString(output.Policy),
|
|
3640
3663
|
Principal: __expectString(output.Principal),
|
|
@@ -3704,6 +3727,10 @@ const deserializeAws_json1_1RevocationConfiguration = (
|
|
|
3704
3727
|
output.CrlConfiguration !== undefined && output.CrlConfiguration !== null
|
|
3705
3728
|
? deserializeAws_json1_1CrlConfiguration(output.CrlConfiguration, context)
|
|
3706
3729
|
: undefined,
|
|
3730
|
+
OcspConfiguration:
|
|
3731
|
+
output.OcspConfiguration !== undefined && output.OcspConfiguration !== null
|
|
3732
|
+
? deserializeAws_json1_1OcspConfiguration(output.OcspConfiguration, context)
|
|
3733
|
+
: undefined,
|
|
3707
3734
|
} as any;
|
|
3708
3735
|
};
|
|
3709
3736
|
|