@aws-sdk/client-application-signals 3.928.0 → 3.930.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.
Files changed (46) hide show
  1. package/dist-cjs/index.js +1416 -1246
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ApplicationSignalsClient.js +2 -0
  4. package/dist-es/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.js +3 -9
  5. package/dist-es/commands/BatchUpdateExclusionWindowsCommand.js +3 -9
  6. package/dist-es/commands/CreateServiceLevelObjectiveCommand.js +3 -9
  7. package/dist-es/commands/DeleteGroupingConfigurationCommand.js +3 -9
  8. package/dist-es/commands/DeleteServiceLevelObjectiveCommand.js +3 -9
  9. package/dist-es/commands/GetServiceCommand.js +3 -9
  10. package/dist-es/commands/GetServiceLevelObjectiveCommand.js +3 -9
  11. package/dist-es/commands/ListAuditFindingsCommand.js +3 -9
  12. package/dist-es/commands/ListGroupingAttributeDefinitionsCommand.js +3 -9
  13. package/dist-es/commands/ListServiceDependenciesCommand.js +3 -9
  14. package/dist-es/commands/ListServiceDependentsCommand.js +3 -9
  15. package/dist-es/commands/ListServiceLevelObjectiveExclusionWindowsCommand.js +3 -9
  16. package/dist-es/commands/ListServiceLevelObjectivesCommand.js +3 -9
  17. package/dist-es/commands/ListServiceOperationsCommand.js +3 -9
  18. package/dist-es/commands/ListServiceStatesCommand.js +3 -9
  19. package/dist-es/commands/ListServicesCommand.js +3 -9
  20. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  21. package/dist-es/commands/PutGroupingConfigurationCommand.js +3 -9
  22. package/dist-es/commands/StartDiscoveryCommand.js +3 -9
  23. package/dist-es/commands/TagResourceCommand.js +3 -9
  24. package/dist-es/commands/UntagResourceCommand.js +3 -9
  25. package/dist-es/commands/UpdateServiceLevelObjectiveCommand.js +3 -9
  26. package/dist-es/models/models_0.js +0 -34
  27. package/dist-es/runtimeConfig.shared.js +2 -0
  28. package/dist-es/schemas/schemas_0.js +1371 -0
  29. package/dist-types/ApplicationSignalsClient.d.ts +10 -1
  30. package/dist-types/models/models_0.d.ts +12 -3
  31. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  32. package/dist-types/runtimeConfig.d.ts +1 -0
  33. package/dist-types/runtimeConfig.native.d.ts +1 -0
  34. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  35. package/dist-types/schemas/schemas_0.d.ts +160 -0
  36. package/dist-types/ts3.4/ApplicationSignalsClient.d.ts +4 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +0 -6
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +165 -0
  43. package/package.json +33 -33
  44. package/dist-es/protocols/Aws_restJson1.js +0 -1050
  45. package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -269
@@ -29,16 +29,6 @@ export const DurationUnit = {
29
29
  MINUTE: "MINUTE",
30
30
  MONTH: "MONTH",
31
31
  };
32
- export var Interval;
33
- (function (Interval) {
34
- Interval.visit = (value, visitor) => {
35
- if (value.RollingInterval !== undefined)
36
- return visitor.RollingInterval(value.RollingInterval);
37
- if (value.CalendarInterval !== undefined)
38
- return visitor.CalendarInterval(value.CalendarInterval);
39
- return visitor._(value.$unknown[0], value.$unknown[1]);
40
- };
41
- })(Interval || (Interval = {}));
42
32
  export const ServiceLevelIndicatorComparisonOperator = {
43
33
  GREATER_THAN: "GreaterThan",
44
34
  GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
@@ -78,16 +68,6 @@ export const StandardUnit = {
78
68
  TERABYTES: "Terabytes",
79
69
  TERABYTES_SECOND: "Terabytes/Second",
80
70
  };
81
- export var MonitoredRequestCountMetricDataQueries;
82
- (function (MonitoredRequestCountMetricDataQueries) {
83
- MonitoredRequestCountMetricDataQueries.visit = (value, visitor) => {
84
- if (value.GoodCountMetric !== undefined)
85
- return visitor.GoodCountMetric(value.GoodCountMetric);
86
- if (value.BadCountMetric !== undefined)
87
- return visitor.BadCountMetric(value.BadCountMetric);
88
- return visitor._(value.$unknown[0], value.$unknown[1]);
89
- };
90
- })(MonitoredRequestCountMetricDataQueries || (MonitoredRequestCountMetricDataQueries = {}));
91
71
  export class ThrottlingException extends __BaseException {
92
72
  name = "ThrottlingException";
93
73
  $fault = "client";
@@ -132,20 +112,6 @@ export class ResourceNotFoundException extends __BaseException {
132
112
  this.Message = opts.Message;
133
113
  }
134
114
  }
135
- export var AuditTargetEntity;
136
- (function (AuditTargetEntity) {
137
- AuditTargetEntity.visit = (value, visitor) => {
138
- if (value.Service !== undefined)
139
- return visitor.Service(value.Service);
140
- if (value.Slo !== undefined)
141
- return visitor.Slo(value.Slo);
142
- if (value.ServiceOperation !== undefined)
143
- return visitor.ServiceOperation(value.ServiceOperation);
144
- if (value.Canary !== undefined)
145
- return visitor.Canary(value.Canary);
146
- return visitor._(value.$unknown[0], value.$unknown[1]);
147
- };
148
- })(AuditTargetEntity || (AuditTargetEntity = {}));
149
115
  export const Severity = {
150
116
  CRITICAL: "CRITICAL",
151
117
  HIGH: "HIGH",
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.applicationsignals" }),
25
27
  serviceId: config?.serviceId ?? "Application Signals",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,