@aws-sdk/client-pipes 3.315.0 → 3.319.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/Pipes.js +14 -140
- package/dist-es/Pipes.js +14 -140
- package/dist-types/Pipes.d.ts +19 -42
- package/dist-types/ts3.4/Pipes.d.ts +2 -1
- package/package.json +8 -8
package/dist-cjs/Pipes.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Pipes = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CreatePipeCommand_1 = require("./commands/CreatePipeCommand");
|
|
5
6
|
const DeletePipeCommand_1 = require("./commands/DeletePipeCommand");
|
|
6
7
|
const DescribePipeCommand_1 = require("./commands/DescribePipeCommand");
|
|
@@ -12,146 +13,19 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
12
13
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
13
14
|
const UpdatePipeCommand_1 = require("./commands/UpdatePipeCommand");
|
|
14
15
|
const PipesClient_1 = require("./PipesClient");
|
|
16
|
+
const commands = {
|
|
17
|
+
CreatePipeCommand: CreatePipeCommand_1.CreatePipeCommand,
|
|
18
|
+
DeletePipeCommand: DeletePipeCommand_1.DeletePipeCommand,
|
|
19
|
+
DescribePipeCommand: DescribePipeCommand_1.DescribePipeCommand,
|
|
20
|
+
ListPipesCommand: ListPipesCommand_1.ListPipesCommand,
|
|
21
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
22
|
+
StartPipeCommand: StartPipeCommand_1.StartPipeCommand,
|
|
23
|
+
StopPipeCommand: StopPipeCommand_1.StopPipeCommand,
|
|
24
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
25
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
26
|
+
UpdatePipeCommand: UpdatePipeCommand_1.UpdatePipeCommand,
|
|
27
|
+
};
|
|
15
28
|
class Pipes extends PipesClient_1.PipesClient {
|
|
16
|
-
createPipe(args, optionsOrCb, cb) {
|
|
17
|
-
const command = new CreatePipeCommand_1.CreatePipeCommand(args);
|
|
18
|
-
if (typeof optionsOrCb === "function") {
|
|
19
|
-
this.send(command, optionsOrCb);
|
|
20
|
-
}
|
|
21
|
-
else if (typeof cb === "function") {
|
|
22
|
-
if (typeof optionsOrCb !== "object")
|
|
23
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
24
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
return this.send(command, optionsOrCb);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
deletePipe(args, optionsOrCb, cb) {
|
|
31
|
-
const command = new DeletePipeCommand_1.DeletePipeCommand(args);
|
|
32
|
-
if (typeof optionsOrCb === "function") {
|
|
33
|
-
this.send(command, optionsOrCb);
|
|
34
|
-
}
|
|
35
|
-
else if (typeof cb === "function") {
|
|
36
|
-
if (typeof optionsOrCb !== "object")
|
|
37
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
38
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
return this.send(command, optionsOrCb);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
describePipe(args, optionsOrCb, cb) {
|
|
45
|
-
const command = new DescribePipeCommand_1.DescribePipeCommand(args);
|
|
46
|
-
if (typeof optionsOrCb === "function") {
|
|
47
|
-
this.send(command, optionsOrCb);
|
|
48
|
-
}
|
|
49
|
-
else if (typeof cb === "function") {
|
|
50
|
-
if (typeof optionsOrCb !== "object")
|
|
51
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
52
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
return this.send(command, optionsOrCb);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
listPipes(args, optionsOrCb, cb) {
|
|
59
|
-
const command = new ListPipesCommand_1.ListPipesCommand(args);
|
|
60
|
-
if (typeof optionsOrCb === "function") {
|
|
61
|
-
this.send(command, optionsOrCb);
|
|
62
|
-
}
|
|
63
|
-
else if (typeof cb === "function") {
|
|
64
|
-
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
66
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
return this.send(command, optionsOrCb);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
73
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
74
|
-
if (typeof optionsOrCb === "function") {
|
|
75
|
-
this.send(command, optionsOrCb);
|
|
76
|
-
}
|
|
77
|
-
else if (typeof cb === "function") {
|
|
78
|
-
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
80
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
return this.send(command, optionsOrCb);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
startPipe(args, optionsOrCb, cb) {
|
|
87
|
-
const command = new StartPipeCommand_1.StartPipeCommand(args);
|
|
88
|
-
if (typeof optionsOrCb === "function") {
|
|
89
|
-
this.send(command, optionsOrCb);
|
|
90
|
-
}
|
|
91
|
-
else if (typeof cb === "function") {
|
|
92
|
-
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
94
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
return this.send(command, optionsOrCb);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
stopPipe(args, optionsOrCb, cb) {
|
|
101
|
-
const command = new StopPipeCommand_1.StopPipeCommand(args);
|
|
102
|
-
if (typeof optionsOrCb === "function") {
|
|
103
|
-
this.send(command, optionsOrCb);
|
|
104
|
-
}
|
|
105
|
-
else if (typeof cb === "function") {
|
|
106
|
-
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
108
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
return this.send(command, optionsOrCb);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
tagResource(args, optionsOrCb, cb) {
|
|
115
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
116
|
-
if (typeof optionsOrCb === "function") {
|
|
117
|
-
this.send(command, optionsOrCb);
|
|
118
|
-
}
|
|
119
|
-
else if (typeof cb === "function") {
|
|
120
|
-
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
122
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
return this.send(command, optionsOrCb);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
untagResource(args, optionsOrCb, cb) {
|
|
129
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
130
|
-
if (typeof optionsOrCb === "function") {
|
|
131
|
-
this.send(command, optionsOrCb);
|
|
132
|
-
}
|
|
133
|
-
else if (typeof cb === "function") {
|
|
134
|
-
if (typeof optionsOrCb !== "object")
|
|
135
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
136
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
137
|
-
}
|
|
138
|
-
else {
|
|
139
|
-
return this.send(command, optionsOrCb);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
updatePipe(args, optionsOrCb, cb) {
|
|
143
|
-
const command = new UpdatePipeCommand_1.UpdatePipeCommand(args);
|
|
144
|
-
if (typeof optionsOrCb === "function") {
|
|
145
|
-
this.send(command, optionsOrCb);
|
|
146
|
-
}
|
|
147
|
-
else if (typeof cb === "function") {
|
|
148
|
-
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
150
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
return this.send(command, optionsOrCb);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
29
|
}
|
|
157
30
|
exports.Pipes = Pipes;
|
|
31
|
+
(0, smithy_client_1.createAggregatedClient)(commands, Pipes);
|
package/dist-es/Pipes.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CreatePipeCommand } from "./commands/CreatePipeCommand";
|
|
2
3
|
import { DeletePipeCommand } from "./commands/DeletePipeCommand";
|
|
3
4
|
import { DescribePipeCommand, } from "./commands/DescribePipeCommand";
|
|
@@ -9,145 +10,18 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
9
10
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
10
11
|
import { UpdatePipeCommand } from "./commands/UpdatePipeCommand";
|
|
11
12
|
import { PipesClient } from "./PipesClient";
|
|
13
|
+
const commands = {
|
|
14
|
+
CreatePipeCommand,
|
|
15
|
+
DeletePipeCommand,
|
|
16
|
+
DescribePipeCommand,
|
|
17
|
+
ListPipesCommand,
|
|
18
|
+
ListTagsForResourceCommand,
|
|
19
|
+
StartPipeCommand,
|
|
20
|
+
StopPipeCommand,
|
|
21
|
+
TagResourceCommand,
|
|
22
|
+
UntagResourceCommand,
|
|
23
|
+
UpdatePipeCommand,
|
|
24
|
+
};
|
|
12
25
|
export class Pipes extends PipesClient {
|
|
13
|
-
createPipe(args, optionsOrCb, cb) {
|
|
14
|
-
const command = new CreatePipeCommand(args);
|
|
15
|
-
if (typeof optionsOrCb === "function") {
|
|
16
|
-
this.send(command, optionsOrCb);
|
|
17
|
-
}
|
|
18
|
-
else if (typeof cb === "function") {
|
|
19
|
-
if (typeof optionsOrCb !== "object")
|
|
20
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
21
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
return this.send(command, optionsOrCb);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
deletePipe(args, optionsOrCb, cb) {
|
|
28
|
-
const command = new DeletePipeCommand(args);
|
|
29
|
-
if (typeof optionsOrCb === "function") {
|
|
30
|
-
this.send(command, optionsOrCb);
|
|
31
|
-
}
|
|
32
|
-
else if (typeof cb === "function") {
|
|
33
|
-
if (typeof optionsOrCb !== "object")
|
|
34
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
35
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
return this.send(command, optionsOrCb);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
describePipe(args, optionsOrCb, cb) {
|
|
42
|
-
const command = new DescribePipeCommand(args);
|
|
43
|
-
if (typeof optionsOrCb === "function") {
|
|
44
|
-
this.send(command, optionsOrCb);
|
|
45
|
-
}
|
|
46
|
-
else if (typeof cb === "function") {
|
|
47
|
-
if (typeof optionsOrCb !== "object")
|
|
48
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
49
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
return this.send(command, optionsOrCb);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
listPipes(args, optionsOrCb, cb) {
|
|
56
|
-
const command = new ListPipesCommand(args);
|
|
57
|
-
if (typeof optionsOrCb === "function") {
|
|
58
|
-
this.send(command, optionsOrCb);
|
|
59
|
-
}
|
|
60
|
-
else if (typeof cb === "function") {
|
|
61
|
-
if (typeof optionsOrCb !== "object")
|
|
62
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
63
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
return this.send(command, optionsOrCb);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
70
|
-
const command = new ListTagsForResourceCommand(args);
|
|
71
|
-
if (typeof optionsOrCb === "function") {
|
|
72
|
-
this.send(command, optionsOrCb);
|
|
73
|
-
}
|
|
74
|
-
else if (typeof cb === "function") {
|
|
75
|
-
if (typeof optionsOrCb !== "object")
|
|
76
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
77
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
return this.send(command, optionsOrCb);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
startPipe(args, optionsOrCb, cb) {
|
|
84
|
-
const command = new StartPipeCommand(args);
|
|
85
|
-
if (typeof optionsOrCb === "function") {
|
|
86
|
-
this.send(command, optionsOrCb);
|
|
87
|
-
}
|
|
88
|
-
else if (typeof cb === "function") {
|
|
89
|
-
if (typeof optionsOrCb !== "object")
|
|
90
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
91
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
return this.send(command, optionsOrCb);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
stopPipe(args, optionsOrCb, cb) {
|
|
98
|
-
const command = new StopPipeCommand(args);
|
|
99
|
-
if (typeof optionsOrCb === "function") {
|
|
100
|
-
this.send(command, optionsOrCb);
|
|
101
|
-
}
|
|
102
|
-
else if (typeof cb === "function") {
|
|
103
|
-
if (typeof optionsOrCb !== "object")
|
|
104
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
105
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
return this.send(command, optionsOrCb);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
tagResource(args, optionsOrCb, cb) {
|
|
112
|
-
const command = new TagResourceCommand(args);
|
|
113
|
-
if (typeof optionsOrCb === "function") {
|
|
114
|
-
this.send(command, optionsOrCb);
|
|
115
|
-
}
|
|
116
|
-
else if (typeof cb === "function") {
|
|
117
|
-
if (typeof optionsOrCb !== "object")
|
|
118
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
119
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
return this.send(command, optionsOrCb);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
untagResource(args, optionsOrCb, cb) {
|
|
126
|
-
const command = new UntagResourceCommand(args);
|
|
127
|
-
if (typeof optionsOrCb === "function") {
|
|
128
|
-
this.send(command, optionsOrCb);
|
|
129
|
-
}
|
|
130
|
-
else if (typeof cb === "function") {
|
|
131
|
-
if (typeof optionsOrCb !== "object")
|
|
132
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
133
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
return this.send(command, optionsOrCb);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
updatePipe(args, optionsOrCb, cb) {
|
|
140
|
-
const command = new UpdatePipeCommand(args);
|
|
141
|
-
if (typeof optionsOrCb === "function") {
|
|
142
|
-
this.send(command, optionsOrCb);
|
|
143
|
-
}
|
|
144
|
-
else if (typeof cb === "function") {
|
|
145
|
-
if (typeof optionsOrCb !== "object")
|
|
146
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
147
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
return this.send(command, optionsOrCb);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
26
|
}
|
|
27
|
+
createAggregatedClient(commands, Pipes);
|
package/dist-types/Pipes.d.ts
CHANGED
|
@@ -10,96 +10,73 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
10
10
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
11
11
|
import { UpdatePipeCommandInput, UpdatePipeCommandOutput } from "./commands/UpdatePipeCommand";
|
|
12
12
|
import { PipesClient } from "./PipesClient";
|
|
13
|
-
|
|
14
|
-
* @public
|
|
15
|
-
* <p>Amazon EventBridge Pipes connects event sources to targets. Pipes reduces the need for specialized knowledge and integration code when developing
|
|
16
|
-
* event driven architectures. This helps ensures consistency across your company’s applications. With Pipes, the target can be any available EventBridge target.
|
|
17
|
-
* To set up a pipe, you select the event source, add optional event filtering, define optional enrichment, and select the target for the event data. </p>
|
|
18
|
-
*/
|
|
19
|
-
export declare class Pipes extends PipesClient {
|
|
13
|
+
export interface Pipes {
|
|
20
14
|
/**
|
|
21
|
-
* @
|
|
22
|
-
* <p>Create a pipe. Amazon EventBridge Pipes connect event sources to targets and reduces the need for specialized knowledge and integration code.</p>
|
|
15
|
+
* @see {@link CreatePipeCommand}
|
|
23
16
|
*/
|
|
24
17
|
createPipe(args: CreatePipeCommandInput, options?: __HttpHandlerOptions): Promise<CreatePipeCommandOutput>;
|
|
25
18
|
createPipe(args: CreatePipeCommandInput, cb: (err: any, data?: CreatePipeCommandOutput) => void): void;
|
|
26
19
|
createPipe(args: CreatePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePipeCommandOutput) => void): void;
|
|
27
20
|
/**
|
|
28
|
-
* @
|
|
29
|
-
* <p>Delete an existing pipe. For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html">Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
|
|
21
|
+
* @see {@link DeletePipeCommand}
|
|
30
22
|
*/
|
|
31
23
|
deletePipe(args: DeletePipeCommandInput, options?: __HttpHandlerOptions): Promise<DeletePipeCommandOutput>;
|
|
32
24
|
deletePipe(args: DeletePipeCommandInput, cb: (err: any, data?: DeletePipeCommandOutput) => void): void;
|
|
33
25
|
deletePipe(args: DeletePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePipeCommandOutput) => void): void;
|
|
34
26
|
/**
|
|
35
|
-
* @
|
|
36
|
-
* <p>Get the information about an existing pipe. For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html">Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
|
|
27
|
+
* @see {@link DescribePipeCommand}
|
|
37
28
|
*/
|
|
38
29
|
describePipe(args: DescribePipeCommandInput, options?: __HttpHandlerOptions): Promise<DescribePipeCommandOutput>;
|
|
39
30
|
describePipe(args: DescribePipeCommandInput, cb: (err: any, data?: DescribePipeCommandOutput) => void): void;
|
|
40
31
|
describePipe(args: DescribePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePipeCommandOutput) => void): void;
|
|
41
32
|
/**
|
|
42
|
-
* @
|
|
43
|
-
* <p>Get the pipes associated with this account. For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html">Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
|
|
33
|
+
* @see {@link ListPipesCommand}
|
|
44
34
|
*/
|
|
45
35
|
listPipes(args: ListPipesCommandInput, options?: __HttpHandlerOptions): Promise<ListPipesCommandOutput>;
|
|
46
36
|
listPipes(args: ListPipesCommandInput, cb: (err: any, data?: ListPipesCommandOutput) => void): void;
|
|
47
37
|
listPipes(args: ListPipesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPipesCommandOutput) => void): void;
|
|
48
38
|
/**
|
|
49
|
-
* @
|
|
50
|
-
* <p>Displays the tags associated with a pipe.</p>
|
|
39
|
+
* @see {@link ListTagsForResourceCommand}
|
|
51
40
|
*/
|
|
52
41
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
53
42
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
54
43
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
55
44
|
/**
|
|
56
|
-
* @
|
|
57
|
-
* <p>Start an existing pipe.</p>
|
|
45
|
+
* @see {@link StartPipeCommand}
|
|
58
46
|
*/
|
|
59
47
|
startPipe(args: StartPipeCommandInput, options?: __HttpHandlerOptions): Promise<StartPipeCommandOutput>;
|
|
60
48
|
startPipe(args: StartPipeCommandInput, cb: (err: any, data?: StartPipeCommandOutput) => void): void;
|
|
61
49
|
startPipe(args: StartPipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPipeCommandOutput) => void): void;
|
|
62
50
|
/**
|
|
63
|
-
* @
|
|
64
|
-
* <p>Stop an existing pipe.</p>
|
|
51
|
+
* @see {@link StopPipeCommand}
|
|
65
52
|
*/
|
|
66
53
|
stopPipe(args: StopPipeCommandInput, options?: __HttpHandlerOptions): Promise<StopPipeCommandOutput>;
|
|
67
54
|
stopPipe(args: StopPipeCommandInput, cb: (err: any, data?: StopPipeCommandOutput) => void): void;
|
|
68
55
|
stopPipe(args: StopPipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopPipeCommandOutput) => void): void;
|
|
69
56
|
/**
|
|
70
|
-
* @
|
|
71
|
-
* <p>Assigns one or more tags (key-value pairs) to the specified pipe. Tags can
|
|
72
|
-
* help you organize and categorize your resources. You can also use them to scope user
|
|
73
|
-
* permissions by granting a user permission to access or change only resources with certain tag
|
|
74
|
-
* values.</p>
|
|
75
|
-
* <p>Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of
|
|
76
|
-
* characters.</p>
|
|
77
|
-
* <p>You can use the <code>TagResource</code> action with a pipe that already has tags. If
|
|
78
|
-
* you specify a new tag key, this tag is appended to the list of tags associated with the
|
|
79
|
-
* pipe. If you specify a tag key that is already associated with the pipe, the new tag
|
|
80
|
-
* value that you specify replaces the previous value for that tag.</p>
|
|
81
|
-
* <p>You can associate as many as 50 tags with a pipe.</p>
|
|
57
|
+
* @see {@link TagResourceCommand}
|
|
82
58
|
*/
|
|
83
59
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
84
60
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
85
61
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
86
62
|
/**
|
|
87
|
-
* @
|
|
88
|
-
* <p>Removes one or more tags from the specified pipes.</p>
|
|
63
|
+
* @see {@link UntagResourceCommand}
|
|
89
64
|
*/
|
|
90
65
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
91
66
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
92
67
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
93
68
|
/**
|
|
94
|
-
* @
|
|
95
|
-
* <p>Update an existing pipe. When you call <code>UpdatePipe</code>, only the fields that are included in the request are changed, the rest are unchanged.
|
|
96
|
-
* The exception to this is if you modify any Amazon Web Services-service specific fields in the <code>SourceParameters</code>, <code>EnrichmentParameters</code>, or
|
|
97
|
-
* <code>TargetParameters</code> objects. The fields in these objects are updated atomically as one and override existing values. This is by design and means that
|
|
98
|
-
* if you don't specify an optional field in one of these Parameters objects, that field will be set to its system-default value after the update.</p>
|
|
99
|
-
* <p>For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html">
|
|
100
|
-
* Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
|
|
69
|
+
* @see {@link UpdatePipeCommand}
|
|
101
70
|
*/
|
|
102
71
|
updatePipe(args: UpdatePipeCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePipeCommandOutput>;
|
|
103
72
|
updatePipe(args: UpdatePipeCommandInput, cb: (err: any, data?: UpdatePipeCommandOutput) => void): void;
|
|
104
73
|
updatePipe(args: UpdatePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePipeCommandOutput) => void): void;
|
|
105
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
* <p>Amazon EventBridge Pipes connects event sources to targets. Pipes reduces the need for specialized knowledge and integration code when developing
|
|
78
|
+
* event driven architectures. This helps ensures consistency across your company’s applications. With Pipes, the target can be any available EventBridge target.
|
|
79
|
+
* To set up a pipe, you select the event source, add optional event filtering, define optional enrichment, and select the target for the event data. </p>
|
|
80
|
+
*/
|
|
81
|
+
export declare class Pipes extends PipesClient implements Pipes {
|
|
82
|
+
}
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
UpdatePipeCommandOutput,
|
|
41
41
|
} from "./commands/UpdatePipeCommand";
|
|
42
42
|
import { PipesClient } from "./PipesClient";
|
|
43
|
-
export
|
|
43
|
+
export interface Pipes {
|
|
44
44
|
createPipe(
|
|
45
45
|
args: CreatePipeCommandInput,
|
|
46
46
|
options?: __HttpHandlerOptions
|
|
@@ -172,3 +172,4 @@ export declare class Pipes extends PipesClient {
|
|
|
172
172
|
cb: (err: any, data?: UpdatePipeCommandOutput) => void
|
|
173
173
|
): void;
|
|
174
174
|
}
|
|
175
|
+
export declare class Pipes extends PipesClient implements Pipes {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pipes",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pipes Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|