@aws-sdk/client-codeguruprofiler 3.975.0 → 3.980.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
@@ -1149,6 +1149,14 @@ class UpdateProfilingGroupCommand extends smithyClient.Command
1149
1149
  .build() {
1150
1150
  }
1151
1151
 
1152
+ const paginateGetFindingsReportAccountSummary = core.createPaginator(CodeGuruProfilerClient, GetFindingsReportAccountSummaryCommand, "nextToken", "nextToken", "maxResults");
1153
+
1154
+ const paginateListFindingsReports = core.createPaginator(CodeGuruProfilerClient, ListFindingsReportsCommand, "nextToken", "nextToken", "maxResults");
1155
+
1156
+ const paginateListProfileTimes = core.createPaginator(CodeGuruProfilerClient, ListProfileTimesCommand, "nextToken", "nextToken", "maxResults");
1157
+
1158
+ const paginateListProfilingGroups = core.createPaginator(CodeGuruProfilerClient, ListProfilingGroupsCommand, "nextToken", "nextToken", "maxResults");
1159
+
1152
1160
  const commands = {
1153
1161
  AddNotificationChannelsCommand,
1154
1162
  BatchGetFrameMetricDataCommand,
@@ -1174,17 +1182,15 @@ const commands = {
1174
1182
  UntagResourceCommand,
1175
1183
  UpdateProfilingGroupCommand,
1176
1184
  };
1185
+ const paginators = {
1186
+ paginateGetFindingsReportAccountSummary,
1187
+ paginateListFindingsReports,
1188
+ paginateListProfileTimes,
1189
+ paginateListProfilingGroups,
1190
+ };
1177
1191
  class CodeGuruProfiler extends CodeGuruProfilerClient {
1178
1192
  }
1179
- smithyClient.createAggregatedClient(commands, CodeGuruProfiler);
1180
-
1181
- const paginateGetFindingsReportAccountSummary = core.createPaginator(CodeGuruProfilerClient, GetFindingsReportAccountSummaryCommand, "nextToken", "nextToken", "maxResults");
1182
-
1183
- const paginateListFindingsReports = core.createPaginator(CodeGuruProfilerClient, ListFindingsReportsCommand, "nextToken", "nextToken", "maxResults");
1184
-
1185
- const paginateListProfileTimes = core.createPaginator(CodeGuruProfilerClient, ListProfileTimesCommand, "nextToken", "nextToken", "maxResults");
1186
-
1187
- const paginateListProfilingGroups = core.createPaginator(CodeGuruProfilerClient, ListProfilingGroupsCommand, "nextToken", "nextToken", "maxResults");
1193
+ smithyClient.createAggregatedClient(commands, CodeGuruProfiler, { paginators });
1188
1194
 
1189
1195
  const ActionGroup = {
1190
1196
  AGENT_PERMISSIONS: "agentPermissions",
@@ -23,6 +23,10 @@ import { SubmitFeedbackCommand, } from "./commands/SubmitFeedbackCommand";
23
23
  import { TagResourceCommand } from "./commands/TagResourceCommand";
24
24
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
25
25
  import { UpdateProfilingGroupCommand, } from "./commands/UpdateProfilingGroupCommand";
26
+ import { paginateGetFindingsReportAccountSummary } from "./pagination/GetFindingsReportAccountSummaryPaginator";
27
+ import { paginateListFindingsReports } from "./pagination/ListFindingsReportsPaginator";
28
+ import { paginateListProfileTimes } from "./pagination/ListProfileTimesPaginator";
29
+ import { paginateListProfilingGroups } from "./pagination/ListProfilingGroupsPaginator";
26
30
  const commands = {
27
31
  AddNotificationChannelsCommand,
28
32
  BatchGetFrameMetricDataCommand,
@@ -48,6 +52,12 @@ const commands = {
48
52
  UntagResourceCommand,
49
53
  UpdateProfilingGroupCommand,
50
54
  };
55
+ const paginators = {
56
+ paginateGetFindingsReportAccountSummary,
57
+ paginateListFindingsReports,
58
+ paginateListProfileTimes,
59
+ paginateListProfilingGroups,
60
+ };
51
61
  export class CodeGuruProfiler extends CodeGuruProfilerClient {
52
62
  }
53
- createAggregatedClient(commands, CodeGuruProfiler);
63
+ createAggregatedClient(commands, CodeGuruProfiler, { 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 { CodeGuruProfilerClient } from "./CodeGuruProfilerClient";
3
3
  import { AddNotificationChannelsCommandInput, AddNotificationChannelsCommandOutput } from "./commands/AddNotificationChannelsCommand";
4
4
  import { BatchGetFrameMetricDataCommandInput, BatchGetFrameMetricDataCommandOutput } from "./commands/BatchGetFrameMetricDataCommand";
@@ -164,6 +164,34 @@ export interface CodeGuruProfiler {
164
164
  updateProfilingGroup(args: UpdateProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProfilingGroupCommandOutput>;
165
165
  updateProfilingGroup(args: UpdateProfilingGroupCommandInput, cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void): void;
166
166
  updateProfilingGroup(args: UpdateProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void): void;
167
+ /**
168
+ * @see {@link GetFindingsReportAccountSummaryCommand}
169
+ * @param args - command input.
170
+ * @param paginationConfig - optional pagination config.
171
+ * @returns AsyncIterable of {@link GetFindingsReportAccountSummaryCommandOutput}.
172
+ */
173
+ paginateGetFindingsReportAccountSummary(args?: GetFindingsReportAccountSummaryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetFindingsReportAccountSummaryCommandOutput>;
174
+ /**
175
+ * @see {@link ListFindingsReportsCommand}
176
+ * @param args - command input.
177
+ * @param paginationConfig - optional pagination config.
178
+ * @returns AsyncIterable of {@link ListFindingsReportsCommandOutput}.
179
+ */
180
+ paginateListFindingsReports(args: ListFindingsReportsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFindingsReportsCommandOutput>;
181
+ /**
182
+ * @see {@link ListProfileTimesCommand}
183
+ * @param args - command input.
184
+ * @param paginationConfig - optional pagination config.
185
+ * @returns AsyncIterable of {@link ListProfileTimesCommandOutput}.
186
+ */
187
+ paginateListProfileTimes(args: ListProfileTimesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProfileTimesCommandOutput>;
188
+ /**
189
+ * @see {@link ListProfilingGroupsCommand}
190
+ * @param args - command input.
191
+ * @param paginationConfig - optional pagination config.
192
+ * @returns AsyncIterable of {@link ListProfilingGroupsCommandOutput}.
193
+ */
194
+ paginateListProfilingGroups(args?: ListProfilingGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProfilingGroupsCommandOutput>;
167
195
  }
168
196
  /**
169
197
  * <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 { CodeGuruProfilerClient } from "./CodeGuruProfilerClient";
3
7
  import {
4
8
  AddNotificationChannelsCommandInput,
@@ -394,6 +398,34 @@ export interface CodeGuruProfiler {
394
398
  options: __HttpHandlerOptions,
395
399
  cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void
396
400
  ): void;
401
+ paginateGetFindingsReportAccountSummary(
402
+ args?: GetFindingsReportAccountSummaryCommandInput,
403
+ paginationConfig?: Pick<
404
+ PaginationConfiguration,
405
+ Exclude<keyof PaginationConfiguration, "client">
406
+ >
407
+ ): Paginator<GetFindingsReportAccountSummaryCommandOutput>;
408
+ paginateListFindingsReports(
409
+ args: ListFindingsReportsCommandInput,
410
+ paginationConfig?: Pick<
411
+ PaginationConfiguration,
412
+ Exclude<keyof PaginationConfiguration, "client">
413
+ >
414
+ ): Paginator<ListFindingsReportsCommandOutput>;
415
+ paginateListProfileTimes(
416
+ args: ListProfileTimesCommandInput,
417
+ paginationConfig?: Pick<
418
+ PaginationConfiguration,
419
+ Exclude<keyof PaginationConfiguration, "client">
420
+ >
421
+ ): Paginator<ListProfileTimesCommandOutput>;
422
+ paginateListProfilingGroups(
423
+ args?: ListProfilingGroupsCommandInput,
424
+ paginationConfig?: Pick<
425
+ PaginationConfiguration,
426
+ Exclude<keyof PaginationConfiguration, "client">
427
+ >
428
+ ): Paginator<ListProfilingGroupsCommandOutput>;
397
429
  }
398
430
  export declare class CodeGuruProfiler
399
431
  extends CodeGuruProfilerClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeguruprofiler",
3
3
  "description": "AWS SDK for JavaScript Codeguruprofiler Client for Node.js, Browser and React Native",
4
- "version": "3.975.0",
4
+ "version": "3.980.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-codeguruprofiler",
@@ -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.1",
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.2",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
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",
24
+ "@aws-sdk/core": "^3.973.5",
25
+ "@aws-sdk/credential-provider-node": "^3.972.4",
26
+ "@aws-sdk/middleware-host-header": "^3.972.3",
27
+ "@aws-sdk/middleware-logger": "^3.972.3",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.5",
30
+ "@aws-sdk/region-config-resolver": "^3.972.3",
31
+ "@aws-sdk/types": "^3.973.1",
32
+ "@aws-sdk/util-endpoints": "3.980.0",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.3",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.1",
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.11",
42
- "@smithy/middleware-retry": "^4.4.27",
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.12",
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.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
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",