@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,125 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListRecommendationsRequest, ListRecommendationsResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListRecommendationsCommand}.
14
+ */
15
+ export interface ListRecommendationsCommandInput extends ListRecommendationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListRecommendationsCommand}.
21
+ */
22
+ export interface ListRecommendationsCommandOutput extends ListRecommendationsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List a filterable set of Recommendations</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { TrustedAdvisorClient, ListRecommendationsCommand } from "@aws-sdk/client-trustedadvisor"; // ES Modules import
31
+ * // const { TrustedAdvisorClient, ListRecommendationsCommand } = require("@aws-sdk/client-trustedadvisor"); // CommonJS import
32
+ * const client = new TrustedAdvisorClient(config);
33
+ * const input = { // ListRecommendationsRequest
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * type: "standard" || "priority",
37
+ * status: "ok" || "warning" || "error",
38
+ * pillar: "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
39
+ * awsService: "STRING_VALUE",
40
+ * source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected",
41
+ * checkIdentifier: "STRING_VALUE",
42
+ * afterLastUpdatedAt: new Date("TIMESTAMP"),
43
+ * beforeLastUpdatedAt: new Date("TIMESTAMP"),
44
+ * };
45
+ * const command = new ListRecommendationsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListRecommendationsResponse
48
+ * // nextToken: "STRING_VALUE",
49
+ * // recommendationSummaries: [ // RecommendationSummaryList // required
50
+ * // { // RecommendationSummary
51
+ * // id: "STRING_VALUE", // required
52
+ * // type: "standard" || "priority", // required
53
+ * // checkArn: "STRING_VALUE",
54
+ * // status: "ok" || "warning" || "error", // required
55
+ * // lifecycleStage: "in_progress" || "pending_response" || "dismissed" || "resolved",
56
+ * // pillars: [ // RecommendationPillarList // required
57
+ * // "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
58
+ * // ],
59
+ * // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected", // required
60
+ * // awsServices: [ // RecommendationAwsServiceList
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // name: "STRING_VALUE", // required
64
+ * // resourcesAggregates: { // RecommendationResourcesAggregates
65
+ * // okCount: Number("long"), // required
66
+ * // warningCount: Number("long"), // required
67
+ * // errorCount: Number("long"), // required
68
+ * // },
69
+ * // pillarSpecificAggregates: { // RecommendationPillarSpecificAggregates
70
+ * // costOptimizing: { // RecommendationCostOptimizingAggregates
71
+ * // estimatedMonthlySavings: Number("double"), // required
72
+ * // estimatedPercentMonthlySavings: Number("double"), // required
73
+ * // },
74
+ * // },
75
+ * // createdAt: new Date("TIMESTAMP"),
76
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
77
+ * // arn: "STRING_VALUE", // required
78
+ * // },
79
+ * // ],
80
+ * // };
81
+ *
82
+ * ```
83
+ *
84
+ * @param ListRecommendationsCommandInput - {@link ListRecommendationsCommandInput}
85
+ * @returns {@link ListRecommendationsCommandOutput}
86
+ * @see {@link ListRecommendationsCommandInput} for command's `input` shape.
87
+ * @see {@link ListRecommendationsCommandOutput} for command's `response` shape.
88
+ * @see {@link TrustedAdvisorClientResolvedConfig | config} for TrustedAdvisorClient's `config` shape.
89
+ *
90
+ * @throws {@link AccessDeniedException} (client fault)
91
+ * <p>Exception that access has been denied due to insufficient access</p>
92
+ *
93
+ * @throws {@link InternalServerException} (server fault)
94
+ * <p>Exception to notify that an unexpected internal error occurred during processing of the request</p>
95
+ *
96
+ * @throws {@link ThrottlingException} (client fault)
97
+ * <p>Exception to notify that requests are being throttled</p>
98
+ *
99
+ * @throws {@link ValidationException} (client fault)
100
+ * <p>Exception that the request failed to satisfy service constraints</p>
101
+ *
102
+ * @throws {@link TrustedAdvisorServiceException}
103
+ * <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
104
+ *
105
+ */
106
+ export declare class ListRecommendationsCommand extends $Command<ListRecommendationsCommandInput, ListRecommendationsCommandOutput, TrustedAdvisorClientResolvedConfig> {
107
+ readonly input: ListRecommendationsCommandInput;
108
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
109
+ /**
110
+ * @public
111
+ */
112
+ constructor(input: ListRecommendationsCommandInput);
113
+ /**
114
+ * @internal
115
+ */
116
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TrustedAdvisorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRecommendationsCommandInput, ListRecommendationsCommandOutput>;
117
+ /**
118
+ * @internal
119
+ */
120
+ private serialize;
121
+ /**
122
+ * @internal
123
+ */
124
+ private deserialize;
125
+ }
@@ -0,0 +1,94 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { UpdateOrganizationRecommendationLifecycleRequest } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateOrganizationRecommendationLifecycleCommand}.
14
+ */
15
+ export interface UpdateOrganizationRecommendationLifecycleCommandInput extends UpdateOrganizationRecommendationLifecycleRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateOrganizationRecommendationLifecycleCommand}.
21
+ */
22
+ export interface UpdateOrganizationRecommendationLifecycleCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Update the lifecyle of a Recommendation within an Organization. This API only supports prioritized
27
+ * recommendations.
28
+ * </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { TrustedAdvisorClient, UpdateOrganizationRecommendationLifecycleCommand } from "@aws-sdk/client-trustedadvisor"; // ES Modules import
33
+ * // const { TrustedAdvisorClient, UpdateOrganizationRecommendationLifecycleCommand } = require("@aws-sdk/client-trustedadvisor"); // CommonJS import
34
+ * const client = new TrustedAdvisorClient(config);
35
+ * const input = { // UpdateOrganizationRecommendationLifecycleRequest
36
+ * lifecycleStage: "pending_response" || "in_progress" || "dismissed" || "resolved", // required
37
+ * updateReason: "STRING_VALUE",
38
+ * updateReasonCode: "non_critical_account" || "temporary_account" || "valid_business_case" || "other_methods_available" || "low_priority" || "not_applicable" || "other",
39
+ * organizationRecommendationIdentifier: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new UpdateOrganizationRecommendationLifecycleCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param UpdateOrganizationRecommendationLifecycleCommandInput - {@link UpdateOrganizationRecommendationLifecycleCommandInput}
48
+ * @returns {@link UpdateOrganizationRecommendationLifecycleCommandOutput}
49
+ * @see {@link UpdateOrganizationRecommendationLifecycleCommandInput} for command's `input` shape.
50
+ * @see {@link UpdateOrganizationRecommendationLifecycleCommandOutput} for command's `response` shape.
51
+ * @see {@link TrustedAdvisorClientResolvedConfig | config} for TrustedAdvisorClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>Exception that access has been denied due to insufficient access</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>Exception that the request was denied due to conflictions in state</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>Exception to notify that an unexpected internal error occurred during processing of the request</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>Exception that the requested resource has not been found</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>Exception to notify that requests are being throttled</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>Exception that the request failed to satisfy service constraints</p>
70
+ *
71
+ * @throws {@link TrustedAdvisorServiceException}
72
+ * <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
73
+ *
74
+ */
75
+ export declare class UpdateOrganizationRecommendationLifecycleCommand extends $Command<UpdateOrganizationRecommendationLifecycleCommandInput, UpdateOrganizationRecommendationLifecycleCommandOutput, TrustedAdvisorClientResolvedConfig> {
76
+ readonly input: UpdateOrganizationRecommendationLifecycleCommandInput;
77
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
+ /**
79
+ * @public
80
+ */
81
+ constructor(input: UpdateOrganizationRecommendationLifecycleCommandInput);
82
+ /**
83
+ * @internal
84
+ */
85
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TrustedAdvisorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateOrganizationRecommendationLifecycleCommandInput, UpdateOrganizationRecommendationLifecycleCommandOutput>;
86
+ /**
87
+ * @internal
88
+ */
89
+ private serialize;
90
+ /**
91
+ * @internal
92
+ */
93
+ private deserialize;
94
+ }
@@ -0,0 +1,92 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { UpdateRecommendationLifecycleRequest } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateRecommendationLifecycleCommand}.
14
+ */
15
+ export interface UpdateRecommendationLifecycleCommandInput extends UpdateRecommendationLifecycleRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateRecommendationLifecycleCommand}.
21
+ */
22
+ export interface UpdateRecommendationLifecycleCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Update the lifecyle of a Recommendation. This API only supports prioritized recommendations.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { TrustedAdvisorClient, UpdateRecommendationLifecycleCommand } from "@aws-sdk/client-trustedadvisor"; // ES Modules import
31
+ * // const { TrustedAdvisorClient, UpdateRecommendationLifecycleCommand } = require("@aws-sdk/client-trustedadvisor"); // CommonJS import
32
+ * const client = new TrustedAdvisorClient(config);
33
+ * const input = { // UpdateRecommendationLifecycleRequest
34
+ * lifecycleStage: "pending_response" || "in_progress" || "dismissed" || "resolved", // required
35
+ * updateReason: "STRING_VALUE",
36
+ * updateReasonCode: "non_critical_account" || "temporary_account" || "valid_business_case" || "other_methods_available" || "low_priority" || "not_applicable" || "other",
37
+ * recommendationIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new UpdateRecommendationLifecycleCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param UpdateRecommendationLifecycleCommandInput - {@link UpdateRecommendationLifecycleCommandInput}
46
+ * @returns {@link UpdateRecommendationLifecycleCommandOutput}
47
+ * @see {@link UpdateRecommendationLifecycleCommandInput} for command's `input` shape.
48
+ * @see {@link UpdateRecommendationLifecycleCommandOutput} for command's `response` shape.
49
+ * @see {@link TrustedAdvisorClientResolvedConfig | config} for TrustedAdvisorClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>Exception that access has been denied due to insufficient access</p>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>Exception that the request was denied due to conflictions in state</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>Exception to notify that an unexpected internal error occurred during processing of the request</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>Exception that the requested resource has not been found</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>Exception to notify that requests are being throttled</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>Exception that the request failed to satisfy service constraints</p>
68
+ *
69
+ * @throws {@link TrustedAdvisorServiceException}
70
+ * <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
71
+ *
72
+ */
73
+ export declare class UpdateRecommendationLifecycleCommand extends $Command<UpdateRecommendationLifecycleCommandInput, UpdateRecommendationLifecycleCommandOutput, TrustedAdvisorClientResolvedConfig> {
74
+ readonly input: UpdateRecommendationLifecycleCommandInput;
75
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
+ /**
77
+ * @public
78
+ */
79
+ constructor(input: UpdateRecommendationLifecycleCommandInput);
80
+ /**
81
+ * @internal
82
+ */
83
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TrustedAdvisorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRecommendationLifecycleCommandInput, UpdateRecommendationLifecycleCommandOutput>;
84
+ /**
85
+ * @internal
86
+ */
87
+ private serialize;
88
+ /**
89
+ * @internal
90
+ */
91
+ private deserialize;
92
+ }
@@ -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,22 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
+ }
11
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
+ defaultSigningName: string;
16
+ };
17
+ export interface EndpointParameters extends __EndpointParameters {
18
+ Region?: string;
19
+ UseDualStack?: boolean;
20
+ UseFIPS?: boolean;
21
+ Endpoint?: string;
22
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface TrustedAdvisorExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
8
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * <p>TrustedAdvisor Public API</p>
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./TrustedAdvisorClient";
7
+ export * from "./TrustedAdvisor";
8
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export { RuntimeExtension } from "./runtimeExtensions";
10
+ export { TrustedAdvisorExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export * from "./pagination";
13
+ export * from "./models";
14
+ import "@aws-sdk/util-endpoints";
15
+ export { TrustedAdvisorServiceException } from "./models/TrustedAdvisorServiceException";
@@ -0,0 +1,13 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
3
+ /**
4
+ * @public
5
+ *
6
+ * Base exception class for all service exceptions from TrustedAdvisor service.
7
+ */
8
+ export declare class TrustedAdvisorServiceException extends __ServiceException {
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(options: __ServiceExceptionOptions);
13
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";