@aws-sdk/client-synthetics 3.121.0 → 3.124.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/README.md +7 -7
- package/dist-cjs/Synthetics.js +120 -0
- package/dist-cjs/commands/AssociateResourceCommand.js +36 -0
- package/dist-cjs/commands/CreateGroupCommand.js +36 -0
- package/dist-cjs/commands/DeleteGroupCommand.js +36 -0
- package/dist-cjs/commands/DisassociateResourceCommand.js +36 -0
- package/dist-cjs/commands/GetGroupCommand.js +36 -0
- package/dist-cjs/commands/ListAssociatedGroupsCommand.js +36 -0
- package/dist-cjs/commands/ListGroupResourcesCommand.js +36 -0
- package/dist-cjs/commands/ListGroupsCommand.js +36 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +236 -58
- package/dist-cjs/pagination/ListAssociatedGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/ListGroupResourcesPaginator.js +36 -0
- package/dist-cjs/pagination/ListGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +798 -83
- package/dist-es/Synthetics.js +120 -0
- package/dist-es/commands/AssociateResourceCommand.js +39 -0
- package/dist-es/commands/CreateGroupCommand.js +39 -0
- package/dist-es/commands/DeleteGroupCommand.js +39 -0
- package/dist-es/commands/DisassociateResourceCommand.js +39 -0
- package/dist-es/commands/GetGroupCommand.js +39 -0
- package/dist-es/commands/ListAssociatedGroupsCommand.js +39 -0
- package/dist-es/commands/ListGroupResourcesCommand.js +39 -0
- package/dist-es/commands/ListGroupsCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +189 -52
- package/dist-es/pagination/ListAssociatedGroupsPaginator.js +75 -0
- package/dist-es/pagination/ListGroupResourcesPaginator.js +75 -0
- package/dist-es/pagination/ListGroupsPaginator.js +75 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1041 -128
- package/dist-types/Synthetics.d.ts +90 -11
- package/dist-types/SyntheticsClient.d.ts +10 -2
- package/dist-types/commands/AssociateResourceCommand.d.ts +38 -0
- package/dist-types/commands/CreateCanaryCommand.d.ts +1 -1
- package/dist-types/commands/CreateGroupCommand.d.ts +47 -0
- package/dist-types/commands/DeleteCanaryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGroupCommand.d.ts +39 -0
- package/dist-types/commands/DisassociateResourceCommand.d.ts +35 -0
- package/dist-types/commands/GetGroupCommand.d.ts +36 -0
- package/dist-types/commands/ListAssociatedGroupsCommand.d.ts +36 -0
- package/dist-types/commands/ListGroupResourcesCommand.d.ts +35 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +36 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StopCanaryCommand.d.ts +1 -2
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCanaryCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +450 -52
- package/dist-types/pagination/ListAssociatedGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListGroupResourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/Synthetics.d.ts +40 -0
- package/dist-types/ts3.4/SyntheticsClient.d.ts +10 -2
- package/dist-types/ts3.4/commands/AssociateResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAssociatedGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListGroupResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +243 -27
- package/dist-types/ts3.4/pagination/ListAssociatedGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGroupResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
package/dist-es/Synthetics.js
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
+
import { AssociateResourceCommand, } from "./commands/AssociateResourceCommand";
|
|
2
3
|
import { CreateCanaryCommand, } from "./commands/CreateCanaryCommand";
|
|
4
|
+
import { CreateGroupCommand } from "./commands/CreateGroupCommand";
|
|
3
5
|
import { DeleteCanaryCommand, } from "./commands/DeleteCanaryCommand";
|
|
6
|
+
import { DeleteGroupCommand } from "./commands/DeleteGroupCommand";
|
|
4
7
|
import { DescribeCanariesCommand, } from "./commands/DescribeCanariesCommand";
|
|
5
8
|
import { DescribeCanariesLastRunCommand, } from "./commands/DescribeCanariesLastRunCommand";
|
|
6
9
|
import { DescribeRuntimeVersionsCommand, } from "./commands/DescribeRuntimeVersionsCommand";
|
|
10
|
+
import { DisassociateResourceCommand, } from "./commands/DisassociateResourceCommand";
|
|
7
11
|
import { GetCanaryCommand } from "./commands/GetCanaryCommand";
|
|
8
12
|
import { GetCanaryRunsCommand, } from "./commands/GetCanaryRunsCommand";
|
|
13
|
+
import { GetGroupCommand } from "./commands/GetGroupCommand";
|
|
14
|
+
import { ListAssociatedGroupsCommand, } from "./commands/ListAssociatedGroupsCommand";
|
|
15
|
+
import { ListGroupResourcesCommand, } from "./commands/ListGroupResourcesCommand";
|
|
16
|
+
import { ListGroupsCommand } from "./commands/ListGroupsCommand";
|
|
9
17
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
10
18
|
import { StartCanaryCommand } from "./commands/StartCanaryCommand";
|
|
11
19
|
import { StopCanaryCommand } from "./commands/StopCanaryCommand";
|
|
@@ -18,6 +26,20 @@ var Synthetics = (function (_super) {
|
|
|
18
26
|
function Synthetics() {
|
|
19
27
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
20
28
|
}
|
|
29
|
+
Synthetics.prototype.associateResource = function (args, optionsOrCb, cb) {
|
|
30
|
+
var command = new AssociateResourceCommand(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 ".concat(typeof optionsOrCb));
|
|
37
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
return this.send(command, optionsOrCb);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
21
43
|
Synthetics.prototype.createCanary = function (args, optionsOrCb, cb) {
|
|
22
44
|
var command = new CreateCanaryCommand(args);
|
|
23
45
|
if (typeof optionsOrCb === "function") {
|
|
@@ -32,6 +54,20 @@ var Synthetics = (function (_super) {
|
|
|
32
54
|
return this.send(command, optionsOrCb);
|
|
33
55
|
}
|
|
34
56
|
};
|
|
57
|
+
Synthetics.prototype.createGroup = function (args, optionsOrCb, cb) {
|
|
58
|
+
var command = new CreateGroupCommand(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 ".concat(typeof optionsOrCb));
|
|
65
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
return this.send(command, optionsOrCb);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
35
71
|
Synthetics.prototype.deleteCanary = function (args, optionsOrCb, cb) {
|
|
36
72
|
var command = new DeleteCanaryCommand(args);
|
|
37
73
|
if (typeof optionsOrCb === "function") {
|
|
@@ -46,6 +82,20 @@ var Synthetics = (function (_super) {
|
|
|
46
82
|
return this.send(command, optionsOrCb);
|
|
47
83
|
}
|
|
48
84
|
};
|
|
85
|
+
Synthetics.prototype.deleteGroup = function (args, optionsOrCb, cb) {
|
|
86
|
+
var command = new DeleteGroupCommand(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 ".concat(typeof optionsOrCb));
|
|
93
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
return this.send(command, optionsOrCb);
|
|
97
|
+
}
|
|
98
|
+
};
|
|
49
99
|
Synthetics.prototype.describeCanaries = function (args, optionsOrCb, cb) {
|
|
50
100
|
var command = new DescribeCanariesCommand(args);
|
|
51
101
|
if (typeof optionsOrCb === "function") {
|
|
@@ -88,6 +138,20 @@ var Synthetics = (function (_super) {
|
|
|
88
138
|
return this.send(command, optionsOrCb);
|
|
89
139
|
}
|
|
90
140
|
};
|
|
141
|
+
Synthetics.prototype.disassociateResource = function (args, optionsOrCb, cb) {
|
|
142
|
+
var command = new DisassociateResourceCommand(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 ".concat(typeof optionsOrCb));
|
|
149
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
150
|
+
}
|
|
151
|
+
else {
|
|
152
|
+
return this.send(command, optionsOrCb);
|
|
153
|
+
}
|
|
154
|
+
};
|
|
91
155
|
Synthetics.prototype.getCanary = function (args, optionsOrCb, cb) {
|
|
92
156
|
var command = new GetCanaryCommand(args);
|
|
93
157
|
if (typeof optionsOrCb === "function") {
|
|
@@ -116,6 +180,62 @@ var Synthetics = (function (_super) {
|
|
|
116
180
|
return this.send(command, optionsOrCb);
|
|
117
181
|
}
|
|
118
182
|
};
|
|
183
|
+
Synthetics.prototype.getGroup = function (args, optionsOrCb, cb) {
|
|
184
|
+
var command = new GetGroupCommand(args);
|
|
185
|
+
if (typeof optionsOrCb === "function") {
|
|
186
|
+
this.send(command, optionsOrCb);
|
|
187
|
+
}
|
|
188
|
+
else if (typeof cb === "function") {
|
|
189
|
+
if (typeof optionsOrCb !== "object")
|
|
190
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
191
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
192
|
+
}
|
|
193
|
+
else {
|
|
194
|
+
return this.send(command, optionsOrCb);
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
Synthetics.prototype.listAssociatedGroups = function (args, optionsOrCb, cb) {
|
|
198
|
+
var command = new ListAssociatedGroupsCommand(args);
|
|
199
|
+
if (typeof optionsOrCb === "function") {
|
|
200
|
+
this.send(command, optionsOrCb);
|
|
201
|
+
}
|
|
202
|
+
else if (typeof cb === "function") {
|
|
203
|
+
if (typeof optionsOrCb !== "object")
|
|
204
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
205
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
return this.send(command, optionsOrCb);
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
Synthetics.prototype.listGroupResources = function (args, optionsOrCb, cb) {
|
|
212
|
+
var command = new ListGroupResourcesCommand(args);
|
|
213
|
+
if (typeof optionsOrCb === "function") {
|
|
214
|
+
this.send(command, optionsOrCb);
|
|
215
|
+
}
|
|
216
|
+
else if (typeof cb === "function") {
|
|
217
|
+
if (typeof optionsOrCb !== "object")
|
|
218
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
219
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
220
|
+
}
|
|
221
|
+
else {
|
|
222
|
+
return this.send(command, optionsOrCb);
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
Synthetics.prototype.listGroups = function (args, optionsOrCb, cb) {
|
|
226
|
+
var command = new ListGroupsCommand(args);
|
|
227
|
+
if (typeof optionsOrCb === "function") {
|
|
228
|
+
this.send(command, optionsOrCb);
|
|
229
|
+
}
|
|
230
|
+
else if (typeof cb === "function") {
|
|
231
|
+
if (typeof optionsOrCb !== "object")
|
|
232
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
233
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
234
|
+
}
|
|
235
|
+
else {
|
|
236
|
+
return this.send(command, optionsOrCb);
|
|
237
|
+
}
|
|
238
|
+
};
|
|
119
239
|
Synthetics.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
120
240
|
var command = new ListTagsForResourceCommand(args);
|
|
121
241
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { AssociateResourceRequest, AssociateResourceResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1AssociateResourceCommand, serializeAws_restJson1AssociateResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var AssociateResourceCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateResourceCommand, _super);
|
|
8
|
+
function AssociateResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
AssociateResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SyntheticsClient";
|
|
18
|
+
var commandName = "AssociateResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: AssociateResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AssociateResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateResourceCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1AssociateResourceCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
AssociateResourceCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1AssociateResourceCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return AssociateResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateResourceCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateGroupRequest, CreateGroupResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateGroupCommand, serializeAws_restJson1CreateGroupCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateGroupCommand = (function (_super) {
|
|
7
|
+
__extends(CreateGroupCommand, _super);
|
|
8
|
+
function CreateGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SyntheticsClient";
|
|
18
|
+
var commandName = "CreateGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateGroupRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateGroupResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateGroupCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateGroupCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateGroupCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateGroupCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateGroupCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteGroupRequest, DeleteGroupResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteGroupCommand, serializeAws_restJson1DeleteGroupCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteGroupCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteGroupCommand, _super);
|
|
8
|
+
function DeleteGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SyntheticsClient";
|
|
18
|
+
var commandName = "DeleteGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteGroupRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteGroupResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteGroupCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteGroupCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteGroupCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteGroupCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteGroupCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DisassociateResourceRequest, DisassociateResourceResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DisassociateResourceCommand, serializeAws_restJson1DisassociateResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DisassociateResourceCommand = (function (_super) {
|
|
7
|
+
__extends(DisassociateResourceCommand, _super);
|
|
8
|
+
function DisassociateResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DisassociateResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SyntheticsClient";
|
|
18
|
+
var commandName = "DisassociateResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DisassociateResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DisassociateResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisassociateResourceCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DisassociateResourceCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DisassociateResourceCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DisassociateResourceCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DisassociateResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisassociateResourceCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetGroupRequest, GetGroupResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetGroupCommand, serializeAws_restJson1GetGroupCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetGroupCommand = (function (_super) {
|
|
7
|
+
__extends(GetGroupCommand, _super);
|
|
8
|
+
function GetGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SyntheticsClient";
|
|
18
|
+
var commandName = "GetGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetGroupRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetGroupResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetGroupCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetGroupCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetGroupCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetGroupCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetGroupCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListAssociatedGroupsRequest, ListAssociatedGroupsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListAssociatedGroupsCommand, serializeAws_restJson1ListAssociatedGroupsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListAssociatedGroupsCommand = (function (_super) {
|
|
7
|
+
__extends(ListAssociatedGroupsCommand, _super);
|
|
8
|
+
function ListAssociatedGroupsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListAssociatedGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SyntheticsClient";
|
|
18
|
+
var commandName = "ListAssociatedGroupsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListAssociatedGroupsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListAssociatedGroupsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListAssociatedGroupsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListAssociatedGroupsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListAssociatedGroupsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListAssociatedGroupsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListAssociatedGroupsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListAssociatedGroupsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListGroupResourcesRequest, ListGroupResourcesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListGroupResourcesCommand, serializeAws_restJson1ListGroupResourcesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListGroupResourcesCommand = (function (_super) {
|
|
7
|
+
__extends(ListGroupResourcesCommand, _super);
|
|
8
|
+
function ListGroupResourcesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListGroupResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SyntheticsClient";
|
|
18
|
+
var commandName = "ListGroupResourcesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListGroupResourcesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListGroupResourcesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListGroupResourcesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListGroupResourcesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListGroupResourcesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListGroupResourcesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListGroupResourcesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListGroupResourcesCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListGroupsRequest, ListGroupsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListGroupsCommand, serializeAws_restJson1ListGroupsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListGroupsCommand = (function (_super) {
|
|
7
|
+
__extends(ListGroupsCommand, _super);
|
|
8
|
+
function ListGroupsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SyntheticsClient";
|
|
18
|
+
var commandName = "ListGroupsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListGroupsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListGroupsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListGroupsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListGroupsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListGroupsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListGroupsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListGroupsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListGroupsCommand };
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
+
export * from "./AssociateResourceCommand";
|
|
1
2
|
export * from "./CreateCanaryCommand";
|
|
3
|
+
export * from "./CreateGroupCommand";
|
|
2
4
|
export * from "./DeleteCanaryCommand";
|
|
5
|
+
export * from "./DeleteGroupCommand";
|
|
3
6
|
export * from "./DescribeCanariesCommand";
|
|
4
7
|
export * from "./DescribeCanariesLastRunCommand";
|
|
5
8
|
export * from "./DescribeRuntimeVersionsCommand";
|
|
9
|
+
export * from "./DisassociateResourceCommand";
|
|
6
10
|
export * from "./GetCanaryCommand";
|
|
7
11
|
export * from "./GetCanaryRunsCommand";
|
|
12
|
+
export * from "./GetGroupCommand";
|
|
13
|
+
export * from "./ListAssociatedGroupsCommand";
|
|
14
|
+
export * from "./ListGroupResourcesCommand";
|
|
15
|
+
export * from "./ListGroupsCommand";
|
|
8
16
|
export * from "./ListTagsForResourceCommand";
|
|
9
17
|
export * from "./StartCanaryCommand";
|
|
10
18
|
export * from "./StopCanaryCommand";
|