@aws-sdk/client-firehose 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Firehose.js +57 -50
- package/dist-es/FirehoseClient.js +28 -22
- package/dist-es/commands/CreateDeliveryStreamCommand.js +28 -21
- package/dist-es/commands/DeleteDeliveryStreamCommand.js +28 -21
- package/dist-es/commands/DescribeDeliveryStreamCommand.js +28 -21
- package/dist-es/commands/ListDeliveryStreamsCommand.js +28 -21
- package/dist-es/commands/ListTagsForDeliveryStreamCommand.js +28 -21
- package/dist-es/commands/PutRecordBatchCommand.js +28 -21
- package/dist-es/commands/PutRecordCommand.js +28 -21
- package/dist-es/commands/StartDeliveryStreamEncryptionCommand.js +28 -21
- package/dist-es/commands/StopDeliveryStreamEncryptionCommand.js +28 -21
- package/dist-es/commands/TagDeliveryStreamCommand.js +28 -21
- package/dist-es/commands/UntagDeliveryStreamCommand.js +28 -21
- package/dist-es/commands/UpdateDestinationCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/FirehoseServiceException.js +10 -5
- package/dist-es/models/models_0.js +199 -403
- package/dist-es/protocols/Aws_json1_1.js +1522 -1574
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-firehose
|
|
@@ -2218,10 +2218,10 @@ const deserializeAws_json1_1VpcConfigurationDescription = (output, context) => {
|
|
|
2218
2218
|
};
|
|
2219
2219
|
};
|
|
2220
2220
|
const deserializeMetadata = (output) => {
|
|
2221
|
-
var _a;
|
|
2221
|
+
var _a, _b;
|
|
2222
2222
|
return ({
|
|
2223
2223
|
httpStatusCode: output.statusCode,
|
|
2224
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
2224
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
2225
2225
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2226
2226
|
cfId: output.headers["x-amz-cf-id"],
|
|
2227
2227
|
});
|
package/dist-es/Firehose.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { CreateDeliveryStreamCommand, } from "./commands/CreateDeliveryStreamCommand";
|
|
2
3
|
import { DeleteDeliveryStreamCommand, } from "./commands/DeleteDeliveryStreamCommand";
|
|
3
4
|
import { DescribeDeliveryStreamCommand, } from "./commands/DescribeDeliveryStreamCommand";
|
|
@@ -11,173 +12,179 @@ import { TagDeliveryStreamCommand, } from "./commands/TagDeliveryStreamCommand";
|
|
|
11
12
|
import { UntagDeliveryStreamCommand, } from "./commands/UntagDeliveryStreamCommand";
|
|
12
13
|
import { UpdateDestinationCommand, } from "./commands/UpdateDestinationCommand";
|
|
13
14
|
import { FirehoseClient } from "./FirehoseClient";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
var Firehose = (function (_super) {
|
|
16
|
+
__extends(Firehose, _super);
|
|
17
|
+
function Firehose() {
|
|
18
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
Firehose.prototype.createDeliveryStream = function (args, optionsOrCb, cb) {
|
|
21
|
+
var command = new CreateDeliveryStreamCommand(args);
|
|
17
22
|
if (typeof optionsOrCb === "function") {
|
|
18
23
|
this.send(command, optionsOrCb);
|
|
19
24
|
}
|
|
20
25
|
else if (typeof cb === "function") {
|
|
21
26
|
if (typeof optionsOrCb !== "object")
|
|
22
|
-
throw new Error(
|
|
27
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
23
28
|
this.send(command, optionsOrCb || {}, cb);
|
|
24
29
|
}
|
|
25
30
|
else {
|
|
26
31
|
return this.send(command, optionsOrCb);
|
|
27
32
|
}
|
|
28
|
-
}
|
|
29
|
-
deleteDeliveryStream(args, optionsOrCb, cb) {
|
|
30
|
-
|
|
33
|
+
};
|
|
34
|
+
Firehose.prototype.deleteDeliveryStream = function (args, optionsOrCb, cb) {
|
|
35
|
+
var command = new DeleteDeliveryStreamCommand(args);
|
|
31
36
|
if (typeof optionsOrCb === "function") {
|
|
32
37
|
this.send(command, optionsOrCb);
|
|
33
38
|
}
|
|
34
39
|
else if (typeof cb === "function") {
|
|
35
40
|
if (typeof optionsOrCb !== "object")
|
|
36
|
-
throw new Error(
|
|
41
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
37
42
|
this.send(command, optionsOrCb || {}, cb);
|
|
38
43
|
}
|
|
39
44
|
else {
|
|
40
45
|
return this.send(command, optionsOrCb);
|
|
41
46
|
}
|
|
42
|
-
}
|
|
43
|
-
describeDeliveryStream(args, optionsOrCb, cb) {
|
|
44
|
-
|
|
47
|
+
};
|
|
48
|
+
Firehose.prototype.describeDeliveryStream = function (args, optionsOrCb, cb) {
|
|
49
|
+
var command = new DescribeDeliveryStreamCommand(args);
|
|
45
50
|
if (typeof optionsOrCb === "function") {
|
|
46
51
|
this.send(command, optionsOrCb);
|
|
47
52
|
}
|
|
48
53
|
else if (typeof cb === "function") {
|
|
49
54
|
if (typeof optionsOrCb !== "object")
|
|
50
|
-
throw new Error(
|
|
55
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
51
56
|
this.send(command, optionsOrCb || {}, cb);
|
|
52
57
|
}
|
|
53
58
|
else {
|
|
54
59
|
return this.send(command, optionsOrCb);
|
|
55
60
|
}
|
|
56
|
-
}
|
|
57
|
-
listDeliveryStreams(args, optionsOrCb, cb) {
|
|
58
|
-
|
|
61
|
+
};
|
|
62
|
+
Firehose.prototype.listDeliveryStreams = function (args, optionsOrCb, cb) {
|
|
63
|
+
var command = new ListDeliveryStreamsCommand(args);
|
|
59
64
|
if (typeof optionsOrCb === "function") {
|
|
60
65
|
this.send(command, optionsOrCb);
|
|
61
66
|
}
|
|
62
67
|
else if (typeof cb === "function") {
|
|
63
68
|
if (typeof optionsOrCb !== "object")
|
|
64
|
-
throw new Error(
|
|
69
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
65
70
|
this.send(command, optionsOrCb || {}, cb);
|
|
66
71
|
}
|
|
67
72
|
else {
|
|
68
73
|
return this.send(command, optionsOrCb);
|
|
69
74
|
}
|
|
70
|
-
}
|
|
71
|
-
listTagsForDeliveryStream(args, optionsOrCb, cb) {
|
|
72
|
-
|
|
75
|
+
};
|
|
76
|
+
Firehose.prototype.listTagsForDeliveryStream = function (args, optionsOrCb, cb) {
|
|
77
|
+
var command = new ListTagsForDeliveryStreamCommand(args);
|
|
73
78
|
if (typeof optionsOrCb === "function") {
|
|
74
79
|
this.send(command, optionsOrCb);
|
|
75
80
|
}
|
|
76
81
|
else if (typeof cb === "function") {
|
|
77
82
|
if (typeof optionsOrCb !== "object")
|
|
78
|
-
throw new Error(
|
|
83
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
79
84
|
this.send(command, optionsOrCb || {}, cb);
|
|
80
85
|
}
|
|
81
86
|
else {
|
|
82
87
|
return this.send(command, optionsOrCb);
|
|
83
88
|
}
|
|
84
|
-
}
|
|
85
|
-
putRecord(args, optionsOrCb, cb) {
|
|
86
|
-
|
|
89
|
+
};
|
|
90
|
+
Firehose.prototype.putRecord = function (args, optionsOrCb, cb) {
|
|
91
|
+
var command = new PutRecordCommand(args);
|
|
87
92
|
if (typeof optionsOrCb === "function") {
|
|
88
93
|
this.send(command, optionsOrCb);
|
|
89
94
|
}
|
|
90
95
|
else if (typeof cb === "function") {
|
|
91
96
|
if (typeof optionsOrCb !== "object")
|
|
92
|
-
throw new Error(
|
|
97
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
93
98
|
this.send(command, optionsOrCb || {}, cb);
|
|
94
99
|
}
|
|
95
100
|
else {
|
|
96
101
|
return this.send(command, optionsOrCb);
|
|
97
102
|
}
|
|
98
|
-
}
|
|
99
|
-
putRecordBatch(args, optionsOrCb, cb) {
|
|
100
|
-
|
|
103
|
+
};
|
|
104
|
+
Firehose.prototype.putRecordBatch = function (args, optionsOrCb, cb) {
|
|
105
|
+
var command = new PutRecordBatchCommand(args);
|
|
101
106
|
if (typeof optionsOrCb === "function") {
|
|
102
107
|
this.send(command, optionsOrCb);
|
|
103
108
|
}
|
|
104
109
|
else if (typeof cb === "function") {
|
|
105
110
|
if (typeof optionsOrCb !== "object")
|
|
106
|
-
throw new Error(
|
|
111
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
107
112
|
this.send(command, optionsOrCb || {}, cb);
|
|
108
113
|
}
|
|
109
114
|
else {
|
|
110
115
|
return this.send(command, optionsOrCb);
|
|
111
116
|
}
|
|
112
|
-
}
|
|
113
|
-
startDeliveryStreamEncryption(args, optionsOrCb, cb) {
|
|
114
|
-
|
|
117
|
+
};
|
|
118
|
+
Firehose.prototype.startDeliveryStreamEncryption = function (args, optionsOrCb, cb) {
|
|
119
|
+
var command = new StartDeliveryStreamEncryptionCommand(args);
|
|
115
120
|
if (typeof optionsOrCb === "function") {
|
|
116
121
|
this.send(command, optionsOrCb);
|
|
117
122
|
}
|
|
118
123
|
else if (typeof cb === "function") {
|
|
119
124
|
if (typeof optionsOrCb !== "object")
|
|
120
|
-
throw new Error(
|
|
125
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
121
126
|
this.send(command, optionsOrCb || {}, cb);
|
|
122
127
|
}
|
|
123
128
|
else {
|
|
124
129
|
return this.send(command, optionsOrCb);
|
|
125
130
|
}
|
|
126
|
-
}
|
|
127
|
-
stopDeliveryStreamEncryption(args, optionsOrCb, cb) {
|
|
128
|
-
|
|
131
|
+
};
|
|
132
|
+
Firehose.prototype.stopDeliveryStreamEncryption = function (args, optionsOrCb, cb) {
|
|
133
|
+
var command = new StopDeliveryStreamEncryptionCommand(args);
|
|
129
134
|
if (typeof optionsOrCb === "function") {
|
|
130
135
|
this.send(command, optionsOrCb);
|
|
131
136
|
}
|
|
132
137
|
else if (typeof cb === "function") {
|
|
133
138
|
if (typeof optionsOrCb !== "object")
|
|
134
|
-
throw new Error(
|
|
139
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
135
140
|
this.send(command, optionsOrCb || {}, cb);
|
|
136
141
|
}
|
|
137
142
|
else {
|
|
138
143
|
return this.send(command, optionsOrCb);
|
|
139
144
|
}
|
|
140
|
-
}
|
|
141
|
-
tagDeliveryStream(args, optionsOrCb, cb) {
|
|
142
|
-
|
|
145
|
+
};
|
|
146
|
+
Firehose.prototype.tagDeliveryStream = function (args, optionsOrCb, cb) {
|
|
147
|
+
var command = new TagDeliveryStreamCommand(args);
|
|
143
148
|
if (typeof optionsOrCb === "function") {
|
|
144
149
|
this.send(command, optionsOrCb);
|
|
145
150
|
}
|
|
146
151
|
else if (typeof cb === "function") {
|
|
147
152
|
if (typeof optionsOrCb !== "object")
|
|
148
|
-
throw new Error(
|
|
153
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
149
154
|
this.send(command, optionsOrCb || {}, cb);
|
|
150
155
|
}
|
|
151
156
|
else {
|
|
152
157
|
return this.send(command, optionsOrCb);
|
|
153
158
|
}
|
|
154
|
-
}
|
|
155
|
-
untagDeliveryStream(args, optionsOrCb, cb) {
|
|
156
|
-
|
|
159
|
+
};
|
|
160
|
+
Firehose.prototype.untagDeliveryStream = function (args, optionsOrCb, cb) {
|
|
161
|
+
var command = new UntagDeliveryStreamCommand(args);
|
|
157
162
|
if (typeof optionsOrCb === "function") {
|
|
158
163
|
this.send(command, optionsOrCb);
|
|
159
164
|
}
|
|
160
165
|
else if (typeof cb === "function") {
|
|
161
166
|
if (typeof optionsOrCb !== "object")
|
|
162
|
-
throw new Error(
|
|
167
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
163
168
|
this.send(command, optionsOrCb || {}, cb);
|
|
164
169
|
}
|
|
165
170
|
else {
|
|
166
171
|
return this.send(command, optionsOrCb);
|
|
167
172
|
}
|
|
168
|
-
}
|
|
169
|
-
updateDestination(args, optionsOrCb, cb) {
|
|
170
|
-
|
|
173
|
+
};
|
|
174
|
+
Firehose.prototype.updateDestination = function (args, optionsOrCb, cb) {
|
|
175
|
+
var command = new UpdateDestinationCommand(args);
|
|
171
176
|
if (typeof optionsOrCb === "function") {
|
|
172
177
|
this.send(command, optionsOrCb);
|
|
173
178
|
}
|
|
174
179
|
else if (typeof cb === "function") {
|
|
175
180
|
if (typeof optionsOrCb !== "object")
|
|
176
|
-
throw new Error(
|
|
181
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
177
182
|
this.send(command, optionsOrCb || {}, cb);
|
|
178
183
|
}
|
|
179
184
|
else {
|
|
180
185
|
return this.send(command, optionsOrCb);
|
|
181
186
|
}
|
|
182
|
-
}
|
|
183
|
-
|
|
187
|
+
};
|
|
188
|
+
return Firehose;
|
|
189
|
+
}(FirehoseClient));
|
|
190
|
+
export { Firehose };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var FirehoseClient = (function (_super) {
|
|
13
|
+
__extends(FirehoseClient, _super);
|
|
14
|
+
function FirehoseClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
FirehoseClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return FirehoseClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { FirehoseClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateDeliveryStreamInputFilterSensitiveLog, CreateDeliveryStreamOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateDeliveryStreamCommand, serializeAws_json1_1CreateDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateDeliveryStreamCommand = (function (_super) {
|
|
7
|
+
__extends(CreateDeliveryStreamCommand, _super);
|
|
8
|
+
function CreateDeliveryStreamCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateDeliveryStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FirehoseClient";
|
|
18
|
+
var commandName = "CreateDeliveryStreamCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateDeliveryStreamInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateDeliveryStreamOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateDeliveryStreamCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateDeliveryStreamCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateDeliveryStreamCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateDeliveryStreamCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateDeliveryStreamCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateDeliveryStreamCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteDeliveryStreamInputFilterSensitiveLog, DeleteDeliveryStreamOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeleteDeliveryStreamCommand, serializeAws_json1_1DeleteDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteDeliveryStreamCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteDeliveryStreamCommand, _super);
|
|
8
|
+
function DeleteDeliveryStreamCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteDeliveryStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FirehoseClient";
|
|
18
|
+
var commandName = "DeleteDeliveryStreamCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteDeliveryStreamInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteDeliveryStreamOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteDeliveryStreamCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeleteDeliveryStreamCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteDeliveryStreamCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeleteDeliveryStreamCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteDeliveryStreamCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteDeliveryStreamCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeDeliveryStreamInputFilterSensitiveLog, DescribeDeliveryStreamOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeDeliveryStreamCommand, serializeAws_json1_1DescribeDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeDeliveryStreamCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeDeliveryStreamCommand, _super);
|
|
8
|
+
function DescribeDeliveryStreamCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeDeliveryStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FirehoseClient";
|
|
18
|
+
var commandName = "DescribeDeliveryStreamCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeDeliveryStreamInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeDeliveryStreamOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeDeliveryStreamCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeDeliveryStreamCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeDeliveryStreamCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeDeliveryStreamCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeDeliveryStreamCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeDeliveryStreamCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListDeliveryStreamsInputFilterSensitiveLog, ListDeliveryStreamsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListDeliveryStreamsCommand, serializeAws_json1_1ListDeliveryStreamsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListDeliveryStreamsCommand = (function (_super) {
|
|
7
|
+
__extends(ListDeliveryStreamsCommand, _super);
|
|
8
|
+
function ListDeliveryStreamsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListDeliveryStreamsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FirehoseClient";
|
|
18
|
+
var commandName = "ListDeliveryStreamsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListDeliveryStreamsInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListDeliveryStreamsOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListDeliveryStreamsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListDeliveryStreamsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListDeliveryStreamsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListDeliveryStreamsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListDeliveryStreamsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListDeliveryStreamsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListTagsForDeliveryStreamInputFilterSensitiveLog, ListTagsForDeliveryStreamOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListTagsForDeliveryStreamCommand, serializeAws_json1_1ListTagsForDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListTagsForDeliveryStreamCommand = (function (_super) {
|
|
7
|
+
__extends(ListTagsForDeliveryStreamCommand, _super);
|
|
8
|
+
function ListTagsForDeliveryStreamCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListTagsForDeliveryStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FirehoseClient";
|
|
18
|
+
var commandName = "ListTagsForDeliveryStreamCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListTagsForDeliveryStreamInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListTagsForDeliveryStreamOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListTagsForDeliveryStreamCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListTagsForDeliveryStreamCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListTagsForDeliveryStreamCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListTagsForDeliveryStreamCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListTagsForDeliveryStreamCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTagsForDeliveryStreamCommand };
|