@aws-sdk/client-application-signals 3.1067.0 → 3.1069.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.
@@ -1,17 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveHttpAuthSchemeConfig = exports.defaultApplicationSignalsHttpAuthSchemeProvider = exports.defaultApplicationSignalsHttpAuthSchemeParametersProvider = void 0;
4
- const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
- const client_1 = require("@smithy/core/client");
6
- const defaultApplicationSignalsHttpAuthSchemeParametersProvider = async (config, context, input) => {
1
+ const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
2
+ const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
3
+ exports.defaultApplicationSignalsHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
4
  return {
8
- operation: (0, client_1.getSmithyContext)(context).operation,
9
- region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
5
+ operation: getSmithyContext(context).operation,
6
+ region: await normalizeProvider(config.region)() || (() => {
10
7
  throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
8
  })(),
12
9
  };
13
10
  };
14
- exports.defaultApplicationSignalsHttpAuthSchemeParametersProvider = defaultApplicationSignalsHttpAuthSchemeParametersProvider;
15
11
  function createAwsAuthSigv4HttpAuthOption(authParameters) {
16
12
  return {
17
13
  schemeId: "aws.auth#sigv4",
@@ -27,7 +23,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
23
  }),
28
24
  };
29
25
  }
30
- const defaultApplicationSignalsHttpAuthSchemeProvider = (authParameters) => {
26
+ exports.defaultApplicationSignalsHttpAuthSchemeProvider = (authParameters) => {
31
27
  const options = [];
32
28
  switch (authParameters.operation) {
33
29
  default: {
@@ -36,11 +32,9 @@ const defaultApplicationSignalsHttpAuthSchemeProvider = (authParameters) => {
36
32
  }
37
33
  return options;
38
34
  };
39
- exports.defaultApplicationSignalsHttpAuthSchemeProvider = defaultApplicationSignalsHttpAuthSchemeProvider;
40
- const resolveHttpAuthSchemeConfig = (config) => {
41
- const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
35
+ exports.resolveHttpAuthSchemeConfig = (config) => {
36
+ const config_0 = resolveAwsSdkSigV4Config(config);
42
37
  return Object.assign(config_0, {
43
- authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
38
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
44
39
  });
45
40
  };
46
- exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.bdd = void 0;
4
- const endpoints_1 = require("@smithy/core/endpoints");
1
+ const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
5
2
  const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
6
3
  const _data = {
7
4
  conditions: [
@@ -29,4 +26,4 @@ const nodes = new Int32Array([
29
26
  3, r + 3, r + 4,
30
27
  3, r + 1, r + 2,
31
28
  ]);
32
- exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
29
+ exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -1,18 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultEndpointResolver = void 0;
4
- const client_1 = require("@aws-sdk/core/client");
5
- const endpoints_1 = require("@smithy/core/endpoints");
6
- const bdd_1 = require("./bdd");
7
- const cache = new endpoints_1.EndpointCache({
1
+ const { awsEndpointFunctions } = require("@aws-sdk/core/client");
2
+ const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
3
+ const { bdd } = require("./bdd");
4
+ const cache = new EndpointCache({
8
5
  size: 50,
9
6
  params: ["Endpoint", "Region", "UseFIPS"],
10
7
  });
11
- const defaultEndpointResolver = (endpointParams, context = {}) => {
12
- return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
8
+ exports.defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
13
10
  endpointParams: endpointParams,
14
11
  logger: context.logger,
15
12
  }));
16
13
  };
17
- exports.defaultEndpointResolver = defaultEndpointResolver;
18
- endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -1,18 +1,21 @@
1
- 'use strict';
2
-
3
- var client$1 = require('@aws-sdk/core/client');
4
- var core = require('@smithy/core');
5
- var client = require('@smithy/core/client');
6
- var config = require('@smithy/core/config');
7
- var endpoints = require('@smithy/core/endpoints');
8
- var protocols = require('@smithy/core/protocols');
9
- var retry = require('@smithy/core/retry');
10
- var schema = require('@smithy/core/schema');
11
- var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
12
- var runtimeConfig = require('./runtimeConfig');
13
- var schemas_0 = require('./schemas/schemas_0');
14
- var errors = require('./models/errors');
15
- var ApplicationSignalsServiceException = require('./models/ApplicationSignalsServiceException');
1
+ var __exportStar = (m, e) => { Object.assign(e, m); };
2
+ const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
+ const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
+ const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
+ exports.$Command = Command;
6
+ exports.__Client = Client;
7
+ const { resolveRegionConfig } = require("@smithy/core/config");
8
+ const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
+ const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
+ const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
+ const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
+ const { resolveHttpAuthSchemeConfig, defaultApplicationSignalsHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
+ const { getRuntimeConfig } = require("./runtimeConfig");
14
+ const { BatchGetServiceLevelObjectiveBudgetReport$, BatchUpdateExclusionWindows$, CreateServiceLevelObjective$, DeleteGroupingConfiguration$, DeleteServiceLevelObjective$, GetService$, GetServiceLevelObjective$, ListAuditFindings$, ListEntityEvents$, ListGroupingAttributeDefinitions$, ListServiceDependencies$, ListServiceDependents$, ListServiceLevelObjectiveExclusionWindows$, ListServiceLevelObjectives$, ListServiceOperations$, ListServices$, ListServiceStates$, ListTagsForResource$, PutGroupingConfiguration$, StartDiscovery$, TagResource$, UntagResource$, UpdateServiceLevelObjective$ } = require("./schemas/schemas_0");
15
+ __exportStar(require("./schemas/schemas_0"), exports);
16
+ __exportStar(require("./models/errors"), exports);
17
+ const { ApplicationSignalsServiceException } = require("./models/ApplicationSignalsServiceException");
18
+ exports.ApplicationSignalsServiceException = ApplicationSignalsServiceException;
16
19
 
17
20
  const resolveClientEndpointParameters = (options) => {
18
21
  return Object.assign(options, {
@@ -66,337 +69,337 @@ const resolveHttpAuthRuntimeConfig = (config) => {
66
69
  };
67
70
 
68
71
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
69
- const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
72
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
70
73
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
71
- return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
74
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
72
75
  };
73
76
 
74
- class ApplicationSignalsClient extends client.Client {
77
+ class ApplicationSignalsClient extends Client {
75
78
  config;
76
79
  constructor(...[configuration]) {
77
- const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
80
+ const _config_0 = getRuntimeConfig(configuration || {});
78
81
  super(_config_0);
79
82
  this.initConfig = _config_0;
80
83
  const _config_1 = resolveClientEndpointParameters(_config_0);
81
- const _config_2 = client$1.resolveUserAgentConfig(_config_1);
82
- const _config_3 = retry.resolveRetryConfig(_config_2);
83
- const _config_4 = config.resolveRegionConfig(_config_3);
84
- const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
85
- const _config_6 = endpoints.resolveEndpointConfig(_config_5);
86
- const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
84
+ const _config_2 = resolveUserAgentConfig(_config_1);
85
+ const _config_3 = resolveRetryConfig(_config_2);
86
+ const _config_4 = resolveRegionConfig(_config_3);
87
+ const _config_5 = resolveHostHeaderConfig(_config_4);
88
+ const _config_6 = resolveEndpointConfig(_config_5);
89
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
87
90
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
88
91
  this.config = _config_8;
89
- this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
90
- this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
91
- this.middlewareStack.use(retry.getRetryPlugin(this.config));
92
- this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
93
- this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
94
- this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
95
- this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
96
- this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
97
- httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultApplicationSignalsHttpAuthSchemeParametersProvider,
98
- identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
92
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
93
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
94
+ this.middlewareStack.use(getRetryPlugin(this.config));
95
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
96
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
97
+ this.middlewareStack.use(getLoggerPlugin(this.config));
98
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
99
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
100
+ httpAuthSchemeParametersProvider: defaultApplicationSignalsHttpAuthSchemeParametersProvider,
101
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
99
102
  "aws.auth#sigv4": config.credentials,
100
103
  }),
101
104
  }));
102
- this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
105
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
103
106
  }
104
107
  destroy() {
105
108
  super.destroy();
106
109
  }
107
110
  }
108
111
 
109
- class BatchGetServiceLevelObjectiveBudgetReportCommand extends client.Command
112
+ class BatchGetServiceLevelObjectiveBudgetReportCommand extends Command
110
113
  .classBuilder()
111
114
  .ep(commonParams)
112
115
  .m(function (Command, cs, config, o) {
113
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
116
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
114
117
  })
115
118
  .s("ApplicationSignals", "BatchGetServiceLevelObjectiveBudgetReport", {})
116
119
  .n("ApplicationSignalsClient", "BatchGetServiceLevelObjectiveBudgetReportCommand")
117
- .sc(schemas_0.BatchGetServiceLevelObjectiveBudgetReport$)
120
+ .sc(BatchGetServiceLevelObjectiveBudgetReport$)
118
121
  .build() {
119
122
  }
120
123
 
121
- class BatchUpdateExclusionWindowsCommand extends client.Command
124
+ class BatchUpdateExclusionWindowsCommand extends Command
122
125
  .classBuilder()
123
126
  .ep(commonParams)
124
127
  .m(function (Command, cs, config, o) {
125
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
128
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
126
129
  })
127
130
  .s("ApplicationSignals", "BatchUpdateExclusionWindows", {})
128
131
  .n("ApplicationSignalsClient", "BatchUpdateExclusionWindowsCommand")
129
- .sc(schemas_0.BatchUpdateExclusionWindows$)
132
+ .sc(BatchUpdateExclusionWindows$)
130
133
  .build() {
131
134
  }
132
135
 
133
- class CreateServiceLevelObjectiveCommand extends client.Command
136
+ class CreateServiceLevelObjectiveCommand extends Command
134
137
  .classBuilder()
135
138
  .ep(commonParams)
136
139
  .m(function (Command, cs, config, o) {
137
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
140
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
138
141
  })
139
142
  .s("ApplicationSignals", "CreateServiceLevelObjective", {})
140
143
  .n("ApplicationSignalsClient", "CreateServiceLevelObjectiveCommand")
141
- .sc(schemas_0.CreateServiceLevelObjective$)
144
+ .sc(CreateServiceLevelObjective$)
142
145
  .build() {
143
146
  }
144
147
 
145
- class DeleteGroupingConfigurationCommand extends client.Command
148
+ class DeleteGroupingConfigurationCommand extends Command
146
149
  .classBuilder()
147
150
  .ep(commonParams)
148
151
  .m(function (Command, cs, config, o) {
149
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
152
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
150
153
  })
151
154
  .s("ApplicationSignals", "DeleteGroupingConfiguration", {})
152
155
  .n("ApplicationSignalsClient", "DeleteGroupingConfigurationCommand")
153
- .sc(schemas_0.DeleteGroupingConfiguration$)
156
+ .sc(DeleteGroupingConfiguration$)
154
157
  .build() {
155
158
  }
156
159
 
157
- class DeleteServiceLevelObjectiveCommand extends client.Command
160
+ class DeleteServiceLevelObjectiveCommand extends Command
158
161
  .classBuilder()
159
162
  .ep(commonParams)
160
163
  .m(function (Command, cs, config, o) {
161
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
164
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
162
165
  })
163
166
  .s("ApplicationSignals", "DeleteServiceLevelObjective", {})
164
167
  .n("ApplicationSignalsClient", "DeleteServiceLevelObjectiveCommand")
165
- .sc(schemas_0.DeleteServiceLevelObjective$)
168
+ .sc(DeleteServiceLevelObjective$)
166
169
  .build() {
167
170
  }
168
171
 
169
- class GetServiceCommand extends client.Command
172
+ class GetServiceCommand extends Command
170
173
  .classBuilder()
171
174
  .ep(commonParams)
172
175
  .m(function (Command, cs, config, o) {
173
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
176
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
174
177
  })
175
178
  .s("ApplicationSignals", "GetService", {})
176
179
  .n("ApplicationSignalsClient", "GetServiceCommand")
177
- .sc(schemas_0.GetService$)
180
+ .sc(GetService$)
178
181
  .build() {
179
182
  }
180
183
 
181
- class GetServiceLevelObjectiveCommand extends client.Command
184
+ class GetServiceLevelObjectiveCommand extends Command
182
185
  .classBuilder()
183
186
  .ep(commonParams)
184
187
  .m(function (Command, cs, config, o) {
185
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
188
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
186
189
  })
187
190
  .s("ApplicationSignals", "GetServiceLevelObjective", {})
188
191
  .n("ApplicationSignalsClient", "GetServiceLevelObjectiveCommand")
189
- .sc(schemas_0.GetServiceLevelObjective$)
192
+ .sc(GetServiceLevelObjective$)
190
193
  .build() {
191
194
  }
192
195
 
193
- class ListAuditFindingsCommand extends client.Command
196
+ class ListAuditFindingsCommand extends Command
194
197
  .classBuilder()
195
198
  .ep(commonParams)
196
199
  .m(function (Command, cs, config, o) {
197
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
200
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
198
201
  })
199
202
  .s("ApplicationSignals", "ListAuditFindings", {})
200
203
  .n("ApplicationSignalsClient", "ListAuditFindingsCommand")
201
- .sc(schemas_0.ListAuditFindings$)
204
+ .sc(ListAuditFindings$)
202
205
  .build() {
203
206
  }
204
207
 
205
- class ListEntityEventsCommand extends client.Command
208
+ class ListEntityEventsCommand extends Command
206
209
  .classBuilder()
207
210
  .ep(commonParams)
208
211
  .m(function (Command, cs, config, o) {
209
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
212
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
210
213
  })
211
214
  .s("ApplicationSignals", "ListEntityEvents", {})
212
215
  .n("ApplicationSignalsClient", "ListEntityEventsCommand")
213
- .sc(schemas_0.ListEntityEvents$)
216
+ .sc(ListEntityEvents$)
214
217
  .build() {
215
218
  }
216
219
 
217
- class ListGroupingAttributeDefinitionsCommand extends client.Command
220
+ class ListGroupingAttributeDefinitionsCommand extends Command
218
221
  .classBuilder()
219
222
  .ep(commonParams)
220
223
  .m(function (Command, cs, config, o) {
221
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
224
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
222
225
  })
223
226
  .s("ApplicationSignals", "ListGroupingAttributeDefinitions", {})
224
227
  .n("ApplicationSignalsClient", "ListGroupingAttributeDefinitionsCommand")
225
- .sc(schemas_0.ListGroupingAttributeDefinitions$)
228
+ .sc(ListGroupingAttributeDefinitions$)
226
229
  .build() {
227
230
  }
228
231
 
229
- class ListServiceDependenciesCommand extends client.Command
232
+ class ListServiceDependenciesCommand extends Command
230
233
  .classBuilder()
231
234
  .ep(commonParams)
232
235
  .m(function (Command, cs, config, o) {
233
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
236
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
234
237
  })
235
238
  .s("ApplicationSignals", "ListServiceDependencies", {})
236
239
  .n("ApplicationSignalsClient", "ListServiceDependenciesCommand")
237
- .sc(schemas_0.ListServiceDependencies$)
240
+ .sc(ListServiceDependencies$)
238
241
  .build() {
239
242
  }
240
243
 
241
- class ListServiceDependentsCommand extends client.Command
244
+ class ListServiceDependentsCommand extends Command
242
245
  .classBuilder()
243
246
  .ep(commonParams)
244
247
  .m(function (Command, cs, config, o) {
245
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
248
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
246
249
  })
247
250
  .s("ApplicationSignals", "ListServiceDependents", {})
248
251
  .n("ApplicationSignalsClient", "ListServiceDependentsCommand")
249
- .sc(schemas_0.ListServiceDependents$)
252
+ .sc(ListServiceDependents$)
250
253
  .build() {
251
254
  }
252
255
 
253
- class ListServiceLevelObjectiveExclusionWindowsCommand extends client.Command
256
+ class ListServiceLevelObjectiveExclusionWindowsCommand extends Command
254
257
  .classBuilder()
255
258
  .ep(commonParams)
256
259
  .m(function (Command, cs, config, o) {
257
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
260
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
258
261
  })
259
262
  .s("ApplicationSignals", "ListServiceLevelObjectiveExclusionWindows", {})
260
263
  .n("ApplicationSignalsClient", "ListServiceLevelObjectiveExclusionWindowsCommand")
261
- .sc(schemas_0.ListServiceLevelObjectiveExclusionWindows$)
264
+ .sc(ListServiceLevelObjectiveExclusionWindows$)
262
265
  .build() {
263
266
  }
264
267
 
265
- class ListServiceLevelObjectivesCommand extends client.Command
268
+ class ListServiceLevelObjectivesCommand extends Command
266
269
  .classBuilder()
267
270
  .ep(commonParams)
268
271
  .m(function (Command, cs, config, o) {
269
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
272
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
270
273
  })
271
274
  .s("ApplicationSignals", "ListServiceLevelObjectives", {})
272
275
  .n("ApplicationSignalsClient", "ListServiceLevelObjectivesCommand")
273
- .sc(schemas_0.ListServiceLevelObjectives$)
276
+ .sc(ListServiceLevelObjectives$)
274
277
  .build() {
275
278
  }
276
279
 
277
- class ListServiceOperationsCommand extends client.Command
280
+ class ListServiceOperationsCommand extends Command
278
281
  .classBuilder()
279
282
  .ep(commonParams)
280
283
  .m(function (Command, cs, config, o) {
281
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
284
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
282
285
  })
283
286
  .s("ApplicationSignals", "ListServiceOperations", {})
284
287
  .n("ApplicationSignalsClient", "ListServiceOperationsCommand")
285
- .sc(schemas_0.ListServiceOperations$)
288
+ .sc(ListServiceOperations$)
286
289
  .build() {
287
290
  }
288
291
 
289
- class ListServicesCommand extends client.Command
292
+ class ListServicesCommand extends Command
290
293
  .classBuilder()
291
294
  .ep(commonParams)
292
295
  .m(function (Command, cs, config, o) {
293
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
296
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
294
297
  })
295
298
  .s("ApplicationSignals", "ListServices", {})
296
299
  .n("ApplicationSignalsClient", "ListServicesCommand")
297
- .sc(schemas_0.ListServices$)
300
+ .sc(ListServices$)
298
301
  .build() {
299
302
  }
300
303
 
301
- class ListServiceStatesCommand extends client.Command
304
+ class ListServiceStatesCommand extends Command
302
305
  .classBuilder()
303
306
  .ep(commonParams)
304
307
  .m(function (Command, cs, config, o) {
305
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
308
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
306
309
  })
307
310
  .s("ApplicationSignals", "ListServiceStates", {})
308
311
  .n("ApplicationSignalsClient", "ListServiceStatesCommand")
309
- .sc(schemas_0.ListServiceStates$)
312
+ .sc(ListServiceStates$)
310
313
  .build() {
311
314
  }
312
315
 
313
- class ListTagsForResourceCommand extends client.Command
316
+ class ListTagsForResourceCommand extends Command
314
317
  .classBuilder()
315
318
  .ep(commonParams)
316
319
  .m(function (Command, cs, config, o) {
317
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
320
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
318
321
  })
319
322
  .s("ApplicationSignals", "ListTagsForResource", {})
320
323
  .n("ApplicationSignalsClient", "ListTagsForResourceCommand")
321
- .sc(schemas_0.ListTagsForResource$)
324
+ .sc(ListTagsForResource$)
322
325
  .build() {
323
326
  }
324
327
 
325
- class PutGroupingConfigurationCommand extends client.Command
328
+ class PutGroupingConfigurationCommand extends Command
326
329
  .classBuilder()
327
330
  .ep(commonParams)
328
331
  .m(function (Command, cs, config, o) {
329
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
332
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
330
333
  })
331
334
  .s("ApplicationSignals", "PutGroupingConfiguration", {})
332
335
  .n("ApplicationSignalsClient", "PutGroupingConfigurationCommand")
333
- .sc(schemas_0.PutGroupingConfiguration$)
336
+ .sc(PutGroupingConfiguration$)
334
337
  .build() {
335
338
  }
336
339
 
337
- class StartDiscoveryCommand extends client.Command
340
+ class StartDiscoveryCommand extends Command
338
341
  .classBuilder()
339
342
  .ep(commonParams)
340
343
  .m(function (Command, cs, config, o) {
341
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
344
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
342
345
  })
343
346
  .s("ApplicationSignals", "StartDiscovery", {})
344
347
  .n("ApplicationSignalsClient", "StartDiscoveryCommand")
345
- .sc(schemas_0.StartDiscovery$)
348
+ .sc(StartDiscovery$)
346
349
  .build() {
347
350
  }
348
351
 
349
- class TagResourceCommand extends client.Command
352
+ class TagResourceCommand extends Command
350
353
  .classBuilder()
351
354
  .ep(commonParams)
352
355
  .m(function (Command, cs, config, o) {
353
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
356
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
354
357
  })
355
358
  .s("ApplicationSignals", "TagResource", {})
356
359
  .n("ApplicationSignalsClient", "TagResourceCommand")
357
- .sc(schemas_0.TagResource$)
360
+ .sc(TagResource$)
358
361
  .build() {
359
362
  }
360
363
 
361
- class UntagResourceCommand extends client.Command
364
+ class UntagResourceCommand extends Command
362
365
  .classBuilder()
363
366
  .ep(commonParams)
364
367
  .m(function (Command, cs, config, o) {
365
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
368
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
366
369
  })
367
370
  .s("ApplicationSignals", "UntagResource", {})
368
371
  .n("ApplicationSignalsClient", "UntagResourceCommand")
369
- .sc(schemas_0.UntagResource$)
372
+ .sc(UntagResource$)
370
373
  .build() {
371
374
  }
372
375
 
373
- class UpdateServiceLevelObjectiveCommand extends client.Command
376
+ class UpdateServiceLevelObjectiveCommand extends Command
374
377
  .classBuilder()
375
378
  .ep(commonParams)
376
379
  .m(function (Command, cs, config, o) {
377
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
380
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
378
381
  })
379
382
  .s("ApplicationSignals", "UpdateServiceLevelObjective", {})
380
383
  .n("ApplicationSignalsClient", "UpdateServiceLevelObjectiveCommand")
381
- .sc(schemas_0.UpdateServiceLevelObjective$)
384
+ .sc(UpdateServiceLevelObjective$)
382
385
  .build() {
383
386
  }
384
387
 
385
- const paginateListEntityEvents = core.createPaginator(ApplicationSignalsClient, ListEntityEventsCommand, "NextToken", "NextToken", "MaxResults");
388
+ const paginateListEntityEvents = createPaginator(ApplicationSignalsClient, ListEntityEventsCommand, "NextToken", "NextToken", "MaxResults");
386
389
 
387
- const paginateListServiceDependencies = core.createPaginator(ApplicationSignalsClient, ListServiceDependenciesCommand, "NextToken", "NextToken", "MaxResults");
390
+ const paginateListServiceDependencies = createPaginator(ApplicationSignalsClient, ListServiceDependenciesCommand, "NextToken", "NextToken", "MaxResults");
388
391
 
389
- const paginateListServiceDependents = core.createPaginator(ApplicationSignalsClient, ListServiceDependentsCommand, "NextToken", "NextToken", "MaxResults");
392
+ const paginateListServiceDependents = createPaginator(ApplicationSignalsClient, ListServiceDependentsCommand, "NextToken", "NextToken", "MaxResults");
390
393
 
391
- const paginateListServiceLevelObjectiveExclusionWindows = core.createPaginator(ApplicationSignalsClient, ListServiceLevelObjectiveExclusionWindowsCommand, "NextToken", "NextToken", "MaxResults");
394
+ const paginateListServiceLevelObjectiveExclusionWindows = createPaginator(ApplicationSignalsClient, ListServiceLevelObjectiveExclusionWindowsCommand, "NextToken", "NextToken", "MaxResults");
392
395
 
393
- const paginateListServiceLevelObjectives = core.createPaginator(ApplicationSignalsClient, ListServiceLevelObjectivesCommand, "NextToken", "NextToken", "MaxResults");
396
+ const paginateListServiceLevelObjectives = createPaginator(ApplicationSignalsClient, ListServiceLevelObjectivesCommand, "NextToken", "NextToken", "MaxResults");
394
397
 
395
- const paginateListServiceOperations = core.createPaginator(ApplicationSignalsClient, ListServiceOperationsCommand, "NextToken", "NextToken", "MaxResults");
398
+ const paginateListServiceOperations = createPaginator(ApplicationSignalsClient, ListServiceOperationsCommand, "NextToken", "NextToken", "MaxResults");
396
399
 
397
- const paginateListServices = core.createPaginator(ApplicationSignalsClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
400
+ const paginateListServices = createPaginator(ApplicationSignalsClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
398
401
 
399
- const paginateListServiceStates = core.createPaginator(ApplicationSignalsClient, ListServiceStatesCommand, "NextToken", "NextToken", "MaxResults");
402
+ const paginateListServiceStates = createPaginator(ApplicationSignalsClient, ListServiceStatesCommand, "NextToken", "NextToken", "MaxResults");
400
403
 
401
404
  const commands = {
402
405
  BatchGetServiceLevelObjectiveBudgetReportCommand,
@@ -435,7 +438,7 @@ const paginators = {
435
438
  };
436
439
  class ApplicationSignals extends ApplicationSignalsClient {
437
440
  }
438
- client.createAggregatedClient(commands, ApplicationSignals, { paginators });
441
+ createAggregatedClient(commands, ApplicationSignals, { paginators });
439
442
 
440
443
  const ServiceLevelObjectiveBudgetStatus = {
441
444
  BREACHED: "BREACHED",
@@ -525,9 +528,6 @@ const MetricSourceType = {
525
528
  SERVICE_OPERATION: "ServiceOperation",
526
529
  };
527
530
 
528
- exports.$Command = client.Command;
529
- exports.__Client = client.Client;
530
- exports.ApplicationSignalsServiceException = ApplicationSignalsServiceException.ApplicationSignalsServiceException;
531
531
  exports.ApplicationSignals = ApplicationSignals;
532
532
  exports.ApplicationSignalsClient = ApplicationSignalsClient;
533
533
  exports.BatchGetServiceLevelObjectiveBudgetReportCommand = BatchGetServiceLevelObjectiveBudgetReportCommand;
@@ -573,23 +573,3 @@ exports.paginateListServiceLevelObjectives = paginateListServiceLevelObjectives;
573
573
  exports.paginateListServiceOperations = paginateListServiceOperations;
574
574
  exports.paginateListServiceStates = paginateListServiceStates;
575
575
  exports.paginateListServices = paginateListServices;
576
- Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
577
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
578
- Object.defineProperty(exports, '__proto__', {
579
- enumerable: true,
580
- value: schemas_0['__proto__']
581
- });
582
-
583
- Object.keys(schemas_0).forEach(function (k) {
584
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
585
- });
586
- Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
587
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
588
- Object.defineProperty(exports, '__proto__', {
589
- enumerable: true,
590
- value: errors['__proto__']
591
- });
592
-
593
- Object.keys(errors).forEach(function (k) {
594
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
595
- });
@@ -1,12 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApplicationSignalsServiceException = exports.__ServiceException = void 0;
4
- const client_1 = require("@smithy/core/client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
6
- class ApplicationSignalsServiceException extends client_1.ServiceException {
1
+ const { ServiceException: __ServiceException } = require("@smithy/core/client");
2
+ exports.__ServiceException = __ServiceException;
3
+ exports.ApplicationSignalsServiceException = class ApplicationSignalsServiceException extends __ServiceException {
7
4
  constructor(options) {
8
5
  super(options);
9
6
  Object.setPrototypeOf(this, ApplicationSignalsServiceException.prototype);
10
7
  }
11
- }
12
- exports.ApplicationSignalsServiceException = ApplicationSignalsServiceException;
8
+ };