@aws-sdk/client-greengrass 3.181.0 → 3.183.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 +8 -0
- package/dist-es/Greengrass.js +370 -377
- package/dist-es/GreengrassClient.js +22 -28
- package/dist-es/commands/AssociateRoleToGroupCommand.js +21 -28
- package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +21 -28
- package/dist-es/commands/CreateConnectorDefinitionCommand.js +21 -28
- package/dist-es/commands/CreateConnectorDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/CreateCoreDefinitionCommand.js +21 -28
- package/dist-es/commands/CreateCoreDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/CreateDeploymentCommand.js +21 -28
- package/dist-es/commands/CreateDeviceDefinitionCommand.js +21 -28
- package/dist-es/commands/CreateDeviceDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/CreateFunctionDefinitionCommand.js +21 -28
- package/dist-es/commands/CreateFunctionDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/CreateGroupCertificateAuthorityCommand.js +21 -28
- package/dist-es/commands/CreateGroupCommand.js +21 -28
- package/dist-es/commands/CreateGroupVersionCommand.js +21 -28
- package/dist-es/commands/CreateLoggerDefinitionCommand.js +21 -28
- package/dist-es/commands/CreateLoggerDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/CreateResourceDefinitionCommand.js +21 -28
- package/dist-es/commands/CreateResourceDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/CreateSoftwareUpdateJobCommand.js +21 -28
- package/dist-es/commands/CreateSubscriptionDefinitionCommand.js +21 -28
- package/dist-es/commands/CreateSubscriptionDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/DeleteConnectorDefinitionCommand.js +21 -28
- package/dist-es/commands/DeleteCoreDefinitionCommand.js +21 -28
- package/dist-es/commands/DeleteDeviceDefinitionCommand.js +21 -28
- package/dist-es/commands/DeleteFunctionDefinitionCommand.js +21 -28
- package/dist-es/commands/DeleteGroupCommand.js +21 -28
- package/dist-es/commands/DeleteLoggerDefinitionCommand.js +21 -28
- package/dist-es/commands/DeleteResourceDefinitionCommand.js +21 -28
- package/dist-es/commands/DeleteSubscriptionDefinitionCommand.js +21 -28
- package/dist-es/commands/DisassociateRoleFromGroupCommand.js +21 -28
- package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +21 -28
- package/dist-es/commands/GetAssociatedRoleCommand.js +21 -28
- package/dist-es/commands/GetBulkDeploymentStatusCommand.js +21 -28
- package/dist-es/commands/GetConnectivityInfoCommand.js +21 -28
- package/dist-es/commands/GetConnectorDefinitionCommand.js +21 -28
- package/dist-es/commands/GetConnectorDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/GetCoreDefinitionCommand.js +21 -28
- package/dist-es/commands/GetCoreDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/GetDeploymentStatusCommand.js +21 -28
- package/dist-es/commands/GetDeviceDefinitionCommand.js +21 -28
- package/dist-es/commands/GetDeviceDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/GetFunctionDefinitionCommand.js +21 -28
- package/dist-es/commands/GetFunctionDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/GetGroupCertificateAuthorityCommand.js +21 -28
- package/dist-es/commands/GetGroupCertificateConfigurationCommand.js +21 -28
- package/dist-es/commands/GetGroupCommand.js +21 -28
- package/dist-es/commands/GetGroupVersionCommand.js +21 -28
- package/dist-es/commands/GetLoggerDefinitionCommand.js +21 -28
- package/dist-es/commands/GetLoggerDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/GetResourceDefinitionCommand.js +21 -28
- package/dist-es/commands/GetResourceDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/GetServiceRoleForAccountCommand.js +21 -28
- package/dist-es/commands/GetSubscriptionDefinitionCommand.js +21 -28
- package/dist-es/commands/GetSubscriptionDefinitionVersionCommand.js +21 -28
- package/dist-es/commands/GetThingRuntimeConfigurationCommand.js +21 -28
- package/dist-es/commands/ListBulkDeploymentDetailedReportsCommand.js +21 -28
- package/dist-es/commands/ListBulkDeploymentsCommand.js +21 -28
- package/dist-es/commands/ListConnectorDefinitionVersionsCommand.js +21 -28
- package/dist-es/commands/ListConnectorDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListCoreDefinitionVersionsCommand.js +21 -28
- package/dist-es/commands/ListCoreDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListDeploymentsCommand.js +21 -28
- package/dist-es/commands/ListDeviceDefinitionVersionsCommand.js +21 -28
- package/dist-es/commands/ListDeviceDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListFunctionDefinitionVersionsCommand.js +21 -28
- package/dist-es/commands/ListFunctionDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListGroupCertificateAuthoritiesCommand.js +21 -28
- package/dist-es/commands/ListGroupVersionsCommand.js +21 -28
- package/dist-es/commands/ListGroupsCommand.js +21 -28
- package/dist-es/commands/ListLoggerDefinitionVersionsCommand.js +21 -28
- package/dist-es/commands/ListLoggerDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListResourceDefinitionVersionsCommand.js +21 -28
- package/dist-es/commands/ListResourceDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListSubscriptionDefinitionVersionsCommand.js +21 -28
- package/dist-es/commands/ListSubscriptionDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ResetDeploymentsCommand.js +21 -28
- package/dist-es/commands/StartBulkDeploymentCommand.js +21 -28
- package/dist-es/commands/StopBulkDeploymentCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +22 -29
- package/dist-es/commands/UntagResourceCommand.js +22 -29
- package/dist-es/commands/UpdateConnectivityInfoCommand.js +21 -28
- package/dist-es/commands/UpdateConnectorDefinitionCommand.js +21 -28
- package/dist-es/commands/UpdateCoreDefinitionCommand.js +21 -28
- package/dist-es/commands/UpdateDeviceDefinitionCommand.js +21 -28
- package/dist-es/commands/UpdateFunctionDefinitionCommand.js +21 -28
- package/dist-es/commands/UpdateGroupCertificateConfigurationCommand.js +21 -28
- package/dist-es/commands/UpdateGroupCommand.js +21 -28
- package/dist-es/commands/UpdateLoggerDefinitionCommand.js +21 -28
- package/dist-es/commands/UpdateResourceDefinitionCommand.js +21 -28
- package/dist-es/commands/UpdateSubscriptionDefinitionCommand.js +21 -28
- package/dist-es/commands/UpdateThingRuntimeConfigurationCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/GreengrassServiceException.js +5 -10
- package/dist-es/models/models_0.js +701 -252
- package/dist-es/protocols/Aws_restJson1.js +5793 -8198
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateResourceDefinitionRequestFilterSensitiveLog, UpdateResourceDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateResourceDefinitionCommand, serializeAws_restJson1UpdateResourceDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateResourceDefinitionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "GreengrassClient";
|
|
15
|
+
const commandName = "UpdateResourceDefinitionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateResourceDefinitionRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateResourceDefinitionResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateResourceDefinitionCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateResourceDefinitionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateResourceDefinitionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateResourceDefinitionCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateSubscriptionDefinitionRequestFilterSensitiveLog, UpdateSubscriptionDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateSubscriptionDefinitionCommand, serializeAws_restJson1UpdateSubscriptionDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateSubscriptionDefinitionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "GreengrassClient";
|
|
15
|
+
const commandName = "UpdateSubscriptionDefinitionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateSubscriptionDefinitionRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateSubscriptionDefinitionResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateSubscriptionDefinitionCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateSubscriptionDefinitionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateSubscriptionDefinitionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateSubscriptionDefinitionCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateThingRuntimeConfigurationRequestFilterSensitiveLog, UpdateThingRuntimeConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateThingRuntimeConfigurationCommand, serializeAws_restJson1UpdateThingRuntimeConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateThingRuntimeConfigurationCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "GreengrassClient";
|
|
15
|
+
const commandName = "UpdateThingRuntimeConfigurationCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateThingRuntimeConfigurationRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateThingRuntimeConfigurationResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateThingRuntimeConfigurationCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateThingRuntimeConfigurationCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateThingRuntimeConfigurationCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateThingRuntimeConfigurationCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
2
|
+
const regionHash = {
|
|
4
3
|
"dataplane-us-gov-east-1": {
|
|
5
4
|
variants: [
|
|
6
5
|
{
|
|
@@ -42,7 +41,7 @@ var regionHash = {
|
|
|
42
41
|
signingRegion: "us-gov-west-1",
|
|
43
42
|
},
|
|
44
43
|
};
|
|
45
|
-
|
|
44
|
+
const partitionHash = {
|
|
46
45
|
aws: {
|
|
47
46
|
regions: [
|
|
48
47
|
"af-south-1",
|
|
@@ -168,8 +167,9 @@ var partitionHash = {
|
|
|
168
167
|
],
|
|
169
168
|
},
|
|
170
169
|
};
|
|
171
|
-
export
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
171
|
+
...options,
|
|
172
|
+
signingService: "greengrass",
|
|
173
|
+
regionHash,
|
|
174
|
+
partitionHash,
|
|
175
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, GreengrassServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class GreengrassServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, GreengrassServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { GreengrassServiceException };
|
|
7
|
+
}
|