@aws-sdk/client-cognito-sync 3.478.0 → 3.481.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/commands/BulkPublishCommand.js +18 -41
- package/dist-cjs/commands/DeleteDatasetCommand.js +18 -41
- package/dist-cjs/commands/DescribeDatasetCommand.js +18 -41
- package/dist-cjs/commands/DescribeIdentityPoolUsageCommand.js +18 -41
- package/dist-cjs/commands/DescribeIdentityUsageCommand.js +18 -41
- package/dist-cjs/commands/GetBulkPublishDetailsCommand.js +18 -41
- package/dist-cjs/commands/GetCognitoEventsCommand.js +18 -41
- package/dist-cjs/commands/GetIdentityPoolConfigurationCommand.js +18 -41
- package/dist-cjs/commands/ListDatasetsCommand.js +18 -41
- package/dist-cjs/commands/ListIdentityPoolUsageCommand.js +18 -41
- package/dist-cjs/commands/ListRecordsCommand.js +18 -41
- package/dist-cjs/commands/RegisterDeviceCommand.js +18 -41
- package/dist-cjs/commands/SetCognitoEventsCommand.js +18 -41
- package/dist-cjs/commands/SetIdentityPoolConfigurationCommand.js +18 -41
- package/dist-cjs/commands/SubscribeToDatasetCommand.js +18 -41
- package/dist-cjs/commands/UnsubscribeFromDatasetCommand.js +18 -41
- package/dist-cjs/commands/UpdateRecordsCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/BulkPublishCommand.js +18 -41
- package/dist-es/commands/DeleteDatasetCommand.js +18 -41
- package/dist-es/commands/DescribeDatasetCommand.js +18 -41
- package/dist-es/commands/DescribeIdentityPoolUsageCommand.js +18 -41
- package/dist-es/commands/DescribeIdentityUsageCommand.js +18 -41
- package/dist-es/commands/GetBulkPublishDetailsCommand.js +18 -41
- package/dist-es/commands/GetCognitoEventsCommand.js +18 -41
- package/dist-es/commands/GetIdentityPoolConfigurationCommand.js +18 -41
- package/dist-es/commands/ListDatasetsCommand.js +18 -41
- package/dist-es/commands/ListIdentityPoolUsageCommand.js +18 -41
- package/dist-es/commands/ListRecordsCommand.js +18 -41
- package/dist-es/commands/RegisterDeviceCommand.js +18 -41
- package/dist-es/commands/SetCognitoEventsCommand.js +18 -41
- package/dist-es/commands/SetIdentityPoolConfigurationCommand.js +18 -41
- package/dist-es/commands/SubscribeToDatasetCommand.js +18 -41
- package/dist-es/commands/UnsubscribeFromDatasetCommand.js +18 -41
- package/dist-es/commands/UpdateRecordsCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/BulkPublishCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDatasetCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -21
- package/dist-types/commands/DescribeIdentityPoolUsageCommand.d.ts +6 -21
- package/dist-types/commands/DescribeIdentityUsageCommand.d.ts +6 -21
- package/dist-types/commands/GetBulkPublishDetailsCommand.d.ts +6 -21
- package/dist-types/commands/GetCognitoEventsCommand.d.ts +6 -21
- package/dist-types/commands/GetIdentityPoolConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/ListDatasetsCommand.d.ts +6 -21
- package/dist-types/commands/ListIdentityPoolUsageCommand.d.ts +6 -21
- package/dist-types/commands/ListRecordsCommand.d.ts +6 -21
- package/dist-types/commands/RegisterDeviceCommand.d.ts +6 -21
- package/dist-types/commands/SetCognitoEventsCommand.d.ts +6 -21
- package/dist-types/commands/SetIdentityPoolConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/SubscribeToDatasetCommand.d.ts +6 -21
- package/dist-types/commands/UnsubscribeFromDatasetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRecordsCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListRecordsCommand, se_ListRecordsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListRecordsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CognitoSyncClient";
|
|
26
|
-
const commandName = "ListRecordsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSCognitoSyncService",
|
|
35
|
-
operation: "ListRecords",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListRecordsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListRecordsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListRecordsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSCognitoSyncService", "ListRecords", {})
|
|
19
|
+
.n("CognitoSyncClient", "ListRecordsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListRecordsCommand)
|
|
22
|
+
.de(de_ListRecordsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_RegisterDeviceCommand, se_RegisterDeviceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class RegisterDeviceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CognitoSyncClient";
|
|
26
|
-
const commandName = "RegisterDeviceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSCognitoSyncService",
|
|
35
|
-
operation: "RegisterDevice",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_RegisterDeviceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_RegisterDeviceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class RegisterDeviceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSCognitoSyncService", "RegisterDevice", {})
|
|
19
|
+
.n("CognitoSyncClient", "RegisterDeviceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_RegisterDeviceCommand)
|
|
22
|
+
.de(de_RegisterDeviceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SetCognitoEventsCommand, se_SetCognitoEventsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SetCognitoEventsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CognitoSyncClient";
|
|
26
|
-
const commandName = "SetCognitoEventsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSCognitoSyncService",
|
|
35
|
-
operation: "SetCognitoEvents",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SetCognitoEventsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SetCognitoEventsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SetCognitoEventsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSCognitoSyncService", "SetCognitoEvents", {})
|
|
19
|
+
.n("CognitoSyncClient", "SetCognitoEventsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SetCognitoEventsCommand)
|
|
22
|
+
.de(de_SetCognitoEventsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SetIdentityPoolConfigurationCommand, se_SetIdentityPoolConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SetIdentityPoolConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CognitoSyncClient";
|
|
26
|
-
const commandName = "SetIdentityPoolConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSCognitoSyncService",
|
|
35
|
-
operation: "SetIdentityPoolConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SetIdentityPoolConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SetIdentityPoolConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SetIdentityPoolConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSCognitoSyncService", "SetIdentityPoolConfiguration", {})
|
|
19
|
+
.n("CognitoSyncClient", "SetIdentityPoolConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SetIdentityPoolConfigurationCommand)
|
|
22
|
+
.de(de_SetIdentityPoolConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SubscribeToDatasetCommand, se_SubscribeToDatasetCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SubscribeToDatasetCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CognitoSyncClient";
|
|
26
|
-
const commandName = "SubscribeToDatasetCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSCognitoSyncService",
|
|
35
|
-
operation: "SubscribeToDataset",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SubscribeToDatasetCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SubscribeToDatasetCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SubscribeToDatasetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSCognitoSyncService", "SubscribeToDataset", {})
|
|
19
|
+
.n("CognitoSyncClient", "SubscribeToDatasetCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SubscribeToDatasetCommand)
|
|
22
|
+
.de(de_SubscribeToDatasetCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UnsubscribeFromDatasetCommand, se_UnsubscribeFromDatasetCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UnsubscribeFromDatasetCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CognitoSyncClient";
|
|
26
|
-
const commandName = "UnsubscribeFromDatasetCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSCognitoSyncService",
|
|
35
|
-
operation: "UnsubscribeFromDataset",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UnsubscribeFromDatasetCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UnsubscribeFromDatasetCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UnsubscribeFromDatasetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSCognitoSyncService", "UnsubscribeFromDataset", {})
|
|
19
|
+
.n("CognitoSyncClient", "UnsubscribeFromDatasetCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UnsubscribeFromDatasetCommand)
|
|
22
|
+
.de(de_UnsubscribeFromDatasetCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateRecordsCommand, se_UpdateRecordsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateRecordsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CognitoSyncClient";
|
|
26
|
-
const commandName = "UpdateRecordsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSCognitoSyncService",
|
|
35
|
-
operation: "UpdateRecords",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateRecordsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateRecordsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateRecordsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSCognitoSyncService", "UpdateRecords", {})
|
|
19
|
+
.n("CognitoSyncClient", "UpdateRecordsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRecordsCommand)
|
|
22
|
+
.de(de_UpdateRecordsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "cognito-sync",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
|
|
5
4
|
import { BulkPublishRequest, BulkPublishResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface BulkPublishCommandInput extends BulkPublishRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface BulkPublishCommandOutput extends BulkPublishResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const BulkPublishCommand_base: {
|
|
24
|
+
new (input: BulkPublishCommandInput): import("@smithy/smithy-client").CommandImpl<BulkPublishCommandInput, BulkPublishCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Initiates a bulk publish of all existing datasets for an Identity Pool to the configured stream. Customers are limited to one successful bulk publish per 24 hours. Bulk publish is an asynchronous request, customers can see the status of the request via the GetBulkPublishDetails operation.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
|
|
@@ -73,23 +76,5 @@ export interface BulkPublishCommandOutput extends BulkPublishResponse, __Metadat
|
|
|
73
76
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
74
77
|
*
|
|
75
78
|
*/
|
|
76
|
-
export declare class BulkPublishCommand extends
|
|
77
|
-
readonly input: BulkPublishCommandInput;
|
|
78
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
-
/**
|
|
80
|
-
* @public
|
|
81
|
-
*/
|
|
82
|
-
constructor(input: BulkPublishCommandInput);
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BulkPublishCommandInput, BulkPublishCommandOutput>;
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
private serialize;
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
private deserialize;
|
|
79
|
+
export declare class BulkPublishCommand extends BulkPublishCommand_base {
|
|
95
80
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
|
|
5
4
|
import { DeleteDatasetRequest, DeleteDatasetResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteDatasetCommandInput extends DeleteDatasetRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteDatasetCommandOutput extends DeleteDatasetResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteDatasetCommand_base: {
|
|
24
|
+
new (input: DeleteDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDatasetCommandInput, DeleteDatasetCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes the specific dataset. The dataset will be deleted permanently, and the action can't
|
|
@@ -89,23 +92,5 @@ export interface DeleteDatasetCommandOutput extends DeleteDatasetResponse, __Met
|
|
|
89
92
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
90
93
|
*
|
|
91
94
|
*/
|
|
92
|
-
export declare class DeleteDatasetCommand extends
|
|
93
|
-
readonly input: DeleteDatasetCommandInput;
|
|
94
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
95
|
-
/**
|
|
96
|
-
* @public
|
|
97
|
-
*/
|
|
98
|
-
constructor(input: DeleteDatasetCommandInput);
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDatasetCommandInput, DeleteDatasetCommandOutput>;
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
private serialize;
|
|
107
|
-
/**
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
110
|
-
private deserialize;
|
|
95
|
+
export declare class DeleteDatasetCommand extends DeleteDatasetCommand_base {
|
|
111
96
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
|
|
5
4
|
import { DescribeDatasetRequest, DescribeDatasetResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeDatasetCommandInput extends DescribeDatasetRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeDatasetCommand_base: {
|
|
24
|
+
new (input: DescribeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeDatasetCommandInput, DescribeDatasetCommandOutput, CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Gets meta data about a dataset by identity and dataset name. With Amazon Cognito Sync, each
|
|
@@ -84,23 +87,5 @@ export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, _
|
|
|
84
87
|
* <p>Base exception class for all service exceptions from CognitoSync service.</p>
|
|
85
88
|
*
|
|
86
89
|
*/
|
|
87
|
-
export declare class DescribeDatasetCommand extends
|
|
88
|
-
readonly input: DescribeDatasetCommandInput;
|
|
89
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
-
/**
|
|
91
|
-
* @public
|
|
92
|
-
*/
|
|
93
|
-
constructor(input: DescribeDatasetCommandInput);
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDatasetCommandInput, DescribeDatasetCommandOutput>;
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
private serialize;
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
|
-
private deserialize;
|
|
90
|
+
export declare class DescribeDatasetCommand extends DescribeDatasetCommand_base {
|
|
106
91
|
}
|