@aws-sdk/client-greengrassv2 3.43.0 → 3.47.1
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 +48 -0
- package/README.md +7 -7
- package/dist-cjs/GreengrassV2.js +75 -0
- package/dist-cjs/commands/AssociateServiceRoleToAccountCommand.js +36 -0
- package/dist-cjs/commands/DisassociateServiceRoleFromAccountCommand.js +36 -0
- package/dist-cjs/commands/GetConnectivityInfoCommand.js +36 -0
- package/dist-cjs/commands/GetServiceRoleForAccountCommand.js +36 -0
- package/dist-cjs/commands/UpdateConnectivityInfoCommand.js +36 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +75 -57
- package/dist-cjs/protocols/Aws_restJson1.js +435 -1
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/GreengrassV2.js +75 -0
- package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +39 -0
- package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +39 -0
- package/dist-es/commands/GetConnectivityInfoCommand.js +39 -0
- package/dist-es/commands/GetServiceRoleForAccountCommand.js +39 -0
- package/dist-es/commands/UpdateConnectivityInfoCommand.js +39 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +52 -40
- package/dist-es/protocols/Aws_restJson1.js +519 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/GreengrassV2.d.ts +59 -2
- package/dist-types/GreengrassV2Client.d.ts +12 -3
- package/dist-types/commands/AssociateServiceRoleToAccountCommand.d.ts +39 -0
- package/dist-types/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.d.ts +1 -1
- package/dist-types/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateServiceRoleFromAccountCommand.d.ts +38 -0
- package/dist-types/commands/GetConnectivityInfoCommand.d.ts +41 -0
- package/dist-types/commands/GetServiceRoleForAccountCommand.d.ts +38 -0
- package/dist-types/commands/UpdateConnectivityInfoCommand.d.ts +41 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +215 -99
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/GreengrassV2.d.ts +25 -0
- package/dist-types/ts3.4/GreengrassV2Client.d.ts +10 -3
- package/dist-types/ts3.4/commands/AssociateServiceRoleToAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateServiceRoleFromAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetConnectivityInfoCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetServiceRoleForAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateConnectivityInfoCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +129 -62
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
package/dist-es/GreengrassV2.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
+
import { AssociateServiceRoleToAccountCommand, } from "./commands/AssociateServiceRoleToAccountCommand";
|
|
2
3
|
import { BatchAssociateClientDeviceWithCoreDeviceCommand, } from "./commands/BatchAssociateClientDeviceWithCoreDeviceCommand";
|
|
3
4
|
import { BatchDisassociateClientDeviceFromCoreDeviceCommand, } from "./commands/BatchDisassociateClientDeviceFromCoreDeviceCommand";
|
|
4
5
|
import { CancelDeploymentCommand, } from "./commands/CancelDeploymentCommand";
|
|
@@ -7,10 +8,13 @@ import { CreateDeploymentCommand, } from "./commands/CreateDeploymentCommand";
|
|
|
7
8
|
import { DeleteComponentCommand, } from "./commands/DeleteComponentCommand";
|
|
8
9
|
import { DeleteCoreDeviceCommand, } from "./commands/DeleteCoreDeviceCommand";
|
|
9
10
|
import { DescribeComponentCommand, } from "./commands/DescribeComponentCommand";
|
|
11
|
+
import { DisassociateServiceRoleFromAccountCommand, } from "./commands/DisassociateServiceRoleFromAccountCommand";
|
|
10
12
|
import { GetComponentCommand, } from "./commands/GetComponentCommand";
|
|
11
13
|
import { GetComponentVersionArtifactCommand, } from "./commands/GetComponentVersionArtifactCommand";
|
|
14
|
+
import { GetConnectivityInfoCommand, } from "./commands/GetConnectivityInfoCommand";
|
|
12
15
|
import { GetCoreDeviceCommand, } from "./commands/GetCoreDeviceCommand";
|
|
13
16
|
import { GetDeploymentCommand, } from "./commands/GetDeploymentCommand";
|
|
17
|
+
import { GetServiceRoleForAccountCommand, } from "./commands/GetServiceRoleForAccountCommand";
|
|
14
18
|
import { ListClientDevicesAssociatedWithCoreDeviceCommand, } from "./commands/ListClientDevicesAssociatedWithCoreDeviceCommand";
|
|
15
19
|
import { ListComponentsCommand, } from "./commands/ListComponentsCommand";
|
|
16
20
|
import { ListComponentVersionsCommand, } from "./commands/ListComponentVersionsCommand";
|
|
@@ -22,12 +26,27 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
22
26
|
import { ResolveComponentCandidatesCommand, } from "./commands/ResolveComponentCandidatesCommand";
|
|
23
27
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
24
28
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
29
|
+
import { UpdateConnectivityInfoCommand, } from "./commands/UpdateConnectivityInfoCommand";
|
|
25
30
|
import { GreengrassV2Client } from "./GreengrassV2Client";
|
|
26
31
|
var GreengrassV2 = (function (_super) {
|
|
27
32
|
__extends(GreengrassV2, _super);
|
|
28
33
|
function GreengrassV2() {
|
|
29
34
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
30
35
|
}
|
|
36
|
+
GreengrassV2.prototype.associateServiceRoleToAccount = function (args, optionsOrCb, cb) {
|
|
37
|
+
var command = new AssociateServiceRoleToAccountCommand(args);
|
|
38
|
+
if (typeof optionsOrCb === "function") {
|
|
39
|
+
this.send(command, optionsOrCb);
|
|
40
|
+
}
|
|
41
|
+
else if (typeof cb === "function") {
|
|
42
|
+
if (typeof optionsOrCb !== "object")
|
|
43
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
44
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
return this.send(command, optionsOrCb);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
31
50
|
GreengrassV2.prototype.batchAssociateClientDeviceWithCoreDevice = function (args, optionsOrCb, cb) {
|
|
32
51
|
var command = new BatchAssociateClientDeviceWithCoreDeviceCommand(args);
|
|
33
52
|
if (typeof optionsOrCb === "function") {
|
|
@@ -140,6 +159,20 @@ var GreengrassV2 = (function (_super) {
|
|
|
140
159
|
return this.send(command, optionsOrCb);
|
|
141
160
|
}
|
|
142
161
|
};
|
|
162
|
+
GreengrassV2.prototype.disassociateServiceRoleFromAccount = function (args, optionsOrCb, cb) {
|
|
163
|
+
var command = new DisassociateServiceRoleFromAccountCommand(args);
|
|
164
|
+
if (typeof optionsOrCb === "function") {
|
|
165
|
+
this.send(command, optionsOrCb);
|
|
166
|
+
}
|
|
167
|
+
else if (typeof cb === "function") {
|
|
168
|
+
if (typeof optionsOrCb !== "object")
|
|
169
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
170
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
return this.send(command, optionsOrCb);
|
|
174
|
+
}
|
|
175
|
+
};
|
|
143
176
|
GreengrassV2.prototype.getComponent = function (args, optionsOrCb, cb) {
|
|
144
177
|
var command = new GetComponentCommand(args);
|
|
145
178
|
if (typeof optionsOrCb === "function") {
|
|
@@ -168,6 +201,20 @@ var GreengrassV2 = (function (_super) {
|
|
|
168
201
|
return this.send(command, optionsOrCb);
|
|
169
202
|
}
|
|
170
203
|
};
|
|
204
|
+
GreengrassV2.prototype.getConnectivityInfo = function (args, optionsOrCb, cb) {
|
|
205
|
+
var command = new GetConnectivityInfoCommand(args);
|
|
206
|
+
if (typeof optionsOrCb === "function") {
|
|
207
|
+
this.send(command, optionsOrCb);
|
|
208
|
+
}
|
|
209
|
+
else if (typeof cb === "function") {
|
|
210
|
+
if (typeof optionsOrCb !== "object")
|
|
211
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
212
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
return this.send(command, optionsOrCb);
|
|
216
|
+
}
|
|
217
|
+
};
|
|
171
218
|
GreengrassV2.prototype.getCoreDevice = function (args, optionsOrCb, cb) {
|
|
172
219
|
var command = new GetCoreDeviceCommand(args);
|
|
173
220
|
if (typeof optionsOrCb === "function") {
|
|
@@ -196,6 +243,20 @@ var GreengrassV2 = (function (_super) {
|
|
|
196
243
|
return this.send(command, optionsOrCb);
|
|
197
244
|
}
|
|
198
245
|
};
|
|
246
|
+
GreengrassV2.prototype.getServiceRoleForAccount = function (args, optionsOrCb, cb) {
|
|
247
|
+
var command = new GetServiceRoleForAccountCommand(args);
|
|
248
|
+
if (typeof optionsOrCb === "function") {
|
|
249
|
+
this.send(command, optionsOrCb);
|
|
250
|
+
}
|
|
251
|
+
else if (typeof cb === "function") {
|
|
252
|
+
if (typeof optionsOrCb !== "object")
|
|
253
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
254
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
255
|
+
}
|
|
256
|
+
else {
|
|
257
|
+
return this.send(command, optionsOrCb);
|
|
258
|
+
}
|
|
259
|
+
};
|
|
199
260
|
GreengrassV2.prototype.listClientDevicesAssociatedWithCoreDevice = function (args, optionsOrCb, cb) {
|
|
200
261
|
var command = new ListClientDevicesAssociatedWithCoreDeviceCommand(args);
|
|
201
262
|
if (typeof optionsOrCb === "function") {
|
|
@@ -350,6 +411,20 @@ var GreengrassV2 = (function (_super) {
|
|
|
350
411
|
return this.send(command, optionsOrCb);
|
|
351
412
|
}
|
|
352
413
|
};
|
|
414
|
+
GreengrassV2.prototype.updateConnectivityInfo = function (args, optionsOrCb, cb) {
|
|
415
|
+
var command = new UpdateConnectivityInfoCommand(args);
|
|
416
|
+
if (typeof optionsOrCb === "function") {
|
|
417
|
+
this.send(command, optionsOrCb);
|
|
418
|
+
}
|
|
419
|
+
else if (typeof cb === "function") {
|
|
420
|
+
if (typeof optionsOrCb !== "object")
|
|
421
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
422
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
423
|
+
}
|
|
424
|
+
else {
|
|
425
|
+
return this.send(command, optionsOrCb);
|
|
426
|
+
}
|
|
427
|
+
};
|
|
353
428
|
return GreengrassV2;
|
|
354
429
|
}(GreengrassV2Client));
|
|
355
430
|
export { GreengrassV2 };
|
|
@@ -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 { AssociateServiceRoleToAccountRequest, AssociateServiceRoleToAccountResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1AssociateServiceRoleToAccountCommand, serializeAws_restJson1AssociateServiceRoleToAccountCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var AssociateServiceRoleToAccountCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateServiceRoleToAccountCommand, _super);
|
|
8
|
+
function AssociateServiceRoleToAccountCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
AssociateServiceRoleToAccountCommand.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 = "GreengrassV2Client";
|
|
18
|
+
var commandName = "AssociateServiceRoleToAccountCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: AssociateServiceRoleToAccountRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AssociateServiceRoleToAccountResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateServiceRoleToAccountCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1AssociateServiceRoleToAccountCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
AssociateServiceRoleToAccountCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1AssociateServiceRoleToAccountCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return AssociateServiceRoleToAccountCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateServiceRoleToAccountCommand };
|
|
@@ -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 { DisassociateServiceRoleFromAccountRequest, DisassociateServiceRoleFromAccountResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DisassociateServiceRoleFromAccountCommand, serializeAws_restJson1DisassociateServiceRoleFromAccountCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DisassociateServiceRoleFromAccountCommand = (function (_super) {
|
|
7
|
+
__extends(DisassociateServiceRoleFromAccountCommand, _super);
|
|
8
|
+
function DisassociateServiceRoleFromAccountCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DisassociateServiceRoleFromAccountCommand.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 = "GreengrassV2Client";
|
|
18
|
+
var commandName = "DisassociateServiceRoleFromAccountCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DisassociateServiceRoleFromAccountRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DisassociateServiceRoleFromAccountResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisassociateServiceRoleFromAccountCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DisassociateServiceRoleFromAccountCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DisassociateServiceRoleFromAccountCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DisassociateServiceRoleFromAccountCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DisassociateServiceRoleFromAccountCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisassociateServiceRoleFromAccountCommand };
|
|
@@ -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 { GetConnectivityInfoRequest, GetConnectivityInfoResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetConnectivityInfoCommand, serializeAws_restJson1GetConnectivityInfoCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetConnectivityInfoCommand = (function (_super) {
|
|
7
|
+
__extends(GetConnectivityInfoCommand, _super);
|
|
8
|
+
function GetConnectivityInfoCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetConnectivityInfoCommand.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 = "GreengrassV2Client";
|
|
18
|
+
var commandName = "GetConnectivityInfoCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetConnectivityInfoRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetConnectivityInfoResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetConnectivityInfoCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetConnectivityInfoCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetConnectivityInfoCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetConnectivityInfoCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetConnectivityInfoCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetConnectivityInfoCommand };
|
|
@@ -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 { GetServiceRoleForAccountRequest, GetServiceRoleForAccountResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetServiceRoleForAccountCommand, serializeAws_restJson1GetServiceRoleForAccountCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetServiceRoleForAccountCommand = (function (_super) {
|
|
7
|
+
__extends(GetServiceRoleForAccountCommand, _super);
|
|
8
|
+
function GetServiceRoleForAccountCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetServiceRoleForAccountCommand.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 = "GreengrassV2Client";
|
|
18
|
+
var commandName = "GetServiceRoleForAccountCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetServiceRoleForAccountRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetServiceRoleForAccountResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetServiceRoleForAccountCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetServiceRoleForAccountCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetServiceRoleForAccountCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetServiceRoleForAccountCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetServiceRoleForAccountCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetServiceRoleForAccountCommand };
|
|
@@ -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 { UpdateConnectivityInfoRequest, UpdateConnectivityInfoResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateConnectivityInfoCommand, serializeAws_restJson1UpdateConnectivityInfoCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateConnectivityInfoCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateConnectivityInfoCommand, _super);
|
|
8
|
+
function UpdateConnectivityInfoCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateConnectivityInfoCommand.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 = "GreengrassV2Client";
|
|
18
|
+
var commandName = "UpdateConnectivityInfoCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateConnectivityInfoRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateConnectivityInfoResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateConnectivityInfoCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateConnectivityInfoCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateConnectivityInfoCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateConnectivityInfoCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateConnectivityInfoCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateConnectivityInfoCommand };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./AssociateServiceRoleToAccountCommand";
|
|
1
2
|
export * from "./BatchAssociateClientDeviceWithCoreDeviceCommand";
|
|
2
3
|
export * from "./BatchDisassociateClientDeviceFromCoreDeviceCommand";
|
|
3
4
|
export * from "./CancelDeploymentCommand";
|
|
@@ -6,10 +7,13 @@ export * from "./CreateDeploymentCommand";
|
|
|
6
7
|
export * from "./DeleteComponentCommand";
|
|
7
8
|
export * from "./DeleteCoreDeviceCommand";
|
|
8
9
|
export * from "./DescribeComponentCommand";
|
|
10
|
+
export * from "./DisassociateServiceRoleFromAccountCommand";
|
|
9
11
|
export * from "./GetComponentCommand";
|
|
10
12
|
export * from "./GetComponentVersionArtifactCommand";
|
|
13
|
+
export * from "./GetConnectivityInfoCommand";
|
|
11
14
|
export * from "./GetCoreDeviceCommand";
|
|
12
15
|
export * from "./GetDeploymentCommand";
|
|
16
|
+
export * from "./GetServiceRoleForAccountCommand";
|
|
13
17
|
export * from "./ListClientDevicesAssociatedWithCoreDeviceCommand";
|
|
14
18
|
export * from "./ListComponentVersionsCommand";
|
|
15
19
|
export * from "./ListComponentsCommand";
|
|
@@ -21,3 +25,4 @@ export * from "./ListTagsForResourceCommand";
|
|
|
21
25
|
export * from "./ResolveComponentCandidatesCommand";
|
|
22
26
|
export * from "./TagResourceCommand";
|
|
23
27
|
export * from "./UntagResourceCommand";
|
|
28
|
+
export * from "./UpdateConnectivityInfoCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
export var AccessDeniedException;
|
|
3
|
-
(function (AccessDeniedException) {
|
|
4
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
6
2
|
export var AssociateClientDeviceWithCoreDeviceEntry;
|
|
7
3
|
(function (AssociateClientDeviceWithCoreDeviceEntry) {
|
|
8
4
|
AssociateClientDeviceWithCoreDeviceEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -15,26 +11,14 @@ export var AssociatedClientDevice;
|
|
|
15
11
|
(function (AssociatedClientDevice) {
|
|
16
12
|
AssociatedClientDevice.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
13
|
})(AssociatedClientDevice || (AssociatedClientDevice = {}));
|
|
18
|
-
export var
|
|
19
|
-
(function (
|
|
20
|
-
|
|
21
|
-
})(
|
|
22
|
-
export var
|
|
23
|
-
(function (
|
|
24
|
-
|
|
25
|
-
})(
|
|
26
|
-
export var InternalServerException;
|
|
27
|
-
(function (InternalServerException) {
|
|
28
|
-
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
|
-
})(InternalServerException || (InternalServerException = {}));
|
|
30
|
-
export var ResourceNotFoundException;
|
|
31
|
-
(function (ResourceNotFoundException) {
|
|
32
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
34
|
-
export var ThrottlingException;
|
|
35
|
-
(function (ThrottlingException) {
|
|
36
|
-
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
-
})(ThrottlingException || (ThrottlingException = {}));
|
|
14
|
+
export var AssociateServiceRoleToAccountRequest;
|
|
15
|
+
(function (AssociateServiceRoleToAccountRequest) {
|
|
16
|
+
AssociateServiceRoleToAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
|
+
})(AssociateServiceRoleToAccountRequest || (AssociateServiceRoleToAccountRequest = {}));
|
|
18
|
+
export var AssociateServiceRoleToAccountResponse;
|
|
19
|
+
(function (AssociateServiceRoleToAccountResponse) {
|
|
20
|
+
AssociateServiceRoleToAccountResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
+
})(AssociateServiceRoleToAccountResponse || (AssociateServiceRoleToAccountResponse = {}));
|
|
38
22
|
export var ValidationExceptionField;
|
|
39
23
|
(function (ValidationExceptionField) {
|
|
40
24
|
ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -46,10 +30,14 @@ export var ValidationExceptionReason;
|
|
|
46
30
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
47
31
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
48
32
|
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
49
|
-
export var
|
|
50
|
-
(function (
|
|
51
|
-
|
|
52
|
-
})(
|
|
33
|
+
export var BatchAssociateClientDeviceWithCoreDeviceRequest;
|
|
34
|
+
(function (BatchAssociateClientDeviceWithCoreDeviceRequest) {
|
|
35
|
+
BatchAssociateClientDeviceWithCoreDeviceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
36
|
+
})(BatchAssociateClientDeviceWithCoreDeviceRequest || (BatchAssociateClientDeviceWithCoreDeviceRequest = {}));
|
|
37
|
+
export var BatchAssociateClientDeviceWithCoreDeviceResponse;
|
|
38
|
+
(function (BatchAssociateClientDeviceWithCoreDeviceResponse) {
|
|
39
|
+
BatchAssociateClientDeviceWithCoreDeviceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
40
|
+
})(BatchAssociateClientDeviceWithCoreDeviceResponse || (BatchAssociateClientDeviceWithCoreDeviceResponse = {}));
|
|
53
41
|
export var DisassociateClientDeviceFromCoreDeviceEntry;
|
|
54
42
|
(function (DisassociateClientDeviceFromCoreDeviceEntry) {
|
|
55
43
|
DisassociateClientDeviceFromCoreDeviceEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -74,10 +62,6 @@ export var CancelDeploymentResponse;
|
|
|
74
62
|
(function (CancelDeploymentResponse) {
|
|
75
63
|
CancelDeploymentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
76
64
|
})(CancelDeploymentResponse || (CancelDeploymentResponse = {}));
|
|
77
|
-
export var ConflictException;
|
|
78
|
-
(function (ConflictException) {
|
|
79
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
80
|
-
})(ConflictException || (ConflictException = {}));
|
|
81
65
|
export var CloudComponentState;
|
|
82
66
|
(function (CloudComponentState) {
|
|
83
67
|
CloudComponentState["DEPLOYABLE"] = "DEPLOYABLE";
|
|
@@ -140,6 +124,10 @@ export var ComponentVisibilityScope;
|
|
|
140
124
|
ComponentVisibilityScope["PRIVATE"] = "PRIVATE";
|
|
141
125
|
ComponentVisibilityScope["PUBLIC"] = "PUBLIC";
|
|
142
126
|
})(ComponentVisibilityScope || (ComponentVisibilityScope = {}));
|
|
127
|
+
export var ConnectivityInfo;
|
|
128
|
+
(function (ConnectivityInfo) {
|
|
129
|
+
ConnectivityInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
130
|
+
})(ConnectivityInfo || (ConnectivityInfo = {}));
|
|
143
131
|
export var CoreDeviceStatus;
|
|
144
132
|
(function (CoreDeviceStatus) {
|
|
145
133
|
CoreDeviceStatus["HEALTHY"] = "HEALTHY";
|
|
@@ -205,14 +193,6 @@ export var CreateComponentVersionResponse;
|
|
|
205
193
|
(function (CreateComponentVersionResponse) {
|
|
206
194
|
CreateComponentVersionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
195
|
})(CreateComponentVersionResponse || (CreateComponentVersionResponse = {}));
|
|
208
|
-
export var RequestAlreadyInProgressException;
|
|
209
|
-
(function (RequestAlreadyInProgressException) {
|
|
210
|
-
RequestAlreadyInProgressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
211
|
-
})(RequestAlreadyInProgressException || (RequestAlreadyInProgressException = {}));
|
|
212
|
-
export var ServiceQuotaExceededException;
|
|
213
|
-
(function (ServiceQuotaExceededException) {
|
|
214
|
-
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
215
|
-
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
|
|
216
196
|
export var DeploymentComponentUpdatePolicyAction;
|
|
217
197
|
(function (DeploymentComponentUpdatePolicyAction) {
|
|
218
198
|
DeploymentComponentUpdatePolicyAction["NOTIFY_COMPONENTS"] = "NOTIFY_COMPONENTS";
|
|
@@ -315,6 +295,14 @@ export var DescribeComponentResponse;
|
|
|
315
295
|
(function (DescribeComponentResponse) {
|
|
316
296
|
DescribeComponentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
317
297
|
})(DescribeComponentResponse || (DescribeComponentResponse = {}));
|
|
298
|
+
export var DisassociateServiceRoleFromAccountRequest;
|
|
299
|
+
(function (DisassociateServiceRoleFromAccountRequest) {
|
|
300
|
+
DisassociateServiceRoleFromAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
301
|
+
})(DisassociateServiceRoleFromAccountRequest || (DisassociateServiceRoleFromAccountRequest = {}));
|
|
302
|
+
export var DisassociateServiceRoleFromAccountResponse;
|
|
303
|
+
(function (DisassociateServiceRoleFromAccountResponse) {
|
|
304
|
+
DisassociateServiceRoleFromAccountResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
305
|
+
})(DisassociateServiceRoleFromAccountResponse || (DisassociateServiceRoleFromAccountResponse = {}));
|
|
318
306
|
export var EffectiveDeploymentExecutionStatus;
|
|
319
307
|
(function (EffectiveDeploymentExecutionStatus) {
|
|
320
308
|
EffectiveDeploymentExecutionStatus["CANCELED"] = "CANCELED";
|
|
@@ -350,6 +338,14 @@ export var GetComponentVersionArtifactResponse;
|
|
|
350
338
|
(function (GetComponentVersionArtifactResponse) {
|
|
351
339
|
GetComponentVersionArtifactResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
352
340
|
})(GetComponentVersionArtifactResponse || (GetComponentVersionArtifactResponse = {}));
|
|
341
|
+
export var GetConnectivityInfoRequest;
|
|
342
|
+
(function (GetConnectivityInfoRequest) {
|
|
343
|
+
GetConnectivityInfoRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
344
|
+
})(GetConnectivityInfoRequest || (GetConnectivityInfoRequest = {}));
|
|
345
|
+
export var GetConnectivityInfoResponse;
|
|
346
|
+
(function (GetConnectivityInfoResponse) {
|
|
347
|
+
GetConnectivityInfoResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
348
|
+
})(GetConnectivityInfoResponse || (GetConnectivityInfoResponse = {}));
|
|
353
349
|
export var GetCoreDeviceRequest;
|
|
354
350
|
(function (GetCoreDeviceRequest) {
|
|
355
351
|
GetCoreDeviceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -366,6 +362,14 @@ export var GetDeploymentResponse;
|
|
|
366
362
|
(function (GetDeploymentResponse) {
|
|
367
363
|
GetDeploymentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
368
364
|
})(GetDeploymentResponse || (GetDeploymentResponse = {}));
|
|
365
|
+
export var GetServiceRoleForAccountRequest;
|
|
366
|
+
(function (GetServiceRoleForAccountRequest) {
|
|
367
|
+
GetServiceRoleForAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
368
|
+
})(GetServiceRoleForAccountRequest || (GetServiceRoleForAccountRequest = {}));
|
|
369
|
+
export var GetServiceRoleForAccountResponse;
|
|
370
|
+
(function (GetServiceRoleForAccountResponse) {
|
|
371
|
+
GetServiceRoleForAccountResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
372
|
+
})(GetServiceRoleForAccountResponse || (GetServiceRoleForAccountResponse = {}));
|
|
369
373
|
export var ListClientDevicesAssociatedWithCoreDeviceRequest;
|
|
370
374
|
(function (ListClientDevicesAssociatedWithCoreDeviceRequest) {
|
|
371
375
|
ListClientDevicesAssociatedWithCoreDeviceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -473,3 +477,11 @@ export var UntagResourceResponse;
|
|
|
473
477
|
(function (UntagResourceResponse) {
|
|
474
478
|
UntagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
475
479
|
})(UntagResourceResponse || (UntagResourceResponse = {}));
|
|
480
|
+
export var UpdateConnectivityInfoRequest;
|
|
481
|
+
(function (UpdateConnectivityInfoRequest) {
|
|
482
|
+
UpdateConnectivityInfoRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
483
|
+
})(UpdateConnectivityInfoRequest || (UpdateConnectivityInfoRequest = {}));
|
|
484
|
+
export var UpdateConnectivityInfoResponse;
|
|
485
|
+
(function (UpdateConnectivityInfoResponse) {
|
|
486
|
+
UpdateConnectivityInfoResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
487
|
+
})(UpdateConnectivityInfoResponse || (UpdateConnectivityInfoResponse = {}));
|