@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.
Files changed (143) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +285 -0
  3. package/dist-cjs/TrustedAdvisor.js +31 -0
  4. package/dist-cjs/TrustedAdvisorClient.js +43 -0
  5. package/dist-cjs/commands/GetOrganizationRecommendationCommand.js +52 -0
  6. package/dist-cjs/commands/GetRecommendationCommand.js +52 -0
  7. package/dist-cjs/commands/ListChecksCommand.js +51 -0
  8. package/dist-cjs/commands/ListOrganizationRecommendationAccountsCommand.js +52 -0
  9. package/dist-cjs/commands/ListOrganizationRecommendationResourcesCommand.js +51 -0
  10. package/dist-cjs/commands/ListOrganizationRecommendationsCommand.js +51 -0
  11. package/dist-cjs/commands/ListRecommendationResourcesCommand.js +51 -0
  12. package/dist-cjs/commands/ListRecommendationsCommand.js +51 -0
  13. package/dist-cjs/commands/UpdateOrganizationRecommendationLifecycleCommand.js +52 -0
  14. package/dist-cjs/commands/UpdateRecommendationLifecycleCommand.js +52 -0
  15. package/dist-cjs/commands/index.js +13 -0
  16. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  17. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  18. package/dist-cjs/endpoint/ruleset.js +7 -0
  19. package/dist-cjs/extensionConfiguration.js +2 -0
  20. package/dist-cjs/index.js +12 -0
  21. package/dist-cjs/models/TrustedAdvisorServiceException.js +12 -0
  22. package/dist-cjs/models/index.js +4 -0
  23. package/dist-cjs/models/models_0.js +202 -0
  24. package/dist-cjs/pagination/Interfaces.js +2 -0
  25. package/dist-cjs/pagination/ListChecksPaginator.js +29 -0
  26. package/dist-cjs/pagination/ListOrganizationRecommendationAccountsPaginator.js +29 -0
  27. package/dist-cjs/pagination/ListOrganizationRecommendationResourcesPaginator.js +29 -0
  28. package/dist-cjs/pagination/ListOrganizationRecommendationsPaginator.js +29 -0
  29. package/dist-cjs/pagination/ListRecommendationResourcesPaginator.js +29 -0
  30. package/dist-cjs/pagination/ListRecommendationsPaginator.js +29 -0
  31. package/dist-cjs/pagination/index.js +10 -0
  32. package/dist-cjs/protocols/Aws_restJson1.js +1023 -0
  33. package/dist-cjs/runtimeConfig.browser.js +39 -0
  34. package/dist-cjs/runtimeConfig.js +50 -0
  35. package/dist-cjs/runtimeConfig.native.js +15 -0
  36. package/dist-cjs/runtimeConfig.shared.js +24 -0
  37. package/dist-cjs/runtimeExtensions.js +22 -0
  38. package/dist-es/TrustedAdvisor.js +27 -0
  39. package/dist-es/TrustedAdvisorClient.js +39 -0
  40. package/dist-es/commands/GetOrganizationRecommendationCommand.js +48 -0
  41. package/dist-es/commands/GetRecommendationCommand.js +48 -0
  42. package/dist-es/commands/ListChecksCommand.js +47 -0
  43. package/dist-es/commands/ListOrganizationRecommendationAccountsCommand.js +48 -0
  44. package/dist-es/commands/ListOrganizationRecommendationResourcesCommand.js +47 -0
  45. package/dist-es/commands/ListOrganizationRecommendationsCommand.js +47 -0
  46. package/dist-es/commands/ListRecommendationResourcesCommand.js +47 -0
  47. package/dist-es/commands/ListRecommendationsCommand.js +47 -0
  48. package/dist-es/commands/UpdateOrganizationRecommendationLifecycleCommand.js +48 -0
  49. package/dist-es/commands/UpdateRecommendationLifecycleCommand.js +48 -0
  50. package/dist-es/commands/index.js +10 -0
  51. package/dist-es/endpoint/EndpointParameters.js +8 -0
  52. package/dist-es/endpoint/endpointResolver.js +8 -0
  53. package/dist-es/endpoint/ruleset.js +4 -0
  54. package/dist-es/extensionConfiguration.js +1 -0
  55. package/dist-es/index.js +7 -0
  56. package/dist-es/models/TrustedAdvisorServiceException.js +8 -0
  57. package/dist-es/models/index.js +1 -0
  58. package/dist-es/models/models_0.js +185 -0
  59. package/dist-es/pagination/Interfaces.js +1 -0
  60. package/dist-es/pagination/ListChecksPaginator.js +25 -0
  61. package/dist-es/pagination/ListOrganizationRecommendationAccountsPaginator.js +25 -0
  62. package/dist-es/pagination/ListOrganizationRecommendationResourcesPaginator.js +25 -0
  63. package/dist-es/pagination/ListOrganizationRecommendationsPaginator.js +25 -0
  64. package/dist-es/pagination/ListRecommendationResourcesPaginator.js +25 -0
  65. package/dist-es/pagination/ListRecommendationsPaginator.js +25 -0
  66. package/dist-es/pagination/index.js +7 -0
  67. package/dist-es/protocols/Aws_restJson1.js +1000 -0
  68. package/dist-es/runtimeConfig.browser.js +34 -0
  69. package/dist-es/runtimeConfig.js +45 -0
  70. package/dist-es/runtimeConfig.native.js +11 -0
  71. package/dist-es/runtimeConfig.shared.js +20 -0
  72. package/dist-es/runtimeExtensions.js +18 -0
  73. package/dist-types/TrustedAdvisor.d.ts +80 -0
  74. package/dist-types/TrustedAdvisorClient.d.ts +179 -0
  75. package/dist-types/commands/GetOrganizationRecommendationCommand.d.ts +125 -0
  76. package/dist-types/commands/GetRecommendationCommand.d.ts +123 -0
  77. package/dist-types/commands/ListChecksCommand.d.ts +108 -0
  78. package/dist-types/commands/ListOrganizationRecommendationAccountsCommand.d.ts +105 -0
  79. package/dist-types/commands/ListOrganizationRecommendationResourcesCommand.d.ts +110 -0
  80. package/dist-types/commands/ListOrganizationRecommendationsCommand.d.ts +127 -0
  81. package/dist-types/commands/ListRecommendationResourcesCommand.d.ts +106 -0
  82. package/dist-types/commands/ListRecommendationsCommand.d.ts +125 -0
  83. package/dist-types/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +94 -0
  84. package/dist-types/commands/UpdateRecommendationLifecycleCommand.d.ts +92 -0
  85. package/dist-types/commands/index.d.ts +10 -0
  86. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  87. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  88. package/dist-types/endpoint/ruleset.d.ts +2 -0
  89. package/dist-types/extensionConfiguration.d.ts +8 -0
  90. package/dist-types/index.d.ts +15 -0
  91. package/dist-types/models/TrustedAdvisorServiceException.d.ts +13 -0
  92. package/dist-types/models/index.d.ts +1 -0
  93. package/dist-types/models/models_0.d.ts +1322 -0
  94. package/dist-types/pagination/Interfaces.d.ts +8 -0
  95. package/dist-types/pagination/ListChecksPaginator.d.ts +7 -0
  96. package/dist-types/pagination/ListOrganizationRecommendationAccountsPaginator.d.ts +7 -0
  97. package/dist-types/pagination/ListOrganizationRecommendationResourcesPaginator.d.ts +7 -0
  98. package/dist-types/pagination/ListOrganizationRecommendationsPaginator.d.ts +7 -0
  99. package/dist-types/pagination/ListRecommendationResourcesPaginator.d.ts +7 -0
  100. package/dist-types/pagination/ListRecommendationsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/index.d.ts +7 -0
  102. package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
  103. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  104. package/dist-types/runtimeConfig.d.ts +46 -0
  105. package/dist-types/runtimeConfig.native.d.ts +45 -0
  106. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  107. package/dist-types/runtimeExtensions.d.ts +17 -0
  108. package/dist-types/ts3.4/TrustedAdvisor.d.ts +195 -0
  109. package/dist-types/ts3.4/TrustedAdvisorClient.d.ts +179 -0
  110. package/dist-types/ts3.4/commands/GetOrganizationRecommendationCommand.d.ts +42 -0
  111. package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +39 -0
  112. package/dist-types/ts3.4/commands/ListChecksCommand.d.ts +35 -0
  113. package/dist-types/ts3.4/commands/ListOrganizationRecommendationAccountsCommand.d.ts +42 -0
  114. package/dist-types/ts3.4/commands/ListOrganizationRecommendationResourcesCommand.d.ts +42 -0
  115. package/dist-types/ts3.4/commands/ListOrganizationRecommendationsCommand.d.ts +42 -0
  116. package/dist-types/ts3.4/commands/ListRecommendationResourcesCommand.d.ts +42 -0
  117. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +39 -0
  118. package/dist-types/ts3.4/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +38 -0
  119. package/dist-types/ts3.4/commands/UpdateRecommendationLifecycleCommand.d.ts +38 -0
  120. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  121. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  122. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  123. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  124. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  125. package/dist-types/ts3.4/index.d.ts +10 -0
  126. package/dist-types/ts3.4/models/TrustedAdvisorServiceException.d.ts +8 -0
  127. package/dist-types/ts3.4/models/index.d.ts +1 -0
  128. package/dist-types/ts3.4/models/models_0.d.ts +397 -0
  129. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  130. package/dist-types/ts3.4/pagination/ListChecksPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListOrganizationRecommendationAccountsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/ListOrganizationRecommendationResourcesPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/ListOrganizationRecommendationsPaginator.d.ts +11 -0
  134. package/dist-types/ts3.4/pagination/ListRecommendationResourcesPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +11 -0
  136. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  137. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
  138. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  139. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  141. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  142. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  143. package/package.json +102 -0
@@ -0,0 +1,179 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ AwsAuthInputConfig,
7
+ AwsAuthResolvedConfig,
8
+ } from "@aws-sdk/middleware-signing";
9
+ import {
10
+ UserAgentInputConfig,
11
+ UserAgentResolvedConfig,
12
+ } from "@aws-sdk/middleware-user-agent";
13
+ import { Credentials as __Credentials } from "@aws-sdk/types";
14
+ import {
15
+ RegionInputConfig,
16
+ RegionResolvedConfig,
17
+ } from "@smithy/config-resolver";
18
+ import {
19
+ EndpointInputConfig,
20
+ EndpointResolvedConfig,
21
+ } from "@smithy/middleware-endpoint";
22
+ import {
23
+ RetryInputConfig,
24
+ RetryResolvedConfig,
25
+ } from "@smithy/middleware-retry";
26
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
27
+ import {
28
+ Client as __Client,
29
+ DefaultsMode as __DefaultsMode,
30
+ SmithyConfiguration as __SmithyConfiguration,
31
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
32
+ } from "@smithy/smithy-client";
33
+ import {
34
+ BodyLengthCalculator as __BodyLengthCalculator,
35
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
36
+ ChecksumConstructor as __ChecksumConstructor,
37
+ Decoder as __Decoder,
38
+ Encoder as __Encoder,
39
+ HashConstructor as __HashConstructor,
40
+ HttpHandlerOptions as __HttpHandlerOptions,
41
+ Logger as __Logger,
42
+ Provider as __Provider,
43
+ Provider,
44
+ StreamCollector as __StreamCollector,
45
+ UrlParser as __UrlParser,
46
+ UserAgent as __UserAgent,
47
+ } from "@smithy/types";
48
+ import {
49
+ GetOrganizationRecommendationCommandInput,
50
+ GetOrganizationRecommendationCommandOutput,
51
+ } from "./commands/GetOrganizationRecommendationCommand";
52
+ import {
53
+ GetRecommendationCommandInput,
54
+ GetRecommendationCommandOutput,
55
+ } from "./commands/GetRecommendationCommand";
56
+ import {
57
+ ListChecksCommandInput,
58
+ ListChecksCommandOutput,
59
+ } from "./commands/ListChecksCommand";
60
+ import {
61
+ ListOrganizationRecommendationAccountsCommandInput,
62
+ ListOrganizationRecommendationAccountsCommandOutput,
63
+ } from "./commands/ListOrganizationRecommendationAccountsCommand";
64
+ import {
65
+ ListOrganizationRecommendationResourcesCommandInput,
66
+ ListOrganizationRecommendationResourcesCommandOutput,
67
+ } from "./commands/ListOrganizationRecommendationResourcesCommand";
68
+ import {
69
+ ListOrganizationRecommendationsCommandInput,
70
+ ListOrganizationRecommendationsCommandOutput,
71
+ } from "./commands/ListOrganizationRecommendationsCommand";
72
+ import {
73
+ ListRecommendationResourcesCommandInput,
74
+ ListRecommendationResourcesCommandOutput,
75
+ } from "./commands/ListRecommendationResourcesCommand";
76
+ import {
77
+ ListRecommendationsCommandInput,
78
+ ListRecommendationsCommandOutput,
79
+ } from "./commands/ListRecommendationsCommand";
80
+ import {
81
+ UpdateOrganizationRecommendationLifecycleCommandInput,
82
+ UpdateOrganizationRecommendationLifecycleCommandOutput,
83
+ } from "./commands/UpdateOrganizationRecommendationLifecycleCommand";
84
+ import {
85
+ UpdateRecommendationLifecycleCommandInput,
86
+ UpdateRecommendationLifecycleCommandOutput,
87
+ } from "./commands/UpdateRecommendationLifecycleCommand";
88
+ import {
89
+ ClientInputEndpointParameters,
90
+ ClientResolvedEndpointParameters,
91
+ EndpointParameters,
92
+ } from "./endpoint/EndpointParameters";
93
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
94
+ export { __Client };
95
+ export type ServiceInputTypes =
96
+ | GetOrganizationRecommendationCommandInput
97
+ | GetRecommendationCommandInput
98
+ | ListChecksCommandInput
99
+ | ListOrganizationRecommendationAccountsCommandInput
100
+ | ListOrganizationRecommendationResourcesCommandInput
101
+ | ListOrganizationRecommendationsCommandInput
102
+ | ListRecommendationResourcesCommandInput
103
+ | ListRecommendationsCommandInput
104
+ | UpdateOrganizationRecommendationLifecycleCommandInput
105
+ | UpdateRecommendationLifecycleCommandInput;
106
+ export type ServiceOutputTypes =
107
+ | GetOrganizationRecommendationCommandOutput
108
+ | GetRecommendationCommandOutput
109
+ | ListChecksCommandOutput
110
+ | ListOrganizationRecommendationAccountsCommandOutput
111
+ | ListOrganizationRecommendationResourcesCommandOutput
112
+ | ListOrganizationRecommendationsCommandOutput
113
+ | ListRecommendationResourcesCommandOutput
114
+ | ListRecommendationsCommandOutput
115
+ | UpdateOrganizationRecommendationLifecycleCommandOutput
116
+ | UpdateRecommendationLifecycleCommandOutput;
117
+ export interface ClientDefaults
118
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
119
+ requestHandler?: __HttpHandler;
120
+ sha256?: __ChecksumConstructor | __HashConstructor;
121
+ urlParser?: __UrlParser;
122
+ bodyLengthChecker?: __BodyLengthCalculator;
123
+ streamCollector?: __StreamCollector;
124
+ base64Decoder?: __Decoder;
125
+ base64Encoder?: __Encoder;
126
+ utf8Decoder?: __Decoder;
127
+ utf8Encoder?: __Encoder;
128
+ runtime?: string;
129
+ disableHostPrefix?: boolean;
130
+ serviceId?: string;
131
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
132
+ useFipsEndpoint?: boolean | __Provider<boolean>;
133
+ region?: string | __Provider<string>;
134
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
135
+ defaultUserAgentProvider?: Provider<__UserAgent>;
136
+ maxAttempts?: number | __Provider<number>;
137
+ retryMode?: string | __Provider<string>;
138
+ logger?: __Logger;
139
+ extensions?: RuntimeExtension[];
140
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
141
+ }
142
+ export type TrustedAdvisorClientConfigType = Partial<
143
+ __SmithyConfiguration<__HttpHandlerOptions>
144
+ > &
145
+ ClientDefaults &
146
+ RegionInputConfig &
147
+ EndpointInputConfig<EndpointParameters> &
148
+ RetryInputConfig &
149
+ HostHeaderInputConfig &
150
+ AwsAuthInputConfig &
151
+ UserAgentInputConfig &
152
+ ClientInputEndpointParameters;
153
+ export interface TrustedAdvisorClientConfig
154
+ extends TrustedAdvisorClientConfigType {}
155
+ export type TrustedAdvisorClientResolvedConfigType =
156
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
157
+ Required<ClientDefaults> &
158
+ RuntimeExtensionsConfig &
159
+ RegionResolvedConfig &
160
+ EndpointResolvedConfig<EndpointParameters> &
161
+ RetryResolvedConfig &
162
+ HostHeaderResolvedConfig &
163
+ AwsAuthResolvedConfig &
164
+ UserAgentResolvedConfig &
165
+ ClientResolvedEndpointParameters;
166
+ export interface TrustedAdvisorClientResolvedConfig
167
+ extends TrustedAdvisorClientResolvedConfigType {}
168
+ export declare class TrustedAdvisorClient extends __Client<
169
+ __HttpHandlerOptions,
170
+ ServiceInputTypes,
171
+ ServiceOutputTypes,
172
+ TrustedAdvisorClientResolvedConfig
173
+ > {
174
+ readonly config: TrustedAdvisorClientResolvedConfig;
175
+ constructor(
176
+ ...[configuration]: __CheckOptionalClientConfig<TrustedAdvisorClientConfig>
177
+ );
178
+ destroy(): void;
179
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ GetOrganizationRecommendationRequest,
11
+ GetOrganizationRecommendationResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ TrustedAdvisorClientResolvedConfig,
17
+ } from "../TrustedAdvisorClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetOrganizationRecommendationCommandInput
20
+ extends GetOrganizationRecommendationRequest {}
21
+ export interface GetOrganizationRecommendationCommandOutput
22
+ extends GetOrganizationRecommendationResponse,
23
+ __MetadataBearer {}
24
+ export declare class GetOrganizationRecommendationCommand extends $Command<
25
+ GetOrganizationRecommendationCommandInput,
26
+ GetOrganizationRecommendationCommandOutput,
27
+ TrustedAdvisorClientResolvedConfig
28
+ > {
29
+ readonly input: GetOrganizationRecommendationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetOrganizationRecommendationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: TrustedAdvisorClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ GetOrganizationRecommendationCommandInput,
38
+ GetOrganizationRecommendationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ GetRecommendationRequest,
11
+ GetRecommendationResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ TrustedAdvisorClientResolvedConfig,
17
+ } from "../TrustedAdvisorClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetRecommendationCommandInput
20
+ extends GetRecommendationRequest {}
21
+ export interface GetRecommendationCommandOutput
22
+ extends GetRecommendationResponse,
23
+ __MetadataBearer {}
24
+ export declare class GetRecommendationCommand extends $Command<
25
+ GetRecommendationCommandInput,
26
+ GetRecommendationCommandOutput,
27
+ TrustedAdvisorClientResolvedConfig
28
+ > {
29
+ readonly input: GetRecommendationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetRecommendationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: TrustedAdvisorClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<GetRecommendationCommandInput, GetRecommendationCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import { ListChecksRequest, ListChecksResponse } from "../models/models_0";
10
+ import {
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ TrustedAdvisorClientResolvedConfig,
14
+ } from "../TrustedAdvisorClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface ListChecksCommandInput extends ListChecksRequest {}
17
+ export interface ListChecksCommandOutput
18
+ extends ListChecksResponse,
19
+ __MetadataBearer {}
20
+ export declare class ListChecksCommand extends $Command<
21
+ ListChecksCommandInput,
22
+ ListChecksCommandOutput,
23
+ TrustedAdvisorClientResolvedConfig
24
+ > {
25
+ readonly input: ListChecksCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: ListChecksCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: TrustedAdvisorClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<ListChecksCommandInput, ListChecksCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ListOrganizationRecommendationAccountsRequest,
11
+ ListOrganizationRecommendationAccountsResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ TrustedAdvisorClientResolvedConfig,
17
+ } from "../TrustedAdvisorClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListOrganizationRecommendationAccountsCommandInput
20
+ extends ListOrganizationRecommendationAccountsRequest {}
21
+ export interface ListOrganizationRecommendationAccountsCommandOutput
22
+ extends ListOrganizationRecommendationAccountsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListOrganizationRecommendationAccountsCommand extends $Command<
25
+ ListOrganizationRecommendationAccountsCommandInput,
26
+ ListOrganizationRecommendationAccountsCommandOutput,
27
+ TrustedAdvisorClientResolvedConfig
28
+ > {
29
+ readonly input: ListOrganizationRecommendationAccountsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListOrganizationRecommendationAccountsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: TrustedAdvisorClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListOrganizationRecommendationAccountsCommandInput,
38
+ ListOrganizationRecommendationAccountsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ListOrganizationRecommendationResourcesRequest,
11
+ ListOrganizationRecommendationResourcesResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ TrustedAdvisorClientResolvedConfig,
17
+ } from "../TrustedAdvisorClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListOrganizationRecommendationResourcesCommandInput
20
+ extends ListOrganizationRecommendationResourcesRequest {}
21
+ export interface ListOrganizationRecommendationResourcesCommandOutput
22
+ extends ListOrganizationRecommendationResourcesResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListOrganizationRecommendationResourcesCommand extends $Command<
25
+ ListOrganizationRecommendationResourcesCommandInput,
26
+ ListOrganizationRecommendationResourcesCommandOutput,
27
+ TrustedAdvisorClientResolvedConfig
28
+ > {
29
+ readonly input: ListOrganizationRecommendationResourcesCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListOrganizationRecommendationResourcesCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: TrustedAdvisorClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListOrganizationRecommendationResourcesCommandInput,
38
+ ListOrganizationRecommendationResourcesCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ListOrganizationRecommendationsRequest,
11
+ ListOrganizationRecommendationsResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ TrustedAdvisorClientResolvedConfig,
17
+ } from "../TrustedAdvisorClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListOrganizationRecommendationsCommandInput
20
+ extends ListOrganizationRecommendationsRequest {}
21
+ export interface ListOrganizationRecommendationsCommandOutput
22
+ extends ListOrganizationRecommendationsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListOrganizationRecommendationsCommand extends $Command<
25
+ ListOrganizationRecommendationsCommandInput,
26
+ ListOrganizationRecommendationsCommandOutput,
27
+ TrustedAdvisorClientResolvedConfig
28
+ > {
29
+ readonly input: ListOrganizationRecommendationsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListOrganizationRecommendationsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: TrustedAdvisorClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListOrganizationRecommendationsCommandInput,
38
+ ListOrganizationRecommendationsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ListRecommendationResourcesRequest,
11
+ ListRecommendationResourcesResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ TrustedAdvisorClientResolvedConfig,
17
+ } from "../TrustedAdvisorClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListRecommendationResourcesCommandInput
20
+ extends ListRecommendationResourcesRequest {}
21
+ export interface ListRecommendationResourcesCommandOutput
22
+ extends ListRecommendationResourcesResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListRecommendationResourcesCommand extends $Command<
25
+ ListRecommendationResourcesCommandInput,
26
+ ListRecommendationResourcesCommandOutput,
27
+ TrustedAdvisorClientResolvedConfig
28
+ > {
29
+ readonly input: ListRecommendationResourcesCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListRecommendationResourcesCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: TrustedAdvisorClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListRecommendationResourcesCommandInput,
38
+ ListRecommendationResourcesCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ListRecommendationsRequest,
11
+ ListRecommendationsResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ TrustedAdvisorClientResolvedConfig,
17
+ } from "../TrustedAdvisorClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListRecommendationsCommandInput
20
+ extends ListRecommendationsRequest {}
21
+ export interface ListRecommendationsCommandOutput
22
+ extends ListRecommendationsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListRecommendationsCommand extends $Command<
25
+ ListRecommendationsCommandInput,
26
+ ListRecommendationsCommandOutput,
27
+ TrustedAdvisorClientResolvedConfig
28
+ > {
29
+ readonly input: ListRecommendationsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListRecommendationsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: TrustedAdvisorClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<ListRecommendationsCommandInput, ListRecommendationsCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import { UpdateOrganizationRecommendationLifecycleRequest } from "../models/models_0";
10
+ import {
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ TrustedAdvisorClientResolvedConfig,
14
+ } from "../TrustedAdvisorClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface UpdateOrganizationRecommendationLifecycleCommandInput
17
+ extends UpdateOrganizationRecommendationLifecycleRequest {}
18
+ export interface UpdateOrganizationRecommendationLifecycleCommandOutput
19
+ extends __MetadataBearer {}
20
+ export declare class UpdateOrganizationRecommendationLifecycleCommand extends $Command<
21
+ UpdateOrganizationRecommendationLifecycleCommandInput,
22
+ UpdateOrganizationRecommendationLifecycleCommandOutput,
23
+ TrustedAdvisorClientResolvedConfig
24
+ > {
25
+ readonly input: UpdateOrganizationRecommendationLifecycleCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: UpdateOrganizationRecommendationLifecycleCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: TrustedAdvisorClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<
33
+ UpdateOrganizationRecommendationLifecycleCommandInput,
34
+ UpdateOrganizationRecommendationLifecycleCommandOutput
35
+ >;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import { UpdateRecommendationLifecycleRequest } from "../models/models_0";
10
+ import {
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ TrustedAdvisorClientResolvedConfig,
14
+ } from "../TrustedAdvisorClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface UpdateRecommendationLifecycleCommandInput
17
+ extends UpdateRecommendationLifecycleRequest {}
18
+ export interface UpdateRecommendationLifecycleCommandOutput
19
+ extends __MetadataBearer {}
20
+ export declare class UpdateRecommendationLifecycleCommand extends $Command<
21
+ UpdateRecommendationLifecycleCommandInput,
22
+ UpdateRecommendationLifecycleCommandOutput,
23
+ TrustedAdvisorClientResolvedConfig
24
+ > {
25
+ readonly input: UpdateRecommendationLifecycleCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: UpdateRecommendationLifecycleCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: TrustedAdvisorClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<
33
+ UpdateRecommendationLifecycleCommandInput,
34
+ UpdateRecommendationLifecycleCommandOutput
35
+ >;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,10 @@
1
+ export * from "./GetOrganizationRecommendationCommand";
2
+ export * from "./GetRecommendationCommand";
3
+ export * from "./ListChecksCommand";
4
+ export * from "./ListOrganizationRecommendationAccountsCommand";
5
+ export * from "./ListOrganizationRecommendationResourcesCommand";
6
+ export * from "./ListOrganizationRecommendationsCommand";
7
+ export * from "./ListRecommendationResourcesCommand";
8
+ export * from "./ListRecommendationsCommand";
9
+ export * from "./UpdateOrganizationRecommendationLifecycleCommand";
10
+ export * from "./UpdateRecommendationLifecycleCommand";
@@ -0,0 +1,33 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ region?: string | Provider<string>;
9
+ useDualstackEndpoint?: boolean | Provider<boolean>;
10
+ useFipsEndpoint?: boolean | Provider<boolean>;
11
+ endpoint?:
12
+ | string
13
+ | Provider<string>
14
+ | Endpoint
15
+ | Provider<Endpoint>
16
+ | EndpointV2
17
+ | Provider<EndpointV2>;
18
+ }
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
22
+ export declare const resolveClientEndpointParameters: <T>(
23
+ options: T & ClientInputEndpointParameters
24
+ ) => T &
25
+ ClientInputEndpointParameters & {
26
+ defaultSigningName: string;
27
+ };
28
+ export interface EndpointParameters extends __EndpointParameters {
29
+ Region?: string;
30
+ UseDualStack?: boolean;
31
+ UseFIPS?: boolean;
32
+ Endpoint?: string;
33
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,7 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ export interface TrustedAdvisorExtensionConfiguration
5
+ extends HttpHandlerExtensionConfiguration,
6
+ DefaultExtensionConfiguration,
7
+ AwsRegionExtensionConfiguration {}
@@ -0,0 +1,10 @@
1
+ export * from "./TrustedAdvisorClient";
2
+ export * from "./TrustedAdvisor";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { TrustedAdvisorExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export * from "./pagination";
8
+ export * from "./models";
9
+ import "@aws-sdk/util-endpoints";
10
+ export { TrustedAdvisorServiceException } from "./models/TrustedAdvisorServiceException";
@@ -0,0 +1,8 @@
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@smithy/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
6
+ export declare class TrustedAdvisorServiceException extends __ServiceException {
7
+ constructor(options: __ServiceExceptionOptions);
8
+ }