@aws-sdk/client-resource-explorer-2 3.315.0 → 3.319.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/ResourceExplorer2.js +23 -266
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/ResourceExplorer2.js +23 -266
- package/dist-es/protocols/Aws_restJson1.js +2 -2
- package/dist-types/ResourceExplorer2.d.ts +46 -226
- package/dist-types/ts3.4/ResourceExplorer2.d.ts +4 -1
- package/package.json +8 -8
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ResourceExplorer2 = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AssociateDefaultViewCommand_1 = require("./commands/AssociateDefaultViewCommand");
|
|
5
6
|
const BatchGetViewCommand_1 = require("./commands/BatchGetViewCommand");
|
|
6
7
|
const CreateIndexCommand_1 = require("./commands/CreateIndexCommand");
|
|
@@ -21,272 +22,28 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
|
21
22
|
const UpdateIndexTypeCommand_1 = require("./commands/UpdateIndexTypeCommand");
|
|
22
23
|
const UpdateViewCommand_1 = require("./commands/UpdateViewCommand");
|
|
23
24
|
const ResourceExplorer2Client_1 = require("./ResourceExplorer2Client");
|
|
25
|
+
const commands = {
|
|
26
|
+
AssociateDefaultViewCommand: AssociateDefaultViewCommand_1.AssociateDefaultViewCommand,
|
|
27
|
+
BatchGetViewCommand: BatchGetViewCommand_1.BatchGetViewCommand,
|
|
28
|
+
CreateIndexCommand: CreateIndexCommand_1.CreateIndexCommand,
|
|
29
|
+
CreateViewCommand: CreateViewCommand_1.CreateViewCommand,
|
|
30
|
+
DeleteIndexCommand: DeleteIndexCommand_1.DeleteIndexCommand,
|
|
31
|
+
DeleteViewCommand: DeleteViewCommand_1.DeleteViewCommand,
|
|
32
|
+
DisassociateDefaultViewCommand: DisassociateDefaultViewCommand_1.DisassociateDefaultViewCommand,
|
|
33
|
+
GetDefaultViewCommand: GetDefaultViewCommand_1.GetDefaultViewCommand,
|
|
34
|
+
GetIndexCommand: GetIndexCommand_1.GetIndexCommand,
|
|
35
|
+
GetViewCommand: GetViewCommand_1.GetViewCommand,
|
|
36
|
+
ListIndexesCommand: ListIndexesCommand_1.ListIndexesCommand,
|
|
37
|
+
ListSupportedResourceTypesCommand: ListSupportedResourceTypesCommand_1.ListSupportedResourceTypesCommand,
|
|
38
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
39
|
+
ListViewsCommand: ListViewsCommand_1.ListViewsCommand,
|
|
40
|
+
SearchCommand: SearchCommand_1.SearchCommand,
|
|
41
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
42
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
43
|
+
UpdateIndexTypeCommand: UpdateIndexTypeCommand_1.UpdateIndexTypeCommand,
|
|
44
|
+
UpdateViewCommand: UpdateViewCommand_1.UpdateViewCommand,
|
|
45
|
+
};
|
|
24
46
|
class ResourceExplorer2 extends ResourceExplorer2Client_1.ResourceExplorer2Client {
|
|
25
|
-
associateDefaultView(args, optionsOrCb, cb) {
|
|
26
|
-
const command = new AssociateDefaultViewCommand_1.AssociateDefaultViewCommand(args);
|
|
27
|
-
if (typeof optionsOrCb === "function") {
|
|
28
|
-
this.send(command, optionsOrCb);
|
|
29
|
-
}
|
|
30
|
-
else if (typeof cb === "function") {
|
|
31
|
-
if (typeof optionsOrCb !== "object")
|
|
32
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
33
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
return this.send(command, optionsOrCb);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
batchGetView(args, optionsOrCb, cb) {
|
|
40
|
-
const command = new BatchGetViewCommand_1.BatchGetViewCommand(args);
|
|
41
|
-
if (typeof optionsOrCb === "function") {
|
|
42
|
-
this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
else if (typeof cb === "function") {
|
|
45
|
-
if (typeof optionsOrCb !== "object")
|
|
46
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
47
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
return this.send(command, optionsOrCb);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
createIndex(args, optionsOrCb, cb) {
|
|
54
|
-
const command = new CreateIndexCommand_1.CreateIndexCommand(args);
|
|
55
|
-
if (typeof optionsOrCb === "function") {
|
|
56
|
-
this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
else if (typeof cb === "function") {
|
|
59
|
-
if (typeof optionsOrCb !== "object")
|
|
60
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
61
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
return this.send(command, optionsOrCb);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
createView(args, optionsOrCb, cb) {
|
|
68
|
-
const command = new CreateViewCommand_1.CreateViewCommand(args);
|
|
69
|
-
if (typeof optionsOrCb === "function") {
|
|
70
|
-
this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
else if (typeof cb === "function") {
|
|
73
|
-
if (typeof optionsOrCb !== "object")
|
|
74
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
75
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
return this.send(command, optionsOrCb);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
deleteIndex(args, optionsOrCb, cb) {
|
|
82
|
-
const command = new DeleteIndexCommand_1.DeleteIndexCommand(args);
|
|
83
|
-
if (typeof optionsOrCb === "function") {
|
|
84
|
-
this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
else if (typeof cb === "function") {
|
|
87
|
-
if (typeof optionsOrCb !== "object")
|
|
88
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
89
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
return this.send(command, optionsOrCb);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
deleteView(args, optionsOrCb, cb) {
|
|
96
|
-
const command = new DeleteViewCommand_1.DeleteViewCommand(args);
|
|
97
|
-
if (typeof optionsOrCb === "function") {
|
|
98
|
-
this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
else if (typeof cb === "function") {
|
|
101
|
-
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
103
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
return this.send(command, optionsOrCb);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
disassociateDefaultView(args, optionsOrCb, cb) {
|
|
110
|
-
const command = new DisassociateDefaultViewCommand_1.DisassociateDefaultViewCommand(args);
|
|
111
|
-
if (typeof optionsOrCb === "function") {
|
|
112
|
-
this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
else if (typeof cb === "function") {
|
|
115
|
-
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
117
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
return this.send(command, optionsOrCb);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
getDefaultView(args, optionsOrCb, cb) {
|
|
124
|
-
const command = new GetDefaultViewCommand_1.GetDefaultViewCommand(args);
|
|
125
|
-
if (typeof optionsOrCb === "function") {
|
|
126
|
-
this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
else if (typeof cb === "function") {
|
|
129
|
-
if (typeof optionsOrCb !== "object")
|
|
130
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
131
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
132
|
-
}
|
|
133
|
-
else {
|
|
134
|
-
return this.send(command, optionsOrCb);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
getIndex(args, optionsOrCb, cb) {
|
|
138
|
-
const command = new GetIndexCommand_1.GetIndexCommand(args);
|
|
139
|
-
if (typeof optionsOrCb === "function") {
|
|
140
|
-
this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
else if (typeof cb === "function") {
|
|
143
|
-
if (typeof optionsOrCb !== "object")
|
|
144
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
145
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
return this.send(command, optionsOrCb);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
getView(args, optionsOrCb, cb) {
|
|
152
|
-
const command = new GetViewCommand_1.GetViewCommand(args);
|
|
153
|
-
if (typeof optionsOrCb === "function") {
|
|
154
|
-
this.send(command, optionsOrCb);
|
|
155
|
-
}
|
|
156
|
-
else if (typeof cb === "function") {
|
|
157
|
-
if (typeof optionsOrCb !== "object")
|
|
158
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
159
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
return this.send(command, optionsOrCb);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
listIndexes(args, optionsOrCb, cb) {
|
|
166
|
-
const command = new ListIndexesCommand_1.ListIndexesCommand(args);
|
|
167
|
-
if (typeof optionsOrCb === "function") {
|
|
168
|
-
this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
else if (typeof cb === "function") {
|
|
171
|
-
if (typeof optionsOrCb !== "object")
|
|
172
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
173
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
return this.send(command, optionsOrCb);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
listSupportedResourceTypes(args, optionsOrCb, cb) {
|
|
180
|
-
const command = new ListSupportedResourceTypesCommand_1.ListSupportedResourceTypesCommand(args);
|
|
181
|
-
if (typeof optionsOrCb === "function") {
|
|
182
|
-
this.send(command, optionsOrCb);
|
|
183
|
-
}
|
|
184
|
-
else if (typeof cb === "function") {
|
|
185
|
-
if (typeof optionsOrCb !== "object")
|
|
186
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
187
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
188
|
-
}
|
|
189
|
-
else {
|
|
190
|
-
return this.send(command, optionsOrCb);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
194
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
195
|
-
if (typeof optionsOrCb === "function") {
|
|
196
|
-
this.send(command, optionsOrCb);
|
|
197
|
-
}
|
|
198
|
-
else if (typeof cb === "function") {
|
|
199
|
-
if (typeof optionsOrCb !== "object")
|
|
200
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
201
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
202
|
-
}
|
|
203
|
-
else {
|
|
204
|
-
return this.send(command, optionsOrCb);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
listViews(args, optionsOrCb, cb) {
|
|
208
|
-
const command = new ListViewsCommand_1.ListViewsCommand(args);
|
|
209
|
-
if (typeof optionsOrCb === "function") {
|
|
210
|
-
this.send(command, optionsOrCb);
|
|
211
|
-
}
|
|
212
|
-
else if (typeof cb === "function") {
|
|
213
|
-
if (typeof optionsOrCb !== "object")
|
|
214
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
215
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
216
|
-
}
|
|
217
|
-
else {
|
|
218
|
-
return this.send(command, optionsOrCb);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
search(args, optionsOrCb, cb) {
|
|
222
|
-
const command = new SearchCommand_1.SearchCommand(args);
|
|
223
|
-
if (typeof optionsOrCb === "function") {
|
|
224
|
-
this.send(command, optionsOrCb);
|
|
225
|
-
}
|
|
226
|
-
else if (typeof cb === "function") {
|
|
227
|
-
if (typeof optionsOrCb !== "object")
|
|
228
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
229
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
230
|
-
}
|
|
231
|
-
else {
|
|
232
|
-
return this.send(command, optionsOrCb);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
tagResource(args, optionsOrCb, cb) {
|
|
236
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
237
|
-
if (typeof optionsOrCb === "function") {
|
|
238
|
-
this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
else if (typeof cb === "function") {
|
|
241
|
-
if (typeof optionsOrCb !== "object")
|
|
242
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
243
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
return this.send(command, optionsOrCb);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
untagResource(args, optionsOrCb, cb) {
|
|
250
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
251
|
-
if (typeof optionsOrCb === "function") {
|
|
252
|
-
this.send(command, optionsOrCb);
|
|
253
|
-
}
|
|
254
|
-
else if (typeof cb === "function") {
|
|
255
|
-
if (typeof optionsOrCb !== "object")
|
|
256
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
257
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
258
|
-
}
|
|
259
|
-
else {
|
|
260
|
-
return this.send(command, optionsOrCb);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
updateIndexType(args, optionsOrCb, cb) {
|
|
264
|
-
const command = new UpdateIndexTypeCommand_1.UpdateIndexTypeCommand(args);
|
|
265
|
-
if (typeof optionsOrCb === "function") {
|
|
266
|
-
this.send(command, optionsOrCb);
|
|
267
|
-
}
|
|
268
|
-
else if (typeof cb === "function") {
|
|
269
|
-
if (typeof optionsOrCb !== "object")
|
|
270
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
271
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
272
|
-
}
|
|
273
|
-
else {
|
|
274
|
-
return this.send(command, optionsOrCb);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
updateView(args, optionsOrCb, cb) {
|
|
278
|
-
const command = new UpdateViewCommand_1.UpdateViewCommand(args);
|
|
279
|
-
if (typeof optionsOrCb === "function") {
|
|
280
|
-
this.send(command, optionsOrCb);
|
|
281
|
-
}
|
|
282
|
-
else if (typeof cb === "function") {
|
|
283
|
-
if (typeof optionsOrCb !== "object")
|
|
284
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
285
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
286
|
-
}
|
|
287
|
-
else {
|
|
288
|
-
return this.send(command, optionsOrCb);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
47
|
}
|
|
292
48
|
exports.ResourceExplorer2 = ResourceExplorer2;
|
|
49
|
+
(0, smithy_client_1.createAggregatedClient)(commands, ResourceExplorer2);
|
|
@@ -56,7 +56,7 @@ const se_CreateIndexCommand = async (input, context) => {
|
|
|
56
56
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateIndex";
|
|
57
57
|
let body;
|
|
58
58
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
59
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
59
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
60
60
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
61
61
|
}));
|
|
62
62
|
return new protocol_http_1.HttpRequest({
|
|
@@ -78,7 +78,7 @@ const se_CreateViewCommand = async (input, context) => {
|
|
|
78
78
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateView";
|
|
79
79
|
let body;
|
|
80
80
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
81
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
81
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
82
82
|
Filters: (_) => (0, smithy_client_1._json)(_),
|
|
83
83
|
IncludedProperties: (_) => (0, smithy_client_1._json)(_),
|
|
84
84
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { AssociateDefaultViewCommand, } from "./commands/AssociateDefaultViewCommand";
|
|
2
3
|
import { BatchGetViewCommand, } from "./commands/BatchGetViewCommand";
|
|
3
4
|
import { CreateIndexCommand } from "./commands/CreateIndexCommand";
|
|
@@ -18,271 +19,27 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
18
19
|
import { UpdateIndexTypeCommand, } from "./commands/UpdateIndexTypeCommand";
|
|
19
20
|
import { UpdateViewCommand } from "./commands/UpdateViewCommand";
|
|
20
21
|
import { ResourceExplorer2Client } from "./ResourceExplorer2Client";
|
|
22
|
+
const commands = {
|
|
23
|
+
AssociateDefaultViewCommand,
|
|
24
|
+
BatchGetViewCommand,
|
|
25
|
+
CreateIndexCommand,
|
|
26
|
+
CreateViewCommand,
|
|
27
|
+
DeleteIndexCommand,
|
|
28
|
+
DeleteViewCommand,
|
|
29
|
+
DisassociateDefaultViewCommand,
|
|
30
|
+
GetDefaultViewCommand,
|
|
31
|
+
GetIndexCommand,
|
|
32
|
+
GetViewCommand,
|
|
33
|
+
ListIndexesCommand,
|
|
34
|
+
ListSupportedResourceTypesCommand,
|
|
35
|
+
ListTagsForResourceCommand,
|
|
36
|
+
ListViewsCommand,
|
|
37
|
+
SearchCommand,
|
|
38
|
+
TagResourceCommand,
|
|
39
|
+
UntagResourceCommand,
|
|
40
|
+
UpdateIndexTypeCommand,
|
|
41
|
+
UpdateViewCommand,
|
|
42
|
+
};
|
|
21
43
|
export class ResourceExplorer2 extends ResourceExplorer2Client {
|
|
22
|
-
associateDefaultView(args, optionsOrCb, cb) {
|
|
23
|
-
const command = new AssociateDefaultViewCommand(args);
|
|
24
|
-
if (typeof optionsOrCb === "function") {
|
|
25
|
-
this.send(command, optionsOrCb);
|
|
26
|
-
}
|
|
27
|
-
else if (typeof cb === "function") {
|
|
28
|
-
if (typeof optionsOrCb !== "object")
|
|
29
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
30
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
return this.send(command, optionsOrCb);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
batchGetView(args, optionsOrCb, cb) {
|
|
37
|
-
const command = new BatchGetViewCommand(args);
|
|
38
|
-
if (typeof optionsOrCb === "function") {
|
|
39
|
-
this.send(command, optionsOrCb);
|
|
40
|
-
}
|
|
41
|
-
else if (typeof cb === "function") {
|
|
42
|
-
if (typeof optionsOrCb !== "object")
|
|
43
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
44
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
return this.send(command, optionsOrCb);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
createIndex(args, optionsOrCb, cb) {
|
|
51
|
-
const command = new CreateIndexCommand(args);
|
|
52
|
-
if (typeof optionsOrCb === "function") {
|
|
53
|
-
this.send(command, optionsOrCb);
|
|
54
|
-
}
|
|
55
|
-
else if (typeof cb === "function") {
|
|
56
|
-
if (typeof optionsOrCb !== "object")
|
|
57
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
58
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
return this.send(command, optionsOrCb);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
createView(args, optionsOrCb, cb) {
|
|
65
|
-
const command = new CreateViewCommand(args);
|
|
66
|
-
if (typeof optionsOrCb === "function") {
|
|
67
|
-
this.send(command, optionsOrCb);
|
|
68
|
-
}
|
|
69
|
-
else if (typeof cb === "function") {
|
|
70
|
-
if (typeof optionsOrCb !== "object")
|
|
71
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
72
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
return this.send(command, optionsOrCb);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
deleteIndex(args, optionsOrCb, cb) {
|
|
79
|
-
const command = new DeleteIndexCommand(args);
|
|
80
|
-
if (typeof optionsOrCb === "function") {
|
|
81
|
-
this.send(command, optionsOrCb);
|
|
82
|
-
}
|
|
83
|
-
else if (typeof cb === "function") {
|
|
84
|
-
if (typeof optionsOrCb !== "object")
|
|
85
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
86
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
return this.send(command, optionsOrCb);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
deleteView(args, optionsOrCb, cb) {
|
|
93
|
-
const command = new DeleteViewCommand(args);
|
|
94
|
-
if (typeof optionsOrCb === "function") {
|
|
95
|
-
this.send(command, optionsOrCb);
|
|
96
|
-
}
|
|
97
|
-
else if (typeof cb === "function") {
|
|
98
|
-
if (typeof optionsOrCb !== "object")
|
|
99
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
100
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
return this.send(command, optionsOrCb);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
disassociateDefaultView(args, optionsOrCb, cb) {
|
|
107
|
-
const command = new DisassociateDefaultViewCommand(args);
|
|
108
|
-
if (typeof optionsOrCb === "function") {
|
|
109
|
-
this.send(command, optionsOrCb);
|
|
110
|
-
}
|
|
111
|
-
else if (typeof cb === "function") {
|
|
112
|
-
if (typeof optionsOrCb !== "object")
|
|
113
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
114
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
115
|
-
}
|
|
116
|
-
else {
|
|
117
|
-
return this.send(command, optionsOrCb);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
getDefaultView(args, optionsOrCb, cb) {
|
|
121
|
-
const command = new GetDefaultViewCommand(args);
|
|
122
|
-
if (typeof optionsOrCb === "function") {
|
|
123
|
-
this.send(command, optionsOrCb);
|
|
124
|
-
}
|
|
125
|
-
else if (typeof cb === "function") {
|
|
126
|
-
if (typeof optionsOrCb !== "object")
|
|
127
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
128
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
129
|
-
}
|
|
130
|
-
else {
|
|
131
|
-
return this.send(command, optionsOrCb);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
getIndex(args, optionsOrCb, cb) {
|
|
135
|
-
const command = new GetIndexCommand(args);
|
|
136
|
-
if (typeof optionsOrCb === "function") {
|
|
137
|
-
this.send(command, optionsOrCb);
|
|
138
|
-
}
|
|
139
|
-
else if (typeof cb === "function") {
|
|
140
|
-
if (typeof optionsOrCb !== "object")
|
|
141
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
142
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
143
|
-
}
|
|
144
|
-
else {
|
|
145
|
-
return this.send(command, optionsOrCb);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
getView(args, optionsOrCb, cb) {
|
|
149
|
-
const command = new GetViewCommand(args);
|
|
150
|
-
if (typeof optionsOrCb === "function") {
|
|
151
|
-
this.send(command, optionsOrCb);
|
|
152
|
-
}
|
|
153
|
-
else if (typeof cb === "function") {
|
|
154
|
-
if (typeof optionsOrCb !== "object")
|
|
155
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
156
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
157
|
-
}
|
|
158
|
-
else {
|
|
159
|
-
return this.send(command, optionsOrCb);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
listIndexes(args, optionsOrCb, cb) {
|
|
163
|
-
const command = new ListIndexesCommand(args);
|
|
164
|
-
if (typeof optionsOrCb === "function") {
|
|
165
|
-
this.send(command, optionsOrCb);
|
|
166
|
-
}
|
|
167
|
-
else if (typeof cb === "function") {
|
|
168
|
-
if (typeof optionsOrCb !== "object")
|
|
169
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
170
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
return this.send(command, optionsOrCb);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
listSupportedResourceTypes(args, optionsOrCb, cb) {
|
|
177
|
-
const command = new ListSupportedResourceTypesCommand(args);
|
|
178
|
-
if (typeof optionsOrCb === "function") {
|
|
179
|
-
this.send(command, optionsOrCb);
|
|
180
|
-
}
|
|
181
|
-
else if (typeof cb === "function") {
|
|
182
|
-
if (typeof optionsOrCb !== "object")
|
|
183
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
184
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
185
|
-
}
|
|
186
|
-
else {
|
|
187
|
-
return this.send(command, optionsOrCb);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
191
|
-
const command = new ListTagsForResourceCommand(args);
|
|
192
|
-
if (typeof optionsOrCb === "function") {
|
|
193
|
-
this.send(command, optionsOrCb);
|
|
194
|
-
}
|
|
195
|
-
else if (typeof cb === "function") {
|
|
196
|
-
if (typeof optionsOrCb !== "object")
|
|
197
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
198
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
199
|
-
}
|
|
200
|
-
else {
|
|
201
|
-
return this.send(command, optionsOrCb);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
listViews(args, optionsOrCb, cb) {
|
|
205
|
-
const command = new ListViewsCommand(args);
|
|
206
|
-
if (typeof optionsOrCb === "function") {
|
|
207
|
-
this.send(command, optionsOrCb);
|
|
208
|
-
}
|
|
209
|
-
else if (typeof cb === "function") {
|
|
210
|
-
if (typeof optionsOrCb !== "object")
|
|
211
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
212
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
213
|
-
}
|
|
214
|
-
else {
|
|
215
|
-
return this.send(command, optionsOrCb);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
search(args, optionsOrCb, cb) {
|
|
219
|
-
const command = new SearchCommand(args);
|
|
220
|
-
if (typeof optionsOrCb === "function") {
|
|
221
|
-
this.send(command, optionsOrCb);
|
|
222
|
-
}
|
|
223
|
-
else if (typeof cb === "function") {
|
|
224
|
-
if (typeof optionsOrCb !== "object")
|
|
225
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
226
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
227
|
-
}
|
|
228
|
-
else {
|
|
229
|
-
return this.send(command, optionsOrCb);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
tagResource(args, optionsOrCb, cb) {
|
|
233
|
-
const command = new TagResourceCommand(args);
|
|
234
|
-
if (typeof optionsOrCb === "function") {
|
|
235
|
-
this.send(command, optionsOrCb);
|
|
236
|
-
}
|
|
237
|
-
else if (typeof cb === "function") {
|
|
238
|
-
if (typeof optionsOrCb !== "object")
|
|
239
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
240
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
241
|
-
}
|
|
242
|
-
else {
|
|
243
|
-
return this.send(command, optionsOrCb);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
untagResource(args, optionsOrCb, cb) {
|
|
247
|
-
const command = new UntagResourceCommand(args);
|
|
248
|
-
if (typeof optionsOrCb === "function") {
|
|
249
|
-
this.send(command, optionsOrCb);
|
|
250
|
-
}
|
|
251
|
-
else if (typeof cb === "function") {
|
|
252
|
-
if (typeof optionsOrCb !== "object")
|
|
253
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
254
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
255
|
-
}
|
|
256
|
-
else {
|
|
257
|
-
return this.send(command, optionsOrCb);
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
updateIndexType(args, optionsOrCb, cb) {
|
|
261
|
-
const command = new UpdateIndexTypeCommand(args);
|
|
262
|
-
if (typeof optionsOrCb === "function") {
|
|
263
|
-
this.send(command, optionsOrCb);
|
|
264
|
-
}
|
|
265
|
-
else if (typeof cb === "function") {
|
|
266
|
-
if (typeof optionsOrCb !== "object")
|
|
267
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
268
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
269
|
-
}
|
|
270
|
-
else {
|
|
271
|
-
return this.send(command, optionsOrCb);
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
updateView(args, optionsOrCb, cb) {
|
|
275
|
-
const command = new UpdateViewCommand(args);
|
|
276
|
-
if (typeof optionsOrCb === "function") {
|
|
277
|
-
this.send(command, optionsOrCb);
|
|
278
|
-
}
|
|
279
|
-
else if (typeof cb === "function") {
|
|
280
|
-
if (typeof optionsOrCb !== "object")
|
|
281
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
282
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
283
|
-
}
|
|
284
|
-
else {
|
|
285
|
-
return this.send(command, optionsOrCb);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
44
|
}
|
|
45
|
+
createAggregatedClient(commands, ResourceExplorer2);
|
|
@@ -51,7 +51,7 @@ export const se_CreateIndexCommand = async (input, context) => {
|
|
|
51
51
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateIndex";
|
|
52
52
|
let body;
|
|
53
53
|
body = JSON.stringify(take(input, {
|
|
54
|
-
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
54
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
55
55
|
Tags: (_) => _json(_),
|
|
56
56
|
}));
|
|
57
57
|
return new __HttpRequest({
|
|
@@ -72,7 +72,7 @@ export const se_CreateViewCommand = async (input, context) => {
|
|
|
72
72
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateView";
|
|
73
73
|
let body;
|
|
74
74
|
body = JSON.stringify(take(input, {
|
|
75
|
-
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
75
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
76
76
|
Filters: (_) => _json(_),
|
|
77
77
|
IncludedProperties: (_) => _json(_),
|
|
78
78
|
Tags: (_) => _json(_),
|
|
@@ -19,325 +19,145 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
19
19
|
import { UpdateIndexTypeCommandInput, UpdateIndexTypeCommandOutput } from "./commands/UpdateIndexTypeCommand";
|
|
20
20
|
import { UpdateViewCommandInput, UpdateViewCommandOutput } from "./commands/UpdateViewCommand";
|
|
21
21
|
import { ResourceExplorer2Client } from "./ResourceExplorer2Client";
|
|
22
|
-
|
|
23
|
-
* @public
|
|
24
|
-
* <p>Amazon Web Services Resource Explorer is a resource search and discovery service. By using Resource Explorer, you can
|
|
25
|
-
* explore your resources using an internet search engine-like experience. Examples of
|
|
26
|
-
* resources include Amazon Relational Database Service (Amazon RDS) instances, Amazon Simple Storage Service (Amazon S3) buckets, or Amazon DynamoDB
|
|
27
|
-
* tables. You can search for your resources using resource metadata like names, tags, and
|
|
28
|
-
* IDs. Resource Explorer can search across all of the Amazon Web Services Regions in your account in which you turn
|
|
29
|
-
* the service on, to simplify your cross-Region workloads.</p>
|
|
30
|
-
* <p>Resource Explorer scans the resources in each of the Amazon Web Services Regions in your Amazon Web Services account in which
|
|
31
|
-
* you turn on Resource Explorer. Resource Explorer <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/getting-started-terms-and-concepts.html#term-index">creates
|
|
32
|
-
* and maintains an index</a> in each Region, with the details of that Region's
|
|
33
|
-
* resources.</p>
|
|
34
|
-
* <p>You can <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">search across all of the
|
|
35
|
-
* indexed Regions in your account</a> by designating one of your Amazon Web Services Regions to
|
|
36
|
-
* contain the aggregator index for the account. When you <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region-turn-on.html">promote a local index
|
|
37
|
-
* in a Region to become the aggregator index for the account</a>, Resource Explorer automatically
|
|
38
|
-
* replicates the index information from all local indexes in the other Regions to the
|
|
39
|
-
* aggregator index. Therefore, the Region with the aggregator index has a copy of all resource
|
|
40
|
-
* information for all Regions in the account where you turned on Resource Explorer. As a result,
|
|
41
|
-
* views in the aggregator index Region include resources from all of the indexed Regions in your
|
|
42
|
-
* account.</p>
|
|
43
|
-
* <p>For more information about Amazon Web Services Resource Explorer, including how to enable and configure the
|
|
44
|
-
* service, see the <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/">Amazon Web Services Resource Explorer User Guide</a>.</p>
|
|
45
|
-
*/
|
|
46
|
-
export declare class ResourceExplorer2 extends ResourceExplorer2Client {
|
|
22
|
+
export interface ResourceExplorer2 {
|
|
47
23
|
/**
|
|
48
|
-
* @
|
|
49
|
-
* <p>Sets the specified view as the default for the Amazon Web Services Region in which you call this
|
|
50
|
-
* operation. When a user performs a <a>Search</a> that doesn't explicitly
|
|
51
|
-
* specify which view to use, then Amazon Web Services Resource Explorer automatically chooses this default view for
|
|
52
|
-
* searches performed in this Amazon Web Services Region.</p>
|
|
53
|
-
* <p>If an Amazon Web Services Region doesn't have a default view
|
|
54
|
-
* configured, then users must explicitly specify a view with every <code>Search</code>
|
|
55
|
-
* operation performed in that Region.</p>
|
|
24
|
+
* @see {@link AssociateDefaultViewCommand}
|
|
56
25
|
*/
|
|
57
26
|
associateDefaultView(args: AssociateDefaultViewCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDefaultViewCommandOutput>;
|
|
58
27
|
associateDefaultView(args: AssociateDefaultViewCommandInput, cb: (err: any, data?: AssociateDefaultViewCommandOutput) => void): void;
|
|
59
28
|
associateDefaultView(args: AssociateDefaultViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDefaultViewCommandOutput) => void): void;
|
|
60
29
|
/**
|
|
61
|
-
* @
|
|
62
|
-
* <p>Retrieves details about a list of views.</p>
|
|
30
|
+
* @see {@link BatchGetViewCommand}
|
|
63
31
|
*/
|
|
64
32
|
batchGetView(args: BatchGetViewCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetViewCommandOutput>;
|
|
65
33
|
batchGetView(args: BatchGetViewCommandInput, cb: (err: any, data?: BatchGetViewCommandOutput) => void): void;
|
|
66
34
|
batchGetView(args: BatchGetViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetViewCommandOutput) => void): void;
|
|
67
35
|
/**
|
|
68
|
-
* @
|
|
69
|
-
* <p>Turns on Amazon Web Services Resource Explorer in the Amazon Web Services Region in which you called this operation by creating
|
|
70
|
-
* an index. Resource Explorer begins discovering the resources in this Region and stores the details
|
|
71
|
-
* about the resources in the index so that they can be queried by using the <a>Search</a> operation. You can create only one index in a Region.</p>
|
|
72
|
-
* <note>
|
|
73
|
-
* <p>This operation creates only a <i>local</i> index. To promote the
|
|
74
|
-
* local index in one Amazon Web Services Region into the aggregator index for the Amazon Web Services account, use the
|
|
75
|
-
* <a>UpdateIndexType</a> operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">Turning on cross-Region search by creating an aggregator index</a> in the
|
|
76
|
-
* <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
77
|
-
* </note>
|
|
78
|
-
* <p>For more details about what happens when you turn on Resource Explorer in an Amazon Web Services Region, see
|
|
79
|
-
* <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-service-activate.html">Turn
|
|
80
|
-
* on Resource Explorer to index your resources in an Amazon Web Services Region</a> in the
|
|
81
|
-
* <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
82
|
-
* <p>If this is the first Amazon Web Services Region in which you've created an index for Resource Explorer, then
|
|
83
|
-
* this operation also <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/security_iam_service-linked-roles.html">creates a
|
|
84
|
-
* service-linked role</a> in your Amazon Web Services account that allows Resource Explorer to enumerate
|
|
85
|
-
* your resources to populate the index.</p>
|
|
86
|
-
* <ul>
|
|
87
|
-
* <li>
|
|
88
|
-
* <p>
|
|
89
|
-
* <b>Action</b>:
|
|
90
|
-
* <code>resource-explorer-2:CreateIndex</code>
|
|
91
|
-
* </p>
|
|
92
|
-
* <p>
|
|
93
|
-
* <b>Resource</b>: The ARN of the index (as it will
|
|
94
|
-
* exist after the operation completes) in the Amazon Web Services Region and account in which
|
|
95
|
-
* you're trying to create the index. Use the wildcard character (<code>*</code>)
|
|
96
|
-
* at the end of the string to match the eventual UUID. For example, the following
|
|
97
|
-
* <code>Resource</code> element restricts the role or user to creating an
|
|
98
|
-
* index in only the <code>us-east-2</code> Region of the specified account.</p>
|
|
99
|
-
* <p>
|
|
100
|
-
* <code>"Resource":
|
|
101
|
-
* "arn:aws:resource-explorer-2:us-west-2:<i><account-id></i>:index/*"</code>
|
|
102
|
-
* </p>
|
|
103
|
-
* <p>Alternatively, you can use <code>"Resource": "*"</code> to allow the role or
|
|
104
|
-
* user to create an index in any Region.</p>
|
|
105
|
-
* </li>
|
|
106
|
-
* <li>
|
|
107
|
-
* <p>
|
|
108
|
-
* <b>Action</b>:
|
|
109
|
-
* <code>iam:CreateServiceLinkedRole</code>
|
|
110
|
-
* </p>
|
|
111
|
-
* <p>
|
|
112
|
-
* <b>Resource</b>: No specific resource (*). </p>
|
|
113
|
-
* <p>This permission is required only the first time you create an index to turn on
|
|
114
|
-
* Resource Explorer in the account. Resource Explorer uses this to create the <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/security_iam_service-linked-roles.html">service-linked
|
|
115
|
-
* role needed to index the resources in your account</a>. Resource Explorer uses the
|
|
116
|
-
* same service-linked role for all additional indexes you create
|
|
117
|
-
* afterwards.</p>
|
|
118
|
-
* </li>
|
|
119
|
-
* </ul>
|
|
36
|
+
* @see {@link CreateIndexCommand}
|
|
120
37
|
*/
|
|
121
38
|
createIndex(args: CreateIndexCommandInput, options?: __HttpHandlerOptions): Promise<CreateIndexCommandOutput>;
|
|
122
39
|
createIndex(args: CreateIndexCommandInput, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
|
|
123
40
|
createIndex(args: CreateIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
|
|
124
41
|
/**
|
|
125
|
-
* @
|
|
126
|
-
* <p>Creates a view that users can query by using the <a>Search</a> operation.
|
|
127
|
-
* Results from queries that you make using this view include only resources that match the
|
|
128
|
-
* view's <code>Filters</code>. For more information about Amazon Web Services Resource Explorer views, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-views.html">Managing views</a>
|
|
129
|
-
* in the <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
130
|
-
* <p>Only the principals with an IAM identity-based policy that grants <code>Allow</code>
|
|
131
|
-
* to the <code>Search</code> action on a <code>Resource</code> with the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of
|
|
132
|
-
* this view can <a>Search</a> using views you create with this
|
|
133
|
-
* operation.</p>
|
|
42
|
+
* @see {@link CreateViewCommand}
|
|
134
43
|
*/
|
|
135
44
|
createView(args: CreateViewCommandInput, options?: __HttpHandlerOptions): Promise<CreateViewCommandOutput>;
|
|
136
45
|
createView(args: CreateViewCommandInput, cb: (err: any, data?: CreateViewCommandOutput) => void): void;
|
|
137
46
|
createView(args: CreateViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateViewCommandOutput) => void): void;
|
|
138
47
|
/**
|
|
139
|
-
* @
|
|
140
|
-
* <p>Deletes the specified index and turns off Amazon Web Services Resource Explorer in the specified Amazon Web Services Region.
|
|
141
|
-
* When you delete an index, Resource Explorer stops discovering and indexing resources in that
|
|
142
|
-
* Region. Resource Explorer also deletes all views in that Region. These actions occur as
|
|
143
|
-
* asynchronous background tasks. You can check to see when the actions are complete by
|
|
144
|
-
* using the <a>GetIndex</a> operation and checking the <code>Status</code>
|
|
145
|
-
* response value.</p>
|
|
146
|
-
* <note>
|
|
147
|
-
* <p>If the index you delete is the aggregator index for the Amazon Web Services account, you must
|
|
148
|
-
* wait 24 hours before you can promote another local index to be the
|
|
149
|
-
* aggregator index for the account. Users can't perform account-wide searches using
|
|
150
|
-
* Resource Explorer until another aggregator index is configured.</p>
|
|
151
|
-
* </note>
|
|
48
|
+
* @see {@link DeleteIndexCommand}
|
|
152
49
|
*/
|
|
153
50
|
deleteIndex(args: DeleteIndexCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIndexCommandOutput>;
|
|
154
51
|
deleteIndex(args: DeleteIndexCommandInput, cb: (err: any, data?: DeleteIndexCommandOutput) => void): void;
|
|
155
52
|
deleteIndex(args: DeleteIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIndexCommandOutput) => void): void;
|
|
156
53
|
/**
|
|
157
|
-
* @
|
|
158
|
-
* <p>Deletes the specified view.</p>
|
|
159
|
-
* <p>If the specified view is the default view for its Amazon Web Services Region, then all <a>Search</a> operations in that Region must explicitly specify the view to use
|
|
160
|
-
* until you configure a new default by calling the <a>AssociateDefaultView</a>
|
|
161
|
-
* operation.</p>
|
|
54
|
+
* @see {@link DeleteViewCommand}
|
|
162
55
|
*/
|
|
163
56
|
deleteView(args: DeleteViewCommandInput, options?: __HttpHandlerOptions): Promise<DeleteViewCommandOutput>;
|
|
164
57
|
deleteView(args: DeleteViewCommandInput, cb: (err: any, data?: DeleteViewCommandOutput) => void): void;
|
|
165
58
|
deleteView(args: DeleteViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteViewCommandOutput) => void): void;
|
|
166
59
|
/**
|
|
167
|
-
* @
|
|
168
|
-
* <p>After you call this operation, the affected Amazon Web Services Region no longer has a default view.
|
|
169
|
-
* All <a>Search</a> operations in that Region must explicitly specify a view or
|
|
170
|
-
* the operation fails. You can configure a new default by calling the <a>AssociateDefaultView</a> operation.</p>
|
|
171
|
-
* <p>If an Amazon Web Services Region doesn't have a default view
|
|
172
|
-
* configured, then users must explicitly specify a view with every <code>Search</code>
|
|
173
|
-
* operation performed in that Region.</p>
|
|
60
|
+
* @see {@link DisassociateDefaultViewCommand}
|
|
174
61
|
*/
|
|
175
62
|
disassociateDefaultView(args: DisassociateDefaultViewCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateDefaultViewCommandOutput>;
|
|
176
63
|
disassociateDefaultView(args: DisassociateDefaultViewCommandInput, cb: (err: any, data?: DisassociateDefaultViewCommandOutput) => void): void;
|
|
177
64
|
disassociateDefaultView(args: DisassociateDefaultViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateDefaultViewCommandOutput) => void): void;
|
|
178
65
|
/**
|
|
179
|
-
* @
|
|
180
|
-
* <p>Retrieves the Amazon Resource Name (ARN) of the view that is the default for the
|
|
181
|
-
* Amazon Web Services Region in which you call this operation. You can then call <a>GetView</a> to retrieve the details of that view.</p>
|
|
66
|
+
* @see {@link GetDefaultViewCommand}
|
|
182
67
|
*/
|
|
183
68
|
getDefaultView(args: GetDefaultViewCommandInput, options?: __HttpHandlerOptions): Promise<GetDefaultViewCommandOutput>;
|
|
184
69
|
getDefaultView(args: GetDefaultViewCommandInput, cb: (err: any, data?: GetDefaultViewCommandOutput) => void): void;
|
|
185
70
|
getDefaultView(args: GetDefaultViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDefaultViewCommandOutput) => void): void;
|
|
186
71
|
/**
|
|
187
|
-
* @
|
|
188
|
-
* <p>Retrieves details about the Amazon Web Services Resource Explorer index in the Amazon Web Services Region in which you invoked
|
|
189
|
-
* the operation.</p>
|
|
72
|
+
* @see {@link GetIndexCommand}
|
|
190
73
|
*/
|
|
191
74
|
getIndex(args: GetIndexCommandInput, options?: __HttpHandlerOptions): Promise<GetIndexCommandOutput>;
|
|
192
75
|
getIndex(args: GetIndexCommandInput, cb: (err: any, data?: GetIndexCommandOutput) => void): void;
|
|
193
76
|
getIndex(args: GetIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIndexCommandOutput) => void): void;
|
|
194
77
|
/**
|
|
195
|
-
* @
|
|
196
|
-
* <p>Retrieves details of the specified view.</p>
|
|
78
|
+
* @see {@link GetViewCommand}
|
|
197
79
|
*/
|
|
198
80
|
getView(args: GetViewCommandInput, options?: __HttpHandlerOptions): Promise<GetViewCommandOutput>;
|
|
199
81
|
getView(args: GetViewCommandInput, cb: (err: any, data?: GetViewCommandOutput) => void): void;
|
|
200
82
|
getView(args: GetViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetViewCommandOutput) => void): void;
|
|
201
83
|
/**
|
|
202
|
-
* @
|
|
203
|
-
* <p>Retrieves a list of all of the indexes in Amazon Web Services Regions that are currently collecting
|
|
204
|
-
* resource information for Amazon Web Services Resource Explorer.</p>
|
|
84
|
+
* @see {@link ListIndexesCommand}
|
|
205
85
|
*/
|
|
206
86
|
listIndexes(args: ListIndexesCommandInput, options?: __HttpHandlerOptions): Promise<ListIndexesCommandOutput>;
|
|
207
87
|
listIndexes(args: ListIndexesCommandInput, cb: (err: any, data?: ListIndexesCommandOutput) => void): void;
|
|
208
88
|
listIndexes(args: ListIndexesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIndexesCommandOutput) => void): void;
|
|
209
89
|
/**
|
|
210
|
-
* @
|
|
211
|
-
* <p>Retrieves a list of all resource types currently supported by Amazon Web Services Resource Explorer.</p>
|
|
90
|
+
* @see {@link ListSupportedResourceTypesCommand}
|
|
212
91
|
*/
|
|
213
92
|
listSupportedResourceTypes(args: ListSupportedResourceTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListSupportedResourceTypesCommandOutput>;
|
|
214
93
|
listSupportedResourceTypes(args: ListSupportedResourceTypesCommandInput, cb: (err: any, data?: ListSupportedResourceTypesCommandOutput) => void): void;
|
|
215
94
|
listSupportedResourceTypes(args: ListSupportedResourceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSupportedResourceTypesCommandOutput) => void): void;
|
|
216
95
|
/**
|
|
217
|
-
* @
|
|
218
|
-
* <p>Lists the tags that are attached to the specified resource.</p>
|
|
96
|
+
* @see {@link ListTagsForResourceCommand}
|
|
219
97
|
*/
|
|
220
98
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
221
99
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
222
100
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
223
101
|
/**
|
|
224
|
-
* @
|
|
225
|
-
* <p>Lists the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource names (ARNs)</a> of the views available in the Amazon Web Services Region in which you
|
|
226
|
-
* call this operation.</p>
|
|
227
|
-
* <note>
|
|
228
|
-
* <p>Always check the <code>NextToken</code> response parameter
|
|
229
|
-
* for a <code>null</code> value when calling a paginated operation. These operations can
|
|
230
|
-
* occasionally return an empty set of results even when there are more results available. The
|
|
231
|
-
* <code>NextToken</code> response parameter value is <code>null</code>
|
|
232
|
-
* <i>only</i>
|
|
233
|
-
* when there are no more results to display.</p>
|
|
234
|
-
* </note>
|
|
102
|
+
* @see {@link ListViewsCommand}
|
|
235
103
|
*/
|
|
236
104
|
listViews(args: ListViewsCommandInput, options?: __HttpHandlerOptions): Promise<ListViewsCommandOutput>;
|
|
237
105
|
listViews(args: ListViewsCommandInput, cb: (err: any, data?: ListViewsCommandOutput) => void): void;
|
|
238
106
|
listViews(args: ListViewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListViewsCommandOutput) => void): void;
|
|
239
107
|
/**
|
|
240
|
-
* @
|
|
241
|
-
* <p>Searches for resources and displays details about all resources that match the
|
|
242
|
-
* specified criteria. You must specify a query string.</p>
|
|
243
|
-
* <p>All search queries must use a view. If you don't explicitly specify a view, then
|
|
244
|
-
* Amazon Web Services Resource Explorer uses the default view for the Amazon Web Services Region in which you call this operation.
|
|
245
|
-
* The results are the logical intersection of the results that match both the
|
|
246
|
-
* <code>QueryString</code> parameter supplied to this operation and the
|
|
247
|
-
* <code>SearchFilter</code> parameter attached to the view.</p>
|
|
248
|
-
* <p>For the complete syntax supported by the <code>QueryString</code> parameter, see
|
|
249
|
-
* <a href="https://docs.aws.amazon.com/resource-explorer/latest/APIReference/about-query-syntax.html">Search
|
|
250
|
-
* query syntax reference for Resource Explorer</a>.</p>
|
|
251
|
-
* <p>If your search results are empty, or are missing results that you think should be
|
|
252
|
-
* there, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/troubleshooting_search.html">Troubleshooting Resource Explorer
|
|
253
|
-
* search</a>.</p>
|
|
108
|
+
* @see {@link SearchCommand}
|
|
254
109
|
*/
|
|
255
110
|
search(args: SearchCommandInput, options?: __HttpHandlerOptions): Promise<SearchCommandOutput>;
|
|
256
111
|
search(args: SearchCommandInput, cb: (err: any, data?: SearchCommandOutput) => void): void;
|
|
257
112
|
search(args: SearchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchCommandOutput) => void): void;
|
|
258
113
|
/**
|
|
259
|
-
* @
|
|
260
|
-
* <p>Adds one or more tag key and value pairs to an Amazon Web Services Resource Explorer view or index.</p>
|
|
114
|
+
* @see {@link TagResourceCommand}
|
|
261
115
|
*/
|
|
262
116
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
263
117
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
264
118
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
265
119
|
/**
|
|
266
|
-
* @
|
|
267
|
-
* <p>Removes one or more tag key and value pairs from an Amazon Web Services Resource Explorer view or index.</p>
|
|
120
|
+
* @see {@link UntagResourceCommand}
|
|
268
121
|
*/
|
|
269
122
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
270
123
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
271
124
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
272
125
|
/**
|
|
273
|
-
* @
|
|
274
|
-
* <p>Changes the type of the index from one of the following types to the other. For more
|
|
275
|
-
* information about indexes and the role they perform in Amazon Web Services Resource Explorer, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">Turning on
|
|
276
|
-
* cross-Region search by creating an aggregator index</a> in the
|
|
277
|
-
* <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
278
|
-
* <ul>
|
|
279
|
-
* <li>
|
|
280
|
-
* <p>
|
|
281
|
-
* <b>
|
|
282
|
-
* <code>AGGREGATOR</code> index type</b>
|
|
283
|
-
* </p>
|
|
284
|
-
* <p>The index contains information about resources from all Amazon Web Services Regions in the
|
|
285
|
-
* Amazon Web Services account in which you've created a Resource Explorer index. Resource information from
|
|
286
|
-
* all other Regions is replicated to this Region's index.</p>
|
|
287
|
-
* <p>When you change the index type to <code>AGGREGATOR</code>, Resource Explorer turns on
|
|
288
|
-
* replication of all discovered resource information from the other Amazon Web Services Regions
|
|
289
|
-
* in your account to this index. You can then, from this Region only, perform
|
|
290
|
-
* resource search queries that span all Amazon Web Services Regions in the Amazon Web Services account.
|
|
291
|
-
* Turning on replication from all other Regions is performed by asynchronous
|
|
292
|
-
* background tasks. You can check the status of the asynchronous tasks by using
|
|
293
|
-
* the <a>GetIndex</a> operation. When the asynchronous tasks complete,
|
|
294
|
-
* the <code>Status</code> response of that operation changes from
|
|
295
|
-
* <code>UPDATING</code> to <code>ACTIVE</code>. After that, you can start to
|
|
296
|
-
* see results from other Amazon Web Services Regions in query results. However, it can take
|
|
297
|
-
* several hours for replication from all other Regions to complete.</p>
|
|
298
|
-
* <important>
|
|
299
|
-
* <p>You can have only one aggregator index per Amazon Web Services account. Before you can
|
|
300
|
-
* promote a different index to be the aggregator index for the account, you must
|
|
301
|
-
* first demote the existing aggregator index to type <code>LOCAL</code>.</p>
|
|
302
|
-
* </important>
|
|
303
|
-
* </li>
|
|
304
|
-
* <li>
|
|
305
|
-
* <p>
|
|
306
|
-
* <b>
|
|
307
|
-
* <code>LOCAL</code> index type</b>
|
|
308
|
-
* </p>
|
|
309
|
-
* <p>The index contains information about resources in only the Amazon Web Services Region in
|
|
310
|
-
* which the index exists. If an aggregator index in another Region exists, then
|
|
311
|
-
* information in this local index is replicated to the aggregator index.</p>
|
|
312
|
-
* <p>When you change the index type to <code>LOCAL</code>, Resource Explorer turns off the
|
|
313
|
-
* replication of resource information from all other Amazon Web Services Regions in the
|
|
314
|
-
* Amazon Web Services account to this Region. The aggregator index remains in the
|
|
315
|
-
* <code>UPDATING</code> state until all replication with other Regions
|
|
316
|
-
* successfully stops. You can check the status of the asynchronous task by using
|
|
317
|
-
* the <a>GetIndex</a> operation. When Resource Explorer successfully stops all
|
|
318
|
-
* replication with other Regions, the <code>Status</code> response of that
|
|
319
|
-
* operation changes from <code>UPDATING</code> to <code>ACTIVE</code>. Separately,
|
|
320
|
-
* the resource information from other Regions that was previously stored in the
|
|
321
|
-
* index is deleted within 30 days by another background task. Until that
|
|
322
|
-
* asynchronous task completes, some results from other Regions can continue to
|
|
323
|
-
* appear in search results.</p>
|
|
324
|
-
* <important>
|
|
325
|
-
* <p>After you demote an aggregator index to a local index, you must wait
|
|
326
|
-
* 24 hours before you can promote another index to be the new
|
|
327
|
-
* aggregator index for the account.</p>
|
|
328
|
-
* </important>
|
|
329
|
-
* </li>
|
|
330
|
-
* </ul>
|
|
126
|
+
* @see {@link UpdateIndexTypeCommand}
|
|
331
127
|
*/
|
|
332
128
|
updateIndexType(args: UpdateIndexTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIndexTypeCommandOutput>;
|
|
333
129
|
updateIndexType(args: UpdateIndexTypeCommandInput, cb: (err: any, data?: UpdateIndexTypeCommandOutput) => void): void;
|
|
334
130
|
updateIndexType(args: UpdateIndexTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIndexTypeCommandOutput) => void): void;
|
|
335
131
|
/**
|
|
336
|
-
* @
|
|
337
|
-
* <p>Modifies some of the details of a view. You can change the filter string and the list
|
|
338
|
-
* of included properties. You can't change the name of the view.</p>
|
|
132
|
+
* @see {@link UpdateViewCommand}
|
|
339
133
|
*/
|
|
340
134
|
updateView(args: UpdateViewCommandInput, options?: __HttpHandlerOptions): Promise<UpdateViewCommandOutput>;
|
|
341
135
|
updateView(args: UpdateViewCommandInput, cb: (err: any, data?: UpdateViewCommandOutput) => void): void;
|
|
342
136
|
updateView(args: UpdateViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateViewCommandOutput) => void): void;
|
|
343
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* <p>Amazon Web Services Resource Explorer is a resource search and discovery service. By using Resource Explorer, you can
|
|
141
|
+
* explore your resources using an internet search engine-like experience. Examples of
|
|
142
|
+
* resources include Amazon Relational Database Service (Amazon RDS) instances, Amazon Simple Storage Service (Amazon S3) buckets, or Amazon DynamoDB
|
|
143
|
+
* tables. You can search for your resources using resource metadata like names, tags, and
|
|
144
|
+
* IDs. Resource Explorer can search across all of the Amazon Web Services Regions in your account in which you turn
|
|
145
|
+
* the service on, to simplify your cross-Region workloads.</p>
|
|
146
|
+
* <p>Resource Explorer scans the resources in each of the Amazon Web Services Regions in your Amazon Web Services account in which
|
|
147
|
+
* you turn on Resource Explorer. Resource Explorer <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/getting-started-terms-and-concepts.html#term-index">creates
|
|
148
|
+
* and maintains an index</a> in each Region, with the details of that Region's
|
|
149
|
+
* resources.</p>
|
|
150
|
+
* <p>You can <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">search across all of the
|
|
151
|
+
* indexed Regions in your account</a> by designating one of your Amazon Web Services Regions to
|
|
152
|
+
* contain the aggregator index for the account. When you <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region-turn-on.html">promote a local index
|
|
153
|
+
* in a Region to become the aggregator index for the account</a>, Resource Explorer automatically
|
|
154
|
+
* replicates the index information from all local indexes in the other Regions to the
|
|
155
|
+
* aggregator index. Therefore, the Region with the aggregator index has a copy of all resource
|
|
156
|
+
* information for all Regions in the account where you turned on Resource Explorer. As a result,
|
|
157
|
+
* views in the aggregator index Region include resources from all of the indexed Regions in your
|
|
158
|
+
* account.</p>
|
|
159
|
+
* <p>For more information about Amazon Web Services Resource Explorer, including how to enable and configure the
|
|
160
|
+
* service, see the <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/">Amazon Web Services Resource Explorer User Guide</a>.</p>
|
|
161
|
+
*/
|
|
162
|
+
export declare class ResourceExplorer2 extends ResourceExplorer2Client implements ResourceExplorer2 {
|
|
163
|
+
}
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
UpdateViewCommandOutput,
|
|
77
77
|
} from "./commands/UpdateViewCommand";
|
|
78
78
|
import { ResourceExplorer2Client } from "./ResourceExplorer2Client";
|
|
79
|
-
export
|
|
79
|
+
export interface ResourceExplorer2 {
|
|
80
80
|
associateDefaultView(
|
|
81
81
|
args: AssociateDefaultViewCommandInput,
|
|
82
82
|
options?: __HttpHandlerOptions
|
|
@@ -325,3 +325,6 @@ export declare class ResourceExplorer2 extends ResourceExplorer2Client {
|
|
|
325
325
|
cb: (err: any, data?: UpdateViewCommandOutput) => void
|
|
326
326
|
): void;
|
|
327
327
|
}
|
|
328
|
+
export declare class ResourceExplorer2
|
|
329
|
+
extends ResourceExplorer2Client
|
|
330
|
+
implements ResourceExplorer2 {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resource-explorer-2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resource Explorer 2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|