@aws-sdk/client-trustedadvisor 3.454.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/LICENSE +201 -0
- package/README.md +285 -0
- package/dist-cjs/TrustedAdvisor.js +31 -0
- package/dist-cjs/TrustedAdvisorClient.js +43 -0
- package/dist-cjs/commands/GetOrganizationRecommendationCommand.js +52 -0
- package/dist-cjs/commands/GetRecommendationCommand.js +52 -0
- package/dist-cjs/commands/ListChecksCommand.js +51 -0
- package/dist-cjs/commands/ListOrganizationRecommendationAccountsCommand.js +52 -0
- package/dist-cjs/commands/ListOrganizationRecommendationResourcesCommand.js +51 -0
- package/dist-cjs/commands/ListOrganizationRecommendationsCommand.js +51 -0
- package/dist-cjs/commands/ListRecommendationResourcesCommand.js +51 -0
- package/dist-cjs/commands/ListRecommendationsCommand.js +51 -0
- package/dist-cjs/commands/UpdateOrganizationRecommendationLifecycleCommand.js +52 -0
- package/dist-cjs/commands/UpdateRecommendationLifecycleCommand.js +52 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/TrustedAdvisorServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +202 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListChecksPaginator.js +29 -0
- package/dist-cjs/pagination/ListOrganizationRecommendationAccountsPaginator.js +29 -0
- package/dist-cjs/pagination/ListOrganizationRecommendationResourcesPaginator.js +29 -0
- package/dist-cjs/pagination/ListOrganizationRecommendationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListRecommendationResourcesPaginator.js +29 -0
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +10 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1023 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/TrustedAdvisor.js +27 -0
- package/dist-es/TrustedAdvisorClient.js +39 -0
- package/dist-es/commands/GetOrganizationRecommendationCommand.js +48 -0
- package/dist-es/commands/GetRecommendationCommand.js +48 -0
- package/dist-es/commands/ListChecksCommand.js +47 -0
- package/dist-es/commands/ListOrganizationRecommendationAccountsCommand.js +48 -0
- package/dist-es/commands/ListOrganizationRecommendationResourcesCommand.js +47 -0
- package/dist-es/commands/ListOrganizationRecommendationsCommand.js +47 -0
- package/dist-es/commands/ListRecommendationResourcesCommand.js +47 -0
- package/dist-es/commands/ListRecommendationsCommand.js +47 -0
- package/dist-es/commands/UpdateOrganizationRecommendationLifecycleCommand.js +48 -0
- package/dist-es/commands/UpdateRecommendationLifecycleCommand.js +48 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/TrustedAdvisorServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +185 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListChecksPaginator.js +25 -0
- package/dist-es/pagination/ListOrganizationRecommendationAccountsPaginator.js +25 -0
- package/dist-es/pagination/ListOrganizationRecommendationResourcesPaginator.js +25 -0
- package/dist-es/pagination/ListOrganizationRecommendationsPaginator.js +25 -0
- package/dist-es/pagination/ListRecommendationResourcesPaginator.js +25 -0
- package/dist-es/pagination/ListRecommendationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +1000 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/TrustedAdvisor.d.ts +80 -0
- package/dist-types/TrustedAdvisorClient.d.ts +179 -0
- package/dist-types/commands/GetOrganizationRecommendationCommand.d.ts +125 -0
- package/dist-types/commands/GetRecommendationCommand.d.ts +123 -0
- package/dist-types/commands/ListChecksCommand.d.ts +108 -0
- package/dist-types/commands/ListOrganizationRecommendationAccountsCommand.d.ts +105 -0
- package/dist-types/commands/ListOrganizationRecommendationResourcesCommand.d.ts +110 -0
- package/dist-types/commands/ListOrganizationRecommendationsCommand.d.ts +127 -0
- package/dist-types/commands/ListRecommendationResourcesCommand.d.ts +106 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +125 -0
- package/dist-types/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +94 -0
- package/dist-types/commands/UpdateRecommendationLifecycleCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/TrustedAdvisorServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1322 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListChecksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOrganizationRecommendationAccountsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOrganizationRecommendationResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOrganizationRecommendationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRecommendationResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/TrustedAdvisor.d.ts +195 -0
- package/dist-types/ts3.4/TrustedAdvisorClient.d.ts +179 -0
- package/dist-types/ts3.4/commands/GetOrganizationRecommendationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListChecksCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListOrganizationRecommendationAccountsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListOrganizationRecommendationResourcesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListOrganizationRecommendationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRecommendationResourcesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateRecommendationLifecycleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/TrustedAdvisorServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +397 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListChecksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOrganizationRecommendationAccountsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOrganizationRecommendationResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOrganizationRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRecommendationResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +102 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { TrustedAdvisorServiceException as __BaseException } from "./TrustedAdvisorServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare const RecommendationLifecycleStage: {
|
|
11
|
+
readonly DISMISSED: "dismissed";
|
|
12
|
+
readonly IN_PROGRESS: "in_progress";
|
|
13
|
+
readonly PENDING_RESPONSE: "pending_response";
|
|
14
|
+
readonly RESOLVED: "resolved";
|
|
15
|
+
};
|
|
16
|
+
export type RecommendationLifecycleStage =
|
|
17
|
+
(typeof RecommendationLifecycleStage)[keyof typeof RecommendationLifecycleStage];
|
|
18
|
+
export declare const UpdateRecommendationLifecycleStageReasonCode: {
|
|
19
|
+
readonly LOW_PRIORITY: "low_priority";
|
|
20
|
+
readonly NON_CRITICAL_ACCOUNT: "non_critical_account";
|
|
21
|
+
readonly NOT_APPLICABLE: "not_applicable";
|
|
22
|
+
readonly OTHER: "other";
|
|
23
|
+
readonly OTHER_METHODS_AVAILABLE: "other_methods_available";
|
|
24
|
+
readonly TEMPORARY_ACCOUNT: "temporary_account";
|
|
25
|
+
readonly VALID_BUSINESS_CASE: "valid_business_case";
|
|
26
|
+
};
|
|
27
|
+
export type UpdateRecommendationLifecycleStageReasonCode =
|
|
28
|
+
(typeof UpdateRecommendationLifecycleStageReasonCode)[keyof typeof UpdateRecommendationLifecycleStageReasonCode];
|
|
29
|
+
export interface AccountRecommendationLifecycleSummary {
|
|
30
|
+
accountId?: string;
|
|
31
|
+
accountRecommendationArn?: string;
|
|
32
|
+
lifecycleStage?: RecommendationLifecycleStage;
|
|
33
|
+
updatedOnBehalfOf?: string;
|
|
34
|
+
updatedOnBehalfOfJobTitle?: string;
|
|
35
|
+
updateReason?: string;
|
|
36
|
+
updateReasonCode?: UpdateRecommendationLifecycleStageReasonCode;
|
|
37
|
+
lastUpdatedAt?: Date;
|
|
38
|
+
}
|
|
39
|
+
export declare const RecommendationPillar: {
|
|
40
|
+
readonly COST_OPTIMIZING: "cost_optimizing";
|
|
41
|
+
readonly FAULT_TOLERANCE: "fault_tolerance";
|
|
42
|
+
readonly OPERATIONAL_EXCELLENCE: "operational_excellence";
|
|
43
|
+
readonly PERFORMANCE: "performance";
|
|
44
|
+
readonly SECURITY: "security";
|
|
45
|
+
readonly SERVICE_LIMITS: "service_limits";
|
|
46
|
+
};
|
|
47
|
+
export type RecommendationPillar =
|
|
48
|
+
(typeof RecommendationPillar)[keyof typeof RecommendationPillar];
|
|
49
|
+
export declare const RecommendationSource: {
|
|
50
|
+
readonly AWS_CONFIG: "aws_config";
|
|
51
|
+
readonly COMPUTE_OPTIMIZER: "compute_optimizer";
|
|
52
|
+
readonly COST_EXPLORER: "cost_explorer";
|
|
53
|
+
readonly LSE: "lse";
|
|
54
|
+
readonly MANUAL: "manual";
|
|
55
|
+
readonly PSE: "pse";
|
|
56
|
+
readonly RDS: "rds";
|
|
57
|
+
readonly RESILIENCE: "resilience";
|
|
58
|
+
readonly RESILIENCE_HUB: "resilience_hub";
|
|
59
|
+
readonly SECURITY_HUB: "security_hub";
|
|
60
|
+
readonly STIR: "stir";
|
|
61
|
+
readonly TA_CHECK: "ta_check";
|
|
62
|
+
readonly WELL_ARCHITECTED: "well_architected";
|
|
63
|
+
};
|
|
64
|
+
export type RecommendationSource =
|
|
65
|
+
(typeof RecommendationSource)[keyof typeof RecommendationSource];
|
|
66
|
+
export interface CheckSummary {
|
|
67
|
+
id: string | undefined;
|
|
68
|
+
arn: string | undefined;
|
|
69
|
+
name: string | undefined;
|
|
70
|
+
description: string | undefined;
|
|
71
|
+
pillars: RecommendationPillar[] | undefined;
|
|
72
|
+
awsServices: string[] | undefined;
|
|
73
|
+
source: RecommendationSource | undefined;
|
|
74
|
+
metadata: Record<string, string> | undefined;
|
|
75
|
+
}
|
|
76
|
+
export declare class ConflictException extends __BaseException {
|
|
77
|
+
readonly name: "ConflictException";
|
|
78
|
+
readonly $fault: "client";
|
|
79
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
80
|
+
}
|
|
81
|
+
export interface GetOrganizationRecommendationRequest {
|
|
82
|
+
organizationRecommendationIdentifier: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface RecommendationCostOptimizingAggregates {
|
|
85
|
+
estimatedMonthlySavings: number | undefined;
|
|
86
|
+
estimatedPercentMonthlySavings: number | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface RecommendationPillarSpecificAggregates {
|
|
89
|
+
costOptimizing?: RecommendationCostOptimizingAggregates;
|
|
90
|
+
}
|
|
91
|
+
export interface RecommendationResourcesAggregates {
|
|
92
|
+
okCount: number | undefined;
|
|
93
|
+
warningCount: number | undefined;
|
|
94
|
+
errorCount: number | undefined;
|
|
95
|
+
}
|
|
96
|
+
export declare const RecommendationStatus: {
|
|
97
|
+
readonly ERROR: "error";
|
|
98
|
+
readonly OK: "ok";
|
|
99
|
+
readonly WARNING: "warning";
|
|
100
|
+
};
|
|
101
|
+
export type RecommendationStatus =
|
|
102
|
+
(typeof RecommendationStatus)[keyof typeof RecommendationStatus];
|
|
103
|
+
export declare const RecommendationType: {
|
|
104
|
+
readonly PRIORITY: "priority";
|
|
105
|
+
readonly STANDARD: "standard";
|
|
106
|
+
};
|
|
107
|
+
export type RecommendationType =
|
|
108
|
+
(typeof RecommendationType)[keyof typeof RecommendationType];
|
|
109
|
+
export interface OrganizationRecommendation {
|
|
110
|
+
id: string | undefined;
|
|
111
|
+
type: RecommendationType | undefined;
|
|
112
|
+
checkArn?: string;
|
|
113
|
+
status: RecommendationStatus | undefined;
|
|
114
|
+
lifecycleStage?: RecommendationLifecycleStage;
|
|
115
|
+
pillars: RecommendationPillar[] | undefined;
|
|
116
|
+
source: RecommendationSource | undefined;
|
|
117
|
+
awsServices?: string[];
|
|
118
|
+
name: string | undefined;
|
|
119
|
+
resourcesAggregates: RecommendationResourcesAggregates | undefined;
|
|
120
|
+
pillarSpecificAggregates?: RecommendationPillarSpecificAggregates;
|
|
121
|
+
createdAt?: Date;
|
|
122
|
+
lastUpdatedAt?: Date;
|
|
123
|
+
arn: string | undefined;
|
|
124
|
+
description: string | undefined;
|
|
125
|
+
createdBy?: string;
|
|
126
|
+
updatedOnBehalfOf?: string;
|
|
127
|
+
updatedOnBehalfOfJobTitle?: string;
|
|
128
|
+
updateReason?: string;
|
|
129
|
+
updateReasonCode?: UpdateRecommendationLifecycleStageReasonCode;
|
|
130
|
+
resolvedAt?: Date;
|
|
131
|
+
}
|
|
132
|
+
export interface GetOrganizationRecommendationResponse {
|
|
133
|
+
organizationRecommendation?: OrganizationRecommendation;
|
|
134
|
+
}
|
|
135
|
+
export declare class InternalServerException extends __BaseException {
|
|
136
|
+
readonly name: "InternalServerException";
|
|
137
|
+
readonly $fault: "server";
|
|
138
|
+
$retryable: {};
|
|
139
|
+
constructor(
|
|
140
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
144
|
+
readonly name: "ResourceNotFoundException";
|
|
145
|
+
readonly $fault: "client";
|
|
146
|
+
constructor(
|
|
147
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
export declare class ThrottlingException extends __BaseException {
|
|
151
|
+
readonly name: "ThrottlingException";
|
|
152
|
+
readonly $fault: "client";
|
|
153
|
+
$retryable: {
|
|
154
|
+
throttling: boolean;
|
|
155
|
+
};
|
|
156
|
+
constructor(
|
|
157
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
export declare class ValidationException extends __BaseException {
|
|
161
|
+
readonly name: "ValidationException";
|
|
162
|
+
readonly $fault: "client";
|
|
163
|
+
constructor(
|
|
164
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
export interface GetRecommendationRequest {
|
|
168
|
+
recommendationIdentifier: string | undefined;
|
|
169
|
+
}
|
|
170
|
+
export interface Recommendation {
|
|
171
|
+
id: string | undefined;
|
|
172
|
+
type: RecommendationType | undefined;
|
|
173
|
+
checkArn?: string;
|
|
174
|
+
status: RecommendationStatus | undefined;
|
|
175
|
+
lifecycleStage?: RecommendationLifecycleStage;
|
|
176
|
+
pillars: RecommendationPillar[] | undefined;
|
|
177
|
+
source: RecommendationSource | undefined;
|
|
178
|
+
awsServices?: string[];
|
|
179
|
+
name: string | undefined;
|
|
180
|
+
resourcesAggregates: RecommendationResourcesAggregates | undefined;
|
|
181
|
+
pillarSpecificAggregates?: RecommendationPillarSpecificAggregates;
|
|
182
|
+
createdAt?: Date;
|
|
183
|
+
lastUpdatedAt?: Date;
|
|
184
|
+
arn: string | undefined;
|
|
185
|
+
description: string | undefined;
|
|
186
|
+
createdBy?: string;
|
|
187
|
+
updatedOnBehalfOf?: string;
|
|
188
|
+
updatedOnBehalfOfJobTitle?: string;
|
|
189
|
+
updateReason?: string;
|
|
190
|
+
updateReasonCode?: UpdateRecommendationLifecycleStageReasonCode;
|
|
191
|
+
resolvedAt?: Date;
|
|
192
|
+
}
|
|
193
|
+
export interface GetRecommendationResponse {
|
|
194
|
+
recommendation?: Recommendation;
|
|
195
|
+
}
|
|
196
|
+
export declare const RecommendationLanguage: {
|
|
197
|
+
readonly BAHASA_INDONESIA: "id";
|
|
198
|
+
readonly BRAZILIAN_PORTUGUESE: "pt_BR";
|
|
199
|
+
readonly CHINESE: "zh";
|
|
200
|
+
readonly ENGLISH: "en";
|
|
201
|
+
readonly FRENCH: "fr";
|
|
202
|
+
readonly GERMAN: "de";
|
|
203
|
+
readonly ITALIAN: "it";
|
|
204
|
+
readonly JAPANESE: "ja";
|
|
205
|
+
readonly KOREAN: "ko";
|
|
206
|
+
readonly SPANISH: "es";
|
|
207
|
+
readonly TRADITIONAL_CHINESE: "zh_TW";
|
|
208
|
+
};
|
|
209
|
+
export type RecommendationLanguage =
|
|
210
|
+
(typeof RecommendationLanguage)[keyof typeof RecommendationLanguage];
|
|
211
|
+
export interface ListChecksRequest {
|
|
212
|
+
nextToken?: string;
|
|
213
|
+
maxResults?: number;
|
|
214
|
+
pillar?: RecommendationPillar;
|
|
215
|
+
awsService?: string;
|
|
216
|
+
source?: RecommendationSource;
|
|
217
|
+
language?: RecommendationLanguage;
|
|
218
|
+
}
|
|
219
|
+
export interface ListChecksResponse {
|
|
220
|
+
nextToken?: string;
|
|
221
|
+
checkSummaries: CheckSummary[] | undefined;
|
|
222
|
+
}
|
|
223
|
+
export interface ListOrganizationRecommendationAccountsRequest {
|
|
224
|
+
nextToken?: string;
|
|
225
|
+
maxResults?: number;
|
|
226
|
+
organizationRecommendationIdentifier: string | undefined;
|
|
227
|
+
affectedAccountId?: string;
|
|
228
|
+
}
|
|
229
|
+
export interface ListOrganizationRecommendationAccountsResponse {
|
|
230
|
+
nextToken?: string;
|
|
231
|
+
accountRecommendationLifecycleSummaries:
|
|
232
|
+
| AccountRecommendationLifecycleSummary[]
|
|
233
|
+
| undefined;
|
|
234
|
+
}
|
|
235
|
+
export declare const ResourceStatus: {
|
|
236
|
+
readonly ERROR: "error";
|
|
237
|
+
readonly OK: "ok";
|
|
238
|
+
readonly WARNING: "warning";
|
|
239
|
+
};
|
|
240
|
+
export type ResourceStatus =
|
|
241
|
+
(typeof ResourceStatus)[keyof typeof ResourceStatus];
|
|
242
|
+
export interface ListOrganizationRecommendationResourcesRequest {
|
|
243
|
+
nextToken?: string;
|
|
244
|
+
maxResults?: number;
|
|
245
|
+
status?: ResourceStatus;
|
|
246
|
+
regionCode?: string;
|
|
247
|
+
organizationRecommendationIdentifier: string | undefined;
|
|
248
|
+
affectedAccountId?: string;
|
|
249
|
+
}
|
|
250
|
+
export interface OrganizationRecommendationResourceSummary {
|
|
251
|
+
id: string | undefined;
|
|
252
|
+
arn: string | undefined;
|
|
253
|
+
awsResourceId: string | undefined;
|
|
254
|
+
regionCode: string | undefined;
|
|
255
|
+
status: ResourceStatus | undefined;
|
|
256
|
+
metadata: Record<string, string> | undefined;
|
|
257
|
+
lastUpdatedAt: Date | undefined;
|
|
258
|
+
accountId?: string;
|
|
259
|
+
recommendationArn: string | undefined;
|
|
260
|
+
}
|
|
261
|
+
export interface ListOrganizationRecommendationResourcesResponse {
|
|
262
|
+
nextToken?: string;
|
|
263
|
+
organizationRecommendationResourceSummaries:
|
|
264
|
+
| OrganizationRecommendationResourceSummary[]
|
|
265
|
+
| undefined;
|
|
266
|
+
}
|
|
267
|
+
export interface ListOrganizationRecommendationsRequest {
|
|
268
|
+
nextToken?: string;
|
|
269
|
+
maxResults?: number;
|
|
270
|
+
type?: RecommendationType;
|
|
271
|
+
status?: RecommendationStatus;
|
|
272
|
+
pillar?: RecommendationPillar;
|
|
273
|
+
awsService?: string;
|
|
274
|
+
source?: RecommendationSource;
|
|
275
|
+
checkIdentifier?: string;
|
|
276
|
+
afterLastUpdatedAt?: Date;
|
|
277
|
+
beforeLastUpdatedAt?: Date;
|
|
278
|
+
}
|
|
279
|
+
export interface OrganizationRecommendationSummary {
|
|
280
|
+
id: string | undefined;
|
|
281
|
+
type: RecommendationType | undefined;
|
|
282
|
+
checkArn?: string;
|
|
283
|
+
status: RecommendationStatus | undefined;
|
|
284
|
+
lifecycleStage?: RecommendationLifecycleStage;
|
|
285
|
+
pillars: RecommendationPillar[] | undefined;
|
|
286
|
+
source: RecommendationSource | undefined;
|
|
287
|
+
awsServices?: string[];
|
|
288
|
+
name: string | undefined;
|
|
289
|
+
resourcesAggregates: RecommendationResourcesAggregates | undefined;
|
|
290
|
+
pillarSpecificAggregates?: RecommendationPillarSpecificAggregates;
|
|
291
|
+
createdAt?: Date;
|
|
292
|
+
lastUpdatedAt?: Date;
|
|
293
|
+
arn: string | undefined;
|
|
294
|
+
}
|
|
295
|
+
export interface ListOrganizationRecommendationsResponse {
|
|
296
|
+
nextToken?: string;
|
|
297
|
+
organizationRecommendationSummaries:
|
|
298
|
+
| OrganizationRecommendationSummary[]
|
|
299
|
+
| undefined;
|
|
300
|
+
}
|
|
301
|
+
export interface ListRecommendationResourcesRequest {
|
|
302
|
+
nextToken?: string;
|
|
303
|
+
maxResults?: number;
|
|
304
|
+
status?: ResourceStatus;
|
|
305
|
+
regionCode?: string;
|
|
306
|
+
recommendationIdentifier: string | undefined;
|
|
307
|
+
}
|
|
308
|
+
export interface RecommendationResourceSummary {
|
|
309
|
+
id: string | undefined;
|
|
310
|
+
arn: string | undefined;
|
|
311
|
+
awsResourceId: string | undefined;
|
|
312
|
+
regionCode: string | undefined;
|
|
313
|
+
status: ResourceStatus | undefined;
|
|
314
|
+
metadata: Record<string, string> | undefined;
|
|
315
|
+
lastUpdatedAt: Date | undefined;
|
|
316
|
+
recommendationArn: string | undefined;
|
|
317
|
+
}
|
|
318
|
+
export interface ListRecommendationResourcesResponse {
|
|
319
|
+
nextToken?: string;
|
|
320
|
+
recommendationResourceSummaries: RecommendationResourceSummary[] | undefined;
|
|
321
|
+
}
|
|
322
|
+
export interface ListRecommendationsRequest {
|
|
323
|
+
nextToken?: string;
|
|
324
|
+
maxResults?: number;
|
|
325
|
+
type?: RecommendationType;
|
|
326
|
+
status?: RecommendationStatus;
|
|
327
|
+
pillar?: RecommendationPillar;
|
|
328
|
+
awsService?: string;
|
|
329
|
+
source?: RecommendationSource;
|
|
330
|
+
checkIdentifier?: string;
|
|
331
|
+
afterLastUpdatedAt?: Date;
|
|
332
|
+
beforeLastUpdatedAt?: Date;
|
|
333
|
+
}
|
|
334
|
+
export interface RecommendationSummary {
|
|
335
|
+
id: string | undefined;
|
|
336
|
+
type: RecommendationType | undefined;
|
|
337
|
+
checkArn?: string;
|
|
338
|
+
status: RecommendationStatus | undefined;
|
|
339
|
+
lifecycleStage?: RecommendationLifecycleStage;
|
|
340
|
+
pillars: RecommendationPillar[] | undefined;
|
|
341
|
+
source: RecommendationSource | undefined;
|
|
342
|
+
awsServices?: string[];
|
|
343
|
+
name: string | undefined;
|
|
344
|
+
resourcesAggregates: RecommendationResourcesAggregates | undefined;
|
|
345
|
+
pillarSpecificAggregates?: RecommendationPillarSpecificAggregates;
|
|
346
|
+
createdAt?: Date;
|
|
347
|
+
lastUpdatedAt?: Date;
|
|
348
|
+
arn: string | undefined;
|
|
349
|
+
}
|
|
350
|
+
export interface ListRecommendationsResponse {
|
|
351
|
+
nextToken?: string;
|
|
352
|
+
recommendationSummaries: RecommendationSummary[] | undefined;
|
|
353
|
+
}
|
|
354
|
+
export declare const UpdateRecommendationLifecycleStage: {
|
|
355
|
+
readonly DISMISSED: "dismissed";
|
|
356
|
+
readonly IN_PROGRESS: "in_progress";
|
|
357
|
+
readonly PENDING_RESPONSE: "pending_response";
|
|
358
|
+
readonly RESOLVED: "resolved";
|
|
359
|
+
};
|
|
360
|
+
export type UpdateRecommendationLifecycleStage =
|
|
361
|
+
(typeof UpdateRecommendationLifecycleStage)[keyof typeof UpdateRecommendationLifecycleStage];
|
|
362
|
+
export interface UpdateOrganizationRecommendationLifecycleRequest {
|
|
363
|
+
lifecycleStage: UpdateRecommendationLifecycleStage | undefined;
|
|
364
|
+
updateReason?: string;
|
|
365
|
+
updateReasonCode?: UpdateRecommendationLifecycleStageReasonCode;
|
|
366
|
+
organizationRecommendationIdentifier: string | undefined;
|
|
367
|
+
}
|
|
368
|
+
export interface UpdateRecommendationLifecycleRequest {
|
|
369
|
+
lifecycleStage: UpdateRecommendationLifecycleStage | undefined;
|
|
370
|
+
updateReason?: string;
|
|
371
|
+
updateReasonCode?: UpdateRecommendationLifecycleStageReasonCode;
|
|
372
|
+
recommendationIdentifier: string | undefined;
|
|
373
|
+
}
|
|
374
|
+
export declare const AccountRecommendationLifecycleSummaryFilterSensitiveLog: (
|
|
375
|
+
obj: AccountRecommendationLifecycleSummary
|
|
376
|
+
) => any;
|
|
377
|
+
export declare const OrganizationRecommendationFilterSensitiveLog: (
|
|
378
|
+
obj: OrganizationRecommendation
|
|
379
|
+
) => any;
|
|
380
|
+
export declare const GetOrganizationRecommendationResponseFilterSensitiveLog: (
|
|
381
|
+
obj: GetOrganizationRecommendationResponse
|
|
382
|
+
) => any;
|
|
383
|
+
export declare const RecommendationFilterSensitiveLog: (
|
|
384
|
+
obj: Recommendation
|
|
385
|
+
) => any;
|
|
386
|
+
export declare const GetRecommendationResponseFilterSensitiveLog: (
|
|
387
|
+
obj: GetRecommendationResponse
|
|
388
|
+
) => any;
|
|
389
|
+
export declare const ListOrganizationRecommendationAccountsResponseFilterSensitiveLog: (
|
|
390
|
+
obj: ListOrganizationRecommendationAccountsResponse
|
|
391
|
+
) => any;
|
|
392
|
+
export declare const UpdateOrganizationRecommendationLifecycleRequestFilterSensitiveLog: (
|
|
393
|
+
obj: UpdateOrganizationRecommendationLifecycleRequest
|
|
394
|
+
) => any;
|
|
395
|
+
export declare const UpdateRecommendationLifecycleRequestFilterSensitiveLog: (
|
|
396
|
+
obj: UpdateRecommendationLifecycleRequest
|
|
397
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListChecksCommandInput,
|
|
4
|
+
ListChecksCommandOutput,
|
|
5
|
+
} from "../commands/ListChecksCommand";
|
|
6
|
+
import { TrustedAdvisorPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListChecks(
|
|
8
|
+
config: TrustedAdvisorPaginationConfiguration,
|
|
9
|
+
input: ListChecksCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListChecksCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListOrganizationRecommendationAccountsCommandInput,
|
|
4
|
+
ListOrganizationRecommendationAccountsCommandOutput,
|
|
5
|
+
} from "../commands/ListOrganizationRecommendationAccountsCommand";
|
|
6
|
+
import { TrustedAdvisorPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListOrganizationRecommendationAccounts(
|
|
8
|
+
config: TrustedAdvisorPaginationConfiguration,
|
|
9
|
+
input: ListOrganizationRecommendationAccountsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListOrganizationRecommendationAccountsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListOrganizationRecommendationResourcesCommandInput,
|
|
4
|
+
ListOrganizationRecommendationResourcesCommandOutput,
|
|
5
|
+
} from "../commands/ListOrganizationRecommendationResourcesCommand";
|
|
6
|
+
import { TrustedAdvisorPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListOrganizationRecommendationResources(
|
|
8
|
+
config: TrustedAdvisorPaginationConfiguration,
|
|
9
|
+
input: ListOrganizationRecommendationResourcesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListOrganizationRecommendationResourcesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListOrganizationRecommendationsCommandInput,
|
|
4
|
+
ListOrganizationRecommendationsCommandOutput,
|
|
5
|
+
} from "../commands/ListOrganizationRecommendationsCommand";
|
|
6
|
+
import { TrustedAdvisorPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListOrganizationRecommendations(
|
|
8
|
+
config: TrustedAdvisorPaginationConfiguration,
|
|
9
|
+
input: ListOrganizationRecommendationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListOrganizationRecommendationsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListRecommendationResourcesCommandInput,
|
|
4
|
+
ListRecommendationResourcesCommandOutput,
|
|
5
|
+
} from "../commands/ListRecommendationResourcesCommand";
|
|
6
|
+
import { TrustedAdvisorPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListRecommendationResources(
|
|
8
|
+
config: TrustedAdvisorPaginationConfiguration,
|
|
9
|
+
input: ListRecommendationResourcesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListRecommendationResourcesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListRecommendationsCommandInput,
|
|
4
|
+
ListRecommendationsCommandOutput,
|
|
5
|
+
} from "../commands/ListRecommendationsCommand";
|
|
6
|
+
import { TrustedAdvisorPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListRecommendations(
|
|
8
|
+
config: TrustedAdvisorPaginationConfiguration,
|
|
9
|
+
input: ListRecommendationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListRecommendationsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListChecksPaginator";
|
|
3
|
+
export * from "./ListOrganizationRecommendationAccountsPaginator";
|
|
4
|
+
export * from "./ListOrganizationRecommendationResourcesPaginator";
|
|
5
|
+
export * from "./ListOrganizationRecommendationsPaginator";
|
|
6
|
+
export * from "./ListRecommendationResourcesPaginator";
|
|
7
|
+
export * from "./ListRecommendationsPaginator";
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
GetOrganizationRecommendationCommandInput,
|
|
8
|
+
GetOrganizationRecommendationCommandOutput,
|
|
9
|
+
} from "../commands/GetOrganizationRecommendationCommand";
|
|
10
|
+
import {
|
|
11
|
+
GetRecommendationCommandInput,
|
|
12
|
+
GetRecommendationCommandOutput,
|
|
13
|
+
} from "../commands/GetRecommendationCommand";
|
|
14
|
+
import {
|
|
15
|
+
ListChecksCommandInput,
|
|
16
|
+
ListChecksCommandOutput,
|
|
17
|
+
} from "../commands/ListChecksCommand";
|
|
18
|
+
import {
|
|
19
|
+
ListOrganizationRecommendationAccountsCommandInput,
|
|
20
|
+
ListOrganizationRecommendationAccountsCommandOutput,
|
|
21
|
+
} from "../commands/ListOrganizationRecommendationAccountsCommand";
|
|
22
|
+
import {
|
|
23
|
+
ListOrganizationRecommendationResourcesCommandInput,
|
|
24
|
+
ListOrganizationRecommendationResourcesCommandOutput,
|
|
25
|
+
} from "../commands/ListOrganizationRecommendationResourcesCommand";
|
|
26
|
+
import {
|
|
27
|
+
ListOrganizationRecommendationsCommandInput,
|
|
28
|
+
ListOrganizationRecommendationsCommandOutput,
|
|
29
|
+
} from "../commands/ListOrganizationRecommendationsCommand";
|
|
30
|
+
import {
|
|
31
|
+
ListRecommendationResourcesCommandInput,
|
|
32
|
+
ListRecommendationResourcesCommandOutput,
|
|
33
|
+
} from "../commands/ListRecommendationResourcesCommand";
|
|
34
|
+
import {
|
|
35
|
+
ListRecommendationsCommandInput,
|
|
36
|
+
ListRecommendationsCommandOutput,
|
|
37
|
+
} from "../commands/ListRecommendationsCommand";
|
|
38
|
+
import {
|
|
39
|
+
UpdateOrganizationRecommendationLifecycleCommandInput,
|
|
40
|
+
UpdateOrganizationRecommendationLifecycleCommandOutput,
|
|
41
|
+
} from "../commands/UpdateOrganizationRecommendationLifecycleCommand";
|
|
42
|
+
import {
|
|
43
|
+
UpdateRecommendationLifecycleCommandInput,
|
|
44
|
+
UpdateRecommendationLifecycleCommandOutput,
|
|
45
|
+
} from "../commands/UpdateRecommendationLifecycleCommand";
|
|
46
|
+
export declare const se_GetOrganizationRecommendationCommand: (
|
|
47
|
+
input: GetOrganizationRecommendationCommandInput,
|
|
48
|
+
context: __SerdeContext
|
|
49
|
+
) => Promise<__HttpRequest>;
|
|
50
|
+
export declare const se_GetRecommendationCommand: (
|
|
51
|
+
input: GetRecommendationCommandInput,
|
|
52
|
+
context: __SerdeContext
|
|
53
|
+
) => Promise<__HttpRequest>;
|
|
54
|
+
export declare const se_ListChecksCommand: (
|
|
55
|
+
input: ListChecksCommandInput,
|
|
56
|
+
context: __SerdeContext
|
|
57
|
+
) => Promise<__HttpRequest>;
|
|
58
|
+
export declare const se_ListOrganizationRecommendationAccountsCommand: (
|
|
59
|
+
input: ListOrganizationRecommendationAccountsCommandInput,
|
|
60
|
+
context: __SerdeContext
|
|
61
|
+
) => Promise<__HttpRequest>;
|
|
62
|
+
export declare const se_ListOrganizationRecommendationResourcesCommand: (
|
|
63
|
+
input: ListOrganizationRecommendationResourcesCommandInput,
|
|
64
|
+
context: __SerdeContext
|
|
65
|
+
) => Promise<__HttpRequest>;
|
|
66
|
+
export declare const se_ListOrganizationRecommendationsCommand: (
|
|
67
|
+
input: ListOrganizationRecommendationsCommandInput,
|
|
68
|
+
context: __SerdeContext
|
|
69
|
+
) => Promise<__HttpRequest>;
|
|
70
|
+
export declare const se_ListRecommendationResourcesCommand: (
|
|
71
|
+
input: ListRecommendationResourcesCommandInput,
|
|
72
|
+
context: __SerdeContext
|
|
73
|
+
) => Promise<__HttpRequest>;
|
|
74
|
+
export declare const se_ListRecommendationsCommand: (
|
|
75
|
+
input: ListRecommendationsCommandInput,
|
|
76
|
+
context: __SerdeContext
|
|
77
|
+
) => Promise<__HttpRequest>;
|
|
78
|
+
export declare const se_UpdateOrganizationRecommendationLifecycleCommand: (
|
|
79
|
+
input: UpdateOrganizationRecommendationLifecycleCommandInput,
|
|
80
|
+
context: __SerdeContext
|
|
81
|
+
) => Promise<__HttpRequest>;
|
|
82
|
+
export declare const se_UpdateRecommendationLifecycleCommand: (
|
|
83
|
+
input: UpdateRecommendationLifecycleCommandInput,
|
|
84
|
+
context: __SerdeContext
|
|
85
|
+
) => Promise<__HttpRequest>;
|
|
86
|
+
export declare const de_GetOrganizationRecommendationCommand: (
|
|
87
|
+
output: __HttpResponse,
|
|
88
|
+
context: __SerdeContext
|
|
89
|
+
) => Promise<GetOrganizationRecommendationCommandOutput>;
|
|
90
|
+
export declare const de_GetRecommendationCommand: (
|
|
91
|
+
output: __HttpResponse,
|
|
92
|
+
context: __SerdeContext
|
|
93
|
+
) => Promise<GetRecommendationCommandOutput>;
|
|
94
|
+
export declare const de_ListChecksCommand: (
|
|
95
|
+
output: __HttpResponse,
|
|
96
|
+
context: __SerdeContext
|
|
97
|
+
) => Promise<ListChecksCommandOutput>;
|
|
98
|
+
export declare const de_ListOrganizationRecommendationAccountsCommand: (
|
|
99
|
+
output: __HttpResponse,
|
|
100
|
+
context: __SerdeContext
|
|
101
|
+
) => Promise<ListOrganizationRecommendationAccountsCommandOutput>;
|
|
102
|
+
export declare const de_ListOrganizationRecommendationResourcesCommand: (
|
|
103
|
+
output: __HttpResponse,
|
|
104
|
+
context: __SerdeContext
|
|
105
|
+
) => Promise<ListOrganizationRecommendationResourcesCommandOutput>;
|
|
106
|
+
export declare const de_ListOrganizationRecommendationsCommand: (
|
|
107
|
+
output: __HttpResponse,
|
|
108
|
+
context: __SerdeContext
|
|
109
|
+
) => Promise<ListOrganizationRecommendationsCommandOutput>;
|
|
110
|
+
export declare const de_ListRecommendationResourcesCommand: (
|
|
111
|
+
output: __HttpResponse,
|
|
112
|
+
context: __SerdeContext
|
|
113
|
+
) => Promise<ListRecommendationResourcesCommandOutput>;
|
|
114
|
+
export declare const de_ListRecommendationsCommand: (
|
|
115
|
+
output: __HttpResponse,
|
|
116
|
+
context: __SerdeContext
|
|
117
|
+
) => Promise<ListRecommendationsCommandOutput>;
|
|
118
|
+
export declare const de_UpdateOrganizationRecommendationLifecycleCommand: (
|
|
119
|
+
output: __HttpResponse,
|
|
120
|
+
context: __SerdeContext
|
|
121
|
+
) => Promise<UpdateOrganizationRecommendationLifecycleCommandOutput>;
|
|
122
|
+
export declare const de_UpdateRecommendationLifecycleCommand: (
|
|
123
|
+
output: __HttpResponse,
|
|
124
|
+
context: __SerdeContext
|
|
125
|
+
) => Promise<UpdateRecommendationLifecycleCommandOutput>;
|