@aws-sdk/client-greengrassv2 3.934.0 → 3.935.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/dist-cjs/index.js +111 -110
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +110 -0
- package/dist-es/models/errors.js +125 -0
- package/dist-es/models/models_0.js +1 -235
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +286 -0
- package/dist-types/models/errors.d.ts +176 -0
- package/dist-types/models/models_0.d.ts +1 -460
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +154 -0
- package/dist-types/ts3.4/models/errors.d.ts +75 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -227
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
export declare const ValidationExceptionReason: {
|
|
2
|
+
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
3
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
4
|
+
readonly OTHER: "OTHER";
|
|
5
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
6
|
+
};
|
|
7
|
+
export type ValidationExceptionReason =
|
|
8
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
9
|
+
export declare const CloudComponentState: {
|
|
10
|
+
readonly DEPLOYABLE: "DEPLOYABLE";
|
|
11
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
12
|
+
readonly FAILED: "FAILED";
|
|
13
|
+
readonly INITIATED: "INITIATED";
|
|
14
|
+
readonly REQUESTED: "REQUESTED";
|
|
15
|
+
};
|
|
16
|
+
export type CloudComponentState =
|
|
17
|
+
(typeof CloudComponentState)[keyof typeof CloudComponentState];
|
|
18
|
+
export declare const VendorGuidance: {
|
|
19
|
+
readonly ACTIVE: "ACTIVE";
|
|
20
|
+
readonly DELETED: "DELETED";
|
|
21
|
+
readonly DISCONTINUED: "DISCONTINUED";
|
|
22
|
+
};
|
|
23
|
+
export type VendorGuidance =
|
|
24
|
+
(typeof VendorGuidance)[keyof typeof VendorGuidance];
|
|
25
|
+
export declare const ComponentDependencyType: {
|
|
26
|
+
readonly HARD: "HARD";
|
|
27
|
+
readonly SOFT: "SOFT";
|
|
28
|
+
};
|
|
29
|
+
export type ComponentDependencyType =
|
|
30
|
+
(typeof ComponentDependencyType)[keyof typeof ComponentDependencyType];
|
|
31
|
+
export declare const ComponentVisibilityScope: {
|
|
32
|
+
readonly PRIVATE: "PRIVATE";
|
|
33
|
+
readonly PUBLIC: "PUBLIC";
|
|
34
|
+
};
|
|
35
|
+
export type ComponentVisibilityScope =
|
|
36
|
+
(typeof ComponentVisibilityScope)[keyof typeof ComponentVisibilityScope];
|
|
37
|
+
export declare const CoreDeviceStatus: {
|
|
38
|
+
readonly HEALTHY: "HEALTHY";
|
|
39
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
40
|
+
};
|
|
41
|
+
export type CoreDeviceStatus =
|
|
42
|
+
(typeof CoreDeviceStatus)[keyof typeof CoreDeviceStatus];
|
|
43
|
+
export declare const LambdaEventSourceType: {
|
|
44
|
+
readonly IOT_CORE: "IOT_CORE";
|
|
45
|
+
readonly PUB_SUB: "PUB_SUB";
|
|
46
|
+
};
|
|
47
|
+
export type LambdaEventSourceType =
|
|
48
|
+
(typeof LambdaEventSourceType)[keyof typeof LambdaEventSourceType];
|
|
49
|
+
export declare const LambdaInputPayloadEncodingType: {
|
|
50
|
+
readonly BINARY: "binary";
|
|
51
|
+
readonly JSON: "json";
|
|
52
|
+
};
|
|
53
|
+
export type LambdaInputPayloadEncodingType =
|
|
54
|
+
(typeof LambdaInputPayloadEncodingType)[keyof typeof LambdaInputPayloadEncodingType];
|
|
55
|
+
export declare const LambdaFilesystemPermission: {
|
|
56
|
+
readonly RO: "ro";
|
|
57
|
+
readonly RW: "rw";
|
|
58
|
+
};
|
|
59
|
+
export type LambdaFilesystemPermission =
|
|
60
|
+
(typeof LambdaFilesystemPermission)[keyof typeof LambdaFilesystemPermission];
|
|
61
|
+
export declare const LambdaIsolationMode: {
|
|
62
|
+
readonly GREENGRASS_CONTAINER: "GreengrassContainer";
|
|
63
|
+
readonly NO_CONTAINER: "NoContainer";
|
|
64
|
+
};
|
|
65
|
+
export type LambdaIsolationMode =
|
|
66
|
+
(typeof LambdaIsolationMode)[keyof typeof LambdaIsolationMode];
|
|
67
|
+
export declare const DeploymentComponentUpdatePolicyAction: {
|
|
68
|
+
readonly NOTIFY_COMPONENTS: "NOTIFY_COMPONENTS";
|
|
69
|
+
readonly SKIP_NOTIFY_COMPONENTS: "SKIP_NOTIFY_COMPONENTS";
|
|
70
|
+
};
|
|
71
|
+
export type DeploymentComponentUpdatePolicyAction =
|
|
72
|
+
(typeof DeploymentComponentUpdatePolicyAction)[keyof typeof DeploymentComponentUpdatePolicyAction];
|
|
73
|
+
export declare const DeploymentFailureHandlingPolicy: {
|
|
74
|
+
readonly DO_NOTHING: "DO_NOTHING";
|
|
75
|
+
readonly ROLLBACK: "ROLLBACK";
|
|
76
|
+
};
|
|
77
|
+
export type DeploymentFailureHandlingPolicy =
|
|
78
|
+
(typeof DeploymentFailureHandlingPolicy)[keyof typeof DeploymentFailureHandlingPolicy];
|
|
79
|
+
export declare const IoTJobAbortAction: {
|
|
80
|
+
readonly CANCEL: "CANCEL";
|
|
81
|
+
};
|
|
82
|
+
export type IoTJobAbortAction =
|
|
83
|
+
(typeof IoTJobAbortAction)[keyof typeof IoTJobAbortAction];
|
|
84
|
+
export declare const IoTJobExecutionFailureType: {
|
|
85
|
+
readonly ALL: "ALL";
|
|
86
|
+
readonly FAILED: "FAILED";
|
|
87
|
+
readonly REJECTED: "REJECTED";
|
|
88
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
89
|
+
};
|
|
90
|
+
export type IoTJobExecutionFailureType =
|
|
91
|
+
(typeof IoTJobExecutionFailureType)[keyof typeof IoTJobExecutionFailureType];
|
|
92
|
+
export declare const DeploymentStatus: {
|
|
93
|
+
readonly ACTIVE: "ACTIVE";
|
|
94
|
+
readonly CANCELED: "CANCELED";
|
|
95
|
+
readonly COMPLETED: "COMPLETED";
|
|
96
|
+
readonly FAILED: "FAILED";
|
|
97
|
+
readonly INACTIVE: "INACTIVE";
|
|
98
|
+
};
|
|
99
|
+
export type DeploymentStatus =
|
|
100
|
+
(typeof DeploymentStatus)[keyof typeof DeploymentStatus];
|
|
101
|
+
export declare const DeploymentHistoryFilter: {
|
|
102
|
+
readonly ALL: "ALL";
|
|
103
|
+
readonly LATEST_ONLY: "LATEST_ONLY";
|
|
104
|
+
};
|
|
105
|
+
export type DeploymentHistoryFilter =
|
|
106
|
+
(typeof DeploymentHistoryFilter)[keyof typeof DeploymentHistoryFilter];
|
|
107
|
+
export declare const EffectiveDeploymentExecutionStatus: {
|
|
108
|
+
readonly CANCELED: "CANCELED";
|
|
109
|
+
readonly COMPLETED: "COMPLETED";
|
|
110
|
+
readonly FAILED: "FAILED";
|
|
111
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
112
|
+
readonly QUEUED: "QUEUED";
|
|
113
|
+
readonly REJECTED: "REJECTED";
|
|
114
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
115
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
116
|
+
};
|
|
117
|
+
export type EffectiveDeploymentExecutionStatus =
|
|
118
|
+
(typeof EffectiveDeploymentExecutionStatus)[keyof typeof EffectiveDeploymentExecutionStatus];
|
|
119
|
+
export declare const RecipeOutputFormat: {
|
|
120
|
+
readonly JSON: "JSON";
|
|
121
|
+
readonly YAML: "YAML";
|
|
122
|
+
};
|
|
123
|
+
export type RecipeOutputFormat =
|
|
124
|
+
(typeof RecipeOutputFormat)[keyof typeof RecipeOutputFormat];
|
|
125
|
+
export declare const IotEndpointType: {
|
|
126
|
+
readonly fips: "fips";
|
|
127
|
+
readonly standard: "standard";
|
|
128
|
+
};
|
|
129
|
+
export type IotEndpointType =
|
|
130
|
+
(typeof IotEndpointType)[keyof typeof IotEndpointType];
|
|
131
|
+
export declare const S3EndpointType: {
|
|
132
|
+
readonly GLOBAL: "GLOBAL";
|
|
133
|
+
readonly REGIONAL: "REGIONAL";
|
|
134
|
+
};
|
|
135
|
+
export type S3EndpointType =
|
|
136
|
+
(typeof S3EndpointType)[keyof typeof S3EndpointType];
|
|
137
|
+
export declare const InstalledComponentTopologyFilter: {
|
|
138
|
+
readonly ALL: "ALL";
|
|
139
|
+
readonly ROOT: "ROOT";
|
|
140
|
+
};
|
|
141
|
+
export type InstalledComponentTopologyFilter =
|
|
142
|
+
(typeof InstalledComponentTopologyFilter)[keyof typeof InstalledComponentTopologyFilter];
|
|
143
|
+
export declare const InstalledComponentLifecycleState: {
|
|
144
|
+
readonly BROKEN: "BROKEN";
|
|
145
|
+
readonly ERRORED: "ERRORED";
|
|
146
|
+
readonly FINISHED: "FINISHED";
|
|
147
|
+
readonly INSTALLED: "INSTALLED";
|
|
148
|
+
readonly NEW: "NEW";
|
|
149
|
+
readonly RUNNING: "RUNNING";
|
|
150
|
+
readonly STARTING: "STARTING";
|
|
151
|
+
readonly STOPPING: "STOPPING";
|
|
152
|
+
};
|
|
153
|
+
export type InstalledComponentLifecycleState =
|
|
154
|
+
(typeof InstalledComponentLifecycleState)[keyof typeof InstalledComponentLifecycleState];
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { GreengrassV2ServiceException as __BaseException } from "./GreengrassV2ServiceException";
|
|
4
|
+
import { ValidationExceptionField } from "./models_0";
|
|
5
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
readonly name: "AccessDeniedException";
|
|
7
|
+
readonly $fault: "client";
|
|
8
|
+
constructor(
|
|
9
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
export declare class InternalServerException extends __BaseException {
|
|
13
|
+
readonly name: "InternalServerException";
|
|
14
|
+
readonly $fault: "server";
|
|
15
|
+
retryAfterSeconds?: number | undefined;
|
|
16
|
+
constructor(
|
|
17
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
export declare class ValidationException extends __BaseException {
|
|
21
|
+
readonly name: "ValidationException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
reason?: ValidationExceptionReason | undefined;
|
|
24
|
+
fields?: ValidationExceptionField[] | undefined;
|
|
25
|
+
constructor(
|
|
26
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
30
|
+
readonly name: "ResourceNotFoundException";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
resourceId: string | undefined;
|
|
33
|
+
resourceType: string | undefined;
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class ThrottlingException extends __BaseException {
|
|
39
|
+
readonly name: "ThrottlingException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
quotaCode?: string | undefined;
|
|
42
|
+
serviceCode?: string | undefined;
|
|
43
|
+
retryAfterSeconds?: number | undefined;
|
|
44
|
+
constructor(
|
|
45
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
export declare class ConflictException extends __BaseException {
|
|
49
|
+
readonly name: "ConflictException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
resourceId: string | undefined;
|
|
52
|
+
resourceType: string | undefined;
|
|
53
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
export declare class RequestAlreadyInProgressException extends __BaseException {
|
|
56
|
+
readonly name: "RequestAlreadyInProgressException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
constructor(
|
|
59
|
+
opts: __ExceptionOptionType<
|
|
60
|
+
RequestAlreadyInProgressException,
|
|
61
|
+
__BaseException
|
|
62
|
+
>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
66
|
+
readonly name: "ServiceQuotaExceededException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
resourceId?: string | undefined;
|
|
69
|
+
resourceType?: string | undefined;
|
|
70
|
+
quotaCode: string | undefined;
|
|
71
|
+
serviceCode: string | undefined;
|
|
72
|
+
constructor(
|
|
73
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -1,12 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import {
|
|
2
|
+
CloudComponentState,
|
|
3
|
+
ComponentDependencyType,
|
|
4
|
+
ComponentVisibilityScope,
|
|
5
|
+
CoreDeviceStatus,
|
|
6
|
+
DeploymentComponentUpdatePolicyAction,
|
|
7
|
+
DeploymentFailureHandlingPolicy,
|
|
8
|
+
DeploymentHistoryFilter,
|
|
9
|
+
DeploymentStatus,
|
|
10
|
+
EffectiveDeploymentExecutionStatus,
|
|
11
|
+
InstalledComponentLifecycleState,
|
|
12
|
+
InstalledComponentTopologyFilter,
|
|
13
|
+
IotEndpointType,
|
|
14
|
+
IoTJobAbortAction,
|
|
15
|
+
IoTJobExecutionFailureType,
|
|
16
|
+
LambdaEventSourceType,
|
|
17
|
+
LambdaFilesystemPermission,
|
|
18
|
+
LambdaInputPayloadEncodingType,
|
|
19
|
+
LambdaIsolationMode,
|
|
20
|
+
RecipeOutputFormat,
|
|
21
|
+
S3EndpointType,
|
|
22
|
+
VendorGuidance,
|
|
23
|
+
} from "./enums";
|
|
10
24
|
export interface AssociateClientDeviceWithCoreDeviceEntry {
|
|
11
25
|
thingName: string | undefined;
|
|
12
26
|
}
|
|
@@ -25,35 +39,10 @@ export interface AssociateServiceRoleToAccountRequest {
|
|
|
25
39
|
export interface AssociateServiceRoleToAccountResponse {
|
|
26
40
|
associatedAt?: string | undefined;
|
|
27
41
|
}
|
|
28
|
-
export declare class InternalServerException extends __BaseException {
|
|
29
|
-
readonly name: "InternalServerException";
|
|
30
|
-
readonly $fault: "server";
|
|
31
|
-
retryAfterSeconds?: number | undefined;
|
|
32
|
-
constructor(
|
|
33
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
42
|
export interface ValidationExceptionField {
|
|
37
43
|
name: string | undefined;
|
|
38
44
|
message: string | undefined;
|
|
39
45
|
}
|
|
40
|
-
export declare const ValidationExceptionReason: {
|
|
41
|
-
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
42
|
-
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
43
|
-
readonly OTHER: "OTHER";
|
|
44
|
-
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
45
|
-
};
|
|
46
|
-
export type ValidationExceptionReason =
|
|
47
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
48
|
-
export declare class ValidationException extends __BaseException {
|
|
49
|
-
readonly name: "ValidationException";
|
|
50
|
-
readonly $fault: "client";
|
|
51
|
-
reason?: ValidationExceptionReason | undefined;
|
|
52
|
-
fields?: ValidationExceptionField[] | undefined;
|
|
53
|
-
constructor(
|
|
54
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
46
|
export interface BatchAssociateClientDeviceWithCoreDeviceRequest {
|
|
58
47
|
entries?: AssociateClientDeviceWithCoreDeviceEntry[] | undefined;
|
|
59
48
|
coreDeviceThingName: string | undefined;
|
|
@@ -61,25 +50,6 @@ export interface BatchAssociateClientDeviceWithCoreDeviceRequest {
|
|
|
61
50
|
export interface BatchAssociateClientDeviceWithCoreDeviceResponse {
|
|
62
51
|
errorEntries?: AssociateClientDeviceWithCoreDeviceErrorEntry[] | undefined;
|
|
63
52
|
}
|
|
64
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
65
|
-
readonly name: "ResourceNotFoundException";
|
|
66
|
-
readonly $fault: "client";
|
|
67
|
-
resourceId: string | undefined;
|
|
68
|
-
resourceType: string | undefined;
|
|
69
|
-
constructor(
|
|
70
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
export declare class ThrottlingException extends __BaseException {
|
|
74
|
-
readonly name: "ThrottlingException";
|
|
75
|
-
readonly $fault: "client";
|
|
76
|
-
quotaCode?: string | undefined;
|
|
77
|
-
serviceCode?: string | undefined;
|
|
78
|
-
retryAfterSeconds?: number | undefined;
|
|
79
|
-
constructor(
|
|
80
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
53
|
export interface DisassociateClientDeviceFromCoreDeviceEntry {
|
|
84
54
|
thingName: string | undefined;
|
|
85
55
|
}
|
|
@@ -101,29 +71,6 @@ export interface CancelDeploymentRequest {
|
|
|
101
71
|
export interface CancelDeploymentResponse {
|
|
102
72
|
message?: string | undefined;
|
|
103
73
|
}
|
|
104
|
-
export declare class ConflictException extends __BaseException {
|
|
105
|
-
readonly name: "ConflictException";
|
|
106
|
-
readonly $fault: "client";
|
|
107
|
-
resourceId: string | undefined;
|
|
108
|
-
resourceType: string | undefined;
|
|
109
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
110
|
-
}
|
|
111
|
-
export declare const CloudComponentState: {
|
|
112
|
-
readonly DEPLOYABLE: "DEPLOYABLE";
|
|
113
|
-
readonly DEPRECATED: "DEPRECATED";
|
|
114
|
-
readonly FAILED: "FAILED";
|
|
115
|
-
readonly INITIATED: "INITIATED";
|
|
116
|
-
readonly REQUESTED: "REQUESTED";
|
|
117
|
-
};
|
|
118
|
-
export type CloudComponentState =
|
|
119
|
-
(typeof CloudComponentState)[keyof typeof CloudComponentState];
|
|
120
|
-
export declare const VendorGuidance: {
|
|
121
|
-
readonly ACTIVE: "ACTIVE";
|
|
122
|
-
readonly DELETED: "DELETED";
|
|
123
|
-
readonly DISCONTINUED: "DISCONTINUED";
|
|
124
|
-
};
|
|
125
|
-
export type VendorGuidance =
|
|
126
|
-
(typeof VendorGuidance)[keyof typeof VendorGuidance];
|
|
127
74
|
export interface CloudComponentStatus {
|
|
128
75
|
componentState?: CloudComponentState | undefined;
|
|
129
76
|
message?: string | undefined;
|
|
@@ -157,12 +104,6 @@ export interface ComponentConfigurationUpdate {
|
|
|
157
104
|
merge?: string | undefined;
|
|
158
105
|
reset?: string[] | undefined;
|
|
159
106
|
}
|
|
160
|
-
export declare const ComponentDependencyType: {
|
|
161
|
-
readonly HARD: "HARD";
|
|
162
|
-
readonly SOFT: "SOFT";
|
|
163
|
-
};
|
|
164
|
-
export type ComponentDependencyType =
|
|
165
|
-
(typeof ComponentDependencyType)[keyof typeof ComponentDependencyType];
|
|
166
107
|
export interface ComponentDependencyRequirement {
|
|
167
108
|
versionRequirement?: string | undefined;
|
|
168
109
|
dependencyType?: ComponentDependencyType | undefined;
|
|
@@ -186,24 +127,12 @@ export interface ComponentVersionListItem {
|
|
|
186
127
|
componentVersion?: string | undefined;
|
|
187
128
|
arn?: string | undefined;
|
|
188
129
|
}
|
|
189
|
-
export declare const ComponentVisibilityScope: {
|
|
190
|
-
readonly PRIVATE: "PRIVATE";
|
|
191
|
-
readonly PUBLIC: "PUBLIC";
|
|
192
|
-
};
|
|
193
|
-
export type ComponentVisibilityScope =
|
|
194
|
-
(typeof ComponentVisibilityScope)[keyof typeof ComponentVisibilityScope];
|
|
195
130
|
export interface ConnectivityInfo {
|
|
196
131
|
id?: string | undefined;
|
|
197
132
|
hostAddress?: string | undefined;
|
|
198
133
|
portNumber?: number | undefined;
|
|
199
134
|
metadata?: string | undefined;
|
|
200
135
|
}
|
|
201
|
-
export declare const CoreDeviceStatus: {
|
|
202
|
-
readonly HEALTHY: "HEALTHY";
|
|
203
|
-
readonly UNHEALTHY: "UNHEALTHY";
|
|
204
|
-
};
|
|
205
|
-
export type CoreDeviceStatus =
|
|
206
|
-
(typeof CoreDeviceStatus)[keyof typeof CoreDeviceStatus];
|
|
207
136
|
export interface CoreDevice {
|
|
208
137
|
coreDeviceThingName?: string | undefined;
|
|
209
138
|
status?: CoreDeviceStatus | undefined;
|
|
@@ -212,28 +141,10 @@ export interface CoreDevice {
|
|
|
212
141
|
architecture?: string | undefined;
|
|
213
142
|
runtime?: string | undefined;
|
|
214
143
|
}
|
|
215
|
-
export declare const LambdaEventSourceType: {
|
|
216
|
-
readonly IOT_CORE: "IOT_CORE";
|
|
217
|
-
readonly PUB_SUB: "PUB_SUB";
|
|
218
|
-
};
|
|
219
|
-
export type LambdaEventSourceType =
|
|
220
|
-
(typeof LambdaEventSourceType)[keyof typeof LambdaEventSourceType];
|
|
221
144
|
export interface LambdaEventSource {
|
|
222
145
|
topic: string | undefined;
|
|
223
146
|
type: LambdaEventSourceType | undefined;
|
|
224
147
|
}
|
|
225
|
-
export declare const LambdaInputPayloadEncodingType: {
|
|
226
|
-
readonly BINARY: "binary";
|
|
227
|
-
readonly JSON: "json";
|
|
228
|
-
};
|
|
229
|
-
export type LambdaInputPayloadEncodingType =
|
|
230
|
-
(typeof LambdaInputPayloadEncodingType)[keyof typeof LambdaInputPayloadEncodingType];
|
|
231
|
-
export declare const LambdaFilesystemPermission: {
|
|
232
|
-
readonly RO: "ro";
|
|
233
|
-
readonly RW: "rw";
|
|
234
|
-
};
|
|
235
|
-
export type LambdaFilesystemPermission =
|
|
236
|
-
(typeof LambdaFilesystemPermission)[keyof typeof LambdaFilesystemPermission];
|
|
237
148
|
export interface LambdaDeviceMount {
|
|
238
149
|
path: string | undefined;
|
|
239
150
|
permission?: LambdaFilesystemPermission | undefined;
|
|
@@ -251,12 +162,6 @@ export interface LambdaContainerParams {
|
|
|
251
162
|
volumes?: LambdaVolumeMount[] | undefined;
|
|
252
163
|
devices?: LambdaDeviceMount[] | undefined;
|
|
253
164
|
}
|
|
254
|
-
export declare const LambdaIsolationMode: {
|
|
255
|
-
readonly GREENGRASS_CONTAINER: "GreengrassContainer";
|
|
256
|
-
readonly NO_CONTAINER: "NoContainer";
|
|
257
|
-
};
|
|
258
|
-
export type LambdaIsolationMode =
|
|
259
|
-
(typeof LambdaIsolationMode)[keyof typeof LambdaIsolationMode];
|
|
260
165
|
export interface LambdaLinuxProcessParams {
|
|
261
166
|
isolationMode?: LambdaIsolationMode | undefined;
|
|
262
167
|
containerParams?: LambdaContainerParams | undefined;
|
|
@@ -297,33 +202,6 @@ export interface CreateComponentVersionResponse {
|
|
|
297
202
|
creationTimestamp: Date | undefined;
|
|
298
203
|
status: CloudComponentStatus | undefined;
|
|
299
204
|
}
|
|
300
|
-
export declare class RequestAlreadyInProgressException extends __BaseException {
|
|
301
|
-
readonly name: "RequestAlreadyInProgressException";
|
|
302
|
-
readonly $fault: "client";
|
|
303
|
-
constructor(
|
|
304
|
-
opts: __ExceptionOptionType<
|
|
305
|
-
RequestAlreadyInProgressException,
|
|
306
|
-
__BaseException
|
|
307
|
-
>
|
|
308
|
-
);
|
|
309
|
-
}
|
|
310
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
311
|
-
readonly name: "ServiceQuotaExceededException";
|
|
312
|
-
readonly $fault: "client";
|
|
313
|
-
resourceId?: string | undefined;
|
|
314
|
-
resourceType?: string | undefined;
|
|
315
|
-
quotaCode: string | undefined;
|
|
316
|
-
serviceCode: string | undefined;
|
|
317
|
-
constructor(
|
|
318
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
319
|
-
);
|
|
320
|
-
}
|
|
321
|
-
export declare const DeploymentComponentUpdatePolicyAction: {
|
|
322
|
-
readonly NOTIFY_COMPONENTS: "NOTIFY_COMPONENTS";
|
|
323
|
-
readonly SKIP_NOTIFY_COMPONENTS: "SKIP_NOTIFY_COMPONENTS";
|
|
324
|
-
};
|
|
325
|
-
export type DeploymentComponentUpdatePolicyAction =
|
|
326
|
-
(typeof DeploymentComponentUpdatePolicyAction)[keyof typeof DeploymentComponentUpdatePolicyAction];
|
|
327
205
|
export interface DeploymentComponentUpdatePolicy {
|
|
328
206
|
timeoutInSeconds?: number | undefined;
|
|
329
207
|
action?: DeploymentComponentUpdatePolicyAction | undefined;
|
|
@@ -331,12 +209,6 @@ export interface DeploymentComponentUpdatePolicy {
|
|
|
331
209
|
export interface DeploymentConfigurationValidationPolicy {
|
|
332
210
|
timeoutInSeconds?: number | undefined;
|
|
333
211
|
}
|
|
334
|
-
export declare const DeploymentFailureHandlingPolicy: {
|
|
335
|
-
readonly DO_NOTHING: "DO_NOTHING";
|
|
336
|
-
readonly ROLLBACK: "ROLLBACK";
|
|
337
|
-
};
|
|
338
|
-
export type DeploymentFailureHandlingPolicy =
|
|
339
|
-
(typeof DeploymentFailureHandlingPolicy)[keyof typeof DeploymentFailureHandlingPolicy];
|
|
340
212
|
export interface DeploymentPolicies {
|
|
341
213
|
failureHandlingPolicy?: DeploymentFailureHandlingPolicy | undefined;
|
|
342
214
|
componentUpdatePolicy?: DeploymentComponentUpdatePolicy | undefined;
|
|
@@ -344,19 +216,6 @@ export interface DeploymentPolicies {
|
|
|
344
216
|
| DeploymentConfigurationValidationPolicy
|
|
345
217
|
| undefined;
|
|
346
218
|
}
|
|
347
|
-
export declare const IoTJobAbortAction: {
|
|
348
|
-
readonly CANCEL: "CANCEL";
|
|
349
|
-
};
|
|
350
|
-
export type IoTJobAbortAction =
|
|
351
|
-
(typeof IoTJobAbortAction)[keyof typeof IoTJobAbortAction];
|
|
352
|
-
export declare const IoTJobExecutionFailureType: {
|
|
353
|
-
readonly ALL: "ALL";
|
|
354
|
-
readonly FAILED: "FAILED";
|
|
355
|
-
readonly REJECTED: "REJECTED";
|
|
356
|
-
readonly TIMED_OUT: "TIMED_OUT";
|
|
357
|
-
};
|
|
358
|
-
export type IoTJobExecutionFailureType =
|
|
359
|
-
(typeof IoTJobExecutionFailureType)[keyof typeof IoTJobExecutionFailureType];
|
|
360
219
|
export interface IoTJobAbortCriteria {
|
|
361
220
|
failureType: IoTJobExecutionFailureType | undefined;
|
|
362
221
|
action: IoTJobAbortAction | undefined;
|
|
@@ -411,15 +270,6 @@ export interface DeleteCoreDeviceRequest {
|
|
|
411
270
|
export interface DeleteDeploymentRequest {
|
|
412
271
|
deploymentId: string | undefined;
|
|
413
272
|
}
|
|
414
|
-
export declare const DeploymentStatus: {
|
|
415
|
-
readonly ACTIVE: "ACTIVE";
|
|
416
|
-
readonly CANCELED: "CANCELED";
|
|
417
|
-
readonly COMPLETED: "COMPLETED";
|
|
418
|
-
readonly FAILED: "FAILED";
|
|
419
|
-
readonly INACTIVE: "INACTIVE";
|
|
420
|
-
};
|
|
421
|
-
export type DeploymentStatus =
|
|
422
|
-
(typeof DeploymentStatus)[keyof typeof DeploymentStatus];
|
|
423
273
|
export interface Deployment {
|
|
424
274
|
targetArn?: string | undefined;
|
|
425
275
|
revisionId?: string | undefined;
|
|
@@ -430,12 +280,6 @@ export interface Deployment {
|
|
|
430
280
|
isLatestForTarget?: boolean | undefined;
|
|
431
281
|
parentTargetArn?: string | undefined;
|
|
432
282
|
}
|
|
433
|
-
export declare const DeploymentHistoryFilter: {
|
|
434
|
-
readonly ALL: "ALL";
|
|
435
|
-
readonly LATEST_ONLY: "LATEST_ONLY";
|
|
436
|
-
};
|
|
437
|
-
export type DeploymentHistoryFilter =
|
|
438
|
-
(typeof DeploymentHistoryFilter)[keyof typeof DeploymentHistoryFilter];
|
|
439
283
|
export interface DescribeComponentRequest {
|
|
440
284
|
arn: string | undefined;
|
|
441
285
|
}
|
|
@@ -454,18 +298,6 @@ export interface DisassociateServiceRoleFromAccountRequest {}
|
|
|
454
298
|
export interface DisassociateServiceRoleFromAccountResponse {
|
|
455
299
|
disassociatedAt?: string | undefined;
|
|
456
300
|
}
|
|
457
|
-
export declare const EffectiveDeploymentExecutionStatus: {
|
|
458
|
-
readonly CANCELED: "CANCELED";
|
|
459
|
-
readonly COMPLETED: "COMPLETED";
|
|
460
|
-
readonly FAILED: "FAILED";
|
|
461
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
462
|
-
readonly QUEUED: "QUEUED";
|
|
463
|
-
readonly REJECTED: "REJECTED";
|
|
464
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
465
|
-
readonly TIMED_OUT: "TIMED_OUT";
|
|
466
|
-
};
|
|
467
|
-
export type EffectiveDeploymentExecutionStatus =
|
|
468
|
-
(typeof EffectiveDeploymentExecutionStatus)[keyof typeof EffectiveDeploymentExecutionStatus];
|
|
469
301
|
export interface EffectiveDeploymentStatusDetails {
|
|
470
302
|
errorStack?: string[] | undefined;
|
|
471
303
|
errorTypes?: string[] | undefined;
|
|
@@ -483,12 +315,6 @@ export interface EffectiveDeployment {
|
|
|
483
315
|
modifiedTimestamp: Date | undefined;
|
|
484
316
|
statusDetails?: EffectiveDeploymentStatusDetails | undefined;
|
|
485
317
|
}
|
|
486
|
-
export declare const RecipeOutputFormat: {
|
|
487
|
-
readonly JSON: "JSON";
|
|
488
|
-
readonly YAML: "YAML";
|
|
489
|
-
};
|
|
490
|
-
export type RecipeOutputFormat =
|
|
491
|
-
(typeof RecipeOutputFormat)[keyof typeof RecipeOutputFormat];
|
|
492
318
|
export interface GetComponentRequest {
|
|
493
319
|
recipeOutputFormat?: RecipeOutputFormat | undefined;
|
|
494
320
|
arn: string | undefined;
|
|
@@ -498,18 +324,6 @@ export interface GetComponentResponse {
|
|
|
498
324
|
recipe: Uint8Array | undefined;
|
|
499
325
|
tags?: Record<string, string> | undefined;
|
|
500
326
|
}
|
|
501
|
-
export declare const IotEndpointType: {
|
|
502
|
-
readonly fips: "fips";
|
|
503
|
-
readonly standard: "standard";
|
|
504
|
-
};
|
|
505
|
-
export type IotEndpointType =
|
|
506
|
-
(typeof IotEndpointType)[keyof typeof IotEndpointType];
|
|
507
|
-
export declare const S3EndpointType: {
|
|
508
|
-
readonly GLOBAL: "GLOBAL";
|
|
509
|
-
readonly REGIONAL: "REGIONAL";
|
|
510
|
-
};
|
|
511
|
-
export type S3EndpointType =
|
|
512
|
-
(typeof S3EndpointType)[keyof typeof S3EndpointType];
|
|
513
327
|
export interface GetComponentVersionArtifactRequest {
|
|
514
328
|
arn: string | undefined;
|
|
515
329
|
artifactName: string | undefined;
|
|
@@ -621,30 +435,12 @@ export interface ListEffectiveDeploymentsResponse {
|
|
|
621
435
|
effectiveDeployments?: EffectiveDeployment[] | undefined;
|
|
622
436
|
nextToken?: string | undefined;
|
|
623
437
|
}
|
|
624
|
-
export declare const InstalledComponentTopologyFilter: {
|
|
625
|
-
readonly ALL: "ALL";
|
|
626
|
-
readonly ROOT: "ROOT";
|
|
627
|
-
};
|
|
628
|
-
export type InstalledComponentTopologyFilter =
|
|
629
|
-
(typeof InstalledComponentTopologyFilter)[keyof typeof InstalledComponentTopologyFilter];
|
|
630
438
|
export interface ListInstalledComponentsRequest {
|
|
631
439
|
coreDeviceThingName: string | undefined;
|
|
632
440
|
maxResults?: number | undefined;
|
|
633
441
|
nextToken?: string | undefined;
|
|
634
442
|
topologyFilter?: InstalledComponentTopologyFilter | undefined;
|
|
635
443
|
}
|
|
636
|
-
export declare const InstalledComponentLifecycleState: {
|
|
637
|
-
readonly BROKEN: "BROKEN";
|
|
638
|
-
readonly ERRORED: "ERRORED";
|
|
639
|
-
readonly FINISHED: "FINISHED";
|
|
640
|
-
readonly INSTALLED: "INSTALLED";
|
|
641
|
-
readonly NEW: "NEW";
|
|
642
|
-
readonly RUNNING: "RUNNING";
|
|
643
|
-
readonly STARTING: "STARTING";
|
|
644
|
-
readonly STOPPING: "STOPPING";
|
|
645
|
-
};
|
|
646
|
-
export type InstalledComponentLifecycleState =
|
|
647
|
-
(typeof InstalledComponentLifecycleState)[keyof typeof InstalledComponentLifecycleState];
|
|
648
444
|
export interface InstalledComponent {
|
|
649
445
|
componentName?: string | undefined;
|
|
650
446
|
componentVersion?: string | undefined;
|
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.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-greengrassv2",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|