@aws-sdk/client-greengrassv2 3.52.0 → 3.54.1
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 +30 -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/GreengrassV2.d.ts +4 -4
- package/dist-types/GreengrassV2Client.d.ts +2 -2
- package/dist-types/commands/CreateDeploymentCommand.d.ts +2 -2
- package/dist-types/commands/GetConnectivityInfoCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectivityInfoCommand.d.ts +1 -1
- 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/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/GreengrassV2Client.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/GreengrassV2ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -33
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
|
@@ -156,8 +156,8 @@ export declare class GreengrassV2 extends GreengrassV2Client {
|
|
|
156
156
|
* target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the
|
|
157
157
|
* new deployment to the target devices.</p>
|
|
158
158
|
* <p>Every deployment has a revision number that indicates how many deployment revisions you
|
|
159
|
-
* define for a target. Use this operation to create a new revision of an existing
|
|
160
|
-
*
|
|
159
|
+
* define for a target. Use this operation to create a new revision of an existing
|
|
160
|
+
* deployment.</p>
|
|
161
161
|
* <p>For more information, see the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html">Create deployments</a> in the
|
|
162
162
|
* <i>IoT Greengrass V2 Developer Guide</i>.</p>
|
|
163
163
|
*/
|
|
@@ -218,7 +218,7 @@ export declare class GreengrassV2 extends GreengrassV2Client {
|
|
|
218
218
|
* <p>Retrieves connectivity information for a Greengrass core device.</p>
|
|
219
219
|
* <p>Connectivity information includes endpoints and ports where client devices
|
|
220
220
|
* can connect to an MQTT broker on the core device. When a client device
|
|
221
|
-
* calls the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-discover-api.html">Greengrass discovery API</a>,
|
|
221
|
+
* calls the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-discover-api.html">IoT Greengrass discovery API</a>,
|
|
222
222
|
* IoT Greengrass returns connectivity information for all of the core devices where the client device can
|
|
223
223
|
* connect. For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/connect-client-devices.html">Connect client devices to
|
|
224
224
|
* core devices</a> in the <i>IoT Greengrass Version 2 Developer Guide</i>.</p>
|
|
@@ -335,7 +335,7 @@ export declare class GreengrassV2 extends GreengrassV2Client {
|
|
|
335
335
|
* <p>Updates connectivity information for a Greengrass core device.</p>
|
|
336
336
|
* <p>Connectivity information includes endpoints and ports where client devices
|
|
337
337
|
* can connect to an MQTT broker on the core device. When a client device
|
|
338
|
-
* calls the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-discover-api.html">Greengrass discovery API</a>,
|
|
338
|
+
* calls the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-discover-api.html">IoT Greengrass discovery API</a>,
|
|
339
339
|
* IoT Greengrass returns connectivity information for all of the core devices where the client device can
|
|
340
340
|
* connect. For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/connect-client-devices.html">Connect client devices to
|
|
341
341
|
* core devices</a> in the <i>IoT Greengrass Version 2 Developer Guide</i>.</p>
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateServiceRoleToAccountCommandInput, AssociateServiceRoleToAccountCommandOutput } from "./commands/AssociateServiceRoleToAccountCommand";
|
|
10
10
|
import { BatchAssociateClientDeviceWithCoreDeviceCommandInput, BatchAssociateClientDeviceWithCoreDeviceCommandOutput } from "./commands/BatchAssociateClientDeviceWithCoreDeviceCommand";
|
|
11
11
|
import { BatchDisassociateClientDeviceFromCoreDeviceCommandInput, BatchDisassociateClientDeviceFromCoreDeviceCommandOutput } from "./commands/BatchDisassociateClientDeviceFromCoreDeviceCommand";
|
|
@@ -56,7 +56,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
56
56
|
* A function that can calculate the length of a request body.
|
|
57
57
|
* @internal
|
|
58
58
|
*/
|
|
59
|
-
bodyLengthChecker?:
|
|
59
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
60
60
|
/**
|
|
61
61
|
* A function that converts a stream into an array of bytes.
|
|
62
62
|
* @internal
|
|
@@ -14,8 +14,8 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentResponse,
|
|
|
14
14
|
* target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the
|
|
15
15
|
* new deployment to the target devices.</p>
|
|
16
16
|
* <p>Every deployment has a revision number that indicates how many deployment revisions you
|
|
17
|
-
* define for a target. Use this operation to create a new revision of an existing
|
|
18
|
-
*
|
|
17
|
+
* define for a target. Use this operation to create a new revision of an existing
|
|
18
|
+
* deployment.</p>
|
|
19
19
|
* <p>For more information, see the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html">Create deployments</a> in the
|
|
20
20
|
* <i>IoT Greengrass V2 Developer Guide</i>.</p>
|
|
21
21
|
* @example
|
|
@@ -10,7 +10,7 @@ export interface GetConnectivityInfoCommandOutput extends GetConnectivityInfoRes
|
|
|
10
10
|
* <p>Retrieves connectivity information for a Greengrass core device.</p>
|
|
11
11
|
* <p>Connectivity information includes endpoints and ports where client devices
|
|
12
12
|
* can connect to an MQTT broker on the core device. When a client device
|
|
13
|
-
* calls the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-discover-api.html">Greengrass discovery API</a>,
|
|
13
|
+
* calls the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-discover-api.html">IoT Greengrass discovery API</a>,
|
|
14
14
|
* IoT Greengrass returns connectivity information for all of the core devices where the client device can
|
|
15
15
|
* connect. For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/connect-client-devices.html">Connect client devices to
|
|
16
16
|
* core devices</a> in the <i>IoT Greengrass Version 2 Developer Guide</i>.</p>
|
|
@@ -10,7 +10,7 @@ export interface UpdateConnectivityInfoCommandOutput extends UpdateConnectivityI
|
|
|
10
10
|
* <p>Updates connectivity information for a Greengrass core device.</p>
|
|
11
11
|
* <p>Connectivity information includes endpoints and ports where client devices
|
|
12
12
|
* can connect to an MQTT broker on the core device. When a client device
|
|
13
|
-
* calls the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-discover-api.html">Greengrass discovery API</a>,
|
|
13
|
+
* calls the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-discover-api.html">IoT Greengrass discovery API</a>,
|
|
14
14
|
* IoT Greengrass returns connectivity information for all of the core devices where the client device can
|
|
15
15
|
* connect. For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/connect-client-devices.html">Connect client devices to
|
|
16
16
|
* core devices</a> in the <i>IoT Greengrass Version 2 Developer Guide</i>.</p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from GreengrassV2 service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class GreengrassV2ServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { GreengrassV2ServiceException as __BaseException } from "./GreengrassV2ServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>You don't have permission to perform the action.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
13
|
}
|
|
10
14
|
/**
|
|
11
15
|
* <p>Contains a request to associate a client device with a core device. The <a href="https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchAssociateClientDeviceWithCoreDevice.html">BatchAssociateClientDeviceWithCoreDevice</a> operation consumes a list of these
|
|
@@ -97,14 +101,17 @@ export declare namespace AssociateServiceRoleToAccountResponse {
|
|
|
97
101
|
/**
|
|
98
102
|
* <p>IoT Greengrass can't process your request right now. Try again later.</p>
|
|
99
103
|
*/
|
|
100
|
-
export
|
|
101
|
-
name: "InternalServerException";
|
|
102
|
-
$fault: "server";
|
|
103
|
-
message: string | undefined;
|
|
104
|
+
export declare class InternalServerException extends __BaseException {
|
|
105
|
+
readonly name: "InternalServerException";
|
|
106
|
+
readonly $fault: "server";
|
|
104
107
|
/**
|
|
105
108
|
* <p>The amount of time to wait before you retry the request.</p>
|
|
106
109
|
*/
|
|
107
110
|
retryAfterSeconds?: number;
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
108
115
|
}
|
|
109
116
|
/**
|
|
110
117
|
* <p>Contains information about a validation exception field.</p>
|
|
@@ -135,10 +142,9 @@ export declare enum ValidationExceptionReason {
|
|
|
135
142
|
* <p>The request isn't valid. This can occur if your request contains malformed JSON or
|
|
136
143
|
* unsupported characters.</p>
|
|
137
144
|
*/
|
|
138
|
-
export
|
|
139
|
-
name: "ValidationException";
|
|
140
|
-
$fault: "client";
|
|
141
|
-
message: string | undefined;
|
|
145
|
+
export declare class ValidationException extends __BaseException {
|
|
146
|
+
readonly name: "ValidationException";
|
|
147
|
+
readonly $fault: "client";
|
|
142
148
|
/**
|
|
143
149
|
* <p>The reason for the validation exception.</p>
|
|
144
150
|
*/
|
|
@@ -147,6 +153,10 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
147
153
|
* <p>The list of fields that failed to validate.</p>
|
|
148
154
|
*/
|
|
149
155
|
fields?: ValidationExceptionField[];
|
|
156
|
+
/**
|
|
157
|
+
* @internal
|
|
158
|
+
*/
|
|
159
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
150
160
|
}
|
|
151
161
|
export interface BatchAssociateClientDeviceWithCoreDeviceRequest {
|
|
152
162
|
/**
|
|
@@ -180,10 +190,9 @@ export declare namespace BatchAssociateClientDeviceWithCoreDeviceResponse {
|
|
|
180
190
|
/**
|
|
181
191
|
* <p>The requested resource can't be found.</p>
|
|
182
192
|
*/
|
|
183
|
-
export
|
|
184
|
-
name: "ResourceNotFoundException";
|
|
185
|
-
$fault: "client";
|
|
186
|
-
message: string | undefined;
|
|
193
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
194
|
+
readonly name: "ResourceNotFoundException";
|
|
195
|
+
readonly $fault: "client";
|
|
187
196
|
/**
|
|
188
197
|
* <p>The ID of the resource that isn't found.</p>
|
|
189
198
|
*/
|
|
@@ -192,15 +201,18 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
192
201
|
* <p>The type of the resource that isn't found.</p>
|
|
193
202
|
*/
|
|
194
203
|
resourceType: string | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* @internal
|
|
206
|
+
*/
|
|
207
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
195
208
|
}
|
|
196
209
|
/**
|
|
197
210
|
* <p>Your request exceeded a request rate quota. For example, you might have exceeded the
|
|
198
211
|
* amount of times that you can retrieve device or deployment status per second.</p>
|
|
199
212
|
*/
|
|
200
|
-
export
|
|
201
|
-
name: "ThrottlingException";
|
|
202
|
-
$fault: "client";
|
|
203
|
-
message: string | undefined;
|
|
213
|
+
export declare class ThrottlingException extends __BaseException {
|
|
214
|
+
readonly name: "ThrottlingException";
|
|
215
|
+
readonly $fault: "client";
|
|
204
216
|
/**
|
|
205
217
|
* <p>The code for the quota in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
206
218
|
*/
|
|
@@ -213,6 +225,10 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
213
225
|
* <p>The amount of time to wait before you retry the request.</p>
|
|
214
226
|
*/
|
|
215
227
|
retryAfterSeconds?: number;
|
|
228
|
+
/**
|
|
229
|
+
* @internal
|
|
230
|
+
*/
|
|
231
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
216
232
|
}
|
|
217
233
|
/**
|
|
218
234
|
* <p>Contains a request to disassociate a client device from a core device. The <a href="https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchDisassociateClientDeviceWithCoreDevice.html">BatchDisassociateClientDeviceWithCoreDevice</a> operation consumes a list of these
|
|
@@ -312,10 +328,9 @@ export declare namespace CancelDeploymentResponse {
|
|
|
312
328
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more
|
|
313
329
|
* than one operation on the same resource at the same time.</p>
|
|
314
330
|
*/
|
|
315
|
-
export
|
|
316
|
-
name: "ConflictException";
|
|
317
|
-
$fault: "client";
|
|
318
|
-
message: string | undefined;
|
|
331
|
+
export declare class ConflictException extends __BaseException {
|
|
332
|
+
readonly name: "ConflictException";
|
|
333
|
+
readonly $fault: "client";
|
|
319
334
|
/**
|
|
320
335
|
* <p>The ID of the resource that conflicts with the request.</p>
|
|
321
336
|
*/
|
|
@@ -324,6 +339,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
324
339
|
* <p>The type of the resource that conflicts with the request.</p>
|
|
325
340
|
*/
|
|
326
341
|
resourceType: string | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* @internal
|
|
344
|
+
*/
|
|
345
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
327
346
|
}
|
|
328
347
|
export declare enum CloudComponentState {
|
|
329
348
|
DEPLOYABLE = "DEPLOYABLE",
|
|
@@ -1096,19 +1115,21 @@ export declare namespace CreateComponentVersionResponse {
|
|
|
1096
1115
|
* multiple requests while IoT Greengrass is still processing an earlier request that uses the same client
|
|
1097
1116
|
* token.</p>
|
|
1098
1117
|
*/
|
|
1099
|
-
export
|
|
1100
|
-
name: "RequestAlreadyInProgressException";
|
|
1101
|
-
$fault: "client";
|
|
1102
|
-
|
|
1118
|
+
export declare class RequestAlreadyInProgressException extends __BaseException {
|
|
1119
|
+
readonly name: "RequestAlreadyInProgressException";
|
|
1120
|
+
readonly $fault: "client";
|
|
1121
|
+
/**
|
|
1122
|
+
* @internal
|
|
1123
|
+
*/
|
|
1124
|
+
constructor(opts: __ExceptionOptionType<RequestAlreadyInProgressException, __BaseException>);
|
|
1103
1125
|
}
|
|
1104
1126
|
/**
|
|
1105
1127
|
* <p>Your request exceeds a service quota. For example, you might have the maximum number of
|
|
1106
1128
|
* components that you can create.</p>
|
|
1107
1129
|
*/
|
|
1108
|
-
export
|
|
1109
|
-
name: "ServiceQuotaExceededException";
|
|
1110
|
-
$fault: "client";
|
|
1111
|
-
message: string | undefined;
|
|
1130
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
1131
|
+
readonly name: "ServiceQuotaExceededException";
|
|
1132
|
+
readonly $fault: "client";
|
|
1112
1133
|
/**
|
|
1113
1134
|
* <p>The ID of the resource that exceeds the service quota.</p>
|
|
1114
1135
|
*/
|
|
@@ -1125,6 +1146,10 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
1125
1146
|
* <p>The code for the service in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
1126
1147
|
*/
|
|
1127
1148
|
serviceCode: string | undefined;
|
|
1149
|
+
/**
|
|
1150
|
+
* @internal
|
|
1151
|
+
*/
|
|
1152
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
1128
1153
|
}
|
|
1129
1154
|
export declare enum DeploymentComponentUpdatePolicyAction {
|
|
1130
1155
|
NOTIFY_COMPONENTS = "NOTIFY_COMPONENTS",
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateServiceRoleToAccountCommandInput, AssociateServiceRoleToAccountCommandOutput } from "./commands/AssociateServiceRoleToAccountCommand";
|
|
10
10
|
import { BatchAssociateClientDeviceWithCoreDeviceCommandInput, BatchAssociateClientDeviceWithCoreDeviceCommandOutput } from "./commands/BatchAssociateClientDeviceWithCoreDeviceCommand";
|
|
11
11
|
import { BatchDisassociateClientDeviceFromCoreDeviceCommandInput, BatchDisassociateClientDeviceFromCoreDeviceCommandOutput } from "./commands/BatchDisassociateClientDeviceFromCoreDeviceCommand";
|
|
@@ -44,7 +44,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
44
44
|
|
|
45
45
|
urlParser?: __UrlParser;
|
|
46
46
|
|
|
47
|
-
bodyLengthChecker?:
|
|
47
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
48
48
|
|
|
49
49
|
streamCollector?: __StreamCollector;
|
|
50
50
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class GreengrassV2ServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { GreengrassV2ServiceException as __BaseException } from "./GreengrassV2ServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
export interface AssociateClientDeviceWithCoreDeviceEntry {
|
|
@@ -55,12 +57,13 @@ export declare namespace AssociateServiceRoleToAccountResponse {
|
|
|
55
57
|
const filterSensitiveLog: (obj: AssociateServiceRoleToAccountResponse) => any;
|
|
56
58
|
}
|
|
57
59
|
|
|
58
|
-
export
|
|
59
|
-
name: "InternalServerException";
|
|
60
|
-
$fault: "server";
|
|
61
|
-
message: string | undefined;
|
|
60
|
+
export declare class InternalServerException extends __BaseException {
|
|
61
|
+
readonly name: "InternalServerException";
|
|
62
|
+
readonly $fault: "server";
|
|
62
63
|
|
|
63
64
|
retryAfterSeconds?: number;
|
|
65
|
+
|
|
66
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
export interface ValidationExceptionField {
|
|
@@ -80,14 +83,15 @@ export declare enum ValidationExceptionReason {
|
|
|
80
83
|
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
81
84
|
}
|
|
82
85
|
|
|
83
|
-
export
|
|
84
|
-
name: "ValidationException";
|
|
85
|
-
$fault: "client";
|
|
86
|
-
message: string | undefined;
|
|
86
|
+
export declare class ValidationException extends __BaseException {
|
|
87
|
+
readonly name: "ValidationException";
|
|
88
|
+
readonly $fault: "client";
|
|
87
89
|
|
|
88
90
|
reason?: ValidationExceptionReason | string;
|
|
89
91
|
|
|
90
92
|
fields?: ValidationExceptionField[];
|
|
93
|
+
|
|
94
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
91
95
|
}
|
|
92
96
|
export interface BatchAssociateClientDeviceWithCoreDeviceRequest {
|
|
93
97
|
|
|
@@ -108,26 +112,28 @@ export declare namespace BatchAssociateClientDeviceWithCoreDeviceResponse {
|
|
|
108
112
|
const filterSensitiveLog: (obj: BatchAssociateClientDeviceWithCoreDeviceResponse) => any;
|
|
109
113
|
}
|
|
110
114
|
|
|
111
|
-
export
|
|
112
|
-
name: "ResourceNotFoundException";
|
|
113
|
-
$fault: "client";
|
|
114
|
-
message: string | undefined;
|
|
115
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
116
|
+
readonly name: "ResourceNotFoundException";
|
|
117
|
+
readonly $fault: "client";
|
|
115
118
|
|
|
116
119
|
resourceId: string | undefined;
|
|
117
120
|
|
|
118
121
|
resourceType: string | undefined;
|
|
122
|
+
|
|
123
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
119
124
|
}
|
|
120
125
|
|
|
121
|
-
export
|
|
122
|
-
name: "ThrottlingException";
|
|
123
|
-
$fault: "client";
|
|
124
|
-
message: string | undefined;
|
|
126
|
+
export declare class ThrottlingException extends __BaseException {
|
|
127
|
+
readonly name: "ThrottlingException";
|
|
128
|
+
readonly $fault: "client";
|
|
125
129
|
|
|
126
130
|
quotaCode?: string;
|
|
127
131
|
|
|
128
132
|
serviceCode?: string;
|
|
129
133
|
|
|
130
134
|
retryAfterSeconds?: number;
|
|
135
|
+
|
|
136
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
131
137
|
}
|
|
132
138
|
|
|
133
139
|
export interface DisassociateClientDeviceFromCoreDeviceEntry {
|
|
@@ -186,14 +192,15 @@ export declare namespace CancelDeploymentResponse {
|
|
|
186
192
|
const filterSensitiveLog: (obj: CancelDeploymentResponse) => any;
|
|
187
193
|
}
|
|
188
194
|
|
|
189
|
-
export
|
|
190
|
-
name: "ConflictException";
|
|
191
|
-
$fault: "client";
|
|
192
|
-
message: string | undefined;
|
|
195
|
+
export declare class ConflictException extends __BaseException {
|
|
196
|
+
readonly name: "ConflictException";
|
|
197
|
+
readonly $fault: "client";
|
|
193
198
|
|
|
194
199
|
resourceId: string | undefined;
|
|
195
200
|
|
|
196
201
|
resourceType: string | undefined;
|
|
202
|
+
|
|
203
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
197
204
|
}
|
|
198
205
|
export declare enum CloudComponentState {
|
|
199
206
|
DEPLOYABLE = "DEPLOYABLE",
|
|
@@ -555,16 +562,16 @@ export declare namespace CreateComponentVersionResponse {
|
|
|
555
562
|
const filterSensitiveLog: (obj: CreateComponentVersionResponse) => any;
|
|
556
563
|
}
|
|
557
564
|
|
|
558
|
-
export
|
|
559
|
-
name: "RequestAlreadyInProgressException";
|
|
560
|
-
$fault: "client";
|
|
561
|
-
|
|
565
|
+
export declare class RequestAlreadyInProgressException extends __BaseException {
|
|
566
|
+
readonly name: "RequestAlreadyInProgressException";
|
|
567
|
+
readonly $fault: "client";
|
|
568
|
+
|
|
569
|
+
constructor(opts: __ExceptionOptionType<RequestAlreadyInProgressException, __BaseException>);
|
|
562
570
|
}
|
|
563
571
|
|
|
564
|
-
export
|
|
565
|
-
name: "ServiceQuotaExceededException";
|
|
566
|
-
$fault: "client";
|
|
567
|
-
message: string | undefined;
|
|
572
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
573
|
+
readonly name: "ServiceQuotaExceededException";
|
|
574
|
+
readonly $fault: "client";
|
|
568
575
|
|
|
569
576
|
resourceId?: string;
|
|
570
577
|
|
|
@@ -573,6 +580,8 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
573
580
|
quotaCode: string | undefined;
|
|
574
581
|
|
|
575
582
|
serviceCode: string | undefined;
|
|
583
|
+
|
|
584
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
576
585
|
}
|
|
577
586
|
export declare enum DeploymentComponentUpdatePolicyAction {
|
|
578
587
|
NOTIFY_COMPONENTS = "NOTIFY_COMPONENTS",
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-greengrassv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Greengrassv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.54.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.1",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.1",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.1",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.1",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.1",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.1",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.1",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.1",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.1",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.1",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.1",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.1",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.1",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.1",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.1",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.1",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.1",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.1",
|
|
39
|
+
"@aws-sdk/types": "3.54.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.1",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.1",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.1",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.1",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.1",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0",
|