@aws-sdk/client-greengrass 3.183.0 → 3.186.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 +19 -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 +33 -33
|
@@ -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 { CreateFunctionDefinitionRequestFilterSensitiveLog, CreateFunctionDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateFunctionDefinitionCommand, serializeAws_restJson1CreateFunctionDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateFunctionDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateFunctionDefinitionCommand, _super);
|
|
8
|
+
function CreateFunctionDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateFunctionDefinitionCommand.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 = "CreateFunctionDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateFunctionDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateFunctionDefinitionResponseFilterSensitiveLog,
|
|
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
|
+
CreateFunctionDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateFunctionDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateFunctionDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateFunctionDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateFunctionDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateFunctionDefinitionCommand };
|
|
@@ -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 { CreateFunctionDefinitionVersionRequestFilterSensitiveLog, CreateFunctionDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateFunctionDefinitionVersionCommand, serializeAws_restJson1CreateFunctionDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateFunctionDefinitionVersionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateFunctionDefinitionVersionCommand, _super);
|
|
8
|
+
function CreateFunctionDefinitionVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateFunctionDefinitionVersionCommand.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 = "CreateFunctionDefinitionVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateFunctionDefinitionVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateFunctionDefinitionVersionResponseFilterSensitiveLog,
|
|
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
|
+
CreateFunctionDefinitionVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateFunctionDefinitionVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateFunctionDefinitionVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateFunctionDefinitionVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateFunctionDefinitionVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateFunctionDefinitionVersionCommand };
|
|
@@ -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 { CreateGroupCertificateAuthorityRequestFilterSensitiveLog, CreateGroupCertificateAuthorityResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateGroupCertificateAuthorityCommand, serializeAws_restJson1CreateGroupCertificateAuthorityCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateGroupCertificateAuthorityCommand = (function (_super) {
|
|
7
|
+
__extends(CreateGroupCertificateAuthorityCommand, _super);
|
|
8
|
+
function CreateGroupCertificateAuthorityCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateGroupCertificateAuthorityCommand.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 = "CreateGroupCertificateAuthorityCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateGroupCertificateAuthorityRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateGroupCertificateAuthorityResponseFilterSensitiveLog,
|
|
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
|
+
CreateGroupCertificateAuthorityCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateGroupCertificateAuthorityCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateGroupCertificateAuthorityCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateGroupCertificateAuthorityCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateGroupCertificateAuthorityCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateGroupCertificateAuthorityCommand };
|
|
@@ -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 { CreateGroupRequestFilterSensitiveLog, CreateGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateGroupCommand, serializeAws_restJson1CreateGroupCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateGroupCommand.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 = "CreateGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateGroupRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateGroupResponseFilterSensitiveLog,
|
|
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
|
+
CreateGroupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateGroupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateGroupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateGroupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateGroupCommand };
|
|
@@ -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 { CreateGroupVersionRequestFilterSensitiveLog, CreateGroupVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateGroupVersionCommand, serializeAws_restJson1CreateGroupVersionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateGroupVersionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateGroupVersionCommand, _super);
|
|
8
|
+
function CreateGroupVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateGroupVersionCommand.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 = "CreateGroupVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateGroupVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateGroupVersionResponseFilterSensitiveLog,
|
|
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
|
+
CreateGroupVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateGroupVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateGroupVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateGroupVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateGroupVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateGroupVersionCommand };
|
|
@@ -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 { CreateLoggerDefinitionRequestFilterSensitiveLog, CreateLoggerDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateLoggerDefinitionCommand, serializeAws_restJson1CreateLoggerDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateLoggerDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateLoggerDefinitionCommand, _super);
|
|
8
|
+
function CreateLoggerDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateLoggerDefinitionCommand.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 = "CreateLoggerDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateLoggerDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateLoggerDefinitionResponseFilterSensitiveLog,
|
|
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
|
+
CreateLoggerDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateLoggerDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateLoggerDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateLoggerDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateLoggerDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateLoggerDefinitionCommand };
|
|
@@ -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 { CreateLoggerDefinitionVersionRequestFilterSensitiveLog, CreateLoggerDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateLoggerDefinitionVersionCommand, serializeAws_restJson1CreateLoggerDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateLoggerDefinitionVersionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateLoggerDefinitionVersionCommand, _super);
|
|
8
|
+
function CreateLoggerDefinitionVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateLoggerDefinitionVersionCommand.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 = "CreateLoggerDefinitionVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateLoggerDefinitionVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateLoggerDefinitionVersionResponseFilterSensitiveLog,
|
|
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
|
+
CreateLoggerDefinitionVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateLoggerDefinitionVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateLoggerDefinitionVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateLoggerDefinitionVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateLoggerDefinitionVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateLoggerDefinitionVersionCommand };
|
|
@@ -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 { CreateResourceDefinitionRequestFilterSensitiveLog, CreateResourceDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateResourceDefinitionCommand, serializeAws_restJson1CreateResourceDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateResourceDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateResourceDefinitionCommand, _super);
|
|
8
|
+
function CreateResourceDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateResourceDefinitionCommand.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 = "CreateResourceDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateResourceDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateResourceDefinitionResponseFilterSensitiveLog,
|
|
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
|
+
CreateResourceDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateResourceDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateResourceDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateResourceDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateResourceDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateResourceDefinitionCommand };
|
|
@@ -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 { CreateResourceDefinitionVersionRequestFilterSensitiveLog, CreateResourceDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateResourceDefinitionVersionCommand, serializeAws_restJson1CreateResourceDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateResourceDefinitionVersionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateResourceDefinitionVersionCommand, _super);
|
|
8
|
+
function CreateResourceDefinitionVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateResourceDefinitionVersionCommand.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 = "CreateResourceDefinitionVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateResourceDefinitionVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateResourceDefinitionVersionResponseFilterSensitiveLog,
|
|
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
|
+
CreateResourceDefinitionVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateResourceDefinitionVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateResourceDefinitionVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateResourceDefinitionVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateResourceDefinitionVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateResourceDefinitionVersionCommand };
|
|
@@ -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 { CreateSoftwareUpdateJobRequestFilterSensitiveLog, CreateSoftwareUpdateJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateSoftwareUpdateJobCommand, serializeAws_restJson1CreateSoftwareUpdateJobCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateSoftwareUpdateJobCommand = (function (_super) {
|
|
7
|
+
__extends(CreateSoftwareUpdateJobCommand, _super);
|
|
8
|
+
function CreateSoftwareUpdateJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateSoftwareUpdateJobCommand.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 = "CreateSoftwareUpdateJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateSoftwareUpdateJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateSoftwareUpdateJobResponseFilterSensitiveLog,
|
|
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
|
+
CreateSoftwareUpdateJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateSoftwareUpdateJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateSoftwareUpdateJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateSoftwareUpdateJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateSoftwareUpdateJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateSoftwareUpdateJobCommand };
|