@aws-sdk/client-cognito-sync 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 +28 -175
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/BulkPublishCommand.js +2 -14
- package/dist-es/commands/DeleteDatasetCommand.js +2 -14
- package/dist-es/commands/DescribeDatasetCommand.js +2 -14
- package/dist-es/commands/DescribeIdentityPoolUsageCommand.js +2 -14
- package/dist-es/commands/DescribeIdentityUsageCommand.js +2 -14
- package/dist-es/commands/GetBulkPublishDetailsCommand.js +2 -14
- package/dist-es/commands/GetCognitoEventsCommand.js +2 -14
- package/dist-es/commands/GetIdentityPoolConfigurationCommand.js +2 -14
- package/dist-es/commands/ListDatasetsCommand.js +2 -14
- package/dist-es/commands/ListIdentityPoolUsageCommand.js +2 -14
- package/dist-es/commands/ListRecordsCommand.js +2 -14
- package/dist-es/commands/RegisterDeviceCommand.js +2 -14
- package/dist-es/commands/SetCognitoEventsCommand.js +2 -14
- package/dist-es/commands/SetIdentityPoolConfigurationCommand.js +2 -14
- package/dist-es/commands/SubscribeToDatasetCommand.js +2 -14
- package/dist-es/commands/UnsubscribeFromDatasetCommand.js +2 -14
- package/dist-es/commands/UpdateRecordsCommand.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/BulkPublishCommand.d.ts +3 -8
- package/dist-types/commands/DeleteDatasetCommand.d.ts +3 -8
- package/dist-types/commands/DescribeDatasetCommand.d.ts +3 -8
- package/dist-types/commands/DescribeIdentityPoolUsageCommand.d.ts +3 -8
- package/dist-types/commands/DescribeIdentityUsageCommand.d.ts +3 -8
- package/dist-types/commands/GetBulkPublishDetailsCommand.d.ts +3 -8
- package/dist-types/commands/GetCognitoEventsCommand.d.ts +3 -8
- package/dist-types/commands/GetIdentityPoolConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/ListDatasetsCommand.d.ts +3 -8
- package/dist-types/commands/ListIdentityPoolUsageCommand.d.ts +3 -8
- package/dist-types/commands/ListRecordsCommand.d.ts +3 -8
- package/dist-types/commands/RegisterDeviceCommand.d.ts +3 -8
- package/dist-types/commands/SetCognitoEventsCommand.d.ts +3 -8
- package/dist-types/commands/SetIdentityPoolConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/SubscribeToDatasetCommand.d.ts +3 -8
- package/dist-types/commands/UnsubscribeFromDatasetCommand.d.ts +3 -8
- package/dist-types/commands/UpdateRecordsCommand.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/BulkPublishCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateRecordsCommand.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 } = 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 defaultCognitoSyncHttpAuthSchemeParametersProvider = 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
|
|
|
@@ -801,6 +803,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
801
803
|
serviceTarget: "AWSCognitoSyncService",
|
|
802
804
|
},
|
|
803
805
|
serviceId: config?.serviceId ?? "Cognito Sync",
|
|
806
|
+
sha256: config?.sha256 ?? Sha256,
|
|
804
807
|
urlParser: config?.urlParser ?? parseUrl,
|
|
805
808
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
806
809
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -834,7 +837,6 @@ const getRuntimeConfig = (config) => {
|
|
|
834
837
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
835
838
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
836
839
|
}, config),
|
|
837
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
838
840
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
839
841
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
840
842
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -922,208 +924,59 @@ class CognitoSyncClient extends Client {
|
|
|
922
924
|
}
|
|
923
925
|
}
|
|
924
926
|
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
})
|
|
931
|
-
.s("AWSCognitoSyncService", "BulkPublish", {})
|
|
932
|
-
.n("CognitoSyncClient", "BulkPublishCommand")
|
|
933
|
-
.sc(BulkPublish$)
|
|
934
|
-
.build() {
|
|
927
|
+
const command = makeBuilder(commonParams, "AWSCognitoSyncService", "CognitoSyncClient", getEndpointPlugin);
|
|
928
|
+
const _ep0 = {};
|
|
929
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
930
|
+
|
|
931
|
+
class BulkPublishCommand extends command(_ep0, _mw0, "BulkPublish", BulkPublish$) {
|
|
935
932
|
}
|
|
936
933
|
|
|
937
|
-
class DeleteDatasetCommand extends
|
|
938
|
-
.classBuilder()
|
|
939
|
-
.ep(commonParams)
|
|
940
|
-
.m(function (Command, cs, config, o) {
|
|
941
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
942
|
-
})
|
|
943
|
-
.s("AWSCognitoSyncService", "DeleteDataset", {})
|
|
944
|
-
.n("CognitoSyncClient", "DeleteDatasetCommand")
|
|
945
|
-
.sc(DeleteDataset$)
|
|
946
|
-
.build() {
|
|
934
|
+
class DeleteDatasetCommand extends command(_ep0, _mw0, "DeleteDataset", DeleteDataset$) {
|
|
947
935
|
}
|
|
948
936
|
|
|
949
|
-
class DescribeDatasetCommand extends
|
|
950
|
-
.classBuilder()
|
|
951
|
-
.ep(commonParams)
|
|
952
|
-
.m(function (Command, cs, config, o) {
|
|
953
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
954
|
-
})
|
|
955
|
-
.s("AWSCognitoSyncService", "DescribeDataset", {})
|
|
956
|
-
.n("CognitoSyncClient", "DescribeDatasetCommand")
|
|
957
|
-
.sc(DescribeDataset$)
|
|
958
|
-
.build() {
|
|
937
|
+
class DescribeDatasetCommand extends command(_ep0, _mw0, "DescribeDataset", DescribeDataset$) {
|
|
959
938
|
}
|
|
960
939
|
|
|
961
|
-
class DescribeIdentityPoolUsageCommand extends
|
|
962
|
-
.classBuilder()
|
|
963
|
-
.ep(commonParams)
|
|
964
|
-
.m(function (Command, cs, config, o) {
|
|
965
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
966
|
-
})
|
|
967
|
-
.s("AWSCognitoSyncService", "DescribeIdentityPoolUsage", {})
|
|
968
|
-
.n("CognitoSyncClient", "DescribeIdentityPoolUsageCommand")
|
|
969
|
-
.sc(DescribeIdentityPoolUsage$)
|
|
970
|
-
.build() {
|
|
940
|
+
class DescribeIdentityPoolUsageCommand extends command(_ep0, _mw0, "DescribeIdentityPoolUsage", DescribeIdentityPoolUsage$) {
|
|
971
941
|
}
|
|
972
942
|
|
|
973
|
-
class DescribeIdentityUsageCommand extends
|
|
974
|
-
.classBuilder()
|
|
975
|
-
.ep(commonParams)
|
|
976
|
-
.m(function (Command, cs, config, o) {
|
|
977
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
978
|
-
})
|
|
979
|
-
.s("AWSCognitoSyncService", "DescribeIdentityUsage", {})
|
|
980
|
-
.n("CognitoSyncClient", "DescribeIdentityUsageCommand")
|
|
981
|
-
.sc(DescribeIdentityUsage$)
|
|
982
|
-
.build() {
|
|
943
|
+
class DescribeIdentityUsageCommand extends command(_ep0, _mw0, "DescribeIdentityUsage", DescribeIdentityUsage$) {
|
|
983
944
|
}
|
|
984
945
|
|
|
985
|
-
class GetBulkPublishDetailsCommand extends
|
|
986
|
-
.classBuilder()
|
|
987
|
-
.ep(commonParams)
|
|
988
|
-
.m(function (Command, cs, config, o) {
|
|
989
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
990
|
-
})
|
|
991
|
-
.s("AWSCognitoSyncService", "GetBulkPublishDetails", {})
|
|
992
|
-
.n("CognitoSyncClient", "GetBulkPublishDetailsCommand")
|
|
993
|
-
.sc(GetBulkPublishDetails$)
|
|
994
|
-
.build() {
|
|
946
|
+
class GetBulkPublishDetailsCommand extends command(_ep0, _mw0, "GetBulkPublishDetails", GetBulkPublishDetails$) {
|
|
995
947
|
}
|
|
996
948
|
|
|
997
|
-
class GetCognitoEventsCommand extends
|
|
998
|
-
.classBuilder()
|
|
999
|
-
.ep(commonParams)
|
|
1000
|
-
.m(function (Command, cs, config, o) {
|
|
1001
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1002
|
-
})
|
|
1003
|
-
.s("AWSCognitoSyncService", "GetCognitoEvents", {})
|
|
1004
|
-
.n("CognitoSyncClient", "GetCognitoEventsCommand")
|
|
1005
|
-
.sc(GetCognitoEvents$)
|
|
1006
|
-
.build() {
|
|
949
|
+
class GetCognitoEventsCommand extends command(_ep0, _mw0, "GetCognitoEvents", GetCognitoEvents$) {
|
|
1007
950
|
}
|
|
1008
951
|
|
|
1009
|
-
class GetIdentityPoolConfigurationCommand extends
|
|
1010
|
-
.classBuilder()
|
|
1011
|
-
.ep(commonParams)
|
|
1012
|
-
.m(function (Command, cs, config, o) {
|
|
1013
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1014
|
-
})
|
|
1015
|
-
.s("AWSCognitoSyncService", "GetIdentityPoolConfiguration", {})
|
|
1016
|
-
.n("CognitoSyncClient", "GetIdentityPoolConfigurationCommand")
|
|
1017
|
-
.sc(GetIdentityPoolConfiguration$)
|
|
1018
|
-
.build() {
|
|
952
|
+
class GetIdentityPoolConfigurationCommand extends command(_ep0, _mw0, "GetIdentityPoolConfiguration", GetIdentityPoolConfiguration$) {
|
|
1019
953
|
}
|
|
1020
954
|
|
|
1021
|
-
class ListDatasetsCommand extends
|
|
1022
|
-
.classBuilder()
|
|
1023
|
-
.ep(commonParams)
|
|
1024
|
-
.m(function (Command, cs, config, o) {
|
|
1025
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1026
|
-
})
|
|
1027
|
-
.s("AWSCognitoSyncService", "ListDatasets", {})
|
|
1028
|
-
.n("CognitoSyncClient", "ListDatasetsCommand")
|
|
1029
|
-
.sc(ListDatasets$)
|
|
1030
|
-
.build() {
|
|
955
|
+
class ListDatasetsCommand extends command(_ep0, _mw0, "ListDatasets", ListDatasets$) {
|
|
1031
956
|
}
|
|
1032
957
|
|
|
1033
|
-
class ListIdentityPoolUsageCommand extends
|
|
1034
|
-
.classBuilder()
|
|
1035
|
-
.ep(commonParams)
|
|
1036
|
-
.m(function (Command, cs, config, o) {
|
|
1037
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1038
|
-
})
|
|
1039
|
-
.s("AWSCognitoSyncService", "ListIdentityPoolUsage", {})
|
|
1040
|
-
.n("CognitoSyncClient", "ListIdentityPoolUsageCommand")
|
|
1041
|
-
.sc(ListIdentityPoolUsage$)
|
|
1042
|
-
.build() {
|
|
958
|
+
class ListIdentityPoolUsageCommand extends command(_ep0, _mw0, "ListIdentityPoolUsage", ListIdentityPoolUsage$) {
|
|
1043
959
|
}
|
|
1044
960
|
|
|
1045
|
-
class ListRecordsCommand extends
|
|
1046
|
-
.classBuilder()
|
|
1047
|
-
.ep(commonParams)
|
|
1048
|
-
.m(function (Command, cs, config, o) {
|
|
1049
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1050
|
-
})
|
|
1051
|
-
.s("AWSCognitoSyncService", "ListRecords", {})
|
|
1052
|
-
.n("CognitoSyncClient", "ListRecordsCommand")
|
|
1053
|
-
.sc(ListRecords$)
|
|
1054
|
-
.build() {
|
|
961
|
+
class ListRecordsCommand extends command(_ep0, _mw0, "ListRecords", ListRecords$) {
|
|
1055
962
|
}
|
|
1056
963
|
|
|
1057
|
-
class RegisterDeviceCommand extends
|
|
1058
|
-
.classBuilder()
|
|
1059
|
-
.ep(commonParams)
|
|
1060
|
-
.m(function (Command, cs, config, o) {
|
|
1061
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1062
|
-
})
|
|
1063
|
-
.s("AWSCognitoSyncService", "RegisterDevice", {})
|
|
1064
|
-
.n("CognitoSyncClient", "RegisterDeviceCommand")
|
|
1065
|
-
.sc(RegisterDevice$)
|
|
1066
|
-
.build() {
|
|
964
|
+
class RegisterDeviceCommand extends command(_ep0, _mw0, "RegisterDevice", RegisterDevice$) {
|
|
1067
965
|
}
|
|
1068
966
|
|
|
1069
|
-
class SetCognitoEventsCommand extends
|
|
1070
|
-
.classBuilder()
|
|
1071
|
-
.ep(commonParams)
|
|
1072
|
-
.m(function (Command, cs, config, o) {
|
|
1073
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1074
|
-
})
|
|
1075
|
-
.s("AWSCognitoSyncService", "SetCognitoEvents", {})
|
|
1076
|
-
.n("CognitoSyncClient", "SetCognitoEventsCommand")
|
|
1077
|
-
.sc(SetCognitoEvents$)
|
|
1078
|
-
.build() {
|
|
967
|
+
class SetCognitoEventsCommand extends command(_ep0, _mw0, "SetCognitoEvents", SetCognitoEvents$) {
|
|
1079
968
|
}
|
|
1080
969
|
|
|
1081
|
-
class SetIdentityPoolConfigurationCommand extends
|
|
1082
|
-
.classBuilder()
|
|
1083
|
-
.ep(commonParams)
|
|
1084
|
-
.m(function (Command, cs, config, o) {
|
|
1085
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1086
|
-
})
|
|
1087
|
-
.s("AWSCognitoSyncService", "SetIdentityPoolConfiguration", {})
|
|
1088
|
-
.n("CognitoSyncClient", "SetIdentityPoolConfigurationCommand")
|
|
1089
|
-
.sc(SetIdentityPoolConfiguration$)
|
|
1090
|
-
.build() {
|
|
970
|
+
class SetIdentityPoolConfigurationCommand extends command(_ep0, _mw0, "SetIdentityPoolConfiguration", SetIdentityPoolConfiguration$) {
|
|
1091
971
|
}
|
|
1092
972
|
|
|
1093
|
-
class SubscribeToDatasetCommand extends
|
|
1094
|
-
.classBuilder()
|
|
1095
|
-
.ep(commonParams)
|
|
1096
|
-
.m(function (Command, cs, config, o) {
|
|
1097
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1098
|
-
})
|
|
1099
|
-
.s("AWSCognitoSyncService", "SubscribeToDataset", {})
|
|
1100
|
-
.n("CognitoSyncClient", "SubscribeToDatasetCommand")
|
|
1101
|
-
.sc(SubscribeToDataset$)
|
|
1102
|
-
.build() {
|
|
973
|
+
class SubscribeToDatasetCommand extends command(_ep0, _mw0, "SubscribeToDataset", SubscribeToDataset$) {
|
|
1103
974
|
}
|
|
1104
975
|
|
|
1105
|
-
class UnsubscribeFromDatasetCommand extends
|
|
1106
|
-
.classBuilder()
|
|
1107
|
-
.ep(commonParams)
|
|
1108
|
-
.m(function (Command, cs, config, o) {
|
|
1109
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1110
|
-
})
|
|
1111
|
-
.s("AWSCognitoSyncService", "UnsubscribeFromDataset", {})
|
|
1112
|
-
.n("CognitoSyncClient", "UnsubscribeFromDatasetCommand")
|
|
1113
|
-
.sc(UnsubscribeFromDataset$)
|
|
1114
|
-
.build() {
|
|
976
|
+
class UnsubscribeFromDatasetCommand extends command(_ep0, _mw0, "UnsubscribeFromDataset", UnsubscribeFromDataset$) {
|
|
1115
977
|
}
|
|
1116
978
|
|
|
1117
|
-
class UpdateRecordsCommand extends
|
|
1118
|
-
.classBuilder()
|
|
1119
|
-
.ep(commonParams)
|
|
1120
|
-
.m(function (Command, cs, config, o) {
|
|
1121
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1122
|
-
})
|
|
1123
|
-
.s("AWSCognitoSyncService", "UpdateRecords", {})
|
|
1124
|
-
.n("CognitoSyncClient", "UpdateRecordsCommand")
|
|
1125
|
-
.sc(UpdateRecords$)
|
|
1126
|
-
.build() {
|
|
979
|
+
class UpdateRecordsCommand extends command(_ep0, _mw0, "UpdateRecords", UpdateRecords$) {
|
|
1127
980
|
}
|
|
1128
981
|
|
|
1129
982
|
const commands = {
|
|
@@ -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, "AWSCognitoSyncService", "CognitoSyncClient", 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 { BulkPublish$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class BulkPublishCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "BulkPublish", {})
|
|
13
|
-
.n("CognitoSyncClient", "BulkPublishCommand")
|
|
14
|
-
.sc(BulkPublish$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class BulkPublishCommand extends command(_ep0, _mw0, "BulkPublish", BulkPublish$) {
|
|
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 { DeleteDataset$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteDatasetCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "DeleteDataset", {})
|
|
13
|
-
.n("CognitoSyncClient", "DeleteDatasetCommand")
|
|
14
|
-
.sc(DeleteDataset$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteDatasetCommand extends command(_ep0, _mw0, "DeleteDataset", DeleteDataset$) {
|
|
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 { DescribeDataset$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeDatasetCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "DescribeDataset", {})
|
|
13
|
-
.n("CognitoSyncClient", "DescribeDatasetCommand")
|
|
14
|
-
.sc(DescribeDataset$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeDatasetCommand extends command(_ep0, _mw0, "DescribeDataset", DescribeDataset$) {
|
|
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 { DescribeIdentityPoolUsage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeIdentityPoolUsageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "DescribeIdentityPoolUsage", {})
|
|
13
|
-
.n("CognitoSyncClient", "DescribeIdentityPoolUsageCommand")
|
|
14
|
-
.sc(DescribeIdentityPoolUsage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeIdentityPoolUsageCommand extends command(_ep0, _mw0, "DescribeIdentityPoolUsage", DescribeIdentityPoolUsage$) {
|
|
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 { DescribeIdentityUsage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeIdentityUsageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "DescribeIdentityUsage", {})
|
|
13
|
-
.n("CognitoSyncClient", "DescribeIdentityUsageCommand")
|
|
14
|
-
.sc(DescribeIdentityUsage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeIdentityUsageCommand extends command(_ep0, _mw0, "DescribeIdentityUsage", DescribeIdentityUsage$) {
|
|
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 { GetBulkPublishDetails$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetBulkPublishDetailsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "GetBulkPublishDetails", {})
|
|
13
|
-
.n("CognitoSyncClient", "GetBulkPublishDetailsCommand")
|
|
14
|
-
.sc(GetBulkPublishDetails$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetBulkPublishDetailsCommand extends command(_ep0, _mw0, "GetBulkPublishDetails", GetBulkPublishDetails$) {
|
|
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 { GetCognitoEvents$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetCognitoEventsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "GetCognitoEvents", {})
|
|
13
|
-
.n("CognitoSyncClient", "GetCognitoEventsCommand")
|
|
14
|
-
.sc(GetCognitoEvents$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetCognitoEventsCommand extends command(_ep0, _mw0, "GetCognitoEvents", GetCognitoEvents$) {
|
|
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 { GetIdentityPoolConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetIdentityPoolConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "GetIdentityPoolConfiguration", {})
|
|
13
|
-
.n("CognitoSyncClient", "GetIdentityPoolConfigurationCommand")
|
|
14
|
-
.sc(GetIdentityPoolConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetIdentityPoolConfigurationCommand extends command(_ep0, _mw0, "GetIdentityPoolConfiguration", GetIdentityPoolConfiguration$) {
|
|
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 { ListDatasets$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListDatasetsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "ListDatasets", {})
|
|
13
|
-
.n("CognitoSyncClient", "ListDatasetsCommand")
|
|
14
|
-
.sc(ListDatasets$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListDatasetsCommand extends command(_ep0, _mw0, "ListDatasets", ListDatasets$) {
|
|
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 { ListIdentityPoolUsage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListIdentityPoolUsageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "ListIdentityPoolUsage", {})
|
|
13
|
-
.n("CognitoSyncClient", "ListIdentityPoolUsageCommand")
|
|
14
|
-
.sc(ListIdentityPoolUsage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListIdentityPoolUsageCommand extends command(_ep0, _mw0, "ListIdentityPoolUsage", ListIdentityPoolUsage$) {
|
|
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 { ListRecords$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListRecordsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "ListRecords", {})
|
|
13
|
-
.n("CognitoSyncClient", "ListRecordsCommand")
|
|
14
|
-
.sc(ListRecords$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListRecordsCommand extends command(_ep0, _mw0, "ListRecords", ListRecords$) {
|
|
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 { RegisterDevice$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RegisterDeviceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "RegisterDevice", {})
|
|
13
|
-
.n("CognitoSyncClient", "RegisterDeviceCommand")
|
|
14
|
-
.sc(RegisterDevice$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RegisterDeviceCommand extends command(_ep0, _mw0, "RegisterDevice", RegisterDevice$) {
|
|
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 { SetCognitoEvents$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SetCognitoEventsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "SetCognitoEvents", {})
|
|
13
|
-
.n("CognitoSyncClient", "SetCognitoEventsCommand")
|
|
14
|
-
.sc(SetCognitoEvents$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SetCognitoEventsCommand extends command(_ep0, _mw0, "SetCognitoEvents", SetCognitoEvents$) {
|
|
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 { SetIdentityPoolConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SetIdentityPoolConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "SetIdentityPoolConfiguration", {})
|
|
13
|
-
.n("CognitoSyncClient", "SetIdentityPoolConfigurationCommand")
|
|
14
|
-
.sc(SetIdentityPoolConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SetIdentityPoolConfigurationCommand extends command(_ep0, _mw0, "SetIdentityPoolConfiguration", SetIdentityPoolConfiguration$) {
|
|
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 { SubscribeToDataset$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SubscribeToDatasetCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "SubscribeToDataset", {})
|
|
13
|
-
.n("CognitoSyncClient", "SubscribeToDatasetCommand")
|
|
14
|
-
.sc(SubscribeToDataset$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SubscribeToDatasetCommand extends command(_ep0, _mw0, "SubscribeToDataset", SubscribeToDataset$) {
|
|
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 { UnsubscribeFromDataset$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UnsubscribeFromDatasetCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "UnsubscribeFromDataset", {})
|
|
13
|
-
.n("CognitoSyncClient", "UnsubscribeFromDatasetCommand")
|
|
14
|
-
.sc(UnsubscribeFromDataset$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UnsubscribeFromDatasetCommand extends command(_ep0, _mw0, "UnsubscribeFromDataset", UnsubscribeFromDataset$) {
|
|
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 { UpdateRecords$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateRecordsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSCognitoSyncService", "UpdateRecords", {})
|
|
13
|
-
.n("CognitoSyncClient", "UpdateRecordsCommand")
|
|
14
|
-
.sc(UpdateRecords$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateRecordsCommand extends command(_ep0, _mw0, "UpdateRecords", UpdateRecords$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./CognitoSyncClient";
|
|
2
2
|
export * from "./CognitoSync";
|
|
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 "./models/enums";
|
|
6
7
|
export * from "./models/errors";
|
|
@@ -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)),
|