cdk-lambda-subminute 2.0.310 → 2.0.312
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/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +68 -1
- package/node_modules/aws-sdk/README.md +1 -3
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +429 -86
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/amp-2020-08-01.min.json +320 -3
- package/node_modules/aws-sdk/apis/amp-2020-08-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/amp-2020-08-01.waiters2.json +33 -0
- package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +141 -6
- package/node_modules/aws-sdk/apis/b2bi-2022-06-23.examples.json +714 -0
- package/node_modules/aws-sdk/apis/b2bi-2022-06-23.min.json +1095 -0
- package/node_modules/aws-sdk/apis/b2bi-2022-06-23.paginators.json +28 -0
- package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +855 -84
- package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +18 -0
- package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.examples.json +5 -0
- package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.min.json +470 -0
- package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.paginators.json +22 -0
- package/node_modules/aws-sdk/apis/bedrock-2023-04-20.min.json +91 -71
- package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.examples.json +5 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.min.json +2322 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.paginators.json +52 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.examples.json +5 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +697 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.paginators.json +9 -0
- package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.min.json +18 -18
- package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +67 -24
- package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.min.json +590 -3
- package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +243 -39
- package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +204 -169
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +1180 -417
- package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +11 -0
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +317 -13
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.examples.json +5 -0
- package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.min.json +757 -0
- package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.paginators.json +22 -0
- package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +129 -84
- package/node_modules/aws-sdk/apis/detective-2018-10-26.min.json +294 -0
- package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +108 -107
- package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +211 -4
- package/node_modules/aws-sdk/apis/eks-2017-11-01.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.examples.json +5 -0
- package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.min.json +104 -0
- package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.paginators.json +4 -0
- package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +481 -132
- package/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +71 -33
- package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.paginators.json +18 -3
- package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +403 -75
- package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json +15 -0
- package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +366 -15
- package/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/freetier-2023-09-07.examples.json +5 -0
- package/node_modules/aws-sdk/apis/freetier-2023-09-07.min.json +105 -0
- package/node_modules/aws-sdk/apis/freetier-2023-09-07.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +259 -135
- package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +64 -0
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +159 -33
- package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +126 -35
- package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +310 -36
- package/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/managedblockchain-2018-09-24.min.json +58 -50
- package/node_modules/aws-sdk/apis/metadata.json +39 -0
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +633 -331
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +85 -52
- package/node_modules/aws-sdk/apis/personalize-events-2018-03-22.min.json +97 -5
- package/node_modules/aws-sdk/apis/personalize-runtime-2018-05-22.min.json +68 -11
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.examples.json +5 -0
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.min.json +3025 -0
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.paginators.json +76 -0
- package/node_modules/aws-sdk/apis/qconnect-2020-10-19.examples.json +5 -0
- package/node_modules/aws-sdk/apis/qconnect-2020-10-19.min.json +2499 -0
- package/node_modules/aws-sdk/apis/qconnect-2020-10-19.paginators.json +64 -0
- package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +398 -268
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +14 -2
- package/node_modules/aws-sdk/apis/repostspace-2022-05-13.examples.json +5 -0
- package/node_modules/aws-sdk/apis/repostspace-2022-05-13.min.json +447 -0
- package/node_modules/aws-sdk/apis/repostspace-2022-05-13.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/runtime.lex.v2-2020-08-07.min.json +25 -24
- package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +147 -147
- package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +694 -186
- package/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +1336 -314
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.paginators.json +15 -0
- package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +111 -50
- package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.examples.json +526 -10
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +1057 -352
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +85 -0
- package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +268 -70
- package/node_modules/aws-sdk/apis/transcribe-2017-10-26.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +119 -96
- package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.examples.json +5 -0
- package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.min.json +777 -0
- package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.paginators.json +22 -0
- package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +387 -7
- package/node_modules/aws-sdk/clients/all.d.ts +11 -0
- package/node_modules/aws-sdk/clients/all.js +12 -1
- package/node_modules/aws-sdk/clients/amp.d.ts +322 -0
- package/node_modules/aws-sdk/clients/appsync.d.ts +169 -0
- package/node_modules/aws-sdk/clients/b2bi.d.ts +1388 -0
- package/node_modules/aws-sdk/clients/b2bi.js +18 -0
- package/node_modules/aws-sdk/clients/backup.d.ts +848 -45
- package/node_modules/aws-sdk/clients/bcmdataexports.d.ts +589 -0
- package/node_modules/aws-sdk/clients/bcmdataexports.js +18 -0
- package/node_modules/aws-sdk/clients/bedrock.d.ts +53 -17
- package/node_modules/aws-sdk/clients/bedrockagent.d.ts +1258 -0
- package/node_modules/aws-sdk/clients/bedrockagent.js +18 -0
- package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +439 -0
- package/node_modules/aws-sdk/clients/bedrockagentruntime.js +18 -0
- package/node_modules/aws-sdk/clients/bedrockruntime.d.ts +13 -13
- package/node_modules/aws-sdk/clients/bedrockruntime.js +1 -0
- package/node_modules/aws-sdk/clients/cloudtrail.d.ts +76 -2
- package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +413 -1
- package/node_modules/aws-sdk/clients/codestarconnections.d.ts +727 -0
- package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +307 -6
- package/node_modules/aws-sdk/clients/configservice.d.ts +60 -11
- package/node_modules/aws-sdk/clients/connect.d.ts +886 -20
- package/node_modules/aws-sdk/clients/controltower.d.ts +319 -25
- package/node_modules/aws-sdk/clients/costoptimizationhub.d.ts +1283 -0
- package/node_modules/aws-sdk/clients/costoptimizationhub.js +18 -0
- package/node_modules/aws-sdk/clients/customerprofiles.d.ts +40 -0
- package/node_modules/aws-sdk/clients/detective.d.ts +469 -0
- package/node_modules/aws-sdk/clients/ecs.d.ts +10 -5
- package/node_modules/aws-sdk/clients/efs.d.ts +75 -33
- package/node_modules/aws-sdk/clients/eks.d.ts +237 -15
- package/node_modules/aws-sdk/clients/eksauth.d.ts +124 -0
- package/node_modules/aws-sdk/clients/eksauth.js +19 -0
- package/node_modules/aws-sdk/clients/elasticache.d.ts +484 -12
- package/node_modules/aws-sdk/clients/elbv2.d.ts +433 -4
- package/node_modules/aws-sdk/clients/fis.d.ts +383 -3
- package/node_modules/aws-sdk/clients/freetier.d.ts +149 -0
- package/node_modules/aws-sdk/clients/freetier.js +18 -0
- package/node_modules/aws-sdk/clients/fsx.d.ts +194 -21
- package/node_modules/aws-sdk/clients/glue.d.ts +3 -3
- package/node_modules/aws-sdk/clients/guardduty.d.ts +82 -11
- package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +198 -13
- package/node_modules/aws-sdk/clients/lakeformation.d.ts +118 -2
- package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +343 -2
- package/node_modules/aws-sdk/clients/lexruntimev2.d.ts +14 -9
- package/node_modules/aws-sdk/clients/managedblockchain.d.ts +26 -5
- package/node_modules/aws-sdk/clients/personalize.d.ts +65 -20
- package/node_modules/aws-sdk/clients/personalizeevents.d.ts +102 -12
- package/node_modules/aws-sdk/clients/personalizeruntime.d.ts +72 -2
- package/node_modules/aws-sdk/clients/qbusiness.d.ts +3231 -0
- package/node_modules/aws-sdk/clients/qbusiness.js +18 -0
- package/node_modules/aws-sdk/clients/qconnect.d.ts +2552 -0
- package/node_modules/aws-sdk/clients/qconnect.js +18 -0
- package/node_modules/aws-sdk/clients/quicksight.d.ts +124 -0
- package/node_modules/aws-sdk/clients/rds.d.ts +80 -80
- package/node_modules/aws-sdk/clients/redshift.d.ts +16 -0
- package/node_modules/aws-sdk/clients/repostspace.d.ts +458 -0
- package/node_modules/aws-sdk/clients/repostspace.js +18 -0
- package/node_modules/aws-sdk/clients/s3.d.ts +795 -666
- package/node_modules/aws-sdk/clients/s3control.d.ts +976 -138
- package/node_modules/aws-sdk/clients/secretsmanager.d.ts +94 -5
- package/node_modules/aws-sdk/clients/securityhub.d.ts +908 -15
- package/node_modules/aws-sdk/clients/stepfunctions.d.ts +153 -8
- package/node_modules/aws-sdk/clients/transcribeservice.d.ts +312 -46
- package/node_modules/aws-sdk/clients/workspaces.d.ts +43 -1
- package/node_modules/aws-sdk/clients/workspacesthinclient.d.ts +895 -0
- package/node_modules/aws-sdk/clients/workspacesthinclient.js +18 -0
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +512 -91
- package/node_modules/aws-sdk/dist/aws-sdk.js +4382 -1316
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +105 -104
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +22 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
@@ -0,0 +1,1283 @@
|
|
1
|
+
import {Request} from '../lib/request';
|
2
|
+
import {Response} from '../lib/response';
|
3
|
+
import {AWSError} from '../lib/error';
|
4
|
+
import {Service} from '../lib/service';
|
5
|
+
import {ServiceConfigurationOptions} from '../lib/service';
|
6
|
+
import {ConfigBase as Config} from '../lib/config-base';
|
7
|
+
interface Blob {}
|
8
|
+
declare class CostOptimizationHub extends Service {
|
9
|
+
/**
|
10
|
+
* Constructs a service object. This object has one method for each API operation.
|
11
|
+
*/
|
12
|
+
constructor(options?: CostOptimizationHub.Types.ClientConfiguration)
|
13
|
+
config: Config & CostOptimizationHub.Types.ClientConfiguration;
|
14
|
+
/**
|
15
|
+
* Returns a set of preferences for an account in order to add account-specific preferences into the service. These preferences impact how the savings associated with recommendations are presented—estimated savings after discounts or estimated savings before discounts, for example.
|
16
|
+
*/
|
17
|
+
getPreferences(params: CostOptimizationHub.Types.GetPreferencesRequest, callback?: (err: AWSError, data: CostOptimizationHub.Types.GetPreferencesResponse) => void): Request<CostOptimizationHub.Types.GetPreferencesResponse, AWSError>;
|
18
|
+
/**
|
19
|
+
* Returns a set of preferences for an account in order to add account-specific preferences into the service. These preferences impact how the savings associated with recommendations are presented—estimated savings after discounts or estimated savings before discounts, for example.
|
20
|
+
*/
|
21
|
+
getPreferences(callback?: (err: AWSError, data: CostOptimizationHub.Types.GetPreferencesResponse) => void): Request<CostOptimizationHub.Types.GetPreferencesResponse, AWSError>;
|
22
|
+
/**
|
23
|
+
* Returns both the current and recommended resource configuration and the estimated cost impact for a recommendation. The recommendationId is only valid for up to a maximum of 24 hours as recommendations are refreshed daily. To retrieve the recommendationId, use the ListRecommendations API.
|
24
|
+
*/
|
25
|
+
getRecommendation(params: CostOptimizationHub.Types.GetRecommendationRequest, callback?: (err: AWSError, data: CostOptimizationHub.Types.GetRecommendationResponse) => void): Request<CostOptimizationHub.Types.GetRecommendationResponse, AWSError>;
|
26
|
+
/**
|
27
|
+
* Returns both the current and recommended resource configuration and the estimated cost impact for a recommendation. The recommendationId is only valid for up to a maximum of 24 hours as recommendations are refreshed daily. To retrieve the recommendationId, use the ListRecommendations API.
|
28
|
+
*/
|
29
|
+
getRecommendation(callback?: (err: AWSError, data: CostOptimizationHub.Types.GetRecommendationResponse) => void): Request<CostOptimizationHub.Types.GetRecommendationResponse, AWSError>;
|
30
|
+
/**
|
31
|
+
* Retrieves the enrollment status for an account. It can also return the list of accounts that are enrolled under the organization.
|
32
|
+
*/
|
33
|
+
listEnrollmentStatuses(params: CostOptimizationHub.Types.ListEnrollmentStatusesRequest, callback?: (err: AWSError, data: CostOptimizationHub.Types.ListEnrollmentStatusesResponse) => void): Request<CostOptimizationHub.Types.ListEnrollmentStatusesResponse, AWSError>;
|
34
|
+
/**
|
35
|
+
* Retrieves the enrollment status for an account. It can also return the list of accounts that are enrolled under the organization.
|
36
|
+
*/
|
37
|
+
listEnrollmentStatuses(callback?: (err: AWSError, data: CostOptimizationHub.Types.ListEnrollmentStatusesResponse) => void): Request<CostOptimizationHub.Types.ListEnrollmentStatusesResponse, AWSError>;
|
38
|
+
/**
|
39
|
+
* Returns a concise representation of savings estimates for resources. Also returns de-duped savings across different types of recommendations. The following filters are not supported for this API: recommendationIds, resourceArns, and resourceIds.
|
40
|
+
*/
|
41
|
+
listRecommendationSummaries(params: CostOptimizationHub.Types.ListRecommendationSummariesRequest, callback?: (err: AWSError, data: CostOptimizationHub.Types.ListRecommendationSummariesResponse) => void): Request<CostOptimizationHub.Types.ListRecommendationSummariesResponse, AWSError>;
|
42
|
+
/**
|
43
|
+
* Returns a concise representation of savings estimates for resources. Also returns de-duped savings across different types of recommendations. The following filters are not supported for this API: recommendationIds, resourceArns, and resourceIds.
|
44
|
+
*/
|
45
|
+
listRecommendationSummaries(callback?: (err: AWSError, data: CostOptimizationHub.Types.ListRecommendationSummariesResponse) => void): Request<CostOptimizationHub.Types.ListRecommendationSummariesResponse, AWSError>;
|
46
|
+
/**
|
47
|
+
* Returns a list of recommendations.
|
48
|
+
*/
|
49
|
+
listRecommendations(params: CostOptimizationHub.Types.ListRecommendationsRequest, callback?: (err: AWSError, data: CostOptimizationHub.Types.ListRecommendationsResponse) => void): Request<CostOptimizationHub.Types.ListRecommendationsResponse, AWSError>;
|
50
|
+
/**
|
51
|
+
* Returns a list of recommendations.
|
52
|
+
*/
|
53
|
+
listRecommendations(callback?: (err: AWSError, data: CostOptimizationHub.Types.ListRecommendationsResponse) => void): Request<CostOptimizationHub.Types.ListRecommendationsResponse, AWSError>;
|
54
|
+
/**
|
55
|
+
* Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization Hub service. If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization. You must have the appropriate permissions to opt in to Cost Optimization Hub and to view its recommendations. When you opt in, Cost Optimization Hub automatically creates a service-linked role in your account to access its data.
|
56
|
+
*/
|
57
|
+
updateEnrollmentStatus(params: CostOptimizationHub.Types.UpdateEnrollmentStatusRequest, callback?: (err: AWSError, data: CostOptimizationHub.Types.UpdateEnrollmentStatusResponse) => void): Request<CostOptimizationHub.Types.UpdateEnrollmentStatusResponse, AWSError>;
|
58
|
+
/**
|
59
|
+
* Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization Hub service. If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization. You must have the appropriate permissions to opt in to Cost Optimization Hub and to view its recommendations. When you opt in, Cost Optimization Hub automatically creates a service-linked role in your account to access its data.
|
60
|
+
*/
|
61
|
+
updateEnrollmentStatus(callback?: (err: AWSError, data: CostOptimizationHub.Types.UpdateEnrollmentStatusResponse) => void): Request<CostOptimizationHub.Types.UpdateEnrollmentStatusResponse, AWSError>;
|
62
|
+
/**
|
63
|
+
* Updates a set of preferences for an account in order to add account-specific preferences into the service. These preferences impact how the savings associated with recommendations are presented.
|
64
|
+
*/
|
65
|
+
updatePreferences(params: CostOptimizationHub.Types.UpdatePreferencesRequest, callback?: (err: AWSError, data: CostOptimizationHub.Types.UpdatePreferencesResponse) => void): Request<CostOptimizationHub.Types.UpdatePreferencesResponse, AWSError>;
|
66
|
+
/**
|
67
|
+
* Updates a set of preferences for an account in order to add account-specific preferences into the service. These preferences impact how the savings associated with recommendations are presented.
|
68
|
+
*/
|
69
|
+
updatePreferences(callback?: (err: AWSError, data: CostOptimizationHub.Types.UpdatePreferencesResponse) => void): Request<CostOptimizationHub.Types.UpdatePreferencesResponse, AWSError>;
|
70
|
+
}
|
71
|
+
declare namespace CostOptimizationHub {
|
72
|
+
export interface AccountEnrollmentStatus {
|
73
|
+
/**
|
74
|
+
* The Amazon Web Services account ID.
|
75
|
+
*/
|
76
|
+
accountId?: AccountId;
|
77
|
+
/**
|
78
|
+
* The time when the account enrollment status was created.
|
79
|
+
*/
|
80
|
+
createdTimestamp?: Timestamp;
|
81
|
+
/**
|
82
|
+
* The time when the account enrollment status was last updated.
|
83
|
+
*/
|
84
|
+
lastUpdatedTimestamp?: Timestamp;
|
85
|
+
/**
|
86
|
+
* The account enrollment status.
|
87
|
+
*/
|
88
|
+
status?: EnrollmentStatus;
|
89
|
+
}
|
90
|
+
export type AccountEnrollmentStatuses = AccountEnrollmentStatus[];
|
91
|
+
export type AccountId = string;
|
92
|
+
export type AccountIdList = AccountId[];
|
93
|
+
export type ActionType = "Rightsize"|"Stop"|"Upgrade"|"PurchaseSavingsPlans"|"PurchaseReservedInstances"|"MigrateToGraviton"|string;
|
94
|
+
export type ActionTypeList = ActionType[];
|
95
|
+
export interface BlockStoragePerformanceConfiguration {
|
96
|
+
/**
|
97
|
+
* The number of I/O operations per second.
|
98
|
+
*/
|
99
|
+
iops?: Double;
|
100
|
+
/**
|
101
|
+
* The throughput that the volume supports.
|
102
|
+
*/
|
103
|
+
throughput?: Double;
|
104
|
+
}
|
105
|
+
export type Boolean = boolean;
|
106
|
+
export interface ComputeConfiguration {
|
107
|
+
/**
|
108
|
+
* The architecture of the resource.
|
109
|
+
*/
|
110
|
+
architecture?: String;
|
111
|
+
/**
|
112
|
+
* The memory size of the resource.
|
113
|
+
*/
|
114
|
+
memorySizeInMB?: Integer;
|
115
|
+
/**
|
116
|
+
* The platform of the resource. The platform is the specific combination of operating system, license model, and software on an instance.
|
117
|
+
*/
|
118
|
+
platform?: String;
|
119
|
+
/**
|
120
|
+
* The number of vCPU cores in the resource.
|
121
|
+
*/
|
122
|
+
vCpu?: Double;
|
123
|
+
}
|
124
|
+
export interface ComputeSavingsPlans {
|
125
|
+
/**
|
126
|
+
* Configuration details of the Compute Savings Plans to purchase.
|
127
|
+
*/
|
128
|
+
configuration?: ComputeSavingsPlansConfiguration;
|
129
|
+
/**
|
130
|
+
* Cost impact of the Savings Plans purchase recommendation.
|
131
|
+
*/
|
132
|
+
costCalculation?: SavingsPlansCostCalculation;
|
133
|
+
}
|
134
|
+
export interface ComputeSavingsPlansConfiguration {
|
135
|
+
/**
|
136
|
+
* The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.
|
137
|
+
*/
|
138
|
+
accountScope?: String;
|
139
|
+
/**
|
140
|
+
* The hourly commitment for the Savings Plans type.
|
141
|
+
*/
|
142
|
+
hourlyCommitment?: String;
|
143
|
+
/**
|
144
|
+
* The payment option for the commitment.
|
145
|
+
*/
|
146
|
+
paymentOption?: String;
|
147
|
+
/**
|
148
|
+
* The Savings Plans recommendation term in years.
|
149
|
+
*/
|
150
|
+
term?: String;
|
151
|
+
}
|
152
|
+
export type Datetime = Date;
|
153
|
+
export type Double = number;
|
154
|
+
export interface EbsVolume {
|
155
|
+
/**
|
156
|
+
* The Amazon Elastic Block Store volume configuration used for recommendations.
|
157
|
+
*/
|
158
|
+
configuration?: EbsVolumeConfiguration;
|
159
|
+
/**
|
160
|
+
* Cost impact of the recommendation.
|
161
|
+
*/
|
162
|
+
costCalculation?: ResourceCostCalculation;
|
163
|
+
}
|
164
|
+
export interface EbsVolumeConfiguration {
|
165
|
+
/**
|
166
|
+
* The Amazon Elastic Block Store attachment state.
|
167
|
+
*/
|
168
|
+
attachmentState?: String;
|
169
|
+
/**
|
170
|
+
* The Amazon Elastic Block Store performance configuration.
|
171
|
+
*/
|
172
|
+
performance?: BlockStoragePerformanceConfiguration;
|
173
|
+
/**
|
174
|
+
* The disk storage of the Amazon Elastic Block Store volume.
|
175
|
+
*/
|
176
|
+
storage?: StorageConfiguration;
|
177
|
+
}
|
178
|
+
export interface Ec2AutoScalingGroup {
|
179
|
+
/**
|
180
|
+
* The EC2 Auto Scaling group configuration used for recommendations.
|
181
|
+
*/
|
182
|
+
configuration?: Ec2AutoScalingGroupConfiguration;
|
183
|
+
/**
|
184
|
+
* Cost impact of the recommendation.
|
185
|
+
*/
|
186
|
+
costCalculation?: ResourceCostCalculation;
|
187
|
+
}
|
188
|
+
export interface Ec2AutoScalingGroupConfiguration {
|
189
|
+
/**
|
190
|
+
* Details about the instance.
|
191
|
+
*/
|
192
|
+
instance?: InstanceConfiguration;
|
193
|
+
}
|
194
|
+
export interface Ec2Instance {
|
195
|
+
/**
|
196
|
+
* The EC2 instance configuration used for recommendations.
|
197
|
+
*/
|
198
|
+
configuration?: Ec2InstanceConfiguration;
|
199
|
+
/**
|
200
|
+
* Cost impact of the recommendation.
|
201
|
+
*/
|
202
|
+
costCalculation?: ResourceCostCalculation;
|
203
|
+
}
|
204
|
+
export interface Ec2InstanceConfiguration {
|
205
|
+
/**
|
206
|
+
* Details about the instance.
|
207
|
+
*/
|
208
|
+
instance?: InstanceConfiguration;
|
209
|
+
}
|
210
|
+
export interface Ec2InstanceSavingsPlans {
|
211
|
+
/**
|
212
|
+
* The EC2 instance Savings Plans configuration used for recommendations.
|
213
|
+
*/
|
214
|
+
configuration?: Ec2InstanceSavingsPlansConfiguration;
|
215
|
+
/**
|
216
|
+
* Cost impact of the Savings Plans purchase recommendation.
|
217
|
+
*/
|
218
|
+
costCalculation?: SavingsPlansCostCalculation;
|
219
|
+
}
|
220
|
+
export interface Ec2InstanceSavingsPlansConfiguration {
|
221
|
+
/**
|
222
|
+
* The account scope that you want your recommendations for.
|
223
|
+
*/
|
224
|
+
accountScope?: String;
|
225
|
+
/**
|
226
|
+
* The hourly commitment for the Savings Plans type.
|
227
|
+
*/
|
228
|
+
hourlyCommitment?: String;
|
229
|
+
/**
|
230
|
+
* The instance family of the recommended Savings Plan.
|
231
|
+
*/
|
232
|
+
instanceFamily?: String;
|
233
|
+
/**
|
234
|
+
* The payment option for the commitment.
|
235
|
+
*/
|
236
|
+
paymentOption?: String;
|
237
|
+
/**
|
238
|
+
* The Amazon Web Services Region of the commitment.
|
239
|
+
*/
|
240
|
+
savingsPlansRegion?: String;
|
241
|
+
/**
|
242
|
+
* The Savings Plans recommendation term in years.
|
243
|
+
*/
|
244
|
+
term?: String;
|
245
|
+
}
|
246
|
+
export interface Ec2ReservedInstances {
|
247
|
+
/**
|
248
|
+
* The EC2 reserved instances configuration used for recommendations.
|
249
|
+
*/
|
250
|
+
configuration?: Ec2ReservedInstancesConfiguration;
|
251
|
+
/**
|
252
|
+
* Cost impact of the purchase recommendation.
|
253
|
+
*/
|
254
|
+
costCalculation?: ReservedInstancesCostCalculation;
|
255
|
+
}
|
256
|
+
export interface Ec2ReservedInstancesConfiguration {
|
257
|
+
/**
|
258
|
+
* The account scope that you want your recommendations for.
|
259
|
+
*/
|
260
|
+
accountScope?: String;
|
261
|
+
/**
|
262
|
+
* Determines whether the recommendation is for a current generation instance.
|
263
|
+
*/
|
264
|
+
currentGeneration?: String;
|
265
|
+
/**
|
266
|
+
* The instance family of the recommended reservation.
|
267
|
+
*/
|
268
|
+
instanceFamily?: String;
|
269
|
+
/**
|
270
|
+
* The type of instance that Amazon Web Services recommends.
|
271
|
+
*/
|
272
|
+
instanceType?: String;
|
273
|
+
/**
|
274
|
+
* How much purchasing reserved instances costs you on a monthly basis.
|
275
|
+
*/
|
276
|
+
monthlyRecurringCost?: String;
|
277
|
+
/**
|
278
|
+
* The number of normalized units that Amazon Web Services recommends that you purchase.
|
279
|
+
*/
|
280
|
+
normalizedUnitsToPurchase?: String;
|
281
|
+
/**
|
282
|
+
* The number of instances that Amazon Web Services recommends that you purchase.
|
283
|
+
*/
|
284
|
+
numberOfInstancesToPurchase?: String;
|
285
|
+
/**
|
286
|
+
* Indicates whether the recommendation is for standard or convertible reservations.
|
287
|
+
*/
|
288
|
+
offeringClass?: String;
|
289
|
+
/**
|
290
|
+
* The payment option for the commitment.
|
291
|
+
*/
|
292
|
+
paymentOption?: String;
|
293
|
+
/**
|
294
|
+
* The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.
|
295
|
+
*/
|
296
|
+
platform?: String;
|
297
|
+
/**
|
298
|
+
* The Amazon Web Services Region of the commitment.
|
299
|
+
*/
|
300
|
+
reservedInstancesRegion?: String;
|
301
|
+
/**
|
302
|
+
* The service that you want your recommendations for.
|
303
|
+
*/
|
304
|
+
service?: String;
|
305
|
+
/**
|
306
|
+
* Determines whether the recommendation is size flexible.
|
307
|
+
*/
|
308
|
+
sizeFlexEligible?: Boolean;
|
309
|
+
/**
|
310
|
+
* Determines whether the recommended reservation is dedicated or shared.
|
311
|
+
*/
|
312
|
+
tenancy?: String;
|
313
|
+
/**
|
314
|
+
* The reserved instances recommendation term in years.
|
315
|
+
*/
|
316
|
+
term?: String;
|
317
|
+
/**
|
318
|
+
* How much purchasing this instance costs you upfront.
|
319
|
+
*/
|
320
|
+
upfrontCost?: String;
|
321
|
+
}
|
322
|
+
export interface EcsService {
|
323
|
+
/**
|
324
|
+
* The ECS service configuration used for recommendations.
|
325
|
+
*/
|
326
|
+
configuration?: EcsServiceConfiguration;
|
327
|
+
/**
|
328
|
+
* Cost impact of the recommendation.
|
329
|
+
*/
|
330
|
+
costCalculation?: ResourceCostCalculation;
|
331
|
+
}
|
332
|
+
export interface EcsServiceConfiguration {
|
333
|
+
/**
|
334
|
+
* Details about the compute configuration.
|
335
|
+
*/
|
336
|
+
compute?: ComputeConfiguration;
|
337
|
+
}
|
338
|
+
export interface ElastiCacheReservedInstances {
|
339
|
+
/**
|
340
|
+
* The ElastiCache reserved instances configuration used for recommendations.
|
341
|
+
*/
|
342
|
+
configuration?: ElastiCacheReservedInstancesConfiguration;
|
343
|
+
/**
|
344
|
+
* Cost impact of the purchase recommendation.
|
345
|
+
*/
|
346
|
+
costCalculation?: ReservedInstancesCostCalculation;
|
347
|
+
}
|
348
|
+
export interface ElastiCacheReservedInstancesConfiguration {
|
349
|
+
/**
|
350
|
+
* The account scope that you want your recommendations for.
|
351
|
+
*/
|
352
|
+
accountScope?: String;
|
353
|
+
/**
|
354
|
+
* Determines whether the recommendation is for a current generation instance.
|
355
|
+
*/
|
356
|
+
currentGeneration?: String;
|
357
|
+
/**
|
358
|
+
* The instance family of the recommended reservation.
|
359
|
+
*/
|
360
|
+
instanceFamily?: String;
|
361
|
+
/**
|
362
|
+
* The type of instance that Amazon Web Services recommends.
|
363
|
+
*/
|
364
|
+
instanceType?: String;
|
365
|
+
/**
|
366
|
+
* How much purchasing reserved instances costs you on a monthly basis.
|
367
|
+
*/
|
368
|
+
monthlyRecurringCost?: String;
|
369
|
+
/**
|
370
|
+
* The number of normalized units that Amazon Web Services recommends that you purchase.
|
371
|
+
*/
|
372
|
+
normalizedUnitsToPurchase?: String;
|
373
|
+
/**
|
374
|
+
* The number of instances that Amazon Web Services recommends that you purchase.
|
375
|
+
*/
|
376
|
+
numberOfInstancesToPurchase?: String;
|
377
|
+
/**
|
378
|
+
* The payment option for the commitment.
|
379
|
+
*/
|
380
|
+
paymentOption?: String;
|
381
|
+
/**
|
382
|
+
* The Amazon Web Services Region of the commitment.
|
383
|
+
*/
|
384
|
+
reservedInstancesRegion?: String;
|
385
|
+
/**
|
386
|
+
* The service that you want your recommendations for.
|
387
|
+
*/
|
388
|
+
service?: String;
|
389
|
+
/**
|
390
|
+
* Determines whether the recommendation is size flexible.
|
391
|
+
*/
|
392
|
+
sizeFlexEligible?: Boolean;
|
393
|
+
/**
|
394
|
+
* The reserved instances recommendation term in years.
|
395
|
+
*/
|
396
|
+
term?: String;
|
397
|
+
/**
|
398
|
+
* How much purchasing this instance costs you upfront.
|
399
|
+
*/
|
400
|
+
upfrontCost?: String;
|
401
|
+
}
|
402
|
+
export type EnrollmentStatus = "Active"|"Inactive"|string;
|
403
|
+
export interface EstimatedDiscounts {
|
404
|
+
/**
|
405
|
+
* Estimated other discounts include all discounts that are not itemized. Itemized discounts include reservedInstanceDiscount and savingsPlansDiscount.
|
406
|
+
*/
|
407
|
+
otherDiscount?: Double;
|
408
|
+
/**
|
409
|
+
* Estimated reserved instance discounts.
|
410
|
+
*/
|
411
|
+
reservedInstancesDiscount?: Double;
|
412
|
+
/**
|
413
|
+
* Estimated Savings Plans discounts.
|
414
|
+
*/
|
415
|
+
savingsPlansDiscount?: Double;
|
416
|
+
}
|
417
|
+
export interface Filter {
|
418
|
+
/**
|
419
|
+
* The account that the recommendation is for.
|
420
|
+
*/
|
421
|
+
accountIds?: AccountIdList;
|
422
|
+
/**
|
423
|
+
* The type of action you can take by adopting the recommendation.
|
424
|
+
*/
|
425
|
+
actionTypes?: ActionTypeList;
|
426
|
+
/**
|
427
|
+
* The effort required to implement the recommendation.
|
428
|
+
*/
|
429
|
+
implementationEfforts?: ImplementationEffortList;
|
430
|
+
/**
|
431
|
+
* The IDs for the recommendations.
|
432
|
+
*/
|
433
|
+
recommendationIds?: RecommendationIdList;
|
434
|
+
/**
|
435
|
+
* The Amazon Web Services Region of the resource.
|
436
|
+
*/
|
437
|
+
regions?: RegionList;
|
438
|
+
/**
|
439
|
+
* The Amazon Resource Name (ARN) of the recommendation.
|
440
|
+
*/
|
441
|
+
resourceArns?: ResourceArnList;
|
442
|
+
/**
|
443
|
+
* The resource ID of the recommendation.
|
444
|
+
*/
|
445
|
+
resourceIds?: ResourceIdList;
|
446
|
+
/**
|
447
|
+
* The resource type of the recommendation.
|
448
|
+
*/
|
449
|
+
resourceTypes?: ResourceTypeList;
|
450
|
+
/**
|
451
|
+
* Whether or not implementing the recommendation requires a restart.
|
452
|
+
*/
|
453
|
+
restartNeeded?: Boolean;
|
454
|
+
/**
|
455
|
+
* Whether or not implementing the recommendation can be rolled back.
|
456
|
+
*/
|
457
|
+
rollbackPossible?: Boolean;
|
458
|
+
/**
|
459
|
+
* A list of tags assigned to the recommendation.
|
460
|
+
*/
|
461
|
+
tags?: TagList;
|
462
|
+
}
|
463
|
+
export interface GetPreferencesRequest {
|
464
|
+
}
|
465
|
+
export interface GetPreferencesResponse {
|
466
|
+
/**
|
467
|
+
* Retrieves the status of the "member account discount visibility" preference.
|
468
|
+
*/
|
469
|
+
memberAccountDiscountVisibility?: MemberAccountDiscountVisibility;
|
470
|
+
/**
|
471
|
+
* Retrieves the status of the "savings estimation mode" preference.
|
472
|
+
*/
|
473
|
+
savingsEstimationMode?: SavingsEstimationMode;
|
474
|
+
}
|
475
|
+
export interface GetRecommendationRequest {
|
476
|
+
/**
|
477
|
+
* The ID for the recommendation.
|
478
|
+
*/
|
479
|
+
recommendationId: String;
|
480
|
+
}
|
481
|
+
export interface GetRecommendationResponse {
|
482
|
+
/**
|
483
|
+
* The account that the recommendation is for.
|
484
|
+
*/
|
485
|
+
accountId?: String;
|
486
|
+
/**
|
487
|
+
* The type of action you can take by adopting the recommendation.
|
488
|
+
*/
|
489
|
+
actionType?: ActionType;
|
490
|
+
/**
|
491
|
+
* The lookback period used to calculate cost impact for a recommendation.
|
492
|
+
*/
|
493
|
+
costCalculationLookbackPeriodInDays?: Integer;
|
494
|
+
/**
|
495
|
+
* The currency code used for the recommendation.
|
496
|
+
*/
|
497
|
+
currencyCode?: String;
|
498
|
+
/**
|
499
|
+
* The details for the resource.
|
500
|
+
*/
|
501
|
+
currentResourceDetails?: ResourceDetails;
|
502
|
+
/**
|
503
|
+
* The type of resource.
|
504
|
+
*/
|
505
|
+
currentResourceType?: ResourceType;
|
506
|
+
/**
|
507
|
+
* The estimated monthly cost of the recommendation.
|
508
|
+
*/
|
509
|
+
estimatedMonthlyCost?: Double;
|
510
|
+
/**
|
511
|
+
* The estimated monthly savings amount for the recommendation.
|
512
|
+
*/
|
513
|
+
estimatedMonthlySavings?: Double;
|
514
|
+
/**
|
515
|
+
* The estimated savings amount over the lookback period used to calculate cost impact for a recommendation.
|
516
|
+
*/
|
517
|
+
estimatedSavingsOverCostCalculationLookbackPeriod?: Double;
|
518
|
+
/**
|
519
|
+
* The estimated savings percentage relative to the total cost over the cost calculation lookback period.
|
520
|
+
*/
|
521
|
+
estimatedSavingsPercentage?: Double;
|
522
|
+
/**
|
523
|
+
* The effort required to implement the recommendation.
|
524
|
+
*/
|
525
|
+
implementationEffort?: ImplementationEffort;
|
526
|
+
/**
|
527
|
+
* The time when the recommendation was last generated.
|
528
|
+
*/
|
529
|
+
lastRefreshTimestamp?: Datetime;
|
530
|
+
/**
|
531
|
+
* The ID for the recommendation.
|
532
|
+
*/
|
533
|
+
recommendationId?: String;
|
534
|
+
/**
|
535
|
+
* The lookback period that's used to generate the recommendation.
|
536
|
+
*/
|
537
|
+
recommendationLookbackPeriodInDays?: Integer;
|
538
|
+
/**
|
539
|
+
* The details about the recommended resource.
|
540
|
+
*/
|
541
|
+
recommendedResourceDetails?: ResourceDetails;
|
542
|
+
/**
|
543
|
+
* The resource type of the recommendation.
|
544
|
+
*/
|
545
|
+
recommendedResourceType?: ResourceType;
|
546
|
+
/**
|
547
|
+
* The Amazon Web Services Region of the resource.
|
548
|
+
*/
|
549
|
+
region?: String;
|
550
|
+
/**
|
551
|
+
* The Amazon Resource Name (ARN) of the resource.
|
552
|
+
*/
|
553
|
+
resourceArn?: String;
|
554
|
+
/**
|
555
|
+
* The unique identifier for the resource. This is the same as the Amazon Resource Name (ARN), if available.
|
556
|
+
*/
|
557
|
+
resourceId?: String;
|
558
|
+
/**
|
559
|
+
* Whether or not implementing the recommendation requires a restart.
|
560
|
+
*/
|
561
|
+
restartNeeded?: Boolean;
|
562
|
+
/**
|
563
|
+
* Whether or not implementing the recommendation can be rolled back.
|
564
|
+
*/
|
565
|
+
rollbackPossible?: Boolean;
|
566
|
+
/**
|
567
|
+
* The source of the recommendation.
|
568
|
+
*/
|
569
|
+
source?: Source;
|
570
|
+
/**
|
571
|
+
* A list of tags associated with the resource for which the recommendation exists.
|
572
|
+
*/
|
573
|
+
tags?: TagList;
|
574
|
+
}
|
575
|
+
export type ImplementationEffort = "VeryLow"|"Low"|"Medium"|"High"|"VeryHigh"|string;
|
576
|
+
export type ImplementationEffortList = ImplementationEffort[];
|
577
|
+
export interface InstanceConfiguration {
|
578
|
+
/**
|
579
|
+
* Details about the type.
|
580
|
+
*/
|
581
|
+
type?: String;
|
582
|
+
}
|
583
|
+
export type Integer = number;
|
584
|
+
export interface LambdaFunction {
|
585
|
+
/**
|
586
|
+
* The Lambda function configuration used for recommendations.
|
587
|
+
*/
|
588
|
+
configuration?: LambdaFunctionConfiguration;
|
589
|
+
/**
|
590
|
+
* Cost impact of the recommendation.
|
591
|
+
*/
|
592
|
+
costCalculation?: ResourceCostCalculation;
|
593
|
+
}
|
594
|
+
export interface LambdaFunctionConfiguration {
|
595
|
+
/**
|
596
|
+
* Details about the compute configuration.
|
597
|
+
*/
|
598
|
+
compute?: ComputeConfiguration;
|
599
|
+
}
|
600
|
+
export interface ListEnrollmentStatusesRequest {
|
601
|
+
/**
|
602
|
+
* The enrollment status of a specific account ID in the organization.
|
603
|
+
*/
|
604
|
+
accountId?: AccountId;
|
605
|
+
/**
|
606
|
+
* Indicates whether to return the enrollment status for the organization.
|
607
|
+
*/
|
608
|
+
includeOrganizationInfo?: PrimitiveBoolean;
|
609
|
+
/**
|
610
|
+
* The maximum number of objects that are returned for the request.
|
611
|
+
*/
|
612
|
+
maxResults?: MaxResults;
|
613
|
+
/**
|
614
|
+
* The token to retrieve the next set of results.
|
615
|
+
*/
|
616
|
+
nextToken?: String;
|
617
|
+
}
|
618
|
+
export interface ListEnrollmentStatusesResponse {
|
619
|
+
/**
|
620
|
+
* The account enrollment statuses.
|
621
|
+
*/
|
622
|
+
items?: AccountEnrollmentStatuses;
|
623
|
+
/**
|
624
|
+
* The token to retrieve the next set of results.
|
625
|
+
*/
|
626
|
+
nextToken?: String;
|
627
|
+
}
|
628
|
+
export interface ListRecommendationSummariesRequest {
|
629
|
+
filter?: Filter;
|
630
|
+
/**
|
631
|
+
* The grouping of recommendations by a dimension.
|
632
|
+
*/
|
633
|
+
groupBy: String;
|
634
|
+
/**
|
635
|
+
* The maximum number of recommendations that are returned for the request.
|
636
|
+
*/
|
637
|
+
maxResults?: ListRecommendationSummariesRequestMaxResultsInteger;
|
638
|
+
/**
|
639
|
+
* The token to retrieve the next set of results.
|
640
|
+
*/
|
641
|
+
nextToken?: String;
|
642
|
+
}
|
643
|
+
export type ListRecommendationSummariesRequestMaxResultsInteger = number;
|
644
|
+
export interface ListRecommendationSummariesResponse {
|
645
|
+
/**
|
646
|
+
* The currency code used for the recommendation.
|
647
|
+
*/
|
648
|
+
currencyCode?: String;
|
649
|
+
/**
|
650
|
+
* The total overall savings for the aggregated view.
|
651
|
+
*/
|
652
|
+
estimatedTotalDedupedSavings?: Double;
|
653
|
+
/**
|
654
|
+
* The dimension used to group the recommendations by.
|
655
|
+
*/
|
656
|
+
groupBy?: String;
|
657
|
+
/**
|
658
|
+
* List of all savings recommendations.
|
659
|
+
*/
|
660
|
+
items?: RecommendationSummariesList;
|
661
|
+
/**
|
662
|
+
* The token to retrieve the next set of results.
|
663
|
+
*/
|
664
|
+
nextToken?: String;
|
665
|
+
}
|
666
|
+
export interface ListRecommendationsRequest {
|
667
|
+
/**
|
668
|
+
* The constraints that you want all returned recommendations to match.
|
669
|
+
*/
|
670
|
+
filter?: Filter;
|
671
|
+
/**
|
672
|
+
* List of all recommendations for a resource, or a single recommendation if de-duped by resourceId.
|
673
|
+
*/
|
674
|
+
includeAllRecommendations?: PrimitiveBoolean;
|
675
|
+
/**
|
676
|
+
* The maximum number of recommendations that are returned for the request.
|
677
|
+
*/
|
678
|
+
maxResults?: ListRecommendationsRequestMaxResultsInteger;
|
679
|
+
/**
|
680
|
+
* The token to retrieve the next set of results.
|
681
|
+
*/
|
682
|
+
nextToken?: String;
|
683
|
+
/**
|
684
|
+
* The ordering of recommendations by a dimension.
|
685
|
+
*/
|
686
|
+
orderBy?: OrderBy;
|
687
|
+
}
|
688
|
+
export type ListRecommendationsRequestMaxResultsInteger = number;
|
689
|
+
export interface ListRecommendationsResponse {
|
690
|
+
/**
|
691
|
+
* List of all savings recommendations.
|
692
|
+
*/
|
693
|
+
items?: RecommendationList;
|
694
|
+
/**
|
695
|
+
* The token to retrieve the next set of results.
|
696
|
+
*/
|
697
|
+
nextToken?: String;
|
698
|
+
}
|
699
|
+
export type MaxResults = number;
|
700
|
+
export type MemberAccountDiscountVisibility = "All"|"None"|string;
|
701
|
+
export interface OpenSearchReservedInstances {
|
702
|
+
/**
|
703
|
+
* The OpenSearch reserved instances configuration used for recommendations.
|
704
|
+
*/
|
705
|
+
configuration?: OpenSearchReservedInstancesConfiguration;
|
706
|
+
/**
|
707
|
+
* Cost impact of the purchase recommendation.
|
708
|
+
*/
|
709
|
+
costCalculation?: ReservedInstancesCostCalculation;
|
710
|
+
}
|
711
|
+
export interface OpenSearchReservedInstancesConfiguration {
|
712
|
+
/**
|
713
|
+
* The account scope that you want your recommendations for.
|
714
|
+
*/
|
715
|
+
accountScope?: String;
|
716
|
+
/**
|
717
|
+
* Determines whether the recommendation is for a current generation instance.
|
718
|
+
*/
|
719
|
+
currentGeneration?: String;
|
720
|
+
/**
|
721
|
+
* The type of instance that Amazon Web Services recommends.
|
722
|
+
*/
|
723
|
+
instanceType?: String;
|
724
|
+
/**
|
725
|
+
* How much purchasing reserved instances costs you on a monthly basis.
|
726
|
+
*/
|
727
|
+
monthlyRecurringCost?: String;
|
728
|
+
/**
|
729
|
+
* The number of normalized units that Amazon Web Services recommends that you purchase.
|
730
|
+
*/
|
731
|
+
normalizedUnitsToPurchase?: String;
|
732
|
+
/**
|
733
|
+
* The number of instances that Amazon Web Services recommends that you purchase.
|
734
|
+
*/
|
735
|
+
numberOfInstancesToPurchase?: String;
|
736
|
+
/**
|
737
|
+
* The payment option for the commitment.
|
738
|
+
*/
|
739
|
+
paymentOption?: String;
|
740
|
+
/**
|
741
|
+
* The Amazon Web Services Region of the commitment.
|
742
|
+
*/
|
743
|
+
reservedInstancesRegion?: String;
|
744
|
+
/**
|
745
|
+
* The service that you want your recommendations for.
|
746
|
+
*/
|
747
|
+
service?: String;
|
748
|
+
/**
|
749
|
+
* Determines whether the recommendation is size flexible.
|
750
|
+
*/
|
751
|
+
sizeFlexEligible?: Boolean;
|
752
|
+
/**
|
753
|
+
* The reserved instances recommendation term in years.
|
754
|
+
*/
|
755
|
+
term?: String;
|
756
|
+
/**
|
757
|
+
* How much purchasing this instance costs you upfront.
|
758
|
+
*/
|
759
|
+
upfrontCost?: String;
|
760
|
+
}
|
761
|
+
export type Order = "Asc"|"Desc"|string;
|
762
|
+
export interface OrderBy {
|
763
|
+
/**
|
764
|
+
* Sorts by dimension values.
|
765
|
+
*/
|
766
|
+
dimension?: String;
|
767
|
+
/**
|
768
|
+
* The order that's used to sort the data.
|
769
|
+
*/
|
770
|
+
order?: Order;
|
771
|
+
}
|
772
|
+
export type PrimitiveBoolean = boolean;
|
773
|
+
export interface RdsReservedInstances {
|
774
|
+
/**
|
775
|
+
* The RDS reserved instances configuration used for recommendations.
|
776
|
+
*/
|
777
|
+
configuration?: RdsReservedInstancesConfiguration;
|
778
|
+
/**
|
779
|
+
* Cost impact of the purchase recommendation.
|
780
|
+
*/
|
781
|
+
costCalculation?: ReservedInstancesCostCalculation;
|
782
|
+
}
|
783
|
+
export interface RdsReservedInstancesConfiguration {
|
784
|
+
/**
|
785
|
+
* The account scope that you want your recommendations for.
|
786
|
+
*/
|
787
|
+
accountScope?: String;
|
788
|
+
/**
|
789
|
+
* Determines whether the recommendation is for a current generation instance.
|
790
|
+
*/
|
791
|
+
currentGeneration?: String;
|
792
|
+
/**
|
793
|
+
* The database edition that the recommended reservation supports.
|
794
|
+
*/
|
795
|
+
databaseEdition?: String;
|
796
|
+
/**
|
797
|
+
* The database engine that the recommended reservation supports.
|
798
|
+
*/
|
799
|
+
databaseEngine?: String;
|
800
|
+
/**
|
801
|
+
* Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone.
|
802
|
+
*/
|
803
|
+
deploymentOption?: String;
|
804
|
+
/**
|
805
|
+
* The instance family of the recommended reservation.
|
806
|
+
*/
|
807
|
+
instanceFamily?: String;
|
808
|
+
/**
|
809
|
+
* The type of instance that Amazon Web Services recommends.
|
810
|
+
*/
|
811
|
+
instanceType?: String;
|
812
|
+
/**
|
813
|
+
* The license model that the recommended reservation supports.
|
814
|
+
*/
|
815
|
+
licenseModel?: String;
|
816
|
+
/**
|
817
|
+
* How much purchasing this instance costs you on a monthly basis.
|
818
|
+
*/
|
819
|
+
monthlyRecurringCost?: String;
|
820
|
+
/**
|
821
|
+
* The number of normalized units that Amazon Web Services recommends that you purchase.
|
822
|
+
*/
|
823
|
+
normalizedUnitsToPurchase?: String;
|
824
|
+
/**
|
825
|
+
* The number of instances that Amazon Web Services recommends that you purchase.
|
826
|
+
*/
|
827
|
+
numberOfInstancesToPurchase?: String;
|
828
|
+
/**
|
829
|
+
* The payment option for the commitment.
|
830
|
+
*/
|
831
|
+
paymentOption?: String;
|
832
|
+
/**
|
833
|
+
* The Amazon Web Services Region of the commitment.
|
834
|
+
*/
|
835
|
+
reservedInstancesRegion?: String;
|
836
|
+
/**
|
837
|
+
* The service that you want your recommendations for.
|
838
|
+
*/
|
839
|
+
service?: String;
|
840
|
+
/**
|
841
|
+
* Determines whether the recommendation is size flexible.
|
842
|
+
*/
|
843
|
+
sizeFlexEligible?: Boolean;
|
844
|
+
/**
|
845
|
+
* The reserved instances recommendation term in years.
|
846
|
+
*/
|
847
|
+
term?: String;
|
848
|
+
/**
|
849
|
+
* How much purchasing this instance costs you upfront.
|
850
|
+
*/
|
851
|
+
upfrontCost?: String;
|
852
|
+
}
|
853
|
+
export interface Recommendation {
|
854
|
+
/**
|
855
|
+
* The account that the recommendation is for.
|
856
|
+
*/
|
857
|
+
accountId?: String;
|
858
|
+
/**
|
859
|
+
* The type of tasks that can be carried out by this action.
|
860
|
+
*/
|
861
|
+
actionType?: String;
|
862
|
+
/**
|
863
|
+
* The currency code used for the recommendation.
|
864
|
+
*/
|
865
|
+
currencyCode?: String;
|
866
|
+
/**
|
867
|
+
* Describes the current resource.
|
868
|
+
*/
|
869
|
+
currentResourceSummary?: String;
|
870
|
+
/**
|
871
|
+
* The current resource type.
|
872
|
+
*/
|
873
|
+
currentResourceType?: String;
|
874
|
+
/**
|
875
|
+
* The estimated monthly cost for the recommendation.
|
876
|
+
*/
|
877
|
+
estimatedMonthlyCost?: Double;
|
878
|
+
/**
|
879
|
+
* The estimated monthly savings amount for the recommendation.
|
880
|
+
*/
|
881
|
+
estimatedMonthlySavings?: Double;
|
882
|
+
/**
|
883
|
+
* The estimated savings percentage relative to the total cost over the cost calculation lookback period.
|
884
|
+
*/
|
885
|
+
estimatedSavingsPercentage?: Double;
|
886
|
+
/**
|
887
|
+
* The effort required to implement the recommendation.
|
888
|
+
*/
|
889
|
+
implementationEffort?: String;
|
890
|
+
/**
|
891
|
+
* The time when the recommendation was last generated.
|
892
|
+
*/
|
893
|
+
lastRefreshTimestamp?: Datetime;
|
894
|
+
/**
|
895
|
+
* The ID for the recommendation.
|
896
|
+
*/
|
897
|
+
recommendationId?: String;
|
898
|
+
/**
|
899
|
+
* The lookback period that's used to generate the recommendation.
|
900
|
+
*/
|
901
|
+
recommendationLookbackPeriodInDays?: Integer;
|
902
|
+
/**
|
903
|
+
* Describes the recommended resource.
|
904
|
+
*/
|
905
|
+
recommendedResourceSummary?: String;
|
906
|
+
/**
|
907
|
+
* The recommended resource type.
|
908
|
+
*/
|
909
|
+
recommendedResourceType?: String;
|
910
|
+
/**
|
911
|
+
* The Amazon Web Services Region of the resource.
|
912
|
+
*/
|
913
|
+
region?: String;
|
914
|
+
/**
|
915
|
+
* The Amazon Resource Name (ARN) for the recommendation.
|
916
|
+
*/
|
917
|
+
resourceArn?: String;
|
918
|
+
/**
|
919
|
+
* The resource ID for the recommendation.
|
920
|
+
*/
|
921
|
+
resourceId?: String;
|
922
|
+
/**
|
923
|
+
* Whether or not implementing the recommendation requires a restart.
|
924
|
+
*/
|
925
|
+
restartNeeded?: Boolean;
|
926
|
+
/**
|
927
|
+
* Whether or not implementing the recommendation can be rolled back.
|
928
|
+
*/
|
929
|
+
rollbackPossible?: Boolean;
|
930
|
+
/**
|
931
|
+
* The source of the recommendation.
|
932
|
+
*/
|
933
|
+
source?: Source;
|
934
|
+
/**
|
935
|
+
* A list of tags assigned to the recommendation.
|
936
|
+
*/
|
937
|
+
tags?: TagList;
|
938
|
+
}
|
939
|
+
export type RecommendationIdList = String[];
|
940
|
+
export type RecommendationList = Recommendation[];
|
941
|
+
export type RecommendationSummariesList = RecommendationSummary[];
|
942
|
+
export interface RecommendationSummary {
|
943
|
+
/**
|
944
|
+
* The estimated total savings resulting from modifications, on a monthly basis.
|
945
|
+
*/
|
946
|
+
estimatedMonthlySavings?: Double;
|
947
|
+
/**
|
948
|
+
* The grouping of recommendations.
|
949
|
+
*/
|
950
|
+
group?: String;
|
951
|
+
/**
|
952
|
+
* The total number of instance recommendations.
|
953
|
+
*/
|
954
|
+
recommendationCount?: Integer;
|
955
|
+
}
|
956
|
+
export interface RedshiftReservedInstances {
|
957
|
+
/**
|
958
|
+
* The Redshift reserved instances configuration used for recommendations.
|
959
|
+
*/
|
960
|
+
configuration?: RedshiftReservedInstancesConfiguration;
|
961
|
+
/**
|
962
|
+
* Cost impact of the purchase recommendation.
|
963
|
+
*/
|
964
|
+
costCalculation?: ReservedInstancesCostCalculation;
|
965
|
+
}
|
966
|
+
export interface RedshiftReservedInstancesConfiguration {
|
967
|
+
/**
|
968
|
+
* The account scope that you want your recommendations for.
|
969
|
+
*/
|
970
|
+
accountScope?: String;
|
971
|
+
/**
|
972
|
+
* Determines whether the recommendation is for a current generation instance.
|
973
|
+
*/
|
974
|
+
currentGeneration?: String;
|
975
|
+
/**
|
976
|
+
* The instance family of the recommended reservation.
|
977
|
+
*/
|
978
|
+
instanceFamily?: String;
|
979
|
+
/**
|
980
|
+
* The type of instance that Amazon Web Services recommends.
|
981
|
+
*/
|
982
|
+
instanceType?: String;
|
983
|
+
/**
|
984
|
+
* How much purchasing reserved instances costs you on a monthly basis.
|
985
|
+
*/
|
986
|
+
monthlyRecurringCost?: String;
|
987
|
+
/**
|
988
|
+
* The number of normalized units that Amazon Web Services recommends that you purchase.
|
989
|
+
*/
|
990
|
+
normalizedUnitsToPurchase?: String;
|
991
|
+
/**
|
992
|
+
* The number of instances that Amazon Web Services recommends that you purchase.
|
993
|
+
*/
|
994
|
+
numberOfInstancesToPurchase?: String;
|
995
|
+
/**
|
996
|
+
* The payment option for the commitment.
|
997
|
+
*/
|
998
|
+
paymentOption?: String;
|
999
|
+
/**
|
1000
|
+
* The Amazon Web Services Region of the commitment.
|
1001
|
+
*/
|
1002
|
+
reservedInstancesRegion?: String;
|
1003
|
+
/**
|
1004
|
+
* The service that you want your recommendations for.
|
1005
|
+
*/
|
1006
|
+
service?: String;
|
1007
|
+
/**
|
1008
|
+
* Determines whether the recommendation is size flexible.
|
1009
|
+
*/
|
1010
|
+
sizeFlexEligible?: Boolean;
|
1011
|
+
/**
|
1012
|
+
* The reserved instances recommendation term in years.
|
1013
|
+
*/
|
1014
|
+
term?: String;
|
1015
|
+
/**
|
1016
|
+
* How much purchasing this instance costs you upfront.
|
1017
|
+
*/
|
1018
|
+
upfrontCost?: String;
|
1019
|
+
}
|
1020
|
+
export type RegionList = String[];
|
1021
|
+
export interface ReservedInstancesCostCalculation {
|
1022
|
+
/**
|
1023
|
+
* Pricing details of the purchase recommendation.
|
1024
|
+
*/
|
1025
|
+
pricing?: ReservedInstancesPricing;
|
1026
|
+
}
|
1027
|
+
export interface ReservedInstancesPricing {
|
1028
|
+
/**
|
1029
|
+
* The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
|
1030
|
+
*/
|
1031
|
+
estimatedMonthlyAmortizedReservationCost?: Double;
|
1032
|
+
/**
|
1033
|
+
* The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
|
1034
|
+
*/
|
1035
|
+
estimatedOnDemandCost?: Double;
|
1036
|
+
/**
|
1037
|
+
* The cost of paying for the recommended reserved instance monthly.
|
1038
|
+
*/
|
1039
|
+
monthlyReservationEligibleCost?: Double;
|
1040
|
+
/**
|
1041
|
+
* The savings percentage relative to the total On-Demand costs that are associated with this instance.
|
1042
|
+
*/
|
1043
|
+
savingsPercentage?: Double;
|
1044
|
+
}
|
1045
|
+
export type ResourceArnList = String[];
|
1046
|
+
export interface ResourceCostCalculation {
|
1047
|
+
/**
|
1048
|
+
* Pricing details of the resource recommendation.
|
1049
|
+
*/
|
1050
|
+
pricing?: ResourcePricing;
|
1051
|
+
/**
|
1052
|
+
* Usage details of the resource recommendation.
|
1053
|
+
*/
|
1054
|
+
usages?: UsageList;
|
1055
|
+
}
|
1056
|
+
export interface ResourceDetails {
|
1057
|
+
/**
|
1058
|
+
* The Compute Savings Plans recommendation details.
|
1059
|
+
*/
|
1060
|
+
computeSavingsPlans?: ComputeSavingsPlans;
|
1061
|
+
/**
|
1062
|
+
* The Amazon Elastic Block Store volume recommendation details.
|
1063
|
+
*/
|
1064
|
+
ebsVolume?: EbsVolume;
|
1065
|
+
/**
|
1066
|
+
* The EC2 Auto Scaling group recommendation details.
|
1067
|
+
*/
|
1068
|
+
ec2AutoScalingGroup?: Ec2AutoScalingGroup;
|
1069
|
+
/**
|
1070
|
+
* The EC2 instance recommendation details.
|
1071
|
+
*/
|
1072
|
+
ec2Instance?: Ec2Instance;
|
1073
|
+
/**
|
1074
|
+
* The EC2 instance Savings Plans recommendation details.
|
1075
|
+
*/
|
1076
|
+
ec2InstanceSavingsPlans?: Ec2InstanceSavingsPlans;
|
1077
|
+
/**
|
1078
|
+
* The EC2 reserved instances recommendation details.
|
1079
|
+
*/
|
1080
|
+
ec2ReservedInstances?: Ec2ReservedInstances;
|
1081
|
+
/**
|
1082
|
+
* The ECS service recommendation details.
|
1083
|
+
*/
|
1084
|
+
ecsService?: EcsService;
|
1085
|
+
/**
|
1086
|
+
* The ElastiCache reserved instances recommendation details.
|
1087
|
+
*/
|
1088
|
+
elastiCacheReservedInstances?: ElastiCacheReservedInstances;
|
1089
|
+
/**
|
1090
|
+
* The Lambda function recommendation details.
|
1091
|
+
*/
|
1092
|
+
lambdaFunction?: LambdaFunction;
|
1093
|
+
/**
|
1094
|
+
* The OpenSearch reserved instances recommendation details.
|
1095
|
+
*/
|
1096
|
+
openSearchReservedInstances?: OpenSearchReservedInstances;
|
1097
|
+
/**
|
1098
|
+
* The RDS reserved instances recommendation details.
|
1099
|
+
*/
|
1100
|
+
rdsReservedInstances?: RdsReservedInstances;
|
1101
|
+
/**
|
1102
|
+
* The Redshift reserved instances recommendation details.
|
1103
|
+
*/
|
1104
|
+
redshiftReservedInstances?: RedshiftReservedInstances;
|
1105
|
+
/**
|
1106
|
+
* The SageMaker Savings Plans recommendation details.
|
1107
|
+
*/
|
1108
|
+
sageMakerSavingsPlans?: SageMakerSavingsPlans;
|
1109
|
+
}
|
1110
|
+
export type ResourceIdList = String[];
|
1111
|
+
export interface ResourcePricing {
|
1112
|
+
/**
|
1113
|
+
* The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
|
1114
|
+
*/
|
1115
|
+
estimatedCostAfterDiscounts?: Double;
|
1116
|
+
/**
|
1117
|
+
* The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
|
1118
|
+
*/
|
1119
|
+
estimatedCostBeforeDiscounts?: Double;
|
1120
|
+
/**
|
1121
|
+
* The estimated discounts for a recommendation.
|
1122
|
+
*/
|
1123
|
+
estimatedDiscounts?: EstimatedDiscounts;
|
1124
|
+
/**
|
1125
|
+
* The estimated net unused amortized commitment for the recommendation.
|
1126
|
+
*/
|
1127
|
+
estimatedNetUnusedAmortizedCommitments?: Double;
|
1128
|
+
}
|
1129
|
+
export type ResourceType = "Ec2Instance"|"LambdaFunction"|"EbsVolume"|"EcsService"|"Ec2AutoScalingGroup"|"Ec2InstanceSavingsPlans"|"ComputeSavingsPlans"|"SageMakerSavingsPlans"|"Ec2ReservedInstances"|"RdsReservedInstances"|"OpenSearchReservedInstances"|"RedshiftReservedInstances"|"ElastiCacheReservedInstances"|string;
|
1130
|
+
export type ResourceTypeList = ResourceType[];
|
1131
|
+
export interface SageMakerSavingsPlans {
|
1132
|
+
/**
|
1133
|
+
* The SageMaker Savings Plans configuration used for recommendations.
|
1134
|
+
*/
|
1135
|
+
configuration?: SageMakerSavingsPlansConfiguration;
|
1136
|
+
/**
|
1137
|
+
* Cost impact of the Savings Plans purchase recommendation.
|
1138
|
+
*/
|
1139
|
+
costCalculation?: SavingsPlansCostCalculation;
|
1140
|
+
}
|
1141
|
+
export interface SageMakerSavingsPlansConfiguration {
|
1142
|
+
/**
|
1143
|
+
* The account scope that you want your recommendations for.
|
1144
|
+
*/
|
1145
|
+
accountScope?: String;
|
1146
|
+
/**
|
1147
|
+
* The hourly commitment for the Savings Plans type.
|
1148
|
+
*/
|
1149
|
+
hourlyCommitment?: String;
|
1150
|
+
/**
|
1151
|
+
* The payment option for the commitment.
|
1152
|
+
*/
|
1153
|
+
paymentOption?: String;
|
1154
|
+
/**
|
1155
|
+
* The Savings Plans recommendation term in years.
|
1156
|
+
*/
|
1157
|
+
term?: String;
|
1158
|
+
}
|
1159
|
+
export type SavingsEstimationMode = "BeforeDiscounts"|"AfterDiscounts"|string;
|
1160
|
+
export interface SavingsPlansCostCalculation {
|
1161
|
+
/**
|
1162
|
+
* Pricing details of the purchase recommendation.
|
1163
|
+
*/
|
1164
|
+
pricing?: SavingsPlansPricing;
|
1165
|
+
}
|
1166
|
+
export interface SavingsPlansPricing {
|
1167
|
+
/**
|
1168
|
+
* Estimated monthly commitment for the Savings Plan.
|
1169
|
+
*/
|
1170
|
+
estimatedMonthlyCommitment?: Double;
|
1171
|
+
/**
|
1172
|
+
* Estimated On-Demand cost you will pay after buying the Savings Plan.
|
1173
|
+
*/
|
1174
|
+
estimatedOnDemandCost?: Double;
|
1175
|
+
/**
|
1176
|
+
* The cost of paying for the recommended Savings Plan monthly.
|
1177
|
+
*/
|
1178
|
+
monthlySavingsPlansEligibleCost?: Double;
|
1179
|
+
/**
|
1180
|
+
* Estimated savings as a percentage of your overall costs after buying the Savings Plan.
|
1181
|
+
*/
|
1182
|
+
savingsPercentage?: Double;
|
1183
|
+
}
|
1184
|
+
export type Source = "ComputeOptimizer"|"CostExplorer"|string;
|
1185
|
+
export interface StorageConfiguration {
|
1186
|
+
/**
|
1187
|
+
* The storage volume.
|
1188
|
+
*/
|
1189
|
+
sizeInGb?: Double;
|
1190
|
+
/**
|
1191
|
+
* The storage type.
|
1192
|
+
*/
|
1193
|
+
type?: String;
|
1194
|
+
}
|
1195
|
+
export type String = string;
|
1196
|
+
export interface Tag {
|
1197
|
+
/**
|
1198
|
+
* The key that's associated with the tag.
|
1199
|
+
*/
|
1200
|
+
key?: String;
|
1201
|
+
/**
|
1202
|
+
* The value that's associated with the tag.
|
1203
|
+
*/
|
1204
|
+
value?: String;
|
1205
|
+
}
|
1206
|
+
export type TagList = Tag[];
|
1207
|
+
export type Timestamp = Date;
|
1208
|
+
export interface UpdateEnrollmentStatusRequest {
|
1209
|
+
/**
|
1210
|
+
* Indicates whether to enroll member accounts of the organization if the account is the management account.
|
1211
|
+
*/
|
1212
|
+
includeMemberAccounts?: Boolean;
|
1213
|
+
/**
|
1214
|
+
* Sets the account status.
|
1215
|
+
*/
|
1216
|
+
status: EnrollmentStatus;
|
1217
|
+
}
|
1218
|
+
export interface UpdateEnrollmentStatusResponse {
|
1219
|
+
/**
|
1220
|
+
* The enrollment status of the account.
|
1221
|
+
*/
|
1222
|
+
status?: String;
|
1223
|
+
}
|
1224
|
+
export interface UpdatePreferencesRequest {
|
1225
|
+
/**
|
1226
|
+
* Sets the "member account discount visibility" preference.
|
1227
|
+
*/
|
1228
|
+
memberAccountDiscountVisibility?: MemberAccountDiscountVisibility;
|
1229
|
+
/**
|
1230
|
+
* Sets the "savings estimation mode" preference.
|
1231
|
+
*/
|
1232
|
+
savingsEstimationMode?: SavingsEstimationMode;
|
1233
|
+
}
|
1234
|
+
export interface UpdatePreferencesResponse {
|
1235
|
+
/**
|
1236
|
+
* Shows the status of the "member account discount visibility" preference.
|
1237
|
+
*/
|
1238
|
+
memberAccountDiscountVisibility?: MemberAccountDiscountVisibility;
|
1239
|
+
/**
|
1240
|
+
* Shows the status of the "savings estimation mode" preference.
|
1241
|
+
*/
|
1242
|
+
savingsEstimationMode?: SavingsEstimationMode;
|
1243
|
+
}
|
1244
|
+
export interface Usage {
|
1245
|
+
/**
|
1246
|
+
* The operation value.
|
1247
|
+
*/
|
1248
|
+
operation?: String;
|
1249
|
+
/**
|
1250
|
+
* The product code.
|
1251
|
+
*/
|
1252
|
+
productCode?: String;
|
1253
|
+
/**
|
1254
|
+
* The usage unit.
|
1255
|
+
*/
|
1256
|
+
unit?: String;
|
1257
|
+
/**
|
1258
|
+
* The usage amount.
|
1259
|
+
*/
|
1260
|
+
usageAmount?: Double;
|
1261
|
+
/**
|
1262
|
+
* The usage type.
|
1263
|
+
*/
|
1264
|
+
usageType?: String;
|
1265
|
+
}
|
1266
|
+
export type UsageList = Usage[];
|
1267
|
+
/**
|
1268
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
1269
|
+
*/
|
1270
|
+
export type apiVersion = "2022-07-26"|"latest"|string;
|
1271
|
+
export interface ClientApiVersions {
|
1272
|
+
/**
|
1273
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
1274
|
+
*/
|
1275
|
+
apiVersion?: apiVersion;
|
1276
|
+
}
|
1277
|
+
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
1278
|
+
/**
|
1279
|
+
* Contains interfaces for use with the CostOptimizationHub client.
|
1280
|
+
*/
|
1281
|
+
export import Types = CostOptimizationHub;
|
1282
|
+
}
|
1283
|
+
export = CostOptimizationHub;
|