@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 { UpdateResourceDefinitionRequestFilterSensitiveLog, UpdateResourceDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateResourceDefinitionCommand, serializeAws_restJson1UpdateResourceDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateResourceDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateResourceDefinitionCommand, _super);
|
|
8
|
+
function UpdateResourceDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateResourceDefinitionCommand.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 = "UpdateResourceDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateResourceDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateResourceDefinitionResponseFilterSensitiveLog,
|
|
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
|
+
UpdateResourceDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateResourceDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateResourceDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateResourceDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateResourceDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateResourceDefinitionCommand };
|
|
@@ -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 { UpdateSubscriptionDefinitionRequestFilterSensitiveLog, UpdateSubscriptionDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateSubscriptionDefinitionCommand, serializeAws_restJson1UpdateSubscriptionDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateSubscriptionDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateSubscriptionDefinitionCommand, _super);
|
|
8
|
+
function UpdateSubscriptionDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateSubscriptionDefinitionCommand.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 = "UpdateSubscriptionDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateSubscriptionDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateSubscriptionDefinitionResponseFilterSensitiveLog,
|
|
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
|
+
UpdateSubscriptionDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateSubscriptionDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateSubscriptionDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateSubscriptionDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateSubscriptionDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateSubscriptionDefinitionCommand };
|
|
@@ -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 { UpdateThingRuntimeConfigurationRequestFilterSensitiveLog, UpdateThingRuntimeConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateThingRuntimeConfigurationCommand, serializeAws_restJson1UpdateThingRuntimeConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateThingRuntimeConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateThingRuntimeConfigurationCommand, _super);
|
|
8
|
+
function UpdateThingRuntimeConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateThingRuntimeConfigurationCommand.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 = "UpdateThingRuntimeConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateThingRuntimeConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateThingRuntimeConfigurationResponseFilterSensitiveLog,
|
|
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
|
+
UpdateThingRuntimeConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateThingRuntimeConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateThingRuntimeConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateThingRuntimeConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateThingRuntimeConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateThingRuntimeConfigurationCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"dataplane-us-gov-east-1": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -41,7 +42,7 @@ const regionHash = {
|
|
|
41
42
|
signingRegion: "us-gov-west-1",
|
|
42
43
|
},
|
|
43
44
|
};
|
|
44
|
-
|
|
45
|
+
var partitionHash = {
|
|
45
46
|
aws: {
|
|
46
47
|
regions: [
|
|
47
48
|
"af-south-1",
|
|
@@ -167,9 +168,8 @@ const partitionHash = {
|
|
|
167
168
|
],
|
|
168
169
|
},
|
|
169
170
|
};
|
|
170
|
-
export
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
});
|
|
171
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
172
|
+
return __generator(this, function (_a) {
|
|
173
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "greengrass", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
174
|
+
});
|
|
175
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var GreengrassServiceException = (function (_super) {
|
|
4
|
+
__extends(GreengrassServiceException, _super);
|
|
5
|
+
function GreengrassServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, GreengrassServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return GreengrassServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { GreengrassServiceException };
|