@aws-sdk/client-compute-optimizer 3.40.0 → 3.44.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 (53) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +7 -10
  3. package/dist-cjs/ComputeOptimizer.js +60 -0
  4. package/dist-cjs/commands/DeleteRecommendationPreferencesCommand.js +36 -0
  5. package/dist-cjs/commands/GetEffectiveRecommendationPreferencesCommand.js +36 -0
  6. package/dist-cjs/commands/GetRecommendationPreferencesCommand.js +36 -0
  7. package/dist-cjs/commands/PutRecommendationPreferencesCommand.js +36 -0
  8. package/dist-cjs/commands/index.js +4 -0
  9. package/dist-cjs/endpoints.js +172 -1
  10. package/dist-cjs/models/models_0.js +183 -51
  11. package/dist-cjs/protocols/Aws_json1_0.js +617 -1
  12. package/dist-es/ComputeOptimizer.js +60 -0
  13. package/dist-es/commands/DeleteRecommendationPreferencesCommand.js +39 -0
  14. package/dist-es/commands/GetEffectiveRecommendationPreferencesCommand.js +39 -0
  15. package/dist-es/commands/GetRecommendationPreferencesCommand.js +39 -0
  16. package/dist-es/commands/PutRecommendationPreferencesCommand.js +39 -0
  17. package/dist-es/commands/index.js +4 -0
  18. package/dist-es/endpoints.js +172 -1
  19. package/dist-es/models/models_0.js +143 -40
  20. package/dist-es/protocols/Aws_json1_0.js +646 -8
  21. package/dist-types/ComputeOptimizer.d.ts +50 -27
  22. package/dist-types/ComputeOptimizerClient.d.ts +6 -2
  23. package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +38 -0
  24. package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +1 -2
  25. package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +1 -3
  26. package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +2 -5
  27. package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +2 -5
  28. package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +2 -5
  29. package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +1 -2
  30. package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +1 -2
  31. package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +1 -2
  32. package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +1 -2
  33. package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +40 -0
  34. package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +1 -2
  35. package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +1 -2
  36. package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +1 -2
  37. package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +42 -0
  38. package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +1 -3
  39. package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +39 -0
  40. package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +1 -4
  41. package/dist-types/commands/index.d.ts +4 -0
  42. package/dist-types/models/models_0.d.ts +646 -282
  43. package/dist-types/protocols/Aws_json1_0.d.ts +12 -0
  44. package/dist-types/ts3.4/ComputeOptimizer.d.ts +20 -0
  45. package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +6 -2
  46. package/dist-types/ts3.4/commands/DeleteRecommendationPreferencesCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/GetRecommendationPreferencesCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/PutRecommendationPreferencesCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +291 -77
  52. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
  53. package/package.json +4 -4
@@ -1,4 +1,5 @@
1
1
  import { __extends } from "tslib";
2
+ import { DeleteRecommendationPreferencesCommand, } from "./commands/DeleteRecommendationPreferencesCommand";
2
3
  import { DescribeRecommendationExportJobsCommand, } from "./commands/DescribeRecommendationExportJobsCommand";
3
4
  import { ExportAutoScalingGroupRecommendationsCommand, } from "./commands/ExportAutoScalingGroupRecommendationsCommand";
4
5
  import { ExportEBSVolumeRecommendationsCommand, } from "./commands/ExportEBSVolumeRecommendationsCommand";
@@ -8,10 +9,13 @@ import { GetAutoScalingGroupRecommendationsCommand, } from "./commands/GetAutoSc
8
9
  import { GetEBSVolumeRecommendationsCommand, } from "./commands/GetEBSVolumeRecommendationsCommand";
9
10
  import { GetEC2InstanceRecommendationsCommand, } from "./commands/GetEC2InstanceRecommendationsCommand";
10
11
  import { GetEC2RecommendationProjectedMetricsCommand, } from "./commands/GetEC2RecommendationProjectedMetricsCommand";
12
+ import { GetEffectiveRecommendationPreferencesCommand, } from "./commands/GetEffectiveRecommendationPreferencesCommand";
11
13
  import { GetEnrollmentStatusCommand, } from "./commands/GetEnrollmentStatusCommand";
12
14
  import { GetEnrollmentStatusesForOrganizationCommand, } from "./commands/GetEnrollmentStatusesForOrganizationCommand";
13
15
  import { GetLambdaFunctionRecommendationsCommand, } from "./commands/GetLambdaFunctionRecommendationsCommand";
16
+ import { GetRecommendationPreferencesCommand, } from "./commands/GetRecommendationPreferencesCommand";
14
17
  import { GetRecommendationSummariesCommand, } from "./commands/GetRecommendationSummariesCommand";
18
+ import { PutRecommendationPreferencesCommand, } from "./commands/PutRecommendationPreferencesCommand";
15
19
  import { UpdateEnrollmentStatusCommand, } from "./commands/UpdateEnrollmentStatusCommand";
16
20
  import { ComputeOptimizerClient } from "./ComputeOptimizerClient";
17
21
  var ComputeOptimizer = (function (_super) {
@@ -19,6 +23,20 @@ var ComputeOptimizer = (function (_super) {
19
23
  function ComputeOptimizer() {
20
24
  return _super !== null && _super.apply(this, arguments) || this;
21
25
  }
26
+ ComputeOptimizer.prototype.deleteRecommendationPreferences = function (args, optionsOrCb, cb) {
27
+ var command = new DeleteRecommendationPreferencesCommand(args);
28
+ if (typeof optionsOrCb === "function") {
29
+ this.send(command, optionsOrCb);
30
+ }
31
+ else if (typeof cb === "function") {
32
+ if (typeof optionsOrCb !== "object")
33
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
34
+ this.send(command, optionsOrCb || {}, cb);
35
+ }
36
+ else {
37
+ return this.send(command, optionsOrCb);
38
+ }
39
+ };
22
40
  ComputeOptimizer.prototype.describeRecommendationExportJobs = function (args, optionsOrCb, cb) {
23
41
  var command = new DescribeRecommendationExportJobsCommand(args);
24
42
  if (typeof optionsOrCb === "function") {
@@ -145,6 +163,20 @@ var ComputeOptimizer = (function (_super) {
145
163
  return this.send(command, optionsOrCb);
146
164
  }
147
165
  };
166
+ ComputeOptimizer.prototype.getEffectiveRecommendationPreferences = function (args, optionsOrCb, cb) {
167
+ var command = new GetEffectiveRecommendationPreferencesCommand(args);
168
+ if (typeof optionsOrCb === "function") {
169
+ this.send(command, optionsOrCb);
170
+ }
171
+ else if (typeof cb === "function") {
172
+ if (typeof optionsOrCb !== "object")
173
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
174
+ this.send(command, optionsOrCb || {}, cb);
175
+ }
176
+ else {
177
+ return this.send(command, optionsOrCb);
178
+ }
179
+ };
148
180
  ComputeOptimizer.prototype.getEnrollmentStatus = function (args, optionsOrCb, cb) {
149
181
  var command = new GetEnrollmentStatusCommand(args);
150
182
  if (typeof optionsOrCb === "function") {
@@ -187,6 +219,20 @@ var ComputeOptimizer = (function (_super) {
187
219
  return this.send(command, optionsOrCb);
188
220
  }
189
221
  };
222
+ ComputeOptimizer.prototype.getRecommendationPreferences = function (args, optionsOrCb, cb) {
223
+ var command = new GetRecommendationPreferencesCommand(args);
224
+ if (typeof optionsOrCb === "function") {
225
+ this.send(command, optionsOrCb);
226
+ }
227
+ else if (typeof cb === "function") {
228
+ if (typeof optionsOrCb !== "object")
229
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
230
+ this.send(command, optionsOrCb || {}, cb);
231
+ }
232
+ else {
233
+ return this.send(command, optionsOrCb);
234
+ }
235
+ };
190
236
  ComputeOptimizer.prototype.getRecommendationSummaries = function (args, optionsOrCb, cb) {
191
237
  var command = new GetRecommendationSummariesCommand(args);
192
238
  if (typeof optionsOrCb === "function") {
@@ -201,6 +247,20 @@ var ComputeOptimizer = (function (_super) {
201
247
  return this.send(command, optionsOrCb);
202
248
  }
203
249
  };
250
+ ComputeOptimizer.prototype.putRecommendationPreferences = function (args, optionsOrCb, cb) {
251
+ var command = new PutRecommendationPreferencesCommand(args);
252
+ if (typeof optionsOrCb === "function") {
253
+ this.send(command, optionsOrCb);
254
+ }
255
+ else if (typeof cb === "function") {
256
+ if (typeof optionsOrCb !== "object")
257
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
258
+ this.send(command, optionsOrCb || {}, cb);
259
+ }
260
+ else {
261
+ return this.send(command, optionsOrCb);
262
+ }
263
+ };
204
264
  ComputeOptimizer.prototype.updateEnrollmentStatus = function (args, optionsOrCb, cb) {
205
265
  var command = new UpdateEnrollmentStatusCommand(args);
206
266
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteRecommendationPreferencesRequest, DeleteRecommendationPreferencesResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_0DeleteRecommendationPreferencesCommand, serializeAws_json1_0DeleteRecommendationPreferencesCommand, } from "../protocols/Aws_json1_0";
6
+ var DeleteRecommendationPreferencesCommand = (function (_super) {
7
+ __extends(DeleteRecommendationPreferencesCommand, _super);
8
+ function DeleteRecommendationPreferencesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteRecommendationPreferencesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ComputeOptimizerClient";
18
+ var commandName = "DeleteRecommendationPreferencesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteRecommendationPreferencesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteRecommendationPreferencesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteRecommendationPreferencesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_0DeleteRecommendationPreferencesCommand(input, context);
33
+ };
34
+ DeleteRecommendationPreferencesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_0DeleteRecommendationPreferencesCommand(output, context);
36
+ };
37
+ return DeleteRecommendationPreferencesCommand;
38
+ }($Command));
39
+ export { DeleteRecommendationPreferencesCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetEffectiveRecommendationPreferencesRequest, GetEffectiveRecommendationPreferencesResponse, } from "../models/models_0";
5
+ import { deserializeAws_json1_0GetEffectiveRecommendationPreferencesCommand, serializeAws_json1_0GetEffectiveRecommendationPreferencesCommand, } from "../protocols/Aws_json1_0";
6
+ var GetEffectiveRecommendationPreferencesCommand = (function (_super) {
7
+ __extends(GetEffectiveRecommendationPreferencesCommand, _super);
8
+ function GetEffectiveRecommendationPreferencesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetEffectiveRecommendationPreferencesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ComputeOptimizerClient";
18
+ var commandName = "GetEffectiveRecommendationPreferencesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetEffectiveRecommendationPreferencesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetEffectiveRecommendationPreferencesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetEffectiveRecommendationPreferencesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_0GetEffectiveRecommendationPreferencesCommand(input, context);
33
+ };
34
+ GetEffectiveRecommendationPreferencesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_0GetEffectiveRecommendationPreferencesCommand(output, context);
36
+ };
37
+ return GetEffectiveRecommendationPreferencesCommand;
38
+ }($Command));
39
+ export { GetEffectiveRecommendationPreferencesCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetRecommendationPreferencesRequest, GetRecommendationPreferencesResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_0GetRecommendationPreferencesCommand, serializeAws_json1_0GetRecommendationPreferencesCommand, } from "../protocols/Aws_json1_0";
6
+ var GetRecommendationPreferencesCommand = (function (_super) {
7
+ __extends(GetRecommendationPreferencesCommand, _super);
8
+ function GetRecommendationPreferencesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetRecommendationPreferencesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ComputeOptimizerClient";
18
+ var commandName = "GetRecommendationPreferencesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetRecommendationPreferencesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetRecommendationPreferencesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetRecommendationPreferencesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_0GetRecommendationPreferencesCommand(input, context);
33
+ };
34
+ GetRecommendationPreferencesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_0GetRecommendationPreferencesCommand(output, context);
36
+ };
37
+ return GetRecommendationPreferencesCommand;
38
+ }($Command));
39
+ export { GetRecommendationPreferencesCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { PutRecommendationPreferencesRequest, PutRecommendationPreferencesResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_0PutRecommendationPreferencesCommand, serializeAws_json1_0PutRecommendationPreferencesCommand, } from "../protocols/Aws_json1_0";
6
+ var PutRecommendationPreferencesCommand = (function (_super) {
7
+ __extends(PutRecommendationPreferencesCommand, _super);
8
+ function PutRecommendationPreferencesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ PutRecommendationPreferencesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ComputeOptimizerClient";
18
+ var commandName = "PutRecommendationPreferencesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: PutRecommendationPreferencesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: PutRecommendationPreferencesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutRecommendationPreferencesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_0PutRecommendationPreferencesCommand(input, context);
33
+ };
34
+ PutRecommendationPreferencesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_0PutRecommendationPreferencesCommand(output, context);
36
+ };
37
+ return PutRecommendationPreferencesCommand;
38
+ }($Command));
39
+ export { PutRecommendationPreferencesCommand };
@@ -1,3 +1,4 @@
1
+ export * from "./DeleteRecommendationPreferencesCommand";
1
2
  export * from "./DescribeRecommendationExportJobsCommand";
2
3
  export * from "./ExportAutoScalingGroupRecommendationsCommand";
3
4
  export * from "./ExportEBSVolumeRecommendationsCommand";
@@ -7,8 +8,11 @@ export * from "./GetAutoScalingGroupRecommendationsCommand";
7
8
  export * from "./GetEBSVolumeRecommendationsCommand";
8
9
  export * from "./GetEC2InstanceRecommendationsCommand";
9
10
  export * from "./GetEC2RecommendationProjectedMetricsCommand";
11
+ export * from "./GetEffectiveRecommendationPreferencesCommand";
10
12
  export * from "./GetEnrollmentStatusCommand";
11
13
  export * from "./GetEnrollmentStatusesForOrganizationCommand";
12
14
  export * from "./GetLambdaFunctionRecommendationsCommand";
15
+ export * from "./GetRecommendationPreferencesCommand";
13
16
  export * from "./GetRecommendationSummariesCommand";
17
+ export * from "./PutRecommendationPreferencesCommand";
14
18
  export * from "./UpdateEnrollmentStatusCommand";
@@ -1,6 +1,169 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {};
3
+ var regionHash = {
4
+ "ap-northeast-1": {
5
+ variants: [
6
+ {
7
+ hostname: "compute-optimizer.ap-northeast-1.amazonaws.com",
8
+ tags: [],
9
+ },
10
+ ],
11
+ signingRegion: "ap-northeast-1",
12
+ },
13
+ "ap-northeast-2": {
14
+ variants: [
15
+ {
16
+ hostname: "compute-optimizer.ap-northeast-2.amazonaws.com",
17
+ tags: [],
18
+ },
19
+ ],
20
+ signingRegion: "ap-northeast-2",
21
+ },
22
+ "ap-south-1": {
23
+ variants: [
24
+ {
25
+ hostname: "compute-optimizer.ap-south-1.amazonaws.com",
26
+ tags: [],
27
+ },
28
+ ],
29
+ signingRegion: "ap-south-1",
30
+ },
31
+ "ap-southeast-1": {
32
+ variants: [
33
+ {
34
+ hostname: "compute-optimizer.ap-southeast-1.amazonaws.com",
35
+ tags: [],
36
+ },
37
+ ],
38
+ signingRegion: "ap-southeast-1",
39
+ },
40
+ "ap-southeast-2": {
41
+ variants: [
42
+ {
43
+ hostname: "compute-optimizer.ap-southeast-2.amazonaws.com",
44
+ tags: [],
45
+ },
46
+ ],
47
+ signingRegion: "ap-southeast-2",
48
+ },
49
+ "ca-central-1": {
50
+ variants: [
51
+ {
52
+ hostname: "compute-optimizer.ca-central-1.amazonaws.com",
53
+ tags: [],
54
+ },
55
+ ],
56
+ signingRegion: "ca-central-1",
57
+ },
58
+ "cn-north-1": {
59
+ variants: [
60
+ {
61
+ hostname: "compute-optimizer.cn-north-1.amazonaws.com.cn",
62
+ tags: [],
63
+ },
64
+ ],
65
+ signingRegion: "cn-north-1",
66
+ },
67
+ "cn-northwest-1": {
68
+ variants: [
69
+ {
70
+ hostname: "compute-optimizer.cn-northwest-1.amazonaws.com.cn",
71
+ tags: [],
72
+ },
73
+ ],
74
+ signingRegion: "cn-northwest-1",
75
+ },
76
+ "eu-central-1": {
77
+ variants: [
78
+ {
79
+ hostname: "compute-optimizer.eu-central-1.amazonaws.com",
80
+ tags: [],
81
+ },
82
+ ],
83
+ signingRegion: "eu-central-1",
84
+ },
85
+ "eu-north-1": {
86
+ variants: [
87
+ {
88
+ hostname: "compute-optimizer.eu-north-1.amazonaws.com",
89
+ tags: [],
90
+ },
91
+ ],
92
+ signingRegion: "eu-north-1",
93
+ },
94
+ "eu-west-1": {
95
+ variants: [
96
+ {
97
+ hostname: "compute-optimizer.eu-west-1.amazonaws.com",
98
+ tags: [],
99
+ },
100
+ ],
101
+ signingRegion: "eu-west-1",
102
+ },
103
+ "eu-west-2": {
104
+ variants: [
105
+ {
106
+ hostname: "compute-optimizer.eu-west-2.amazonaws.com",
107
+ tags: [],
108
+ },
109
+ ],
110
+ signingRegion: "eu-west-2",
111
+ },
112
+ "eu-west-3": {
113
+ variants: [
114
+ {
115
+ hostname: "compute-optimizer.eu-west-3.amazonaws.com",
116
+ tags: [],
117
+ },
118
+ ],
119
+ signingRegion: "eu-west-3",
120
+ },
121
+ "sa-east-1": {
122
+ variants: [
123
+ {
124
+ hostname: "compute-optimizer.sa-east-1.amazonaws.com",
125
+ tags: [],
126
+ },
127
+ ],
128
+ signingRegion: "sa-east-1",
129
+ },
130
+ "us-east-1": {
131
+ variants: [
132
+ {
133
+ hostname: "compute-optimizer.us-east-1.amazonaws.com",
134
+ tags: [],
135
+ },
136
+ ],
137
+ signingRegion: "us-east-1",
138
+ },
139
+ "us-east-2": {
140
+ variants: [
141
+ {
142
+ hostname: "compute-optimizer.us-east-2.amazonaws.com",
143
+ tags: [],
144
+ },
145
+ ],
146
+ signingRegion: "us-east-2",
147
+ },
148
+ "us-west-1": {
149
+ variants: [
150
+ {
151
+ hostname: "compute-optimizer.us-west-1.amazonaws.com",
152
+ tags: [],
153
+ },
154
+ ],
155
+ signingRegion: "us-west-1",
156
+ },
157
+ "us-west-2": {
158
+ variants: [
159
+ {
160
+ hostname: "compute-optimizer.us-west-2.amazonaws.com",
161
+ tags: [],
162
+ },
163
+ ],
164
+ signingRegion: "us-west-2",
165
+ },
166
+ };
4
167
  var partitionHash = {
5
168
  aws: {
6
169
  regions: [
@@ -76,6 +239,10 @@ var partitionHash = {
76
239
  hostname: "compute-optimizer.{region}.c2s.ic.gov",
77
240
  tags: [],
78
241
  },
242
+ {
243
+ hostname: "compute-optimizer-fips.{region}.c2s.ic.gov",
244
+ tags: ["fips"],
245
+ },
79
246
  ],
80
247
  },
81
248
  "aws-iso-b": {
@@ -86,6 +253,10 @@ var partitionHash = {
86
253
  hostname: "compute-optimizer.{region}.sc2s.sgov.gov",
87
254
  tags: [],
88
255
  },
256
+ {
257
+ hostname: "compute-optimizer-fips.{region}.sc2s.sgov.gov",
258
+ tags: ["fips"],
259
+ },
89
260
  ],
90
261
  },
91
262
  "aws-us-gov": {