@aws-sdk/client-bcm-recommended-actions 3.868.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 (95) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +216 -0
  3. package/dist-cjs/BCMRecommendedActions.js +13 -0
  4. package/dist-cjs/BCMRecommendedActionsClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/ListRecommendedActionsCommand.js +26 -0
  8. package/dist-cjs/commands/index.js +4 -0
  9. package/dist-cjs/endpoint/EndpointParameters.js +15 -0
  10. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  11. package/dist-cjs/endpoint/ruleset.js +7 -0
  12. package/dist-cjs/extensionConfiguration.js +2 -0
  13. package/dist-cjs/index.js +11 -0
  14. package/dist-cjs/models/BCMRecommendedActionsServiceException.js +12 -0
  15. package/dist-cjs/models/index.js +4 -0
  16. package/dist-cjs/models/models_0.js +112 -0
  17. package/dist-cjs/pagination/Interfaces.js +2 -0
  18. package/dist-cjs/pagination/ListRecommendedActionsPaginator.js +7 -0
  19. package/dist-cjs/pagination/index.js +5 -0
  20. package/dist-cjs/protocols/Aws_json1_0.js +125 -0
  21. package/dist-cjs/runtimeConfig.browser.js +39 -0
  22. package/dist-cjs/runtimeConfig.js +56 -0
  23. package/dist-cjs/runtimeConfig.native.js +15 -0
  24. package/dist-cjs/runtimeConfig.shared.js +34 -0
  25. package/dist-cjs/runtimeExtensions.js +13 -0
  26. package/dist-es/BCMRecommendedActions.js +9 -0
  27. package/dist-es/BCMRecommendedActionsClient.js +48 -0
  28. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  29. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  30. package/dist-es/commands/ListRecommendedActionsCommand.js +22 -0
  31. package/dist-es/commands/index.js +1 -0
  32. package/dist-es/endpoint/EndpointParameters.js +11 -0
  33. package/dist-es/endpoint/endpointResolver.js +14 -0
  34. package/dist-es/endpoint/ruleset.js +4 -0
  35. package/dist-es/extensionConfiguration.js +1 -0
  36. package/dist-es/index.js +6 -0
  37. package/dist-es/models/BCMRecommendedActionsServiceException.js +8 -0
  38. package/dist-es/models/index.js +1 -0
  39. package/dist-es/models/models_0.js +105 -0
  40. package/dist-es/pagination/Interfaces.js +1 -0
  41. package/dist-es/pagination/ListRecommendedActionsPaginator.js +4 -0
  42. package/dist-es/pagination/index.js +2 -0
  43. package/dist-es/protocols/Aws_json1_0.js +120 -0
  44. package/dist-es/runtimeConfig.browser.js +34 -0
  45. package/dist-es/runtimeConfig.js +51 -0
  46. package/dist-es/runtimeConfig.native.js +11 -0
  47. package/dist-es/runtimeConfig.shared.js +30 -0
  48. package/dist-es/runtimeExtensions.js +9 -0
  49. package/dist-types/BCMRecommendedActions.d.ts +18 -0
  50. package/dist-types/BCMRecommendedActionsClient.d.ts +188 -0
  51. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  52. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  53. package/dist-types/commands/ListRecommendedActionsCommand.d.ts +112 -0
  54. package/dist-types/commands/index.d.ts +1 -0
  55. package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  56. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  57. package/dist-types/endpoint/ruleset.d.ts +2 -0
  58. package/dist-types/extensionConfiguration.d.ts +9 -0
  59. package/dist-types/index.d.ts +14 -0
  60. package/dist-types/models/BCMRecommendedActionsServiceException.d.ts +14 -0
  61. package/dist-types/models/index.d.ts +1 -0
  62. package/dist-types/models/models_0.d.ts +289 -0
  63. package/dist-types/pagination/Interfaces.d.ts +8 -0
  64. package/dist-types/pagination/ListRecommendedActionsPaginator.d.ts +7 -0
  65. package/dist-types/pagination/index.d.ts +2 -0
  66. package/dist-types/protocols/Aws_json1_0.d.ts +11 -0
  67. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  68. package/dist-types/runtimeConfig.d.ts +50 -0
  69. package/dist-types/runtimeConfig.native.d.ts +49 -0
  70. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  71. package/dist-types/runtimeExtensions.d.ts +17 -0
  72. package/dist-types/ts3.4/BCMRecommendedActions.d.ts +25 -0
  73. package/dist-types/ts3.4/BCMRecommendedActionsClient.d.ts +126 -0
  74. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  75. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  76. package/dist-types/ts3.4/commands/ListRecommendedActionsCommand.d.ts +47 -0
  77. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  78. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  79. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  80. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  81. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  82. package/dist-types/ts3.4/index.d.ts +9 -0
  83. package/dist-types/ts3.4/models/BCMRecommendedActionsServiceException.d.ts +9 -0
  84. package/dist-types/ts3.4/models/index.d.ts +1 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +122 -0
  86. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  87. package/dist-types/ts3.4/pagination/ListRecommendedActionsPaginator.d.ts +11 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  89. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +17 -0
  90. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  91. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  92. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  93. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  94. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  95. package/package.json +99 -0
@@ -0,0 +1,75 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { BCMRecommendedActionsClientResolvedConfig } from "../BCMRecommendedActionsClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface BCMRecommendedActionsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface BCMRecommendedActionsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<BCMRecommendedActionsClientResolvedConfig, HandlerExecutionContext, BCMRecommendedActionsHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultBCMRecommendedActionsHttpAuthSchemeParametersProvider: (config: BCMRecommendedActionsClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<BCMRecommendedActionsHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface BCMRecommendedActionsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<BCMRecommendedActionsHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultBCMRecommendedActionsHttpAuthSchemeProvider: BCMRecommendedActionsHttpAuthSchemeProvider;
28
+ /**
29
+ * @internal
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * A comma-separated list of case-sensitive auth scheme names.
34
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
35
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
36
+ * @public
37
+ */
38
+ authSchemePreference?: string[] | Provider<string[]>;
39
+ /**
40
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
41
+ * @internal
42
+ */
43
+ httpAuthSchemes?: HttpAuthScheme[];
44
+ /**
45
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
46
+ * @internal
47
+ */
48
+ httpAuthSchemeProvider?: BCMRecommendedActionsHttpAuthSchemeProvider;
49
+ }
50
+ /**
51
+ * @internal
52
+ */
53
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
54
+ /**
55
+ * A comma-separated list of case-sensitive auth scheme names.
56
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
57
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
58
+ * @public
59
+ */
60
+ readonly authSchemePreference: Provider<string[]>;
61
+ /**
62
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
63
+ * @internal
64
+ */
65
+ readonly httpAuthSchemes: HttpAuthScheme[];
66
+ /**
67
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
68
+ * @internal
69
+ */
70
+ readonly httpAuthSchemeProvider: BCMRecommendedActionsHttpAuthSchemeProvider;
71
+ }
72
+ /**
73
+ * @internal
74
+ */
75
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,112 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BCMRecommendedActionsClientResolvedConfig } from "../BCMRecommendedActionsClient";
4
+ import { ListRecommendedActionsRequest, ListRecommendedActionsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListRecommendedActionsCommand}.
14
+ */
15
+ export interface ListRecommendedActionsCommandInput extends ListRecommendedActionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListRecommendedActionsCommand}.
21
+ */
22
+ export interface ListRecommendedActionsCommandOutput extends ListRecommendedActionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListRecommendedActionsCommand_base: {
25
+ new (input: ListRecommendedActionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRecommendedActionsCommandInput, ListRecommendedActionsCommandOutput, BCMRecommendedActionsClientResolvedConfig, ListRecommendedActionsCommandInput, ListRecommendedActionsCommandOutput>;
26
+ new (...[input]: [] | [ListRecommendedActionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRecommendedActionsCommandInput, ListRecommendedActionsCommandOutput, BCMRecommendedActionsClientResolvedConfig, ListRecommendedActionsCommandInput, ListRecommendedActionsCommandOutput>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of recommended actions that match the filter criteria.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BCMRecommendedActionsClient, ListRecommendedActionsCommand } from "@aws-sdk/client-bcm-recommended-actions"; // ES Modules import
35
+ * // const { BCMRecommendedActionsClient, ListRecommendedActionsCommand } = require("@aws-sdk/client-bcm-recommended-actions"); // CommonJS import
36
+ * const client = new BCMRecommendedActionsClient(config);
37
+ * const input = { // ListRecommendedActionsRequest
38
+ * filter: { // RequestFilter
39
+ * actions: [ // ActionFilterList
40
+ * { // ActionFilter
41
+ * key: "FEATURE" || "SEVERITY" || "TYPE", // required
42
+ * matchOption: "EQUALS" || "NOT_EQUALS", // required
43
+ * values: [ // FilterValues // required
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * ],
48
+ * },
49
+ * maxResults: Number("int"),
50
+ * nextToken: "STRING_VALUE",
51
+ * };
52
+ * const command = new ListRecommendedActionsCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // ListRecommendedActionsResponse
55
+ * // recommendedActions: [ // RecommendedActions // required
56
+ * // { // RecommendedAction
57
+ * // id: "STRING_VALUE",
58
+ * // type: "ADD_ALTERNATE_BILLING_CONTACT" || "CREATE_ANOMALY_MONITOR" || "CREATE_BUDGET" || "ENABLE_COST_OPTIMIZATION_HUB" || "MIGRATE_TO_GRANULAR_PERMISSIONS" || "PAYMENTS_DUE" || "PAYMENTS_PAST_DUE" || "REVIEW_ANOMALIES" || "REVIEW_BUDGET_ALERTS" || "REVIEW_BUDGETS_EXCEEDED" || "REVIEW_EXPIRING_RI" || "REVIEW_EXPIRING_SP" || "REVIEW_FREETIER_USAGE_ALERTS" || "REVIEW_SAVINGS_OPPORTUNITY_RECOMMENDATIONS" || "UPDATE_EXPIRED_PAYMENT_METHOD" || "UPDATE_INVALID_PAYMENT_METHOD" || "UPDATE_TAX_EXEMPTION_CERTIFICATE" || "UPDATE_TAX_REGISTRATION_NUMBER",
59
+ * // accountId: "STRING_VALUE",
60
+ * // severity: "INFO" || "WARNING" || "CRITICAL",
61
+ * // feature: "ACCOUNT" || "BUDGETS" || "COST_ANOMALY_DETECTION" || "COST_OPTIMIZATION_HUB" || "FREE_TIER" || "IAM" || "PAYMENTS" || "RESERVATIONS" || "SAVINGS_PLANS" || "TAX_SETTINGS",
62
+ * // context: { // Context
63
+ * // "<keys>": "STRING_VALUE",
64
+ * // },
65
+ * // nextSteps: [ // NextSteps
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // lastUpdatedTimeStamp: "STRING_VALUE",
69
+ * // },
70
+ * // ],
71
+ * // nextToken: "STRING_VALUE",
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param ListRecommendedActionsCommandInput - {@link ListRecommendedActionsCommandInput}
77
+ * @returns {@link ListRecommendedActionsCommandOutput}
78
+ * @see {@link ListRecommendedActionsCommandInput} for command's `input` shape.
79
+ * @see {@link ListRecommendedActionsCommandOutput} for command's `response` shape.
80
+ * @see {@link BCMRecommendedActionsClientResolvedConfig | config} for BCMRecommendedActionsClient's `config` shape.
81
+ *
82
+ * @throws {@link AccessDeniedException} (client fault)
83
+ * <p>You do not have sufficient access to perform this action.</p>
84
+ *
85
+ * @throws {@link InternalServerException} (server fault)
86
+ * <p>An unexpected error occurred during the processing of your request.</p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>The request was denied due to request throttling.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
93
+ *
94
+ * @throws {@link BCMRecommendedActionsServiceException}
95
+ * <p>Base exception class for all service exceptions from BCMRecommendedActions service.</p>
96
+ *
97
+ *
98
+ * @public
99
+ */
100
+ export declare class ListRecommendedActionsCommand extends ListRecommendedActionsCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: ListRecommendedActionsRequest;
105
+ output: ListRecommendedActionsResponse;
106
+ };
107
+ sdk: {
108
+ input: ListRecommendedActionsCommandInput;
109
+ output: ListRecommendedActionsCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -0,0 +1 @@
1
+ export * from "./ListRecommendedActionsCommand";
@@ -0,0 +1,32 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ }
10
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
11
+ defaultSigningName: string;
12
+ };
13
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
14
+ export declare const commonParams: {
15
+ readonly UseFIPS: {
16
+ readonly type: "builtInParams";
17
+ readonly name: "useFipsEndpoint";
18
+ };
19
+ readonly Endpoint: {
20
+ readonly type: "builtInParams";
21
+ readonly name: "endpoint";
22
+ };
23
+ readonly Region: {
24
+ readonly type: "builtInParams";
25
+ readonly name: "region";
26
+ };
27
+ };
28
+ export interface EndpointParameters extends __EndpointParameters {
29
+ UseFIPS?: boolean | undefined;
30
+ Endpoint?: string | undefined;
31
+ Region?: string | undefined;
32
+ }
@@ -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,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface BCMRecommendedActionsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * <p>You can use the Billing and Cost Management Recommended Actions API to programmatically query your best practices and recommendations to optimize your costs.</p> <p>The Billing and Cost Management Recommended Actions API provides the following endpoint:</p> <ul> <li> <p> https://bcm-recommended-actions.us-east-1.api.aws</p> </li> </ul>
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./BCMRecommendedActionsClient";
7
+ export * from "./BCMRecommendedActions";
8
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { BCMRecommendedActionsExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export * from "./pagination";
13
+ export * from "./models";
14
+ export { BCMRecommendedActionsServiceException } from "./models/BCMRecommendedActionsServiceException";
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from BCMRecommendedActions service.
8
+ */
9
+ export declare class BCMRecommendedActionsServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,289 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { BCMRecommendedActionsServiceException as __BaseException } from "./BCMRecommendedActionsServiceException";
3
+ /**
4
+ * <p>You do not have sufficient access to perform this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * @public
17
+ * @enum
18
+ */
19
+ export declare const FilterName: {
20
+ readonly FEATURE: "FEATURE";
21
+ readonly SEVERITY: "SEVERITY";
22
+ readonly TYPE: "TYPE";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type FilterName = (typeof FilterName)[keyof typeof FilterName];
28
+ /**
29
+ * @public
30
+ * @enum
31
+ */
32
+ export declare const MatchOption: {
33
+ readonly EQUALS: "EQUALS";
34
+ readonly NOT_EQUALS: "NOT_EQUALS";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
40
+ /**
41
+ * <p>Describes a filter that returns a more specific list of recommended actions.</p>
42
+ * @public
43
+ */
44
+ export interface ActionFilter {
45
+ /**
46
+ * <p>The category to filter on. Valid values are <code>FEATURE</code> for feature type, <code>SEVERITY</code> for severity level, and <code>TYPE</code> for recommendation type.</p>
47
+ * @public
48
+ */
49
+ key: FilterName | undefined;
50
+ /**
51
+ * <p>Specifies how to apply the filter. Use <code>EQUALS</code> to include matching results or <code>NOT_EQUALS</code> to exclude matching results.</p>
52
+ * @public
53
+ */
54
+ matchOption: MatchOption | undefined;
55
+ /**
56
+ * <p>One or more values to match against the specified key.</p>
57
+ * @public
58
+ */
59
+ values: string[] | undefined;
60
+ }
61
+ /**
62
+ * @public
63
+ * @enum
64
+ */
65
+ export declare const ActionType: {
66
+ readonly ADD_ALTERNATE_BILLING_CONTACT: "ADD_ALTERNATE_BILLING_CONTACT";
67
+ readonly CREATE_ANOMALY_MONITOR: "CREATE_ANOMALY_MONITOR";
68
+ readonly CREATE_BUDGET: "CREATE_BUDGET";
69
+ readonly ENABLE_COST_OPTIMIZATION_HUB: "ENABLE_COST_OPTIMIZATION_HUB";
70
+ readonly MIGRATE_TO_GRANULAR_PERMISSIONS: "MIGRATE_TO_GRANULAR_PERMISSIONS";
71
+ readonly PAYMENTS_DUE: "PAYMENTS_DUE";
72
+ readonly PAYMENTS_PAST_DUE: "PAYMENTS_PAST_DUE";
73
+ readonly REVIEW_ANOMALIES: "REVIEW_ANOMALIES";
74
+ readonly REVIEW_BUDGETS_EXCEEDED: "REVIEW_BUDGETS_EXCEEDED";
75
+ readonly REVIEW_BUDGET_ALERTS: "REVIEW_BUDGET_ALERTS";
76
+ readonly REVIEW_EXPIRING_RI: "REVIEW_EXPIRING_RI";
77
+ readonly REVIEW_EXPIRING_SP: "REVIEW_EXPIRING_SP";
78
+ readonly REVIEW_FREETIER_USAGE_ALERTS: "REVIEW_FREETIER_USAGE_ALERTS";
79
+ readonly REVIEW_SAVINGS_OPPORTUNITY_RECOMMENDATIONS: "REVIEW_SAVINGS_OPPORTUNITY_RECOMMENDATIONS";
80
+ readonly UPDATE_EXPIRED_PAYMENT_METHOD: "UPDATE_EXPIRED_PAYMENT_METHOD";
81
+ readonly UPDATE_INVALID_PAYMENT_METHOD: "UPDATE_INVALID_PAYMENT_METHOD";
82
+ readonly UPDATE_TAX_EXEMPTION_CERTIFICATE: "UPDATE_TAX_EXEMPTION_CERTIFICATE";
83
+ readonly UPDATE_TAX_REGISTRATION_NUMBER: "UPDATE_TAX_REGISTRATION_NUMBER";
84
+ };
85
+ /**
86
+ * @public
87
+ */
88
+ export type ActionType = (typeof ActionType)[keyof typeof ActionType];
89
+ /**
90
+ * <p>An unexpected error occurred during the processing of your request.</p>
91
+ * @public
92
+ */
93
+ export declare class InternalServerException extends __BaseException {
94
+ readonly name: "InternalServerException";
95
+ readonly $fault: "server";
96
+ /**
97
+ * @internal
98
+ */
99
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
100
+ }
101
+ /**
102
+ * <p>Enables filtering of results based on specified action criteria. You can define multiple action filters to refine results using combinations of feature type, severity level, and recommendation type.</p>
103
+ * @public
104
+ */
105
+ export interface RequestFilter {
106
+ /**
107
+ * <p>A list of action filters that define criteria for filtering results. Each filter specifies a key, match option, and corresponding values to filter on.</p>
108
+ * @public
109
+ */
110
+ actions?: ActionFilter[] | undefined;
111
+ }
112
+ /**
113
+ * @public
114
+ */
115
+ export interface ListRecommendedActionsRequest {
116
+ /**
117
+ * <p>The criteria that you want all returned recommended actions to match.</p>
118
+ * @public
119
+ */
120
+ filter?: RequestFilter | undefined;
121
+ /**
122
+ * <p>The maximum number of results to return in the response.</p>
123
+ * @public
124
+ */
125
+ maxResults?: number | undefined;
126
+ /**
127
+ * <p>The pagination token that indicates the next set of results that you want to retrieve.</p>
128
+ * @public
129
+ */
130
+ nextToken?: string | undefined;
131
+ }
132
+ /**
133
+ * @public
134
+ * @enum
135
+ */
136
+ export declare const Feature: {
137
+ readonly ACCOUNT: "ACCOUNT";
138
+ readonly BUDGETS: "BUDGETS";
139
+ readonly COST_ANOMALY_DETECTION: "COST_ANOMALY_DETECTION";
140
+ readonly COST_OPTIMIZATION_HUB: "COST_OPTIMIZATION_HUB";
141
+ readonly FREE_TIER: "FREE_TIER";
142
+ readonly IAM: "IAM";
143
+ readonly PAYMENTS: "PAYMENTS";
144
+ readonly RESERVATIONS: "RESERVATIONS";
145
+ readonly SAVINGS_PLANS: "SAVINGS_PLANS";
146
+ readonly TAX_SETTINGS: "TAX_SETTINGS";
147
+ };
148
+ /**
149
+ * @public
150
+ */
151
+ export type Feature = (typeof Feature)[keyof typeof Feature];
152
+ /**
153
+ * @public
154
+ * @enum
155
+ */
156
+ export declare const Severity: {
157
+ readonly CRITICAL: "CRITICAL";
158
+ readonly INFO: "INFO";
159
+ readonly WARNING: "WARNING";
160
+ };
161
+ /**
162
+ * @public
163
+ */
164
+ export type Severity = (typeof Severity)[keyof typeof Severity];
165
+ /**
166
+ * <p>Describes a specific recommended action.</p>
167
+ * @public
168
+ */
169
+ export interface RecommendedAction {
170
+ /**
171
+ * <p>The ID for the recommended action.</p>
172
+ * @public
173
+ */
174
+ id?: string | undefined;
175
+ /**
176
+ * <p>The type of action you can take by adopting the recommended action.</p>
177
+ * @public
178
+ */
179
+ type?: ActionType | undefined;
180
+ /**
181
+ * <p>The account that the recommended action is for.</p>
182
+ * @public
183
+ */
184
+ accountId?: string | undefined;
185
+ /**
186
+ * <p>The severity associated with the recommended action.</p>
187
+ * @public
188
+ */
189
+ severity?: Severity | undefined;
190
+ /**
191
+ * <p>The feature associated with the recommended action.</p>
192
+ * @public
193
+ */
194
+ feature?: Feature | undefined;
195
+ /**
196
+ * <p>Context that applies to the recommended action.</p>
197
+ * @public
198
+ */
199
+ context?: Record<string, string> | undefined;
200
+ /**
201
+ * <p>The possible next steps to execute the recommended action.</p>
202
+ * @public
203
+ */
204
+ nextSteps?: string[] | undefined;
205
+ /**
206
+ * <p>The time when the recommended action status was last updated.</p>
207
+ * @public
208
+ */
209
+ lastUpdatedTimeStamp?: string | undefined;
210
+ }
211
+ /**
212
+ * @public
213
+ */
214
+ export interface ListRecommendedActionsResponse {
215
+ /**
216
+ * <p>The list of recommended actions that satisfy the filter criteria.</p>
217
+ * @public
218
+ */
219
+ recommendedActions: RecommendedAction[] | undefined;
220
+ /**
221
+ * <p>The pagination token that indicates the next set of results that you want to retrieve.</p>
222
+ * @public
223
+ */
224
+ nextToken?: string | undefined;
225
+ }
226
+ /**
227
+ * <p>The request was denied due to request throttling.</p>
228
+ * @public
229
+ */
230
+ export declare class ThrottlingException extends __BaseException {
231
+ readonly name: "ThrottlingException";
232
+ readonly $fault: "client";
233
+ /**
234
+ * @internal
235
+ */
236
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
237
+ }
238
+ /**
239
+ * <p>Provides specific details about why a particular field failed validation.</p>
240
+ * @public
241
+ */
242
+ export interface ValidationExceptionField {
243
+ /**
244
+ * <p>Provides the name of the field that failed validation.</p>
245
+ * @public
246
+ */
247
+ name: string | undefined;
248
+ /**
249
+ * <p>Provides a message explaining why the field failed validation.</p>
250
+ * @public
251
+ */
252
+ message: string | undefined;
253
+ }
254
+ /**
255
+ * @public
256
+ * @enum
257
+ */
258
+ export declare const ValidationExceptionReason: {
259
+ readonly CANNOT_PARSE: "cannotParse";
260
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
261
+ readonly OTHER: "other";
262
+ readonly UNKNOWN_OPERATION: "unknownOperation";
263
+ };
264
+ /**
265
+ * @public
266
+ */
267
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
268
+ /**
269
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
270
+ * @public
271
+ */
272
+ export declare class ValidationException extends __BaseException {
273
+ readonly name: "ValidationException";
274
+ readonly $fault: "client";
275
+ /**
276
+ * <p>Provides a single, overarching explanation for the validation failure.</p>
277
+ * @public
278
+ */
279
+ reason: ValidationExceptionReason | undefined;
280
+ /**
281
+ * <p>Lists each problematic field and why it failed validation.</p>
282
+ * @public
283
+ */
284
+ fieldList?: ValidationExceptionField[] | undefined;
285
+ /**
286
+ * @internal
287
+ */
288
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
289
+ }
@@ -0,0 +1,8 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { BCMRecommendedActionsClient } from "../BCMRecommendedActionsClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface BCMRecommendedActionsPaginationConfiguration extends PaginationConfiguration {
7
+ client: BCMRecommendedActionsClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListRecommendedActionsCommandInput, ListRecommendedActionsCommandOutput } from "../commands/ListRecommendedActionsCommand";
3
+ import { BCMRecommendedActionsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListRecommendedActions: (config: BCMRecommendedActionsPaginationConfiguration, input: ListRecommendedActionsCommandInput, ...rest: any[]) => Paginator<ListRecommendedActionsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListRecommendedActionsPaginator";
@@ -0,0 +1,11 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { ListRecommendedActionsCommandInput, ListRecommendedActionsCommandOutput } from "../commands/ListRecommendedActionsCommand";
4
+ /**
5
+ * serializeAws_json1_0ListRecommendedActionsCommand
6
+ */
7
+ export declare const se_ListRecommendedActionsCommand: (input: ListRecommendedActionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
+ /**
9
+ * deserializeAws_json1_0ListRecommendedActionsCommand
10
+ */
11
+ export declare const de_ListRecommendedActionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRecommendedActionsCommandOutput>;
@@ -0,0 +1,50 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { BCMRecommendedActionsClientConfig } from "./BCMRecommendedActionsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: BCMRecommendedActionsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
+ apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
22
+ urlParser: import("@smithy/types").UrlParser;
23
+ base64Decoder: import("@smithy/types").Decoder;
24
+ base64Encoder: (_input: Uint8Array | string) => string;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: Uint8Array | string) => string;
27
+ disableHostPrefix: boolean;
28
+ serviceId: string;
29
+ profile?: string;
30
+ logger: import("@smithy/types").Logger;
31
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ customUserAgent?: string | import("@smithy/types").UserAgent;
33
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
35
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
36
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
+ logger?: import("@smithy/types").Logger;
38
+ }) => import("@smithy/types").EndpointV2;
39
+ tls?: boolean;
40
+ serviceConfiguredEndpoint?: never;
41
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
42
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BCMRecommendedActionsHttpAuthSchemeProvider;
44
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
45
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
46
+ signingEscapePath?: boolean;
47
+ systemClockOffset?: number;
48
+ signingRegion?: string;
49
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
50
+ };