@aws-sdk/client-security-ir 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 CHANGED
@@ -1300,6 +1300,16 @@ class UpdateResolverTypeCommand extends smithyClient.Command
1300
1300
  .build() {
1301
1301
  }
1302
1302
 
1303
+ const paginateListCaseEdits = core.createPaginator(SecurityIRClient, ListCaseEditsCommand, "nextToken", "nextToken", "maxResults");
1304
+
1305
+ const paginateListCases = core.createPaginator(SecurityIRClient, ListCasesCommand, "nextToken", "nextToken", "maxResults");
1306
+
1307
+ const paginateListComments = core.createPaginator(SecurityIRClient, ListCommentsCommand, "nextToken", "nextToken", "maxResults");
1308
+
1309
+ const paginateListInvestigations = core.createPaginator(SecurityIRClient, ListInvestigationsCommand, "nextToken", "nextToken", "maxResults");
1310
+
1311
+ const paginateListMemberships = core.createPaginator(SecurityIRClient, ListMembershipsCommand, "nextToken", "nextToken", "maxResults");
1312
+
1303
1313
  const commands = {
1304
1314
  BatchGetMemberAccountDetailsCommand,
1305
1315
  CancelMembershipCommand,
@@ -1326,19 +1336,16 @@ const commands = {
1326
1336
  UpdateMembershipCommand,
1327
1337
  UpdateResolverTypeCommand,
1328
1338
  };
1339
+ const paginators = {
1340
+ paginateListCaseEdits,
1341
+ paginateListCases,
1342
+ paginateListComments,
1343
+ paginateListInvestigations,
1344
+ paginateListMemberships,
1345
+ };
1329
1346
  class SecurityIR extends SecurityIRClient {
1330
1347
  }
1331
- smithyClient.createAggregatedClient(commands, SecurityIR);
1332
-
1333
- const paginateListCaseEdits = core.createPaginator(SecurityIRClient, ListCaseEditsCommand, "nextToken", "nextToken", "maxResults");
1334
-
1335
- const paginateListCases = core.createPaginator(SecurityIRClient, ListCasesCommand, "nextToken", "nextToken", "maxResults");
1336
-
1337
- const paginateListComments = core.createPaginator(SecurityIRClient, ListCommentsCommand, "nextToken", "nextToken", "maxResults");
1338
-
1339
- const paginateListInvestigations = core.createPaginator(SecurityIRClient, ListInvestigationsCommand, "nextToken", "nextToken", "maxResults");
1340
-
1341
- const paginateListMemberships = core.createPaginator(SecurityIRClient, ListMembershipsCommand, "nextToken", "nextToken", "maxResults");
1348
+ smithyClient.createAggregatedClient(commands, SecurityIR, { paginators });
1342
1349
 
1343
1350
  const ActionType = {
1344
1351
  EVIDENCE_COLLECTION: "Evidence",
@@ -23,6 +23,11 @@ import { UpdateCaseCommentCommand, } from "./commands/UpdateCaseCommentCommand";
23
23
  import { UpdateCaseStatusCommand, } from "./commands/UpdateCaseStatusCommand";
24
24
  import { UpdateMembershipCommand, } from "./commands/UpdateMembershipCommand";
25
25
  import { UpdateResolverTypeCommand, } from "./commands/UpdateResolverTypeCommand";
26
+ import { paginateListCaseEdits } from "./pagination/ListCaseEditsPaginator";
27
+ import { paginateListCases } from "./pagination/ListCasesPaginator";
28
+ import { paginateListComments } from "./pagination/ListCommentsPaginator";
29
+ import { paginateListInvestigations } from "./pagination/ListInvestigationsPaginator";
30
+ import { paginateListMemberships } from "./pagination/ListMembershipsPaginator";
26
31
  import { SecurityIRClient } from "./SecurityIRClient";
27
32
  const commands = {
28
33
  BatchGetMemberAccountDetailsCommand,
@@ -50,6 +55,13 @@ const commands = {
50
55
  UpdateMembershipCommand,
51
56
  UpdateResolverTypeCommand,
52
57
  };
58
+ const paginators = {
59
+ paginateListCaseEdits,
60
+ paginateListCases,
61
+ paginateListComments,
62
+ paginateListInvestigations,
63
+ paginateListMemberships,
64
+ };
53
65
  export class SecurityIR extends SecurityIRClient {
54
66
  }
55
- createAggregatedClient(commands, SecurityIR);
67
+ createAggregatedClient(commands, SecurityIR, { 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 { BatchGetMemberAccountDetailsCommandInput, BatchGetMemberAccountDetailsCommandOutput } from "./commands/BatchGetMemberAccountDetailsCommand";
3
3
  import { CancelMembershipCommandInput, CancelMembershipCommandOutput } from "./commands/CancelMembershipCommand";
4
4
  import { CloseCaseCommandInput, CloseCaseCommandOutput } from "./commands/CloseCaseCommand";
@@ -171,6 +171,41 @@ export interface SecurityIR {
171
171
  updateResolverType(args: UpdateResolverTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResolverTypeCommandOutput>;
172
172
  updateResolverType(args: UpdateResolverTypeCommandInput, cb: (err: any, data?: UpdateResolverTypeCommandOutput) => void): void;
173
173
  updateResolverType(args: UpdateResolverTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResolverTypeCommandOutput) => void): void;
174
+ /**
175
+ * @see {@link ListCaseEditsCommand}
176
+ * @param args - command input.
177
+ * @param paginationConfig - optional pagination config.
178
+ * @returns AsyncIterable of {@link ListCaseEditsCommandOutput}.
179
+ */
180
+ paginateListCaseEdits(args: ListCaseEditsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCaseEditsCommandOutput>;
181
+ /**
182
+ * @see {@link ListCasesCommand}
183
+ * @param args - command input.
184
+ * @param paginationConfig - optional pagination config.
185
+ * @returns AsyncIterable of {@link ListCasesCommandOutput}.
186
+ */
187
+ paginateListCases(args?: ListCasesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCasesCommandOutput>;
188
+ /**
189
+ * @see {@link ListCommentsCommand}
190
+ * @param args - command input.
191
+ * @param paginationConfig - optional pagination config.
192
+ * @returns AsyncIterable of {@link ListCommentsCommandOutput}.
193
+ */
194
+ paginateListComments(args: ListCommentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCommentsCommandOutput>;
195
+ /**
196
+ * @see {@link ListInvestigationsCommand}
197
+ * @param args - command input.
198
+ * @param paginationConfig - optional pagination config.
199
+ * @returns AsyncIterable of {@link ListInvestigationsCommandOutput}.
200
+ */
201
+ paginateListInvestigations(args: ListInvestigationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInvestigationsCommandOutput>;
202
+ /**
203
+ * @see {@link ListMembershipsCommand}
204
+ * @param args - command input.
205
+ * @param paginationConfig - optional pagination config.
206
+ * @returns AsyncIterable of {@link ListMembershipsCommandOutput}.
207
+ */
208
+ paginateListMemberships(args?: ListMembershipsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMembershipsCommandOutput>;
174
209
  }
175
210
  /**
176
211
  * <p>This guide documents the action and response elements for use of the service.</p>
@@ -1,4 +1,8 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
2
6
  import {
3
7
  BatchGetMemberAccountDetailsCommandInput,
4
8
  BatchGetMemberAccountDetailsCommandOutput,
@@ -411,6 +415,41 @@ export interface SecurityIR {
411
415
  options: __HttpHandlerOptions,
412
416
  cb: (err: any, data?: UpdateResolverTypeCommandOutput) => void
413
417
  ): void;
418
+ paginateListCaseEdits(
419
+ args: ListCaseEditsCommandInput,
420
+ paginationConfig?: Pick<
421
+ PaginationConfiguration,
422
+ Exclude<keyof PaginationConfiguration, "client">
423
+ >
424
+ ): Paginator<ListCaseEditsCommandOutput>;
425
+ paginateListCases(
426
+ args?: ListCasesCommandInput,
427
+ paginationConfig?: Pick<
428
+ PaginationConfiguration,
429
+ Exclude<keyof PaginationConfiguration, "client">
430
+ >
431
+ ): Paginator<ListCasesCommandOutput>;
432
+ paginateListComments(
433
+ args: ListCommentsCommandInput,
434
+ paginationConfig?: Pick<
435
+ PaginationConfiguration,
436
+ Exclude<keyof PaginationConfiguration, "client">
437
+ >
438
+ ): Paginator<ListCommentsCommandOutput>;
439
+ paginateListInvestigations(
440
+ args: ListInvestigationsCommandInput,
441
+ paginationConfig?: Pick<
442
+ PaginationConfiguration,
443
+ Exclude<keyof PaginationConfiguration, "client">
444
+ >
445
+ ): Paginator<ListInvestigationsCommandOutput>;
446
+ paginateListMemberships(
447
+ args?: ListMembershipsCommandInput,
448
+ paginationConfig?: Pick<
449
+ PaginationConfiguration,
450
+ Exclude<keyof PaginationConfiguration, "client">
451
+ >
452
+ ): Paginator<ListMembershipsCommandOutput>;
414
453
  }
415
454
  export declare class SecurityIR
416
455
  extends SecurityIRClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-security-ir",
3
3
  "description": "AWS SDK for JavaScript Security Ir Client for Node.js, Browser and React Native",
4
- "version": "3.974.0",
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-security-ir",
@@ -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.0",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.1",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
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.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
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.21.0",
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.10",
42
- "@smithy/middleware-retry": "^4.4.26",
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.10.11",
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.25",
55
- "@smithy/util-defaults-mode-node": "^4.2.28",
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",