@aws-sdk/client-route53profiles 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 +27 -165
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateProfileCommand.js +2 -14
- package/dist-es/commands/AssociateResourceToProfileCommand.js +2 -14
- package/dist-es/commands/CreateProfileCommand.js +2 -14
- package/dist-es/commands/DeleteProfileCommand.js +2 -14
- package/dist-es/commands/DisassociateProfileCommand.js +2 -14
- package/dist-es/commands/DisassociateResourceFromProfileCommand.js +2 -14
- package/dist-es/commands/GetProfileAssociationCommand.js +2 -14
- package/dist-es/commands/GetProfileCommand.js +2 -14
- package/dist-es/commands/GetProfileResourceAssociationCommand.js +2 -14
- package/dist-es/commands/ListProfileAssociationsCommand.js +2 -14
- package/dist-es/commands/ListProfileResourceAssociationsCommand.js +2 -14
- package/dist-es/commands/ListProfilesCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateProfileResourceAssociationCommand.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/AssociateProfileCommand.d.ts +3 -8
- package/dist-types/commands/AssociateResourceToProfileCommand.d.ts +3 -8
- package/dist-types/commands/CreateProfileCommand.d.ts +3 -8
- package/dist-types/commands/DeleteProfileCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateProfileCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateResourceFromProfileCommand.d.ts +3 -8
- package/dist-types/commands/GetProfileAssociationCommand.d.ts +3 -8
- package/dist-types/commands/GetProfileCommand.d.ts +3 -8
- package/dist-types/commands/GetProfileResourceAssociationCommand.d.ts +3 -8
- package/dist-types/commands/ListProfileAssociationsCommand.d.ts +3 -8
- package/dist-types/commands/ListProfileResourceAssociationsCommand.d.ts +3 -8
- package/dist-types/commands/ListProfilesCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateProfileResourceAssociationCommand.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/AssociateProfileCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssociateResourceToProfileCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateProfileCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateResourceFromProfileCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetProfileAssociationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetProfileResourceAssociationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListProfileAssociationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListProfileResourceAssociationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateProfileResourceAssociationCommand.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 defaultRoute53ProfilesHttpAuthSchemeParametersProvider = 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
|
|
|
@@ -729,6 +731,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
729
731
|
serviceTarget: "Route53Profiles",
|
|
730
732
|
},
|
|
731
733
|
serviceId: config?.serviceId ?? "Route53Profiles",
|
|
734
|
+
sha256: config?.sha256 ?? Sha256,
|
|
732
735
|
urlParser: config?.urlParser ?? parseUrl,
|
|
733
736
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
734
737
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -762,7 +765,6 @@ const getRuntimeConfig = (config) => {
|
|
|
762
765
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
763
766
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
764
767
|
}, config),
|
|
765
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
766
768
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
767
769
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
768
770
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -850,196 +852,56 @@ class Route53ProfilesClient extends Client {
|
|
|
850
852
|
}
|
|
851
853
|
}
|
|
852
854
|
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
})
|
|
859
|
-
.s("Route53Profiles", "AssociateProfile", {})
|
|
860
|
-
.n("Route53ProfilesClient", "AssociateProfileCommand")
|
|
861
|
-
.sc(AssociateProfile$)
|
|
862
|
-
.build() {
|
|
855
|
+
const command = makeBuilder(commonParams, "Route53Profiles", "Route53ProfilesClient", getEndpointPlugin);
|
|
856
|
+
const _ep0 = {};
|
|
857
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
858
|
+
|
|
859
|
+
class AssociateProfileCommand extends command(_ep0, _mw0, "AssociateProfile", AssociateProfile$) {
|
|
863
860
|
}
|
|
864
861
|
|
|
865
|
-
class AssociateResourceToProfileCommand extends
|
|
866
|
-
.classBuilder()
|
|
867
|
-
.ep(commonParams)
|
|
868
|
-
.m(function (Command, cs, config, o) {
|
|
869
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
870
|
-
})
|
|
871
|
-
.s("Route53Profiles", "AssociateResourceToProfile", {})
|
|
872
|
-
.n("Route53ProfilesClient", "AssociateResourceToProfileCommand")
|
|
873
|
-
.sc(AssociateResourceToProfile$)
|
|
874
|
-
.build() {
|
|
862
|
+
class AssociateResourceToProfileCommand extends command(_ep0, _mw0, "AssociateResourceToProfile", AssociateResourceToProfile$) {
|
|
875
863
|
}
|
|
876
864
|
|
|
877
|
-
class CreateProfileCommand extends
|
|
878
|
-
.classBuilder()
|
|
879
|
-
.ep(commonParams)
|
|
880
|
-
.m(function (Command, cs, config, o) {
|
|
881
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
882
|
-
})
|
|
883
|
-
.s("Route53Profiles", "CreateProfile", {})
|
|
884
|
-
.n("Route53ProfilesClient", "CreateProfileCommand")
|
|
885
|
-
.sc(CreateProfile$)
|
|
886
|
-
.build() {
|
|
865
|
+
class CreateProfileCommand extends command(_ep0, _mw0, "CreateProfile", CreateProfile$) {
|
|
887
866
|
}
|
|
888
867
|
|
|
889
|
-
class DeleteProfileCommand extends
|
|
890
|
-
.classBuilder()
|
|
891
|
-
.ep(commonParams)
|
|
892
|
-
.m(function (Command, cs, config, o) {
|
|
893
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
894
|
-
})
|
|
895
|
-
.s("Route53Profiles", "DeleteProfile", {})
|
|
896
|
-
.n("Route53ProfilesClient", "DeleteProfileCommand")
|
|
897
|
-
.sc(DeleteProfile$)
|
|
898
|
-
.build() {
|
|
868
|
+
class DeleteProfileCommand extends command(_ep0, _mw0, "DeleteProfile", DeleteProfile$) {
|
|
899
869
|
}
|
|
900
870
|
|
|
901
|
-
class DisassociateProfileCommand extends
|
|
902
|
-
.classBuilder()
|
|
903
|
-
.ep(commonParams)
|
|
904
|
-
.m(function (Command, cs, config, o) {
|
|
905
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
906
|
-
})
|
|
907
|
-
.s("Route53Profiles", "DisassociateProfile", {})
|
|
908
|
-
.n("Route53ProfilesClient", "DisassociateProfileCommand")
|
|
909
|
-
.sc(DisassociateProfile$)
|
|
910
|
-
.build() {
|
|
871
|
+
class DisassociateProfileCommand extends command(_ep0, _mw0, "DisassociateProfile", DisassociateProfile$) {
|
|
911
872
|
}
|
|
912
873
|
|
|
913
|
-
class DisassociateResourceFromProfileCommand extends
|
|
914
|
-
.classBuilder()
|
|
915
|
-
.ep(commonParams)
|
|
916
|
-
.m(function (Command, cs, config, o) {
|
|
917
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
918
|
-
})
|
|
919
|
-
.s("Route53Profiles", "DisassociateResourceFromProfile", {})
|
|
920
|
-
.n("Route53ProfilesClient", "DisassociateResourceFromProfileCommand")
|
|
921
|
-
.sc(DisassociateResourceFromProfile$)
|
|
922
|
-
.build() {
|
|
874
|
+
class DisassociateResourceFromProfileCommand extends command(_ep0, _mw0, "DisassociateResourceFromProfile", DisassociateResourceFromProfile$) {
|
|
923
875
|
}
|
|
924
876
|
|
|
925
|
-
class GetProfileAssociationCommand extends
|
|
926
|
-
.classBuilder()
|
|
927
|
-
.ep(commonParams)
|
|
928
|
-
.m(function (Command, cs, config, o) {
|
|
929
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
930
|
-
})
|
|
931
|
-
.s("Route53Profiles", "GetProfileAssociation", {})
|
|
932
|
-
.n("Route53ProfilesClient", "GetProfileAssociationCommand")
|
|
933
|
-
.sc(GetProfileAssociation$)
|
|
934
|
-
.build() {
|
|
877
|
+
class GetProfileAssociationCommand extends command(_ep0, _mw0, "GetProfileAssociation", GetProfileAssociation$) {
|
|
935
878
|
}
|
|
936
879
|
|
|
937
|
-
class GetProfileCommand extends
|
|
938
|
-
.classBuilder()
|
|
939
|
-
.ep(commonParams)
|
|
940
|
-
.m(function (Command, cs, config, o) {
|
|
941
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
942
|
-
})
|
|
943
|
-
.s("Route53Profiles", "GetProfile", {})
|
|
944
|
-
.n("Route53ProfilesClient", "GetProfileCommand")
|
|
945
|
-
.sc(GetProfile$)
|
|
946
|
-
.build() {
|
|
880
|
+
class GetProfileCommand extends command(_ep0, _mw0, "GetProfile", GetProfile$) {
|
|
947
881
|
}
|
|
948
882
|
|
|
949
|
-
class GetProfileResourceAssociationCommand extends
|
|
950
|
-
.classBuilder()
|
|
951
|
-
.ep(commonParams)
|
|
952
|
-
.m(function (Command, cs, config, o) {
|
|
953
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
954
|
-
})
|
|
955
|
-
.s("Route53Profiles", "GetProfileResourceAssociation", {})
|
|
956
|
-
.n("Route53ProfilesClient", "GetProfileResourceAssociationCommand")
|
|
957
|
-
.sc(GetProfileResourceAssociation$)
|
|
958
|
-
.build() {
|
|
883
|
+
class GetProfileResourceAssociationCommand extends command(_ep0, _mw0, "GetProfileResourceAssociation", GetProfileResourceAssociation$) {
|
|
959
884
|
}
|
|
960
885
|
|
|
961
|
-
class ListProfileAssociationsCommand extends
|
|
962
|
-
.classBuilder()
|
|
963
|
-
.ep(commonParams)
|
|
964
|
-
.m(function (Command, cs, config, o) {
|
|
965
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
966
|
-
})
|
|
967
|
-
.s("Route53Profiles", "ListProfileAssociations", {})
|
|
968
|
-
.n("Route53ProfilesClient", "ListProfileAssociationsCommand")
|
|
969
|
-
.sc(ListProfileAssociations$)
|
|
970
|
-
.build() {
|
|
886
|
+
class ListProfileAssociationsCommand extends command(_ep0, _mw0, "ListProfileAssociations", ListProfileAssociations$) {
|
|
971
887
|
}
|
|
972
888
|
|
|
973
|
-
class ListProfileResourceAssociationsCommand extends
|
|
974
|
-
.classBuilder()
|
|
975
|
-
.ep(commonParams)
|
|
976
|
-
.m(function (Command, cs, config, o) {
|
|
977
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
978
|
-
})
|
|
979
|
-
.s("Route53Profiles", "ListProfileResourceAssociations", {})
|
|
980
|
-
.n("Route53ProfilesClient", "ListProfileResourceAssociationsCommand")
|
|
981
|
-
.sc(ListProfileResourceAssociations$)
|
|
982
|
-
.build() {
|
|
889
|
+
class ListProfileResourceAssociationsCommand extends command(_ep0, _mw0, "ListProfileResourceAssociations", ListProfileResourceAssociations$) {
|
|
983
890
|
}
|
|
984
891
|
|
|
985
|
-
class ListProfilesCommand extends
|
|
986
|
-
.classBuilder()
|
|
987
|
-
.ep(commonParams)
|
|
988
|
-
.m(function (Command, cs, config, o) {
|
|
989
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
990
|
-
})
|
|
991
|
-
.s("Route53Profiles", "ListProfiles", {})
|
|
992
|
-
.n("Route53ProfilesClient", "ListProfilesCommand")
|
|
993
|
-
.sc(ListProfiles$)
|
|
994
|
-
.build() {
|
|
892
|
+
class ListProfilesCommand extends command(_ep0, _mw0, "ListProfiles", ListProfiles$) {
|
|
995
893
|
}
|
|
996
894
|
|
|
997
|
-
class ListTagsForResourceCommand extends
|
|
998
|
-
.classBuilder()
|
|
999
|
-
.ep(commonParams)
|
|
1000
|
-
.m(function (Command, cs, config, o) {
|
|
1001
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1002
|
-
})
|
|
1003
|
-
.s("Route53Profiles", "ListTagsForResource", {})
|
|
1004
|
-
.n("Route53ProfilesClient", "ListTagsForResourceCommand")
|
|
1005
|
-
.sc(ListTagsForResource$)
|
|
1006
|
-
.build() {
|
|
895
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1007
896
|
}
|
|
1008
897
|
|
|
1009
|
-
class TagResourceCommand extends
|
|
1010
|
-
.classBuilder()
|
|
1011
|
-
.ep(commonParams)
|
|
1012
|
-
.m(function (Command, cs, config, o) {
|
|
1013
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1014
|
-
})
|
|
1015
|
-
.s("Route53Profiles", "TagResource", {})
|
|
1016
|
-
.n("Route53ProfilesClient", "TagResourceCommand")
|
|
1017
|
-
.sc(TagResource$)
|
|
1018
|
-
.build() {
|
|
898
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1019
899
|
}
|
|
1020
900
|
|
|
1021
|
-
class UntagResourceCommand extends
|
|
1022
|
-
.classBuilder()
|
|
1023
|
-
.ep(commonParams)
|
|
1024
|
-
.m(function (Command, cs, config, o) {
|
|
1025
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1026
|
-
})
|
|
1027
|
-
.s("Route53Profiles", "UntagResource", {})
|
|
1028
|
-
.n("Route53ProfilesClient", "UntagResourceCommand")
|
|
1029
|
-
.sc(UntagResource$)
|
|
1030
|
-
.build() {
|
|
901
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1031
902
|
}
|
|
1032
903
|
|
|
1033
|
-
class UpdateProfileResourceAssociationCommand extends
|
|
1034
|
-
.classBuilder()
|
|
1035
|
-
.ep(commonParams)
|
|
1036
|
-
.m(function (Command, cs, config, o) {
|
|
1037
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1038
|
-
})
|
|
1039
|
-
.s("Route53Profiles", "UpdateProfileResourceAssociation", {})
|
|
1040
|
-
.n("Route53ProfilesClient", "UpdateProfileResourceAssociationCommand")
|
|
1041
|
-
.sc(UpdateProfileResourceAssociation$)
|
|
1042
|
-
.build() {
|
|
904
|
+
class UpdateProfileResourceAssociationCommand extends command(_ep0, _mw0, "UpdateProfileResourceAssociation", UpdateProfileResourceAssociation$) {
|
|
1043
905
|
}
|
|
1044
906
|
|
|
1045
907
|
const paginateListProfileAssociations = createPaginator(Route53ProfilesClient, ListProfileAssociationsCommand, "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, "Route53Profiles", "Route53ProfilesClient", 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 { AssociateProfile$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AssociateProfileCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "AssociateProfile", {})
|
|
13
|
-
.n("Route53ProfilesClient", "AssociateProfileCommand")
|
|
14
|
-
.sc(AssociateProfile$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AssociateProfileCommand extends command(_ep0, _mw0, "AssociateProfile", AssociateProfile$) {
|
|
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 { AssociateResourceToProfile$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AssociateResourceToProfileCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "AssociateResourceToProfile", {})
|
|
13
|
-
.n("Route53ProfilesClient", "AssociateResourceToProfileCommand")
|
|
14
|
-
.sc(AssociateResourceToProfile$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AssociateResourceToProfileCommand extends command(_ep0, _mw0, "AssociateResourceToProfile", AssociateResourceToProfile$) {
|
|
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 { CreateProfile$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateProfileCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "CreateProfile", {})
|
|
13
|
-
.n("Route53ProfilesClient", "CreateProfileCommand")
|
|
14
|
-
.sc(CreateProfile$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateProfileCommand extends command(_ep0, _mw0, "CreateProfile", CreateProfile$) {
|
|
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 { DeleteProfile$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteProfileCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "DeleteProfile", {})
|
|
13
|
-
.n("Route53ProfilesClient", "DeleteProfileCommand")
|
|
14
|
-
.sc(DeleteProfile$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteProfileCommand extends command(_ep0, _mw0, "DeleteProfile", DeleteProfile$) {
|
|
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 { DisassociateProfile$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DisassociateProfileCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "DisassociateProfile", {})
|
|
13
|
-
.n("Route53ProfilesClient", "DisassociateProfileCommand")
|
|
14
|
-
.sc(DisassociateProfile$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DisassociateProfileCommand extends command(_ep0, _mw0, "DisassociateProfile", DisassociateProfile$) {
|
|
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 { DisassociateResourceFromProfile$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DisassociateResourceFromProfileCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "DisassociateResourceFromProfile", {})
|
|
13
|
-
.n("Route53ProfilesClient", "DisassociateResourceFromProfileCommand")
|
|
14
|
-
.sc(DisassociateResourceFromProfile$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DisassociateResourceFromProfileCommand extends command(_ep0, _mw0, "DisassociateResourceFromProfile", DisassociateResourceFromProfile$) {
|
|
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 { GetProfileAssociation$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetProfileAssociationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "GetProfileAssociation", {})
|
|
13
|
-
.n("Route53ProfilesClient", "GetProfileAssociationCommand")
|
|
14
|
-
.sc(GetProfileAssociation$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetProfileAssociationCommand extends command(_ep0, _mw0, "GetProfileAssociation", GetProfileAssociation$) {
|
|
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 { GetProfile$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetProfileCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "GetProfile", {})
|
|
13
|
-
.n("Route53ProfilesClient", "GetProfileCommand")
|
|
14
|
-
.sc(GetProfile$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetProfileCommand extends command(_ep0, _mw0, "GetProfile", GetProfile$) {
|
|
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 { GetProfileResourceAssociation$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetProfileResourceAssociationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "GetProfileResourceAssociation", {})
|
|
13
|
-
.n("Route53ProfilesClient", "GetProfileResourceAssociationCommand")
|
|
14
|
-
.sc(GetProfileResourceAssociation$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetProfileResourceAssociationCommand extends command(_ep0, _mw0, "GetProfileResourceAssociation", GetProfileResourceAssociation$) {
|
|
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 { ListProfileAssociations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListProfileAssociationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "ListProfileAssociations", {})
|
|
13
|
-
.n("Route53ProfilesClient", "ListProfileAssociationsCommand")
|
|
14
|
-
.sc(ListProfileAssociations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListProfileAssociationsCommand extends command(_ep0, _mw0, "ListProfileAssociations", ListProfileAssociations$) {
|
|
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 { ListProfileResourceAssociations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListProfileResourceAssociationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "ListProfileResourceAssociations", {})
|
|
13
|
-
.n("Route53ProfilesClient", "ListProfileResourceAssociationsCommand")
|
|
14
|
-
.sc(ListProfileResourceAssociations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListProfileResourceAssociationsCommand extends command(_ep0, _mw0, "ListProfileResourceAssociations", ListProfileResourceAssociations$) {
|
|
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 { ListProfiles$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListProfilesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "ListProfiles", {})
|
|
13
|
-
.n("Route53ProfilesClient", "ListProfilesCommand")
|
|
14
|
-
.sc(ListProfiles$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListProfilesCommand extends command(_ep0, _mw0, "ListProfiles", ListProfiles$) {
|
|
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 { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "ListTagsForResource", {})
|
|
13
|
-
.n("Route53ProfilesClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
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 { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "TagResource", {})
|
|
13
|
-
.n("Route53ProfilesClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
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 { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "UntagResource", {})
|
|
13
|
-
.n("Route53ProfilesClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
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 { UpdateProfileResourceAssociation$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateProfileResourceAssociationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Route53Profiles", "UpdateProfileResourceAssociation", {})
|
|
13
|
-
.n("Route53ProfilesClient", "UpdateProfileResourceAssociationCommand")
|
|
14
|
-
.sc(UpdateProfileResourceAssociation$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateProfileResourceAssociationCommand extends command(_ep0, _mw0, "UpdateProfileResourceAssociation", UpdateProfileResourceAssociation$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Route53ProfilesClient";
|
|
2
2
|
export * from "./Route53Profiles";
|
|
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
|
};
|