@aws-sdk/client-rolesanywhere 3.750.0 → 3.772.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/dist-cjs/index.js +67 -69
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
CertificateField: () => CertificateField,
|
|
26
26
|
CreateProfileCommand: () => CreateProfileCommand,
|
|
@@ -76,7 +76,7 @@ __export(src_exports, {
|
|
|
76
76
|
paginateListSubjects: () => paginateListSubjects,
|
|
77
77
|
paginateListTrustAnchors: () => paginateListTrustAnchors
|
|
78
78
|
});
|
|
79
|
-
module.exports = __toCommonJS(
|
|
79
|
+
module.exports = __toCommonJS(index_exports);
|
|
80
80
|
|
|
81
81
|
// src/RolesAnywhereClient.ts
|
|
82
82
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -203,9 +203,9 @@ var RolesAnywhereClient = class extends import_smithy_client.Client {
|
|
|
203
203
|
this.middlewareStack.use(
|
|
204
204
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
205
205
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultRolesAnywhereHttpAuthSchemeParametersProvider,
|
|
206
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
206
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
207
207
|
"aws.auth#sigv4": config.credentials
|
|
208
|
-
})
|
|
208
|
+
}), "identityProviderConfigProvider")
|
|
209
209
|
})
|
|
210
210
|
);
|
|
211
211
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -298,10 +298,8 @@ var NotificationEvent = {
|
|
|
298
298
|
var SourceData;
|
|
299
299
|
((SourceData3) => {
|
|
300
300
|
SourceData3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
301
|
-
if (value.x509CertificateData !== void 0)
|
|
302
|
-
|
|
303
|
-
if (value.acmPcaArn !== void 0)
|
|
304
|
-
return visitor.acmPcaArn(value.acmPcaArn);
|
|
301
|
+
if (value.x509CertificateData !== void 0) return visitor.x509CertificateData(value.x509CertificateData);
|
|
302
|
+
if (value.acmPcaArn !== void 0) return visitor.acmPcaArn(value.acmPcaArn);
|
|
305
303
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
306
304
|
}, "visit");
|
|
307
305
|
})(SourceData || (SourceData = {}));
|
|
@@ -393,12 +391,12 @@ var se_CreateProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
393
391
|
acceptRoleSessionName: [],
|
|
394
392
|
durationSeconds: [],
|
|
395
393
|
enabled: [],
|
|
396
|
-
managedPolicyArns: (_) => (0, import_smithy_client._json)(_),
|
|
394
|
+
managedPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "managedPolicyArns"),
|
|
397
395
|
name: [],
|
|
398
396
|
requireInstanceProperties: [],
|
|
399
|
-
roleArns: (_) => (0, import_smithy_client._json)(_),
|
|
397
|
+
roleArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "roleArns"),
|
|
400
398
|
sessionPolicy: [],
|
|
401
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
399
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
402
400
|
})
|
|
403
401
|
);
|
|
404
402
|
b.m("POST").h(headers).b(body);
|
|
@@ -415,9 +413,9 @@ var se_CreateTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
415
413
|
(0, import_smithy_client.take)(input, {
|
|
416
414
|
enabled: [],
|
|
417
415
|
name: [],
|
|
418
|
-
notificationSettings: (_) => (0, import_smithy_client._json)(_),
|
|
419
|
-
source: (_) => (0, import_smithy_client._json)(_),
|
|
420
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
416
|
+
notificationSettings: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "notificationSettings"),
|
|
417
|
+
source: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "source"),
|
|
418
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
421
419
|
})
|
|
422
420
|
);
|
|
423
421
|
b.m("POST").h(headers).b(body);
|
|
@@ -562,10 +560,10 @@ var se_ImportCrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
562
560
|
let body;
|
|
563
561
|
body = JSON.stringify(
|
|
564
562
|
(0, import_smithy_client.take)(input, {
|
|
565
|
-
crlData: (_) => context.base64Encoder(_),
|
|
563
|
+
crlData: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "crlData"),
|
|
566
564
|
enabled: [],
|
|
567
565
|
name: [],
|
|
568
|
-
tags: (_) => (0, import_smithy_client._json)(_),
|
|
566
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
569
567
|
trustAnchorArn: []
|
|
570
568
|
})
|
|
571
569
|
);
|
|
@@ -642,7 +640,7 @@ var se_PutAttributeMappingCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
642
640
|
body = JSON.stringify(
|
|
643
641
|
(0, import_smithy_client.take)(input, {
|
|
644
642
|
certificateField: [],
|
|
645
|
-
mappingRules: (_) => (0, import_smithy_client._json)(_)
|
|
643
|
+
mappingRules: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "mappingRules")
|
|
646
644
|
})
|
|
647
645
|
);
|
|
648
646
|
b.m("PUT").h(headers).b(body);
|
|
@@ -657,7 +655,7 @@ var se_PutNotificationSettingsCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
657
655
|
let body;
|
|
658
656
|
body = JSON.stringify(
|
|
659
657
|
(0, import_smithy_client.take)(input, {
|
|
660
|
-
notificationSettings: (_) => (0, import_smithy_client._json)(_),
|
|
658
|
+
notificationSettings: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "notificationSettings"),
|
|
661
659
|
trustAnchorId: []
|
|
662
660
|
})
|
|
663
661
|
);
|
|
@@ -673,7 +671,7 @@ var se_ResetNotificationSettingsCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
673
671
|
let body;
|
|
674
672
|
body = JSON.stringify(
|
|
675
673
|
(0, import_smithy_client.take)(input, {
|
|
676
|
-
notificationSettingKeys: (_) => (0, import_smithy_client._json)(_),
|
|
674
|
+
notificationSettingKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "notificationSettingKeys"),
|
|
677
675
|
trustAnchorId: []
|
|
678
676
|
})
|
|
679
677
|
);
|
|
@@ -690,7 +688,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
690
688
|
body = JSON.stringify(
|
|
691
689
|
(0, import_smithy_client.take)(input, {
|
|
692
690
|
resourceArn: [],
|
|
693
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
691
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
694
692
|
})
|
|
695
693
|
);
|
|
696
694
|
b.m("POST").h(headers).b(body);
|
|
@@ -706,7 +704,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
706
704
|
body = JSON.stringify(
|
|
707
705
|
(0, import_smithy_client.take)(input, {
|
|
708
706
|
resourceArn: [],
|
|
709
|
-
tagKeys: (_) => (0, import_smithy_client._json)(_)
|
|
707
|
+
tagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tagKeys")
|
|
710
708
|
})
|
|
711
709
|
);
|
|
712
710
|
b.m("POST").h(headers).b(body);
|
|
@@ -722,7 +720,7 @@ var se_UpdateCrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
722
720
|
let body;
|
|
723
721
|
body = JSON.stringify(
|
|
724
722
|
(0, import_smithy_client.take)(input, {
|
|
725
|
-
crlData: (_) => context.base64Encoder(_),
|
|
723
|
+
crlData: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "crlData"),
|
|
726
724
|
name: []
|
|
727
725
|
})
|
|
728
726
|
);
|
|
@@ -741,9 +739,9 @@ var se_UpdateProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
741
739
|
(0, import_smithy_client.take)(input, {
|
|
742
740
|
acceptRoleSessionName: [],
|
|
743
741
|
durationSeconds: [],
|
|
744
|
-
managedPolicyArns: (_) => (0, import_smithy_client._json)(_),
|
|
742
|
+
managedPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "managedPolicyArns"),
|
|
745
743
|
name: [],
|
|
746
|
-
roleArns: (_) => (0, import_smithy_client._json)(_),
|
|
744
|
+
roleArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "roleArns"),
|
|
747
745
|
sessionPolicy: []
|
|
748
746
|
})
|
|
749
747
|
);
|
|
@@ -761,7 +759,7 @@ var se_UpdateTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
761
759
|
body = JSON.stringify(
|
|
762
760
|
(0, import_smithy_client.take)(input, {
|
|
763
761
|
name: [],
|
|
764
|
-
source: (_) => (0, import_smithy_client._json)(_)
|
|
762
|
+
source: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "source")
|
|
765
763
|
})
|
|
766
764
|
);
|
|
767
765
|
b.m("PATCH").h(headers).b(body);
|
|
@@ -776,7 +774,7 @@ var de_CreateProfileCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
776
774
|
});
|
|
777
775
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
778
776
|
const doc = (0, import_smithy_client.take)(data, {
|
|
779
|
-
profile: (_) => de_ProfileDetail(_, context)
|
|
777
|
+
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
780
778
|
});
|
|
781
779
|
Object.assign(contents, doc);
|
|
782
780
|
return contents;
|
|
@@ -790,7 +788,7 @@ var de_CreateTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
790
788
|
});
|
|
791
789
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
792
790
|
const doc = (0, import_smithy_client.take)(data, {
|
|
793
|
-
trustAnchor: (_) => de_TrustAnchorDetail(_, context)
|
|
791
|
+
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
794
792
|
});
|
|
795
793
|
Object.assign(contents, doc);
|
|
796
794
|
return contents;
|
|
@@ -804,7 +802,7 @@ var de_DeleteAttributeMappingCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
804
802
|
});
|
|
805
803
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
806
804
|
const doc = (0, import_smithy_client.take)(data, {
|
|
807
|
-
profile: (_) => de_ProfileDetail(_, context)
|
|
805
|
+
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
808
806
|
});
|
|
809
807
|
Object.assign(contents, doc);
|
|
810
808
|
return contents;
|
|
@@ -818,7 +816,7 @@ var de_DeleteCrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
818
816
|
});
|
|
819
817
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
820
818
|
const doc = (0, import_smithy_client.take)(data, {
|
|
821
|
-
crl: (_) => de_CrlDetail(_, context)
|
|
819
|
+
crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl")
|
|
822
820
|
});
|
|
823
821
|
Object.assign(contents, doc);
|
|
824
822
|
return contents;
|
|
@@ -832,7 +830,7 @@ var de_DeleteProfileCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
832
830
|
});
|
|
833
831
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
834
832
|
const doc = (0, import_smithy_client.take)(data, {
|
|
835
|
-
profile: (_) => de_ProfileDetail(_, context)
|
|
833
|
+
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
836
834
|
});
|
|
837
835
|
Object.assign(contents, doc);
|
|
838
836
|
return contents;
|
|
@@ -846,7 +844,7 @@ var de_DeleteTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
846
844
|
});
|
|
847
845
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
848
846
|
const doc = (0, import_smithy_client.take)(data, {
|
|
849
|
-
trustAnchor: (_) => de_TrustAnchorDetail(_, context)
|
|
847
|
+
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
850
848
|
});
|
|
851
849
|
Object.assign(contents, doc);
|
|
852
850
|
return contents;
|
|
@@ -860,7 +858,7 @@ var de_DisableCrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
860
858
|
});
|
|
861
859
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
862
860
|
const doc = (0, import_smithy_client.take)(data, {
|
|
863
|
-
crl: (_) => de_CrlDetail(_, context)
|
|
861
|
+
crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl")
|
|
864
862
|
});
|
|
865
863
|
Object.assign(contents, doc);
|
|
866
864
|
return contents;
|
|
@@ -874,7 +872,7 @@ var de_DisableProfileCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
874
872
|
});
|
|
875
873
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
876
874
|
const doc = (0, import_smithy_client.take)(data, {
|
|
877
|
-
profile: (_) => de_ProfileDetail(_, context)
|
|
875
|
+
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
878
876
|
});
|
|
879
877
|
Object.assign(contents, doc);
|
|
880
878
|
return contents;
|
|
@@ -888,7 +886,7 @@ var de_DisableTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
888
886
|
});
|
|
889
887
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
890
888
|
const doc = (0, import_smithy_client.take)(data, {
|
|
891
|
-
trustAnchor: (_) => de_TrustAnchorDetail(_, context)
|
|
889
|
+
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
892
890
|
});
|
|
893
891
|
Object.assign(contents, doc);
|
|
894
892
|
return contents;
|
|
@@ -902,7 +900,7 @@ var de_EnableCrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
902
900
|
});
|
|
903
901
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
904
902
|
const doc = (0, import_smithy_client.take)(data, {
|
|
905
|
-
crl: (_) => de_CrlDetail(_, context)
|
|
903
|
+
crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl")
|
|
906
904
|
});
|
|
907
905
|
Object.assign(contents, doc);
|
|
908
906
|
return contents;
|
|
@@ -916,7 +914,7 @@ var de_EnableProfileCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
916
914
|
});
|
|
917
915
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
918
916
|
const doc = (0, import_smithy_client.take)(data, {
|
|
919
|
-
profile: (_) => de_ProfileDetail(_, context)
|
|
917
|
+
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
920
918
|
});
|
|
921
919
|
Object.assign(contents, doc);
|
|
922
920
|
return contents;
|
|
@@ -930,7 +928,7 @@ var de_EnableTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
930
928
|
});
|
|
931
929
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
932
930
|
const doc = (0, import_smithy_client.take)(data, {
|
|
933
|
-
trustAnchor: (_) => de_TrustAnchorDetail(_, context)
|
|
931
|
+
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
934
932
|
});
|
|
935
933
|
Object.assign(contents, doc);
|
|
936
934
|
return contents;
|
|
@@ -944,7 +942,7 @@ var de_GetCrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
944
942
|
});
|
|
945
943
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
946
944
|
const doc = (0, import_smithy_client.take)(data, {
|
|
947
|
-
crl: (_) => de_CrlDetail(_, context)
|
|
945
|
+
crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl")
|
|
948
946
|
});
|
|
949
947
|
Object.assign(contents, doc);
|
|
950
948
|
return contents;
|
|
@@ -958,7 +956,7 @@ var de_GetProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
958
956
|
});
|
|
959
957
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
960
958
|
const doc = (0, import_smithy_client.take)(data, {
|
|
961
|
-
profile: (_) => de_ProfileDetail(_, context)
|
|
959
|
+
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
962
960
|
});
|
|
963
961
|
Object.assign(contents, doc);
|
|
964
962
|
return contents;
|
|
@@ -972,7 +970,7 @@ var de_GetSubjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
972
970
|
});
|
|
973
971
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
974
972
|
const doc = (0, import_smithy_client.take)(data, {
|
|
975
|
-
subject: (_) => de_SubjectDetail(_, context)
|
|
973
|
+
subject: /* @__PURE__ */ __name((_) => de_SubjectDetail(_, context), "subject")
|
|
976
974
|
});
|
|
977
975
|
Object.assign(contents, doc);
|
|
978
976
|
return contents;
|
|
@@ -986,7 +984,7 @@ var de_GetTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
986
984
|
});
|
|
987
985
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
988
986
|
const doc = (0, import_smithy_client.take)(data, {
|
|
989
|
-
trustAnchor: (_) => de_TrustAnchorDetail(_, context)
|
|
987
|
+
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
990
988
|
});
|
|
991
989
|
Object.assign(contents, doc);
|
|
992
990
|
return contents;
|
|
@@ -1000,7 +998,7 @@ var de_ImportCrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1000
998
|
});
|
|
1001
999
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1002
1000
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1003
|
-
crl: (_) => de_CrlDetail(_, context)
|
|
1001
|
+
crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl")
|
|
1004
1002
|
});
|
|
1005
1003
|
Object.assign(contents, doc);
|
|
1006
1004
|
return contents;
|
|
@@ -1014,7 +1012,7 @@ var de_ListCrlsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1014
1012
|
});
|
|
1015
1013
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1016
1014
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1017
|
-
crls: (_) => de_CrlDetails(_, context),
|
|
1015
|
+
crls: /* @__PURE__ */ __name((_) => de_CrlDetails(_, context), "crls"),
|
|
1018
1016
|
nextToken: import_smithy_client.expectString
|
|
1019
1017
|
});
|
|
1020
1018
|
Object.assign(contents, doc);
|
|
@@ -1030,7 +1028,7 @@ var de_ListProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1030
1028
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1031
1029
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1032
1030
|
nextToken: import_smithy_client.expectString,
|
|
1033
|
-
profiles: (_) => de_ProfileDetails(_, context)
|
|
1031
|
+
profiles: /* @__PURE__ */ __name((_) => de_ProfileDetails(_, context), "profiles")
|
|
1034
1032
|
});
|
|
1035
1033
|
Object.assign(contents, doc);
|
|
1036
1034
|
return contents;
|
|
@@ -1045,7 +1043,7 @@ var de_ListSubjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1045
1043
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1046
1044
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1047
1045
|
nextToken: import_smithy_client.expectString,
|
|
1048
|
-
subjects: (_) => de_SubjectSummaries(_, context)
|
|
1046
|
+
subjects: /* @__PURE__ */ __name((_) => de_SubjectSummaries(_, context), "subjects")
|
|
1049
1047
|
});
|
|
1050
1048
|
Object.assign(contents, doc);
|
|
1051
1049
|
return contents;
|
|
@@ -1074,7 +1072,7 @@ var de_ListTrustAnchorsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1074
1072
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1075
1073
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1076
1074
|
nextToken: import_smithy_client.expectString,
|
|
1077
|
-
trustAnchors: (_) => de_TrustAnchorDetails(_, context)
|
|
1075
|
+
trustAnchors: /* @__PURE__ */ __name((_) => de_TrustAnchorDetails(_, context), "trustAnchors")
|
|
1078
1076
|
});
|
|
1079
1077
|
Object.assign(contents, doc);
|
|
1080
1078
|
return contents;
|
|
@@ -1088,7 +1086,7 @@ var de_PutAttributeMappingCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1088
1086
|
});
|
|
1089
1087
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1090
1088
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1091
|
-
profile: (_) => de_ProfileDetail(_, context)
|
|
1089
|
+
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
1092
1090
|
});
|
|
1093
1091
|
Object.assign(contents, doc);
|
|
1094
1092
|
return contents;
|
|
@@ -1102,7 +1100,7 @@ var de_PutNotificationSettingsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1102
1100
|
});
|
|
1103
1101
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1104
1102
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1105
|
-
trustAnchor: (_) => de_TrustAnchorDetail(_, context)
|
|
1103
|
+
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
1106
1104
|
});
|
|
1107
1105
|
Object.assign(contents, doc);
|
|
1108
1106
|
return contents;
|
|
@@ -1116,7 +1114,7 @@ var de_ResetNotificationSettingsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1116
1114
|
});
|
|
1117
1115
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1118
1116
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1119
|
-
trustAnchor: (_) => de_TrustAnchorDetail(_, context)
|
|
1117
|
+
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
1120
1118
|
});
|
|
1121
1119
|
Object.assign(contents, doc);
|
|
1122
1120
|
return contents;
|
|
@@ -1150,7 +1148,7 @@ var de_UpdateCrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1150
1148
|
});
|
|
1151
1149
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1152
1150
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1153
|
-
crl: (_) => de_CrlDetail(_, context)
|
|
1151
|
+
crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl")
|
|
1154
1152
|
});
|
|
1155
1153
|
Object.assign(contents, doc);
|
|
1156
1154
|
return contents;
|
|
@@ -1164,7 +1162,7 @@ var de_UpdateProfileCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1164
1162
|
});
|
|
1165
1163
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1166
1164
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1167
|
-
profile: (_) => de_ProfileDetail(_, context)
|
|
1165
|
+
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
1168
1166
|
});
|
|
1169
1167
|
Object.assign(contents, doc);
|
|
1170
1168
|
return contents;
|
|
@@ -1178,7 +1176,7 @@ var de_UpdateTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1178
1176
|
});
|
|
1179
1177
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1180
1178
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1181
|
-
trustAnchor: (_) => de_TrustAnchorDetail(_, context)
|
|
1179
|
+
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
1182
1180
|
});
|
|
1183
1181
|
Object.assign(contents, doc);
|
|
1184
1182
|
return contents;
|
|
@@ -1275,21 +1273,21 @@ var de_CredentialSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1275
1273
|
enabled: import_smithy_client.expectBoolean,
|
|
1276
1274
|
failed: import_smithy_client.expectBoolean,
|
|
1277
1275
|
issuer: import_smithy_client.expectString,
|
|
1278
|
-
seenAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1276
|
+
seenAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "seenAt"),
|
|
1279
1277
|
serialNumber: import_smithy_client.expectString,
|
|
1280
1278
|
x509CertificateData: import_smithy_client.expectString
|
|
1281
1279
|
});
|
|
1282
1280
|
}, "de_CredentialSummary");
|
|
1283
1281
|
var de_CrlDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1284
1282
|
return (0, import_smithy_client.take)(output, {
|
|
1285
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1283
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1286
1284
|
crlArn: import_smithy_client.expectString,
|
|
1287
1285
|
crlData: context.base64Decoder,
|
|
1288
1286
|
crlId: import_smithy_client.expectString,
|
|
1289
1287
|
enabled: import_smithy_client.expectBoolean,
|
|
1290
1288
|
name: import_smithy_client.expectString,
|
|
1291
1289
|
trustAnchorArn: import_smithy_client.expectString,
|
|
1292
|
-
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1290
|
+
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
1293
1291
|
});
|
|
1294
1292
|
}, "de_CrlDetail");
|
|
1295
1293
|
var de_CrlDetails = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1308,14 +1306,14 @@ var de_InstanceProperty = /* @__PURE__ */ __name((output, context) => {
|
|
|
1308
1306
|
return (0, import_smithy_client.take)(output, {
|
|
1309
1307
|
failed: import_smithy_client.expectBoolean,
|
|
1310
1308
|
properties: import_smithy_client._json,
|
|
1311
|
-
seenAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1309
|
+
seenAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "seenAt")
|
|
1312
1310
|
});
|
|
1313
1311
|
}, "de_InstanceProperty");
|
|
1314
1312
|
var de_ProfileDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1315
1313
|
return (0, import_smithy_client.take)(output, {
|
|
1316
1314
|
acceptRoleSessionName: import_smithy_client.expectBoolean,
|
|
1317
1315
|
attributeMappings: import_smithy_client._json,
|
|
1318
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1316
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1319
1317
|
createdBy: import_smithy_client.expectString,
|
|
1320
1318
|
durationSeconds: import_smithy_client.expectInt32,
|
|
1321
1319
|
enabled: import_smithy_client.expectBoolean,
|
|
@@ -1326,7 +1324,7 @@ var de_ProfileDetail = /* @__PURE__ */ __name((output, context) => {
|
|
|
1326
1324
|
requireInstanceProperties: import_smithy_client.expectBoolean,
|
|
1327
1325
|
roleArns: import_smithy_client._json,
|
|
1328
1326
|
sessionPolicy: import_smithy_client.expectString,
|
|
1329
|
-
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1327
|
+
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
1330
1328
|
});
|
|
1331
1329
|
}, "de_ProfileDetail");
|
|
1332
1330
|
var de_ProfileDetails = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1337,14 +1335,14 @@ var de_ProfileDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
1337
1335
|
}, "de_ProfileDetails");
|
|
1338
1336
|
var de_SubjectDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1339
1337
|
return (0, import_smithy_client.take)(output, {
|
|
1340
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1341
|
-
credentials: (_) => de_CredentialSummaries(_, context),
|
|
1338
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1339
|
+
credentials: /* @__PURE__ */ __name((_) => de_CredentialSummaries(_, context), "credentials"),
|
|
1342
1340
|
enabled: import_smithy_client.expectBoolean,
|
|
1343
|
-
instanceProperties: (_) => de_InstanceProperties(_, context),
|
|
1344
|
-
lastSeenAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1341
|
+
instanceProperties: /* @__PURE__ */ __name((_) => de_InstanceProperties(_, context), "instanceProperties"),
|
|
1342
|
+
lastSeenAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastSeenAt"),
|
|
1345
1343
|
subjectArn: import_smithy_client.expectString,
|
|
1346
1344
|
subjectId: import_smithy_client.expectString,
|
|
1347
|
-
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1345
|
+
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
|
|
1348
1346
|
x509Subject: import_smithy_client.expectString
|
|
1349
1347
|
});
|
|
1350
1348
|
}, "de_SubjectDetail");
|
|
@@ -1356,25 +1354,25 @@ var de_SubjectSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
|
1356
1354
|
}, "de_SubjectSummaries");
|
|
1357
1355
|
var de_SubjectSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1358
1356
|
return (0, import_smithy_client.take)(output, {
|
|
1359
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1357
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1360
1358
|
enabled: import_smithy_client.expectBoolean,
|
|
1361
|
-
lastSeenAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1359
|
+
lastSeenAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastSeenAt"),
|
|
1362
1360
|
subjectArn: import_smithy_client.expectString,
|
|
1363
1361
|
subjectId: import_smithy_client.expectString,
|
|
1364
|
-
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1362
|
+
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
|
|
1365
1363
|
x509Subject: import_smithy_client.expectString
|
|
1366
1364
|
});
|
|
1367
1365
|
}, "de_SubjectSummary");
|
|
1368
1366
|
var de_TrustAnchorDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1369
1367
|
return (0, import_smithy_client.take)(output, {
|
|
1370
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1368
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1371
1369
|
enabled: import_smithy_client.expectBoolean,
|
|
1372
1370
|
name: import_smithy_client.expectString,
|
|
1373
1371
|
notificationSettings: import_smithy_client._json,
|
|
1374
1372
|
source: import_smithy_client._json,
|
|
1375
1373
|
trustAnchorArn: import_smithy_client.expectString,
|
|
1376
1374
|
trustAnchorId: import_smithy_client.expectString,
|
|
1377
|
-
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1375
|
+
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
1378
1376
|
});
|
|
1379
1377
|
}, "de_TrustAnchorDetail");
|
|
1380
1378
|
var de_TrustAnchorDetails = /* @__PURE__ */ __name((output, context) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rolesanywhere",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rolesanywhere Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.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-rolesanywhere",
|
|
@@ -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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|