@aws-sdk/client-codeguruprofiler 3.1137.0 → 3.1138.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -425,10 +425,10 @@ const _uF = "userFeedback";
425
425
  const _v = "values";
426
426
  const _va = "value";
427
427
  const n0 = "com.amazonaws.codeguruprofiler";
428
- const _s_registry = TypeRegistry.for(_s);
428
+ const _s_registry = new TypeRegistry(_s);
429
429
  var CodeGuruProfilerServiceException$ = [-3, _s, "CodeGuruProfilerServiceException", 0, [], []];
430
430
  _s_registry.registerError(CodeGuruProfilerServiceException$, CodeGuruProfilerServiceException);
431
- const n0_registry = TypeRegistry.for(n0);
431
+ const n0_registry = new TypeRegistry(n0);
432
432
  var ConflictException$ = [-3, n0, _CE,
433
433
  { [_e]: _c, [_hE]: 409 },
434
434
  [_m],
@@ -212,10 +212,10 @@ const n0 = "com.amazonaws.codeguruprofiler";
212
212
  import { TypeRegistry } from "@smithy/core/schema";
213
213
  import { CodeGuruProfilerServiceException } from "../models/CodeGuruProfilerServiceException";
214
214
  import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
215
- const _s_registry = TypeRegistry.for(_s);
215
+ const _s_registry = new TypeRegistry(_s);
216
216
  export var CodeGuruProfilerServiceException$ = [-3, _s, "CodeGuruProfilerServiceException", 0, [], []];
217
217
  _s_registry.registerError(CodeGuruProfilerServiceException$, CodeGuruProfilerServiceException);
218
- const n0_registry = TypeRegistry.for(n0);
218
+ const n0_registry = new TypeRegistry(n0);
219
219
  export var ConflictException$ = [-3, n0, _CE,
220
220
  { [_e]: _c, [_hE]: 409 },
221
221
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { CodeGuruProfilerClient } from "./CodeGuruProfilerClient";
3
3
  import { type AddNotificationChannelsCommandInput, type AddNotificationChannelsCommandOutput } from "./commands/AddNotificationChannelsCommand";
4
4
  import { type BatchGetFrameMetricDataCommandInput, type BatchGetFrameMetricDataCommandOutput } from "./commands/BatchGetFrameMetricDataCommand";
@@ -23,147 +23,153 @@ import { type SubmitFeedbackCommandInput, type SubmitFeedbackCommandOutput } fro
23
23
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
24
24
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
25
25
  import { type UpdateProfilingGroupCommandInput, type UpdateProfilingGroupCommandOutput } from "./commands/UpdateProfilingGroupCommand";
26
+ /**
27
+ * @public
28
+ */
29
+ export interface CodeGuruProfilerRequestOptions extends __HttpHandlerOptions {
30
+ metricsRecorder?: __MetricsRecorder<unknown>;
31
+ }
26
32
  export interface CodeGuruProfiler {
27
33
  /**
28
34
  * @see {@link AddNotificationChannelsCommand}
29
35
  */
30
- addNotificationChannels(args: AddNotificationChannelsCommandInput, options?: __HttpHandlerOptions): Promise<AddNotificationChannelsCommandOutput>;
36
+ addNotificationChannels(args: AddNotificationChannelsCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<AddNotificationChannelsCommandOutput>;
31
37
  addNotificationChannels(args: AddNotificationChannelsCommandInput, cb: (err: any, data?: AddNotificationChannelsCommandOutput) => void): void;
32
- addNotificationChannels(args: AddNotificationChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddNotificationChannelsCommandOutput) => void): void;
38
+ addNotificationChannels(args: AddNotificationChannelsCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: AddNotificationChannelsCommandOutput) => void): void;
33
39
  /**
34
40
  * @see {@link BatchGetFrameMetricDataCommand}
35
41
  */
36
- batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetFrameMetricDataCommandOutput>;
42
+ batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<BatchGetFrameMetricDataCommandOutput>;
37
43
  batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, cb: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void): void;
38
- batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void): void;
44
+ batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void): void;
39
45
  /**
40
46
  * @see {@link ConfigureAgentCommand}
41
47
  */
42
- configureAgent(args: ConfigureAgentCommandInput, options?: __HttpHandlerOptions): Promise<ConfigureAgentCommandOutput>;
48
+ configureAgent(args: ConfigureAgentCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<ConfigureAgentCommandOutput>;
43
49
  configureAgent(args: ConfigureAgentCommandInput, cb: (err: any, data?: ConfigureAgentCommandOutput) => void): void;
44
- configureAgent(args: ConfigureAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfigureAgentCommandOutput) => void): void;
50
+ configureAgent(args: ConfigureAgentCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: ConfigureAgentCommandOutput) => void): void;
45
51
  /**
46
52
  * @see {@link CreateProfilingGroupCommand}
47
53
  */
48
- createProfilingGroup(args: CreateProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateProfilingGroupCommandOutput>;
54
+ createProfilingGroup(args: CreateProfilingGroupCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<CreateProfilingGroupCommandOutput>;
49
55
  createProfilingGroup(args: CreateProfilingGroupCommandInput, cb: (err: any, data?: CreateProfilingGroupCommandOutput) => void): void;
50
- createProfilingGroup(args: CreateProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProfilingGroupCommandOutput) => void): void;
56
+ createProfilingGroup(args: CreateProfilingGroupCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: CreateProfilingGroupCommandOutput) => void): void;
51
57
  /**
52
58
  * @see {@link DeleteProfilingGroupCommand}
53
59
  */
54
- deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProfilingGroupCommandOutput>;
60
+ deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<DeleteProfilingGroupCommandOutput>;
55
61
  deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, cb: (err: any, data?: DeleteProfilingGroupCommandOutput) => void): void;
56
- deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfilingGroupCommandOutput) => void): void;
62
+ deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: DeleteProfilingGroupCommandOutput) => void): void;
57
63
  /**
58
64
  * @see {@link DescribeProfilingGroupCommand}
59
65
  */
60
- describeProfilingGroup(args: DescribeProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProfilingGroupCommandOutput>;
66
+ describeProfilingGroup(args: DescribeProfilingGroupCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<DescribeProfilingGroupCommandOutput>;
61
67
  describeProfilingGroup(args: DescribeProfilingGroupCommandInput, cb: (err: any, data?: DescribeProfilingGroupCommandOutput) => void): void;
62
- describeProfilingGroup(args: DescribeProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProfilingGroupCommandOutput) => void): void;
68
+ describeProfilingGroup(args: DescribeProfilingGroupCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: DescribeProfilingGroupCommandOutput) => void): void;
63
69
  /**
64
70
  * @see {@link GetFindingsReportAccountSummaryCommand}
65
71
  */
66
72
  getFindingsReportAccountSummary(): Promise<GetFindingsReportAccountSummaryCommandOutput>;
67
- getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetFindingsReportAccountSummaryCommandOutput>;
73
+ getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<GetFindingsReportAccountSummaryCommandOutput>;
68
74
  getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, cb: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void): void;
69
- getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void): void;
75
+ getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link GetNotificationConfigurationCommand}
72
78
  */
73
- getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetNotificationConfigurationCommandOutput>;
79
+ getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<GetNotificationConfigurationCommandOutput>;
74
80
  getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void): void;
75
- getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void): void;
81
+ getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link GetPolicyCommand}
78
84
  */
79
- getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyCommandOutput>;
85
+ getPolicy(args: GetPolicyCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<GetPolicyCommandOutput>;
80
86
  getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
81
- getPolicy(args: GetPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
87
+ getPolicy(args: GetPolicyCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link GetProfileCommand}
84
90
  */
85
- getProfile(args: GetProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileCommandOutput>;
91
+ getProfile(args: GetProfileCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<GetProfileCommandOutput>;
86
92
  getProfile(args: GetProfileCommandInput, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
87
- getProfile(args: GetProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
93
+ getProfile(args: GetProfileCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link GetRecommendationsCommand}
90
96
  */
91
- getRecommendations(args: GetRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendationsCommandOutput>;
97
+ getRecommendations(args: GetRecommendationsCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<GetRecommendationsCommandOutput>;
92
98
  getRecommendations(args: GetRecommendationsCommandInput, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
93
- getRecommendations(args: GetRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
99
+ getRecommendations(args: GetRecommendationsCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link ListFindingsReportsCommand}
96
102
  */
97
- listFindingsReports(args: ListFindingsReportsCommandInput, options?: __HttpHandlerOptions): Promise<ListFindingsReportsCommandOutput>;
103
+ listFindingsReports(args: ListFindingsReportsCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<ListFindingsReportsCommandOutput>;
98
104
  listFindingsReports(args: ListFindingsReportsCommandInput, cb: (err: any, data?: ListFindingsReportsCommandOutput) => void): void;
99
- listFindingsReports(args: ListFindingsReportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsReportsCommandOutput) => void): void;
105
+ listFindingsReports(args: ListFindingsReportsCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: ListFindingsReportsCommandOutput) => void): void;
100
106
  /**
101
107
  * @see {@link ListProfileTimesCommand}
102
108
  */
103
- listProfileTimes(args: ListProfileTimesCommandInput, options?: __HttpHandlerOptions): Promise<ListProfileTimesCommandOutput>;
109
+ listProfileTimes(args: ListProfileTimesCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<ListProfileTimesCommandOutput>;
104
110
  listProfileTimes(args: ListProfileTimesCommandInput, cb: (err: any, data?: ListProfileTimesCommandOutput) => void): void;
105
- listProfileTimes(args: ListProfileTimesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfileTimesCommandOutput) => void): void;
111
+ listProfileTimes(args: ListProfileTimesCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: ListProfileTimesCommandOutput) => void): void;
106
112
  /**
107
113
  * @see {@link ListProfilingGroupsCommand}
108
114
  */
109
115
  listProfilingGroups(): Promise<ListProfilingGroupsCommandOutput>;
110
- listProfilingGroups(args: ListProfilingGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListProfilingGroupsCommandOutput>;
116
+ listProfilingGroups(args: ListProfilingGroupsCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<ListProfilingGroupsCommandOutput>;
111
117
  listProfilingGroups(args: ListProfilingGroupsCommandInput, cb: (err: any, data?: ListProfilingGroupsCommandOutput) => void): void;
112
- listProfilingGroups(args: ListProfilingGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfilingGroupsCommandOutput) => void): void;
118
+ listProfilingGroups(args: ListProfilingGroupsCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: ListProfilingGroupsCommandOutput) => void): void;
113
119
  /**
114
120
  * @see {@link ListTagsForResourceCommand}
115
121
  */
116
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
122
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<ListTagsForResourceCommandOutput>;
117
123
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
118
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
124
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
119
125
  /**
120
126
  * @see {@link PostAgentProfileCommand}
121
127
  */
122
- postAgentProfile(args: PostAgentProfileCommandInput, options?: __HttpHandlerOptions): Promise<PostAgentProfileCommandOutput>;
128
+ postAgentProfile(args: PostAgentProfileCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<PostAgentProfileCommandOutput>;
123
129
  postAgentProfile(args: PostAgentProfileCommandInput, cb: (err: any, data?: PostAgentProfileCommandOutput) => void): void;
124
- postAgentProfile(args: PostAgentProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostAgentProfileCommandOutput) => void): void;
130
+ postAgentProfile(args: PostAgentProfileCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: PostAgentProfileCommandOutput) => void): void;
125
131
  /**
126
132
  * @see {@link PutPermissionCommand}
127
133
  */
128
- putPermission(args: PutPermissionCommandInput, options?: __HttpHandlerOptions): Promise<PutPermissionCommandOutput>;
134
+ putPermission(args: PutPermissionCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<PutPermissionCommandOutput>;
129
135
  putPermission(args: PutPermissionCommandInput, cb: (err: any, data?: PutPermissionCommandOutput) => void): void;
130
- putPermission(args: PutPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPermissionCommandOutput) => void): void;
136
+ putPermission(args: PutPermissionCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: PutPermissionCommandOutput) => void): void;
131
137
  /**
132
138
  * @see {@link RemoveNotificationChannelCommand}
133
139
  */
134
- removeNotificationChannel(args: RemoveNotificationChannelCommandInput, options?: __HttpHandlerOptions): Promise<RemoveNotificationChannelCommandOutput>;
140
+ removeNotificationChannel(args: RemoveNotificationChannelCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<RemoveNotificationChannelCommandOutput>;
135
141
  removeNotificationChannel(args: RemoveNotificationChannelCommandInput, cb: (err: any, data?: RemoveNotificationChannelCommandOutput) => void): void;
136
- removeNotificationChannel(args: RemoveNotificationChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveNotificationChannelCommandOutput) => void): void;
142
+ removeNotificationChannel(args: RemoveNotificationChannelCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: RemoveNotificationChannelCommandOutput) => void): void;
137
143
  /**
138
144
  * @see {@link RemovePermissionCommand}
139
145
  */
140
- removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemovePermissionCommandOutput>;
146
+ removePermission(args: RemovePermissionCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<RemovePermissionCommandOutput>;
141
147
  removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
142
- removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
148
+ removePermission(args: RemovePermissionCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
143
149
  /**
144
150
  * @see {@link SubmitFeedbackCommand}
145
151
  */
146
- submitFeedback(args: SubmitFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<SubmitFeedbackCommandOutput>;
152
+ submitFeedback(args: SubmitFeedbackCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<SubmitFeedbackCommandOutput>;
147
153
  submitFeedback(args: SubmitFeedbackCommandInput, cb: (err: any, data?: SubmitFeedbackCommandOutput) => void): void;
148
- submitFeedback(args: SubmitFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitFeedbackCommandOutput) => void): void;
154
+ submitFeedback(args: SubmitFeedbackCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: SubmitFeedbackCommandOutput) => void): void;
149
155
  /**
150
156
  * @see {@link TagResourceCommand}
151
157
  */
152
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
158
+ tagResource(args: TagResourceCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<TagResourceCommandOutput>;
153
159
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
154
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
160
+ tagResource(args: TagResourceCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
155
161
  /**
156
162
  * @see {@link UntagResourceCommand}
157
163
  */
158
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
164
+ untagResource(args: UntagResourceCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<UntagResourceCommandOutput>;
159
165
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
160
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
166
+ untagResource(args: UntagResourceCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
161
167
  /**
162
168
  * @see {@link UpdateProfilingGroupCommand}
163
169
  */
164
- updateProfilingGroup(args: UpdateProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProfilingGroupCommandOutput>;
170
+ updateProfilingGroup(args: UpdateProfilingGroupCommandInput, options?: CodeGuruProfilerRequestOptions): Promise<UpdateProfilingGroupCommandOutput>;
165
171
  updateProfilingGroup(args: UpdateProfilingGroupCommandInput, cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void): void;
166
- updateProfilingGroup(args: UpdateProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void): void;
172
+ updateProfilingGroup(args: UpdateProfilingGroupCommandInput, options: CodeGuruProfilerRequestOptions, cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void): void;
167
173
  /**
168
174
  * @see {@link GetFindingsReportAccountSummaryCommand}
169
175
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -87,10 +88,13 @@ import {
87
88
  UpdateProfilingGroupCommandInput,
88
89
  UpdateProfilingGroupCommandOutput,
89
90
  } from "./commands/UpdateProfilingGroupCommand";
91
+ export interface CodeGuruProfilerRequestOptions extends __HttpHandlerOptions {
92
+ metricsRecorder?: __MetricsRecorder<unknown>;
93
+ }
90
94
  export interface CodeGuruProfiler {
91
95
  addNotificationChannels(
92
96
  args: AddNotificationChannelsCommandInput,
93
- options?: __HttpHandlerOptions,
97
+ options?: CodeGuruProfilerRequestOptions,
94
98
  ): Promise<AddNotificationChannelsCommandOutput>;
95
99
  addNotificationChannels(
96
100
  args: AddNotificationChannelsCommandInput,
@@ -98,12 +102,12 @@ export interface CodeGuruProfiler {
98
102
  ): void;
99
103
  addNotificationChannels(
100
104
  args: AddNotificationChannelsCommandInput,
101
- options: __HttpHandlerOptions,
105
+ options: CodeGuruProfilerRequestOptions,
102
106
  cb: (err: any, data?: AddNotificationChannelsCommandOutput) => void,
103
107
  ): void;
104
108
  batchGetFrameMetricData(
105
109
  args: BatchGetFrameMetricDataCommandInput,
106
- options?: __HttpHandlerOptions,
110
+ options?: CodeGuruProfilerRequestOptions,
107
111
  ): Promise<BatchGetFrameMetricDataCommandOutput>;
108
112
  batchGetFrameMetricData(
109
113
  args: BatchGetFrameMetricDataCommandInput,
@@ -111,12 +115,12 @@ export interface CodeGuruProfiler {
111
115
  ): void;
112
116
  batchGetFrameMetricData(
113
117
  args: BatchGetFrameMetricDataCommandInput,
114
- options: __HttpHandlerOptions,
118
+ options: CodeGuruProfilerRequestOptions,
115
119
  cb: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void,
116
120
  ): void;
117
121
  configureAgent(
118
122
  args: ConfigureAgentCommandInput,
119
- options?: __HttpHandlerOptions,
123
+ options?: CodeGuruProfilerRequestOptions,
120
124
  ): Promise<ConfigureAgentCommandOutput>;
121
125
  configureAgent(
122
126
  args: ConfigureAgentCommandInput,
@@ -124,12 +128,12 @@ export interface CodeGuruProfiler {
124
128
  ): void;
125
129
  configureAgent(
126
130
  args: ConfigureAgentCommandInput,
127
- options: __HttpHandlerOptions,
131
+ options: CodeGuruProfilerRequestOptions,
128
132
  cb: (err: any, data?: ConfigureAgentCommandOutput) => void,
129
133
  ): void;
130
134
  createProfilingGroup(
131
135
  args: CreateProfilingGroupCommandInput,
132
- options?: __HttpHandlerOptions,
136
+ options?: CodeGuruProfilerRequestOptions,
133
137
  ): Promise<CreateProfilingGroupCommandOutput>;
134
138
  createProfilingGroup(
135
139
  args: CreateProfilingGroupCommandInput,
@@ -137,12 +141,12 @@ export interface CodeGuruProfiler {
137
141
  ): void;
138
142
  createProfilingGroup(
139
143
  args: CreateProfilingGroupCommandInput,
140
- options: __HttpHandlerOptions,
144
+ options: CodeGuruProfilerRequestOptions,
141
145
  cb: (err: any, data?: CreateProfilingGroupCommandOutput) => void,
142
146
  ): void;
143
147
  deleteProfilingGroup(
144
148
  args: DeleteProfilingGroupCommandInput,
145
- options?: __HttpHandlerOptions,
149
+ options?: CodeGuruProfilerRequestOptions,
146
150
  ): Promise<DeleteProfilingGroupCommandOutput>;
147
151
  deleteProfilingGroup(
148
152
  args: DeleteProfilingGroupCommandInput,
@@ -150,12 +154,12 @@ export interface CodeGuruProfiler {
150
154
  ): void;
151
155
  deleteProfilingGroup(
152
156
  args: DeleteProfilingGroupCommandInput,
153
- options: __HttpHandlerOptions,
157
+ options: CodeGuruProfilerRequestOptions,
154
158
  cb: (err: any, data?: DeleteProfilingGroupCommandOutput) => void,
155
159
  ): void;
156
160
  describeProfilingGroup(
157
161
  args: DescribeProfilingGroupCommandInput,
158
- options?: __HttpHandlerOptions,
162
+ options?: CodeGuruProfilerRequestOptions,
159
163
  ): Promise<DescribeProfilingGroupCommandOutput>;
160
164
  describeProfilingGroup(
161
165
  args: DescribeProfilingGroupCommandInput,
@@ -163,13 +167,13 @@ export interface CodeGuruProfiler {
163
167
  ): void;
164
168
  describeProfilingGroup(
165
169
  args: DescribeProfilingGroupCommandInput,
166
- options: __HttpHandlerOptions,
170
+ options: CodeGuruProfilerRequestOptions,
167
171
  cb: (err: any, data?: DescribeProfilingGroupCommandOutput) => void,
168
172
  ): void;
169
173
  getFindingsReportAccountSummary(): Promise<GetFindingsReportAccountSummaryCommandOutput>;
170
174
  getFindingsReportAccountSummary(
171
175
  args: GetFindingsReportAccountSummaryCommandInput,
172
- options?: __HttpHandlerOptions,
176
+ options?: CodeGuruProfilerRequestOptions,
173
177
  ): Promise<GetFindingsReportAccountSummaryCommandOutput>;
174
178
  getFindingsReportAccountSummary(
175
179
  args: GetFindingsReportAccountSummaryCommandInput,
@@ -177,12 +181,12 @@ export interface CodeGuruProfiler {
177
181
  ): void;
178
182
  getFindingsReportAccountSummary(
179
183
  args: GetFindingsReportAccountSummaryCommandInput,
180
- options: __HttpHandlerOptions,
184
+ options: CodeGuruProfilerRequestOptions,
181
185
  cb: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void,
182
186
  ): void;
183
187
  getNotificationConfiguration(
184
188
  args: GetNotificationConfigurationCommandInput,
185
- options?: __HttpHandlerOptions,
189
+ options?: CodeGuruProfilerRequestOptions,
186
190
  ): Promise<GetNotificationConfigurationCommandOutput>;
187
191
  getNotificationConfiguration(
188
192
  args: GetNotificationConfigurationCommandInput,
@@ -190,12 +194,12 @@ export interface CodeGuruProfiler {
190
194
  ): void;
191
195
  getNotificationConfiguration(
192
196
  args: GetNotificationConfigurationCommandInput,
193
- options: __HttpHandlerOptions,
197
+ options: CodeGuruProfilerRequestOptions,
194
198
  cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void,
195
199
  ): void;
196
200
  getPolicy(
197
201
  args: GetPolicyCommandInput,
198
- options?: __HttpHandlerOptions,
202
+ options?: CodeGuruProfilerRequestOptions,
199
203
  ): Promise<GetPolicyCommandOutput>;
200
204
  getPolicy(
201
205
  args: GetPolicyCommandInput,
@@ -203,12 +207,12 @@ export interface CodeGuruProfiler {
203
207
  ): void;
204
208
  getPolicy(
205
209
  args: GetPolicyCommandInput,
206
- options: __HttpHandlerOptions,
210
+ options: CodeGuruProfilerRequestOptions,
207
211
  cb: (err: any, data?: GetPolicyCommandOutput) => void,
208
212
  ): void;
209
213
  getProfile(
210
214
  args: GetProfileCommandInput,
211
- options?: __HttpHandlerOptions,
215
+ options?: CodeGuruProfilerRequestOptions,
212
216
  ): Promise<GetProfileCommandOutput>;
213
217
  getProfile(
214
218
  args: GetProfileCommandInput,
@@ -216,12 +220,12 @@ export interface CodeGuruProfiler {
216
220
  ): void;
217
221
  getProfile(
218
222
  args: GetProfileCommandInput,
219
- options: __HttpHandlerOptions,
223
+ options: CodeGuruProfilerRequestOptions,
220
224
  cb: (err: any, data?: GetProfileCommandOutput) => void,
221
225
  ): void;
222
226
  getRecommendations(
223
227
  args: GetRecommendationsCommandInput,
224
- options?: __HttpHandlerOptions,
228
+ options?: CodeGuruProfilerRequestOptions,
225
229
  ): Promise<GetRecommendationsCommandOutput>;
226
230
  getRecommendations(
227
231
  args: GetRecommendationsCommandInput,
@@ -229,12 +233,12 @@ export interface CodeGuruProfiler {
229
233
  ): void;
230
234
  getRecommendations(
231
235
  args: GetRecommendationsCommandInput,
232
- options: __HttpHandlerOptions,
236
+ options: CodeGuruProfilerRequestOptions,
233
237
  cb: (err: any, data?: GetRecommendationsCommandOutput) => void,
234
238
  ): void;
235
239
  listFindingsReports(
236
240
  args: ListFindingsReportsCommandInput,
237
- options?: __HttpHandlerOptions,
241
+ options?: CodeGuruProfilerRequestOptions,
238
242
  ): Promise<ListFindingsReportsCommandOutput>;
239
243
  listFindingsReports(
240
244
  args: ListFindingsReportsCommandInput,
@@ -242,12 +246,12 @@ export interface CodeGuruProfiler {
242
246
  ): void;
243
247
  listFindingsReports(
244
248
  args: ListFindingsReportsCommandInput,
245
- options: __HttpHandlerOptions,
249
+ options: CodeGuruProfilerRequestOptions,
246
250
  cb: (err: any, data?: ListFindingsReportsCommandOutput) => void,
247
251
  ): void;
248
252
  listProfileTimes(
249
253
  args: ListProfileTimesCommandInput,
250
- options?: __HttpHandlerOptions,
254
+ options?: CodeGuruProfilerRequestOptions,
251
255
  ): Promise<ListProfileTimesCommandOutput>;
252
256
  listProfileTimes(
253
257
  args: ListProfileTimesCommandInput,
@@ -255,13 +259,13 @@ export interface CodeGuruProfiler {
255
259
  ): void;
256
260
  listProfileTimes(
257
261
  args: ListProfileTimesCommandInput,
258
- options: __HttpHandlerOptions,
262
+ options: CodeGuruProfilerRequestOptions,
259
263
  cb: (err: any, data?: ListProfileTimesCommandOutput) => void,
260
264
  ): void;
261
265
  listProfilingGroups(): Promise<ListProfilingGroupsCommandOutput>;
262
266
  listProfilingGroups(
263
267
  args: ListProfilingGroupsCommandInput,
264
- options?: __HttpHandlerOptions,
268
+ options?: CodeGuruProfilerRequestOptions,
265
269
  ): Promise<ListProfilingGroupsCommandOutput>;
266
270
  listProfilingGroups(
267
271
  args: ListProfilingGroupsCommandInput,
@@ -269,12 +273,12 @@ export interface CodeGuruProfiler {
269
273
  ): void;
270
274
  listProfilingGroups(
271
275
  args: ListProfilingGroupsCommandInput,
272
- options: __HttpHandlerOptions,
276
+ options: CodeGuruProfilerRequestOptions,
273
277
  cb: (err: any, data?: ListProfilingGroupsCommandOutput) => void,
274
278
  ): void;
275
279
  listTagsForResource(
276
280
  args: ListTagsForResourceCommandInput,
277
- options?: __HttpHandlerOptions,
281
+ options?: CodeGuruProfilerRequestOptions,
278
282
  ): Promise<ListTagsForResourceCommandOutput>;
279
283
  listTagsForResource(
280
284
  args: ListTagsForResourceCommandInput,
@@ -282,12 +286,12 @@ export interface CodeGuruProfiler {
282
286
  ): void;
283
287
  listTagsForResource(
284
288
  args: ListTagsForResourceCommandInput,
285
- options: __HttpHandlerOptions,
289
+ options: CodeGuruProfilerRequestOptions,
286
290
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
287
291
  ): void;
288
292
  postAgentProfile(
289
293
  args: PostAgentProfileCommandInput,
290
- options?: __HttpHandlerOptions,
294
+ options?: CodeGuruProfilerRequestOptions,
291
295
  ): Promise<PostAgentProfileCommandOutput>;
292
296
  postAgentProfile(
293
297
  args: PostAgentProfileCommandInput,
@@ -295,12 +299,12 @@ export interface CodeGuruProfiler {
295
299
  ): void;
296
300
  postAgentProfile(
297
301
  args: PostAgentProfileCommandInput,
298
- options: __HttpHandlerOptions,
302
+ options: CodeGuruProfilerRequestOptions,
299
303
  cb: (err: any, data?: PostAgentProfileCommandOutput) => void,
300
304
  ): void;
301
305
  putPermission(
302
306
  args: PutPermissionCommandInput,
303
- options?: __HttpHandlerOptions,
307
+ options?: CodeGuruProfilerRequestOptions,
304
308
  ): Promise<PutPermissionCommandOutput>;
305
309
  putPermission(
306
310
  args: PutPermissionCommandInput,
@@ -308,12 +312,12 @@ export interface CodeGuruProfiler {
308
312
  ): void;
309
313
  putPermission(
310
314
  args: PutPermissionCommandInput,
311
- options: __HttpHandlerOptions,
315
+ options: CodeGuruProfilerRequestOptions,
312
316
  cb: (err: any, data?: PutPermissionCommandOutput) => void,
313
317
  ): void;
314
318
  removeNotificationChannel(
315
319
  args: RemoveNotificationChannelCommandInput,
316
- options?: __HttpHandlerOptions,
320
+ options?: CodeGuruProfilerRequestOptions,
317
321
  ): Promise<RemoveNotificationChannelCommandOutput>;
318
322
  removeNotificationChannel(
319
323
  args: RemoveNotificationChannelCommandInput,
@@ -321,12 +325,12 @@ export interface CodeGuruProfiler {
321
325
  ): void;
322
326
  removeNotificationChannel(
323
327
  args: RemoveNotificationChannelCommandInput,
324
- options: __HttpHandlerOptions,
328
+ options: CodeGuruProfilerRequestOptions,
325
329
  cb: (err: any, data?: RemoveNotificationChannelCommandOutput) => void,
326
330
  ): void;
327
331
  removePermission(
328
332
  args: RemovePermissionCommandInput,
329
- options?: __HttpHandlerOptions,
333
+ options?: CodeGuruProfilerRequestOptions,
330
334
  ): Promise<RemovePermissionCommandOutput>;
331
335
  removePermission(
332
336
  args: RemovePermissionCommandInput,
@@ -334,12 +338,12 @@ export interface CodeGuruProfiler {
334
338
  ): void;
335
339
  removePermission(
336
340
  args: RemovePermissionCommandInput,
337
- options: __HttpHandlerOptions,
341
+ options: CodeGuruProfilerRequestOptions,
338
342
  cb: (err: any, data?: RemovePermissionCommandOutput) => void,
339
343
  ): void;
340
344
  submitFeedback(
341
345
  args: SubmitFeedbackCommandInput,
342
- options?: __HttpHandlerOptions,
346
+ options?: CodeGuruProfilerRequestOptions,
343
347
  ): Promise<SubmitFeedbackCommandOutput>;
344
348
  submitFeedback(
345
349
  args: SubmitFeedbackCommandInput,
@@ -347,12 +351,12 @@ export interface CodeGuruProfiler {
347
351
  ): void;
348
352
  submitFeedback(
349
353
  args: SubmitFeedbackCommandInput,
350
- options: __HttpHandlerOptions,
354
+ options: CodeGuruProfilerRequestOptions,
351
355
  cb: (err: any, data?: SubmitFeedbackCommandOutput) => void,
352
356
  ): void;
353
357
  tagResource(
354
358
  args: TagResourceCommandInput,
355
- options?: __HttpHandlerOptions,
359
+ options?: CodeGuruProfilerRequestOptions,
356
360
  ): Promise<TagResourceCommandOutput>;
357
361
  tagResource(
358
362
  args: TagResourceCommandInput,
@@ -360,12 +364,12 @@ export interface CodeGuruProfiler {
360
364
  ): void;
361
365
  tagResource(
362
366
  args: TagResourceCommandInput,
363
- options: __HttpHandlerOptions,
367
+ options: CodeGuruProfilerRequestOptions,
364
368
  cb: (err: any, data?: TagResourceCommandOutput) => void,
365
369
  ): void;
366
370
  untagResource(
367
371
  args: UntagResourceCommandInput,
368
- options?: __HttpHandlerOptions,
372
+ options?: CodeGuruProfilerRequestOptions,
369
373
  ): Promise<UntagResourceCommandOutput>;
370
374
  untagResource(
371
375
  args: UntagResourceCommandInput,
@@ -373,12 +377,12 @@ export interface CodeGuruProfiler {
373
377
  ): void;
374
378
  untagResource(
375
379
  args: UntagResourceCommandInput,
376
- options: __HttpHandlerOptions,
380
+ options: CodeGuruProfilerRequestOptions,
377
381
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
378
382
  ): void;
379
383
  updateProfilingGroup(
380
384
  args: UpdateProfilingGroupCommandInput,
381
- options?: __HttpHandlerOptions,
385
+ options?: CodeGuruProfilerRequestOptions,
382
386
  ): Promise<UpdateProfilingGroupCommandOutput>;
383
387
  updateProfilingGroup(
384
388
  args: UpdateProfilingGroupCommandInput,
@@ -386,7 +390,7 @@ export interface CodeGuruProfiler {
386
390
  ): void;
387
391
  updateProfilingGroup(
388
392
  args: UpdateProfilingGroupCommandInput,
389
- options: __HttpHandlerOptions,
393
+ options: CodeGuruProfilerRequestOptions,
390
394
  cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void,
391
395
  ): void;
392
396
  paginateGetFindingsReportAccountSummary(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeguruprofiler",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Codeguruprofiler Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-codeguruprofiler",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {