@aws-sdk/client-detective 3.974.0 → 3.978.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 +18 -11
- package/dist-es/Detective.js +13 -1
- package/dist-types/Detective.d.ts +36 -1
- package/dist-types/ts3.4/Detective.d.ts +40 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1323,6 +1323,16 @@ class UpdateOrganizationConfigurationCommand extends smithyClient.Command
|
|
|
1323
1323
|
.build() {
|
|
1324
1324
|
}
|
|
1325
1325
|
|
|
1326
|
+
const paginateListDatasourcePackages = core.createPaginator(DetectiveClient, ListDatasourcePackagesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1327
|
+
|
|
1328
|
+
const paginateListGraphs = core.createPaginator(DetectiveClient, ListGraphsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1329
|
+
|
|
1330
|
+
const paginateListInvitations = core.createPaginator(DetectiveClient, ListInvitationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1331
|
+
|
|
1332
|
+
const paginateListMembers = core.createPaginator(DetectiveClient, ListMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1333
|
+
|
|
1334
|
+
const paginateListOrganizationAdminAccounts = core.createPaginator(DetectiveClient, ListOrganizationAdminAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1335
|
+
|
|
1326
1336
|
const commands = {
|
|
1327
1337
|
AcceptInvitationCommand,
|
|
1328
1338
|
BatchGetGraphMemberDatasourcesCommand,
|
|
@@ -1354,19 +1364,16 @@ const commands = {
|
|
|
1354
1364
|
UpdateInvestigationStateCommand,
|
|
1355
1365
|
UpdateOrganizationConfigurationCommand,
|
|
1356
1366
|
};
|
|
1367
|
+
const paginators = {
|
|
1368
|
+
paginateListDatasourcePackages,
|
|
1369
|
+
paginateListGraphs,
|
|
1370
|
+
paginateListInvitations,
|
|
1371
|
+
paginateListMembers,
|
|
1372
|
+
paginateListOrganizationAdminAccounts,
|
|
1373
|
+
};
|
|
1357
1374
|
class Detective extends DetectiveClient {
|
|
1358
1375
|
}
|
|
1359
|
-
smithyClient.createAggregatedClient(commands, Detective);
|
|
1360
|
-
|
|
1361
|
-
const paginateListDatasourcePackages = core.createPaginator(DetectiveClient, ListDatasourcePackagesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1362
|
-
|
|
1363
|
-
const paginateListGraphs = core.createPaginator(DetectiveClient, ListGraphsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1364
|
-
|
|
1365
|
-
const paginateListInvitations = core.createPaginator(DetectiveClient, ListInvitationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1366
|
-
|
|
1367
|
-
const paginateListMembers = core.createPaginator(DetectiveClient, ListMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1368
|
-
|
|
1369
|
-
const paginateListOrganizationAdminAccounts = core.createPaginator(DetectiveClient, ListOrganizationAdminAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1376
|
+
smithyClient.createAggregatedClient(commands, Detective, { paginators });
|
|
1370
1377
|
|
|
1371
1378
|
const ErrorCode = {
|
|
1372
1379
|
InternalError: "INTERNAL_ERROR",
|
package/dist-es/Detective.js
CHANGED
|
@@ -29,6 +29,11 @@ import { UpdateDatasourcePackagesCommand, } from "./commands/UpdateDatasourcePac
|
|
|
29
29
|
import { UpdateInvestigationStateCommand, } from "./commands/UpdateInvestigationStateCommand";
|
|
30
30
|
import { UpdateOrganizationConfigurationCommand, } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
31
31
|
import { DetectiveClient } from "./DetectiveClient";
|
|
32
|
+
import { paginateListDatasourcePackages } from "./pagination/ListDatasourcePackagesPaginator";
|
|
33
|
+
import { paginateListGraphs } from "./pagination/ListGraphsPaginator";
|
|
34
|
+
import { paginateListInvitations } from "./pagination/ListInvitationsPaginator";
|
|
35
|
+
import { paginateListMembers } from "./pagination/ListMembersPaginator";
|
|
36
|
+
import { paginateListOrganizationAdminAccounts } from "./pagination/ListOrganizationAdminAccountsPaginator";
|
|
32
37
|
const commands = {
|
|
33
38
|
AcceptInvitationCommand,
|
|
34
39
|
BatchGetGraphMemberDatasourcesCommand,
|
|
@@ -60,6 +65,13 @@ const commands = {
|
|
|
60
65
|
UpdateInvestigationStateCommand,
|
|
61
66
|
UpdateOrganizationConfigurationCommand,
|
|
62
67
|
};
|
|
68
|
+
const paginators = {
|
|
69
|
+
paginateListDatasourcePackages,
|
|
70
|
+
paginateListGraphs,
|
|
71
|
+
paginateListInvitations,
|
|
72
|
+
paginateListMembers,
|
|
73
|
+
paginateListOrganizationAdminAccounts,
|
|
74
|
+
};
|
|
63
75
|
export class Detective extends DetectiveClient {
|
|
64
76
|
}
|
|
65
|
-
createAggregatedClient(commands, Detective);
|
|
77
|
+
createAggregatedClient(commands, Detective, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
|
|
3
3
|
import { BatchGetGraphMemberDatasourcesCommandInput, BatchGetGraphMemberDatasourcesCommandOutput } from "./commands/BatchGetGraphMemberDatasourcesCommand";
|
|
4
4
|
import { BatchGetMembershipDatasourcesCommandInput, BatchGetMembershipDatasourcesCommandOutput } from "./commands/BatchGetMembershipDatasourcesCommand";
|
|
@@ -209,6 +209,41 @@ export interface Detective {
|
|
|
209
209
|
updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOrganizationConfigurationCommandOutput>;
|
|
210
210
|
updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void): void;
|
|
211
211
|
updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void): void;
|
|
212
|
+
/**
|
|
213
|
+
* @see {@link ListDatasourcePackagesCommand}
|
|
214
|
+
* @param args - command input.
|
|
215
|
+
* @param paginationConfig - optional pagination config.
|
|
216
|
+
* @returns AsyncIterable of {@link ListDatasourcePackagesCommandOutput}.
|
|
217
|
+
*/
|
|
218
|
+
paginateListDatasourcePackages(args: ListDatasourcePackagesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDatasourcePackagesCommandOutput>;
|
|
219
|
+
/**
|
|
220
|
+
* @see {@link ListGraphsCommand}
|
|
221
|
+
* @param args - command input.
|
|
222
|
+
* @param paginationConfig - optional pagination config.
|
|
223
|
+
* @returns AsyncIterable of {@link ListGraphsCommandOutput}.
|
|
224
|
+
*/
|
|
225
|
+
paginateListGraphs(args?: ListGraphsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGraphsCommandOutput>;
|
|
226
|
+
/**
|
|
227
|
+
* @see {@link ListInvitationsCommand}
|
|
228
|
+
* @param args - command input.
|
|
229
|
+
* @param paginationConfig - optional pagination config.
|
|
230
|
+
* @returns AsyncIterable of {@link ListInvitationsCommandOutput}.
|
|
231
|
+
*/
|
|
232
|
+
paginateListInvitations(args?: ListInvitationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInvitationsCommandOutput>;
|
|
233
|
+
/**
|
|
234
|
+
* @see {@link ListMembersCommand}
|
|
235
|
+
* @param args - command input.
|
|
236
|
+
* @param paginationConfig - optional pagination config.
|
|
237
|
+
* @returns AsyncIterable of {@link ListMembersCommandOutput}.
|
|
238
|
+
*/
|
|
239
|
+
paginateListMembers(args: ListMembersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMembersCommandOutput>;
|
|
240
|
+
/**
|
|
241
|
+
* @see {@link ListOrganizationAdminAccountsCommand}
|
|
242
|
+
* @param args - command input.
|
|
243
|
+
* @param paginationConfig - optional pagination config.
|
|
244
|
+
* @returns AsyncIterable of {@link ListOrganizationAdminAccountsCommandOutput}.
|
|
245
|
+
*/
|
|
246
|
+
paginateListOrganizationAdminAccounts(args?: ListOrganizationAdminAccountsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListOrganizationAdminAccountsCommandOutput>;
|
|
212
247
|
}
|
|
213
248
|
/**
|
|
214
249
|
* <p>Detective uses machine learning and purpose-built visualizations to help you to
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
AcceptInvitationCommandInput,
|
|
4
8
|
AcceptInvitationCommandOutput,
|
|
@@ -505,5 +509,40 @@ export interface Detective {
|
|
|
505
509
|
options: __HttpHandlerOptions,
|
|
506
510
|
cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void
|
|
507
511
|
): void;
|
|
512
|
+
paginateListDatasourcePackages(
|
|
513
|
+
args: ListDatasourcePackagesCommandInput,
|
|
514
|
+
paginationConfig?: Pick<
|
|
515
|
+
PaginationConfiguration,
|
|
516
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
517
|
+
>
|
|
518
|
+
): Paginator<ListDatasourcePackagesCommandOutput>;
|
|
519
|
+
paginateListGraphs(
|
|
520
|
+
args?: ListGraphsCommandInput,
|
|
521
|
+
paginationConfig?: Pick<
|
|
522
|
+
PaginationConfiguration,
|
|
523
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
524
|
+
>
|
|
525
|
+
): Paginator<ListGraphsCommandOutput>;
|
|
526
|
+
paginateListInvitations(
|
|
527
|
+
args?: ListInvitationsCommandInput,
|
|
528
|
+
paginationConfig?: Pick<
|
|
529
|
+
PaginationConfiguration,
|
|
530
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
531
|
+
>
|
|
532
|
+
): Paginator<ListInvitationsCommandOutput>;
|
|
533
|
+
paginateListMembers(
|
|
534
|
+
args: ListMembersCommandInput,
|
|
535
|
+
paginationConfig?: Pick<
|
|
536
|
+
PaginationConfiguration,
|
|
537
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
538
|
+
>
|
|
539
|
+
): Paginator<ListMembersCommandOutput>;
|
|
540
|
+
paginateListOrganizationAdminAccounts(
|
|
541
|
+
args?: ListOrganizationAdminAccountsCommandInput,
|
|
542
|
+
paginationConfig?: Pick<
|
|
543
|
+
PaginationConfiguration,
|
|
544
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
545
|
+
>
|
|
546
|
+
): Paginator<ListOrganizationAdminAccountsCommandOutput>;
|
|
508
547
|
}
|
|
509
548
|
export declare class Detective extends DetectiveClient implements Detective {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-detective",
|
|
3
3
|
"description": "AWS SDK for JavaScript Detective Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-detective",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|