@aws-sdk/client-firehose 3.948.0 → 3.953.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 (32) hide show
  1. package/dist-cjs/index.js +654 -491
  2. package/dist-cjs/runtimeConfig.shared.js +7 -6
  3. package/dist-es/commands/CreateDeliveryStreamCommand.js +2 -2
  4. package/dist-es/commands/DeleteDeliveryStreamCommand.js +2 -2
  5. package/dist-es/commands/DescribeDeliveryStreamCommand.js +2 -2
  6. package/dist-es/commands/ListDeliveryStreamsCommand.js +2 -2
  7. package/dist-es/commands/ListTagsForDeliveryStreamCommand.js +2 -2
  8. package/dist-es/commands/PutRecordBatchCommand.js +2 -2
  9. package/dist-es/commands/PutRecordCommand.js +2 -2
  10. package/dist-es/commands/StartDeliveryStreamEncryptionCommand.js +2 -2
  11. package/dist-es/commands/StopDeliveryStreamEncryptionCommand.js +2 -2
  12. package/dist-es/commands/TagDeliveryStreamCommand.js +2 -2
  13. package/dist-es/commands/UntagDeliveryStreamCommand.js +2 -2
  14. package/dist-es/commands/UpdateDestinationCommand.js +2 -2
  15. package/dist-es/index.js +1 -0
  16. package/dist-es/runtimeConfig.shared.js +7 -6
  17. package/dist-es/schemas/schemas_0.js +497 -482
  18. package/dist-types/FirehoseClient.d.ts +1 -10
  19. package/dist-types/index.d.ts +1 -0
  20. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  21. package/dist-types/runtimeConfig.d.ts +6 -2
  22. package/dist-types/runtimeConfig.native.d.ts +6 -2
  23. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  24. package/dist-types/schemas/schemas_0.d.ts +149 -188
  25. package/dist-types/ts3.4/FirehoseClient.d.ts +0 -4
  26. package/dist-types/ts3.4/index.d.ts +1 -0
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +148 -189
  32. package/package.json +34 -34
@@ -26,12 +26,13 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_1Protocol({
31
- defaultNamespace: "com.amazonaws.firehose",
32
- serviceTarget: "Firehose_20150804",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.firehose",
32
+ xmlNamespace: "http://firehose.amazonaws.com/doc/2015-08-04",
33
+ version: "2015-08-04",
34
+ serviceTarget: "Firehose_20150804",
35
+ },
35
36
  serviceId: config?.serviceId ?? "Firehose",
36
37
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
38
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateDeliveryStream } from "../schemas/schemas_0";
4
+ import { CreateDeliveryStream$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateDeliveryStreamCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateDeliveryStreamCommand extends $Command
11
11
  })
12
12
  .s("Firehose_20150804", "CreateDeliveryStream", {})
13
13
  .n("FirehoseClient", "CreateDeliveryStreamCommand")
14
- .sc(CreateDeliveryStream)
14
+ .sc(CreateDeliveryStream$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteDeliveryStream } from "../schemas/schemas_0";
4
+ import { DeleteDeliveryStream$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteDeliveryStreamCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteDeliveryStreamCommand extends $Command
11
11
  })
12
12
  .s("Firehose_20150804", "DeleteDeliveryStream", {})
13
13
  .n("FirehoseClient", "DeleteDeliveryStreamCommand")
14
- .sc(DeleteDeliveryStream)
14
+ .sc(DeleteDeliveryStream$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeDeliveryStream } from "../schemas/schemas_0";
4
+ import { DescribeDeliveryStream$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeDeliveryStreamCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeDeliveryStreamCommand extends $Command
11
11
  })
12
12
  .s("Firehose_20150804", "DescribeDeliveryStream", {})
13
13
  .n("FirehoseClient", "DescribeDeliveryStreamCommand")
14
- .sc(DescribeDeliveryStream)
14
+ .sc(DescribeDeliveryStream$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListDeliveryStreams } from "../schemas/schemas_0";
4
+ import { ListDeliveryStreams$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListDeliveryStreamsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListDeliveryStreamsCommand extends $Command
11
11
  })
12
12
  .s("Firehose_20150804", "ListDeliveryStreams", {})
13
13
  .n("FirehoseClient", "ListDeliveryStreamsCommand")
14
- .sc(ListDeliveryStreams)
14
+ .sc(ListDeliveryStreams$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForDeliveryStream } from "../schemas/schemas_0";
4
+ import { ListTagsForDeliveryStream$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForDeliveryStreamCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForDeliveryStreamCommand extends $Command
11
11
  })
12
12
  .s("Firehose_20150804", "ListTagsForDeliveryStream", {})
13
13
  .n("FirehoseClient", "ListTagsForDeliveryStreamCommand")
14
- .sc(ListTagsForDeliveryStream)
14
+ .sc(ListTagsForDeliveryStream$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutRecordBatch } from "../schemas/schemas_0";
4
+ import { PutRecordBatch$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutRecordBatchCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutRecordBatchCommand extends $Command
11
11
  })
12
12
  .s("Firehose_20150804", "PutRecordBatch", {})
13
13
  .n("FirehoseClient", "PutRecordBatchCommand")
14
- .sc(PutRecordBatch)
14
+ .sc(PutRecordBatch$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutRecord } from "../schemas/schemas_0";
4
+ import { PutRecord$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutRecordCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutRecordCommand extends $Command
11
11
  })
12
12
  .s("Firehose_20150804", "PutRecord", {})
13
13
  .n("FirehoseClient", "PutRecordCommand")
14
- .sc(PutRecord)
14
+ .sc(PutRecord$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartDeliveryStreamEncryption } from "../schemas/schemas_0";
4
+ import { StartDeliveryStreamEncryption$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartDeliveryStreamEncryptionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartDeliveryStreamEncryptionCommand extends $Command
11
11
  })
12
12
  .s("Firehose_20150804", "StartDeliveryStreamEncryption", {})
13
13
  .n("FirehoseClient", "StartDeliveryStreamEncryptionCommand")
14
- .sc(StartDeliveryStreamEncryption)
14
+ .sc(StartDeliveryStreamEncryption$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StopDeliveryStreamEncryption } from "../schemas/schemas_0";
4
+ import { StopDeliveryStreamEncryption$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopDeliveryStreamEncryptionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopDeliveryStreamEncryptionCommand extends $Command
11
11
  })
12
12
  .s("Firehose_20150804", "StopDeliveryStreamEncryption", {})
13
13
  .n("FirehoseClient", "StopDeliveryStreamEncryptionCommand")
14
- .sc(StopDeliveryStreamEncryption)
14
+ .sc(StopDeliveryStreamEncryption$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagDeliveryStream } from "../schemas/schemas_0";
4
+ import { TagDeliveryStream$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagDeliveryStreamCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagDeliveryStreamCommand extends $Command
11
11
  })
12
12
  .s("Firehose_20150804", "TagDeliveryStream", {})
13
13
  .n("FirehoseClient", "TagDeliveryStreamCommand")
14
- .sc(TagDeliveryStream)
14
+ .sc(TagDeliveryStream$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagDeliveryStream } from "../schemas/schemas_0";
4
+ import { UntagDeliveryStream$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagDeliveryStreamCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagDeliveryStreamCommand extends $Command
11
11
  })
12
12
  .s("Firehose_20150804", "UntagDeliveryStream", {})
13
13
  .n("FirehoseClient", "UntagDeliveryStreamCommand")
14
- .sc(UntagDeliveryStream)
14
+ .sc(UntagDeliveryStream$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateDestination } from "../schemas/schemas_0";
4
+ import { UpdateDestination$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateDestinationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateDestinationCommand extends $Command
11
11
  })
12
12
  .s("Firehose_20150804", "UpdateDestination", {})
13
13
  .n("FirehoseClient", "UpdateDestinationCommand")
14
- .sc(UpdateDestination)
14
+ .sc(UpdateDestination$)
15
15
  .build() {
16
16
  }
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 * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { FirehoseServiceException } from "./models/FirehoseServiceException";
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.firehose",
29
- serviceTarget: "Firehose_20150804",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.firehose",
29
+ xmlNamespace: "http://firehose.amazonaws.com/doc/2015-08-04",
30
+ version: "2015-08-04",
31
+ serviceTarget: "Firehose_20150804",
32
+ },
32
33
  serviceId: config?.serviceId ?? "Firehose",
33
34
  urlParser: config?.urlParser ?? parseUrl,
34
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,