@aws-sdk/client-firehose 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.
Files changed (44) hide show
  1. package/dist-cjs/index.js +20 -123
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateDeliveryStreamCommand.js +2 -14
  4. package/dist-es/commands/DeleteDeliveryStreamCommand.js +2 -14
  5. package/dist-es/commands/DescribeDeliveryStreamCommand.js +2 -14
  6. package/dist-es/commands/ListDeliveryStreamsCommand.js +2 -14
  7. package/dist-es/commands/ListTagsForDeliveryStreamCommand.js +2 -14
  8. package/dist-es/commands/PutRecordBatchCommand.js +2 -14
  9. package/dist-es/commands/PutRecordCommand.js +2 -14
  10. package/dist-es/commands/StartDeliveryStreamEncryptionCommand.js +2 -14
  11. package/dist-es/commands/StopDeliveryStreamEncryptionCommand.js +2 -14
  12. package/dist-es/commands/TagDeliveryStreamCommand.js +2 -14
  13. package/dist-es/commands/UntagDeliveryStreamCommand.js +2 -14
  14. package/dist-es/commands/UpdateDestinationCommand.js +2 -14
  15. package/dist-es/index.js +1 -0
  16. package/dist-types/commandBuilder.d.ts +18 -0
  17. package/dist-types/commands/CreateDeliveryStreamCommand.d.ts +3 -8
  18. package/dist-types/commands/DeleteDeliveryStreamCommand.d.ts +3 -8
  19. package/dist-types/commands/DescribeDeliveryStreamCommand.d.ts +3 -8
  20. package/dist-types/commands/ListDeliveryStreamsCommand.d.ts +3 -8
  21. package/dist-types/commands/ListTagsForDeliveryStreamCommand.d.ts +3 -8
  22. package/dist-types/commands/PutRecordBatchCommand.d.ts +3 -8
  23. package/dist-types/commands/PutRecordCommand.d.ts +3 -8
  24. package/dist-types/commands/StartDeliveryStreamEncryptionCommand.d.ts +3 -8
  25. package/dist-types/commands/StopDeliveryStreamEncryptionCommand.d.ts +3 -8
  26. package/dist-types/commands/TagDeliveryStreamCommand.d.ts +3 -8
  27. package/dist-types/commands/UntagDeliveryStreamCommand.d.ts +3 -8
  28. package/dist-types/commands/UpdateDestinationCommand.d.ts +3 -8
  29. package/dist-types/index.d.ts +1 -0
  30. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  31. package/dist-types/ts3.4/commands/CreateDeliveryStreamCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/DeleteDeliveryStreamCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/DescribeDeliveryStreamCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/ListDeliveryStreamsCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/ListTagsForDeliveryStreamCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/PutRecordBatchCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/PutRecordCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/StartDeliveryStreamEncryptionCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/StopDeliveryStreamEncryptionCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/TagDeliveryStreamCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/UntagDeliveryStreamCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/UpdateDestinationCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/index.d.ts +1 -0
  44. 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, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
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.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1502,148 +1503,44 @@ class FirehoseClient extends Client {
1502
1503
  }
1503
1504
  }
1504
1505
 
1505
- class CreateDeliveryStreamCommand extends Command
1506
- .classBuilder()
1507
- .ep(commonParams)
1508
- .m(function (Command, cs, config, o) {
1509
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1510
- })
1511
- .s("Firehose_20150804", "CreateDeliveryStream", {})
1512
- .n("FirehoseClient", "CreateDeliveryStreamCommand")
1513
- .sc(CreateDeliveryStream$)
1514
- .build() {
1506
+ const command = makeBuilder(commonParams, "Firehose_20150804", "FirehoseClient", getEndpointPlugin);
1507
+ const _ep0 = {};
1508
+ const _mw0 = (Command, cs, config, o) => [];
1509
+
1510
+ class CreateDeliveryStreamCommand extends command(_ep0, _mw0, "CreateDeliveryStream", CreateDeliveryStream$) {
1515
1511
  }
1516
1512
 
1517
- class DeleteDeliveryStreamCommand extends Command
1518
- .classBuilder()
1519
- .ep(commonParams)
1520
- .m(function (Command, cs, config, o) {
1521
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1522
- })
1523
- .s("Firehose_20150804", "DeleteDeliveryStream", {})
1524
- .n("FirehoseClient", "DeleteDeliveryStreamCommand")
1525
- .sc(DeleteDeliveryStream$)
1526
- .build() {
1513
+ class DeleteDeliveryStreamCommand extends command(_ep0, _mw0, "DeleteDeliveryStream", DeleteDeliveryStream$) {
1527
1514
  }
1528
1515
 
1529
- class DescribeDeliveryStreamCommand extends Command
1530
- .classBuilder()
1531
- .ep(commonParams)
1532
- .m(function (Command, cs, config, o) {
1533
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1534
- })
1535
- .s("Firehose_20150804", "DescribeDeliveryStream", {})
1536
- .n("FirehoseClient", "DescribeDeliveryStreamCommand")
1537
- .sc(DescribeDeliveryStream$)
1538
- .build() {
1516
+ class DescribeDeliveryStreamCommand extends command(_ep0, _mw0, "DescribeDeliveryStream", DescribeDeliveryStream$) {
1539
1517
  }
1540
1518
 
1541
- class ListDeliveryStreamsCommand extends Command
1542
- .classBuilder()
1543
- .ep(commonParams)
1544
- .m(function (Command, cs, config, o) {
1545
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1546
- })
1547
- .s("Firehose_20150804", "ListDeliveryStreams", {})
1548
- .n("FirehoseClient", "ListDeliveryStreamsCommand")
1549
- .sc(ListDeliveryStreams$)
1550
- .build() {
1519
+ class ListDeliveryStreamsCommand extends command(_ep0, _mw0, "ListDeliveryStreams", ListDeliveryStreams$) {
1551
1520
  }
1552
1521
 
1553
- class ListTagsForDeliveryStreamCommand extends Command
1554
- .classBuilder()
1555
- .ep(commonParams)
1556
- .m(function (Command, cs, config, o) {
1557
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1558
- })
1559
- .s("Firehose_20150804", "ListTagsForDeliveryStream", {})
1560
- .n("FirehoseClient", "ListTagsForDeliveryStreamCommand")
1561
- .sc(ListTagsForDeliveryStream$)
1562
- .build() {
1522
+ class ListTagsForDeliveryStreamCommand extends command(_ep0, _mw0, "ListTagsForDeliveryStream", ListTagsForDeliveryStream$) {
1563
1523
  }
1564
1524
 
1565
- class PutRecordBatchCommand extends Command
1566
- .classBuilder()
1567
- .ep(commonParams)
1568
- .m(function (Command, cs, config, o) {
1569
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1570
- })
1571
- .s("Firehose_20150804", "PutRecordBatch", {})
1572
- .n("FirehoseClient", "PutRecordBatchCommand")
1573
- .sc(PutRecordBatch$)
1574
- .build() {
1525
+ class PutRecordBatchCommand extends command(_ep0, _mw0, "PutRecordBatch", PutRecordBatch$) {
1575
1526
  }
1576
1527
 
1577
- class PutRecordCommand extends Command
1578
- .classBuilder()
1579
- .ep(commonParams)
1580
- .m(function (Command, cs, config, o) {
1581
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1582
- })
1583
- .s("Firehose_20150804", "PutRecord", {})
1584
- .n("FirehoseClient", "PutRecordCommand")
1585
- .sc(PutRecord$)
1586
- .build() {
1528
+ class PutRecordCommand extends command(_ep0, _mw0, "PutRecord", PutRecord$) {
1587
1529
  }
1588
1530
 
1589
- class StartDeliveryStreamEncryptionCommand extends Command
1590
- .classBuilder()
1591
- .ep(commonParams)
1592
- .m(function (Command, cs, config, o) {
1593
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1594
- })
1595
- .s("Firehose_20150804", "StartDeliveryStreamEncryption", {})
1596
- .n("FirehoseClient", "StartDeliveryStreamEncryptionCommand")
1597
- .sc(StartDeliveryStreamEncryption$)
1598
- .build() {
1531
+ class StartDeliveryStreamEncryptionCommand extends command(_ep0, _mw0, "StartDeliveryStreamEncryption", StartDeliveryStreamEncryption$) {
1599
1532
  }
1600
1533
 
1601
- class StopDeliveryStreamEncryptionCommand extends Command
1602
- .classBuilder()
1603
- .ep(commonParams)
1604
- .m(function (Command, cs, config, o) {
1605
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1606
- })
1607
- .s("Firehose_20150804", "StopDeliveryStreamEncryption", {})
1608
- .n("FirehoseClient", "StopDeliveryStreamEncryptionCommand")
1609
- .sc(StopDeliveryStreamEncryption$)
1610
- .build() {
1534
+ class StopDeliveryStreamEncryptionCommand extends command(_ep0, _mw0, "StopDeliveryStreamEncryption", StopDeliveryStreamEncryption$) {
1611
1535
  }
1612
1536
 
1613
- class TagDeliveryStreamCommand extends Command
1614
- .classBuilder()
1615
- .ep(commonParams)
1616
- .m(function (Command, cs, config, o) {
1617
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1618
- })
1619
- .s("Firehose_20150804", "TagDeliveryStream", {})
1620
- .n("FirehoseClient", "TagDeliveryStreamCommand")
1621
- .sc(TagDeliveryStream$)
1622
- .build() {
1537
+ class TagDeliveryStreamCommand extends command(_ep0, _mw0, "TagDeliveryStream", TagDeliveryStream$) {
1623
1538
  }
1624
1539
 
1625
- class UntagDeliveryStreamCommand extends Command
1626
- .classBuilder()
1627
- .ep(commonParams)
1628
- .m(function (Command, cs, config, o) {
1629
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1630
- })
1631
- .s("Firehose_20150804", "UntagDeliveryStream", {})
1632
- .n("FirehoseClient", "UntagDeliveryStreamCommand")
1633
- .sc(UntagDeliveryStream$)
1634
- .build() {
1540
+ class UntagDeliveryStreamCommand extends command(_ep0, _mw0, "UntagDeliveryStream", UntagDeliveryStream$) {
1635
1541
  }
1636
1542
 
1637
- class UpdateDestinationCommand extends Command
1638
- .classBuilder()
1639
- .ep(commonParams)
1640
- .m(function (Command, cs, config, o) {
1641
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1642
- })
1643
- .s("Firehose_20150804", "UpdateDestination", {})
1644
- .n("FirehoseClient", "UpdateDestinationCommand")
1645
- .sc(UpdateDestination$)
1646
- .build() {
1543
+ class UpdateDestinationCommand extends command(_ep0, _mw0, "UpdateDestination", UpdateDestination$) {
1647
1544
  }
1648
1545
 
1649
1546
  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, "Firehose_20150804", "FirehoseClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateDeliveryStream$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDeliveryStreamCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Firehose_20150804", "CreateDeliveryStream", {})
13
- .n("FirehoseClient", "CreateDeliveryStreamCommand")
14
- .sc(CreateDeliveryStream$)
15
- .build() {
3
+ export class CreateDeliveryStreamCommand extends command(_ep0, _mw0, "CreateDeliveryStream", CreateDeliveryStream$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteDeliveryStream$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDeliveryStreamCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Firehose_20150804", "DeleteDeliveryStream", {})
13
- .n("FirehoseClient", "DeleteDeliveryStreamCommand")
14
- .sc(DeleteDeliveryStream$)
15
- .build() {
3
+ export class DeleteDeliveryStreamCommand extends command(_ep0, _mw0, "DeleteDeliveryStream", DeleteDeliveryStream$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeDeliveryStream$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeDeliveryStreamCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Firehose_20150804", "DescribeDeliveryStream", {})
13
- .n("FirehoseClient", "DescribeDeliveryStreamCommand")
14
- .sc(DescribeDeliveryStream$)
15
- .build() {
3
+ export class DescribeDeliveryStreamCommand extends command(_ep0, _mw0, "DescribeDeliveryStream", DescribeDeliveryStream$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDeliveryStreams$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDeliveryStreamsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Firehose_20150804", "ListDeliveryStreams", {})
13
- .n("FirehoseClient", "ListDeliveryStreamsCommand")
14
- .sc(ListDeliveryStreams$)
15
- .build() {
3
+ export class ListDeliveryStreamsCommand extends command(_ep0, _mw0, "ListDeliveryStreams", ListDeliveryStreams$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForDeliveryStream$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForDeliveryStreamCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Firehose_20150804", "ListTagsForDeliveryStream", {})
13
- .n("FirehoseClient", "ListTagsForDeliveryStreamCommand")
14
- .sc(ListTagsForDeliveryStream$)
15
- .build() {
3
+ export class ListTagsForDeliveryStreamCommand extends command(_ep0, _mw0, "ListTagsForDeliveryStream", ListTagsForDeliveryStream$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutRecordBatch$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutRecordBatchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Firehose_20150804", "PutRecordBatch", {})
13
- .n("FirehoseClient", "PutRecordBatchCommand")
14
- .sc(PutRecordBatch$)
15
- .build() {
3
+ export class PutRecordBatchCommand extends command(_ep0, _mw0, "PutRecordBatch", PutRecordBatch$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutRecord$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutRecordCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Firehose_20150804", "PutRecord", {})
13
- .n("FirehoseClient", "PutRecordCommand")
14
- .sc(PutRecord$)
15
- .build() {
3
+ export class PutRecordCommand extends command(_ep0, _mw0, "PutRecord", PutRecord$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartDeliveryStreamEncryption$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartDeliveryStreamEncryptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Firehose_20150804", "StartDeliveryStreamEncryption", {})
13
- .n("FirehoseClient", "StartDeliveryStreamEncryptionCommand")
14
- .sc(StartDeliveryStreamEncryption$)
15
- .build() {
3
+ export class StartDeliveryStreamEncryptionCommand extends command(_ep0, _mw0, "StartDeliveryStreamEncryption", StartDeliveryStreamEncryption$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StopDeliveryStreamEncryption$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopDeliveryStreamEncryptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Firehose_20150804", "StopDeliveryStreamEncryption", {})
13
- .n("FirehoseClient", "StopDeliveryStreamEncryptionCommand")
14
- .sc(StopDeliveryStreamEncryption$)
15
- .build() {
3
+ export class StopDeliveryStreamEncryptionCommand extends command(_ep0, _mw0, "StopDeliveryStreamEncryption", StopDeliveryStreamEncryption$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagDeliveryStream$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagDeliveryStreamCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Firehose_20150804", "TagDeliveryStream", {})
13
- .n("FirehoseClient", "TagDeliveryStreamCommand")
14
- .sc(TagDeliveryStream$)
15
- .build() {
3
+ export class TagDeliveryStreamCommand extends command(_ep0, _mw0, "TagDeliveryStream", TagDeliveryStream$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagDeliveryStream$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagDeliveryStreamCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Firehose_20150804", "UntagDeliveryStream", {})
13
- .n("FirehoseClient", "UntagDeliveryStreamCommand")
14
- .sc(UntagDeliveryStream$)
15
- .build() {
3
+ export class UntagDeliveryStreamCommand extends command(_ep0, _mw0, "UntagDeliveryStream", UntagDeliveryStream$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDestination$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDestinationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Firehose_20150804", "UpdateDestination", {})
13
- .n("FirehoseClient", "UpdateDestinationCommand")
14
- .sc(UpdateDestination$)
15
- .build() {
3
+ export class UpdateDestinationCommand extends command(_ep0, _mw0, "UpdateDestination", UpdateDestination$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./FirehoseClient";
2
2
  export * from "./Firehose";
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 { FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./FirehoseClient";
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, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, FirehoseClientResolvedConfig, 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[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FirehoseClient";
4
2
  import type { CreateDeliveryStreamInput, CreateDeliveryStreamOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateDeliveryStreamCommandInput extends CreateDeliveryStreamIn
22
19
  export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDeliveryStreamCommand_base: {
25
- new (input: CreateDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<CreateDeliveryStreamCommandInput, CreateDeliveryStreamCommandOutput, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<CreateDeliveryStreamCommandInput, CreateDeliveryStreamCommandOutput, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<CreateDeliveryStreamCommandInput, CreateDeliveryStreamCommandOutput, import("..").FirehoseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<CreateDeliveryStreamCommandInput, CreateDeliveryStreamCommandOutput, import("..").FirehoseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a Firehose stream.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FirehoseClient";
4
2
  import type { DeleteDeliveryStreamInput, DeleteDeliveryStreamOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteDeliveryStreamCommandInput extends DeleteDeliveryStreamIn
22
19
  export interface DeleteDeliveryStreamCommandOutput extends DeleteDeliveryStreamOutput, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteDeliveryStreamCommand_base: {
25
- new (input: DeleteDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<DeleteDeliveryStreamCommandInput, DeleteDeliveryStreamCommandOutput, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<DeleteDeliveryStreamCommandInput, DeleteDeliveryStreamCommandOutput, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<DeleteDeliveryStreamCommandInput, DeleteDeliveryStreamCommandOutput, import("..").FirehoseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<DeleteDeliveryStreamCommandInput, DeleteDeliveryStreamCommandOutput, import("..").FirehoseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a Firehose stream and its data.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FirehoseClient";
4
2
  import type { DescribeDeliveryStreamInput, DescribeDeliveryStreamOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeDeliveryStreamCommandInput extends DescribeDeliveryStre
22
19
  export interface DescribeDeliveryStreamCommandOutput extends DescribeDeliveryStreamOutput, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeDeliveryStreamCommand_base: {
25
- new (input: DescribeDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<DescribeDeliveryStreamCommandInput, DescribeDeliveryStreamCommandOutput, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<DescribeDeliveryStreamCommandInput, DescribeDeliveryStreamCommandOutput, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<DescribeDeliveryStreamCommandInput, DescribeDeliveryStreamCommandOutput, import("..").FirehoseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<DescribeDeliveryStreamCommandInput, DescribeDeliveryStreamCommandOutput, import("..").FirehoseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Describes the specified Firehose stream and its status. For example, after your
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FirehoseClient";
4
2
  import type { ListDeliveryStreamsInput, ListDeliveryStreamsOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListDeliveryStreamsCommandInput extends ListDeliveryStreamsInpu
22
19
  export interface ListDeliveryStreamsCommandOutput extends ListDeliveryStreamsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListDeliveryStreamsCommand_base: {
25
- new (input: ListDeliveryStreamsCommandInput): import("@smithy/core/client").CommandImpl<ListDeliveryStreamsCommandInput, ListDeliveryStreamsCommandOutput, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListDeliveryStreamsCommandInput]): import("@smithy/core/client").CommandImpl<ListDeliveryStreamsCommandInput, ListDeliveryStreamsCommandOutput, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListDeliveryStreamsCommandInput): import("@smithy/core/client").CommandImpl<ListDeliveryStreamsCommandInput, ListDeliveryStreamsCommandOutput, import("..").FirehoseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListDeliveryStreamsCommandInput]): import("@smithy/core/client").CommandImpl<ListDeliveryStreamsCommandInput, ListDeliveryStreamsCommandOutput, import("..").FirehoseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists your Firehose streams in alphabetical order of their names.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FirehoseClient";
4
2
  import type { ListTagsForDeliveryStreamInput, ListTagsForDeliveryStreamOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListTagsForDeliveryStreamCommandInput extends ListTagsForDelive
22
19
  export interface ListTagsForDeliveryStreamCommandOutput extends ListTagsForDeliveryStreamOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListTagsForDeliveryStreamCommand_base: {
25
- new (input: ListTagsForDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForDeliveryStreamCommandInput, ListTagsForDeliveryStreamCommandOutput, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListTagsForDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForDeliveryStreamCommandInput, ListTagsForDeliveryStreamCommandOutput, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListTagsForDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForDeliveryStreamCommandInput, ListTagsForDeliveryStreamCommandOutput, import("..").FirehoseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListTagsForDeliveryStreamCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForDeliveryStreamCommandInput, ListTagsForDeliveryStreamCommandOutput, import("..").FirehoseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists the tags for the specified Firehose stream. This operation has a limit of five
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FirehoseClient";
4
2
  import type { PutRecordBatchInput, PutRecordBatchOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface PutRecordBatchCommandInput extends PutRecordBatchInput {
22
19
  export interface PutRecordBatchCommandOutput extends PutRecordBatchOutput, __MetadataBearer {
23
20
  }
24
21
  declare const PutRecordBatchCommand_base: {
25
- new (input: PutRecordBatchCommandInput): import("@smithy/core/client").CommandImpl<PutRecordBatchCommandInput, PutRecordBatchCommandOutput, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: PutRecordBatchCommandInput): import("@smithy/core/client").CommandImpl<PutRecordBatchCommandInput, PutRecordBatchCommandOutput, FirehoseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: PutRecordBatchCommandInput): import("@smithy/core/client").CommandImpl<PutRecordBatchCommandInput, PutRecordBatchCommandOutput, import("..").FirehoseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutRecordBatchCommandInput): import("@smithy/core/client").CommandImpl<PutRecordBatchCommandInput, PutRecordBatchCommandOutput, import("..").FirehoseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Writes multiple data records into a Firehose stream in a single call, which can