@aws-sdk/client-acm-pca 3.30.0 → 3.34.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/CHANGELOG.md +35 -0
- package/dist/cjs/ACMPCAClient.js +13 -13
- package/dist/cjs/ACMPCAClient.js.map +1 -1
- package/dist/cjs/commands/CreateCertificateAuthorityAuditReportCommand.js +3 -3
- package/dist/cjs/commands/CreateCertificateAuthorityAuditReportCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCertificateAuthorityCommand.js +3 -3
- package/dist/cjs/commands/CreateCertificateAuthorityCommand.js.map +1 -1
- package/dist/cjs/commands/CreatePermissionCommand.js +3 -3
- package/dist/cjs/commands/CreatePermissionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteCertificateAuthorityCommand.js +3 -3
- package/dist/cjs/commands/DeleteCertificateAuthorityCommand.js.map +1 -1
- package/dist/cjs/commands/DeletePermissionCommand.js +3 -3
- package/dist/cjs/commands/DeletePermissionCommand.js.map +1 -1
- package/dist/cjs/commands/DeletePolicyCommand.js +3 -3
- package/dist/cjs/commands/DeletePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js +3 -3
- package/dist/cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeCertificateAuthorityCommand.js +3 -3
- package/dist/cjs/commands/DescribeCertificateAuthorityCommand.js.map +1 -1
- package/dist/cjs/commands/GetCertificateAuthorityCertificateCommand.js +3 -3
- package/dist/cjs/commands/GetCertificateAuthorityCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/GetCertificateAuthorityCsrCommand.js +3 -3
- package/dist/cjs/commands/GetCertificateAuthorityCsrCommand.js.map +1 -1
- package/dist/cjs/commands/GetCertificateCommand.js +3 -3
- package/dist/cjs/commands/GetCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/GetPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/ImportCertificateAuthorityCertificateCommand.js +3 -3
- package/dist/cjs/commands/ImportCertificateAuthorityCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/IssueCertificateCommand.js +3 -3
- package/dist/cjs/commands/IssueCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/ListCertificateAuthoritiesCommand.js +3 -3
- package/dist/cjs/commands/ListCertificateAuthoritiesCommand.js.map +1 -1
- package/dist/cjs/commands/ListPermissionsCommand.js +3 -3
- package/dist/cjs/commands/ListPermissionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsCommand.js +3 -3
- package/dist/cjs/commands/ListTagsCommand.js.map +1 -1
- package/dist/cjs/commands/PutPolicyCommand.js +3 -3
- package/dist/cjs/commands/PutPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/RestoreCertificateAuthorityCommand.js +3 -3
- package/dist/cjs/commands/RestoreCertificateAuthorityCommand.js.map +1 -1
- package/dist/cjs/commands/RevokeCertificateCommand.js +3 -3
- package/dist/cjs/commands/RevokeCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/TagCertificateAuthorityCommand.js +3 -3
- package/dist/cjs/commands/TagCertificateAuthorityCommand.js.map +1 -1
- package/dist/cjs/commands/UntagCertificateAuthorityCommand.js +3 -3
- package/dist/cjs/commands/UntagCertificateAuthorityCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateCertificateAuthorityCommand.js +3 -3
- package/dist/cjs/commands/UpdateCertificateAuthorityCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +33 -33
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +40 -40
- package/dist/cjs/protocols/Aws_json1_1.js +99 -99
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForAuditReportCreated.js +3 -3
- package/dist/cjs/waiters/waitForAuditReportCreated.js.map +1 -1
- package/dist/cjs/waiters/waitForCertificateAuthorityCSRCreated.js +3 -3
- package/dist/cjs/waiters/waitForCertificateAuthorityCSRCreated.js.map +1 -1
- package/dist/cjs/waiters/waitForCertificateIssued.js +3 -3
- package/dist/cjs/waiters/waitForCertificateIssued.js.map +1 -1
- package/dist/es/ACMPCA.js +1 -21
- package/dist/es/ACMPCA.js.map +1 -1
- package/dist/es/ACMPCAClient.js +1 -26
- package/dist/es/ACMPCAClient.js.map +1 -1
- package/dist/es/commands/CreateCertificateAuthorityAuditReportCommand.js +2 -42
- package/dist/es/commands/CreateCertificateAuthorityAuditReportCommand.js.map +1 -1
- package/dist/es/commands/CreateCertificateAuthorityCommand.js +2 -47
- package/dist/es/commands/CreateCertificateAuthorityCommand.js.map +1 -1
- package/dist/es/commands/CreatePermissionCommand.js +2 -53
- package/dist/es/commands/CreatePermissionCommand.js.map +1 -1
- package/dist/es/commands/DeleteCertificateAuthorityCommand.js +2 -46
- package/dist/es/commands/DeleteCertificateAuthorityCommand.js.map +1 -1
- package/dist/es/commands/DeletePermissionCommand.js +2 -55
- package/dist/es/commands/DeletePermissionCommand.js.map +1 -1
- package/dist/es/commands/DeletePolicyCommand.js +2 -61
- package/dist/es/commands/DeletePolicyCommand.js.map +1 -1
- package/dist/es/commands/DescribeCertificateAuthorityAuditReportCommand.js +2 -30
- package/dist/es/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +1 -1
- package/dist/es/commands/DescribeCertificateAuthorityCommand.js +2 -67
- package/dist/es/commands/DescribeCertificateAuthorityCommand.js.map +1 -1
- package/dist/es/commands/GetCertificateAuthorityCertificateCommand.js +2 -30
- package/dist/es/commands/GetCertificateAuthorityCertificateCommand.js.map +1 -1
- package/dist/es/commands/GetCertificateAuthorityCsrCommand.js +2 -31
- package/dist/es/commands/GetCertificateAuthorityCsrCommand.js.map +1 -1
- package/dist/es/commands/GetCertificateCommand.js +2 -34
- package/dist/es/commands/GetCertificateCommand.js.map +1 -1
- package/dist/es/commands/GetPolicyCommand.js +2 -57
- package/dist/es/commands/GetPolicyCommand.js.map +1 -1
- package/dist/es/commands/ImportCertificateAuthorityCertificateCommand.js +2 -154
- package/dist/es/commands/ImportCertificateAuthorityCertificateCommand.js.map +1 -1
- package/dist/es/commands/IssueCertificateCommand.js +2 -34
- package/dist/es/commands/IssueCertificateCommand.js.map +1 -1
- package/dist/es/commands/ListCertificateAuthoritiesCommand.js +2 -27
- package/dist/es/commands/ListCertificateAuthoritiesCommand.js.map +1 -1
- package/dist/es/commands/ListPermissionsCommand.js +2 -54
- package/dist/es/commands/ListPermissionsCommand.js.map +1 -1
- package/dist/es/commands/ListTagsCommand.js +2 -30
- package/dist/es/commands/ListTagsCommand.js.map +1 -1
- package/dist/es/commands/PutPolicyCommand.js +2 -58
- package/dist/es/commands/PutPolicyCommand.js.map +1 -1
- package/dist/es/commands/RestoreCertificateAuthorityCommand.js +2 -37
- package/dist/es/commands/RestoreCertificateAuthorityCommand.js.map +1 -1
- package/dist/es/commands/RevokeCertificateCommand.js +2 -46
- package/dist/es/commands/RevokeCertificateCommand.js.map +1 -1
- package/dist/es/commands/TagCertificateAuthorityCommand.js +2 -34
- package/dist/es/commands/TagCertificateAuthorityCommand.js.map +1 -1
- package/dist/es/commands/UntagCertificateAuthorityCommand.js +2 -31
- package/dist/es/commands/UntagCertificateAuthorityCommand.js.map +1 -1
- package/dist/es/commands/UpdateCertificateAuthorityCommand.js +2 -37
- package/dist/es/commands/UpdateCertificateAuthorityCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -228
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +40 -40
- package/dist/es/pagination/ListCertificateAuthoritiesPaginator.js +16 -28
- package/dist/es/pagination/ListCertificateAuthoritiesPaginator.js.map +1 -1
- package/dist/es/pagination/ListPermissionsPaginator.js +16 -28
- package/dist/es/pagination/ListPermissionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListTagsPaginator.js +16 -28
- package/dist/es/pagination/ListTagsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +630 -635
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/es/waiters/waitForAuditReportCreated.js +9 -18
- package/dist/es/waiters/waitForAuditReportCreated.js.map +1 -1
- package/dist/es/waiters/waitForCertificateAuthorityCSRCreated.js +8 -17
- package/dist/es/waiters/waitForCertificateAuthorityCSRCreated.js.map +1 -1
- package/dist/es/waiters/waitForCertificateIssued.js +8 -17
- package/dist/es/waiters/waitForCertificateIssued.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +40 -40
- package/protocols/Aws_json1_1.ts +10 -7
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -2683,8 +2683,8 @@ const deserializeAws_json1_1AccessDescriptionList = (output, context) => {
|
|
|
2683
2683
|
};
|
|
2684
2684
|
const deserializeAws_json1_1AccessMethod = (output, context) => {
|
|
2685
2685
|
return {
|
|
2686
|
-
AccessMethodType:
|
|
2687
|
-
CustomObjectIdentifier:
|
|
2686
|
+
AccessMethodType: smithy_client_1.expectString(output.AccessMethodType),
|
|
2687
|
+
CustomObjectIdentifier: smithy_client_1.expectString(output.CustomObjectIdentifier),
|
|
2688
2688
|
};
|
|
2689
2689
|
};
|
|
2690
2690
|
const deserializeAws_json1_1ActionList = (output, context) => {
|
|
@@ -2694,25 +2694,25 @@ const deserializeAws_json1_1ActionList = (output, context) => {
|
|
|
2694
2694
|
if (entry === null) {
|
|
2695
2695
|
return null;
|
|
2696
2696
|
}
|
|
2697
|
-
return
|
|
2697
|
+
return smithy_client_1.expectString(entry);
|
|
2698
2698
|
});
|
|
2699
2699
|
};
|
|
2700
2700
|
const deserializeAws_json1_1ASN1Subject = (output, context) => {
|
|
2701
2701
|
return {
|
|
2702
|
-
CommonName:
|
|
2703
|
-
Country:
|
|
2704
|
-
DistinguishedNameQualifier:
|
|
2705
|
-
GenerationQualifier:
|
|
2706
|
-
GivenName:
|
|
2707
|
-
Initials:
|
|
2708
|
-
Locality:
|
|
2709
|
-
Organization:
|
|
2710
|
-
OrganizationalUnit:
|
|
2711
|
-
Pseudonym:
|
|
2712
|
-
SerialNumber:
|
|
2713
|
-
State:
|
|
2714
|
-
Surname:
|
|
2715
|
-
Title:
|
|
2702
|
+
CommonName: smithy_client_1.expectString(output.CommonName),
|
|
2703
|
+
Country: smithy_client_1.expectString(output.Country),
|
|
2704
|
+
DistinguishedNameQualifier: smithy_client_1.expectString(output.DistinguishedNameQualifier),
|
|
2705
|
+
GenerationQualifier: smithy_client_1.expectString(output.GenerationQualifier),
|
|
2706
|
+
GivenName: smithy_client_1.expectString(output.GivenName),
|
|
2707
|
+
Initials: smithy_client_1.expectString(output.Initials),
|
|
2708
|
+
Locality: smithy_client_1.expectString(output.Locality),
|
|
2709
|
+
Organization: smithy_client_1.expectString(output.Organization),
|
|
2710
|
+
OrganizationalUnit: smithy_client_1.expectString(output.OrganizationalUnit),
|
|
2711
|
+
Pseudonym: smithy_client_1.expectString(output.Pseudonym),
|
|
2712
|
+
SerialNumber: smithy_client_1.expectString(output.SerialNumber),
|
|
2713
|
+
State: smithy_client_1.expectString(output.State),
|
|
2714
|
+
Surname: smithy_client_1.expectString(output.Surname),
|
|
2715
|
+
Title: smithy_client_1.expectString(output.Title),
|
|
2716
2716
|
};
|
|
2717
2717
|
};
|
|
2718
2718
|
const deserializeAws_json1_1CertificateAuthorities = (output, context) => {
|
|
@@ -2727,34 +2727,34 @@ const deserializeAws_json1_1CertificateAuthorities = (output, context) => {
|
|
|
2727
2727
|
};
|
|
2728
2728
|
const deserializeAws_json1_1CertificateAuthority = (output, context) => {
|
|
2729
2729
|
return {
|
|
2730
|
-
Arn:
|
|
2730
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
2731
2731
|
CertificateAuthorityConfiguration: output.CertificateAuthorityConfiguration !== undefined && output.CertificateAuthorityConfiguration !== null
|
|
2732
2732
|
? deserializeAws_json1_1CertificateAuthorityConfiguration(output.CertificateAuthorityConfiguration, context)
|
|
2733
2733
|
: undefined,
|
|
2734
2734
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2735
|
-
?
|
|
2735
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2736
2736
|
: undefined,
|
|
2737
|
-
FailureReason:
|
|
2738
|
-
KeyStorageSecurityStandard:
|
|
2737
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
2738
|
+
KeyStorageSecurityStandard: smithy_client_1.expectString(output.KeyStorageSecurityStandard),
|
|
2739
2739
|
LastStateChangeAt: output.LastStateChangeAt !== undefined && output.LastStateChangeAt !== null
|
|
2740
|
-
?
|
|
2740
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastStateChangeAt)))
|
|
2741
2741
|
: undefined,
|
|
2742
2742
|
NotAfter: output.NotAfter !== undefined && output.NotAfter !== null
|
|
2743
|
-
?
|
|
2743
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.NotAfter)))
|
|
2744
2744
|
: undefined,
|
|
2745
2745
|
NotBefore: output.NotBefore !== undefined && output.NotBefore !== null
|
|
2746
|
-
?
|
|
2746
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.NotBefore)))
|
|
2747
2747
|
: undefined,
|
|
2748
|
-
OwnerAccount:
|
|
2748
|
+
OwnerAccount: smithy_client_1.expectString(output.OwnerAccount),
|
|
2749
2749
|
RestorableUntil: output.RestorableUntil !== undefined && output.RestorableUntil !== null
|
|
2750
|
-
?
|
|
2750
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RestorableUntil)))
|
|
2751
2751
|
: undefined,
|
|
2752
2752
|
RevocationConfiguration: output.RevocationConfiguration !== undefined && output.RevocationConfiguration !== null
|
|
2753
2753
|
? deserializeAws_json1_1RevocationConfiguration(output.RevocationConfiguration, context)
|
|
2754
2754
|
: undefined,
|
|
2755
|
-
Serial:
|
|
2756
|
-
Status:
|
|
2757
|
-
Type:
|
|
2755
|
+
Serial: smithy_client_1.expectString(output.Serial),
|
|
2756
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2757
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
2758
2758
|
};
|
|
2759
2759
|
};
|
|
2760
2760
|
const deserializeAws_json1_1CertificateAuthorityConfiguration = (output, context) => {
|
|
@@ -2762,8 +2762,8 @@ const deserializeAws_json1_1CertificateAuthorityConfiguration = (output, context
|
|
|
2762
2762
|
CsrExtensions: output.CsrExtensions !== undefined && output.CsrExtensions !== null
|
|
2763
2763
|
? deserializeAws_json1_1CsrExtensions(output.CsrExtensions, context)
|
|
2764
2764
|
: undefined,
|
|
2765
|
-
KeyAlgorithm:
|
|
2766
|
-
SigningAlgorithm:
|
|
2765
|
+
KeyAlgorithm: smithy_client_1.expectString(output.KeyAlgorithm),
|
|
2766
|
+
SigningAlgorithm: smithy_client_1.expectString(output.SigningAlgorithm),
|
|
2767
2767
|
Subject: output.Subject !== undefined && output.Subject !== null
|
|
2768
2768
|
? deserializeAws_json1_1ASN1Subject(output.Subject, context)
|
|
2769
2769
|
: undefined,
|
|
@@ -2771,32 +2771,32 @@ const deserializeAws_json1_1CertificateAuthorityConfiguration = (output, context
|
|
|
2771
2771
|
};
|
|
2772
2772
|
const deserializeAws_json1_1CertificateMismatchException = (output, context) => {
|
|
2773
2773
|
return {
|
|
2774
|
-
message:
|
|
2774
|
+
message: smithy_client_1.expectString(output.message),
|
|
2775
2775
|
};
|
|
2776
2776
|
};
|
|
2777
2777
|
const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
|
|
2778
2778
|
return {
|
|
2779
|
-
message:
|
|
2779
|
+
message: smithy_client_1.expectString(output.message),
|
|
2780
2780
|
};
|
|
2781
2781
|
};
|
|
2782
2782
|
const deserializeAws_json1_1CreateCertificateAuthorityAuditReportResponse = (output, context) => {
|
|
2783
2783
|
return {
|
|
2784
|
-
AuditReportId:
|
|
2785
|
-
S3Key:
|
|
2784
|
+
AuditReportId: smithy_client_1.expectString(output.AuditReportId),
|
|
2785
|
+
S3Key: smithy_client_1.expectString(output.S3Key),
|
|
2786
2786
|
};
|
|
2787
2787
|
};
|
|
2788
2788
|
const deserializeAws_json1_1CreateCertificateAuthorityResponse = (output, context) => {
|
|
2789
2789
|
return {
|
|
2790
|
-
CertificateAuthorityArn:
|
|
2790
|
+
CertificateAuthorityArn: smithy_client_1.expectString(output.CertificateAuthorityArn),
|
|
2791
2791
|
};
|
|
2792
2792
|
};
|
|
2793
2793
|
const deserializeAws_json1_1CrlConfiguration = (output, context) => {
|
|
2794
2794
|
return {
|
|
2795
|
-
CustomCname:
|
|
2796
|
-
Enabled:
|
|
2797
|
-
ExpirationInDays:
|
|
2798
|
-
S3BucketName:
|
|
2799
|
-
S3ObjectAcl:
|
|
2795
|
+
CustomCname: smithy_client_1.expectString(output.CustomCname),
|
|
2796
|
+
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
2797
|
+
ExpirationInDays: smithy_client_1.expectInt32(output.ExpirationInDays),
|
|
2798
|
+
S3BucketName: smithy_client_1.expectString(output.S3BucketName),
|
|
2799
|
+
S3ObjectAcl: smithy_client_1.expectString(output.S3ObjectAcl),
|
|
2800
2800
|
};
|
|
2801
2801
|
};
|
|
2802
2802
|
const deserializeAws_json1_1CsrExtensions = (output, context) => {
|
|
@@ -2811,12 +2811,12 @@ const deserializeAws_json1_1CsrExtensions = (output, context) => {
|
|
|
2811
2811
|
};
|
|
2812
2812
|
const deserializeAws_json1_1DescribeCertificateAuthorityAuditReportResponse = (output, context) => {
|
|
2813
2813
|
return {
|
|
2814
|
-
AuditReportStatus:
|
|
2814
|
+
AuditReportStatus: smithy_client_1.expectString(output.AuditReportStatus),
|
|
2815
2815
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2816
|
-
?
|
|
2816
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2817
2817
|
: undefined,
|
|
2818
|
-
S3BucketName:
|
|
2819
|
-
S3Key:
|
|
2818
|
+
S3BucketName: smithy_client_1.expectString(output.S3BucketName),
|
|
2819
|
+
S3Key: smithy_client_1.expectString(output.S3Key),
|
|
2820
2820
|
};
|
|
2821
2821
|
};
|
|
2822
2822
|
const deserializeAws_json1_1DescribeCertificateAuthorityResponse = (output, context) => {
|
|
@@ -2828,8 +2828,8 @@ const deserializeAws_json1_1DescribeCertificateAuthorityResponse = (output, cont
|
|
|
2828
2828
|
};
|
|
2829
2829
|
const deserializeAws_json1_1EdiPartyName = (output, context) => {
|
|
2830
2830
|
return {
|
|
2831
|
-
NameAssigner:
|
|
2832
|
-
PartyName:
|
|
2831
|
+
NameAssigner: smithy_client_1.expectString(output.NameAssigner),
|
|
2832
|
+
PartyName: smithy_client_1.expectString(output.PartyName),
|
|
2833
2833
|
};
|
|
2834
2834
|
};
|
|
2835
2835
|
const deserializeAws_json1_1GeneralName = (output, context) => {
|
|
@@ -2837,97 +2837,97 @@ const deserializeAws_json1_1GeneralName = (output, context) => {
|
|
|
2837
2837
|
DirectoryName: output.DirectoryName !== undefined && output.DirectoryName !== null
|
|
2838
2838
|
? deserializeAws_json1_1ASN1Subject(output.DirectoryName, context)
|
|
2839
2839
|
: undefined,
|
|
2840
|
-
DnsName:
|
|
2840
|
+
DnsName: smithy_client_1.expectString(output.DnsName),
|
|
2841
2841
|
EdiPartyName: output.EdiPartyName !== undefined && output.EdiPartyName !== null
|
|
2842
2842
|
? deserializeAws_json1_1EdiPartyName(output.EdiPartyName, context)
|
|
2843
2843
|
: undefined,
|
|
2844
|
-
IpAddress:
|
|
2844
|
+
IpAddress: smithy_client_1.expectString(output.IpAddress),
|
|
2845
2845
|
OtherName: output.OtherName !== undefined && output.OtherName !== null
|
|
2846
2846
|
? deserializeAws_json1_1OtherName(output.OtherName, context)
|
|
2847
2847
|
: undefined,
|
|
2848
|
-
RegisteredId:
|
|
2849
|
-
Rfc822Name:
|
|
2850
|
-
UniformResourceIdentifier:
|
|
2848
|
+
RegisteredId: smithy_client_1.expectString(output.RegisteredId),
|
|
2849
|
+
Rfc822Name: smithy_client_1.expectString(output.Rfc822Name),
|
|
2850
|
+
UniformResourceIdentifier: smithy_client_1.expectString(output.UniformResourceIdentifier),
|
|
2851
2851
|
};
|
|
2852
2852
|
};
|
|
2853
2853
|
const deserializeAws_json1_1GetCertificateAuthorityCertificateResponse = (output, context) => {
|
|
2854
2854
|
return {
|
|
2855
|
-
Certificate:
|
|
2856
|
-
CertificateChain:
|
|
2855
|
+
Certificate: smithy_client_1.expectString(output.Certificate),
|
|
2856
|
+
CertificateChain: smithy_client_1.expectString(output.CertificateChain),
|
|
2857
2857
|
};
|
|
2858
2858
|
};
|
|
2859
2859
|
const deserializeAws_json1_1GetCertificateAuthorityCsrResponse = (output, context) => {
|
|
2860
2860
|
return {
|
|
2861
|
-
Csr:
|
|
2861
|
+
Csr: smithy_client_1.expectString(output.Csr),
|
|
2862
2862
|
};
|
|
2863
2863
|
};
|
|
2864
2864
|
const deserializeAws_json1_1GetCertificateResponse = (output, context) => {
|
|
2865
2865
|
return {
|
|
2866
|
-
Certificate:
|
|
2867
|
-
CertificateChain:
|
|
2866
|
+
Certificate: smithy_client_1.expectString(output.Certificate),
|
|
2867
|
+
CertificateChain: smithy_client_1.expectString(output.CertificateChain),
|
|
2868
2868
|
};
|
|
2869
2869
|
};
|
|
2870
2870
|
const deserializeAws_json1_1GetPolicyResponse = (output, context) => {
|
|
2871
2871
|
return {
|
|
2872
|
-
Policy:
|
|
2872
|
+
Policy: smithy_client_1.expectString(output.Policy),
|
|
2873
2873
|
};
|
|
2874
2874
|
};
|
|
2875
2875
|
const deserializeAws_json1_1InvalidArgsException = (output, context) => {
|
|
2876
2876
|
return {
|
|
2877
|
-
message:
|
|
2877
|
+
message: smithy_client_1.expectString(output.message),
|
|
2878
2878
|
};
|
|
2879
2879
|
};
|
|
2880
2880
|
const deserializeAws_json1_1InvalidArnException = (output, context) => {
|
|
2881
2881
|
return {
|
|
2882
|
-
message:
|
|
2882
|
+
message: smithy_client_1.expectString(output.message),
|
|
2883
2883
|
};
|
|
2884
2884
|
};
|
|
2885
2885
|
const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
|
|
2886
2886
|
return {
|
|
2887
|
-
message:
|
|
2887
|
+
message: smithy_client_1.expectString(output.message),
|
|
2888
2888
|
};
|
|
2889
2889
|
};
|
|
2890
2890
|
const deserializeAws_json1_1InvalidPolicyException = (output, context) => {
|
|
2891
2891
|
return {
|
|
2892
|
-
message:
|
|
2892
|
+
message: smithy_client_1.expectString(output.message),
|
|
2893
2893
|
};
|
|
2894
2894
|
};
|
|
2895
2895
|
const deserializeAws_json1_1InvalidRequestException = (output, context) => {
|
|
2896
2896
|
return {
|
|
2897
|
-
message:
|
|
2897
|
+
message: smithy_client_1.expectString(output.message),
|
|
2898
2898
|
};
|
|
2899
2899
|
};
|
|
2900
2900
|
const deserializeAws_json1_1InvalidStateException = (output, context) => {
|
|
2901
2901
|
return {
|
|
2902
|
-
message:
|
|
2902
|
+
message: smithy_client_1.expectString(output.message),
|
|
2903
2903
|
};
|
|
2904
2904
|
};
|
|
2905
2905
|
const deserializeAws_json1_1InvalidTagException = (output, context) => {
|
|
2906
2906
|
return {
|
|
2907
|
-
message:
|
|
2907
|
+
message: smithy_client_1.expectString(output.message),
|
|
2908
2908
|
};
|
|
2909
2909
|
};
|
|
2910
2910
|
const deserializeAws_json1_1IssueCertificateResponse = (output, context) => {
|
|
2911
2911
|
return {
|
|
2912
|
-
CertificateArn:
|
|
2912
|
+
CertificateArn: smithy_client_1.expectString(output.CertificateArn),
|
|
2913
2913
|
};
|
|
2914
2914
|
};
|
|
2915
2915
|
const deserializeAws_json1_1KeyUsage = (output, context) => {
|
|
2916
2916
|
return {
|
|
2917
|
-
CRLSign:
|
|
2918
|
-
DataEncipherment:
|
|
2919
|
-
DecipherOnly:
|
|
2920
|
-
DigitalSignature:
|
|
2921
|
-
EncipherOnly:
|
|
2922
|
-
KeyAgreement:
|
|
2923
|
-
KeyCertSign:
|
|
2924
|
-
KeyEncipherment:
|
|
2925
|
-
NonRepudiation:
|
|
2917
|
+
CRLSign: smithy_client_1.expectBoolean(output.CRLSign),
|
|
2918
|
+
DataEncipherment: smithy_client_1.expectBoolean(output.DataEncipherment),
|
|
2919
|
+
DecipherOnly: smithy_client_1.expectBoolean(output.DecipherOnly),
|
|
2920
|
+
DigitalSignature: smithy_client_1.expectBoolean(output.DigitalSignature),
|
|
2921
|
+
EncipherOnly: smithy_client_1.expectBoolean(output.EncipherOnly),
|
|
2922
|
+
KeyAgreement: smithy_client_1.expectBoolean(output.KeyAgreement),
|
|
2923
|
+
KeyCertSign: smithy_client_1.expectBoolean(output.KeyCertSign),
|
|
2924
|
+
KeyEncipherment: smithy_client_1.expectBoolean(output.KeyEncipherment),
|
|
2925
|
+
NonRepudiation: smithy_client_1.expectBoolean(output.NonRepudiation),
|
|
2926
2926
|
};
|
|
2927
2927
|
};
|
|
2928
2928
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
2929
2929
|
return {
|
|
2930
|
-
message:
|
|
2930
|
+
message: smithy_client_1.expectString(output.message),
|
|
2931
2931
|
};
|
|
2932
2932
|
};
|
|
2933
2933
|
const deserializeAws_json1_1ListCertificateAuthoritiesResponse = (output, context) => {
|
|
@@ -2935,12 +2935,12 @@ const deserializeAws_json1_1ListCertificateAuthoritiesResponse = (output, contex
|
|
|
2935
2935
|
CertificateAuthorities: output.CertificateAuthorities !== undefined && output.CertificateAuthorities !== null
|
|
2936
2936
|
? deserializeAws_json1_1CertificateAuthorities(output.CertificateAuthorities, context)
|
|
2937
2937
|
: undefined,
|
|
2938
|
-
NextToken:
|
|
2938
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2939
2939
|
};
|
|
2940
2940
|
};
|
|
2941
2941
|
const deserializeAws_json1_1ListPermissionsResponse = (output, context) => {
|
|
2942
2942
|
return {
|
|
2943
|
-
NextToken:
|
|
2943
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2944
2944
|
Permissions: output.Permissions !== undefined && output.Permissions !== null
|
|
2945
2945
|
? deserializeAws_json1_1PermissionList(output.Permissions, context)
|
|
2946
2946
|
: undefined,
|
|
@@ -2948,7 +2948,7 @@ const deserializeAws_json1_1ListPermissionsResponse = (output, context) => {
|
|
|
2948
2948
|
};
|
|
2949
2949
|
const deserializeAws_json1_1ListTagsResponse = (output, context) => {
|
|
2950
2950
|
return {
|
|
2951
|
-
NextToken:
|
|
2951
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2952
2952
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
2953
2953
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
2954
2954
|
: undefined,
|
|
@@ -2956,29 +2956,29 @@ const deserializeAws_json1_1ListTagsResponse = (output, context) => {
|
|
|
2956
2956
|
};
|
|
2957
2957
|
const deserializeAws_json1_1LockoutPreventedException = (output, context) => {
|
|
2958
2958
|
return {
|
|
2959
|
-
message:
|
|
2959
|
+
message: smithy_client_1.expectString(output.message),
|
|
2960
2960
|
};
|
|
2961
2961
|
};
|
|
2962
2962
|
const deserializeAws_json1_1MalformedCertificateException = (output, context) => {
|
|
2963
2963
|
return {
|
|
2964
|
-
message:
|
|
2964
|
+
message: smithy_client_1.expectString(output.message),
|
|
2965
2965
|
};
|
|
2966
2966
|
};
|
|
2967
2967
|
const deserializeAws_json1_1MalformedCSRException = (output, context) => {
|
|
2968
2968
|
return {
|
|
2969
|
-
message:
|
|
2969
|
+
message: smithy_client_1.expectString(output.message),
|
|
2970
2970
|
};
|
|
2971
2971
|
};
|
|
2972
2972
|
const deserializeAws_json1_1OcspConfiguration = (output, context) => {
|
|
2973
2973
|
return {
|
|
2974
|
-
Enabled:
|
|
2975
|
-
OcspCustomCname:
|
|
2974
|
+
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
2975
|
+
OcspCustomCname: smithy_client_1.expectString(output.OcspCustomCname),
|
|
2976
2976
|
};
|
|
2977
2977
|
};
|
|
2978
2978
|
const deserializeAws_json1_1OtherName = (output, context) => {
|
|
2979
2979
|
return {
|
|
2980
|
-
TypeId:
|
|
2981
|
-
Value:
|
|
2980
|
+
TypeId: smithy_client_1.expectString(output.TypeId),
|
|
2981
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
2982
2982
|
};
|
|
2983
2983
|
};
|
|
2984
2984
|
const deserializeAws_json1_1Permission = (output, context) => {
|
|
@@ -2986,18 +2986,18 @@ const deserializeAws_json1_1Permission = (output, context) => {
|
|
|
2986
2986
|
Actions: output.Actions !== undefined && output.Actions !== null
|
|
2987
2987
|
? deserializeAws_json1_1ActionList(output.Actions, context)
|
|
2988
2988
|
: undefined,
|
|
2989
|
-
CertificateAuthorityArn:
|
|
2989
|
+
CertificateAuthorityArn: smithy_client_1.expectString(output.CertificateAuthorityArn),
|
|
2990
2990
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2991
|
-
?
|
|
2991
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2992
2992
|
: undefined,
|
|
2993
|
-
Policy:
|
|
2994
|
-
Principal:
|
|
2995
|
-
SourceAccount:
|
|
2993
|
+
Policy: smithy_client_1.expectString(output.Policy),
|
|
2994
|
+
Principal: smithy_client_1.expectString(output.Principal),
|
|
2995
|
+
SourceAccount: smithy_client_1.expectString(output.SourceAccount),
|
|
2996
2996
|
};
|
|
2997
2997
|
};
|
|
2998
2998
|
const deserializeAws_json1_1PermissionAlreadyExistsException = (output, context) => {
|
|
2999
2999
|
return {
|
|
3000
|
-
message:
|
|
3000
|
+
message: smithy_client_1.expectString(output.message),
|
|
3001
3001
|
};
|
|
3002
3002
|
};
|
|
3003
3003
|
const deserializeAws_json1_1PermissionList = (output, context) => {
|
|
@@ -3012,22 +3012,22 @@ const deserializeAws_json1_1PermissionList = (output, context) => {
|
|
|
3012
3012
|
};
|
|
3013
3013
|
const deserializeAws_json1_1RequestAlreadyProcessedException = (output, context) => {
|
|
3014
3014
|
return {
|
|
3015
|
-
message:
|
|
3015
|
+
message: smithy_client_1.expectString(output.message),
|
|
3016
3016
|
};
|
|
3017
3017
|
};
|
|
3018
3018
|
const deserializeAws_json1_1RequestFailedException = (output, context) => {
|
|
3019
3019
|
return {
|
|
3020
|
-
message:
|
|
3020
|
+
message: smithy_client_1.expectString(output.message),
|
|
3021
3021
|
};
|
|
3022
3022
|
};
|
|
3023
3023
|
const deserializeAws_json1_1RequestInProgressException = (output, context) => {
|
|
3024
3024
|
return {
|
|
3025
|
-
message:
|
|
3025
|
+
message: smithy_client_1.expectString(output.message),
|
|
3026
3026
|
};
|
|
3027
3027
|
};
|
|
3028
3028
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
3029
3029
|
return {
|
|
3030
|
-
message:
|
|
3030
|
+
message: smithy_client_1.expectString(output.message),
|
|
3031
3031
|
};
|
|
3032
3032
|
};
|
|
3033
3033
|
const deserializeAws_json1_1RevocationConfiguration = (output, context) => {
|
|
@@ -3042,8 +3042,8 @@ const deserializeAws_json1_1RevocationConfiguration = (output, context) => {
|
|
|
3042
3042
|
};
|
|
3043
3043
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
3044
3044
|
return {
|
|
3045
|
-
Key:
|
|
3046
|
-
Value:
|
|
3045
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
3046
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
3047
3047
|
};
|
|
3048
3048
|
};
|
|
3049
3049
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -3058,7 +3058,7 @@ const deserializeAws_json1_1TagList = (output, context) => {
|
|
|
3058
3058
|
};
|
|
3059
3059
|
const deserializeAws_json1_1TooManyTagsException = (output, context) => {
|
|
3060
3060
|
return {
|
|
3061
|
-
message:
|
|
3061
|
+
message: smithy_client_1.expectString(output.message),
|
|
3062
3062
|
};
|
|
3063
3063
|
};
|
|
3064
3064
|
const deserializeMetadata = (output) => {
|