@aws-sdk/client-arc-zonal-shift 3.1076.0 → 3.1078.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 +26 -155
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CancelPracticeRunCommand.js +2 -14
- package/dist-es/commands/CancelZonalShiftCommand.js +2 -14
- package/dist-es/commands/CreatePracticeRunConfigurationCommand.js +2 -14
- package/dist-es/commands/DeletePracticeRunConfigurationCommand.js +2 -14
- package/dist-es/commands/GetAutoshiftObserverNotificationStatusCommand.js +2 -14
- package/dist-es/commands/GetManagedResourceCommand.js +2 -14
- package/dist-es/commands/ListAutoshiftsCommand.js +2 -14
- package/dist-es/commands/ListManagedResourcesCommand.js +2 -14
- package/dist-es/commands/ListZonalShiftsCommand.js +2 -14
- package/dist-es/commands/StartPracticeRunCommand.js +2 -14
- package/dist-es/commands/StartZonalShiftCommand.js +2 -14
- package/dist-es/commands/UpdateAutoshiftObserverNotificationStatusCommand.js +2 -14
- package/dist-es/commands/UpdatePracticeRunConfigurationCommand.js +2 -14
- package/dist-es/commands/UpdateZonalAutoshiftConfigurationCommand.js +2 -14
- package/dist-es/commands/UpdateZonalShiftCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CancelPracticeRunCommand.d.ts +3 -8
- package/dist-types/commands/CancelZonalShiftCommand.d.ts +3 -8
- package/dist-types/commands/CreatePracticeRunConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DeletePracticeRunConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/GetAutoshiftObserverNotificationStatusCommand.d.ts +3 -8
- package/dist-types/commands/GetManagedResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListAutoshiftsCommand.d.ts +3 -8
- package/dist-types/commands/ListManagedResourcesCommand.d.ts +3 -8
- package/dist-types/commands/ListZonalShiftsCommand.d.ts +3 -8
- package/dist-types/commands/StartPracticeRunCommand.d.ts +3 -8
- package/dist-types/commands/StartZonalShiftCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAutoshiftObserverNotificationStatusCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePracticeRunConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/UpdateZonalAutoshiftConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/UpdateZonalShiftCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CancelPracticeRunCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CancelZonalShiftCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePracticeRunConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePracticeRunConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAutoshiftObserverNotificationStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetManagedResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAutoshiftsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListManagedResourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListZonalShiftsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartPracticeRunCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartZonalShiftCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAutoshiftObserverNotificationStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePracticeRunConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateZonalAutoshiftConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateZonalShiftCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultARCZonalShiftHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -630,6 +632,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
630
632
|
serviceTarget: "PercDataPlane",
|
|
631
633
|
},
|
|
632
634
|
serviceId: config?.serviceId ?? "ARC Zonal Shift",
|
|
635
|
+
sha256: config?.sha256 ?? Sha256,
|
|
633
636
|
urlParser: config?.urlParser ?? parseUrl,
|
|
634
637
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
635
638
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -663,7 +666,6 @@ const getRuntimeConfig = (config) => {
|
|
|
663
666
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
664
667
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
665
668
|
}, config),
|
|
666
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
667
669
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
668
670
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
669
671
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -751,184 +753,53 @@ class ARCZonalShiftClient extends Client {
|
|
|
751
753
|
}
|
|
752
754
|
}
|
|
753
755
|
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
})
|
|
760
|
-
.s("PercDataPlane", "CancelPracticeRun", {})
|
|
761
|
-
.n("ARCZonalShiftClient", "CancelPracticeRunCommand")
|
|
762
|
-
.sc(CancelPracticeRun$)
|
|
763
|
-
.build() {
|
|
756
|
+
const command = makeBuilder(commonParams, "PercDataPlane", "ARCZonalShiftClient", getEndpointPlugin);
|
|
757
|
+
const _ep0 = {};
|
|
758
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
759
|
+
|
|
760
|
+
class CancelPracticeRunCommand extends command(_ep0, _mw0, "CancelPracticeRun", CancelPracticeRun$) {
|
|
764
761
|
}
|
|
765
762
|
|
|
766
|
-
class CancelZonalShiftCommand extends
|
|
767
|
-
.classBuilder()
|
|
768
|
-
.ep(commonParams)
|
|
769
|
-
.m(function (Command, cs, config, o) {
|
|
770
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
771
|
-
})
|
|
772
|
-
.s("PercDataPlane", "CancelZonalShift", {})
|
|
773
|
-
.n("ARCZonalShiftClient", "CancelZonalShiftCommand")
|
|
774
|
-
.sc(CancelZonalShift$)
|
|
775
|
-
.build() {
|
|
763
|
+
class CancelZonalShiftCommand extends command(_ep0, _mw0, "CancelZonalShift", CancelZonalShift$) {
|
|
776
764
|
}
|
|
777
765
|
|
|
778
|
-
class CreatePracticeRunConfigurationCommand extends
|
|
779
|
-
.classBuilder()
|
|
780
|
-
.ep(commonParams)
|
|
781
|
-
.m(function (Command, cs, config, o) {
|
|
782
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
783
|
-
})
|
|
784
|
-
.s("PercDataPlane", "CreatePracticeRunConfiguration", {})
|
|
785
|
-
.n("ARCZonalShiftClient", "CreatePracticeRunConfigurationCommand")
|
|
786
|
-
.sc(CreatePracticeRunConfiguration$)
|
|
787
|
-
.build() {
|
|
766
|
+
class CreatePracticeRunConfigurationCommand extends command(_ep0, _mw0, "CreatePracticeRunConfiguration", CreatePracticeRunConfiguration$) {
|
|
788
767
|
}
|
|
789
768
|
|
|
790
|
-
class DeletePracticeRunConfigurationCommand extends
|
|
791
|
-
.classBuilder()
|
|
792
|
-
.ep(commonParams)
|
|
793
|
-
.m(function (Command, cs, config, o) {
|
|
794
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
795
|
-
})
|
|
796
|
-
.s("PercDataPlane", "DeletePracticeRunConfiguration", {})
|
|
797
|
-
.n("ARCZonalShiftClient", "DeletePracticeRunConfigurationCommand")
|
|
798
|
-
.sc(DeletePracticeRunConfiguration$)
|
|
799
|
-
.build() {
|
|
769
|
+
class DeletePracticeRunConfigurationCommand extends command(_ep0, _mw0, "DeletePracticeRunConfiguration", DeletePracticeRunConfiguration$) {
|
|
800
770
|
}
|
|
801
771
|
|
|
802
|
-
class GetAutoshiftObserverNotificationStatusCommand extends
|
|
803
|
-
.classBuilder()
|
|
804
|
-
.ep(commonParams)
|
|
805
|
-
.m(function (Command, cs, config, o) {
|
|
806
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
807
|
-
})
|
|
808
|
-
.s("PercDataPlane", "GetAutoshiftObserverNotificationStatus", {})
|
|
809
|
-
.n("ARCZonalShiftClient", "GetAutoshiftObserverNotificationStatusCommand")
|
|
810
|
-
.sc(GetAutoshiftObserverNotificationStatus$)
|
|
811
|
-
.build() {
|
|
772
|
+
class GetAutoshiftObserverNotificationStatusCommand extends command(_ep0, _mw0, "GetAutoshiftObserverNotificationStatus", GetAutoshiftObserverNotificationStatus$) {
|
|
812
773
|
}
|
|
813
774
|
|
|
814
|
-
class GetManagedResourceCommand extends
|
|
815
|
-
.classBuilder()
|
|
816
|
-
.ep(commonParams)
|
|
817
|
-
.m(function (Command, cs, config, o) {
|
|
818
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
819
|
-
})
|
|
820
|
-
.s("PercDataPlane", "GetManagedResource", {})
|
|
821
|
-
.n("ARCZonalShiftClient", "GetManagedResourceCommand")
|
|
822
|
-
.sc(GetManagedResource$)
|
|
823
|
-
.build() {
|
|
775
|
+
class GetManagedResourceCommand extends command(_ep0, _mw0, "GetManagedResource", GetManagedResource$) {
|
|
824
776
|
}
|
|
825
777
|
|
|
826
|
-
class ListAutoshiftsCommand extends
|
|
827
|
-
.classBuilder()
|
|
828
|
-
.ep(commonParams)
|
|
829
|
-
.m(function (Command, cs, config, o) {
|
|
830
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
831
|
-
})
|
|
832
|
-
.s("PercDataPlane", "ListAutoshifts", {})
|
|
833
|
-
.n("ARCZonalShiftClient", "ListAutoshiftsCommand")
|
|
834
|
-
.sc(ListAutoshifts$)
|
|
835
|
-
.build() {
|
|
778
|
+
class ListAutoshiftsCommand extends command(_ep0, _mw0, "ListAutoshifts", ListAutoshifts$) {
|
|
836
779
|
}
|
|
837
780
|
|
|
838
|
-
class ListManagedResourcesCommand extends
|
|
839
|
-
.classBuilder()
|
|
840
|
-
.ep(commonParams)
|
|
841
|
-
.m(function (Command, cs, config, o) {
|
|
842
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
843
|
-
})
|
|
844
|
-
.s("PercDataPlane", "ListManagedResources", {})
|
|
845
|
-
.n("ARCZonalShiftClient", "ListManagedResourcesCommand")
|
|
846
|
-
.sc(ListManagedResources$)
|
|
847
|
-
.build() {
|
|
781
|
+
class ListManagedResourcesCommand extends command(_ep0, _mw0, "ListManagedResources", ListManagedResources$) {
|
|
848
782
|
}
|
|
849
783
|
|
|
850
|
-
class ListZonalShiftsCommand extends
|
|
851
|
-
.classBuilder()
|
|
852
|
-
.ep(commonParams)
|
|
853
|
-
.m(function (Command, cs, config, o) {
|
|
854
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
855
|
-
})
|
|
856
|
-
.s("PercDataPlane", "ListZonalShifts", {})
|
|
857
|
-
.n("ARCZonalShiftClient", "ListZonalShiftsCommand")
|
|
858
|
-
.sc(ListZonalShifts$)
|
|
859
|
-
.build() {
|
|
784
|
+
class ListZonalShiftsCommand extends command(_ep0, _mw0, "ListZonalShifts", ListZonalShifts$) {
|
|
860
785
|
}
|
|
861
786
|
|
|
862
|
-
class StartPracticeRunCommand extends
|
|
863
|
-
.classBuilder()
|
|
864
|
-
.ep(commonParams)
|
|
865
|
-
.m(function (Command, cs, config, o) {
|
|
866
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
867
|
-
})
|
|
868
|
-
.s("PercDataPlane", "StartPracticeRun", {})
|
|
869
|
-
.n("ARCZonalShiftClient", "StartPracticeRunCommand")
|
|
870
|
-
.sc(StartPracticeRun$)
|
|
871
|
-
.build() {
|
|
787
|
+
class StartPracticeRunCommand extends command(_ep0, _mw0, "StartPracticeRun", StartPracticeRun$) {
|
|
872
788
|
}
|
|
873
789
|
|
|
874
|
-
class StartZonalShiftCommand extends
|
|
875
|
-
.classBuilder()
|
|
876
|
-
.ep(commonParams)
|
|
877
|
-
.m(function (Command, cs, config, o) {
|
|
878
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
879
|
-
})
|
|
880
|
-
.s("PercDataPlane", "StartZonalShift", {})
|
|
881
|
-
.n("ARCZonalShiftClient", "StartZonalShiftCommand")
|
|
882
|
-
.sc(StartZonalShift$)
|
|
883
|
-
.build() {
|
|
790
|
+
class StartZonalShiftCommand extends command(_ep0, _mw0, "StartZonalShift", StartZonalShift$) {
|
|
884
791
|
}
|
|
885
792
|
|
|
886
|
-
class UpdateAutoshiftObserverNotificationStatusCommand extends
|
|
887
|
-
.classBuilder()
|
|
888
|
-
.ep(commonParams)
|
|
889
|
-
.m(function (Command, cs, config, o) {
|
|
890
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
891
|
-
})
|
|
892
|
-
.s("PercDataPlane", "UpdateAutoshiftObserverNotificationStatus", {})
|
|
893
|
-
.n("ARCZonalShiftClient", "UpdateAutoshiftObserverNotificationStatusCommand")
|
|
894
|
-
.sc(UpdateAutoshiftObserverNotificationStatus$)
|
|
895
|
-
.build() {
|
|
793
|
+
class UpdateAutoshiftObserverNotificationStatusCommand extends command(_ep0, _mw0, "UpdateAutoshiftObserverNotificationStatus", UpdateAutoshiftObserverNotificationStatus$) {
|
|
896
794
|
}
|
|
897
795
|
|
|
898
|
-
class UpdatePracticeRunConfigurationCommand extends
|
|
899
|
-
.classBuilder()
|
|
900
|
-
.ep(commonParams)
|
|
901
|
-
.m(function (Command, cs, config, o) {
|
|
902
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
903
|
-
})
|
|
904
|
-
.s("PercDataPlane", "UpdatePracticeRunConfiguration", {})
|
|
905
|
-
.n("ARCZonalShiftClient", "UpdatePracticeRunConfigurationCommand")
|
|
906
|
-
.sc(UpdatePracticeRunConfiguration$)
|
|
907
|
-
.build() {
|
|
796
|
+
class UpdatePracticeRunConfigurationCommand extends command(_ep0, _mw0, "UpdatePracticeRunConfiguration", UpdatePracticeRunConfiguration$) {
|
|
908
797
|
}
|
|
909
798
|
|
|
910
|
-
class UpdateZonalAutoshiftConfigurationCommand extends
|
|
911
|
-
.classBuilder()
|
|
912
|
-
.ep(commonParams)
|
|
913
|
-
.m(function (Command, cs, config, o) {
|
|
914
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
915
|
-
})
|
|
916
|
-
.s("PercDataPlane", "UpdateZonalAutoshiftConfiguration", {})
|
|
917
|
-
.n("ARCZonalShiftClient", "UpdateZonalAutoshiftConfigurationCommand")
|
|
918
|
-
.sc(UpdateZonalAutoshiftConfiguration$)
|
|
919
|
-
.build() {
|
|
799
|
+
class UpdateZonalAutoshiftConfigurationCommand extends command(_ep0, _mw0, "UpdateZonalAutoshiftConfiguration", UpdateZonalAutoshiftConfiguration$) {
|
|
920
800
|
}
|
|
921
801
|
|
|
922
|
-
class UpdateZonalShiftCommand extends
|
|
923
|
-
.classBuilder()
|
|
924
|
-
.ep(commonParams)
|
|
925
|
-
.m(function (Command, cs, config, o) {
|
|
926
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
927
|
-
})
|
|
928
|
-
.s("PercDataPlane", "UpdateZonalShift", {})
|
|
929
|
-
.n("ARCZonalShiftClient", "UpdateZonalShiftCommand")
|
|
930
|
-
.sc(UpdateZonalShift$)
|
|
931
|
-
.build() {
|
|
802
|
+
class UpdateZonalShiftCommand extends command(_ep0, _mw0, "UpdateZonalShift", UpdateZonalShift$) {
|
|
932
803
|
}
|
|
933
804
|
|
|
934
805
|
const paginateListAutoshifts = createPaginator(ARCZonalShiftClient, ListAutoshiftsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "PercDataPlane", "ARCZonalShiftClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CancelPracticeRun$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CancelPracticeRunCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "CancelPracticeRun", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "CancelPracticeRunCommand")
|
|
14
|
-
.sc(CancelPracticeRun$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CancelPracticeRunCommand extends command(_ep0, _mw0, "CancelPracticeRun", CancelPracticeRun$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CancelZonalShift$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CancelZonalShiftCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "CancelZonalShift", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "CancelZonalShiftCommand")
|
|
14
|
-
.sc(CancelZonalShift$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CancelZonalShiftCommand extends command(_ep0, _mw0, "CancelZonalShift", CancelZonalShift$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreatePracticeRunConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreatePracticeRunConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "CreatePracticeRunConfiguration", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "CreatePracticeRunConfigurationCommand")
|
|
14
|
-
.sc(CreatePracticeRunConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreatePracticeRunConfigurationCommand extends command(_ep0, _mw0, "CreatePracticeRunConfiguration", CreatePracticeRunConfiguration$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeletePracticeRunConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeletePracticeRunConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "DeletePracticeRunConfiguration", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "DeletePracticeRunConfigurationCommand")
|
|
14
|
-
.sc(DeletePracticeRunConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeletePracticeRunConfigurationCommand extends command(_ep0, _mw0, "DeletePracticeRunConfiguration", DeletePracticeRunConfiguration$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetAutoshiftObserverNotificationStatus$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetAutoshiftObserverNotificationStatusCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "GetAutoshiftObserverNotificationStatus", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "GetAutoshiftObserverNotificationStatusCommand")
|
|
14
|
-
.sc(GetAutoshiftObserverNotificationStatus$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetAutoshiftObserverNotificationStatusCommand extends command(_ep0, _mw0, "GetAutoshiftObserverNotificationStatus", GetAutoshiftObserverNotificationStatus$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetManagedResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetManagedResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "GetManagedResource", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "GetManagedResourceCommand")
|
|
14
|
-
.sc(GetManagedResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetManagedResourceCommand extends command(_ep0, _mw0, "GetManagedResource", GetManagedResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListAutoshifts$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListAutoshiftsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "ListAutoshifts", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "ListAutoshiftsCommand")
|
|
14
|
-
.sc(ListAutoshifts$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListAutoshiftsCommand extends command(_ep0, _mw0, "ListAutoshifts", ListAutoshifts$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListManagedResources$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListManagedResourcesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "ListManagedResources", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "ListManagedResourcesCommand")
|
|
14
|
-
.sc(ListManagedResources$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListManagedResourcesCommand extends command(_ep0, _mw0, "ListManagedResources", ListManagedResources$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListZonalShifts$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListZonalShiftsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "ListZonalShifts", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "ListZonalShiftsCommand")
|
|
14
|
-
.sc(ListZonalShifts$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListZonalShiftsCommand extends command(_ep0, _mw0, "ListZonalShifts", ListZonalShifts$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartPracticeRun$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartPracticeRunCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "StartPracticeRun", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "StartPracticeRunCommand")
|
|
14
|
-
.sc(StartPracticeRun$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartPracticeRunCommand extends command(_ep0, _mw0, "StartPracticeRun", StartPracticeRun$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartZonalShift$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartZonalShiftCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "StartZonalShift", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "StartZonalShiftCommand")
|
|
14
|
-
.sc(StartZonalShift$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartZonalShiftCommand extends command(_ep0, _mw0, "StartZonalShift", StartZonalShift$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateAutoshiftObserverNotificationStatus$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateAutoshiftObserverNotificationStatusCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "UpdateAutoshiftObserverNotificationStatus", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "UpdateAutoshiftObserverNotificationStatusCommand")
|
|
14
|
-
.sc(UpdateAutoshiftObserverNotificationStatus$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateAutoshiftObserverNotificationStatusCommand extends command(_ep0, _mw0, "UpdateAutoshiftObserverNotificationStatus", UpdateAutoshiftObserverNotificationStatus$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdatePracticeRunConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePracticeRunConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "UpdatePracticeRunConfiguration", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "UpdatePracticeRunConfigurationCommand")
|
|
14
|
-
.sc(UpdatePracticeRunConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePracticeRunConfigurationCommand extends command(_ep0, _mw0, "UpdatePracticeRunConfiguration", UpdatePracticeRunConfiguration$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateZonalAutoshiftConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateZonalAutoshiftConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "UpdateZonalAutoshiftConfiguration", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "UpdateZonalAutoshiftConfigurationCommand")
|
|
14
|
-
.sc(UpdateZonalAutoshiftConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateZonalAutoshiftConfigurationCommand extends command(_ep0, _mw0, "UpdateZonalAutoshiftConfiguration", UpdateZonalAutoshiftConfiguration$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateZonalShift$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateZonalShiftCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PercDataPlane", "UpdateZonalShift", {})
|
|
13
|
-
.n("ARCZonalShiftClient", "UpdateZonalShiftCommand")
|
|
14
|
-
.sc(UpdateZonalShift$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateZonalShiftCommand extends command(_ep0, _mw0, "UpdateZonalShift", UpdateZonalShift$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./ARCZonalShiftClient";
|
|
2
2
|
export * from "./ARCZonalShift";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "PercDataPlane",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "ARC Zonal Shift",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|