@aws-sdk/client-iotthingsgraph 3.301.0 → 3.303.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.
@@ -54,10 +54,9 @@ class ThrottlingException extends IoTThingsGraphServiceException_1.IoTThingsGrap
54
54
  }
55
55
  }
56
56
  exports.ThrottlingException = ThrottlingException;
57
- var DefinitionLanguage;
58
- (function (DefinitionLanguage) {
59
- DefinitionLanguage["GRAPHQL"] = "GRAPHQL";
60
- })(DefinitionLanguage = exports.DefinitionLanguage || (exports.DefinitionLanguage = {}));
57
+ exports.DefinitionLanguage = {
58
+ GRAPHQL: "GRAPHQL",
59
+ };
61
60
  class LimitExceededException extends IoTThingsGraphServiceException_1.IoTThingsGraphServiceException {
62
61
  constructor(opts) {
63
62
  super({
@@ -84,22 +83,20 @@ class ResourceAlreadyExistsException extends IoTThingsGraphServiceException_1.Io
84
83
  }
85
84
  }
86
85
  exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
87
- var DeploymentTarget;
88
- (function (DeploymentTarget) {
89
- DeploymentTarget["CLOUD"] = "CLOUD";
90
- DeploymentTarget["GREENGRASS"] = "GREENGRASS";
91
- })(DeploymentTarget = exports.DeploymentTarget || (exports.DeploymentTarget = {}));
92
- var SystemInstanceDeploymentStatus;
93
- (function (SystemInstanceDeploymentStatus) {
94
- SystemInstanceDeploymentStatus["BOOTSTRAP"] = "BOOTSTRAP";
95
- SystemInstanceDeploymentStatus["DELETED_IN_TARGET"] = "DELETED_IN_TARGET";
96
- SystemInstanceDeploymentStatus["DEPLOYED_IN_TARGET"] = "DEPLOYED_IN_TARGET";
97
- SystemInstanceDeploymentStatus["DEPLOY_IN_PROGRESS"] = "DEPLOY_IN_PROGRESS";
98
- SystemInstanceDeploymentStatus["FAILED"] = "FAILED";
99
- SystemInstanceDeploymentStatus["NOT_DEPLOYED"] = "NOT_DEPLOYED";
100
- SystemInstanceDeploymentStatus["PENDING_DELETE"] = "PENDING_DELETE";
101
- SystemInstanceDeploymentStatus["UNDEPLOY_IN_PROGRESS"] = "UNDEPLOY_IN_PROGRESS";
102
- })(SystemInstanceDeploymentStatus = exports.SystemInstanceDeploymentStatus || (exports.SystemInstanceDeploymentStatus = {}));
86
+ exports.DeploymentTarget = {
87
+ CLOUD: "CLOUD",
88
+ GREENGRASS: "GREENGRASS",
89
+ };
90
+ exports.SystemInstanceDeploymentStatus = {
91
+ BOOTSTRAP: "BOOTSTRAP",
92
+ DELETED_IN_TARGET: "DELETED_IN_TARGET",
93
+ DEPLOYED_IN_TARGET: "DEPLOYED_IN_TARGET",
94
+ DEPLOY_IN_PROGRESS: "DEPLOY_IN_PROGRESS",
95
+ FAILED: "FAILED",
96
+ NOT_DEPLOYED: "NOT_DEPLOYED",
97
+ PENDING_DELETE: "PENDING_DELETE",
98
+ UNDEPLOY_IN_PROGRESS: "UNDEPLOY_IN_PROGRESS",
99
+ };
103
100
  class ResourceInUseException extends IoTThingsGraphServiceException_1.IoTThingsGraphServiceException {
104
101
  constructor(opts) {
105
102
  super({
@@ -113,80 +110,70 @@ class ResourceInUseException extends IoTThingsGraphServiceException_1.IoTThingsG
113
110
  }
114
111
  }
115
112
  exports.ResourceInUseException = ResourceInUseException;
116
- var EntityType;
117
- (function (EntityType) {
118
- EntityType["ACTION"] = "ACTION";
119
- EntityType["CAPABILITY"] = "CAPABILITY";
120
- EntityType["DEVICE"] = "DEVICE";
121
- EntityType["DEVICE_MODEL"] = "DEVICE_MODEL";
122
- EntityType["ENUM"] = "ENUM";
123
- EntityType["EVENT"] = "EVENT";
124
- EntityType["MAPPING"] = "MAPPING";
125
- EntityType["PROPERTY"] = "PROPERTY";
126
- EntityType["SERVICE"] = "SERVICE";
127
- EntityType["STATE"] = "STATE";
128
- })(EntityType = exports.EntityType || (exports.EntityType = {}));
129
- var EntityFilterName;
130
- (function (EntityFilterName) {
131
- EntityFilterName["NAME"] = "NAME";
132
- EntityFilterName["NAMESPACE"] = "NAMESPACE";
133
- EntityFilterName["REFERENCED_ENTITY_ID"] = "REFERENCED_ENTITY_ID";
134
- EntityFilterName["SEMANTIC_TYPE_PATH"] = "SEMANTIC_TYPE_PATH";
135
- })(EntityFilterName = exports.EntityFilterName || (exports.EntityFilterName = {}));
136
- var FlowExecutionEventType;
137
- (function (FlowExecutionEventType) {
138
- FlowExecutionEventType["ACKNOWLEDGE_TASK_MESSAGE"] = "ACKNOWLEDGE_TASK_MESSAGE";
139
- FlowExecutionEventType["ACTIVITY_FAILED"] = "ACTIVITY_FAILED";
140
- FlowExecutionEventType["ACTIVITY_SCHEDULED"] = "ACTIVITY_SCHEDULED";
141
- FlowExecutionEventType["ACTIVITY_STARTED"] = "ACTIVITY_STARTED";
142
- FlowExecutionEventType["ACTIVITY_SUCCEEDED"] = "ACTIVITY_SUCCEEDED";
143
- FlowExecutionEventType["EXECUTION_ABORTED"] = "EXECUTION_ABORTED";
144
- FlowExecutionEventType["EXECUTION_FAILED"] = "EXECUTION_FAILED";
145
- FlowExecutionEventType["EXECUTION_STARTED"] = "EXECUTION_STARTED";
146
- FlowExecutionEventType["EXECUTION_SUCCEEDED"] = "EXECUTION_SUCCEEDED";
147
- FlowExecutionEventType["SCHEDULE_NEXT_READY_STEPS_TASK"] = "SCHEDULE_NEXT_READY_STEPS_TASK";
148
- FlowExecutionEventType["START_FLOW_EXECUTION_TASK"] = "START_FLOW_EXECUTION_TASK";
149
- FlowExecutionEventType["STEP_FAILED"] = "STEP_FAILED";
150
- FlowExecutionEventType["STEP_STARTED"] = "STEP_STARTED";
151
- FlowExecutionEventType["STEP_SUCCEEDED"] = "STEP_SUCCEEDED";
152
- FlowExecutionEventType["THING_ACTION_TASK"] = "THING_ACTION_TASK";
153
- FlowExecutionEventType["THING_ACTION_TASK_FAILED"] = "THING_ACTION_TASK_FAILED";
154
- FlowExecutionEventType["THING_ACTION_TASK_SUCCEEDED"] = "THING_ACTION_TASK_SUCCEEDED";
155
- })(FlowExecutionEventType = exports.FlowExecutionEventType || (exports.FlowExecutionEventType = {}));
156
- var FlowExecutionStatus;
157
- (function (FlowExecutionStatus) {
158
- FlowExecutionStatus["ABORTED"] = "ABORTED";
159
- FlowExecutionStatus["FAILED"] = "FAILED";
160
- FlowExecutionStatus["RUNNING"] = "RUNNING";
161
- FlowExecutionStatus["SUCCEEDED"] = "SUCCEEDED";
162
- })(FlowExecutionStatus = exports.FlowExecutionStatus || (exports.FlowExecutionStatus = {}));
163
- var FlowTemplateFilterName;
164
- (function (FlowTemplateFilterName) {
165
- FlowTemplateFilterName["DEVICE_MODEL_ID"] = "DEVICE_MODEL_ID";
166
- })(FlowTemplateFilterName = exports.FlowTemplateFilterName || (exports.FlowTemplateFilterName = {}));
167
- var NamespaceDeletionStatusErrorCodes;
168
- (function (NamespaceDeletionStatusErrorCodes) {
169
- NamespaceDeletionStatusErrorCodes["VALIDATION_FAILED"] = "VALIDATION_FAILED";
170
- })(NamespaceDeletionStatusErrorCodes = exports.NamespaceDeletionStatusErrorCodes || (exports.NamespaceDeletionStatusErrorCodes = {}));
171
- var NamespaceDeletionStatus;
172
- (function (NamespaceDeletionStatus) {
173
- NamespaceDeletionStatus["FAILED"] = "FAILED";
174
- NamespaceDeletionStatus["IN_PROGRESS"] = "IN_PROGRESS";
175
- NamespaceDeletionStatus["SUCCEEDED"] = "SUCCEEDED";
176
- })(NamespaceDeletionStatus = exports.NamespaceDeletionStatus || (exports.NamespaceDeletionStatus = {}));
177
- var UploadStatus;
178
- (function (UploadStatus) {
179
- UploadStatus["FAILED"] = "FAILED";
180
- UploadStatus["IN_PROGRESS"] = "IN_PROGRESS";
181
- UploadStatus["SUCCEEDED"] = "SUCCEEDED";
182
- })(UploadStatus = exports.UploadStatus || (exports.UploadStatus = {}));
183
- var SystemInstanceFilterName;
184
- (function (SystemInstanceFilterName) {
185
- SystemInstanceFilterName["GREENGRASS_GROUP_NAME"] = "GREENGRASS_GROUP_NAME";
186
- SystemInstanceFilterName["STATUS"] = "STATUS";
187
- SystemInstanceFilterName["SYSTEM_TEMPLATE_ID"] = "SYSTEM_TEMPLATE_ID";
188
- })(SystemInstanceFilterName = exports.SystemInstanceFilterName || (exports.SystemInstanceFilterName = {}));
189
- var SystemTemplateFilterName;
190
- (function (SystemTemplateFilterName) {
191
- SystemTemplateFilterName["FLOW_TEMPLATE_ID"] = "FLOW_TEMPLATE_ID";
192
- })(SystemTemplateFilterName = exports.SystemTemplateFilterName || (exports.SystemTemplateFilterName = {}));
113
+ exports.EntityType = {
114
+ ACTION: "ACTION",
115
+ CAPABILITY: "CAPABILITY",
116
+ DEVICE: "DEVICE",
117
+ DEVICE_MODEL: "DEVICE_MODEL",
118
+ ENUM: "ENUM",
119
+ EVENT: "EVENT",
120
+ MAPPING: "MAPPING",
121
+ PROPERTY: "PROPERTY",
122
+ SERVICE: "SERVICE",
123
+ STATE: "STATE",
124
+ };
125
+ exports.EntityFilterName = {
126
+ NAME: "NAME",
127
+ NAMESPACE: "NAMESPACE",
128
+ REFERENCED_ENTITY_ID: "REFERENCED_ENTITY_ID",
129
+ SEMANTIC_TYPE_PATH: "SEMANTIC_TYPE_PATH",
130
+ };
131
+ exports.FlowExecutionEventType = {
132
+ ACKNOWLEDGE_TASK_MESSAGE: "ACKNOWLEDGE_TASK_MESSAGE",
133
+ ACTIVITY_FAILED: "ACTIVITY_FAILED",
134
+ ACTIVITY_SCHEDULED: "ACTIVITY_SCHEDULED",
135
+ ACTIVITY_STARTED: "ACTIVITY_STARTED",
136
+ ACTIVITY_SUCCEEDED: "ACTIVITY_SUCCEEDED",
137
+ EXECUTION_ABORTED: "EXECUTION_ABORTED",
138
+ EXECUTION_FAILED: "EXECUTION_FAILED",
139
+ EXECUTION_STARTED: "EXECUTION_STARTED",
140
+ EXECUTION_SUCCEEDED: "EXECUTION_SUCCEEDED",
141
+ SCHEDULE_NEXT_READY_STEPS_TASK: "SCHEDULE_NEXT_READY_STEPS_TASK",
142
+ START_FLOW_EXECUTION_TASK: "START_FLOW_EXECUTION_TASK",
143
+ STEP_FAILED: "STEP_FAILED",
144
+ STEP_STARTED: "STEP_STARTED",
145
+ STEP_SUCCEEDED: "STEP_SUCCEEDED",
146
+ THING_ACTION_TASK: "THING_ACTION_TASK",
147
+ THING_ACTION_TASK_FAILED: "THING_ACTION_TASK_FAILED",
148
+ THING_ACTION_TASK_SUCCEEDED: "THING_ACTION_TASK_SUCCEEDED",
149
+ };
150
+ exports.FlowExecutionStatus = {
151
+ ABORTED: "ABORTED",
152
+ FAILED: "FAILED",
153
+ RUNNING: "RUNNING",
154
+ SUCCEEDED: "SUCCEEDED",
155
+ };
156
+ exports.FlowTemplateFilterName = {
157
+ DEVICE_MODEL_ID: "DEVICE_MODEL_ID",
158
+ };
159
+ exports.NamespaceDeletionStatusErrorCodes = {
160
+ VALIDATION_FAILED: "VALIDATION_FAILED",
161
+ };
162
+ exports.NamespaceDeletionStatus = {
163
+ FAILED: "FAILED",
164
+ IN_PROGRESS: "IN_PROGRESS",
165
+ SUCCEEDED: "SUCCEEDED",
166
+ };
167
+ exports.UploadStatus = {
168
+ FAILED: "FAILED",
169
+ IN_PROGRESS: "IN_PROGRESS",
170
+ SUCCEEDED: "SUCCEEDED",
171
+ };
172
+ exports.SystemInstanceFilterName = {
173
+ GREENGRASS_GROUP_NAME: "GREENGRASS_GROUP_NAME",
174
+ STATUS: "STATUS",
175
+ SYSTEM_TEMPLATE_ID: "SYSTEM_TEMPLATE_ID",
176
+ };
177
+ exports.SystemTemplateFilterName = {
178
+ FLOW_TEMPLATE_ID: "FLOW_TEMPLATE_ID",
179
+ };
@@ -47,10 +47,9 @@ export class ThrottlingException extends __BaseException {
47
47
  Object.setPrototypeOf(this, ThrottlingException.prototype);
48
48
  }
49
49
  }
50
- export var DefinitionLanguage;
51
- (function (DefinitionLanguage) {
52
- DefinitionLanguage["GRAPHQL"] = "GRAPHQL";
53
- })(DefinitionLanguage || (DefinitionLanguage = {}));
50
+ export const DefinitionLanguage = {
51
+ GRAPHQL: "GRAPHQL",
52
+ };
54
53
  export class LimitExceededException extends __BaseException {
55
54
  constructor(opts) {
56
55
  super({
@@ -75,22 +74,20 @@ export class ResourceAlreadyExistsException extends __BaseException {
75
74
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
76
75
  }
77
76
  }
78
- export var DeploymentTarget;
79
- (function (DeploymentTarget) {
80
- DeploymentTarget["CLOUD"] = "CLOUD";
81
- DeploymentTarget["GREENGRASS"] = "GREENGRASS";
82
- })(DeploymentTarget || (DeploymentTarget = {}));
83
- export var SystemInstanceDeploymentStatus;
84
- (function (SystemInstanceDeploymentStatus) {
85
- SystemInstanceDeploymentStatus["BOOTSTRAP"] = "BOOTSTRAP";
86
- SystemInstanceDeploymentStatus["DELETED_IN_TARGET"] = "DELETED_IN_TARGET";
87
- SystemInstanceDeploymentStatus["DEPLOYED_IN_TARGET"] = "DEPLOYED_IN_TARGET";
88
- SystemInstanceDeploymentStatus["DEPLOY_IN_PROGRESS"] = "DEPLOY_IN_PROGRESS";
89
- SystemInstanceDeploymentStatus["FAILED"] = "FAILED";
90
- SystemInstanceDeploymentStatus["NOT_DEPLOYED"] = "NOT_DEPLOYED";
91
- SystemInstanceDeploymentStatus["PENDING_DELETE"] = "PENDING_DELETE";
92
- SystemInstanceDeploymentStatus["UNDEPLOY_IN_PROGRESS"] = "UNDEPLOY_IN_PROGRESS";
93
- })(SystemInstanceDeploymentStatus || (SystemInstanceDeploymentStatus = {}));
77
+ export const DeploymentTarget = {
78
+ CLOUD: "CLOUD",
79
+ GREENGRASS: "GREENGRASS",
80
+ };
81
+ export const SystemInstanceDeploymentStatus = {
82
+ BOOTSTRAP: "BOOTSTRAP",
83
+ DELETED_IN_TARGET: "DELETED_IN_TARGET",
84
+ DEPLOYED_IN_TARGET: "DEPLOYED_IN_TARGET",
85
+ DEPLOY_IN_PROGRESS: "DEPLOY_IN_PROGRESS",
86
+ FAILED: "FAILED",
87
+ NOT_DEPLOYED: "NOT_DEPLOYED",
88
+ PENDING_DELETE: "PENDING_DELETE",
89
+ UNDEPLOY_IN_PROGRESS: "UNDEPLOY_IN_PROGRESS",
90
+ };
94
91
  export class ResourceInUseException extends __BaseException {
95
92
  constructor(opts) {
96
93
  super({
@@ -103,80 +100,70 @@ export class ResourceInUseException extends __BaseException {
103
100
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
104
101
  }
105
102
  }
106
- export var EntityType;
107
- (function (EntityType) {
108
- EntityType["ACTION"] = "ACTION";
109
- EntityType["CAPABILITY"] = "CAPABILITY";
110
- EntityType["DEVICE"] = "DEVICE";
111
- EntityType["DEVICE_MODEL"] = "DEVICE_MODEL";
112
- EntityType["ENUM"] = "ENUM";
113
- EntityType["EVENT"] = "EVENT";
114
- EntityType["MAPPING"] = "MAPPING";
115
- EntityType["PROPERTY"] = "PROPERTY";
116
- EntityType["SERVICE"] = "SERVICE";
117
- EntityType["STATE"] = "STATE";
118
- })(EntityType || (EntityType = {}));
119
- export var EntityFilterName;
120
- (function (EntityFilterName) {
121
- EntityFilterName["NAME"] = "NAME";
122
- EntityFilterName["NAMESPACE"] = "NAMESPACE";
123
- EntityFilterName["REFERENCED_ENTITY_ID"] = "REFERENCED_ENTITY_ID";
124
- EntityFilterName["SEMANTIC_TYPE_PATH"] = "SEMANTIC_TYPE_PATH";
125
- })(EntityFilterName || (EntityFilterName = {}));
126
- export var FlowExecutionEventType;
127
- (function (FlowExecutionEventType) {
128
- FlowExecutionEventType["ACKNOWLEDGE_TASK_MESSAGE"] = "ACKNOWLEDGE_TASK_MESSAGE";
129
- FlowExecutionEventType["ACTIVITY_FAILED"] = "ACTIVITY_FAILED";
130
- FlowExecutionEventType["ACTIVITY_SCHEDULED"] = "ACTIVITY_SCHEDULED";
131
- FlowExecutionEventType["ACTIVITY_STARTED"] = "ACTIVITY_STARTED";
132
- FlowExecutionEventType["ACTIVITY_SUCCEEDED"] = "ACTIVITY_SUCCEEDED";
133
- FlowExecutionEventType["EXECUTION_ABORTED"] = "EXECUTION_ABORTED";
134
- FlowExecutionEventType["EXECUTION_FAILED"] = "EXECUTION_FAILED";
135
- FlowExecutionEventType["EXECUTION_STARTED"] = "EXECUTION_STARTED";
136
- FlowExecutionEventType["EXECUTION_SUCCEEDED"] = "EXECUTION_SUCCEEDED";
137
- FlowExecutionEventType["SCHEDULE_NEXT_READY_STEPS_TASK"] = "SCHEDULE_NEXT_READY_STEPS_TASK";
138
- FlowExecutionEventType["START_FLOW_EXECUTION_TASK"] = "START_FLOW_EXECUTION_TASK";
139
- FlowExecutionEventType["STEP_FAILED"] = "STEP_FAILED";
140
- FlowExecutionEventType["STEP_STARTED"] = "STEP_STARTED";
141
- FlowExecutionEventType["STEP_SUCCEEDED"] = "STEP_SUCCEEDED";
142
- FlowExecutionEventType["THING_ACTION_TASK"] = "THING_ACTION_TASK";
143
- FlowExecutionEventType["THING_ACTION_TASK_FAILED"] = "THING_ACTION_TASK_FAILED";
144
- FlowExecutionEventType["THING_ACTION_TASK_SUCCEEDED"] = "THING_ACTION_TASK_SUCCEEDED";
145
- })(FlowExecutionEventType || (FlowExecutionEventType = {}));
146
- export var FlowExecutionStatus;
147
- (function (FlowExecutionStatus) {
148
- FlowExecutionStatus["ABORTED"] = "ABORTED";
149
- FlowExecutionStatus["FAILED"] = "FAILED";
150
- FlowExecutionStatus["RUNNING"] = "RUNNING";
151
- FlowExecutionStatus["SUCCEEDED"] = "SUCCEEDED";
152
- })(FlowExecutionStatus || (FlowExecutionStatus = {}));
153
- export var FlowTemplateFilterName;
154
- (function (FlowTemplateFilterName) {
155
- FlowTemplateFilterName["DEVICE_MODEL_ID"] = "DEVICE_MODEL_ID";
156
- })(FlowTemplateFilterName || (FlowTemplateFilterName = {}));
157
- export var NamespaceDeletionStatusErrorCodes;
158
- (function (NamespaceDeletionStatusErrorCodes) {
159
- NamespaceDeletionStatusErrorCodes["VALIDATION_FAILED"] = "VALIDATION_FAILED";
160
- })(NamespaceDeletionStatusErrorCodes || (NamespaceDeletionStatusErrorCodes = {}));
161
- export var NamespaceDeletionStatus;
162
- (function (NamespaceDeletionStatus) {
163
- NamespaceDeletionStatus["FAILED"] = "FAILED";
164
- NamespaceDeletionStatus["IN_PROGRESS"] = "IN_PROGRESS";
165
- NamespaceDeletionStatus["SUCCEEDED"] = "SUCCEEDED";
166
- })(NamespaceDeletionStatus || (NamespaceDeletionStatus = {}));
167
- export var UploadStatus;
168
- (function (UploadStatus) {
169
- UploadStatus["FAILED"] = "FAILED";
170
- UploadStatus["IN_PROGRESS"] = "IN_PROGRESS";
171
- UploadStatus["SUCCEEDED"] = "SUCCEEDED";
172
- })(UploadStatus || (UploadStatus = {}));
173
- export var SystemInstanceFilterName;
174
- (function (SystemInstanceFilterName) {
175
- SystemInstanceFilterName["GREENGRASS_GROUP_NAME"] = "GREENGRASS_GROUP_NAME";
176
- SystemInstanceFilterName["STATUS"] = "STATUS";
177
- SystemInstanceFilterName["SYSTEM_TEMPLATE_ID"] = "SYSTEM_TEMPLATE_ID";
178
- })(SystemInstanceFilterName || (SystemInstanceFilterName = {}));
179
- export var SystemTemplateFilterName;
180
- (function (SystemTemplateFilterName) {
181
- SystemTemplateFilterName["FLOW_TEMPLATE_ID"] = "FLOW_TEMPLATE_ID";
182
- })(SystemTemplateFilterName || (SystemTemplateFilterName = {}));
103
+ export const EntityType = {
104
+ ACTION: "ACTION",
105
+ CAPABILITY: "CAPABILITY",
106
+ DEVICE: "DEVICE",
107
+ DEVICE_MODEL: "DEVICE_MODEL",
108
+ ENUM: "ENUM",
109
+ EVENT: "EVENT",
110
+ MAPPING: "MAPPING",
111
+ PROPERTY: "PROPERTY",
112
+ SERVICE: "SERVICE",
113
+ STATE: "STATE",
114
+ };
115
+ export const EntityFilterName = {
116
+ NAME: "NAME",
117
+ NAMESPACE: "NAMESPACE",
118
+ REFERENCED_ENTITY_ID: "REFERENCED_ENTITY_ID",
119
+ SEMANTIC_TYPE_PATH: "SEMANTIC_TYPE_PATH",
120
+ };
121
+ export const FlowExecutionEventType = {
122
+ ACKNOWLEDGE_TASK_MESSAGE: "ACKNOWLEDGE_TASK_MESSAGE",
123
+ ACTIVITY_FAILED: "ACTIVITY_FAILED",
124
+ ACTIVITY_SCHEDULED: "ACTIVITY_SCHEDULED",
125
+ ACTIVITY_STARTED: "ACTIVITY_STARTED",
126
+ ACTIVITY_SUCCEEDED: "ACTIVITY_SUCCEEDED",
127
+ EXECUTION_ABORTED: "EXECUTION_ABORTED",
128
+ EXECUTION_FAILED: "EXECUTION_FAILED",
129
+ EXECUTION_STARTED: "EXECUTION_STARTED",
130
+ EXECUTION_SUCCEEDED: "EXECUTION_SUCCEEDED",
131
+ SCHEDULE_NEXT_READY_STEPS_TASK: "SCHEDULE_NEXT_READY_STEPS_TASK",
132
+ START_FLOW_EXECUTION_TASK: "START_FLOW_EXECUTION_TASK",
133
+ STEP_FAILED: "STEP_FAILED",
134
+ STEP_STARTED: "STEP_STARTED",
135
+ STEP_SUCCEEDED: "STEP_SUCCEEDED",
136
+ THING_ACTION_TASK: "THING_ACTION_TASK",
137
+ THING_ACTION_TASK_FAILED: "THING_ACTION_TASK_FAILED",
138
+ THING_ACTION_TASK_SUCCEEDED: "THING_ACTION_TASK_SUCCEEDED",
139
+ };
140
+ export const FlowExecutionStatus = {
141
+ ABORTED: "ABORTED",
142
+ FAILED: "FAILED",
143
+ RUNNING: "RUNNING",
144
+ SUCCEEDED: "SUCCEEDED",
145
+ };
146
+ export const FlowTemplateFilterName = {
147
+ DEVICE_MODEL_ID: "DEVICE_MODEL_ID",
148
+ };
149
+ export const NamespaceDeletionStatusErrorCodes = {
150
+ VALIDATION_FAILED: "VALIDATION_FAILED",
151
+ };
152
+ export const NamespaceDeletionStatus = {
153
+ FAILED: "FAILED",
154
+ IN_PROGRESS: "IN_PROGRESS",
155
+ SUCCEEDED: "SUCCEEDED",
156
+ };
157
+ export const UploadStatus = {
158
+ FAILED: "FAILED",
159
+ IN_PROGRESS: "IN_PROGRESS",
160
+ SUCCEEDED: "SUCCEEDED",
161
+ };
162
+ export const SystemInstanceFilterName = {
163
+ GREENGRASS_GROUP_NAME: "GREENGRASS_GROUP_NAME",
164
+ STATUS: "STATUS",
165
+ SYSTEM_TEMPLATE_ID: "SYSTEM_TEMPLATE_ID",
166
+ };
167
+ export const SystemTemplateFilterName = {
168
+ FLOW_TEMPLATE_ID: "FLOW_TEMPLATE_ID",
169
+ };
@@ -76,10 +76,15 @@ export declare class ThrottlingException extends __BaseException {
76
76
  }
77
77
  /**
78
78
  * @public
79
+ * @enum
79
80
  */
80
- export declare enum DefinitionLanguage {
81
- GRAPHQL = "GRAPHQL"
82
- }
81
+ export declare const DefinitionLanguage: {
82
+ readonly GRAPHQL: "GRAPHQL";
83
+ };
84
+ /**
85
+ * @public
86
+ */
87
+ export type DefinitionLanguage = (typeof DefinitionLanguage)[keyof typeof DefinitionLanguage];
83
88
  /**
84
89
  * @public
85
90
  * <p>A document that defines an entity. </p>
@@ -193,11 +198,16 @@ export interface Tag {
193
198
  }
194
199
  /**
195
200
  * @public
201
+ * @enum
196
202
  */
197
- export declare enum DeploymentTarget {
198
- CLOUD = "CLOUD",
199
- GREENGRASS = "GREENGRASS"
200
- }
203
+ export declare const DeploymentTarget: {
204
+ readonly CLOUD: "CLOUD";
205
+ readonly GREENGRASS: "GREENGRASS";
206
+ };
207
+ /**
208
+ * @public
209
+ */
210
+ export type DeploymentTarget = (typeof DeploymentTarget)[keyof typeof DeploymentTarget];
201
211
  /**
202
212
  * @public
203
213
  */
@@ -237,17 +247,22 @@ export interface CreateSystemInstanceRequest {
237
247
  }
238
248
  /**
239
249
  * @public
250
+ * @enum
240
251
  */
241
- export declare enum SystemInstanceDeploymentStatus {
242
- BOOTSTRAP = "BOOTSTRAP",
243
- DELETED_IN_TARGET = "DELETED_IN_TARGET",
244
- DEPLOYED_IN_TARGET = "DEPLOYED_IN_TARGET",
245
- DEPLOY_IN_PROGRESS = "DEPLOY_IN_PROGRESS",
246
- FAILED = "FAILED",
247
- NOT_DEPLOYED = "NOT_DEPLOYED",
248
- PENDING_DELETE = "PENDING_DELETE",
249
- UNDEPLOY_IN_PROGRESS = "UNDEPLOY_IN_PROGRESS"
250
- }
252
+ export declare const SystemInstanceDeploymentStatus: {
253
+ readonly BOOTSTRAP: "BOOTSTRAP";
254
+ readonly DELETED_IN_TARGET: "DELETED_IN_TARGET";
255
+ readonly DEPLOYED_IN_TARGET: "DEPLOYED_IN_TARGET";
256
+ readonly DEPLOY_IN_PROGRESS: "DEPLOY_IN_PROGRESS";
257
+ readonly FAILED: "FAILED";
258
+ readonly NOT_DEPLOYED: "NOT_DEPLOYED";
259
+ readonly PENDING_DELETE: "PENDING_DELETE";
260
+ readonly UNDEPLOY_IN_PROGRESS: "UNDEPLOY_IN_PROGRESS";
261
+ };
262
+ /**
263
+ * @public
264
+ */
265
+ export type SystemInstanceDeploymentStatus = (typeof SystemInstanceDeploymentStatus)[keyof typeof SystemInstanceDeploymentStatus];
251
266
  /**
252
267
  * @public
253
268
  * <p>An object that contains summary information about a system instance.</p>
@@ -538,19 +553,24 @@ export interface DescribeNamespaceResponse {
538
553
  }
539
554
  /**
540
555
  * @public
556
+ * @enum
541
557
  */
542
- export declare enum EntityType {
543
- ACTION = "ACTION",
544
- CAPABILITY = "CAPABILITY",
545
- DEVICE = "DEVICE",
546
- DEVICE_MODEL = "DEVICE_MODEL",
547
- ENUM = "ENUM",
548
- EVENT = "EVENT",
549
- MAPPING = "MAPPING",
550
- PROPERTY = "PROPERTY",
551
- SERVICE = "SERVICE",
552
- STATE = "STATE"
553
- }
558
+ export declare const EntityType: {
559
+ readonly ACTION: "ACTION";
560
+ readonly CAPABILITY: "CAPABILITY";
561
+ readonly DEVICE: "DEVICE";
562
+ readonly DEVICE_MODEL: "DEVICE_MODEL";
563
+ readonly ENUM: "ENUM";
564
+ readonly EVENT: "EVENT";
565
+ readonly MAPPING: "MAPPING";
566
+ readonly PROPERTY: "PROPERTY";
567
+ readonly SERVICE: "SERVICE";
568
+ readonly STATE: "STATE";
569
+ };
570
+ /**
571
+ * @public
572
+ */
573
+ export type EntityType = (typeof EntityType)[keyof typeof EntityType];
554
574
  /**
555
575
  * @public
556
576
  */
@@ -597,13 +617,18 @@ export interface EntityDescription {
597
617
  }
598
618
  /**
599
619
  * @public
620
+ * @enum
600
621
  */
601
- export declare enum EntityFilterName {
602
- NAME = "NAME",
603
- NAMESPACE = "NAMESPACE",
604
- REFERENCED_ENTITY_ID = "REFERENCED_ENTITY_ID",
605
- SEMANTIC_TYPE_PATH = "SEMANTIC_TYPE_PATH"
606
- }
622
+ export declare const EntityFilterName: {
623
+ readonly NAME: "NAME";
624
+ readonly NAMESPACE: "NAMESPACE";
625
+ readonly REFERENCED_ENTITY_ID: "REFERENCED_ENTITY_ID";
626
+ readonly SEMANTIC_TYPE_PATH: "SEMANTIC_TYPE_PATH";
627
+ };
628
+ /**
629
+ * @public
630
+ */
631
+ export type EntityFilterName = (typeof EntityFilterName)[keyof typeof EntityFilterName];
607
632
  /**
608
633
  * @public
609
634
  * <p>An object that filters an entity search. Multiple filters function as OR criteria in the search. For example a search that includes
@@ -623,26 +648,31 @@ export interface EntityFilter {
623
648
  }
624
649
  /**
625
650
  * @public
651
+ * @enum
626
652
  */
627
- export declare enum FlowExecutionEventType {
628
- ACKNOWLEDGE_TASK_MESSAGE = "ACKNOWLEDGE_TASK_MESSAGE",
629
- ACTIVITY_FAILED = "ACTIVITY_FAILED",
630
- ACTIVITY_SCHEDULED = "ACTIVITY_SCHEDULED",
631
- ACTIVITY_STARTED = "ACTIVITY_STARTED",
632
- ACTIVITY_SUCCEEDED = "ACTIVITY_SUCCEEDED",
633
- EXECUTION_ABORTED = "EXECUTION_ABORTED",
634
- EXECUTION_FAILED = "EXECUTION_FAILED",
635
- EXECUTION_STARTED = "EXECUTION_STARTED",
636
- EXECUTION_SUCCEEDED = "EXECUTION_SUCCEEDED",
637
- SCHEDULE_NEXT_READY_STEPS_TASK = "SCHEDULE_NEXT_READY_STEPS_TASK",
638
- START_FLOW_EXECUTION_TASK = "START_FLOW_EXECUTION_TASK",
639
- STEP_FAILED = "STEP_FAILED",
640
- STEP_STARTED = "STEP_STARTED",
641
- STEP_SUCCEEDED = "STEP_SUCCEEDED",
642
- THING_ACTION_TASK = "THING_ACTION_TASK",
643
- THING_ACTION_TASK_FAILED = "THING_ACTION_TASK_FAILED",
644
- THING_ACTION_TASK_SUCCEEDED = "THING_ACTION_TASK_SUCCEEDED"
645
- }
653
+ export declare const FlowExecutionEventType: {
654
+ readonly ACKNOWLEDGE_TASK_MESSAGE: "ACKNOWLEDGE_TASK_MESSAGE";
655
+ readonly ACTIVITY_FAILED: "ACTIVITY_FAILED";
656
+ readonly ACTIVITY_SCHEDULED: "ACTIVITY_SCHEDULED";
657
+ readonly ACTIVITY_STARTED: "ACTIVITY_STARTED";
658
+ readonly ACTIVITY_SUCCEEDED: "ACTIVITY_SUCCEEDED";
659
+ readonly EXECUTION_ABORTED: "EXECUTION_ABORTED";
660
+ readonly EXECUTION_FAILED: "EXECUTION_FAILED";
661
+ readonly EXECUTION_STARTED: "EXECUTION_STARTED";
662
+ readonly EXECUTION_SUCCEEDED: "EXECUTION_SUCCEEDED";
663
+ readonly SCHEDULE_NEXT_READY_STEPS_TASK: "SCHEDULE_NEXT_READY_STEPS_TASK";
664
+ readonly START_FLOW_EXECUTION_TASK: "START_FLOW_EXECUTION_TASK";
665
+ readonly STEP_FAILED: "STEP_FAILED";
666
+ readonly STEP_STARTED: "STEP_STARTED";
667
+ readonly STEP_SUCCEEDED: "STEP_SUCCEEDED";
668
+ readonly THING_ACTION_TASK: "THING_ACTION_TASK";
669
+ readonly THING_ACTION_TASK_FAILED: "THING_ACTION_TASK_FAILED";
670
+ readonly THING_ACTION_TASK_SUCCEEDED: "THING_ACTION_TASK_SUCCEEDED";
671
+ };
672
+ /**
673
+ * @public
674
+ */
675
+ export type FlowExecutionEventType = (typeof FlowExecutionEventType)[keyof typeof FlowExecutionEventType];
646
676
  /**
647
677
  * @public
648
678
  * <p>An object that contains information about a flow event.</p>
@@ -667,13 +697,18 @@ export interface FlowExecutionMessage {
667
697
  }
668
698
  /**
669
699
  * @public
700
+ * @enum
670
701
  */
671
- export declare enum FlowExecutionStatus {
672
- ABORTED = "ABORTED",
673
- FAILED = "FAILED",
674
- RUNNING = "RUNNING",
675
- SUCCEEDED = "SUCCEEDED"
676
- }
702
+ export declare const FlowExecutionStatus: {
703
+ readonly ABORTED: "ABORTED";
704
+ readonly FAILED: "FAILED";
705
+ readonly RUNNING: "RUNNING";
706
+ readonly SUCCEEDED: "SUCCEEDED";
707
+ };
708
+ /**
709
+ * @public
710
+ */
711
+ export type FlowExecutionStatus = (typeof FlowExecutionStatus)[keyof typeof FlowExecutionStatus];
677
712
  /**
678
713
  * @public
679
714
  * <p>An object that contains summary information about a flow execution.</p>
@@ -724,10 +759,15 @@ export interface FlowTemplateDescription {
724
759
  }
725
760
  /**
726
761
  * @public
762
+ * @enum
727
763
  */
728
- export declare enum FlowTemplateFilterName {
729
- DEVICE_MODEL_ID = "DEVICE_MODEL_ID"
730
- }
764
+ export declare const FlowTemplateFilterName: {
765
+ readonly DEVICE_MODEL_ID: "DEVICE_MODEL_ID";
766
+ };
767
+ /**
768
+ * @public
769
+ */
770
+ export type FlowTemplateFilterName = (typeof FlowTemplateFilterName)[keyof typeof FlowTemplateFilterName];
731
771
  /**
732
772
  * @public
733
773
  * <p>An object that filters a workflow search.</p>
@@ -835,18 +875,28 @@ export interface GetNamespaceDeletionStatusRequest {
835
875
  }
836
876
  /**
837
877
  * @public
878
+ * @enum
838
879
  */
839
- export declare enum NamespaceDeletionStatusErrorCodes {
840
- VALIDATION_FAILED = "VALIDATION_FAILED"
841
- }
880
+ export declare const NamespaceDeletionStatusErrorCodes: {
881
+ readonly VALIDATION_FAILED: "VALIDATION_FAILED";
882
+ };
842
883
  /**
843
884
  * @public
844
885
  */
845
- export declare enum NamespaceDeletionStatus {
846
- FAILED = "FAILED",
847
- IN_PROGRESS = "IN_PROGRESS",
848
- SUCCEEDED = "SUCCEEDED"
849
- }
886
+ export type NamespaceDeletionStatusErrorCodes = (typeof NamespaceDeletionStatusErrorCodes)[keyof typeof NamespaceDeletionStatusErrorCodes];
887
+ /**
888
+ * @public
889
+ * @enum
890
+ */
891
+ export declare const NamespaceDeletionStatus: {
892
+ readonly FAILED: "FAILED";
893
+ readonly IN_PROGRESS: "IN_PROGRESS";
894
+ readonly SUCCEEDED: "SUCCEEDED";
895
+ };
896
+ /**
897
+ * @public
898
+ */
899
+ export type NamespaceDeletionStatus = (typeof NamespaceDeletionStatus)[keyof typeof NamespaceDeletionStatus];
850
900
  /**
851
901
  * @public
852
902
  */
@@ -1019,12 +1069,17 @@ export interface GetUploadStatusRequest {
1019
1069
  }
1020
1070
  /**
1021
1071
  * @public
1072
+ * @enum
1022
1073
  */
1023
- export declare enum UploadStatus {
1024
- FAILED = "FAILED",
1025
- IN_PROGRESS = "IN_PROGRESS",
1026
- SUCCEEDED = "SUCCEEDED"
1027
- }
1074
+ export declare const UploadStatus: {
1075
+ readonly FAILED: "FAILED";
1076
+ readonly IN_PROGRESS: "IN_PROGRESS";
1077
+ readonly SUCCEEDED: "SUCCEEDED";
1078
+ };
1079
+ /**
1080
+ * @public
1081
+ */
1082
+ export type UploadStatus = (typeof UploadStatus)[keyof typeof UploadStatus];
1028
1083
  /**
1029
1084
  * @public
1030
1085
  */
@@ -1234,12 +1289,17 @@ export interface SearchFlowTemplatesResponse {
1234
1289
  }
1235
1290
  /**
1236
1291
  * @public
1292
+ * @enum
1237
1293
  */
1238
- export declare enum SystemInstanceFilterName {
1239
- GREENGRASS_GROUP_NAME = "GREENGRASS_GROUP_NAME",
1240
- STATUS = "STATUS",
1241
- SYSTEM_TEMPLATE_ID = "SYSTEM_TEMPLATE_ID"
1242
- }
1294
+ export declare const SystemInstanceFilterName: {
1295
+ readonly GREENGRASS_GROUP_NAME: "GREENGRASS_GROUP_NAME";
1296
+ readonly STATUS: "STATUS";
1297
+ readonly SYSTEM_TEMPLATE_ID: "SYSTEM_TEMPLATE_ID";
1298
+ };
1299
+ /**
1300
+ * @public
1301
+ */
1302
+ export type SystemInstanceFilterName = (typeof SystemInstanceFilterName)[keyof typeof SystemInstanceFilterName];
1243
1303
  /**
1244
1304
  * @public
1245
1305
  * <p>An object that filters a system instance search.
@@ -1290,10 +1350,15 @@ export interface SearchSystemInstancesResponse {
1290
1350
  }
1291
1351
  /**
1292
1352
  * @public
1353
+ * @enum
1293
1354
  */
1294
- export declare enum SystemTemplateFilterName {
1295
- FLOW_TEMPLATE_ID = "FLOW_TEMPLATE_ID"
1296
- }
1355
+ export declare const SystemTemplateFilterName: {
1356
+ readonly FLOW_TEMPLATE_ID: "FLOW_TEMPLATE_ID";
1357
+ };
1358
+ /**
1359
+ * @public
1360
+ */
1361
+ export type SystemTemplateFilterName = (typeof SystemTemplateFilterName)[keyof typeof SystemTemplateFilterName];
1297
1362
  /**
1298
1363
  * @public
1299
1364
  * <p>An object that filters a system search.</p>
@@ -34,9 +34,11 @@ export declare class ThrottlingException extends __BaseException {
34
34
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
35
35
  );
36
36
  }
37
- export declare enum DefinitionLanguage {
38
- GRAPHQL = "GRAPHQL",
39
- }
37
+ export declare const DefinitionLanguage: {
38
+ readonly GRAPHQL: "GRAPHQL";
39
+ };
40
+ export type DefinitionLanguage =
41
+ (typeof DefinitionLanguage)[keyof typeof DefinitionLanguage];
40
42
  export interface DefinitionDocument {
41
43
  language: DefinitionLanguage | string | undefined;
42
44
  text: string | undefined;
@@ -76,10 +78,12 @@ export interface Tag {
76
78
  key: string | undefined;
77
79
  value: string | undefined;
78
80
  }
79
- export declare enum DeploymentTarget {
80
- CLOUD = "CLOUD",
81
- GREENGRASS = "GREENGRASS",
82
- }
81
+ export declare const DeploymentTarget: {
82
+ readonly CLOUD: "CLOUD";
83
+ readonly GREENGRASS: "GREENGRASS";
84
+ };
85
+ export type DeploymentTarget =
86
+ (typeof DeploymentTarget)[keyof typeof DeploymentTarget];
83
87
  export interface CreateSystemInstanceRequest {
84
88
  tags?: Tag[];
85
89
  definition: DefinitionDocument | undefined;
@@ -89,16 +93,18 @@ export interface CreateSystemInstanceRequest {
89
93
  metricsConfiguration?: MetricsConfiguration;
90
94
  flowActionsRoleArn?: string;
91
95
  }
92
- export declare enum SystemInstanceDeploymentStatus {
93
- BOOTSTRAP = "BOOTSTRAP",
94
- DELETED_IN_TARGET = "DELETED_IN_TARGET",
95
- DEPLOYED_IN_TARGET = "DEPLOYED_IN_TARGET",
96
- DEPLOY_IN_PROGRESS = "DEPLOY_IN_PROGRESS",
97
- FAILED = "FAILED",
98
- NOT_DEPLOYED = "NOT_DEPLOYED",
99
- PENDING_DELETE = "PENDING_DELETE",
100
- UNDEPLOY_IN_PROGRESS = "UNDEPLOY_IN_PROGRESS",
101
- }
96
+ export declare const SystemInstanceDeploymentStatus: {
97
+ readonly BOOTSTRAP: "BOOTSTRAP";
98
+ readonly DELETED_IN_TARGET: "DELETED_IN_TARGET";
99
+ readonly DEPLOYED_IN_TARGET: "DEPLOYED_IN_TARGET";
100
+ readonly DEPLOY_IN_PROGRESS: "DEPLOY_IN_PROGRESS";
101
+ readonly FAILED: "FAILED";
102
+ readonly NOT_DEPLOYED: "NOT_DEPLOYED";
103
+ readonly PENDING_DELETE: "PENDING_DELETE";
104
+ readonly UNDEPLOY_IN_PROGRESS: "UNDEPLOY_IN_PROGRESS";
105
+ };
106
+ export type SystemInstanceDeploymentStatus =
107
+ (typeof SystemInstanceDeploymentStatus)[keyof typeof SystemInstanceDeploymentStatus];
102
108
  export interface SystemInstanceSummary {
103
109
  id?: string;
104
110
  arn?: string;
@@ -179,18 +185,19 @@ export interface DescribeNamespaceResponse {
179
185
  trackingNamespaceVersion?: number;
180
186
  namespaceVersion?: number;
181
187
  }
182
- export declare enum EntityType {
183
- ACTION = "ACTION",
184
- CAPABILITY = "CAPABILITY",
185
- DEVICE = "DEVICE",
186
- DEVICE_MODEL = "DEVICE_MODEL",
187
- ENUM = "ENUM",
188
- EVENT = "EVENT",
189
- MAPPING = "MAPPING",
190
- PROPERTY = "PROPERTY",
191
- SERVICE = "SERVICE",
192
- STATE = "STATE",
193
- }
188
+ export declare const EntityType: {
189
+ readonly ACTION: "ACTION";
190
+ readonly CAPABILITY: "CAPABILITY";
191
+ readonly DEVICE: "DEVICE";
192
+ readonly DEVICE_MODEL: "DEVICE_MODEL";
193
+ readonly ENUM: "ENUM";
194
+ readonly EVENT: "EVENT";
195
+ readonly MAPPING: "MAPPING";
196
+ readonly PROPERTY: "PROPERTY";
197
+ readonly SERVICE: "SERVICE";
198
+ readonly STATE: "STATE";
199
+ };
200
+ export type EntityType = (typeof EntityType)[keyof typeof EntityType];
194
201
  export interface DissociateEntityFromThingRequest {
195
202
  thingName: string | undefined;
196
203
  entityType: EntityType | string | undefined;
@@ -203,47 +210,53 @@ export interface EntityDescription {
203
210
  createdAt?: Date;
204
211
  definition?: DefinitionDocument;
205
212
  }
206
- export declare enum EntityFilterName {
207
- NAME = "NAME",
208
- NAMESPACE = "NAMESPACE",
209
- REFERENCED_ENTITY_ID = "REFERENCED_ENTITY_ID",
210
- SEMANTIC_TYPE_PATH = "SEMANTIC_TYPE_PATH",
211
- }
213
+ export declare const EntityFilterName: {
214
+ readonly NAME: "NAME";
215
+ readonly NAMESPACE: "NAMESPACE";
216
+ readonly REFERENCED_ENTITY_ID: "REFERENCED_ENTITY_ID";
217
+ readonly SEMANTIC_TYPE_PATH: "SEMANTIC_TYPE_PATH";
218
+ };
219
+ export type EntityFilterName =
220
+ (typeof EntityFilterName)[keyof typeof EntityFilterName];
212
221
  export interface EntityFilter {
213
222
  name?: EntityFilterName | string;
214
223
  value?: string[];
215
224
  }
216
- export declare enum FlowExecutionEventType {
217
- ACKNOWLEDGE_TASK_MESSAGE = "ACKNOWLEDGE_TASK_MESSAGE",
218
- ACTIVITY_FAILED = "ACTIVITY_FAILED",
219
- ACTIVITY_SCHEDULED = "ACTIVITY_SCHEDULED",
220
- ACTIVITY_STARTED = "ACTIVITY_STARTED",
221
- ACTIVITY_SUCCEEDED = "ACTIVITY_SUCCEEDED",
222
- EXECUTION_ABORTED = "EXECUTION_ABORTED",
223
- EXECUTION_FAILED = "EXECUTION_FAILED",
224
- EXECUTION_STARTED = "EXECUTION_STARTED",
225
- EXECUTION_SUCCEEDED = "EXECUTION_SUCCEEDED",
226
- SCHEDULE_NEXT_READY_STEPS_TASK = "SCHEDULE_NEXT_READY_STEPS_TASK",
227
- START_FLOW_EXECUTION_TASK = "START_FLOW_EXECUTION_TASK",
228
- STEP_FAILED = "STEP_FAILED",
229
- STEP_STARTED = "STEP_STARTED",
230
- STEP_SUCCEEDED = "STEP_SUCCEEDED",
231
- THING_ACTION_TASK = "THING_ACTION_TASK",
232
- THING_ACTION_TASK_FAILED = "THING_ACTION_TASK_FAILED",
233
- THING_ACTION_TASK_SUCCEEDED = "THING_ACTION_TASK_SUCCEEDED",
234
- }
225
+ export declare const FlowExecutionEventType: {
226
+ readonly ACKNOWLEDGE_TASK_MESSAGE: "ACKNOWLEDGE_TASK_MESSAGE";
227
+ readonly ACTIVITY_FAILED: "ACTIVITY_FAILED";
228
+ readonly ACTIVITY_SCHEDULED: "ACTIVITY_SCHEDULED";
229
+ readonly ACTIVITY_STARTED: "ACTIVITY_STARTED";
230
+ readonly ACTIVITY_SUCCEEDED: "ACTIVITY_SUCCEEDED";
231
+ readonly EXECUTION_ABORTED: "EXECUTION_ABORTED";
232
+ readonly EXECUTION_FAILED: "EXECUTION_FAILED";
233
+ readonly EXECUTION_STARTED: "EXECUTION_STARTED";
234
+ readonly EXECUTION_SUCCEEDED: "EXECUTION_SUCCEEDED";
235
+ readonly SCHEDULE_NEXT_READY_STEPS_TASK: "SCHEDULE_NEXT_READY_STEPS_TASK";
236
+ readonly START_FLOW_EXECUTION_TASK: "START_FLOW_EXECUTION_TASK";
237
+ readonly STEP_FAILED: "STEP_FAILED";
238
+ readonly STEP_STARTED: "STEP_STARTED";
239
+ readonly STEP_SUCCEEDED: "STEP_SUCCEEDED";
240
+ readonly THING_ACTION_TASK: "THING_ACTION_TASK";
241
+ readonly THING_ACTION_TASK_FAILED: "THING_ACTION_TASK_FAILED";
242
+ readonly THING_ACTION_TASK_SUCCEEDED: "THING_ACTION_TASK_SUCCEEDED";
243
+ };
244
+ export type FlowExecutionEventType =
245
+ (typeof FlowExecutionEventType)[keyof typeof FlowExecutionEventType];
235
246
  export interface FlowExecutionMessage {
236
247
  messageId?: string;
237
248
  eventType?: FlowExecutionEventType | string;
238
249
  timestamp?: Date;
239
250
  payload?: string;
240
251
  }
241
- export declare enum FlowExecutionStatus {
242
- ABORTED = "ABORTED",
243
- FAILED = "FAILED",
244
- RUNNING = "RUNNING",
245
- SUCCEEDED = "SUCCEEDED",
246
- }
252
+ export declare const FlowExecutionStatus: {
253
+ readonly ABORTED: "ABORTED";
254
+ readonly FAILED: "FAILED";
255
+ readonly RUNNING: "RUNNING";
256
+ readonly SUCCEEDED: "SUCCEEDED";
257
+ };
258
+ export type FlowExecutionStatus =
259
+ (typeof FlowExecutionStatus)[keyof typeof FlowExecutionStatus];
247
260
  export interface FlowExecutionSummary {
248
261
  flowExecutionId?: string;
249
262
  status?: FlowExecutionStatus | string;
@@ -257,9 +270,11 @@ export interface FlowTemplateDescription {
257
270
  definition?: DefinitionDocument;
258
271
  validatedNamespaceVersion?: number;
259
272
  }
260
- export declare enum FlowTemplateFilterName {
261
- DEVICE_MODEL_ID = "DEVICE_MODEL_ID",
262
- }
273
+ export declare const FlowTemplateFilterName: {
274
+ readonly DEVICE_MODEL_ID: "DEVICE_MODEL_ID";
275
+ };
276
+ export type FlowTemplateFilterName =
277
+ (typeof FlowTemplateFilterName)[keyof typeof FlowTemplateFilterName];
263
278
  export interface FlowTemplateFilter {
264
279
  name: FlowTemplateFilterName | string | undefined;
265
280
  value: string[] | undefined;
@@ -288,14 +303,18 @@ export interface GetFlowTemplateRevisionsResponse {
288
303
  nextToken?: string;
289
304
  }
290
305
  export interface GetNamespaceDeletionStatusRequest {}
291
- export declare enum NamespaceDeletionStatusErrorCodes {
292
- VALIDATION_FAILED = "VALIDATION_FAILED",
293
- }
294
- export declare enum NamespaceDeletionStatus {
295
- FAILED = "FAILED",
296
- IN_PROGRESS = "IN_PROGRESS",
297
- SUCCEEDED = "SUCCEEDED",
298
- }
306
+ export declare const NamespaceDeletionStatusErrorCodes: {
307
+ readonly VALIDATION_FAILED: "VALIDATION_FAILED";
308
+ };
309
+ export type NamespaceDeletionStatusErrorCodes =
310
+ (typeof NamespaceDeletionStatusErrorCodes)[keyof typeof NamespaceDeletionStatusErrorCodes];
311
+ export declare const NamespaceDeletionStatus: {
312
+ readonly FAILED: "FAILED";
313
+ readonly IN_PROGRESS: "IN_PROGRESS";
314
+ readonly SUCCEEDED: "SUCCEEDED";
315
+ };
316
+ export type NamespaceDeletionStatus =
317
+ (typeof NamespaceDeletionStatus)[keyof typeof NamespaceDeletionStatus];
299
318
  export interface GetNamespaceDeletionStatusResponse {
300
319
  namespaceArn?: string;
301
320
  namespaceName?: string;
@@ -342,11 +361,12 @@ export interface GetSystemTemplateRevisionsResponse {
342
361
  export interface GetUploadStatusRequest {
343
362
  uploadId: string | undefined;
344
363
  }
345
- export declare enum UploadStatus {
346
- FAILED = "FAILED",
347
- IN_PROGRESS = "IN_PROGRESS",
348
- SUCCEEDED = "SUCCEEDED",
349
- }
364
+ export declare const UploadStatus: {
365
+ readonly FAILED: "FAILED";
366
+ readonly IN_PROGRESS: "IN_PROGRESS";
367
+ readonly SUCCEEDED: "SUCCEEDED";
368
+ };
369
+ export type UploadStatus = (typeof UploadStatus)[keyof typeof UploadStatus];
350
370
  export interface GetUploadStatusResponse {
351
371
  uploadId: string | undefined;
352
372
  uploadStatus: UploadStatus | string | undefined;
@@ -406,11 +426,13 @@ export interface SearchFlowTemplatesResponse {
406
426
  summaries?: FlowTemplateSummary[];
407
427
  nextToken?: string;
408
428
  }
409
- export declare enum SystemInstanceFilterName {
410
- GREENGRASS_GROUP_NAME = "GREENGRASS_GROUP_NAME",
411
- STATUS = "STATUS",
412
- SYSTEM_TEMPLATE_ID = "SYSTEM_TEMPLATE_ID",
413
- }
429
+ export declare const SystemInstanceFilterName: {
430
+ readonly GREENGRASS_GROUP_NAME: "GREENGRASS_GROUP_NAME";
431
+ readonly STATUS: "STATUS";
432
+ readonly SYSTEM_TEMPLATE_ID: "SYSTEM_TEMPLATE_ID";
433
+ };
434
+ export type SystemInstanceFilterName =
435
+ (typeof SystemInstanceFilterName)[keyof typeof SystemInstanceFilterName];
414
436
  export interface SystemInstanceFilter {
415
437
  name?: SystemInstanceFilterName | string;
416
438
  value?: string[];
@@ -424,9 +446,11 @@ export interface SearchSystemInstancesResponse {
424
446
  summaries?: SystemInstanceSummary[];
425
447
  nextToken?: string;
426
448
  }
427
- export declare enum SystemTemplateFilterName {
428
- FLOW_TEMPLATE_ID = "FLOW_TEMPLATE_ID",
429
- }
449
+ export declare const SystemTemplateFilterName: {
450
+ readonly FLOW_TEMPLATE_ID: "FLOW_TEMPLATE_ID";
451
+ };
452
+ export type SystemTemplateFilterName =
453
+ (typeof SystemTemplateFilterName)[keyof typeof SystemTemplateFilterName];
430
454
  export interface SystemTemplateFilter {
431
455
  name: SystemTemplateFilterName | string | undefined;
432
456
  value: string[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iotthingsgraph",
3
3
  "description": "AWS SDK for JavaScript Iotthingsgraph Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.303.0",
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",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",