@aws-sdk/client-codestar-connections 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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CodeStarConnections = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CodeStarConnectionsClient_1 = require("./CodeStarConnectionsClient");
|
|
5
6
|
const CreateConnectionCommand_1 = require("./commands/CreateConnectionCommand");
|
|
6
7
|
const CreateHostCommand_1 = require("./commands/CreateHostCommand");
|
|
@@ -14,174 +15,21 @@ const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceComm
|
|
|
14
15
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
15
16
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
16
17
|
const UpdateHostCommand_1 = require("./commands/UpdateHostCommand");
|
|
18
|
+
const commands = {
|
|
19
|
+
CreateConnectionCommand: CreateConnectionCommand_1.CreateConnectionCommand,
|
|
20
|
+
CreateHostCommand: CreateHostCommand_1.CreateHostCommand,
|
|
21
|
+
DeleteConnectionCommand: DeleteConnectionCommand_1.DeleteConnectionCommand,
|
|
22
|
+
DeleteHostCommand: DeleteHostCommand_1.DeleteHostCommand,
|
|
23
|
+
GetConnectionCommand: GetConnectionCommand_1.GetConnectionCommand,
|
|
24
|
+
GetHostCommand: GetHostCommand_1.GetHostCommand,
|
|
25
|
+
ListConnectionsCommand: ListConnectionsCommand_1.ListConnectionsCommand,
|
|
26
|
+
ListHostsCommand: ListHostsCommand_1.ListHostsCommand,
|
|
27
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
28
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
29
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
30
|
+
UpdateHostCommand: UpdateHostCommand_1.UpdateHostCommand,
|
|
31
|
+
};
|
|
17
32
|
class CodeStarConnections extends CodeStarConnectionsClient_1.CodeStarConnectionsClient {
|
|
18
|
-
createConnection(args, optionsOrCb, cb) {
|
|
19
|
-
const command = new CreateConnectionCommand_1.CreateConnectionCommand(args);
|
|
20
|
-
if (typeof optionsOrCb === "function") {
|
|
21
|
-
this.send(command, optionsOrCb);
|
|
22
|
-
}
|
|
23
|
-
else if (typeof cb === "function") {
|
|
24
|
-
if (typeof optionsOrCb !== "object")
|
|
25
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
26
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
return this.send(command, optionsOrCb);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
createHost(args, optionsOrCb, cb) {
|
|
33
|
-
const command = new CreateHostCommand_1.CreateHostCommand(args);
|
|
34
|
-
if (typeof optionsOrCb === "function") {
|
|
35
|
-
this.send(command, optionsOrCb);
|
|
36
|
-
}
|
|
37
|
-
else if (typeof cb === "function") {
|
|
38
|
-
if (typeof optionsOrCb !== "object")
|
|
39
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
40
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
return this.send(command, optionsOrCb);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
deleteConnection(args, optionsOrCb, cb) {
|
|
47
|
-
const command = new DeleteConnectionCommand_1.DeleteConnectionCommand(args);
|
|
48
|
-
if (typeof optionsOrCb === "function") {
|
|
49
|
-
this.send(command, optionsOrCb);
|
|
50
|
-
}
|
|
51
|
-
else if (typeof cb === "function") {
|
|
52
|
-
if (typeof optionsOrCb !== "object")
|
|
53
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
54
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
return this.send(command, optionsOrCb);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
deleteHost(args, optionsOrCb, cb) {
|
|
61
|
-
const command = new DeleteHostCommand_1.DeleteHostCommand(args);
|
|
62
|
-
if (typeof optionsOrCb === "function") {
|
|
63
|
-
this.send(command, optionsOrCb);
|
|
64
|
-
}
|
|
65
|
-
else if (typeof cb === "function") {
|
|
66
|
-
if (typeof optionsOrCb !== "object")
|
|
67
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
68
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
return this.send(command, optionsOrCb);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
getConnection(args, optionsOrCb, cb) {
|
|
75
|
-
const command = new GetConnectionCommand_1.GetConnectionCommand(args);
|
|
76
|
-
if (typeof optionsOrCb === "function") {
|
|
77
|
-
this.send(command, optionsOrCb);
|
|
78
|
-
}
|
|
79
|
-
else if (typeof cb === "function") {
|
|
80
|
-
if (typeof optionsOrCb !== "object")
|
|
81
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
82
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
return this.send(command, optionsOrCb);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
getHost(args, optionsOrCb, cb) {
|
|
89
|
-
const command = new GetHostCommand_1.GetHostCommand(args);
|
|
90
|
-
if (typeof optionsOrCb === "function") {
|
|
91
|
-
this.send(command, optionsOrCb);
|
|
92
|
-
}
|
|
93
|
-
else if (typeof cb === "function") {
|
|
94
|
-
if (typeof optionsOrCb !== "object")
|
|
95
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
96
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
return this.send(command, optionsOrCb);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
listConnections(args, optionsOrCb, cb) {
|
|
103
|
-
const command = new ListConnectionsCommand_1.ListConnectionsCommand(args);
|
|
104
|
-
if (typeof optionsOrCb === "function") {
|
|
105
|
-
this.send(command, optionsOrCb);
|
|
106
|
-
}
|
|
107
|
-
else if (typeof cb === "function") {
|
|
108
|
-
if (typeof optionsOrCb !== "object")
|
|
109
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
110
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
return this.send(command, optionsOrCb);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
listHosts(args, optionsOrCb, cb) {
|
|
117
|
-
const command = new ListHostsCommand_1.ListHostsCommand(args);
|
|
118
|
-
if (typeof optionsOrCb === "function") {
|
|
119
|
-
this.send(command, optionsOrCb);
|
|
120
|
-
}
|
|
121
|
-
else if (typeof cb === "function") {
|
|
122
|
-
if (typeof optionsOrCb !== "object")
|
|
123
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
124
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
return this.send(command, optionsOrCb);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
131
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
132
|
-
if (typeof optionsOrCb === "function") {
|
|
133
|
-
this.send(command, optionsOrCb);
|
|
134
|
-
}
|
|
135
|
-
else if (typeof cb === "function") {
|
|
136
|
-
if (typeof optionsOrCb !== "object")
|
|
137
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
138
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
139
|
-
}
|
|
140
|
-
else {
|
|
141
|
-
return this.send(command, optionsOrCb);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
tagResource(args, optionsOrCb, cb) {
|
|
145
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
146
|
-
if (typeof optionsOrCb === "function") {
|
|
147
|
-
this.send(command, optionsOrCb);
|
|
148
|
-
}
|
|
149
|
-
else if (typeof cb === "function") {
|
|
150
|
-
if (typeof optionsOrCb !== "object")
|
|
151
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
152
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
153
|
-
}
|
|
154
|
-
else {
|
|
155
|
-
return this.send(command, optionsOrCb);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
untagResource(args, optionsOrCb, cb) {
|
|
159
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
160
|
-
if (typeof optionsOrCb === "function") {
|
|
161
|
-
this.send(command, optionsOrCb);
|
|
162
|
-
}
|
|
163
|
-
else if (typeof cb === "function") {
|
|
164
|
-
if (typeof optionsOrCb !== "object")
|
|
165
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
166
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
167
|
-
}
|
|
168
|
-
else {
|
|
169
|
-
return this.send(command, optionsOrCb);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
updateHost(args, optionsOrCb, cb) {
|
|
173
|
-
const command = new UpdateHostCommand_1.UpdateHostCommand(args);
|
|
174
|
-
if (typeof optionsOrCb === "function") {
|
|
175
|
-
this.send(command, optionsOrCb);
|
|
176
|
-
}
|
|
177
|
-
else if (typeof cb === "function") {
|
|
178
|
-
if (typeof optionsOrCb !== "object")
|
|
179
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
180
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
181
|
-
}
|
|
182
|
-
else {
|
|
183
|
-
return this.send(command, optionsOrCb);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
33
|
}
|
|
187
34
|
exports.CodeStarConnections = CodeStarConnections;
|
|
35
|
+
(0, smithy_client_1.createAggregatedClient)(commands, CodeStarConnections);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CodeStarConnectionsClient } from "./CodeStarConnectionsClient";
|
|
2
3
|
import { CreateConnectionCommand, } from "./commands/CreateConnectionCommand";
|
|
3
4
|
import { CreateHostCommand } from "./commands/CreateHostCommand";
|
|
@@ -11,173 +12,20 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
11
12
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
12
13
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
13
14
|
import { UpdateHostCommand } from "./commands/UpdateHostCommand";
|
|
15
|
+
const commands = {
|
|
16
|
+
CreateConnectionCommand,
|
|
17
|
+
CreateHostCommand,
|
|
18
|
+
DeleteConnectionCommand,
|
|
19
|
+
DeleteHostCommand,
|
|
20
|
+
GetConnectionCommand,
|
|
21
|
+
GetHostCommand,
|
|
22
|
+
ListConnectionsCommand,
|
|
23
|
+
ListHostsCommand,
|
|
24
|
+
ListTagsForResourceCommand,
|
|
25
|
+
TagResourceCommand,
|
|
26
|
+
UntagResourceCommand,
|
|
27
|
+
UpdateHostCommand,
|
|
28
|
+
};
|
|
14
29
|
export class CodeStarConnections extends CodeStarConnectionsClient {
|
|
15
|
-
createConnection(args, optionsOrCb, cb) {
|
|
16
|
-
const command = new CreateConnectionCommand(args);
|
|
17
|
-
if (typeof optionsOrCb === "function") {
|
|
18
|
-
this.send(command, optionsOrCb);
|
|
19
|
-
}
|
|
20
|
-
else if (typeof cb === "function") {
|
|
21
|
-
if (typeof optionsOrCb !== "object")
|
|
22
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
23
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
return this.send(command, optionsOrCb);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
createHost(args, optionsOrCb, cb) {
|
|
30
|
-
const command = new CreateHostCommand(args);
|
|
31
|
-
if (typeof optionsOrCb === "function") {
|
|
32
|
-
this.send(command, optionsOrCb);
|
|
33
|
-
}
|
|
34
|
-
else if (typeof cb === "function") {
|
|
35
|
-
if (typeof optionsOrCb !== "object")
|
|
36
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
37
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
return this.send(command, optionsOrCb);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
deleteConnection(args, optionsOrCb, cb) {
|
|
44
|
-
const command = new DeleteConnectionCommand(args);
|
|
45
|
-
if (typeof optionsOrCb === "function") {
|
|
46
|
-
this.send(command, optionsOrCb);
|
|
47
|
-
}
|
|
48
|
-
else if (typeof cb === "function") {
|
|
49
|
-
if (typeof optionsOrCb !== "object")
|
|
50
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
51
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
return this.send(command, optionsOrCb);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
deleteHost(args, optionsOrCb, cb) {
|
|
58
|
-
const command = new DeleteHostCommand(args);
|
|
59
|
-
if (typeof optionsOrCb === "function") {
|
|
60
|
-
this.send(command, optionsOrCb);
|
|
61
|
-
}
|
|
62
|
-
else if (typeof cb === "function") {
|
|
63
|
-
if (typeof optionsOrCb !== "object")
|
|
64
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
65
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
return this.send(command, optionsOrCb);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
getConnection(args, optionsOrCb, cb) {
|
|
72
|
-
const command = new GetConnectionCommand(args);
|
|
73
|
-
if (typeof optionsOrCb === "function") {
|
|
74
|
-
this.send(command, optionsOrCb);
|
|
75
|
-
}
|
|
76
|
-
else if (typeof cb === "function") {
|
|
77
|
-
if (typeof optionsOrCb !== "object")
|
|
78
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
79
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
return this.send(command, optionsOrCb);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
getHost(args, optionsOrCb, cb) {
|
|
86
|
-
const command = new GetHostCommand(args);
|
|
87
|
-
if (typeof optionsOrCb === "function") {
|
|
88
|
-
this.send(command, optionsOrCb);
|
|
89
|
-
}
|
|
90
|
-
else if (typeof cb === "function") {
|
|
91
|
-
if (typeof optionsOrCb !== "object")
|
|
92
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
93
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
return this.send(command, optionsOrCb);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
listConnections(args, optionsOrCb, cb) {
|
|
100
|
-
const command = new ListConnectionsCommand(args);
|
|
101
|
-
if (typeof optionsOrCb === "function") {
|
|
102
|
-
this.send(command, optionsOrCb);
|
|
103
|
-
}
|
|
104
|
-
else if (typeof cb === "function") {
|
|
105
|
-
if (typeof optionsOrCb !== "object")
|
|
106
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
107
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
return this.send(command, optionsOrCb);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
listHosts(args, optionsOrCb, cb) {
|
|
114
|
-
const command = new ListHostsCommand(args);
|
|
115
|
-
if (typeof optionsOrCb === "function") {
|
|
116
|
-
this.send(command, optionsOrCb);
|
|
117
|
-
}
|
|
118
|
-
else if (typeof cb === "function") {
|
|
119
|
-
if (typeof optionsOrCb !== "object")
|
|
120
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
121
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
return this.send(command, optionsOrCb);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
128
|
-
const command = new ListTagsForResourceCommand(args);
|
|
129
|
-
if (typeof optionsOrCb === "function") {
|
|
130
|
-
this.send(command, optionsOrCb);
|
|
131
|
-
}
|
|
132
|
-
else if (typeof cb === "function") {
|
|
133
|
-
if (typeof optionsOrCb !== "object")
|
|
134
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
135
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
return this.send(command, optionsOrCb);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
tagResource(args, optionsOrCb, cb) {
|
|
142
|
-
const command = new TagResourceCommand(args);
|
|
143
|
-
if (typeof optionsOrCb === "function") {
|
|
144
|
-
this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
else if (typeof cb === "function") {
|
|
147
|
-
if (typeof optionsOrCb !== "object")
|
|
148
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
149
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
return this.send(command, optionsOrCb);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
untagResource(args, optionsOrCb, cb) {
|
|
156
|
-
const command = new UntagResourceCommand(args);
|
|
157
|
-
if (typeof optionsOrCb === "function") {
|
|
158
|
-
this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
else if (typeof cb === "function") {
|
|
161
|
-
if (typeof optionsOrCb !== "object")
|
|
162
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
163
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
return this.send(command, optionsOrCb);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
updateHost(args, optionsOrCb, cb) {
|
|
170
|
-
const command = new UpdateHostCommand(args);
|
|
171
|
-
if (typeof optionsOrCb === "function") {
|
|
172
|
-
this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
else if (typeof cb === "function") {
|
|
175
|
-
if (typeof optionsOrCb !== "object")
|
|
176
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
177
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
178
|
-
}
|
|
179
|
-
else {
|
|
180
|
-
return this.send(command, optionsOrCb);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
30
|
}
|
|
31
|
+
createAggregatedClient(commands, CodeStarConnections);
|
|
@@ -12,6 +12,80 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
12
12
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
13
13
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
14
14
|
import { UpdateHostCommandInput, UpdateHostCommandOutput } from "./commands/UpdateHostCommand";
|
|
15
|
+
export interface CodeStarConnections {
|
|
16
|
+
/**
|
|
17
|
+
* @see {@link CreateConnectionCommand}
|
|
18
|
+
*/
|
|
19
|
+
createConnection(args: CreateConnectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectionCommandOutput>;
|
|
20
|
+
createConnection(args: CreateConnectionCommandInput, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
|
|
21
|
+
createConnection(args: CreateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
|
|
22
|
+
/**
|
|
23
|
+
* @see {@link CreateHostCommand}
|
|
24
|
+
*/
|
|
25
|
+
createHost(args: CreateHostCommandInput, options?: __HttpHandlerOptions): Promise<CreateHostCommandOutput>;
|
|
26
|
+
createHost(args: CreateHostCommandInput, cb: (err: any, data?: CreateHostCommandOutput) => void): void;
|
|
27
|
+
createHost(args: CreateHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHostCommandOutput) => void): void;
|
|
28
|
+
/**
|
|
29
|
+
* @see {@link DeleteConnectionCommand}
|
|
30
|
+
*/
|
|
31
|
+
deleteConnection(args: DeleteConnectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectionCommandOutput>;
|
|
32
|
+
deleteConnection(args: DeleteConnectionCommandInput, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void;
|
|
33
|
+
deleteConnection(args: DeleteConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void;
|
|
34
|
+
/**
|
|
35
|
+
* @see {@link DeleteHostCommand}
|
|
36
|
+
*/
|
|
37
|
+
deleteHost(args: DeleteHostCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHostCommandOutput>;
|
|
38
|
+
deleteHost(args: DeleteHostCommandInput, cb: (err: any, data?: DeleteHostCommandOutput) => void): void;
|
|
39
|
+
deleteHost(args: DeleteHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHostCommandOutput) => void): void;
|
|
40
|
+
/**
|
|
41
|
+
* @see {@link GetConnectionCommand}
|
|
42
|
+
*/
|
|
43
|
+
getConnection(args: GetConnectionCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectionCommandOutput>;
|
|
44
|
+
getConnection(args: GetConnectionCommandInput, cb: (err: any, data?: GetConnectionCommandOutput) => void): void;
|
|
45
|
+
getConnection(args: GetConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectionCommandOutput) => void): void;
|
|
46
|
+
/**
|
|
47
|
+
* @see {@link GetHostCommand}
|
|
48
|
+
*/
|
|
49
|
+
getHost(args: GetHostCommandInput, options?: __HttpHandlerOptions): Promise<GetHostCommandOutput>;
|
|
50
|
+
getHost(args: GetHostCommandInput, cb: (err: any, data?: GetHostCommandOutput) => void): void;
|
|
51
|
+
getHost(args: GetHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHostCommandOutput) => void): void;
|
|
52
|
+
/**
|
|
53
|
+
* @see {@link ListConnectionsCommand}
|
|
54
|
+
*/
|
|
55
|
+
listConnections(args: ListConnectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectionsCommandOutput>;
|
|
56
|
+
listConnections(args: ListConnectionsCommandInput, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void;
|
|
57
|
+
listConnections(args: ListConnectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void;
|
|
58
|
+
/**
|
|
59
|
+
* @see {@link ListHostsCommand}
|
|
60
|
+
*/
|
|
61
|
+
listHosts(args: ListHostsCommandInput, options?: __HttpHandlerOptions): Promise<ListHostsCommandOutput>;
|
|
62
|
+
listHosts(args: ListHostsCommandInput, cb: (err: any, data?: ListHostsCommandOutput) => void): void;
|
|
63
|
+
listHosts(args: ListHostsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHostsCommandOutput) => void): void;
|
|
64
|
+
/**
|
|
65
|
+
* @see {@link ListTagsForResourceCommand}
|
|
66
|
+
*/
|
|
67
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
68
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
69
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
70
|
+
/**
|
|
71
|
+
* @see {@link TagResourceCommand}
|
|
72
|
+
*/
|
|
73
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
74
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
75
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
76
|
+
/**
|
|
77
|
+
* @see {@link UntagResourceCommand}
|
|
78
|
+
*/
|
|
79
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
80
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
81
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
82
|
+
/**
|
|
83
|
+
* @see {@link UpdateHostCommand}
|
|
84
|
+
*/
|
|
85
|
+
updateHost(args: UpdateHostCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHostCommandOutput>;
|
|
86
|
+
updateHost(args: UpdateHostCommandInput, cb: (err: any, data?: UpdateHostCommandOutput) => void): void;
|
|
87
|
+
updateHost(args: UpdateHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHostCommandOutput) => void): void;
|
|
88
|
+
}
|
|
15
89
|
/**
|
|
16
90
|
* @public
|
|
17
91
|
* <fullname>AWS CodeStar Connections</fullname>
|
|
@@ -95,103 +169,5 @@ import { UpdateHostCommandInput, UpdateHostCommandOutput } from "./commands/Upda
|
|
|
95
169
|
* <p>For information about how to use AWS CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
|
|
96
170
|
* Guide</a>.</p>
|
|
97
171
|
*/
|
|
98
|
-
export declare class CodeStarConnections extends CodeStarConnectionsClient {
|
|
99
|
-
/**
|
|
100
|
-
* @public
|
|
101
|
-
* <p>Creates a connection that can then be given to other AWS services like CodePipeline so
|
|
102
|
-
* that it can access third-party code repositories. The connection is in pending status until
|
|
103
|
-
* the third-party connection handshake is completed from the console.</p>
|
|
104
|
-
*/
|
|
105
|
-
createConnection(args: CreateConnectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectionCommandOutput>;
|
|
106
|
-
createConnection(args: CreateConnectionCommandInput, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
|
|
107
|
-
createConnection(args: CreateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
|
|
108
|
-
/**
|
|
109
|
-
* @public
|
|
110
|
-
* <p>Creates a resource that represents the infrastructure where a third-party provider is
|
|
111
|
-
* installed. The host is used when you create connections to an installed third-party provider
|
|
112
|
-
* type, such as GitHub Enterprise Server. You create one host for all connections to that
|
|
113
|
-
* provider.</p>
|
|
114
|
-
* <note>
|
|
115
|
-
* <p>A host created through the CLI or the SDK is in `PENDING` status by
|
|
116
|
-
* default. You can make its status `AVAILABLE` by setting up the host in the console.</p>
|
|
117
|
-
* </note>
|
|
118
|
-
*/
|
|
119
|
-
createHost(args: CreateHostCommandInput, options?: __HttpHandlerOptions): Promise<CreateHostCommandOutput>;
|
|
120
|
-
createHost(args: CreateHostCommandInput, cb: (err: any, data?: CreateHostCommandOutput) => void): void;
|
|
121
|
-
createHost(args: CreateHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHostCommandOutput) => void): void;
|
|
122
|
-
/**
|
|
123
|
-
* @public
|
|
124
|
-
* <p>The connection to be deleted.</p>
|
|
125
|
-
*/
|
|
126
|
-
deleteConnection(args: DeleteConnectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectionCommandOutput>;
|
|
127
|
-
deleteConnection(args: DeleteConnectionCommandInput, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void;
|
|
128
|
-
deleteConnection(args: DeleteConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void;
|
|
129
|
-
/**
|
|
130
|
-
* @public
|
|
131
|
-
* <p>The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.</p>
|
|
132
|
-
* <note>
|
|
133
|
-
* <p>A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.</p>
|
|
134
|
-
* </note>
|
|
135
|
-
*/
|
|
136
|
-
deleteHost(args: DeleteHostCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHostCommandOutput>;
|
|
137
|
-
deleteHost(args: DeleteHostCommandInput, cb: (err: any, data?: DeleteHostCommandOutput) => void): void;
|
|
138
|
-
deleteHost(args: DeleteHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHostCommandOutput) => void): void;
|
|
139
|
-
/**
|
|
140
|
-
* @public
|
|
141
|
-
* <p>Returns the connection ARN and details such as status, owner, and provider type.</p>
|
|
142
|
-
*/
|
|
143
|
-
getConnection(args: GetConnectionCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectionCommandOutput>;
|
|
144
|
-
getConnection(args: GetConnectionCommandInput, cb: (err: any, data?: GetConnectionCommandOutput) => void): void;
|
|
145
|
-
getConnection(args: GetConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectionCommandOutput) => void): void;
|
|
146
|
-
/**
|
|
147
|
-
* @public
|
|
148
|
-
* <p>Returns the host ARN and details such as status, provider type, endpoint, and, if
|
|
149
|
-
* applicable, the VPC configuration.</p>
|
|
150
|
-
*/
|
|
151
|
-
getHost(args: GetHostCommandInput, options?: __HttpHandlerOptions): Promise<GetHostCommandOutput>;
|
|
152
|
-
getHost(args: GetHostCommandInput, cb: (err: any, data?: GetHostCommandOutput) => void): void;
|
|
153
|
-
getHost(args: GetHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHostCommandOutput) => void): void;
|
|
154
|
-
/**
|
|
155
|
-
* @public
|
|
156
|
-
* <p>Lists the connections associated with your account.</p>
|
|
157
|
-
*/
|
|
158
|
-
listConnections(args: ListConnectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectionsCommandOutput>;
|
|
159
|
-
listConnections(args: ListConnectionsCommandInput, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void;
|
|
160
|
-
listConnections(args: ListConnectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void;
|
|
161
|
-
/**
|
|
162
|
-
* @public
|
|
163
|
-
* <p>Lists the hosts associated with your account.</p>
|
|
164
|
-
*/
|
|
165
|
-
listHosts(args: ListHostsCommandInput, options?: __HttpHandlerOptions): Promise<ListHostsCommandOutput>;
|
|
166
|
-
listHosts(args: ListHostsCommandInput, cb: (err: any, data?: ListHostsCommandOutput) => void): void;
|
|
167
|
-
listHosts(args: ListHostsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHostsCommandOutput) => void): void;
|
|
168
|
-
/**
|
|
169
|
-
* @public
|
|
170
|
-
* <p>Gets the set of key-value pairs (metadata) that are used to manage the resource.</p>
|
|
171
|
-
*/
|
|
172
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
173
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
174
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
175
|
-
/**
|
|
176
|
-
* @public
|
|
177
|
-
* <p>Adds to or modifies the tags of the given resource. Tags are metadata that can be used
|
|
178
|
-
* to manage a resource.</p>
|
|
179
|
-
*/
|
|
180
|
-
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
181
|
-
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
182
|
-
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
183
|
-
/**
|
|
184
|
-
* @public
|
|
185
|
-
* <p>Removes tags from an AWS resource.</p>
|
|
186
|
-
*/
|
|
187
|
-
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
188
|
-
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
189
|
-
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
190
|
-
/**
|
|
191
|
-
* @public
|
|
192
|
-
* <p>Updates a specified host with the provided configurations.</p>
|
|
193
|
-
*/
|
|
194
|
-
updateHost(args: UpdateHostCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHostCommandOutput>;
|
|
195
|
-
updateHost(args: UpdateHostCommandInput, cb: (err: any, data?: UpdateHostCommandOutput) => void): void;
|
|
196
|
-
updateHost(args: UpdateHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHostCommandOutput) => void): void;
|
|
172
|
+
export declare class CodeStarConnections extends CodeStarConnectionsClient implements CodeStarConnections {
|
|
197
173
|
}
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
UpdateHostCommandInput,
|
|
49
49
|
UpdateHostCommandOutput,
|
|
50
50
|
} from "./commands/UpdateHostCommand";
|
|
51
|
-
export
|
|
51
|
+
export interface CodeStarConnections {
|
|
52
52
|
createConnection(
|
|
53
53
|
args: CreateConnectionCommandInput,
|
|
54
54
|
options?: __HttpHandlerOptions
|
|
@@ -206,3 +206,6 @@ export declare class CodeStarConnections extends CodeStarConnectionsClient {
|
|
|
206
206
|
cb: (err: any, data?: UpdateHostCommandOutput) => void
|
|
207
207
|
): void;
|
|
208
208
|
}
|
|
209
|
+
export declare class CodeStarConnections
|
|
210
|
+
extends CodeStarConnectionsClient
|
|
211
|
+
implements CodeStarConnections {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codestar-connections",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codestar Connections 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",
|