@aws-sdk/client-application-insights 3.1137.0 → 3.1139.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.1138.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -495,10 +495,10 @@ const _hE = "httpError";
495
495
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.applicationinsights";
496
496
  const _se = "server";
497
497
  const n0 = "com.amazonaws.applicationinsights";
498
- const _s_registry = TypeRegistry.for(_s);
498
+ const _s_registry = new TypeRegistry(_s);
499
499
  var ApplicationInsightsServiceException$ = [-3, _s, "ApplicationInsightsServiceException", 0, [], []];
500
500
  _s_registry.registerError(ApplicationInsightsServiceException$, ApplicationInsightsServiceException);
501
- const n0_registry = TypeRegistry.for(n0);
501
+ const n0_registry = new TypeRegistry(n0);
502
502
  var AccessDeniedException$ = [-3, n0, _ADE,
503
503
  { [_aQE]: [`AccessDeniedException`, 403], [_e]: _c, [_hE]: 403 },
504
504
  [_M],
@@ -243,10 +243,10 @@ const n0 = "com.amazonaws.applicationinsights";
243
243
  import { TypeRegistry } from "@smithy/core/schema";
244
244
  import { ApplicationInsightsServiceException } from "../models/ApplicationInsightsServiceException";
245
245
  import { AccessDeniedException, BadRequestException, InternalServerException, ResourceInUseException, ResourceNotFoundException, TagsAlreadyExistException, TooManyTagsException, ValidationException, } from "../models/errors";
246
- const _s_registry = TypeRegistry.for(_s);
246
+ const _s_registry = new TypeRegistry(_s);
247
247
  export var ApplicationInsightsServiceException$ = [-3, _s, "ApplicationInsightsServiceException", 0, [], []];
248
248
  _s_registry.registerError(ApplicationInsightsServiceException$, ApplicationInsightsServiceException);
249
- const n0_registry = TypeRegistry.for(n0);
249
+ const n0_registry = new TypeRegistry(n0);
250
250
  export var AccessDeniedException$ = [-3, n0, _ADE,
251
251
  { [_aQE]: [`AccessDeniedException`, 403], [_e]: _c, [_hE]: 403 },
252
252
  [_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 { ApplicationInsightsClient } from "./ApplicationInsightsClient";
3
3
  import { type AddWorkloadCommandInput, type AddWorkloadCommandOutput } from "./commands/AddWorkloadCommand";
4
4
  import { type CreateApplicationCommandInput, type CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
@@ -33,209 +33,215 @@ import { type UpdateComponentConfigurationCommandInput, type UpdateComponentConf
33
33
  import { type UpdateLogPatternCommandInput, type UpdateLogPatternCommandOutput } from "./commands/UpdateLogPatternCommand";
34
34
  import { type UpdateProblemCommandInput, type UpdateProblemCommandOutput } from "./commands/UpdateProblemCommand";
35
35
  import { type UpdateWorkloadCommandInput, type UpdateWorkloadCommandOutput } from "./commands/UpdateWorkloadCommand";
36
+ /**
37
+ * @public
38
+ */
39
+ export interface ApplicationInsightsRequestOptions extends __HttpHandlerOptions {
40
+ metricsRecorder?: __MetricsRecorder<unknown>;
41
+ }
36
42
  export interface ApplicationInsights {
37
43
  /**
38
44
  * @see {@link AddWorkloadCommand}
39
45
  */
40
- addWorkload(args: AddWorkloadCommandInput, options?: __HttpHandlerOptions): Promise<AddWorkloadCommandOutput>;
46
+ addWorkload(args: AddWorkloadCommandInput, options?: ApplicationInsightsRequestOptions): Promise<AddWorkloadCommandOutput>;
41
47
  addWorkload(args: AddWorkloadCommandInput, cb: (err: any, data?: AddWorkloadCommandOutput) => void): void;
42
- addWorkload(args: AddWorkloadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddWorkloadCommandOutput) => void): void;
48
+ addWorkload(args: AddWorkloadCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: AddWorkloadCommandOutput) => void): void;
43
49
  /**
44
50
  * @see {@link CreateApplicationCommand}
45
51
  */
46
52
  createApplication(): Promise<CreateApplicationCommandOutput>;
47
- createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
53
+ createApplication(args: CreateApplicationCommandInput, options?: ApplicationInsightsRequestOptions): Promise<CreateApplicationCommandOutput>;
48
54
  createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
49
- createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
55
+ createApplication(args: CreateApplicationCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
50
56
  /**
51
57
  * @see {@link CreateComponentCommand}
52
58
  */
53
- createComponent(args: CreateComponentCommandInput, options?: __HttpHandlerOptions): Promise<CreateComponentCommandOutput>;
59
+ createComponent(args: CreateComponentCommandInput, options?: ApplicationInsightsRequestOptions): Promise<CreateComponentCommandOutput>;
54
60
  createComponent(args: CreateComponentCommandInput, cb: (err: any, data?: CreateComponentCommandOutput) => void): void;
55
- createComponent(args: CreateComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateComponentCommandOutput) => void): void;
61
+ createComponent(args: CreateComponentCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: CreateComponentCommandOutput) => void): void;
56
62
  /**
57
63
  * @see {@link CreateLogPatternCommand}
58
64
  */
59
- createLogPattern(args: CreateLogPatternCommandInput, options?: __HttpHandlerOptions): Promise<CreateLogPatternCommandOutput>;
65
+ createLogPattern(args: CreateLogPatternCommandInput, options?: ApplicationInsightsRequestOptions): Promise<CreateLogPatternCommandOutput>;
60
66
  createLogPattern(args: CreateLogPatternCommandInput, cb: (err: any, data?: CreateLogPatternCommandOutput) => void): void;
61
- createLogPattern(args: CreateLogPatternCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLogPatternCommandOutput) => void): void;
67
+ createLogPattern(args: CreateLogPatternCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: CreateLogPatternCommandOutput) => void): void;
62
68
  /**
63
69
  * @see {@link DeleteApplicationCommand}
64
70
  */
65
- deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
71
+ deleteApplication(args: DeleteApplicationCommandInput, options?: ApplicationInsightsRequestOptions): Promise<DeleteApplicationCommandOutput>;
66
72
  deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
67
- deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
73
+ deleteApplication(args: DeleteApplicationCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
68
74
  /**
69
75
  * @see {@link DeleteComponentCommand}
70
76
  */
71
- deleteComponent(args: DeleteComponentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteComponentCommandOutput>;
77
+ deleteComponent(args: DeleteComponentCommandInput, options?: ApplicationInsightsRequestOptions): Promise<DeleteComponentCommandOutput>;
72
78
  deleteComponent(args: DeleteComponentCommandInput, cb: (err: any, data?: DeleteComponentCommandOutput) => void): void;
73
- deleteComponent(args: DeleteComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteComponentCommandOutput) => void): void;
79
+ deleteComponent(args: DeleteComponentCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: DeleteComponentCommandOutput) => void): void;
74
80
  /**
75
81
  * @see {@link DeleteLogPatternCommand}
76
82
  */
77
- deleteLogPattern(args: DeleteLogPatternCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLogPatternCommandOutput>;
83
+ deleteLogPattern(args: DeleteLogPatternCommandInput, options?: ApplicationInsightsRequestOptions): Promise<DeleteLogPatternCommandOutput>;
78
84
  deleteLogPattern(args: DeleteLogPatternCommandInput, cb: (err: any, data?: DeleteLogPatternCommandOutput) => void): void;
79
- deleteLogPattern(args: DeleteLogPatternCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLogPatternCommandOutput) => void): void;
85
+ deleteLogPattern(args: DeleteLogPatternCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: DeleteLogPatternCommandOutput) => void): void;
80
86
  /**
81
87
  * @see {@link DescribeApplicationCommand}
82
88
  */
83
- describeApplication(args: DescribeApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeApplicationCommandOutput>;
89
+ describeApplication(args: DescribeApplicationCommandInput, options?: ApplicationInsightsRequestOptions): Promise<DescribeApplicationCommandOutput>;
84
90
  describeApplication(args: DescribeApplicationCommandInput, cb: (err: any, data?: DescribeApplicationCommandOutput) => void): void;
85
- describeApplication(args: DescribeApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeApplicationCommandOutput) => void): void;
91
+ describeApplication(args: DescribeApplicationCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: DescribeApplicationCommandOutput) => void): void;
86
92
  /**
87
93
  * @see {@link DescribeComponentCommand}
88
94
  */
89
- describeComponent(args: DescribeComponentCommandInput, options?: __HttpHandlerOptions): Promise<DescribeComponentCommandOutput>;
95
+ describeComponent(args: DescribeComponentCommandInput, options?: ApplicationInsightsRequestOptions): Promise<DescribeComponentCommandOutput>;
90
96
  describeComponent(args: DescribeComponentCommandInput, cb: (err: any, data?: DescribeComponentCommandOutput) => void): void;
91
- describeComponent(args: DescribeComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeComponentCommandOutput) => void): void;
97
+ describeComponent(args: DescribeComponentCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: DescribeComponentCommandOutput) => void): void;
92
98
  /**
93
99
  * @see {@link DescribeComponentConfigurationCommand}
94
100
  */
95
- describeComponentConfiguration(args: DescribeComponentConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeComponentConfigurationCommandOutput>;
101
+ describeComponentConfiguration(args: DescribeComponentConfigurationCommandInput, options?: ApplicationInsightsRequestOptions): Promise<DescribeComponentConfigurationCommandOutput>;
96
102
  describeComponentConfiguration(args: DescribeComponentConfigurationCommandInput, cb: (err: any, data?: DescribeComponentConfigurationCommandOutput) => void): void;
97
- describeComponentConfiguration(args: DescribeComponentConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeComponentConfigurationCommandOutput) => void): void;
103
+ describeComponentConfiguration(args: DescribeComponentConfigurationCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: DescribeComponentConfigurationCommandOutput) => void): void;
98
104
  /**
99
105
  * @see {@link DescribeComponentConfigurationRecommendationCommand}
100
106
  */
101
- describeComponentConfigurationRecommendation(args: DescribeComponentConfigurationRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeComponentConfigurationRecommendationCommandOutput>;
107
+ describeComponentConfigurationRecommendation(args: DescribeComponentConfigurationRecommendationCommandInput, options?: ApplicationInsightsRequestOptions): Promise<DescribeComponentConfigurationRecommendationCommandOutput>;
102
108
  describeComponentConfigurationRecommendation(args: DescribeComponentConfigurationRecommendationCommandInput, cb: (err: any, data?: DescribeComponentConfigurationRecommendationCommandOutput) => void): void;
103
- describeComponentConfigurationRecommendation(args: DescribeComponentConfigurationRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeComponentConfigurationRecommendationCommandOutput) => void): void;
109
+ describeComponentConfigurationRecommendation(args: DescribeComponentConfigurationRecommendationCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: DescribeComponentConfigurationRecommendationCommandOutput) => void): void;
104
110
  /**
105
111
  * @see {@link DescribeLogPatternCommand}
106
112
  */
107
- describeLogPattern(args: DescribeLogPatternCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLogPatternCommandOutput>;
113
+ describeLogPattern(args: DescribeLogPatternCommandInput, options?: ApplicationInsightsRequestOptions): Promise<DescribeLogPatternCommandOutput>;
108
114
  describeLogPattern(args: DescribeLogPatternCommandInput, cb: (err: any, data?: DescribeLogPatternCommandOutput) => void): void;
109
- describeLogPattern(args: DescribeLogPatternCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLogPatternCommandOutput) => void): void;
115
+ describeLogPattern(args: DescribeLogPatternCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: DescribeLogPatternCommandOutput) => void): void;
110
116
  /**
111
117
  * @see {@link DescribeObservationCommand}
112
118
  */
113
- describeObservation(args: DescribeObservationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeObservationCommandOutput>;
119
+ describeObservation(args: DescribeObservationCommandInput, options?: ApplicationInsightsRequestOptions): Promise<DescribeObservationCommandOutput>;
114
120
  describeObservation(args: DescribeObservationCommandInput, cb: (err: any, data?: DescribeObservationCommandOutput) => void): void;
115
- describeObservation(args: DescribeObservationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeObservationCommandOutput) => void): void;
121
+ describeObservation(args: DescribeObservationCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: DescribeObservationCommandOutput) => void): void;
116
122
  /**
117
123
  * @see {@link DescribeProblemCommand}
118
124
  */
119
- describeProblem(args: DescribeProblemCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProblemCommandOutput>;
125
+ describeProblem(args: DescribeProblemCommandInput, options?: ApplicationInsightsRequestOptions): Promise<DescribeProblemCommandOutput>;
120
126
  describeProblem(args: DescribeProblemCommandInput, cb: (err: any, data?: DescribeProblemCommandOutput) => void): void;
121
- describeProblem(args: DescribeProblemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProblemCommandOutput) => void): void;
127
+ describeProblem(args: DescribeProblemCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: DescribeProblemCommandOutput) => void): void;
122
128
  /**
123
129
  * @see {@link DescribeProblemObservationsCommand}
124
130
  */
125
- describeProblemObservations(args: DescribeProblemObservationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProblemObservationsCommandOutput>;
131
+ describeProblemObservations(args: DescribeProblemObservationsCommandInput, options?: ApplicationInsightsRequestOptions): Promise<DescribeProblemObservationsCommandOutput>;
126
132
  describeProblemObservations(args: DescribeProblemObservationsCommandInput, cb: (err: any, data?: DescribeProblemObservationsCommandOutput) => void): void;
127
- describeProblemObservations(args: DescribeProblemObservationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProblemObservationsCommandOutput) => void): void;
133
+ describeProblemObservations(args: DescribeProblemObservationsCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: DescribeProblemObservationsCommandOutput) => void): void;
128
134
  /**
129
135
  * @see {@link DescribeWorkloadCommand}
130
136
  */
131
- describeWorkload(args: DescribeWorkloadCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkloadCommandOutput>;
137
+ describeWorkload(args: DescribeWorkloadCommandInput, options?: ApplicationInsightsRequestOptions): Promise<DescribeWorkloadCommandOutput>;
132
138
  describeWorkload(args: DescribeWorkloadCommandInput, cb: (err: any, data?: DescribeWorkloadCommandOutput) => void): void;
133
- describeWorkload(args: DescribeWorkloadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkloadCommandOutput) => void): void;
139
+ describeWorkload(args: DescribeWorkloadCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: DescribeWorkloadCommandOutput) => void): void;
134
140
  /**
135
141
  * @see {@link ListApplicationsCommand}
136
142
  */
137
143
  listApplications(): Promise<ListApplicationsCommandOutput>;
138
- listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
144
+ listApplications(args: ListApplicationsCommandInput, options?: ApplicationInsightsRequestOptions): Promise<ListApplicationsCommandOutput>;
139
145
  listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
140
- listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
146
+ listApplications(args: ListApplicationsCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
141
147
  /**
142
148
  * @see {@link ListComponentsCommand}
143
149
  */
144
- listComponents(args: ListComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ListComponentsCommandOutput>;
150
+ listComponents(args: ListComponentsCommandInput, options?: ApplicationInsightsRequestOptions): Promise<ListComponentsCommandOutput>;
145
151
  listComponents(args: ListComponentsCommandInput, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
146
- listComponents(args: ListComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
152
+ listComponents(args: ListComponentsCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
147
153
  /**
148
154
  * @see {@link ListConfigurationHistoryCommand}
149
155
  */
150
156
  listConfigurationHistory(): Promise<ListConfigurationHistoryCommandOutput>;
151
- listConfigurationHistory(args: ListConfigurationHistoryCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationHistoryCommandOutput>;
157
+ listConfigurationHistory(args: ListConfigurationHistoryCommandInput, options?: ApplicationInsightsRequestOptions): Promise<ListConfigurationHistoryCommandOutput>;
152
158
  listConfigurationHistory(args: ListConfigurationHistoryCommandInput, cb: (err: any, data?: ListConfigurationHistoryCommandOutput) => void): void;
153
- listConfigurationHistory(args: ListConfigurationHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationHistoryCommandOutput) => void): void;
159
+ listConfigurationHistory(args: ListConfigurationHistoryCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: ListConfigurationHistoryCommandOutput) => void): void;
154
160
  /**
155
161
  * @see {@link ListLogPatternsCommand}
156
162
  */
157
- listLogPatterns(args: ListLogPatternsCommandInput, options?: __HttpHandlerOptions): Promise<ListLogPatternsCommandOutput>;
163
+ listLogPatterns(args: ListLogPatternsCommandInput, options?: ApplicationInsightsRequestOptions): Promise<ListLogPatternsCommandOutput>;
158
164
  listLogPatterns(args: ListLogPatternsCommandInput, cb: (err: any, data?: ListLogPatternsCommandOutput) => void): void;
159
- listLogPatterns(args: ListLogPatternsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLogPatternsCommandOutput) => void): void;
165
+ listLogPatterns(args: ListLogPatternsCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: ListLogPatternsCommandOutput) => void): void;
160
166
  /**
161
167
  * @see {@link ListLogPatternSetsCommand}
162
168
  */
163
- listLogPatternSets(args: ListLogPatternSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListLogPatternSetsCommandOutput>;
169
+ listLogPatternSets(args: ListLogPatternSetsCommandInput, options?: ApplicationInsightsRequestOptions): Promise<ListLogPatternSetsCommandOutput>;
164
170
  listLogPatternSets(args: ListLogPatternSetsCommandInput, cb: (err: any, data?: ListLogPatternSetsCommandOutput) => void): void;
165
- listLogPatternSets(args: ListLogPatternSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLogPatternSetsCommandOutput) => void): void;
171
+ listLogPatternSets(args: ListLogPatternSetsCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: ListLogPatternSetsCommandOutput) => void): void;
166
172
  /**
167
173
  * @see {@link ListProblemsCommand}
168
174
  */
169
175
  listProblems(): Promise<ListProblemsCommandOutput>;
170
- listProblems(args: ListProblemsCommandInput, options?: __HttpHandlerOptions): Promise<ListProblemsCommandOutput>;
176
+ listProblems(args: ListProblemsCommandInput, options?: ApplicationInsightsRequestOptions): Promise<ListProblemsCommandOutput>;
171
177
  listProblems(args: ListProblemsCommandInput, cb: (err: any, data?: ListProblemsCommandOutput) => void): void;
172
- listProblems(args: ListProblemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProblemsCommandOutput) => void): void;
178
+ listProblems(args: ListProblemsCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: ListProblemsCommandOutput) => void): void;
173
179
  /**
174
180
  * @see {@link ListTagsForResourceCommand}
175
181
  */
176
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
182
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: ApplicationInsightsRequestOptions): Promise<ListTagsForResourceCommandOutput>;
177
183
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
178
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
184
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
179
185
  /**
180
186
  * @see {@link ListWorkloadsCommand}
181
187
  */
182
- listWorkloads(args: ListWorkloadsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkloadsCommandOutput>;
188
+ listWorkloads(args: ListWorkloadsCommandInput, options?: ApplicationInsightsRequestOptions): Promise<ListWorkloadsCommandOutput>;
183
189
  listWorkloads(args: ListWorkloadsCommandInput, cb: (err: any, data?: ListWorkloadsCommandOutput) => void): void;
184
- listWorkloads(args: ListWorkloadsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkloadsCommandOutput) => void): void;
190
+ listWorkloads(args: ListWorkloadsCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: ListWorkloadsCommandOutput) => void): void;
185
191
  /**
186
192
  * @see {@link RemoveWorkloadCommand}
187
193
  */
188
- removeWorkload(args: RemoveWorkloadCommandInput, options?: __HttpHandlerOptions): Promise<RemoveWorkloadCommandOutput>;
194
+ removeWorkload(args: RemoveWorkloadCommandInput, options?: ApplicationInsightsRequestOptions): Promise<RemoveWorkloadCommandOutput>;
189
195
  removeWorkload(args: RemoveWorkloadCommandInput, cb: (err: any, data?: RemoveWorkloadCommandOutput) => void): void;
190
- removeWorkload(args: RemoveWorkloadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveWorkloadCommandOutput) => void): void;
196
+ removeWorkload(args: RemoveWorkloadCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: RemoveWorkloadCommandOutput) => void): void;
191
197
  /**
192
198
  * @see {@link TagResourceCommand}
193
199
  */
194
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
200
+ tagResource(args: TagResourceCommandInput, options?: ApplicationInsightsRequestOptions): Promise<TagResourceCommandOutput>;
195
201
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
196
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
202
+ tagResource(args: TagResourceCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
197
203
  /**
198
204
  * @see {@link UntagResourceCommand}
199
205
  */
200
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
206
+ untagResource(args: UntagResourceCommandInput, options?: ApplicationInsightsRequestOptions): Promise<UntagResourceCommandOutput>;
201
207
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
202
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
208
+ untagResource(args: UntagResourceCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
203
209
  /**
204
210
  * @see {@link UpdateApplicationCommand}
205
211
  */
206
- updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
212
+ updateApplication(args: UpdateApplicationCommandInput, options?: ApplicationInsightsRequestOptions): Promise<UpdateApplicationCommandOutput>;
207
213
  updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
208
- updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
214
+ updateApplication(args: UpdateApplicationCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
209
215
  /**
210
216
  * @see {@link UpdateComponentCommand}
211
217
  */
212
- updateComponent(args: UpdateComponentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateComponentCommandOutput>;
218
+ updateComponent(args: UpdateComponentCommandInput, options?: ApplicationInsightsRequestOptions): Promise<UpdateComponentCommandOutput>;
213
219
  updateComponent(args: UpdateComponentCommandInput, cb: (err: any, data?: UpdateComponentCommandOutput) => void): void;
214
- updateComponent(args: UpdateComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateComponentCommandOutput) => void): void;
220
+ updateComponent(args: UpdateComponentCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: UpdateComponentCommandOutput) => void): void;
215
221
  /**
216
222
  * @see {@link UpdateComponentConfigurationCommand}
217
223
  */
218
- updateComponentConfiguration(args: UpdateComponentConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateComponentConfigurationCommandOutput>;
224
+ updateComponentConfiguration(args: UpdateComponentConfigurationCommandInput, options?: ApplicationInsightsRequestOptions): Promise<UpdateComponentConfigurationCommandOutput>;
219
225
  updateComponentConfiguration(args: UpdateComponentConfigurationCommandInput, cb: (err: any, data?: UpdateComponentConfigurationCommandOutput) => void): void;
220
- updateComponentConfiguration(args: UpdateComponentConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateComponentConfigurationCommandOutput) => void): void;
226
+ updateComponentConfiguration(args: UpdateComponentConfigurationCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: UpdateComponentConfigurationCommandOutput) => void): void;
221
227
  /**
222
228
  * @see {@link UpdateLogPatternCommand}
223
229
  */
224
- updateLogPattern(args: UpdateLogPatternCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLogPatternCommandOutput>;
230
+ updateLogPattern(args: UpdateLogPatternCommandInput, options?: ApplicationInsightsRequestOptions): Promise<UpdateLogPatternCommandOutput>;
225
231
  updateLogPattern(args: UpdateLogPatternCommandInput, cb: (err: any, data?: UpdateLogPatternCommandOutput) => void): void;
226
- updateLogPattern(args: UpdateLogPatternCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLogPatternCommandOutput) => void): void;
232
+ updateLogPattern(args: UpdateLogPatternCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: UpdateLogPatternCommandOutput) => void): void;
227
233
  /**
228
234
  * @see {@link UpdateProblemCommand}
229
235
  */
230
- updateProblem(args: UpdateProblemCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProblemCommandOutput>;
236
+ updateProblem(args: UpdateProblemCommandInput, options?: ApplicationInsightsRequestOptions): Promise<UpdateProblemCommandOutput>;
231
237
  updateProblem(args: UpdateProblemCommandInput, cb: (err: any, data?: UpdateProblemCommandOutput) => void): void;
232
- updateProblem(args: UpdateProblemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProblemCommandOutput) => void): void;
238
+ updateProblem(args: UpdateProblemCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: UpdateProblemCommandOutput) => void): void;
233
239
  /**
234
240
  * @see {@link UpdateWorkloadCommand}
235
241
  */
236
- updateWorkload(args: UpdateWorkloadCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkloadCommandOutput>;
242
+ updateWorkload(args: UpdateWorkloadCommandInput, options?: ApplicationInsightsRequestOptions): Promise<UpdateWorkloadCommandOutput>;
237
243
  updateWorkload(args: UpdateWorkloadCommandInput, cb: (err: any, data?: UpdateWorkloadCommandOutput) => void): void;
238
- updateWorkload(args: UpdateWorkloadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkloadCommandOutput) => void): void;
244
+ updateWorkload(args: UpdateWorkloadCommandInput, options: ApplicationInsightsRequestOptions, cb: (err: any, data?: UpdateWorkloadCommandOutput) => void): void;
239
245
  /**
240
246
  * @see {@link ListApplicationsCommand}
241
247
  * @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";
@@ -130,10 +131,13 @@ import {
130
131
  UpdateWorkloadCommandInput,
131
132
  UpdateWorkloadCommandOutput,
132
133
  } from "./commands/UpdateWorkloadCommand";
134
+ export interface ApplicationInsightsRequestOptions extends __HttpHandlerOptions {
135
+ metricsRecorder?: __MetricsRecorder<unknown>;
136
+ }
133
137
  export interface ApplicationInsights {
134
138
  addWorkload(
135
139
  args: AddWorkloadCommandInput,
136
- options?: __HttpHandlerOptions,
140
+ options?: ApplicationInsightsRequestOptions,
137
141
  ): Promise<AddWorkloadCommandOutput>;
138
142
  addWorkload(
139
143
  args: AddWorkloadCommandInput,
@@ -141,13 +145,13 @@ export interface ApplicationInsights {
141
145
  ): void;
142
146
  addWorkload(
143
147
  args: AddWorkloadCommandInput,
144
- options: __HttpHandlerOptions,
148
+ options: ApplicationInsightsRequestOptions,
145
149
  cb: (err: any, data?: AddWorkloadCommandOutput) => void,
146
150
  ): void;
147
151
  createApplication(): Promise<CreateApplicationCommandOutput>;
148
152
  createApplication(
149
153
  args: CreateApplicationCommandInput,
150
- options?: __HttpHandlerOptions,
154
+ options?: ApplicationInsightsRequestOptions,
151
155
  ): Promise<CreateApplicationCommandOutput>;
152
156
  createApplication(
153
157
  args: CreateApplicationCommandInput,
@@ -155,12 +159,12 @@ export interface ApplicationInsights {
155
159
  ): void;
156
160
  createApplication(
157
161
  args: CreateApplicationCommandInput,
158
- options: __HttpHandlerOptions,
162
+ options: ApplicationInsightsRequestOptions,
159
163
  cb: (err: any, data?: CreateApplicationCommandOutput) => void,
160
164
  ): void;
161
165
  createComponent(
162
166
  args: CreateComponentCommandInput,
163
- options?: __HttpHandlerOptions,
167
+ options?: ApplicationInsightsRequestOptions,
164
168
  ): Promise<CreateComponentCommandOutput>;
165
169
  createComponent(
166
170
  args: CreateComponentCommandInput,
@@ -168,12 +172,12 @@ export interface ApplicationInsights {
168
172
  ): void;
169
173
  createComponent(
170
174
  args: CreateComponentCommandInput,
171
- options: __HttpHandlerOptions,
175
+ options: ApplicationInsightsRequestOptions,
172
176
  cb: (err: any, data?: CreateComponentCommandOutput) => void,
173
177
  ): void;
174
178
  createLogPattern(
175
179
  args: CreateLogPatternCommandInput,
176
- options?: __HttpHandlerOptions,
180
+ options?: ApplicationInsightsRequestOptions,
177
181
  ): Promise<CreateLogPatternCommandOutput>;
178
182
  createLogPattern(
179
183
  args: CreateLogPatternCommandInput,
@@ -181,12 +185,12 @@ export interface ApplicationInsights {
181
185
  ): void;
182
186
  createLogPattern(
183
187
  args: CreateLogPatternCommandInput,
184
- options: __HttpHandlerOptions,
188
+ options: ApplicationInsightsRequestOptions,
185
189
  cb: (err: any, data?: CreateLogPatternCommandOutput) => void,
186
190
  ): void;
187
191
  deleteApplication(
188
192
  args: DeleteApplicationCommandInput,
189
- options?: __HttpHandlerOptions,
193
+ options?: ApplicationInsightsRequestOptions,
190
194
  ): Promise<DeleteApplicationCommandOutput>;
191
195
  deleteApplication(
192
196
  args: DeleteApplicationCommandInput,
@@ -194,12 +198,12 @@ export interface ApplicationInsights {
194
198
  ): void;
195
199
  deleteApplication(
196
200
  args: DeleteApplicationCommandInput,
197
- options: __HttpHandlerOptions,
201
+ options: ApplicationInsightsRequestOptions,
198
202
  cb: (err: any, data?: DeleteApplicationCommandOutput) => void,
199
203
  ): void;
200
204
  deleteComponent(
201
205
  args: DeleteComponentCommandInput,
202
- options?: __HttpHandlerOptions,
206
+ options?: ApplicationInsightsRequestOptions,
203
207
  ): Promise<DeleteComponentCommandOutput>;
204
208
  deleteComponent(
205
209
  args: DeleteComponentCommandInput,
@@ -207,12 +211,12 @@ export interface ApplicationInsights {
207
211
  ): void;
208
212
  deleteComponent(
209
213
  args: DeleteComponentCommandInput,
210
- options: __HttpHandlerOptions,
214
+ options: ApplicationInsightsRequestOptions,
211
215
  cb: (err: any, data?: DeleteComponentCommandOutput) => void,
212
216
  ): void;
213
217
  deleteLogPattern(
214
218
  args: DeleteLogPatternCommandInput,
215
- options?: __HttpHandlerOptions,
219
+ options?: ApplicationInsightsRequestOptions,
216
220
  ): Promise<DeleteLogPatternCommandOutput>;
217
221
  deleteLogPattern(
218
222
  args: DeleteLogPatternCommandInput,
@@ -220,12 +224,12 @@ export interface ApplicationInsights {
220
224
  ): void;
221
225
  deleteLogPattern(
222
226
  args: DeleteLogPatternCommandInput,
223
- options: __HttpHandlerOptions,
227
+ options: ApplicationInsightsRequestOptions,
224
228
  cb: (err: any, data?: DeleteLogPatternCommandOutput) => void,
225
229
  ): void;
226
230
  describeApplication(
227
231
  args: DescribeApplicationCommandInput,
228
- options?: __HttpHandlerOptions,
232
+ options?: ApplicationInsightsRequestOptions,
229
233
  ): Promise<DescribeApplicationCommandOutput>;
230
234
  describeApplication(
231
235
  args: DescribeApplicationCommandInput,
@@ -233,12 +237,12 @@ export interface ApplicationInsights {
233
237
  ): void;
234
238
  describeApplication(
235
239
  args: DescribeApplicationCommandInput,
236
- options: __HttpHandlerOptions,
240
+ options: ApplicationInsightsRequestOptions,
237
241
  cb: (err: any, data?: DescribeApplicationCommandOutput) => void,
238
242
  ): void;
239
243
  describeComponent(
240
244
  args: DescribeComponentCommandInput,
241
- options?: __HttpHandlerOptions,
245
+ options?: ApplicationInsightsRequestOptions,
242
246
  ): Promise<DescribeComponentCommandOutput>;
243
247
  describeComponent(
244
248
  args: DescribeComponentCommandInput,
@@ -246,12 +250,12 @@ export interface ApplicationInsights {
246
250
  ): void;
247
251
  describeComponent(
248
252
  args: DescribeComponentCommandInput,
249
- options: __HttpHandlerOptions,
253
+ options: ApplicationInsightsRequestOptions,
250
254
  cb: (err: any, data?: DescribeComponentCommandOutput) => void,
251
255
  ): void;
252
256
  describeComponentConfiguration(
253
257
  args: DescribeComponentConfigurationCommandInput,
254
- options?: __HttpHandlerOptions,
258
+ options?: ApplicationInsightsRequestOptions,
255
259
  ): Promise<DescribeComponentConfigurationCommandOutput>;
256
260
  describeComponentConfiguration(
257
261
  args: DescribeComponentConfigurationCommandInput,
@@ -259,12 +263,12 @@ export interface ApplicationInsights {
259
263
  ): void;
260
264
  describeComponentConfiguration(
261
265
  args: DescribeComponentConfigurationCommandInput,
262
- options: __HttpHandlerOptions,
266
+ options: ApplicationInsightsRequestOptions,
263
267
  cb: (err: any, data?: DescribeComponentConfigurationCommandOutput) => void,
264
268
  ): void;
265
269
  describeComponentConfigurationRecommendation(
266
270
  args: DescribeComponentConfigurationRecommendationCommandInput,
267
- options?: __HttpHandlerOptions,
271
+ options?: ApplicationInsightsRequestOptions,
268
272
  ): Promise<DescribeComponentConfigurationRecommendationCommandOutput>;
269
273
  describeComponentConfigurationRecommendation(
270
274
  args: DescribeComponentConfigurationRecommendationCommandInput,
@@ -272,12 +276,12 @@ export interface ApplicationInsights {
272
276
  ): void;
273
277
  describeComponentConfigurationRecommendation(
274
278
  args: DescribeComponentConfigurationRecommendationCommandInput,
275
- options: __HttpHandlerOptions,
279
+ options: ApplicationInsightsRequestOptions,
276
280
  cb: (err: any, data?: DescribeComponentConfigurationRecommendationCommandOutput) => void,
277
281
  ): void;
278
282
  describeLogPattern(
279
283
  args: DescribeLogPatternCommandInput,
280
- options?: __HttpHandlerOptions,
284
+ options?: ApplicationInsightsRequestOptions,
281
285
  ): Promise<DescribeLogPatternCommandOutput>;
282
286
  describeLogPattern(
283
287
  args: DescribeLogPatternCommandInput,
@@ -285,12 +289,12 @@ export interface ApplicationInsights {
285
289
  ): void;
286
290
  describeLogPattern(
287
291
  args: DescribeLogPatternCommandInput,
288
- options: __HttpHandlerOptions,
292
+ options: ApplicationInsightsRequestOptions,
289
293
  cb: (err: any, data?: DescribeLogPatternCommandOutput) => void,
290
294
  ): void;
291
295
  describeObservation(
292
296
  args: DescribeObservationCommandInput,
293
- options?: __HttpHandlerOptions,
297
+ options?: ApplicationInsightsRequestOptions,
294
298
  ): Promise<DescribeObservationCommandOutput>;
295
299
  describeObservation(
296
300
  args: DescribeObservationCommandInput,
@@ -298,12 +302,12 @@ export interface ApplicationInsights {
298
302
  ): void;
299
303
  describeObservation(
300
304
  args: DescribeObservationCommandInput,
301
- options: __HttpHandlerOptions,
305
+ options: ApplicationInsightsRequestOptions,
302
306
  cb: (err: any, data?: DescribeObservationCommandOutput) => void,
303
307
  ): void;
304
308
  describeProblem(
305
309
  args: DescribeProblemCommandInput,
306
- options?: __HttpHandlerOptions,
310
+ options?: ApplicationInsightsRequestOptions,
307
311
  ): Promise<DescribeProblemCommandOutput>;
308
312
  describeProblem(
309
313
  args: DescribeProblemCommandInput,
@@ -311,12 +315,12 @@ export interface ApplicationInsights {
311
315
  ): void;
312
316
  describeProblem(
313
317
  args: DescribeProblemCommandInput,
314
- options: __HttpHandlerOptions,
318
+ options: ApplicationInsightsRequestOptions,
315
319
  cb: (err: any, data?: DescribeProblemCommandOutput) => void,
316
320
  ): void;
317
321
  describeProblemObservations(
318
322
  args: DescribeProblemObservationsCommandInput,
319
- options?: __HttpHandlerOptions,
323
+ options?: ApplicationInsightsRequestOptions,
320
324
  ): Promise<DescribeProblemObservationsCommandOutput>;
321
325
  describeProblemObservations(
322
326
  args: DescribeProblemObservationsCommandInput,
@@ -324,12 +328,12 @@ export interface ApplicationInsights {
324
328
  ): void;
325
329
  describeProblemObservations(
326
330
  args: DescribeProblemObservationsCommandInput,
327
- options: __HttpHandlerOptions,
331
+ options: ApplicationInsightsRequestOptions,
328
332
  cb: (err: any, data?: DescribeProblemObservationsCommandOutput) => void,
329
333
  ): void;
330
334
  describeWorkload(
331
335
  args: DescribeWorkloadCommandInput,
332
- options?: __HttpHandlerOptions,
336
+ options?: ApplicationInsightsRequestOptions,
333
337
  ): Promise<DescribeWorkloadCommandOutput>;
334
338
  describeWorkload(
335
339
  args: DescribeWorkloadCommandInput,
@@ -337,13 +341,13 @@ export interface ApplicationInsights {
337
341
  ): void;
338
342
  describeWorkload(
339
343
  args: DescribeWorkloadCommandInput,
340
- options: __HttpHandlerOptions,
344
+ options: ApplicationInsightsRequestOptions,
341
345
  cb: (err: any, data?: DescribeWorkloadCommandOutput) => void,
342
346
  ): void;
343
347
  listApplications(): Promise<ListApplicationsCommandOutput>;
344
348
  listApplications(
345
349
  args: ListApplicationsCommandInput,
346
- options?: __HttpHandlerOptions,
350
+ options?: ApplicationInsightsRequestOptions,
347
351
  ): Promise<ListApplicationsCommandOutput>;
348
352
  listApplications(
349
353
  args: ListApplicationsCommandInput,
@@ -351,12 +355,12 @@ export interface ApplicationInsights {
351
355
  ): void;
352
356
  listApplications(
353
357
  args: ListApplicationsCommandInput,
354
- options: __HttpHandlerOptions,
358
+ options: ApplicationInsightsRequestOptions,
355
359
  cb: (err: any, data?: ListApplicationsCommandOutput) => void,
356
360
  ): void;
357
361
  listComponents(
358
362
  args: ListComponentsCommandInput,
359
- options?: __HttpHandlerOptions,
363
+ options?: ApplicationInsightsRequestOptions,
360
364
  ): Promise<ListComponentsCommandOutput>;
361
365
  listComponents(
362
366
  args: ListComponentsCommandInput,
@@ -364,13 +368,13 @@ export interface ApplicationInsights {
364
368
  ): void;
365
369
  listComponents(
366
370
  args: ListComponentsCommandInput,
367
- options: __HttpHandlerOptions,
371
+ options: ApplicationInsightsRequestOptions,
368
372
  cb: (err: any, data?: ListComponentsCommandOutput) => void,
369
373
  ): void;
370
374
  listConfigurationHistory(): Promise<ListConfigurationHistoryCommandOutput>;
371
375
  listConfigurationHistory(
372
376
  args: ListConfigurationHistoryCommandInput,
373
- options?: __HttpHandlerOptions,
377
+ options?: ApplicationInsightsRequestOptions,
374
378
  ): Promise<ListConfigurationHistoryCommandOutput>;
375
379
  listConfigurationHistory(
376
380
  args: ListConfigurationHistoryCommandInput,
@@ -378,12 +382,12 @@ export interface ApplicationInsights {
378
382
  ): void;
379
383
  listConfigurationHistory(
380
384
  args: ListConfigurationHistoryCommandInput,
381
- options: __HttpHandlerOptions,
385
+ options: ApplicationInsightsRequestOptions,
382
386
  cb: (err: any, data?: ListConfigurationHistoryCommandOutput) => void,
383
387
  ): void;
384
388
  listLogPatterns(
385
389
  args: ListLogPatternsCommandInput,
386
- options?: __HttpHandlerOptions,
390
+ options?: ApplicationInsightsRequestOptions,
387
391
  ): Promise<ListLogPatternsCommandOutput>;
388
392
  listLogPatterns(
389
393
  args: ListLogPatternsCommandInput,
@@ -391,12 +395,12 @@ export interface ApplicationInsights {
391
395
  ): void;
392
396
  listLogPatterns(
393
397
  args: ListLogPatternsCommandInput,
394
- options: __HttpHandlerOptions,
398
+ options: ApplicationInsightsRequestOptions,
395
399
  cb: (err: any, data?: ListLogPatternsCommandOutput) => void,
396
400
  ): void;
397
401
  listLogPatternSets(
398
402
  args: ListLogPatternSetsCommandInput,
399
- options?: __HttpHandlerOptions,
403
+ options?: ApplicationInsightsRequestOptions,
400
404
  ): Promise<ListLogPatternSetsCommandOutput>;
401
405
  listLogPatternSets(
402
406
  args: ListLogPatternSetsCommandInput,
@@ -404,13 +408,13 @@ export interface ApplicationInsights {
404
408
  ): void;
405
409
  listLogPatternSets(
406
410
  args: ListLogPatternSetsCommandInput,
407
- options: __HttpHandlerOptions,
411
+ options: ApplicationInsightsRequestOptions,
408
412
  cb: (err: any, data?: ListLogPatternSetsCommandOutput) => void,
409
413
  ): void;
410
414
  listProblems(): Promise<ListProblemsCommandOutput>;
411
415
  listProblems(
412
416
  args: ListProblemsCommandInput,
413
- options?: __HttpHandlerOptions,
417
+ options?: ApplicationInsightsRequestOptions,
414
418
  ): Promise<ListProblemsCommandOutput>;
415
419
  listProblems(
416
420
  args: ListProblemsCommandInput,
@@ -418,12 +422,12 @@ export interface ApplicationInsights {
418
422
  ): void;
419
423
  listProblems(
420
424
  args: ListProblemsCommandInput,
421
- options: __HttpHandlerOptions,
425
+ options: ApplicationInsightsRequestOptions,
422
426
  cb: (err: any, data?: ListProblemsCommandOutput) => void,
423
427
  ): void;
424
428
  listTagsForResource(
425
429
  args: ListTagsForResourceCommandInput,
426
- options?: __HttpHandlerOptions,
430
+ options?: ApplicationInsightsRequestOptions,
427
431
  ): Promise<ListTagsForResourceCommandOutput>;
428
432
  listTagsForResource(
429
433
  args: ListTagsForResourceCommandInput,
@@ -431,12 +435,12 @@ export interface ApplicationInsights {
431
435
  ): void;
432
436
  listTagsForResource(
433
437
  args: ListTagsForResourceCommandInput,
434
- options: __HttpHandlerOptions,
438
+ options: ApplicationInsightsRequestOptions,
435
439
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
436
440
  ): void;
437
441
  listWorkloads(
438
442
  args: ListWorkloadsCommandInput,
439
- options?: __HttpHandlerOptions,
443
+ options?: ApplicationInsightsRequestOptions,
440
444
  ): Promise<ListWorkloadsCommandOutput>;
441
445
  listWorkloads(
442
446
  args: ListWorkloadsCommandInput,
@@ -444,12 +448,12 @@ export interface ApplicationInsights {
444
448
  ): void;
445
449
  listWorkloads(
446
450
  args: ListWorkloadsCommandInput,
447
- options: __HttpHandlerOptions,
451
+ options: ApplicationInsightsRequestOptions,
448
452
  cb: (err: any, data?: ListWorkloadsCommandOutput) => void,
449
453
  ): void;
450
454
  removeWorkload(
451
455
  args: RemoveWorkloadCommandInput,
452
- options?: __HttpHandlerOptions,
456
+ options?: ApplicationInsightsRequestOptions,
453
457
  ): Promise<RemoveWorkloadCommandOutput>;
454
458
  removeWorkload(
455
459
  args: RemoveWorkloadCommandInput,
@@ -457,12 +461,12 @@ export interface ApplicationInsights {
457
461
  ): void;
458
462
  removeWorkload(
459
463
  args: RemoveWorkloadCommandInput,
460
- options: __HttpHandlerOptions,
464
+ options: ApplicationInsightsRequestOptions,
461
465
  cb: (err: any, data?: RemoveWorkloadCommandOutput) => void,
462
466
  ): void;
463
467
  tagResource(
464
468
  args: TagResourceCommandInput,
465
- options?: __HttpHandlerOptions,
469
+ options?: ApplicationInsightsRequestOptions,
466
470
  ): Promise<TagResourceCommandOutput>;
467
471
  tagResource(
468
472
  args: TagResourceCommandInput,
@@ -470,12 +474,12 @@ export interface ApplicationInsights {
470
474
  ): void;
471
475
  tagResource(
472
476
  args: TagResourceCommandInput,
473
- options: __HttpHandlerOptions,
477
+ options: ApplicationInsightsRequestOptions,
474
478
  cb: (err: any, data?: TagResourceCommandOutput) => void,
475
479
  ): void;
476
480
  untagResource(
477
481
  args: UntagResourceCommandInput,
478
- options?: __HttpHandlerOptions,
482
+ options?: ApplicationInsightsRequestOptions,
479
483
  ): Promise<UntagResourceCommandOutput>;
480
484
  untagResource(
481
485
  args: UntagResourceCommandInput,
@@ -483,12 +487,12 @@ export interface ApplicationInsights {
483
487
  ): void;
484
488
  untagResource(
485
489
  args: UntagResourceCommandInput,
486
- options: __HttpHandlerOptions,
490
+ options: ApplicationInsightsRequestOptions,
487
491
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
488
492
  ): void;
489
493
  updateApplication(
490
494
  args: UpdateApplicationCommandInput,
491
- options?: __HttpHandlerOptions,
495
+ options?: ApplicationInsightsRequestOptions,
492
496
  ): Promise<UpdateApplicationCommandOutput>;
493
497
  updateApplication(
494
498
  args: UpdateApplicationCommandInput,
@@ -496,12 +500,12 @@ export interface ApplicationInsights {
496
500
  ): void;
497
501
  updateApplication(
498
502
  args: UpdateApplicationCommandInput,
499
- options: __HttpHandlerOptions,
503
+ options: ApplicationInsightsRequestOptions,
500
504
  cb: (err: any, data?: UpdateApplicationCommandOutput) => void,
501
505
  ): void;
502
506
  updateComponent(
503
507
  args: UpdateComponentCommandInput,
504
- options?: __HttpHandlerOptions,
508
+ options?: ApplicationInsightsRequestOptions,
505
509
  ): Promise<UpdateComponentCommandOutput>;
506
510
  updateComponent(
507
511
  args: UpdateComponentCommandInput,
@@ -509,12 +513,12 @@ export interface ApplicationInsights {
509
513
  ): void;
510
514
  updateComponent(
511
515
  args: UpdateComponentCommandInput,
512
- options: __HttpHandlerOptions,
516
+ options: ApplicationInsightsRequestOptions,
513
517
  cb: (err: any, data?: UpdateComponentCommandOutput) => void,
514
518
  ): void;
515
519
  updateComponentConfiguration(
516
520
  args: UpdateComponentConfigurationCommandInput,
517
- options?: __HttpHandlerOptions,
521
+ options?: ApplicationInsightsRequestOptions,
518
522
  ): Promise<UpdateComponentConfigurationCommandOutput>;
519
523
  updateComponentConfiguration(
520
524
  args: UpdateComponentConfigurationCommandInput,
@@ -522,12 +526,12 @@ export interface ApplicationInsights {
522
526
  ): void;
523
527
  updateComponentConfiguration(
524
528
  args: UpdateComponentConfigurationCommandInput,
525
- options: __HttpHandlerOptions,
529
+ options: ApplicationInsightsRequestOptions,
526
530
  cb: (err: any, data?: UpdateComponentConfigurationCommandOutput) => void,
527
531
  ): void;
528
532
  updateLogPattern(
529
533
  args: UpdateLogPatternCommandInput,
530
- options?: __HttpHandlerOptions,
534
+ options?: ApplicationInsightsRequestOptions,
531
535
  ): Promise<UpdateLogPatternCommandOutput>;
532
536
  updateLogPattern(
533
537
  args: UpdateLogPatternCommandInput,
@@ -535,12 +539,12 @@ export interface ApplicationInsights {
535
539
  ): void;
536
540
  updateLogPattern(
537
541
  args: UpdateLogPatternCommandInput,
538
- options: __HttpHandlerOptions,
542
+ options: ApplicationInsightsRequestOptions,
539
543
  cb: (err: any, data?: UpdateLogPatternCommandOutput) => void,
540
544
  ): void;
541
545
  updateProblem(
542
546
  args: UpdateProblemCommandInput,
543
- options?: __HttpHandlerOptions,
547
+ options?: ApplicationInsightsRequestOptions,
544
548
  ): Promise<UpdateProblemCommandOutput>;
545
549
  updateProblem(
546
550
  args: UpdateProblemCommandInput,
@@ -548,12 +552,12 @@ export interface ApplicationInsights {
548
552
  ): void;
549
553
  updateProblem(
550
554
  args: UpdateProblemCommandInput,
551
- options: __HttpHandlerOptions,
555
+ options: ApplicationInsightsRequestOptions,
552
556
  cb: (err: any, data?: UpdateProblemCommandOutput) => void,
553
557
  ): void;
554
558
  updateWorkload(
555
559
  args: UpdateWorkloadCommandInput,
556
- options?: __HttpHandlerOptions,
560
+ options?: ApplicationInsightsRequestOptions,
557
561
  ): Promise<UpdateWorkloadCommandOutput>;
558
562
  updateWorkload(
559
563
  args: UpdateWorkloadCommandInput,
@@ -561,7 +565,7 @@ export interface ApplicationInsights {
561
565
  ): void;
562
566
  updateWorkload(
563
567
  args: UpdateWorkloadCommandInput,
564
- options: __HttpHandlerOptions,
568
+ options: ApplicationInsightsRequestOptions,
565
569
  cb: (err: any, data?: UpdateWorkloadCommandOutput) => void,
566
570
  ): void;
567
571
  paginateListApplications(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-application-insights",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Application Insights Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-application-insights",
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": {