@aws-sdk/client-greengrass 3.183.0 → 3.185.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/Greengrass.js +377 -370
- package/dist-es/GreengrassClient.js +28 -22
- package/dist-es/commands/AssociateRoleToGroupCommand.js +28 -21
- package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +28 -21
- package/dist-es/commands/CreateConnectorDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateConnectorDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/CreateCoreDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateCoreDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/CreateDeploymentCommand.js +28 -21
- package/dist-es/commands/CreateDeviceDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateDeviceDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/CreateFunctionDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateFunctionDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/CreateGroupCertificateAuthorityCommand.js +28 -21
- package/dist-es/commands/CreateGroupCommand.js +28 -21
- package/dist-es/commands/CreateGroupVersionCommand.js +28 -21
- package/dist-es/commands/CreateLoggerDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateLoggerDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/CreateResourceDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateResourceDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/CreateSoftwareUpdateJobCommand.js +28 -21
- package/dist-es/commands/CreateSubscriptionDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateSubscriptionDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/DeleteConnectorDefinitionCommand.js +28 -21
- package/dist-es/commands/DeleteCoreDefinitionCommand.js +28 -21
- package/dist-es/commands/DeleteDeviceDefinitionCommand.js +28 -21
- package/dist-es/commands/DeleteFunctionDefinitionCommand.js +28 -21
- package/dist-es/commands/DeleteGroupCommand.js +28 -21
- package/dist-es/commands/DeleteLoggerDefinitionCommand.js +28 -21
- package/dist-es/commands/DeleteResourceDefinitionCommand.js +28 -21
- package/dist-es/commands/DeleteSubscriptionDefinitionCommand.js +28 -21
- package/dist-es/commands/DisassociateRoleFromGroupCommand.js +28 -21
- package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +28 -21
- package/dist-es/commands/GetAssociatedRoleCommand.js +28 -21
- package/dist-es/commands/GetBulkDeploymentStatusCommand.js +28 -21
- package/dist-es/commands/GetConnectivityInfoCommand.js +28 -21
- package/dist-es/commands/GetConnectorDefinitionCommand.js +28 -21
- package/dist-es/commands/GetConnectorDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/GetCoreDefinitionCommand.js +28 -21
- package/dist-es/commands/GetCoreDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/GetDeploymentStatusCommand.js +28 -21
- package/dist-es/commands/GetDeviceDefinitionCommand.js +28 -21
- package/dist-es/commands/GetDeviceDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/GetFunctionDefinitionCommand.js +28 -21
- package/dist-es/commands/GetFunctionDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/GetGroupCertificateAuthorityCommand.js +28 -21
- package/dist-es/commands/GetGroupCertificateConfigurationCommand.js +28 -21
- package/dist-es/commands/GetGroupCommand.js +28 -21
- package/dist-es/commands/GetGroupVersionCommand.js +28 -21
- package/dist-es/commands/GetLoggerDefinitionCommand.js +28 -21
- package/dist-es/commands/GetLoggerDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/GetResourceDefinitionCommand.js +28 -21
- package/dist-es/commands/GetResourceDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/GetServiceRoleForAccountCommand.js +28 -21
- package/dist-es/commands/GetSubscriptionDefinitionCommand.js +28 -21
- package/dist-es/commands/GetSubscriptionDefinitionVersionCommand.js +28 -21
- package/dist-es/commands/GetThingRuntimeConfigurationCommand.js +28 -21
- package/dist-es/commands/ListBulkDeploymentDetailedReportsCommand.js +28 -21
- package/dist-es/commands/ListBulkDeploymentsCommand.js +28 -21
- package/dist-es/commands/ListConnectorDefinitionVersionsCommand.js +28 -21
- package/dist-es/commands/ListConnectorDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListCoreDefinitionVersionsCommand.js +28 -21
- package/dist-es/commands/ListCoreDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListDeploymentsCommand.js +28 -21
- package/dist-es/commands/ListDeviceDefinitionVersionsCommand.js +28 -21
- package/dist-es/commands/ListDeviceDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListFunctionDefinitionVersionsCommand.js +28 -21
- package/dist-es/commands/ListFunctionDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListGroupCertificateAuthoritiesCommand.js +28 -21
- package/dist-es/commands/ListGroupVersionsCommand.js +28 -21
- package/dist-es/commands/ListGroupsCommand.js +28 -21
- package/dist-es/commands/ListLoggerDefinitionVersionsCommand.js +28 -21
- package/dist-es/commands/ListLoggerDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListResourceDefinitionVersionsCommand.js +28 -21
- package/dist-es/commands/ListResourceDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListSubscriptionDefinitionVersionsCommand.js +28 -21
- package/dist-es/commands/ListSubscriptionDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ResetDeploymentsCommand.js +28 -21
- package/dist-es/commands/StartBulkDeploymentCommand.js +28 -21
- package/dist-es/commands/StopBulkDeploymentCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateConnectivityInfoCommand.js +28 -21
- package/dist-es/commands/UpdateConnectorDefinitionCommand.js +28 -21
- package/dist-es/commands/UpdateCoreDefinitionCommand.js +28 -21
- package/dist-es/commands/UpdateDeviceDefinitionCommand.js +28 -21
- package/dist-es/commands/UpdateFunctionDefinitionCommand.js +28 -21
- package/dist-es/commands/UpdateGroupCertificateConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateGroupCommand.js +28 -21
- package/dist-es/commands/UpdateLoggerDefinitionCommand.js +28 -21
- package/dist-es/commands/UpdateResourceDefinitionCommand.js +28 -21
- package/dist-es/commands/UpdateSubscriptionDefinitionCommand.js +28 -21
- package/dist-es/commands/UpdateThingRuntimeConfigurationCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/GreengrassServiceException.js +10 -5
- package/dist-es/models/models_0.js +252 -701
- package/dist-es/protocols/Aws_restJson1.js +8198 -5793
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var GreengrassClient = (function (_super) {
|
|
13
|
+
__extends(GreengrassClient, _super);
|
|
14
|
+
function GreengrassClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
GreengrassClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return GreengrassClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { GreengrassClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateRoleToGroupRequestFilterSensitiveLog, AssociateRoleToGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AssociateRoleToGroupCommand, serializeAws_restJson1AssociateRoleToGroupCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateRoleToGroupCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateRoleToGroupCommand, _super);
|
|
8
|
+
function AssociateRoleToGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateRoleToGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GreengrassClient";
|
|
18
|
+
var commandName = "AssociateRoleToGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateRoleToGroupRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateRoleToGroupResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateRoleToGroupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AssociateRoleToGroupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateRoleToGroupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AssociateRoleToGroupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateRoleToGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateRoleToGroupCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateServiceRoleToAccountRequestFilterSensitiveLog, AssociateServiceRoleToAccountResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AssociateServiceRoleToAccountCommand, serializeAws_restJson1AssociateServiceRoleToAccountCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateServiceRoleToAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GreengrassClient";
|
|
18
|
+
var commandName = "AssociateServiceRoleToAccountCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateServiceRoleToAccountRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateServiceRoleToAccountResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateServiceRoleToAccountCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AssociateServiceRoleToAccountCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateServiceRoleToAccountCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AssociateServiceRoleToAccountCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateServiceRoleToAccountCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateServiceRoleToAccountCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateConnectorDefinitionRequestFilterSensitiveLog, CreateConnectorDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateConnectorDefinitionCommand, serializeAws_restJson1CreateConnectorDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateConnectorDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateConnectorDefinitionCommand, _super);
|
|
8
|
+
function CreateConnectorDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateConnectorDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GreengrassClient";
|
|
18
|
+
var commandName = "CreateConnectorDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateConnectorDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateConnectorDefinitionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateConnectorDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateConnectorDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateConnectorDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateConnectorDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateConnectorDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateConnectorDefinitionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateConnectorDefinitionVersionRequestFilterSensitiveLog, CreateConnectorDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateConnectorDefinitionVersionCommand, serializeAws_restJson1CreateConnectorDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateConnectorDefinitionVersionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateConnectorDefinitionVersionCommand, _super);
|
|
8
|
+
function CreateConnectorDefinitionVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateConnectorDefinitionVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GreengrassClient";
|
|
18
|
+
var commandName = "CreateConnectorDefinitionVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateConnectorDefinitionVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateConnectorDefinitionVersionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateConnectorDefinitionVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateConnectorDefinitionVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateConnectorDefinitionVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateConnectorDefinitionVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateConnectorDefinitionVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateConnectorDefinitionVersionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateCoreDefinitionRequestFilterSensitiveLog, CreateCoreDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateCoreDefinitionCommand, serializeAws_restJson1CreateCoreDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateCoreDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateCoreDefinitionCommand, _super);
|
|
8
|
+
function CreateCoreDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateCoreDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GreengrassClient";
|
|
18
|
+
var commandName = "CreateCoreDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateCoreDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateCoreDefinitionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateCoreDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateCoreDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateCoreDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateCoreDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateCoreDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateCoreDefinitionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateCoreDefinitionVersionRequestFilterSensitiveLog, CreateCoreDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateCoreDefinitionVersionCommand, serializeAws_restJson1CreateCoreDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateCoreDefinitionVersionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateCoreDefinitionVersionCommand, _super);
|
|
8
|
+
function CreateCoreDefinitionVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateCoreDefinitionVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GreengrassClient";
|
|
18
|
+
var commandName = "CreateCoreDefinitionVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateCoreDefinitionVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateCoreDefinitionVersionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateCoreDefinitionVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateCoreDefinitionVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateCoreDefinitionVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateCoreDefinitionVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateCoreDefinitionVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateCoreDefinitionVersionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateDeploymentRequestFilterSensitiveLog, CreateDeploymentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateDeploymentCommand, serializeAws_restJson1CreateDeploymentCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateDeploymentCommand = (function (_super) {
|
|
7
|
+
__extends(CreateDeploymentCommand, _super);
|
|
8
|
+
function CreateDeploymentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GreengrassClient";
|
|
18
|
+
var commandName = "CreateDeploymentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateDeploymentRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateDeploymentResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateDeploymentCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateDeploymentCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateDeploymentCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateDeploymentCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateDeploymentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateDeploymentCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateDeviceDefinitionRequestFilterSensitiveLog, CreateDeviceDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateDeviceDefinitionCommand, serializeAws_restJson1CreateDeviceDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateDeviceDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateDeviceDefinitionCommand, _super);
|
|
8
|
+
function CreateDeviceDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateDeviceDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GreengrassClient";
|
|
18
|
+
var commandName = "CreateDeviceDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateDeviceDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateDeviceDefinitionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateDeviceDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateDeviceDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateDeviceDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateDeviceDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateDeviceDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateDeviceDefinitionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateDeviceDefinitionVersionRequestFilterSensitiveLog, CreateDeviceDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateDeviceDefinitionVersionCommand, serializeAws_restJson1CreateDeviceDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateDeviceDefinitionVersionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateDeviceDefinitionVersionCommand, _super);
|
|
8
|
+
function CreateDeviceDefinitionVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateDeviceDefinitionVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GreengrassClient";
|
|
18
|
+
var commandName = "CreateDeviceDefinitionVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateDeviceDefinitionVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateDeviceDefinitionVersionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateDeviceDefinitionVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateDeviceDefinitionVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateDeviceDefinitionVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateDeviceDefinitionVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateDeviceDefinitionVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateDeviceDefinitionVersionCommand };
|