@aws-sdk/client-dataexchange 3.817.0 → 3.820.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 +4 -1
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/CreateEventActionCommand.d.ts +6 -0
- package/dist-types/commands/GetEventActionCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -696,7 +696,8 @@ var se_CreateEventActionCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
696
696
|
body = JSON.stringify(
|
|
697
697
|
(0, import_smithy_client.take)(input, {
|
|
698
698
|
Action: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Action"),
|
|
699
|
-
Event: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Event")
|
|
699
|
+
Event: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Event"),
|
|
700
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
700
701
|
})
|
|
701
702
|
);
|
|
702
703
|
b.m("POST").h(headers).b(body);
|
|
@@ -1228,6 +1229,7 @@ var de_CreateEventActionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1228
1229
|
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
|
|
1229
1230
|
Event: import_smithy_client._json,
|
|
1230
1231
|
Id: import_smithy_client.expectString,
|
|
1232
|
+
Tags: import_smithy_client._json,
|
|
1231
1233
|
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "UpdatedAt")
|
|
1232
1234
|
});
|
|
1233
1235
|
Object.assign(contents, doc);
|
|
@@ -1418,6 +1420,7 @@ var de_GetEventActionCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1418
1420
|
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
|
|
1419
1421
|
Event: import_smithy_client._json,
|
|
1420
1422
|
Id: import_smithy_client.expectString,
|
|
1423
|
+
Tags: import_smithy_client._json,
|
|
1421
1424
|
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "UpdatedAt")
|
|
1422
1425
|
});
|
|
1423
1426
|
Object.assign(contents, doc);
|
|
@@ -68,6 +68,7 @@ export const se_CreateEventActionCommand = async (input, context) => {
|
|
|
68
68
|
body = JSON.stringify(take(input, {
|
|
69
69
|
Action: (_) => _json(_),
|
|
70
70
|
Event: (_) => _json(_),
|
|
71
|
+
Tags: (_) => _json(_),
|
|
71
72
|
}));
|
|
72
73
|
b.m("POST").h(headers).b(body);
|
|
73
74
|
return b.build();
|
|
@@ -581,6 +582,7 @@ export const de_CreateEventActionCommand = async (output, context) => {
|
|
|
581
582
|
CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
582
583
|
Event: _json,
|
|
583
584
|
Id: __expectString,
|
|
585
|
+
Tags: _json,
|
|
584
586
|
UpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
585
587
|
});
|
|
586
588
|
Object.assign(contents, doc);
|
|
@@ -771,6 +773,7 @@ export const de_GetEventActionCommand = async (output, context) => {
|
|
|
771
773
|
CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
772
774
|
Event: _json,
|
|
773
775
|
Id: __expectString,
|
|
776
|
+
Tags: _json,
|
|
774
777
|
UpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
775
778
|
});
|
|
776
779
|
Object.assign(contents, doc);
|
|
@@ -52,6 +52,9 @@ declare const CreateEventActionCommand_base: {
|
|
|
52
52
|
* DataSetId: "STRING_VALUE", // required
|
|
53
53
|
* },
|
|
54
54
|
* },
|
|
55
|
+
* Tags: { // MapOf__string
|
|
56
|
+
* "<keys>": "STRING_VALUE",
|
|
57
|
+
* },
|
|
55
58
|
* };
|
|
56
59
|
* const command = new CreateEventActionCommand(input);
|
|
57
60
|
* const response = await client.send(command);
|
|
@@ -76,6 +79,9 @@ declare const CreateEventActionCommand_base: {
|
|
|
76
79
|
* // },
|
|
77
80
|
* // },
|
|
78
81
|
* // Id: "STRING_VALUE",
|
|
82
|
+
* // Tags: { // MapOf__string
|
|
83
|
+
* // "<keys>": "STRING_VALUE",
|
|
84
|
+
* // },
|
|
79
85
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
80
86
|
* // };
|
|
81
87
|
*
|
|
@@ -1163,6 +1163,11 @@ export interface CreateEventActionRequest {
|
|
|
1163
1163
|
* @public
|
|
1164
1164
|
*/
|
|
1165
1165
|
Event: Event | undefined;
|
|
1166
|
+
/**
|
|
1167
|
+
* <p>Key-value pairs that you can associate with the event action.</p>
|
|
1168
|
+
* @public
|
|
1169
|
+
*/
|
|
1170
|
+
Tags?: Record<string, string> | undefined;
|
|
1166
1171
|
}
|
|
1167
1172
|
/**
|
|
1168
1173
|
* @public
|
|
@@ -1193,6 +1198,11 @@ export interface CreateEventActionResponse {
|
|
|
1193
1198
|
* @public
|
|
1194
1199
|
*/
|
|
1195
1200
|
Id?: string | undefined;
|
|
1201
|
+
/**
|
|
1202
|
+
* <p>The tags for the event action.</p>
|
|
1203
|
+
* @public
|
|
1204
|
+
*/
|
|
1205
|
+
Tags?: Record<string, string> | undefined;
|
|
1196
1206
|
/**
|
|
1197
1207
|
* <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
|
|
1198
1208
|
* @public
|
|
@@ -2587,6 +2597,11 @@ export interface GetEventActionResponse {
|
|
|
2587
2597
|
* @public
|
|
2588
2598
|
*/
|
|
2589
2599
|
Id?: string | undefined;
|
|
2600
|
+
/**
|
|
2601
|
+
* <p>The tags for the event action.</p>
|
|
2602
|
+
* @public
|
|
2603
|
+
*/
|
|
2604
|
+
Tags?: Record<string, string> | undefined;
|
|
2590
2605
|
/**
|
|
2591
2606
|
* <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
|
|
2592
2607
|
* @public
|
|
@@ -358,6 +358,7 @@ export interface Event {
|
|
|
358
358
|
export interface CreateEventActionRequest {
|
|
359
359
|
Action: Action | undefined;
|
|
360
360
|
Event: Event | undefined;
|
|
361
|
+
Tags?: Record<string, string> | undefined;
|
|
361
362
|
}
|
|
362
363
|
export interface CreateEventActionResponse {
|
|
363
364
|
Action?: Action | undefined;
|
|
@@ -365,6 +366,7 @@ export interface CreateEventActionResponse {
|
|
|
365
366
|
CreatedAt?: Date | undefined;
|
|
366
367
|
Event?: Event | undefined;
|
|
367
368
|
Id?: string | undefined;
|
|
369
|
+
Tags?: Record<string, string> | undefined;
|
|
368
370
|
UpdatedAt?: Date | undefined;
|
|
369
371
|
}
|
|
370
372
|
export interface S3DataAccessAssetSourceEntry {
|
|
@@ -727,6 +729,7 @@ export interface GetEventActionResponse {
|
|
|
727
729
|
CreatedAt?: Date | undefined;
|
|
728
730
|
Event?: Event | undefined;
|
|
729
731
|
Id?: string | undefined;
|
|
732
|
+
Tags?: Record<string, string> | undefined;
|
|
730
733
|
UpdatedAt?: Date | undefined;
|
|
731
734
|
}
|
|
732
735
|
export interface GetJobRequest {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dataexchange",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dataexchange Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.820.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-dataexchange",
|