@aws-sdk/client-sqs 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 +45 -246
- package/dist-es/commandBuilder.js +18 -0
- package/dist-es/commands/AddPermissionCommand.js +2 -14
- package/dist-es/commands/CancelMessageMoveTaskCommand.js +2 -14
- package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +2 -14
- package/dist-es/commands/ChangeMessageVisibilityCommand.js +2 -14
- package/dist-es/commands/CreateQueueCommand.js +2 -14
- package/dist-es/commands/DeleteMessageBatchCommand.js +2 -14
- package/dist-es/commands/DeleteMessageCommand.js +2 -14
- package/dist-es/commands/DeleteQueueCommand.js +2 -14
- package/dist-es/commands/GetQueueAttributesCommand.js +2 -14
- package/dist-es/commands/GetQueueUrlCommand.js +2 -14
- package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +2 -14
- package/dist-es/commands/ListMessageMoveTasksCommand.js +2 -14
- package/dist-es/commands/ListQueueTagsCommand.js +2 -14
- package/dist-es/commands/ListQueuesCommand.js +2 -14
- package/dist-es/commands/PurgeQueueCommand.js +2 -14
- package/dist-es/commands/ReceiveMessageCommand.js +2 -20
- package/dist-es/commands/RemovePermissionCommand.js +2 -14
- package/dist-es/commands/SendMessageBatchCommand.js +2 -18
- package/dist-es/commands/SendMessageCommand.js +2 -18
- package/dist-es/commands/SetQueueAttributesCommand.js +2 -14
- package/dist-es/commands/StartMessageMoveTaskCommand.js +2 -14
- package/dist-es/commands/TagQueueCommand.js +2 -14
- package/dist-es/commands/UntagQueueCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -4
- package/dist-es/runtimeConfig.js +1 -3
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/commandBuilder.d.ts +30 -0
- package/dist-types/commands/AddPermissionCommand.d.ts +3 -8
- package/dist-types/commands/CancelMessageMoveTaskCommand.d.ts +3 -8
- package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +3 -8
- package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +3 -8
- package/dist-types/commands/CreateQueueCommand.d.ts +3 -8
- package/dist-types/commands/DeleteMessageBatchCommand.d.ts +3 -8
- package/dist-types/commands/DeleteMessageCommand.d.ts +3 -8
- package/dist-types/commands/DeleteQueueCommand.d.ts +3 -8
- package/dist-types/commands/GetQueueAttributesCommand.d.ts +3 -8
- package/dist-types/commands/GetQueueUrlCommand.d.ts +3 -8
- package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +3 -8
- package/dist-types/commands/ListMessageMoveTasksCommand.d.ts +3 -8
- package/dist-types/commands/ListQueueTagsCommand.d.ts +3 -8
- package/dist-types/commands/ListQueuesCommand.d.ts +3 -8
- package/dist-types/commands/PurgeQueueCommand.d.ts +3 -8
- package/dist-types/commands/ReceiveMessageCommand.d.ts +3 -8
- package/dist-types/commands/RemovePermissionCommand.d.ts +3 -8
- package/dist-types/commands/SendMessageBatchCommand.d.ts +3 -8
- package/dist-types/commands/SendMessageCommand.d.ts +3 -8
- package/dist-types/commands/SetQueueAttributesCommand.d.ts +3 -8
- package/dist-types/commands/StartMessageMoveTaskCommand.d.ts +3 -8
- package/dist-types/commands/TagQueueCommand.d.ts +3 -8
- package/dist-types/commands/UntagQueueCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +25 -26
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +64 -0
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CancelMessageMoveTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ChangeMessageVisibilityBatchCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ChangeMessageVisibilityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteMessageBatchCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetQueueAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetQueueUrlCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListDeadLetterSourceQueuesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListMessageMoveTasksCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListQueueTagsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PurgeQueueCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ReceiveMessageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SendMessageBatchCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SetQueueAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartMessageMoveTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagQueueCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagQueueCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -42
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +10 -12
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getLongPollPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { resolveQueueUrlConfig, getQueueUrlPlugin, getReceiveMessagePlugin, getSendMessageBatchPlugin, getSendMessagePlugin } = require("@aws-sdk/middleware-sdk-sqs");
|
|
3
3
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
5
|
-
|
|
4
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
6
|
+
exports.$Command = $Command;
|
|
6
7
|
exports.__Client = Client;
|
|
7
8
|
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");
|
|
8
9
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -11,9 +12,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
11
12
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
13
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
13
14
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
14
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
15
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
15
16
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
16
17
|
const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
|
|
18
|
+
const { Sha256, Md5 } = require("@smithy/core/checksum");
|
|
17
19
|
|
|
18
20
|
const defaultSQSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
21
|
return {
|
|
@@ -68,7 +70,7 @@ const commonParams = {
|
|
|
68
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
71
|
};
|
|
70
72
|
|
|
71
|
-
var version = "3.
|
|
73
|
+
var version = "3.1077.0";
|
|
72
74
|
var packageInfo = {
|
|
73
75
|
version: version};
|
|
74
76
|
|
|
@@ -1244,6 +1246,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1244
1246
|
},
|
|
1245
1247
|
],
|
|
1246
1248
|
logger: config?.logger ?? new NoOpLogger(),
|
|
1249
|
+
md5: config?.md5 ?? Md5,
|
|
1247
1250
|
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
1248
1251
|
protocolSettings: config?.protocolSettings ?? {
|
|
1249
1252
|
defaultNamespace: "com.amazonaws.sqs",
|
|
@@ -1253,6 +1256,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1253
1256
|
awsQueryCompatible: true,
|
|
1254
1257
|
},
|
|
1255
1258
|
serviceId: config?.serviceId ?? "SQS",
|
|
1259
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1256
1260
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1257
1261
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1258
1262
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1279,7 +1283,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1279
1283
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
1280
1284
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
1281
1285
|
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1282
|
-
md5: config?.md5 ?? Hash.bind(null, "md5"),
|
|
1283
1286
|
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
1284
1287
|
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1285
1288
|
retryMode: config?.retryMode ??
|
|
@@ -1287,7 +1290,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1287
1290
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1288
1291
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1289
1292
|
}, config),
|
|
1290
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1291
1293
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1292
1294
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1293
1295
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1377,290 +1379,87 @@ class SQSClient extends Client {
|
|
|
1377
1379
|
}
|
|
1378
1380
|
}
|
|
1379
1381
|
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1382
|
+
const command = makeBuilder(commonParams, "AmazonSQS", "SQSClient", getEndpointPlugin);
|
|
1383
|
+
const _ep0 = {};
|
|
1384
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1385
|
+
const _mw1 = (Command, cs, config, o) => [
|
|
1386
|
+
getReceiveMessagePlugin(config),
|
|
1387
|
+
getLongPollPlugin(config),
|
|
1388
|
+
];
|
|
1389
|
+
const _mw2 = (Command, cs, config, o) => [
|
|
1390
|
+
getSendMessageBatchPlugin(config),
|
|
1391
|
+
];
|
|
1392
|
+
const _mw3 = (Command, cs, config, o) => [
|
|
1393
|
+
getSendMessagePlugin(config),
|
|
1394
|
+
];
|
|
1395
|
+
|
|
1396
|
+
class AddPermissionCommand extends command(_ep0, _mw0, "AddPermission", AddPermission$) {
|
|
1390
1397
|
}
|
|
1391
1398
|
|
|
1392
|
-
class CancelMessageMoveTaskCommand extends
|
|
1393
|
-
.classBuilder()
|
|
1394
|
-
.ep(commonParams)
|
|
1395
|
-
.m(function (Command, cs, config, o) {
|
|
1396
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1397
|
-
})
|
|
1398
|
-
.s("AmazonSQS", "CancelMessageMoveTask", {})
|
|
1399
|
-
.n("SQSClient", "CancelMessageMoveTaskCommand")
|
|
1400
|
-
.sc(CancelMessageMoveTask$)
|
|
1401
|
-
.build() {
|
|
1399
|
+
class CancelMessageMoveTaskCommand extends command(_ep0, _mw0, "CancelMessageMoveTask", CancelMessageMoveTask$) {
|
|
1402
1400
|
}
|
|
1403
1401
|
|
|
1404
|
-
class ChangeMessageVisibilityBatchCommand extends
|
|
1405
|
-
.classBuilder()
|
|
1406
|
-
.ep(commonParams)
|
|
1407
|
-
.m(function (Command, cs, config, o) {
|
|
1408
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1409
|
-
})
|
|
1410
|
-
.s("AmazonSQS", "ChangeMessageVisibilityBatch", {})
|
|
1411
|
-
.n("SQSClient", "ChangeMessageVisibilityBatchCommand")
|
|
1412
|
-
.sc(ChangeMessageVisibilityBatch$)
|
|
1413
|
-
.build() {
|
|
1402
|
+
class ChangeMessageVisibilityBatchCommand extends command(_ep0, _mw0, "ChangeMessageVisibilityBatch", ChangeMessageVisibilityBatch$) {
|
|
1414
1403
|
}
|
|
1415
1404
|
|
|
1416
|
-
class ChangeMessageVisibilityCommand extends
|
|
1417
|
-
.classBuilder()
|
|
1418
|
-
.ep(commonParams)
|
|
1419
|
-
.m(function (Command, cs, config, o) {
|
|
1420
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1421
|
-
})
|
|
1422
|
-
.s("AmazonSQS", "ChangeMessageVisibility", {})
|
|
1423
|
-
.n("SQSClient", "ChangeMessageVisibilityCommand")
|
|
1424
|
-
.sc(ChangeMessageVisibility$)
|
|
1425
|
-
.build() {
|
|
1405
|
+
class ChangeMessageVisibilityCommand extends command(_ep0, _mw0, "ChangeMessageVisibility", ChangeMessageVisibility$) {
|
|
1426
1406
|
}
|
|
1427
1407
|
|
|
1428
|
-
class CreateQueueCommand extends
|
|
1429
|
-
.classBuilder()
|
|
1430
|
-
.ep(commonParams)
|
|
1431
|
-
.m(function (Command, cs, config, o) {
|
|
1432
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1433
|
-
})
|
|
1434
|
-
.s("AmazonSQS", "CreateQueue", {})
|
|
1435
|
-
.n("SQSClient", "CreateQueueCommand")
|
|
1436
|
-
.sc(CreateQueue$)
|
|
1437
|
-
.build() {
|
|
1408
|
+
class CreateQueueCommand extends command(_ep0, _mw0, "CreateQueue", CreateQueue$) {
|
|
1438
1409
|
}
|
|
1439
1410
|
|
|
1440
|
-
class DeleteMessageBatchCommand extends
|
|
1441
|
-
.classBuilder()
|
|
1442
|
-
.ep(commonParams)
|
|
1443
|
-
.m(function (Command, cs, config, o) {
|
|
1444
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1445
|
-
})
|
|
1446
|
-
.s("AmazonSQS", "DeleteMessageBatch", {})
|
|
1447
|
-
.n("SQSClient", "DeleteMessageBatchCommand")
|
|
1448
|
-
.sc(DeleteMessageBatch$)
|
|
1449
|
-
.build() {
|
|
1411
|
+
class DeleteMessageBatchCommand extends command(_ep0, _mw0, "DeleteMessageBatch", DeleteMessageBatch$) {
|
|
1450
1412
|
}
|
|
1451
1413
|
|
|
1452
|
-
class DeleteMessageCommand extends
|
|
1453
|
-
.classBuilder()
|
|
1454
|
-
.ep(commonParams)
|
|
1455
|
-
.m(function (Command, cs, config, o) {
|
|
1456
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1457
|
-
})
|
|
1458
|
-
.s("AmazonSQS", "DeleteMessage", {})
|
|
1459
|
-
.n("SQSClient", "DeleteMessageCommand")
|
|
1460
|
-
.sc(DeleteMessage$)
|
|
1461
|
-
.build() {
|
|
1414
|
+
class DeleteMessageCommand extends command(_ep0, _mw0, "DeleteMessage", DeleteMessage$) {
|
|
1462
1415
|
}
|
|
1463
1416
|
|
|
1464
|
-
class DeleteQueueCommand extends
|
|
1465
|
-
.classBuilder()
|
|
1466
|
-
.ep(commonParams)
|
|
1467
|
-
.m(function (Command, cs, config, o) {
|
|
1468
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1469
|
-
})
|
|
1470
|
-
.s("AmazonSQS", "DeleteQueue", {})
|
|
1471
|
-
.n("SQSClient", "DeleteQueueCommand")
|
|
1472
|
-
.sc(DeleteQueue$)
|
|
1473
|
-
.build() {
|
|
1417
|
+
class DeleteQueueCommand extends command(_ep0, _mw0, "DeleteQueue", DeleteQueue$) {
|
|
1474
1418
|
}
|
|
1475
1419
|
|
|
1476
|
-
class GetQueueAttributesCommand extends
|
|
1477
|
-
.classBuilder()
|
|
1478
|
-
.ep(commonParams)
|
|
1479
|
-
.m(function (Command, cs, config, o) {
|
|
1480
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1481
|
-
})
|
|
1482
|
-
.s("AmazonSQS", "GetQueueAttributes", {})
|
|
1483
|
-
.n("SQSClient", "GetQueueAttributesCommand")
|
|
1484
|
-
.sc(GetQueueAttributes$)
|
|
1485
|
-
.build() {
|
|
1420
|
+
class GetQueueAttributesCommand extends command(_ep0, _mw0, "GetQueueAttributes", GetQueueAttributes$) {
|
|
1486
1421
|
}
|
|
1487
1422
|
|
|
1488
|
-
class GetQueueUrlCommand extends
|
|
1489
|
-
.classBuilder()
|
|
1490
|
-
.ep(commonParams)
|
|
1491
|
-
.m(function (Command, cs, config, o) {
|
|
1492
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1493
|
-
})
|
|
1494
|
-
.s("AmazonSQS", "GetQueueUrl", {})
|
|
1495
|
-
.n("SQSClient", "GetQueueUrlCommand")
|
|
1496
|
-
.sc(GetQueueUrl$)
|
|
1497
|
-
.build() {
|
|
1423
|
+
class GetQueueUrlCommand extends command(_ep0, _mw0, "GetQueueUrl", GetQueueUrl$) {
|
|
1498
1424
|
}
|
|
1499
1425
|
|
|
1500
|
-
class ListDeadLetterSourceQueuesCommand extends
|
|
1501
|
-
.classBuilder()
|
|
1502
|
-
.ep(commonParams)
|
|
1503
|
-
.m(function (Command, cs, config, o) {
|
|
1504
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1505
|
-
})
|
|
1506
|
-
.s("AmazonSQS", "ListDeadLetterSourceQueues", {})
|
|
1507
|
-
.n("SQSClient", "ListDeadLetterSourceQueuesCommand")
|
|
1508
|
-
.sc(ListDeadLetterSourceQueues$)
|
|
1509
|
-
.build() {
|
|
1426
|
+
class ListDeadLetterSourceQueuesCommand extends command(_ep0, _mw0, "ListDeadLetterSourceQueues", ListDeadLetterSourceQueues$) {
|
|
1510
1427
|
}
|
|
1511
1428
|
|
|
1512
|
-
class ListMessageMoveTasksCommand extends
|
|
1513
|
-
.classBuilder()
|
|
1514
|
-
.ep(commonParams)
|
|
1515
|
-
.m(function (Command, cs, config, o) {
|
|
1516
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1517
|
-
})
|
|
1518
|
-
.s("AmazonSQS", "ListMessageMoveTasks", {})
|
|
1519
|
-
.n("SQSClient", "ListMessageMoveTasksCommand")
|
|
1520
|
-
.sc(ListMessageMoveTasks$)
|
|
1521
|
-
.build() {
|
|
1429
|
+
class ListMessageMoveTasksCommand extends command(_ep0, _mw0, "ListMessageMoveTasks", ListMessageMoveTasks$) {
|
|
1522
1430
|
}
|
|
1523
1431
|
|
|
1524
|
-
class ListQueuesCommand extends
|
|
1525
|
-
.classBuilder()
|
|
1526
|
-
.ep(commonParams)
|
|
1527
|
-
.m(function (Command, cs, config, o) {
|
|
1528
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1529
|
-
})
|
|
1530
|
-
.s("AmazonSQS", "ListQueues", {})
|
|
1531
|
-
.n("SQSClient", "ListQueuesCommand")
|
|
1532
|
-
.sc(ListQueues$)
|
|
1533
|
-
.build() {
|
|
1432
|
+
class ListQueuesCommand extends command(_ep0, _mw0, "ListQueues", ListQueues$) {
|
|
1534
1433
|
}
|
|
1535
1434
|
|
|
1536
|
-
class ListQueueTagsCommand extends
|
|
1537
|
-
.classBuilder()
|
|
1538
|
-
.ep(commonParams)
|
|
1539
|
-
.m(function (Command, cs, config, o) {
|
|
1540
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1541
|
-
})
|
|
1542
|
-
.s("AmazonSQS", "ListQueueTags", {})
|
|
1543
|
-
.n("SQSClient", "ListQueueTagsCommand")
|
|
1544
|
-
.sc(ListQueueTags$)
|
|
1545
|
-
.build() {
|
|
1435
|
+
class ListQueueTagsCommand extends command(_ep0, _mw0, "ListQueueTags", ListQueueTags$) {
|
|
1546
1436
|
}
|
|
1547
1437
|
|
|
1548
|
-
class PurgeQueueCommand extends
|
|
1549
|
-
.classBuilder()
|
|
1550
|
-
.ep(commonParams)
|
|
1551
|
-
.m(function (Command, cs, config, o) {
|
|
1552
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1553
|
-
})
|
|
1554
|
-
.s("AmazonSQS", "PurgeQueue", {})
|
|
1555
|
-
.n("SQSClient", "PurgeQueueCommand")
|
|
1556
|
-
.sc(PurgeQueue$)
|
|
1557
|
-
.build() {
|
|
1438
|
+
class PurgeQueueCommand extends command(_ep0, _mw0, "PurgeQueue", PurgeQueue$) {
|
|
1558
1439
|
}
|
|
1559
1440
|
|
|
1560
|
-
class ReceiveMessageCommand extends
|
|
1561
|
-
.classBuilder()
|
|
1562
|
-
.ep(commonParams)
|
|
1563
|
-
.m(function (Command, cs, config, o) {
|
|
1564
|
-
return [
|
|
1565
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1566
|
-
getReceiveMessagePlugin(config),
|
|
1567
|
-
getLongPollPlugin(config),
|
|
1568
|
-
];
|
|
1569
|
-
})
|
|
1570
|
-
.s("AmazonSQS", "ReceiveMessage", {})
|
|
1571
|
-
.n("SQSClient", "ReceiveMessageCommand")
|
|
1572
|
-
.sc(ReceiveMessage$)
|
|
1573
|
-
.build() {
|
|
1441
|
+
class ReceiveMessageCommand extends command(_ep0, _mw1, "ReceiveMessage", ReceiveMessage$) {
|
|
1574
1442
|
}
|
|
1575
1443
|
|
|
1576
|
-
class RemovePermissionCommand extends
|
|
1577
|
-
.classBuilder()
|
|
1578
|
-
.ep(commonParams)
|
|
1579
|
-
.m(function (Command, cs, config, o) {
|
|
1580
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1581
|
-
})
|
|
1582
|
-
.s("AmazonSQS", "RemovePermission", {})
|
|
1583
|
-
.n("SQSClient", "RemovePermissionCommand")
|
|
1584
|
-
.sc(RemovePermission$)
|
|
1585
|
-
.build() {
|
|
1444
|
+
class RemovePermissionCommand extends command(_ep0, _mw0, "RemovePermission", RemovePermission$) {
|
|
1586
1445
|
}
|
|
1587
1446
|
|
|
1588
|
-
class SendMessageBatchCommand extends
|
|
1589
|
-
.classBuilder()
|
|
1590
|
-
.ep(commonParams)
|
|
1591
|
-
.m(function (Command, cs, config, o) {
|
|
1592
|
-
return [
|
|
1593
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1594
|
-
getSendMessageBatchPlugin(config),
|
|
1595
|
-
];
|
|
1596
|
-
})
|
|
1597
|
-
.s("AmazonSQS", "SendMessageBatch", {})
|
|
1598
|
-
.n("SQSClient", "SendMessageBatchCommand")
|
|
1599
|
-
.sc(SendMessageBatch$)
|
|
1600
|
-
.build() {
|
|
1447
|
+
class SendMessageBatchCommand extends command(_ep0, _mw2, "SendMessageBatch", SendMessageBatch$) {
|
|
1601
1448
|
}
|
|
1602
1449
|
|
|
1603
|
-
class SendMessageCommand extends
|
|
1604
|
-
.classBuilder()
|
|
1605
|
-
.ep(commonParams)
|
|
1606
|
-
.m(function (Command, cs, config, o) {
|
|
1607
|
-
return [
|
|
1608
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1609
|
-
getSendMessagePlugin(config),
|
|
1610
|
-
];
|
|
1611
|
-
})
|
|
1612
|
-
.s("AmazonSQS", "SendMessage", {})
|
|
1613
|
-
.n("SQSClient", "SendMessageCommand")
|
|
1614
|
-
.sc(SendMessage$)
|
|
1615
|
-
.build() {
|
|
1450
|
+
class SendMessageCommand extends command(_ep0, _mw3, "SendMessage", SendMessage$) {
|
|
1616
1451
|
}
|
|
1617
1452
|
|
|
1618
|
-
class SetQueueAttributesCommand extends
|
|
1619
|
-
.classBuilder()
|
|
1620
|
-
.ep(commonParams)
|
|
1621
|
-
.m(function (Command, cs, config, o) {
|
|
1622
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1623
|
-
})
|
|
1624
|
-
.s("AmazonSQS", "SetQueueAttributes", {})
|
|
1625
|
-
.n("SQSClient", "SetQueueAttributesCommand")
|
|
1626
|
-
.sc(SetQueueAttributes$)
|
|
1627
|
-
.build() {
|
|
1453
|
+
class SetQueueAttributesCommand extends command(_ep0, _mw0, "SetQueueAttributes", SetQueueAttributes$) {
|
|
1628
1454
|
}
|
|
1629
1455
|
|
|
1630
|
-
class StartMessageMoveTaskCommand extends
|
|
1631
|
-
.classBuilder()
|
|
1632
|
-
.ep(commonParams)
|
|
1633
|
-
.m(function (Command, cs, config, o) {
|
|
1634
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1635
|
-
})
|
|
1636
|
-
.s("AmazonSQS", "StartMessageMoveTask", {})
|
|
1637
|
-
.n("SQSClient", "StartMessageMoveTaskCommand")
|
|
1638
|
-
.sc(StartMessageMoveTask$)
|
|
1639
|
-
.build() {
|
|
1456
|
+
class StartMessageMoveTaskCommand extends command(_ep0, _mw0, "StartMessageMoveTask", StartMessageMoveTask$) {
|
|
1640
1457
|
}
|
|
1641
1458
|
|
|
1642
|
-
class TagQueueCommand extends
|
|
1643
|
-
.classBuilder()
|
|
1644
|
-
.ep(commonParams)
|
|
1645
|
-
.m(function (Command, cs, config, o) {
|
|
1646
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1647
|
-
})
|
|
1648
|
-
.s("AmazonSQS", "TagQueue", {})
|
|
1649
|
-
.n("SQSClient", "TagQueueCommand")
|
|
1650
|
-
.sc(TagQueue$)
|
|
1651
|
-
.build() {
|
|
1459
|
+
class TagQueueCommand extends command(_ep0, _mw0, "TagQueue", TagQueue$) {
|
|
1652
1460
|
}
|
|
1653
1461
|
|
|
1654
|
-
class UntagQueueCommand extends
|
|
1655
|
-
.classBuilder()
|
|
1656
|
-
.ep(commonParams)
|
|
1657
|
-
.m(function (Command, cs, config, o) {
|
|
1658
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1659
|
-
})
|
|
1660
|
-
.s("AmazonSQS", "UntagQueue", {})
|
|
1661
|
-
.n("SQSClient", "UntagQueueCommand")
|
|
1662
|
-
.sc(UntagQueue$)
|
|
1663
|
-
.build() {
|
|
1462
|
+
class UntagQueueCommand extends command(_ep0, _mw0, "UntagQueue", UntagQueue$) {
|
|
1664
1463
|
}
|
|
1665
1464
|
|
|
1666
1465
|
const paginateListDeadLetterSourceQueues = createPaginator(SQSClient, ListDeadLetterSourceQueuesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { getLongPollPlugin } from "@aws-sdk/core/client";
|
|
2
|
+
import { getReceiveMessagePlugin, getSendMessageBatchPlugin, getSendMessagePlugin } from "@aws-sdk/middleware-sdk-sqs";
|
|
3
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
6
|
+
export const command = makeBuilder(commonParams, "AmazonSQS", "SQSClient", getEndpointPlugin);
|
|
7
|
+
export const _ep0 = {};
|
|
8
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
9
|
+
export const _mw1 = (Command, cs, config, o) => [
|
|
10
|
+
getReceiveMessagePlugin(config),
|
|
11
|
+
getLongPollPlugin(config),
|
|
12
|
+
];
|
|
13
|
+
export const _mw2 = (Command, cs, config, o) => [
|
|
14
|
+
getSendMessageBatchPlugin(config),
|
|
15
|
+
];
|
|
16
|
+
export const _mw3 = (Command, cs, config, o) => [
|
|
17
|
+
getSendMessagePlugin(config),
|
|
18
|
+
];
|
|
@@ -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 { AddPermission$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AddPermissionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSQS", "AddPermission", {})
|
|
13
|
-
.n("SQSClient", "AddPermissionCommand")
|
|
14
|
-
.sc(AddPermission$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AddPermissionCommand extends command(_ep0, _mw0, "AddPermission", AddPermission$) {
|
|
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 { CancelMessageMoveTask$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CancelMessageMoveTaskCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSQS", "CancelMessageMoveTask", {})
|
|
13
|
-
.n("SQSClient", "CancelMessageMoveTaskCommand")
|
|
14
|
-
.sc(CancelMessageMoveTask$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CancelMessageMoveTaskCommand extends command(_ep0, _mw0, "CancelMessageMoveTask", CancelMessageMoveTask$) {
|
|
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 { ChangeMessageVisibilityBatch$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ChangeMessageVisibilityBatchCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSQS", "ChangeMessageVisibilityBatch", {})
|
|
13
|
-
.n("SQSClient", "ChangeMessageVisibilityBatchCommand")
|
|
14
|
-
.sc(ChangeMessageVisibilityBatch$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ChangeMessageVisibilityBatchCommand extends command(_ep0, _mw0, "ChangeMessageVisibilityBatch", ChangeMessageVisibilityBatch$) {
|
|
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 { ChangeMessageVisibility$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ChangeMessageVisibilityCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSQS", "ChangeMessageVisibility", {})
|
|
13
|
-
.n("SQSClient", "ChangeMessageVisibilityCommand")
|
|
14
|
-
.sc(ChangeMessageVisibility$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ChangeMessageVisibilityCommand extends command(_ep0, _mw0, "ChangeMessageVisibility", ChangeMessageVisibility$) {
|
|
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 { CreateQueue$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateQueueCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSQS", "CreateQueue", {})
|
|
13
|
-
.n("SQSClient", "CreateQueueCommand")
|
|
14
|
-
.sc(CreateQueue$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateQueueCommand extends command(_ep0, _mw0, "CreateQueue", CreateQueue$) {
|
|
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 { DeleteMessageBatch$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteMessageBatchCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSQS", "DeleteMessageBatch", {})
|
|
13
|
-
.n("SQSClient", "DeleteMessageBatchCommand")
|
|
14
|
-
.sc(DeleteMessageBatch$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteMessageBatchCommand extends command(_ep0, _mw0, "DeleteMessageBatch", DeleteMessageBatch$) {
|
|
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 { DeleteMessage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteMessageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSQS", "DeleteMessage", {})
|
|
13
|
-
.n("SQSClient", "DeleteMessageCommand")
|
|
14
|
-
.sc(DeleteMessage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteMessageCommand extends command(_ep0, _mw0, "DeleteMessage", DeleteMessage$) {
|
|
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 { DeleteQueue$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteQueueCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSQS", "DeleteQueue", {})
|
|
13
|
-
.n("SQSClient", "DeleteQueueCommand")
|
|
14
|
-
.sc(DeleteQueue$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteQueueCommand extends command(_ep0, _mw0, "DeleteQueue", DeleteQueue$) {
|
|
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 { GetQueueAttributes$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetQueueAttributesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSQS", "GetQueueAttributes", {})
|
|
13
|
-
.n("SQSClient", "GetQueueAttributesCommand")
|
|
14
|
-
.sc(GetQueueAttributes$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetQueueAttributesCommand extends command(_ep0, _mw0, "GetQueueAttributes", GetQueueAttributes$) {
|
|
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 { GetQueueUrl$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetQueueUrlCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSQS", "GetQueueUrl", {})
|
|
13
|
-
.n("SQSClient", "GetQueueUrlCommand")
|
|
14
|
-
.sc(GetQueueUrl$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetQueueUrlCommand extends command(_ep0, _mw0, "GetQueueUrl", GetQueueUrl$) {
|
|
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 { ListDeadLetterSourceQueues$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListDeadLetterSourceQueuesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSQS", "ListDeadLetterSourceQueues", {})
|
|
13
|
-
.n("SQSClient", "ListDeadLetterSourceQueuesCommand")
|
|
14
|
-
.sc(ListDeadLetterSourceQueues$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListDeadLetterSourceQueuesCommand extends command(_ep0, _mw0, "ListDeadLetterSourceQueues", ListDeadLetterSourceQueues$) {
|
|
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 { ListMessageMoveTasks$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListMessageMoveTasksCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSQS", "ListMessageMoveTasks", {})
|
|
13
|
-
.n("SQSClient", "ListMessageMoveTasksCommand")
|
|
14
|
-
.sc(ListMessageMoveTasks$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListMessageMoveTasksCommand extends command(_ep0, _mw0, "ListMessageMoveTasks", ListMessageMoveTasks$) {
|
|
16
4
|
}
|