@aws-sdk/client-amp 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
 
@@ -543,10 +543,10 @@ const _wC = "workspaceConfiguration";
543
543
  const _wI = "workspaceId";
544
544
  const _wo = "workspaces";
545
545
  const n0 = "com.amazonaws.amp";
546
- const _s_registry = TypeRegistry.for(_s);
546
+ const _s_registry = new TypeRegistry(_s);
547
547
  var AmpServiceException$ = [-3, _s, "AmpServiceException", 0, [], []];
548
548
  _s_registry.registerError(AmpServiceException$, AmpServiceException);
549
- const n0_registry = TypeRegistry.for(n0);
549
+ const n0_registry = new TypeRegistry(n0);
550
550
  var AccessDeniedException$ = [-3, n0, _ADE,
551
551
  { [_e]: _c, [_hE]: 403 },
552
552
  [_m],
@@ -291,10 +291,10 @@ const n0 = "com.amazonaws.amp";
291
291
  import { TypeRegistry } from "@smithy/core/schema";
292
292
  import { AmpServiceException } from "../models/AmpServiceException";
293
293
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
294
- const _s_registry = TypeRegistry.for(_s);
294
+ const _s_registry = new TypeRegistry(_s);
295
295
  export var AmpServiceException$ = [-3, _s, "AmpServiceException", 0, [], []];
296
296
  _s_registry.registerError(AmpServiceException$, AmpServiceException);
297
- const n0_registry = TypeRegistry.for(n0);
297
+ const n0_registry = new TypeRegistry(n0);
298
298
  export var AccessDeniedException$ = [-3, n0, _ADE,
299
299
  { [_e]: _c, [_hE]: 403 },
300
300
  [_m],
@@ -1,5 +1,5 @@
1
1
  import { type WaiterResult } from "@smithy/core/client";
2
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
3
  import { AmpClient } from "./AmpClient";
4
4
  import { type CreateAlertManagerDefinitionCommandInput, type CreateAlertManagerDefinitionCommandOutput } from "./commands/CreateAlertManagerDefinitionCommand";
5
5
  import { type CreateAnomalyDetectorCommandInput, type CreateAnomalyDetectorCommandOutput } from "./commands/CreateAnomalyDetectorCommand";
@@ -46,275 +46,281 @@ import { type UpdateScraperLoggingConfigurationCommandInput, type UpdateScraperL
46
46
  import { type UpdateWorkspaceAliasCommandInput, type UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand";
47
47
  import { type UpdateWorkspaceConfigurationCommandInput, type UpdateWorkspaceConfigurationCommandOutput } from "./commands/UpdateWorkspaceConfigurationCommand";
48
48
  import type { ResourceNotFoundException } from "./models/errors";
49
+ /**
50
+ * @public
51
+ */
52
+ export interface AmpRequestOptions extends __HttpHandlerOptions {
53
+ metricsRecorder?: __MetricsRecorder<unknown>;
54
+ }
49
55
  export interface Amp {
50
56
  /**
51
57
  * @see {@link CreateAlertManagerDefinitionCommand}
52
58
  */
53
- createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<CreateAlertManagerDefinitionCommandOutput>;
59
+ createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options?: AmpRequestOptions): Promise<CreateAlertManagerDefinitionCommandOutput>;
54
60
  createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
55
- createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
61
+ createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options: AmpRequestOptions, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
56
62
  /**
57
63
  * @see {@link CreateAnomalyDetectorCommand}
58
64
  */
59
- createAnomalyDetector(args: CreateAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateAnomalyDetectorCommandOutput>;
65
+ createAnomalyDetector(args: CreateAnomalyDetectorCommandInput, options?: AmpRequestOptions): Promise<CreateAnomalyDetectorCommandOutput>;
60
66
  createAnomalyDetector(args: CreateAnomalyDetectorCommandInput, cb: (err: any, data?: CreateAnomalyDetectorCommandOutput) => void): void;
61
- createAnomalyDetector(args: CreateAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAnomalyDetectorCommandOutput) => void): void;
67
+ createAnomalyDetector(args: CreateAnomalyDetectorCommandInput, options: AmpRequestOptions, cb: (err: any, data?: CreateAnomalyDetectorCommandOutput) => void): void;
62
68
  /**
63
69
  * @see {@link CreateLoggingConfigurationCommand}
64
70
  */
65
- createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateLoggingConfigurationCommandOutput>;
71
+ createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, options?: AmpRequestOptions): Promise<CreateLoggingConfigurationCommandOutput>;
66
72
  createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void): void;
67
- createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void): void;
73
+ createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void): void;
68
74
  /**
69
75
  * @see {@link CreateQueryLoggingConfigurationCommand}
70
76
  */
71
- createQueryLoggingConfiguration(args: CreateQueryLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateQueryLoggingConfigurationCommandOutput>;
77
+ createQueryLoggingConfiguration(args: CreateQueryLoggingConfigurationCommandInput, options?: AmpRequestOptions): Promise<CreateQueryLoggingConfigurationCommandOutput>;
72
78
  createQueryLoggingConfiguration(args: CreateQueryLoggingConfigurationCommandInput, cb: (err: any, data?: CreateQueryLoggingConfigurationCommandOutput) => void): void;
73
- createQueryLoggingConfiguration(args: CreateQueryLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateQueryLoggingConfigurationCommandOutput) => void): void;
79
+ createQueryLoggingConfiguration(args: CreateQueryLoggingConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: CreateQueryLoggingConfigurationCommandOutput) => void): void;
74
80
  /**
75
81
  * @see {@link CreateRuleGroupsNamespaceCommand}
76
82
  */
77
- createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleGroupsNamespaceCommandOutput>;
83
+ createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options?: AmpRequestOptions): Promise<CreateRuleGroupsNamespaceCommandOutput>;
78
84
  createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void;
79
- createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void;
85
+ createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options: AmpRequestOptions, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void;
80
86
  /**
81
87
  * @see {@link CreateScraperCommand}
82
88
  */
83
- createScraper(args: CreateScraperCommandInput, options?: __HttpHandlerOptions): Promise<CreateScraperCommandOutput>;
89
+ createScraper(args: CreateScraperCommandInput, options?: AmpRequestOptions): Promise<CreateScraperCommandOutput>;
84
90
  createScraper(args: CreateScraperCommandInput, cb: (err: any, data?: CreateScraperCommandOutput) => void): void;
85
- createScraper(args: CreateScraperCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateScraperCommandOutput) => void): void;
91
+ createScraper(args: CreateScraperCommandInput, options: AmpRequestOptions, cb: (err: any, data?: CreateScraperCommandOutput) => void): void;
86
92
  /**
87
93
  * @see {@link CreateWorkspaceCommand}
88
94
  */
89
95
  createWorkspace(): Promise<CreateWorkspaceCommandOutput>;
90
- createWorkspace(args: CreateWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceCommandOutput>;
96
+ createWorkspace(args: CreateWorkspaceCommandInput, options?: AmpRequestOptions): Promise<CreateWorkspaceCommandOutput>;
91
97
  createWorkspace(args: CreateWorkspaceCommandInput, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
92
- createWorkspace(args: CreateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
98
+ createWorkspace(args: CreateWorkspaceCommandInput, options: AmpRequestOptions, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
93
99
  /**
94
100
  * @see {@link DeleteAlertManagerDefinitionCommand}
95
101
  */
96
- deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlertManagerDefinitionCommandOutput>;
102
+ deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options?: AmpRequestOptions): Promise<DeleteAlertManagerDefinitionCommandOutput>;
97
103
  deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
98
- deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
104
+ deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
99
105
  /**
100
106
  * @see {@link DeleteAnomalyDetectorCommand}
101
107
  */
102
- deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAnomalyDetectorCommandOutput>;
108
+ deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options?: AmpRequestOptions): Promise<DeleteAnomalyDetectorCommandOutput>;
103
109
  deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void;
104
- deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void;
110
+ deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void;
105
111
  /**
106
112
  * @see {@link DeleteLoggingConfigurationCommand}
107
113
  */
108
- deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLoggingConfigurationCommandOutput>;
114
+ deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options?: AmpRequestOptions): Promise<DeleteLoggingConfigurationCommandOutput>;
109
115
  deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
110
- deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
116
+ deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
111
117
  /**
112
118
  * @see {@link DeleteQueryLoggingConfigurationCommand}
113
119
  */
114
- deleteQueryLoggingConfiguration(args: DeleteQueryLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteQueryLoggingConfigurationCommandOutput>;
120
+ deleteQueryLoggingConfiguration(args: DeleteQueryLoggingConfigurationCommandInput, options?: AmpRequestOptions): Promise<DeleteQueryLoggingConfigurationCommandOutput>;
115
121
  deleteQueryLoggingConfiguration(args: DeleteQueryLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteQueryLoggingConfigurationCommandOutput) => void): void;
116
- deleteQueryLoggingConfiguration(args: DeleteQueryLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQueryLoggingConfigurationCommandOutput) => void): void;
122
+ deleteQueryLoggingConfiguration(args: DeleteQueryLoggingConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DeleteQueryLoggingConfigurationCommandOutput) => void): void;
117
123
  /**
118
124
  * @see {@link DeleteResourcePolicyCommand}
119
125
  */
120
- deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
126
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: AmpRequestOptions): Promise<DeleteResourcePolicyCommandOutput>;
121
127
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
122
- deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
128
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
123
129
  /**
124
130
  * @see {@link DeleteRuleGroupsNamespaceCommand}
125
131
  */
126
- deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleGroupsNamespaceCommandOutput>;
132
+ deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options?: AmpRequestOptions): Promise<DeleteRuleGroupsNamespaceCommandOutput>;
127
133
  deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void;
128
- deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void;
134
+ deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void;
129
135
  /**
130
136
  * @see {@link DeleteScraperCommand}
131
137
  */
132
- deleteScraper(args: DeleteScraperCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScraperCommandOutput>;
138
+ deleteScraper(args: DeleteScraperCommandInput, options?: AmpRequestOptions): Promise<DeleteScraperCommandOutput>;
133
139
  deleteScraper(args: DeleteScraperCommandInput, cb: (err: any, data?: DeleteScraperCommandOutput) => void): void;
134
- deleteScraper(args: DeleteScraperCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScraperCommandOutput) => void): void;
140
+ deleteScraper(args: DeleteScraperCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DeleteScraperCommandOutput) => void): void;
135
141
  /**
136
142
  * @see {@link DeleteScraperLoggingConfigurationCommand}
137
143
  */
138
- deleteScraperLoggingConfiguration(args: DeleteScraperLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScraperLoggingConfigurationCommandOutput>;
144
+ deleteScraperLoggingConfiguration(args: DeleteScraperLoggingConfigurationCommandInput, options?: AmpRequestOptions): Promise<DeleteScraperLoggingConfigurationCommandOutput>;
139
145
  deleteScraperLoggingConfiguration(args: DeleteScraperLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteScraperLoggingConfigurationCommandOutput) => void): void;
140
- deleteScraperLoggingConfiguration(args: DeleteScraperLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScraperLoggingConfigurationCommandOutput) => void): void;
146
+ deleteScraperLoggingConfiguration(args: DeleteScraperLoggingConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DeleteScraperLoggingConfigurationCommandOutput) => void): void;
141
147
  /**
142
148
  * @see {@link DeleteWorkspaceCommand}
143
149
  */
144
- deleteWorkspace(args: DeleteWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkspaceCommandOutput>;
150
+ deleteWorkspace(args: DeleteWorkspaceCommandInput, options?: AmpRequestOptions): Promise<DeleteWorkspaceCommandOutput>;
145
151
  deleteWorkspace(args: DeleteWorkspaceCommandInput, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
146
- deleteWorkspace(args: DeleteWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
152
+ deleteWorkspace(args: DeleteWorkspaceCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
147
153
  /**
148
154
  * @see {@link DescribeAlertManagerDefinitionCommand}
149
155
  */
150
- describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlertManagerDefinitionCommandOutput>;
156
+ describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options?: AmpRequestOptions): Promise<DescribeAlertManagerDefinitionCommandOutput>;
151
157
  describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
152
- describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
158
+ describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
153
159
  /**
154
160
  * @see {@link DescribeAnomalyDetectorCommand}
155
161
  */
156
- describeAnomalyDetector(args: DescribeAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAnomalyDetectorCommandOutput>;
162
+ describeAnomalyDetector(args: DescribeAnomalyDetectorCommandInput, options?: AmpRequestOptions): Promise<DescribeAnomalyDetectorCommandOutput>;
157
163
  describeAnomalyDetector(args: DescribeAnomalyDetectorCommandInput, cb: (err: any, data?: DescribeAnomalyDetectorCommandOutput) => void): void;
158
- describeAnomalyDetector(args: DescribeAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAnomalyDetectorCommandOutput) => void): void;
164
+ describeAnomalyDetector(args: DescribeAnomalyDetectorCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DescribeAnomalyDetectorCommandOutput) => void): void;
159
165
  /**
160
166
  * @see {@link DescribeLoggingConfigurationCommand}
161
167
  */
162
- describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoggingConfigurationCommandOutput>;
168
+ describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, options?: AmpRequestOptions): Promise<DescribeLoggingConfigurationCommandOutput>;
163
169
  describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void): void;
164
- describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void): void;
170
+ describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void): void;
165
171
  /**
166
172
  * @see {@link DescribeQueryLoggingConfigurationCommand}
167
173
  */
168
- describeQueryLoggingConfiguration(args: DescribeQueryLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeQueryLoggingConfigurationCommandOutput>;
174
+ describeQueryLoggingConfiguration(args: DescribeQueryLoggingConfigurationCommandInput, options?: AmpRequestOptions): Promise<DescribeQueryLoggingConfigurationCommandOutput>;
169
175
  describeQueryLoggingConfiguration(args: DescribeQueryLoggingConfigurationCommandInput, cb: (err: any, data?: DescribeQueryLoggingConfigurationCommandOutput) => void): void;
170
- describeQueryLoggingConfiguration(args: DescribeQueryLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQueryLoggingConfigurationCommandOutput) => void): void;
176
+ describeQueryLoggingConfiguration(args: DescribeQueryLoggingConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DescribeQueryLoggingConfigurationCommandOutput) => void): void;
171
177
  /**
172
178
  * @see {@link DescribeResourcePolicyCommand}
173
179
  */
174
- describeResourcePolicy(args: DescribeResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResourcePolicyCommandOutput>;
180
+ describeResourcePolicy(args: DescribeResourcePolicyCommandInput, options?: AmpRequestOptions): Promise<DescribeResourcePolicyCommandOutput>;
175
181
  describeResourcePolicy(args: DescribeResourcePolicyCommandInput, cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void): void;
176
- describeResourcePolicy(args: DescribeResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void): void;
182
+ describeResourcePolicy(args: DescribeResourcePolicyCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void): void;
177
183
  /**
178
184
  * @see {@link DescribeRuleGroupsNamespaceCommand}
179
185
  */
180
- describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRuleGroupsNamespaceCommandOutput>;
186
+ describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options?: AmpRequestOptions): Promise<DescribeRuleGroupsNamespaceCommandOutput>;
181
187
  describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void;
182
- describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void;
188
+ describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void;
183
189
  /**
184
190
  * @see {@link DescribeScraperCommand}
185
191
  */
186
- describeScraper(args: DescribeScraperCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScraperCommandOutput>;
192
+ describeScraper(args: DescribeScraperCommandInput, options?: AmpRequestOptions): Promise<DescribeScraperCommandOutput>;
187
193
  describeScraper(args: DescribeScraperCommandInput, cb: (err: any, data?: DescribeScraperCommandOutput) => void): void;
188
- describeScraper(args: DescribeScraperCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScraperCommandOutput) => void): void;
194
+ describeScraper(args: DescribeScraperCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DescribeScraperCommandOutput) => void): void;
189
195
  /**
190
196
  * @see {@link DescribeScraperLoggingConfigurationCommand}
191
197
  */
192
- describeScraperLoggingConfiguration(args: DescribeScraperLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScraperLoggingConfigurationCommandOutput>;
198
+ describeScraperLoggingConfiguration(args: DescribeScraperLoggingConfigurationCommandInput, options?: AmpRequestOptions): Promise<DescribeScraperLoggingConfigurationCommandOutput>;
193
199
  describeScraperLoggingConfiguration(args: DescribeScraperLoggingConfigurationCommandInput, cb: (err: any, data?: DescribeScraperLoggingConfigurationCommandOutput) => void): void;
194
- describeScraperLoggingConfiguration(args: DescribeScraperLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScraperLoggingConfigurationCommandOutput) => void): void;
200
+ describeScraperLoggingConfiguration(args: DescribeScraperLoggingConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DescribeScraperLoggingConfigurationCommandOutput) => void): void;
195
201
  /**
196
202
  * @see {@link DescribeWorkspaceCommand}
197
203
  */
198
- describeWorkspace(args: DescribeWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkspaceCommandOutput>;
204
+ describeWorkspace(args: DescribeWorkspaceCommandInput, options?: AmpRequestOptions): Promise<DescribeWorkspaceCommandOutput>;
199
205
  describeWorkspace(args: DescribeWorkspaceCommandInput, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
200
- describeWorkspace(args: DescribeWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
206
+ describeWorkspace(args: DescribeWorkspaceCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
201
207
  /**
202
208
  * @see {@link DescribeWorkspaceConfigurationCommand}
203
209
  */
204
- describeWorkspaceConfiguration(args: DescribeWorkspaceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkspaceConfigurationCommandOutput>;
210
+ describeWorkspaceConfiguration(args: DescribeWorkspaceConfigurationCommandInput, options?: AmpRequestOptions): Promise<DescribeWorkspaceConfigurationCommandOutput>;
205
211
  describeWorkspaceConfiguration(args: DescribeWorkspaceConfigurationCommandInput, cb: (err: any, data?: DescribeWorkspaceConfigurationCommandOutput) => void): void;
206
- describeWorkspaceConfiguration(args: DescribeWorkspaceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceConfigurationCommandOutput) => void): void;
212
+ describeWorkspaceConfiguration(args: DescribeWorkspaceConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: DescribeWorkspaceConfigurationCommandOutput) => void): void;
207
213
  /**
208
214
  * @see {@link GetDefaultScraperConfigurationCommand}
209
215
  */
210
216
  getDefaultScraperConfiguration(): Promise<GetDefaultScraperConfigurationCommandOutput>;
211
- getDefaultScraperConfiguration(args: GetDefaultScraperConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetDefaultScraperConfigurationCommandOutput>;
217
+ getDefaultScraperConfiguration(args: GetDefaultScraperConfigurationCommandInput, options?: AmpRequestOptions): Promise<GetDefaultScraperConfigurationCommandOutput>;
212
218
  getDefaultScraperConfiguration(args: GetDefaultScraperConfigurationCommandInput, cb: (err: any, data?: GetDefaultScraperConfigurationCommandOutput) => void): void;
213
- getDefaultScraperConfiguration(args: GetDefaultScraperConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDefaultScraperConfigurationCommandOutput) => void): void;
219
+ getDefaultScraperConfiguration(args: GetDefaultScraperConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: GetDefaultScraperConfigurationCommandOutput) => void): void;
214
220
  /**
215
221
  * @see {@link ListAnomalyDetectorsCommand}
216
222
  */
217
- listAnomalyDetectors(args: ListAnomalyDetectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListAnomalyDetectorsCommandOutput>;
223
+ listAnomalyDetectors(args: ListAnomalyDetectorsCommandInput, options?: AmpRequestOptions): Promise<ListAnomalyDetectorsCommandOutput>;
218
224
  listAnomalyDetectors(args: ListAnomalyDetectorsCommandInput, cb: (err: any, data?: ListAnomalyDetectorsCommandOutput) => void): void;
219
- listAnomalyDetectors(args: ListAnomalyDetectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnomalyDetectorsCommandOutput) => void): void;
225
+ listAnomalyDetectors(args: ListAnomalyDetectorsCommandInput, options: AmpRequestOptions, cb: (err: any, data?: ListAnomalyDetectorsCommandOutput) => void): void;
220
226
  /**
221
227
  * @see {@link ListRuleGroupsNamespacesCommand}
222
228
  */
223
- listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleGroupsNamespacesCommandOutput>;
229
+ listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options?: AmpRequestOptions): Promise<ListRuleGroupsNamespacesCommandOutput>;
224
230
  listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void;
225
- listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void;
231
+ listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options: AmpRequestOptions, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void;
226
232
  /**
227
233
  * @see {@link ListScrapersCommand}
228
234
  */
229
235
  listScrapers(): Promise<ListScrapersCommandOutput>;
230
- listScrapers(args: ListScrapersCommandInput, options?: __HttpHandlerOptions): Promise<ListScrapersCommandOutput>;
236
+ listScrapers(args: ListScrapersCommandInput, options?: AmpRequestOptions): Promise<ListScrapersCommandOutput>;
231
237
  listScrapers(args: ListScrapersCommandInput, cb: (err: any, data?: ListScrapersCommandOutput) => void): void;
232
- listScrapers(args: ListScrapersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScrapersCommandOutput) => void): void;
238
+ listScrapers(args: ListScrapersCommandInput, options: AmpRequestOptions, cb: (err: any, data?: ListScrapersCommandOutput) => void): void;
233
239
  /**
234
240
  * @see {@link ListTagsForResourceCommand}
235
241
  */
236
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
242
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: AmpRequestOptions): Promise<ListTagsForResourceCommandOutput>;
237
243
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
238
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
244
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: AmpRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
239
245
  /**
240
246
  * @see {@link ListWorkspacesCommand}
241
247
  */
242
248
  listWorkspaces(): Promise<ListWorkspacesCommandOutput>;
243
- listWorkspaces(args: ListWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkspacesCommandOutput>;
249
+ listWorkspaces(args: ListWorkspacesCommandInput, options?: AmpRequestOptions): Promise<ListWorkspacesCommandOutput>;
244
250
  listWorkspaces(args: ListWorkspacesCommandInput, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
245
- listWorkspaces(args: ListWorkspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
251
+ listWorkspaces(args: ListWorkspacesCommandInput, options: AmpRequestOptions, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
246
252
  /**
247
253
  * @see {@link PutAlertManagerDefinitionCommand}
248
254
  */
249
- putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<PutAlertManagerDefinitionCommandOutput>;
255
+ putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options?: AmpRequestOptions): Promise<PutAlertManagerDefinitionCommandOutput>;
250
256
  putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
251
- putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
257
+ putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options: AmpRequestOptions, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
252
258
  /**
253
259
  * @see {@link PutAnomalyDetectorCommand}
254
260
  */
255
- putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<PutAnomalyDetectorCommandOutput>;
261
+ putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options?: AmpRequestOptions): Promise<PutAnomalyDetectorCommandOutput>;
256
262
  putAnomalyDetector(args: PutAnomalyDetectorCommandInput, cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void): void;
257
- putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void): void;
263
+ putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options: AmpRequestOptions, cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void): void;
258
264
  /**
259
265
  * @see {@link PutResourcePolicyCommand}
260
266
  */
261
- putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
267
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: AmpRequestOptions): Promise<PutResourcePolicyCommandOutput>;
262
268
  putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
263
- putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
269
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options: AmpRequestOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
264
270
  /**
265
271
  * @see {@link PutRuleGroupsNamespaceCommand}
266
272
  */
267
- putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<PutRuleGroupsNamespaceCommandOutput>;
273
+ putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options?: AmpRequestOptions): Promise<PutRuleGroupsNamespaceCommandOutput>;
268
274
  putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void;
269
- putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void;
275
+ putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options: AmpRequestOptions, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void;
270
276
  /**
271
277
  * @see {@link TagResourceCommand}
272
278
  */
273
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
279
+ tagResource(args: TagResourceCommandInput, options?: AmpRequestOptions): Promise<TagResourceCommandOutput>;
274
280
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
275
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
281
+ tagResource(args: TagResourceCommandInput, options: AmpRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
276
282
  /**
277
283
  * @see {@link UntagResourceCommand}
278
284
  */
279
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
285
+ untagResource(args: UntagResourceCommandInput, options?: AmpRequestOptions): Promise<UntagResourceCommandOutput>;
280
286
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
281
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
287
+ untagResource(args: UntagResourceCommandInput, options: AmpRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
282
288
  /**
283
289
  * @see {@link UpdateLoggingConfigurationCommand}
284
290
  */
285
- updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLoggingConfigurationCommandOutput>;
291
+ updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options?: AmpRequestOptions): Promise<UpdateLoggingConfigurationCommandOutput>;
286
292
  updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void;
287
- updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void;
293
+ updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void;
288
294
  /**
289
295
  * @see {@link UpdateQueryLoggingConfigurationCommand}
290
296
  */
291
- updateQueryLoggingConfiguration(args: UpdateQueryLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateQueryLoggingConfigurationCommandOutput>;
297
+ updateQueryLoggingConfiguration(args: UpdateQueryLoggingConfigurationCommandInput, options?: AmpRequestOptions): Promise<UpdateQueryLoggingConfigurationCommandOutput>;
292
298
  updateQueryLoggingConfiguration(args: UpdateQueryLoggingConfigurationCommandInput, cb: (err: any, data?: UpdateQueryLoggingConfigurationCommandOutput) => void): void;
293
- updateQueryLoggingConfiguration(args: UpdateQueryLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateQueryLoggingConfigurationCommandOutput) => void): void;
299
+ updateQueryLoggingConfiguration(args: UpdateQueryLoggingConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: UpdateQueryLoggingConfigurationCommandOutput) => void): void;
294
300
  /**
295
301
  * @see {@link UpdateScraperCommand}
296
302
  */
297
- updateScraper(args: UpdateScraperCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScraperCommandOutput>;
303
+ updateScraper(args: UpdateScraperCommandInput, options?: AmpRequestOptions): Promise<UpdateScraperCommandOutput>;
298
304
  updateScraper(args: UpdateScraperCommandInput, cb: (err: any, data?: UpdateScraperCommandOutput) => void): void;
299
- updateScraper(args: UpdateScraperCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScraperCommandOutput) => void): void;
305
+ updateScraper(args: UpdateScraperCommandInput, options: AmpRequestOptions, cb: (err: any, data?: UpdateScraperCommandOutput) => void): void;
300
306
  /**
301
307
  * @see {@link UpdateScraperLoggingConfigurationCommand}
302
308
  */
303
- updateScraperLoggingConfiguration(args: UpdateScraperLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScraperLoggingConfigurationCommandOutput>;
309
+ updateScraperLoggingConfiguration(args: UpdateScraperLoggingConfigurationCommandInput, options?: AmpRequestOptions): Promise<UpdateScraperLoggingConfigurationCommandOutput>;
304
310
  updateScraperLoggingConfiguration(args: UpdateScraperLoggingConfigurationCommandInput, cb: (err: any, data?: UpdateScraperLoggingConfigurationCommandOutput) => void): void;
305
- updateScraperLoggingConfiguration(args: UpdateScraperLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScraperLoggingConfigurationCommandOutput) => void): void;
311
+ updateScraperLoggingConfiguration(args: UpdateScraperLoggingConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: UpdateScraperLoggingConfigurationCommandOutput) => void): void;
306
312
  /**
307
313
  * @see {@link UpdateWorkspaceAliasCommand}
308
314
  */
309
- updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceAliasCommandOutput>;
315
+ updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options?: AmpRequestOptions): Promise<UpdateWorkspaceAliasCommandOutput>;
310
316
  updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
311
- updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
317
+ updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options: AmpRequestOptions, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
312
318
  /**
313
319
  * @see {@link UpdateWorkspaceConfigurationCommand}
314
320
  */
315
- updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceConfigurationCommandOutput>;
321
+ updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, options?: AmpRequestOptions): Promise<UpdateWorkspaceConfigurationCommandOutput>;
316
322
  updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void): void;
317
- updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void): void;
323
+ updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, options: AmpRequestOptions, cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void): void;
318
324
  /**
319
325
  * @see {@link ListAnomalyDetectorsCommand}
320
326
  * @param args - command input.
@@ -1,6 +1,7 @@
1
1
  import { WaiterResult } from "@smithy/core/client";
2
2
  import {
3
3
  HttpHandlerOptions as __HttpHandlerOptions,
4
+ MetricsRecorder as __MetricsRecorder,
4
5
  PaginationConfiguration,
5
6
  Paginator,
6
7
  WaiterConfiguration,
@@ -180,10 +181,13 @@ import {
180
181
  UpdateWorkspaceConfigurationCommandOutput,
181
182
  } from "./commands/UpdateWorkspaceConfigurationCommand";
182
183
  import { ResourceNotFoundException } from "./models/errors";
184
+ export interface AmpRequestOptions extends __HttpHandlerOptions {
185
+ metricsRecorder?: __MetricsRecorder<unknown>;
186
+ }
183
187
  export interface Amp {
184
188
  createAlertManagerDefinition(
185
189
  args: CreateAlertManagerDefinitionCommandInput,
186
- options?: __HttpHandlerOptions,
190
+ options?: AmpRequestOptions,
187
191
  ): Promise<CreateAlertManagerDefinitionCommandOutput>;
188
192
  createAlertManagerDefinition(
189
193
  args: CreateAlertManagerDefinitionCommandInput,
@@ -191,12 +195,12 @@ export interface Amp {
191
195
  ): void;
192
196
  createAlertManagerDefinition(
193
197
  args: CreateAlertManagerDefinitionCommandInput,
194
- options: __HttpHandlerOptions,
198
+ options: AmpRequestOptions,
195
199
  cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void,
196
200
  ): void;
197
201
  createAnomalyDetector(
198
202
  args: CreateAnomalyDetectorCommandInput,
199
- options?: __HttpHandlerOptions,
203
+ options?: AmpRequestOptions,
200
204
  ): Promise<CreateAnomalyDetectorCommandOutput>;
201
205
  createAnomalyDetector(
202
206
  args: CreateAnomalyDetectorCommandInput,
@@ -204,12 +208,12 @@ export interface Amp {
204
208
  ): void;
205
209
  createAnomalyDetector(
206
210
  args: CreateAnomalyDetectorCommandInput,
207
- options: __HttpHandlerOptions,
211
+ options: AmpRequestOptions,
208
212
  cb: (err: any, data?: CreateAnomalyDetectorCommandOutput) => void,
209
213
  ): void;
210
214
  createLoggingConfiguration(
211
215
  args: CreateLoggingConfigurationCommandInput,
212
- options?: __HttpHandlerOptions,
216
+ options?: AmpRequestOptions,
213
217
  ): Promise<CreateLoggingConfigurationCommandOutput>;
214
218
  createLoggingConfiguration(
215
219
  args: CreateLoggingConfigurationCommandInput,
@@ -217,12 +221,12 @@ export interface Amp {
217
221
  ): void;
218
222
  createLoggingConfiguration(
219
223
  args: CreateLoggingConfigurationCommandInput,
220
- options: __HttpHandlerOptions,
224
+ options: AmpRequestOptions,
221
225
  cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void,
222
226
  ): void;
223
227
  createQueryLoggingConfiguration(
224
228
  args: CreateQueryLoggingConfigurationCommandInput,
225
- options?: __HttpHandlerOptions,
229
+ options?: AmpRequestOptions,
226
230
  ): Promise<CreateQueryLoggingConfigurationCommandOutput>;
227
231
  createQueryLoggingConfiguration(
228
232
  args: CreateQueryLoggingConfigurationCommandInput,
@@ -230,12 +234,12 @@ export interface Amp {
230
234
  ): void;
231
235
  createQueryLoggingConfiguration(
232
236
  args: CreateQueryLoggingConfigurationCommandInput,
233
- options: __HttpHandlerOptions,
237
+ options: AmpRequestOptions,
234
238
  cb: (err: any, data?: CreateQueryLoggingConfigurationCommandOutput) => void,
235
239
  ): void;
236
240
  createRuleGroupsNamespace(
237
241
  args: CreateRuleGroupsNamespaceCommandInput,
238
- options?: __HttpHandlerOptions,
242
+ options?: AmpRequestOptions,
239
243
  ): Promise<CreateRuleGroupsNamespaceCommandOutput>;
240
244
  createRuleGroupsNamespace(
241
245
  args: CreateRuleGroupsNamespaceCommandInput,
@@ -243,12 +247,12 @@ export interface Amp {
243
247
  ): void;
244
248
  createRuleGroupsNamespace(
245
249
  args: CreateRuleGroupsNamespaceCommandInput,
246
- options: __HttpHandlerOptions,
250
+ options: AmpRequestOptions,
247
251
  cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void,
248
252
  ): void;
249
253
  createScraper(
250
254
  args: CreateScraperCommandInput,
251
- options?: __HttpHandlerOptions,
255
+ options?: AmpRequestOptions,
252
256
  ): Promise<CreateScraperCommandOutput>;
253
257
  createScraper(
254
258
  args: CreateScraperCommandInput,
@@ -256,13 +260,13 @@ export interface Amp {
256
260
  ): void;
257
261
  createScraper(
258
262
  args: CreateScraperCommandInput,
259
- options: __HttpHandlerOptions,
263
+ options: AmpRequestOptions,
260
264
  cb: (err: any, data?: CreateScraperCommandOutput) => void,
261
265
  ): void;
262
266
  createWorkspace(): Promise<CreateWorkspaceCommandOutput>;
263
267
  createWorkspace(
264
268
  args: CreateWorkspaceCommandInput,
265
- options?: __HttpHandlerOptions,
269
+ options?: AmpRequestOptions,
266
270
  ): Promise<CreateWorkspaceCommandOutput>;
267
271
  createWorkspace(
268
272
  args: CreateWorkspaceCommandInput,
@@ -270,12 +274,12 @@ export interface Amp {
270
274
  ): void;
271
275
  createWorkspace(
272
276
  args: CreateWorkspaceCommandInput,
273
- options: __HttpHandlerOptions,
277
+ options: AmpRequestOptions,
274
278
  cb: (err: any, data?: CreateWorkspaceCommandOutput) => void,
275
279
  ): void;
276
280
  deleteAlertManagerDefinition(
277
281
  args: DeleteAlertManagerDefinitionCommandInput,
278
- options?: __HttpHandlerOptions,
282
+ options?: AmpRequestOptions,
279
283
  ): Promise<DeleteAlertManagerDefinitionCommandOutput>;
280
284
  deleteAlertManagerDefinition(
281
285
  args: DeleteAlertManagerDefinitionCommandInput,
@@ -283,12 +287,12 @@ export interface Amp {
283
287
  ): void;
284
288
  deleteAlertManagerDefinition(
285
289
  args: DeleteAlertManagerDefinitionCommandInput,
286
- options: __HttpHandlerOptions,
290
+ options: AmpRequestOptions,
287
291
  cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void,
288
292
  ): void;
289
293
  deleteAnomalyDetector(
290
294
  args: DeleteAnomalyDetectorCommandInput,
291
- options?: __HttpHandlerOptions,
295
+ options?: AmpRequestOptions,
292
296
  ): Promise<DeleteAnomalyDetectorCommandOutput>;
293
297
  deleteAnomalyDetector(
294
298
  args: DeleteAnomalyDetectorCommandInput,
@@ -296,12 +300,12 @@ export interface Amp {
296
300
  ): void;
297
301
  deleteAnomalyDetector(
298
302
  args: DeleteAnomalyDetectorCommandInput,
299
- options: __HttpHandlerOptions,
303
+ options: AmpRequestOptions,
300
304
  cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void,
301
305
  ): void;
302
306
  deleteLoggingConfiguration(
303
307
  args: DeleteLoggingConfigurationCommandInput,
304
- options?: __HttpHandlerOptions,
308
+ options?: AmpRequestOptions,
305
309
  ): Promise<DeleteLoggingConfigurationCommandOutput>;
306
310
  deleteLoggingConfiguration(
307
311
  args: DeleteLoggingConfigurationCommandInput,
@@ -309,12 +313,12 @@ export interface Amp {
309
313
  ): void;
310
314
  deleteLoggingConfiguration(
311
315
  args: DeleteLoggingConfigurationCommandInput,
312
- options: __HttpHandlerOptions,
316
+ options: AmpRequestOptions,
313
317
  cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void,
314
318
  ): void;
315
319
  deleteQueryLoggingConfiguration(
316
320
  args: DeleteQueryLoggingConfigurationCommandInput,
317
- options?: __HttpHandlerOptions,
321
+ options?: AmpRequestOptions,
318
322
  ): Promise<DeleteQueryLoggingConfigurationCommandOutput>;
319
323
  deleteQueryLoggingConfiguration(
320
324
  args: DeleteQueryLoggingConfigurationCommandInput,
@@ -322,12 +326,12 @@ export interface Amp {
322
326
  ): void;
323
327
  deleteQueryLoggingConfiguration(
324
328
  args: DeleteQueryLoggingConfigurationCommandInput,
325
- options: __HttpHandlerOptions,
329
+ options: AmpRequestOptions,
326
330
  cb: (err: any, data?: DeleteQueryLoggingConfigurationCommandOutput) => void,
327
331
  ): void;
328
332
  deleteResourcePolicy(
329
333
  args: DeleteResourcePolicyCommandInput,
330
- options?: __HttpHandlerOptions,
334
+ options?: AmpRequestOptions,
331
335
  ): Promise<DeleteResourcePolicyCommandOutput>;
332
336
  deleteResourcePolicy(
333
337
  args: DeleteResourcePolicyCommandInput,
@@ -335,12 +339,12 @@ export interface Amp {
335
339
  ): void;
336
340
  deleteResourcePolicy(
337
341
  args: DeleteResourcePolicyCommandInput,
338
- options: __HttpHandlerOptions,
342
+ options: AmpRequestOptions,
339
343
  cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
340
344
  ): void;
341
345
  deleteRuleGroupsNamespace(
342
346
  args: DeleteRuleGroupsNamespaceCommandInput,
343
- options?: __HttpHandlerOptions,
347
+ options?: AmpRequestOptions,
344
348
  ): Promise<DeleteRuleGroupsNamespaceCommandOutput>;
345
349
  deleteRuleGroupsNamespace(
346
350
  args: DeleteRuleGroupsNamespaceCommandInput,
@@ -348,12 +352,12 @@ export interface Amp {
348
352
  ): void;
349
353
  deleteRuleGroupsNamespace(
350
354
  args: DeleteRuleGroupsNamespaceCommandInput,
351
- options: __HttpHandlerOptions,
355
+ options: AmpRequestOptions,
352
356
  cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void,
353
357
  ): void;
354
358
  deleteScraper(
355
359
  args: DeleteScraperCommandInput,
356
- options?: __HttpHandlerOptions,
360
+ options?: AmpRequestOptions,
357
361
  ): Promise<DeleteScraperCommandOutput>;
358
362
  deleteScraper(
359
363
  args: DeleteScraperCommandInput,
@@ -361,12 +365,12 @@ export interface Amp {
361
365
  ): void;
362
366
  deleteScraper(
363
367
  args: DeleteScraperCommandInput,
364
- options: __HttpHandlerOptions,
368
+ options: AmpRequestOptions,
365
369
  cb: (err: any, data?: DeleteScraperCommandOutput) => void,
366
370
  ): void;
367
371
  deleteScraperLoggingConfiguration(
368
372
  args: DeleteScraperLoggingConfigurationCommandInput,
369
- options?: __HttpHandlerOptions,
373
+ options?: AmpRequestOptions,
370
374
  ): Promise<DeleteScraperLoggingConfigurationCommandOutput>;
371
375
  deleteScraperLoggingConfiguration(
372
376
  args: DeleteScraperLoggingConfigurationCommandInput,
@@ -374,12 +378,12 @@ export interface Amp {
374
378
  ): void;
375
379
  deleteScraperLoggingConfiguration(
376
380
  args: DeleteScraperLoggingConfigurationCommandInput,
377
- options: __HttpHandlerOptions,
381
+ options: AmpRequestOptions,
378
382
  cb: (err: any, data?: DeleteScraperLoggingConfigurationCommandOutput) => void,
379
383
  ): void;
380
384
  deleteWorkspace(
381
385
  args: DeleteWorkspaceCommandInput,
382
- options?: __HttpHandlerOptions,
386
+ options?: AmpRequestOptions,
383
387
  ): Promise<DeleteWorkspaceCommandOutput>;
384
388
  deleteWorkspace(
385
389
  args: DeleteWorkspaceCommandInput,
@@ -387,12 +391,12 @@ export interface Amp {
387
391
  ): void;
388
392
  deleteWorkspace(
389
393
  args: DeleteWorkspaceCommandInput,
390
- options: __HttpHandlerOptions,
394
+ options: AmpRequestOptions,
391
395
  cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void,
392
396
  ): void;
393
397
  describeAlertManagerDefinition(
394
398
  args: DescribeAlertManagerDefinitionCommandInput,
395
- options?: __HttpHandlerOptions,
399
+ options?: AmpRequestOptions,
396
400
  ): Promise<DescribeAlertManagerDefinitionCommandOutput>;
397
401
  describeAlertManagerDefinition(
398
402
  args: DescribeAlertManagerDefinitionCommandInput,
@@ -400,12 +404,12 @@ export interface Amp {
400
404
  ): void;
401
405
  describeAlertManagerDefinition(
402
406
  args: DescribeAlertManagerDefinitionCommandInput,
403
- options: __HttpHandlerOptions,
407
+ options: AmpRequestOptions,
404
408
  cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void,
405
409
  ): void;
406
410
  describeAnomalyDetector(
407
411
  args: DescribeAnomalyDetectorCommandInput,
408
- options?: __HttpHandlerOptions,
412
+ options?: AmpRequestOptions,
409
413
  ): Promise<DescribeAnomalyDetectorCommandOutput>;
410
414
  describeAnomalyDetector(
411
415
  args: DescribeAnomalyDetectorCommandInput,
@@ -413,12 +417,12 @@ export interface Amp {
413
417
  ): void;
414
418
  describeAnomalyDetector(
415
419
  args: DescribeAnomalyDetectorCommandInput,
416
- options: __HttpHandlerOptions,
420
+ options: AmpRequestOptions,
417
421
  cb: (err: any, data?: DescribeAnomalyDetectorCommandOutput) => void,
418
422
  ): void;
419
423
  describeLoggingConfiguration(
420
424
  args: DescribeLoggingConfigurationCommandInput,
421
- options?: __HttpHandlerOptions,
425
+ options?: AmpRequestOptions,
422
426
  ): Promise<DescribeLoggingConfigurationCommandOutput>;
423
427
  describeLoggingConfiguration(
424
428
  args: DescribeLoggingConfigurationCommandInput,
@@ -426,12 +430,12 @@ export interface Amp {
426
430
  ): void;
427
431
  describeLoggingConfiguration(
428
432
  args: DescribeLoggingConfigurationCommandInput,
429
- options: __HttpHandlerOptions,
433
+ options: AmpRequestOptions,
430
434
  cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void,
431
435
  ): void;
432
436
  describeQueryLoggingConfiguration(
433
437
  args: DescribeQueryLoggingConfigurationCommandInput,
434
- options?: __HttpHandlerOptions,
438
+ options?: AmpRequestOptions,
435
439
  ): Promise<DescribeQueryLoggingConfigurationCommandOutput>;
436
440
  describeQueryLoggingConfiguration(
437
441
  args: DescribeQueryLoggingConfigurationCommandInput,
@@ -439,12 +443,12 @@ export interface Amp {
439
443
  ): void;
440
444
  describeQueryLoggingConfiguration(
441
445
  args: DescribeQueryLoggingConfigurationCommandInput,
442
- options: __HttpHandlerOptions,
446
+ options: AmpRequestOptions,
443
447
  cb: (err: any, data?: DescribeQueryLoggingConfigurationCommandOutput) => void,
444
448
  ): void;
445
449
  describeResourcePolicy(
446
450
  args: DescribeResourcePolicyCommandInput,
447
- options?: __HttpHandlerOptions,
451
+ options?: AmpRequestOptions,
448
452
  ): Promise<DescribeResourcePolicyCommandOutput>;
449
453
  describeResourcePolicy(
450
454
  args: DescribeResourcePolicyCommandInput,
@@ -452,12 +456,12 @@ export interface Amp {
452
456
  ): void;
453
457
  describeResourcePolicy(
454
458
  args: DescribeResourcePolicyCommandInput,
455
- options: __HttpHandlerOptions,
459
+ options: AmpRequestOptions,
456
460
  cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void,
457
461
  ): void;
458
462
  describeRuleGroupsNamespace(
459
463
  args: DescribeRuleGroupsNamespaceCommandInput,
460
- options?: __HttpHandlerOptions,
464
+ options?: AmpRequestOptions,
461
465
  ): Promise<DescribeRuleGroupsNamespaceCommandOutput>;
462
466
  describeRuleGroupsNamespace(
463
467
  args: DescribeRuleGroupsNamespaceCommandInput,
@@ -465,12 +469,12 @@ export interface Amp {
465
469
  ): void;
466
470
  describeRuleGroupsNamespace(
467
471
  args: DescribeRuleGroupsNamespaceCommandInput,
468
- options: __HttpHandlerOptions,
472
+ options: AmpRequestOptions,
469
473
  cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void,
470
474
  ): void;
471
475
  describeScraper(
472
476
  args: DescribeScraperCommandInput,
473
- options?: __HttpHandlerOptions,
477
+ options?: AmpRequestOptions,
474
478
  ): Promise<DescribeScraperCommandOutput>;
475
479
  describeScraper(
476
480
  args: DescribeScraperCommandInput,
@@ -478,12 +482,12 @@ export interface Amp {
478
482
  ): void;
479
483
  describeScraper(
480
484
  args: DescribeScraperCommandInput,
481
- options: __HttpHandlerOptions,
485
+ options: AmpRequestOptions,
482
486
  cb: (err: any, data?: DescribeScraperCommandOutput) => void,
483
487
  ): void;
484
488
  describeScraperLoggingConfiguration(
485
489
  args: DescribeScraperLoggingConfigurationCommandInput,
486
- options?: __HttpHandlerOptions,
490
+ options?: AmpRequestOptions,
487
491
  ): Promise<DescribeScraperLoggingConfigurationCommandOutput>;
488
492
  describeScraperLoggingConfiguration(
489
493
  args: DescribeScraperLoggingConfigurationCommandInput,
@@ -491,12 +495,12 @@ export interface Amp {
491
495
  ): void;
492
496
  describeScraperLoggingConfiguration(
493
497
  args: DescribeScraperLoggingConfigurationCommandInput,
494
- options: __HttpHandlerOptions,
498
+ options: AmpRequestOptions,
495
499
  cb: (err: any, data?: DescribeScraperLoggingConfigurationCommandOutput) => void,
496
500
  ): void;
497
501
  describeWorkspace(
498
502
  args: DescribeWorkspaceCommandInput,
499
- options?: __HttpHandlerOptions,
503
+ options?: AmpRequestOptions,
500
504
  ): Promise<DescribeWorkspaceCommandOutput>;
501
505
  describeWorkspace(
502
506
  args: DescribeWorkspaceCommandInput,
@@ -504,12 +508,12 @@ export interface Amp {
504
508
  ): void;
505
509
  describeWorkspace(
506
510
  args: DescribeWorkspaceCommandInput,
507
- options: __HttpHandlerOptions,
511
+ options: AmpRequestOptions,
508
512
  cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void,
509
513
  ): void;
510
514
  describeWorkspaceConfiguration(
511
515
  args: DescribeWorkspaceConfigurationCommandInput,
512
- options?: __HttpHandlerOptions,
516
+ options?: AmpRequestOptions,
513
517
  ): Promise<DescribeWorkspaceConfigurationCommandOutput>;
514
518
  describeWorkspaceConfiguration(
515
519
  args: DescribeWorkspaceConfigurationCommandInput,
@@ -517,13 +521,13 @@ export interface Amp {
517
521
  ): void;
518
522
  describeWorkspaceConfiguration(
519
523
  args: DescribeWorkspaceConfigurationCommandInput,
520
- options: __HttpHandlerOptions,
524
+ options: AmpRequestOptions,
521
525
  cb: (err: any, data?: DescribeWorkspaceConfigurationCommandOutput) => void,
522
526
  ): void;
523
527
  getDefaultScraperConfiguration(): Promise<GetDefaultScraperConfigurationCommandOutput>;
524
528
  getDefaultScraperConfiguration(
525
529
  args: GetDefaultScraperConfigurationCommandInput,
526
- options?: __HttpHandlerOptions,
530
+ options?: AmpRequestOptions,
527
531
  ): Promise<GetDefaultScraperConfigurationCommandOutput>;
528
532
  getDefaultScraperConfiguration(
529
533
  args: GetDefaultScraperConfigurationCommandInput,
@@ -531,12 +535,12 @@ export interface Amp {
531
535
  ): void;
532
536
  getDefaultScraperConfiguration(
533
537
  args: GetDefaultScraperConfigurationCommandInput,
534
- options: __HttpHandlerOptions,
538
+ options: AmpRequestOptions,
535
539
  cb: (err: any, data?: GetDefaultScraperConfigurationCommandOutput) => void,
536
540
  ): void;
537
541
  listAnomalyDetectors(
538
542
  args: ListAnomalyDetectorsCommandInput,
539
- options?: __HttpHandlerOptions,
543
+ options?: AmpRequestOptions,
540
544
  ): Promise<ListAnomalyDetectorsCommandOutput>;
541
545
  listAnomalyDetectors(
542
546
  args: ListAnomalyDetectorsCommandInput,
@@ -544,12 +548,12 @@ export interface Amp {
544
548
  ): void;
545
549
  listAnomalyDetectors(
546
550
  args: ListAnomalyDetectorsCommandInput,
547
- options: __HttpHandlerOptions,
551
+ options: AmpRequestOptions,
548
552
  cb: (err: any, data?: ListAnomalyDetectorsCommandOutput) => void,
549
553
  ): void;
550
554
  listRuleGroupsNamespaces(
551
555
  args: ListRuleGroupsNamespacesCommandInput,
552
- options?: __HttpHandlerOptions,
556
+ options?: AmpRequestOptions,
553
557
  ): Promise<ListRuleGroupsNamespacesCommandOutput>;
554
558
  listRuleGroupsNamespaces(
555
559
  args: ListRuleGroupsNamespacesCommandInput,
@@ -557,13 +561,13 @@ export interface Amp {
557
561
  ): void;
558
562
  listRuleGroupsNamespaces(
559
563
  args: ListRuleGroupsNamespacesCommandInput,
560
- options: __HttpHandlerOptions,
564
+ options: AmpRequestOptions,
561
565
  cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void,
562
566
  ): void;
563
567
  listScrapers(): Promise<ListScrapersCommandOutput>;
564
568
  listScrapers(
565
569
  args: ListScrapersCommandInput,
566
- options?: __HttpHandlerOptions,
570
+ options?: AmpRequestOptions,
567
571
  ): Promise<ListScrapersCommandOutput>;
568
572
  listScrapers(
569
573
  args: ListScrapersCommandInput,
@@ -571,12 +575,12 @@ export interface Amp {
571
575
  ): void;
572
576
  listScrapers(
573
577
  args: ListScrapersCommandInput,
574
- options: __HttpHandlerOptions,
578
+ options: AmpRequestOptions,
575
579
  cb: (err: any, data?: ListScrapersCommandOutput) => void,
576
580
  ): void;
577
581
  listTagsForResource(
578
582
  args: ListTagsForResourceCommandInput,
579
- options?: __HttpHandlerOptions,
583
+ options?: AmpRequestOptions,
580
584
  ): Promise<ListTagsForResourceCommandOutput>;
581
585
  listTagsForResource(
582
586
  args: ListTagsForResourceCommandInput,
@@ -584,13 +588,13 @@ export interface Amp {
584
588
  ): void;
585
589
  listTagsForResource(
586
590
  args: ListTagsForResourceCommandInput,
587
- options: __HttpHandlerOptions,
591
+ options: AmpRequestOptions,
588
592
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
589
593
  ): void;
590
594
  listWorkspaces(): Promise<ListWorkspacesCommandOutput>;
591
595
  listWorkspaces(
592
596
  args: ListWorkspacesCommandInput,
593
- options?: __HttpHandlerOptions,
597
+ options?: AmpRequestOptions,
594
598
  ): Promise<ListWorkspacesCommandOutput>;
595
599
  listWorkspaces(
596
600
  args: ListWorkspacesCommandInput,
@@ -598,12 +602,12 @@ export interface Amp {
598
602
  ): void;
599
603
  listWorkspaces(
600
604
  args: ListWorkspacesCommandInput,
601
- options: __HttpHandlerOptions,
605
+ options: AmpRequestOptions,
602
606
  cb: (err: any, data?: ListWorkspacesCommandOutput) => void,
603
607
  ): void;
604
608
  putAlertManagerDefinition(
605
609
  args: PutAlertManagerDefinitionCommandInput,
606
- options?: __HttpHandlerOptions,
610
+ options?: AmpRequestOptions,
607
611
  ): Promise<PutAlertManagerDefinitionCommandOutput>;
608
612
  putAlertManagerDefinition(
609
613
  args: PutAlertManagerDefinitionCommandInput,
@@ -611,12 +615,12 @@ export interface Amp {
611
615
  ): void;
612
616
  putAlertManagerDefinition(
613
617
  args: PutAlertManagerDefinitionCommandInput,
614
- options: __HttpHandlerOptions,
618
+ options: AmpRequestOptions,
615
619
  cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void,
616
620
  ): void;
617
621
  putAnomalyDetector(
618
622
  args: PutAnomalyDetectorCommandInput,
619
- options?: __HttpHandlerOptions,
623
+ options?: AmpRequestOptions,
620
624
  ): Promise<PutAnomalyDetectorCommandOutput>;
621
625
  putAnomalyDetector(
622
626
  args: PutAnomalyDetectorCommandInput,
@@ -624,12 +628,12 @@ export interface Amp {
624
628
  ): void;
625
629
  putAnomalyDetector(
626
630
  args: PutAnomalyDetectorCommandInput,
627
- options: __HttpHandlerOptions,
631
+ options: AmpRequestOptions,
628
632
  cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void,
629
633
  ): void;
630
634
  putResourcePolicy(
631
635
  args: PutResourcePolicyCommandInput,
632
- options?: __HttpHandlerOptions,
636
+ options?: AmpRequestOptions,
633
637
  ): Promise<PutResourcePolicyCommandOutput>;
634
638
  putResourcePolicy(
635
639
  args: PutResourcePolicyCommandInput,
@@ -637,12 +641,12 @@ export interface Amp {
637
641
  ): void;
638
642
  putResourcePolicy(
639
643
  args: PutResourcePolicyCommandInput,
640
- options: __HttpHandlerOptions,
644
+ options: AmpRequestOptions,
641
645
  cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
642
646
  ): void;
643
647
  putRuleGroupsNamespace(
644
648
  args: PutRuleGroupsNamespaceCommandInput,
645
- options?: __HttpHandlerOptions,
649
+ options?: AmpRequestOptions,
646
650
  ): Promise<PutRuleGroupsNamespaceCommandOutput>;
647
651
  putRuleGroupsNamespace(
648
652
  args: PutRuleGroupsNamespaceCommandInput,
@@ -650,12 +654,12 @@ export interface Amp {
650
654
  ): void;
651
655
  putRuleGroupsNamespace(
652
656
  args: PutRuleGroupsNamespaceCommandInput,
653
- options: __HttpHandlerOptions,
657
+ options: AmpRequestOptions,
654
658
  cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void,
655
659
  ): void;
656
660
  tagResource(
657
661
  args: TagResourceCommandInput,
658
- options?: __HttpHandlerOptions,
662
+ options?: AmpRequestOptions,
659
663
  ): Promise<TagResourceCommandOutput>;
660
664
  tagResource(
661
665
  args: TagResourceCommandInput,
@@ -663,12 +667,12 @@ export interface Amp {
663
667
  ): void;
664
668
  tagResource(
665
669
  args: TagResourceCommandInput,
666
- options: __HttpHandlerOptions,
670
+ options: AmpRequestOptions,
667
671
  cb: (err: any, data?: TagResourceCommandOutput) => void,
668
672
  ): void;
669
673
  untagResource(
670
674
  args: UntagResourceCommandInput,
671
- options?: __HttpHandlerOptions,
675
+ options?: AmpRequestOptions,
672
676
  ): Promise<UntagResourceCommandOutput>;
673
677
  untagResource(
674
678
  args: UntagResourceCommandInput,
@@ -676,12 +680,12 @@ export interface Amp {
676
680
  ): void;
677
681
  untagResource(
678
682
  args: UntagResourceCommandInput,
679
- options: __HttpHandlerOptions,
683
+ options: AmpRequestOptions,
680
684
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
681
685
  ): void;
682
686
  updateLoggingConfiguration(
683
687
  args: UpdateLoggingConfigurationCommandInput,
684
- options?: __HttpHandlerOptions,
688
+ options?: AmpRequestOptions,
685
689
  ): Promise<UpdateLoggingConfigurationCommandOutput>;
686
690
  updateLoggingConfiguration(
687
691
  args: UpdateLoggingConfigurationCommandInput,
@@ -689,12 +693,12 @@ export interface Amp {
689
693
  ): void;
690
694
  updateLoggingConfiguration(
691
695
  args: UpdateLoggingConfigurationCommandInput,
692
- options: __HttpHandlerOptions,
696
+ options: AmpRequestOptions,
693
697
  cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void,
694
698
  ): void;
695
699
  updateQueryLoggingConfiguration(
696
700
  args: UpdateQueryLoggingConfigurationCommandInput,
697
- options?: __HttpHandlerOptions,
701
+ options?: AmpRequestOptions,
698
702
  ): Promise<UpdateQueryLoggingConfigurationCommandOutput>;
699
703
  updateQueryLoggingConfiguration(
700
704
  args: UpdateQueryLoggingConfigurationCommandInput,
@@ -702,12 +706,12 @@ export interface Amp {
702
706
  ): void;
703
707
  updateQueryLoggingConfiguration(
704
708
  args: UpdateQueryLoggingConfigurationCommandInput,
705
- options: __HttpHandlerOptions,
709
+ options: AmpRequestOptions,
706
710
  cb: (err: any, data?: UpdateQueryLoggingConfigurationCommandOutput) => void,
707
711
  ): void;
708
712
  updateScraper(
709
713
  args: UpdateScraperCommandInput,
710
- options?: __HttpHandlerOptions,
714
+ options?: AmpRequestOptions,
711
715
  ): Promise<UpdateScraperCommandOutput>;
712
716
  updateScraper(
713
717
  args: UpdateScraperCommandInput,
@@ -715,12 +719,12 @@ export interface Amp {
715
719
  ): void;
716
720
  updateScraper(
717
721
  args: UpdateScraperCommandInput,
718
- options: __HttpHandlerOptions,
722
+ options: AmpRequestOptions,
719
723
  cb: (err: any, data?: UpdateScraperCommandOutput) => void,
720
724
  ): void;
721
725
  updateScraperLoggingConfiguration(
722
726
  args: UpdateScraperLoggingConfigurationCommandInput,
723
- options?: __HttpHandlerOptions,
727
+ options?: AmpRequestOptions,
724
728
  ): Promise<UpdateScraperLoggingConfigurationCommandOutput>;
725
729
  updateScraperLoggingConfiguration(
726
730
  args: UpdateScraperLoggingConfigurationCommandInput,
@@ -728,12 +732,12 @@ export interface Amp {
728
732
  ): void;
729
733
  updateScraperLoggingConfiguration(
730
734
  args: UpdateScraperLoggingConfigurationCommandInput,
731
- options: __HttpHandlerOptions,
735
+ options: AmpRequestOptions,
732
736
  cb: (err: any, data?: UpdateScraperLoggingConfigurationCommandOutput) => void,
733
737
  ): void;
734
738
  updateWorkspaceAlias(
735
739
  args: UpdateWorkspaceAliasCommandInput,
736
- options?: __HttpHandlerOptions,
740
+ options?: AmpRequestOptions,
737
741
  ): Promise<UpdateWorkspaceAliasCommandOutput>;
738
742
  updateWorkspaceAlias(
739
743
  args: UpdateWorkspaceAliasCommandInput,
@@ -741,12 +745,12 @@ export interface Amp {
741
745
  ): void;
742
746
  updateWorkspaceAlias(
743
747
  args: UpdateWorkspaceAliasCommandInput,
744
- options: __HttpHandlerOptions,
748
+ options: AmpRequestOptions,
745
749
  cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void,
746
750
  ): void;
747
751
  updateWorkspaceConfiguration(
748
752
  args: UpdateWorkspaceConfigurationCommandInput,
749
- options?: __HttpHandlerOptions,
753
+ options?: AmpRequestOptions,
750
754
  ): Promise<UpdateWorkspaceConfigurationCommandOutput>;
751
755
  updateWorkspaceConfiguration(
752
756
  args: UpdateWorkspaceConfigurationCommandInput,
@@ -754,7 +758,7 @@ export interface Amp {
754
758
  ): void;
755
759
  updateWorkspaceConfiguration(
756
760
  args: UpdateWorkspaceConfigurationCommandInput,
757
- options: __HttpHandlerOptions,
761
+ options: AmpRequestOptions,
758
762
  cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void,
759
763
  ): void;
760
764
  paginateListAnomalyDetectors(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amp",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-amp",
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": {