@aws-sdk/client-cognito-sync 3.1077.0 → 3.1079.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 +25 -173
- 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-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/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/package.json +8 -8
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");
|
|
@@ -68,7 +69,7 @@ const commonParams = {
|
|
|
68
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
var version = "3.
|
|
72
|
+
var version = "3.1078.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -923,208 +924,59 @@ class CognitoSyncClient extends Client {
|
|
|
923
924
|
}
|
|
924
925
|
}
|
|
925
926
|
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
})
|
|
932
|
-
.s("AWSCognitoSyncService", "BulkPublish", {})
|
|
933
|
-
.n("CognitoSyncClient", "BulkPublishCommand")
|
|
934
|
-
.sc(BulkPublish$)
|
|
935
|
-
.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$) {
|
|
936
932
|
}
|
|
937
933
|
|
|
938
|
-
class DeleteDatasetCommand extends
|
|
939
|
-
.classBuilder()
|
|
940
|
-
.ep(commonParams)
|
|
941
|
-
.m(function (Command, cs, config, o) {
|
|
942
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
943
|
-
})
|
|
944
|
-
.s("AWSCognitoSyncService", "DeleteDataset", {})
|
|
945
|
-
.n("CognitoSyncClient", "DeleteDatasetCommand")
|
|
946
|
-
.sc(DeleteDataset$)
|
|
947
|
-
.build() {
|
|
934
|
+
class DeleteDatasetCommand extends command(_ep0, _mw0, "DeleteDataset", DeleteDataset$) {
|
|
948
935
|
}
|
|
949
936
|
|
|
950
|
-
class DescribeDatasetCommand extends
|
|
951
|
-
.classBuilder()
|
|
952
|
-
.ep(commonParams)
|
|
953
|
-
.m(function (Command, cs, config, o) {
|
|
954
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
955
|
-
})
|
|
956
|
-
.s("AWSCognitoSyncService", "DescribeDataset", {})
|
|
957
|
-
.n("CognitoSyncClient", "DescribeDatasetCommand")
|
|
958
|
-
.sc(DescribeDataset$)
|
|
959
|
-
.build() {
|
|
937
|
+
class DescribeDatasetCommand extends command(_ep0, _mw0, "DescribeDataset", DescribeDataset$) {
|
|
960
938
|
}
|
|
961
939
|
|
|
962
|
-
class DescribeIdentityPoolUsageCommand extends
|
|
963
|
-
.classBuilder()
|
|
964
|
-
.ep(commonParams)
|
|
965
|
-
.m(function (Command, cs, config, o) {
|
|
966
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
967
|
-
})
|
|
968
|
-
.s("AWSCognitoSyncService", "DescribeIdentityPoolUsage", {})
|
|
969
|
-
.n("CognitoSyncClient", "DescribeIdentityPoolUsageCommand")
|
|
970
|
-
.sc(DescribeIdentityPoolUsage$)
|
|
971
|
-
.build() {
|
|
940
|
+
class DescribeIdentityPoolUsageCommand extends command(_ep0, _mw0, "DescribeIdentityPoolUsage", DescribeIdentityPoolUsage$) {
|
|
972
941
|
}
|
|
973
942
|
|
|
974
|
-
class DescribeIdentityUsageCommand extends
|
|
975
|
-
.classBuilder()
|
|
976
|
-
.ep(commonParams)
|
|
977
|
-
.m(function (Command, cs, config, o) {
|
|
978
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
979
|
-
})
|
|
980
|
-
.s("AWSCognitoSyncService", "DescribeIdentityUsage", {})
|
|
981
|
-
.n("CognitoSyncClient", "DescribeIdentityUsageCommand")
|
|
982
|
-
.sc(DescribeIdentityUsage$)
|
|
983
|
-
.build() {
|
|
943
|
+
class DescribeIdentityUsageCommand extends command(_ep0, _mw0, "DescribeIdentityUsage", DescribeIdentityUsage$) {
|
|
984
944
|
}
|
|
985
945
|
|
|
986
|
-
class GetBulkPublishDetailsCommand extends
|
|
987
|
-
.classBuilder()
|
|
988
|
-
.ep(commonParams)
|
|
989
|
-
.m(function (Command, cs, config, o) {
|
|
990
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
991
|
-
})
|
|
992
|
-
.s("AWSCognitoSyncService", "GetBulkPublishDetails", {})
|
|
993
|
-
.n("CognitoSyncClient", "GetBulkPublishDetailsCommand")
|
|
994
|
-
.sc(GetBulkPublishDetails$)
|
|
995
|
-
.build() {
|
|
946
|
+
class GetBulkPublishDetailsCommand extends command(_ep0, _mw0, "GetBulkPublishDetails", GetBulkPublishDetails$) {
|
|
996
947
|
}
|
|
997
948
|
|
|
998
|
-
class GetCognitoEventsCommand extends
|
|
999
|
-
.classBuilder()
|
|
1000
|
-
.ep(commonParams)
|
|
1001
|
-
.m(function (Command, cs, config, o) {
|
|
1002
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1003
|
-
})
|
|
1004
|
-
.s("AWSCognitoSyncService", "GetCognitoEvents", {})
|
|
1005
|
-
.n("CognitoSyncClient", "GetCognitoEventsCommand")
|
|
1006
|
-
.sc(GetCognitoEvents$)
|
|
1007
|
-
.build() {
|
|
949
|
+
class GetCognitoEventsCommand extends command(_ep0, _mw0, "GetCognitoEvents", GetCognitoEvents$) {
|
|
1008
950
|
}
|
|
1009
951
|
|
|
1010
|
-
class GetIdentityPoolConfigurationCommand extends
|
|
1011
|
-
.classBuilder()
|
|
1012
|
-
.ep(commonParams)
|
|
1013
|
-
.m(function (Command, cs, config, o) {
|
|
1014
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1015
|
-
})
|
|
1016
|
-
.s("AWSCognitoSyncService", "GetIdentityPoolConfiguration", {})
|
|
1017
|
-
.n("CognitoSyncClient", "GetIdentityPoolConfigurationCommand")
|
|
1018
|
-
.sc(GetIdentityPoolConfiguration$)
|
|
1019
|
-
.build() {
|
|
952
|
+
class GetIdentityPoolConfigurationCommand extends command(_ep0, _mw0, "GetIdentityPoolConfiguration", GetIdentityPoolConfiguration$) {
|
|
1020
953
|
}
|
|
1021
954
|
|
|
1022
|
-
class ListDatasetsCommand extends
|
|
1023
|
-
.classBuilder()
|
|
1024
|
-
.ep(commonParams)
|
|
1025
|
-
.m(function (Command, cs, config, o) {
|
|
1026
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1027
|
-
})
|
|
1028
|
-
.s("AWSCognitoSyncService", "ListDatasets", {})
|
|
1029
|
-
.n("CognitoSyncClient", "ListDatasetsCommand")
|
|
1030
|
-
.sc(ListDatasets$)
|
|
1031
|
-
.build() {
|
|
955
|
+
class ListDatasetsCommand extends command(_ep0, _mw0, "ListDatasets", ListDatasets$) {
|
|
1032
956
|
}
|
|
1033
957
|
|
|
1034
|
-
class ListIdentityPoolUsageCommand extends
|
|
1035
|
-
.classBuilder()
|
|
1036
|
-
.ep(commonParams)
|
|
1037
|
-
.m(function (Command, cs, config, o) {
|
|
1038
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1039
|
-
})
|
|
1040
|
-
.s("AWSCognitoSyncService", "ListIdentityPoolUsage", {})
|
|
1041
|
-
.n("CognitoSyncClient", "ListIdentityPoolUsageCommand")
|
|
1042
|
-
.sc(ListIdentityPoolUsage$)
|
|
1043
|
-
.build() {
|
|
958
|
+
class ListIdentityPoolUsageCommand extends command(_ep0, _mw0, "ListIdentityPoolUsage", ListIdentityPoolUsage$) {
|
|
1044
959
|
}
|
|
1045
960
|
|
|
1046
|
-
class ListRecordsCommand extends
|
|
1047
|
-
.classBuilder()
|
|
1048
|
-
.ep(commonParams)
|
|
1049
|
-
.m(function (Command, cs, config, o) {
|
|
1050
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1051
|
-
})
|
|
1052
|
-
.s("AWSCognitoSyncService", "ListRecords", {})
|
|
1053
|
-
.n("CognitoSyncClient", "ListRecordsCommand")
|
|
1054
|
-
.sc(ListRecords$)
|
|
1055
|
-
.build() {
|
|
961
|
+
class ListRecordsCommand extends command(_ep0, _mw0, "ListRecords", ListRecords$) {
|
|
1056
962
|
}
|
|
1057
963
|
|
|
1058
|
-
class RegisterDeviceCommand extends
|
|
1059
|
-
.classBuilder()
|
|
1060
|
-
.ep(commonParams)
|
|
1061
|
-
.m(function (Command, cs, config, o) {
|
|
1062
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1063
|
-
})
|
|
1064
|
-
.s("AWSCognitoSyncService", "RegisterDevice", {})
|
|
1065
|
-
.n("CognitoSyncClient", "RegisterDeviceCommand")
|
|
1066
|
-
.sc(RegisterDevice$)
|
|
1067
|
-
.build() {
|
|
964
|
+
class RegisterDeviceCommand extends command(_ep0, _mw0, "RegisterDevice", RegisterDevice$) {
|
|
1068
965
|
}
|
|
1069
966
|
|
|
1070
|
-
class SetCognitoEventsCommand extends
|
|
1071
|
-
.classBuilder()
|
|
1072
|
-
.ep(commonParams)
|
|
1073
|
-
.m(function (Command, cs, config, o) {
|
|
1074
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1075
|
-
})
|
|
1076
|
-
.s("AWSCognitoSyncService", "SetCognitoEvents", {})
|
|
1077
|
-
.n("CognitoSyncClient", "SetCognitoEventsCommand")
|
|
1078
|
-
.sc(SetCognitoEvents$)
|
|
1079
|
-
.build() {
|
|
967
|
+
class SetCognitoEventsCommand extends command(_ep0, _mw0, "SetCognitoEvents", SetCognitoEvents$) {
|
|
1080
968
|
}
|
|
1081
969
|
|
|
1082
|
-
class SetIdentityPoolConfigurationCommand extends
|
|
1083
|
-
.classBuilder()
|
|
1084
|
-
.ep(commonParams)
|
|
1085
|
-
.m(function (Command, cs, config, o) {
|
|
1086
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1087
|
-
})
|
|
1088
|
-
.s("AWSCognitoSyncService", "SetIdentityPoolConfiguration", {})
|
|
1089
|
-
.n("CognitoSyncClient", "SetIdentityPoolConfigurationCommand")
|
|
1090
|
-
.sc(SetIdentityPoolConfiguration$)
|
|
1091
|
-
.build() {
|
|
970
|
+
class SetIdentityPoolConfigurationCommand extends command(_ep0, _mw0, "SetIdentityPoolConfiguration", SetIdentityPoolConfiguration$) {
|
|
1092
971
|
}
|
|
1093
972
|
|
|
1094
|
-
class SubscribeToDatasetCommand extends
|
|
1095
|
-
.classBuilder()
|
|
1096
|
-
.ep(commonParams)
|
|
1097
|
-
.m(function (Command, cs, config, o) {
|
|
1098
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1099
|
-
})
|
|
1100
|
-
.s("AWSCognitoSyncService", "SubscribeToDataset", {})
|
|
1101
|
-
.n("CognitoSyncClient", "SubscribeToDatasetCommand")
|
|
1102
|
-
.sc(SubscribeToDataset$)
|
|
1103
|
-
.build() {
|
|
973
|
+
class SubscribeToDatasetCommand extends command(_ep0, _mw0, "SubscribeToDataset", SubscribeToDataset$) {
|
|
1104
974
|
}
|
|
1105
975
|
|
|
1106
|
-
class UnsubscribeFromDatasetCommand extends
|
|
1107
|
-
.classBuilder()
|
|
1108
|
-
.ep(commonParams)
|
|
1109
|
-
.m(function (Command, cs, config, o) {
|
|
1110
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1111
|
-
})
|
|
1112
|
-
.s("AWSCognitoSyncService", "UnsubscribeFromDataset", {})
|
|
1113
|
-
.n("CognitoSyncClient", "UnsubscribeFromDatasetCommand")
|
|
1114
|
-
.sc(UnsubscribeFromDataset$)
|
|
1115
|
-
.build() {
|
|
976
|
+
class UnsubscribeFromDatasetCommand extends command(_ep0, _mw0, "UnsubscribeFromDataset", UnsubscribeFromDataset$) {
|
|
1116
977
|
}
|
|
1117
978
|
|
|
1118
|
-
class UpdateRecordsCommand extends
|
|
1119
|
-
.classBuilder()
|
|
1120
|
-
.ep(commonParams)
|
|
1121
|
-
.m(function (Command, cs, config, o) {
|
|
1122
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1123
|
-
})
|
|
1124
|
-
.s("AWSCognitoSyncService", "UpdateRecords", {})
|
|
1125
|
-
.n("CognitoSyncClient", "UpdateRecordsCommand")
|
|
1126
|
-
.sc(UpdateRecords$)
|
|
1127
|
-
.build() {
|
|
979
|
+
class UpdateRecordsCommand extends command(_ep0, _mw0, "UpdateRecords", UpdateRecords$) {
|
|
1128
980
|
}
|
|
1129
981
|
|
|
1130
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";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./CognitoSyncClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|