@aws-sdk/client-greengrassv2 3.50.0 → 3.53.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/GreengrassV2ServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +122 -3
- package/dist-cjs/protocols/Aws_restJson1.js +313 -1091
- package/dist-es/index.js +1 -0
- package/dist-es/models/GreengrassV2ServiceException.js +12 -0
- package/dist-es/models/models_0.js +112 -1
- package/dist-es/protocols/Aws_restJson1.js +643 -1212
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/GreengrassV2ServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -33
- package/dist-types/ts3.4/GreengrassV2.d.ts +145 -0
- package/dist-types/ts3.4/GreengrassV2Client.d.ts +101 -0
- package/dist-types/ts3.4/commands/AssociateServiceRoleToAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateComponentVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCoreDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateServiceRoleFromAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetComponentVersionArtifactCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetConnectivityInfoCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCoreDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetServiceRoleForAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListComponentVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCoreDevicesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEffectiveDeploymentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListInstalledComponentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ResolveComponentCandidatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateConnectivityInfoCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +28 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/GreengrassV2ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1328 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListComponentVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCoreDevicesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEffectiveDeploymentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListInstalledComponentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var GreengrassV2ServiceException = (function (_super) {
|
|
4
|
+
__extends(GreengrassV2ServiceException, _super);
|
|
5
|
+
function GreengrassV2ServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, GreengrassV2ServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return GreengrassV2ServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { GreengrassV2ServiceException };
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { GreengrassV2ServiceException as __BaseException } from "./GreengrassV2ServiceException";
|
|
3
|
+
var AccessDeniedException = (function (_super) {
|
|
4
|
+
__extends(AccessDeniedException, _super);
|
|
5
|
+
function AccessDeniedException(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
7
|
+
_this.name = "AccessDeniedException";
|
|
8
|
+
_this.$fault = "client";
|
|
9
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
10
|
+
return _this;
|
|
11
|
+
}
|
|
12
|
+
return AccessDeniedException;
|
|
13
|
+
}(__BaseException));
|
|
14
|
+
export { AccessDeniedException };
|
|
2
15
|
export var AssociateClientDeviceWithCoreDeviceEntry;
|
|
3
16
|
(function (AssociateClientDeviceWithCoreDeviceEntry) {
|
|
4
17
|
AssociateClientDeviceWithCoreDeviceEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -19,6 +32,19 @@ export var AssociateServiceRoleToAccountResponse;
|
|
|
19
32
|
(function (AssociateServiceRoleToAccountResponse) {
|
|
20
33
|
AssociateServiceRoleToAccountResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
34
|
})(AssociateServiceRoleToAccountResponse || (AssociateServiceRoleToAccountResponse = {}));
|
|
35
|
+
var InternalServerException = (function (_super) {
|
|
36
|
+
__extends(InternalServerException, _super);
|
|
37
|
+
function InternalServerException(opts) {
|
|
38
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
39
|
+
_this.name = "InternalServerException";
|
|
40
|
+
_this.$fault = "server";
|
|
41
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
42
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
43
|
+
return _this;
|
|
44
|
+
}
|
|
45
|
+
return InternalServerException;
|
|
46
|
+
}(__BaseException));
|
|
47
|
+
export { InternalServerException };
|
|
22
48
|
export var ValidationExceptionField;
|
|
23
49
|
(function (ValidationExceptionField) {
|
|
24
50
|
ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -30,6 +56,20 @@ export var ValidationExceptionReason;
|
|
|
30
56
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
31
57
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
32
58
|
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
59
|
+
var ValidationException = (function (_super) {
|
|
60
|
+
__extends(ValidationException, _super);
|
|
61
|
+
function ValidationException(opts) {
|
|
62
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
63
|
+
_this.name = "ValidationException";
|
|
64
|
+
_this.$fault = "client";
|
|
65
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
66
|
+
_this.reason = opts.reason;
|
|
67
|
+
_this.fields = opts.fields;
|
|
68
|
+
return _this;
|
|
69
|
+
}
|
|
70
|
+
return ValidationException;
|
|
71
|
+
}(__BaseException));
|
|
72
|
+
export { ValidationException };
|
|
33
73
|
export var BatchAssociateClientDeviceWithCoreDeviceRequest;
|
|
34
74
|
(function (BatchAssociateClientDeviceWithCoreDeviceRequest) {
|
|
35
75
|
BatchAssociateClientDeviceWithCoreDeviceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -38,6 +78,35 @@ export var BatchAssociateClientDeviceWithCoreDeviceResponse;
|
|
|
38
78
|
(function (BatchAssociateClientDeviceWithCoreDeviceResponse) {
|
|
39
79
|
BatchAssociateClientDeviceWithCoreDeviceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
40
80
|
})(BatchAssociateClientDeviceWithCoreDeviceResponse || (BatchAssociateClientDeviceWithCoreDeviceResponse = {}));
|
|
81
|
+
var ResourceNotFoundException = (function (_super) {
|
|
82
|
+
__extends(ResourceNotFoundException, _super);
|
|
83
|
+
function ResourceNotFoundException(opts) {
|
|
84
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
85
|
+
_this.name = "ResourceNotFoundException";
|
|
86
|
+
_this.$fault = "client";
|
|
87
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
88
|
+
_this.resourceId = opts.resourceId;
|
|
89
|
+
_this.resourceType = opts.resourceType;
|
|
90
|
+
return _this;
|
|
91
|
+
}
|
|
92
|
+
return ResourceNotFoundException;
|
|
93
|
+
}(__BaseException));
|
|
94
|
+
export { ResourceNotFoundException };
|
|
95
|
+
var ThrottlingException = (function (_super) {
|
|
96
|
+
__extends(ThrottlingException, _super);
|
|
97
|
+
function ThrottlingException(opts) {
|
|
98
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
99
|
+
_this.name = "ThrottlingException";
|
|
100
|
+
_this.$fault = "client";
|
|
101
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
102
|
+
_this.quotaCode = opts.quotaCode;
|
|
103
|
+
_this.serviceCode = opts.serviceCode;
|
|
104
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
105
|
+
return _this;
|
|
106
|
+
}
|
|
107
|
+
return ThrottlingException;
|
|
108
|
+
}(__BaseException));
|
|
109
|
+
export { ThrottlingException };
|
|
41
110
|
export var DisassociateClientDeviceFromCoreDeviceEntry;
|
|
42
111
|
(function (DisassociateClientDeviceFromCoreDeviceEntry) {
|
|
43
112
|
DisassociateClientDeviceFromCoreDeviceEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -62,6 +131,20 @@ export var CancelDeploymentResponse;
|
|
|
62
131
|
(function (CancelDeploymentResponse) {
|
|
63
132
|
CancelDeploymentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
64
133
|
})(CancelDeploymentResponse || (CancelDeploymentResponse = {}));
|
|
134
|
+
var ConflictException = (function (_super) {
|
|
135
|
+
__extends(ConflictException, _super);
|
|
136
|
+
function ConflictException(opts) {
|
|
137
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
138
|
+
_this.name = "ConflictException";
|
|
139
|
+
_this.$fault = "client";
|
|
140
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
141
|
+
_this.resourceId = opts.resourceId;
|
|
142
|
+
_this.resourceType = opts.resourceType;
|
|
143
|
+
return _this;
|
|
144
|
+
}
|
|
145
|
+
return ConflictException;
|
|
146
|
+
}(__BaseException));
|
|
147
|
+
export { ConflictException };
|
|
65
148
|
export var CloudComponentState;
|
|
66
149
|
(function (CloudComponentState) {
|
|
67
150
|
CloudComponentState["DEPLOYABLE"] = "DEPLOYABLE";
|
|
@@ -193,6 +276,34 @@ export var CreateComponentVersionResponse;
|
|
|
193
276
|
(function (CreateComponentVersionResponse) {
|
|
194
277
|
CreateComponentVersionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
278
|
})(CreateComponentVersionResponse || (CreateComponentVersionResponse = {}));
|
|
279
|
+
var RequestAlreadyInProgressException = (function (_super) {
|
|
280
|
+
__extends(RequestAlreadyInProgressException, _super);
|
|
281
|
+
function RequestAlreadyInProgressException(opts) {
|
|
282
|
+
var _this = _super.call(this, __assign({ name: "RequestAlreadyInProgressException", $fault: "client" }, opts)) || this;
|
|
283
|
+
_this.name = "RequestAlreadyInProgressException";
|
|
284
|
+
_this.$fault = "client";
|
|
285
|
+
Object.setPrototypeOf(_this, RequestAlreadyInProgressException.prototype);
|
|
286
|
+
return _this;
|
|
287
|
+
}
|
|
288
|
+
return RequestAlreadyInProgressException;
|
|
289
|
+
}(__BaseException));
|
|
290
|
+
export { RequestAlreadyInProgressException };
|
|
291
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
292
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
293
|
+
function ServiceQuotaExceededException(opts) {
|
|
294
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
295
|
+
_this.name = "ServiceQuotaExceededException";
|
|
296
|
+
_this.$fault = "client";
|
|
297
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
298
|
+
_this.resourceId = opts.resourceId;
|
|
299
|
+
_this.resourceType = opts.resourceType;
|
|
300
|
+
_this.quotaCode = opts.quotaCode;
|
|
301
|
+
_this.serviceCode = opts.serviceCode;
|
|
302
|
+
return _this;
|
|
303
|
+
}
|
|
304
|
+
return ServiceQuotaExceededException;
|
|
305
|
+
}(__BaseException));
|
|
306
|
+
export { ServiceQuotaExceededException };
|
|
196
307
|
export var DeploymentComponentUpdatePolicyAction;
|
|
197
308
|
(function (DeploymentComponentUpdatePolicyAction) {
|
|
198
309
|
DeploymentComponentUpdatePolicyAction["NOTIFY_COMPONENTS"] = "NOTIFY_COMPONENTS";
|