@aws-sdk/client-compute-optimizer 3.296.0 → 3.297.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-types/ComputeOptimizer.d.ts +22 -0
- package/dist-types/ComputeOptimizerClient.d.ts +24 -4
- package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +16 -0
- package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +16 -0
- package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +16 -0
- package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +16 -0
- package/dist-types/commands/ExportECSServiceRecommendationsCommand.d.ts +16 -0
- package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +16 -0
- package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +16 -0
- package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +16 -0
- package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +16 -0
- package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +16 -0
- package/dist-types/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +16 -0
- package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +16 -0
- package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +16 -0
- package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +16 -0
- package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +16 -0
- package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +16 -0
- package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +16 -0
- package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +16 -0
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +16 -0
- package/dist-types/models/ComputeOptimizerServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +323 -0
- package/dist-types/pagination/DescribeRecommendationExportJobsPaginator.d.ts +3 -0
- package/dist-types/pagination/GetEnrollmentStatusesForOrganizationPaginator.d.ts +3 -0
- package/dist-types/pagination/GetLambdaFunctionRecommendationsPaginator.d.ts +3 -0
- package/dist-types/pagination/GetRecommendationPreferencesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetRecommendationSummariesPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/package.json +3 -3
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
5
5
|
import { PutRecommendationPreferencesRequest, PutRecommendationPreferencesResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutRecommendationPreferencesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutRecommendationPreferencesCommandInput extends PutRecommendationPreferencesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutRecommendationPreferencesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutRecommendationPreferencesCommandOutput extends PutRecommendationPreferencesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a new recommendation preference or updates an existing recommendation
|
|
18
23
|
* preference, such as enhanced infrastructure metrics.</p>
|
|
19
24
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
|
|
@@ -29,6 +34,8 @@ export interface PutRecommendationPreferencesCommandOutput extends PutRecommenda
|
|
|
29
34
|
* const response = await client.send(command);
|
|
30
35
|
* ```
|
|
31
36
|
*
|
|
37
|
+
* @param PutRecommendationPreferencesCommandInput - {@link PutRecommendationPreferencesCommandInput}
|
|
38
|
+
* @returns {@link PutRecommendationPreferencesCommandOutput}
|
|
32
39
|
* @see {@link PutRecommendationPreferencesCommandInput} for command's `input` shape.
|
|
33
40
|
* @see {@link PutRecommendationPreferencesCommandOutput} for command's `response` shape.
|
|
34
41
|
* @see {@link ComputeOptimizerClientResolvedConfig | config} for ComputeOptimizerClient's `config` shape.
|
|
@@ -63,11 +70,20 @@ export interface PutRecommendationPreferencesCommandOutput extends PutRecommenda
|
|
|
63
70
|
export declare class PutRecommendationPreferencesCommand extends $Command<PutRecommendationPreferencesCommandInput, PutRecommendationPreferencesCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
64
71
|
readonly input: PutRecommendationPreferencesCommandInput;
|
|
65
72
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
66
76
|
constructor(input: PutRecommendationPreferencesCommandInput);
|
|
67
77
|
/**
|
|
68
78
|
* @internal
|
|
69
79
|
*/
|
|
70
80
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRecommendationPreferencesCommandInput, PutRecommendationPreferencesCommandOutput>;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
71
84
|
private serialize;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
72
88
|
private deserialize;
|
|
73
89
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
5
5
|
import { UpdateEnrollmentStatusRequest, UpdateEnrollmentStatusResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateEnrollmentStatusCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateEnrollmentStatusCommandInput extends UpdateEnrollmentStatusRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateEnrollmentStatusCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentStatusResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates the enrollment (opt in and opt out) status of an account to the Compute Optimizer service.</p>
|
|
18
23
|
* <p>If the account is a management account of an organization, this action can also be
|
|
19
24
|
* used to enroll member accounts of the organization.</p>
|
|
@@ -32,6 +37,8 @@ export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentSta
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param UpdateEnrollmentStatusCommandInput - {@link UpdateEnrollmentStatusCommandInput}
|
|
41
|
+
* @returns {@link UpdateEnrollmentStatusCommandOutput}
|
|
35
42
|
* @see {@link UpdateEnrollmentStatusCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link UpdateEnrollmentStatusCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link ComputeOptimizerClientResolvedConfig | config} for ComputeOptimizerClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentSta
|
|
|
60
67
|
export declare class UpdateEnrollmentStatusCommand extends $Command<UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
61
68
|
readonly input: UpdateEnrollmentStatusCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: UpdateEnrollmentStatusCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from ComputeOptimizer service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class ComputeOptimizerServiceException extends __ServiceException {
|