@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,50 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-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
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
12
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
+ maxAttempts: number | import("@smithy/types").Provider<number>;
14
+ region: string | import("@smithy/types").Provider<string>;
15
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
16
+ retryMode: string | import("@smithy/types").Provider<string>;
17
+ sha256: import("@smithy/types").HashConstructor;
18
+ streamCollector: import("@smithy/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
+ apiVersion: string;
23
+ cacheMiddleware?: boolean | undefined;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ base64Decoder: import("@smithy/types").Decoder;
26
+ base64Encoder: (_input: Uint8Array | string) => string;
27
+ utf8Decoder: import("@smithy/types").Decoder;
28
+ utf8Encoder: (input: Uint8Array | string) => string;
29
+ disableHostPrefix: boolean;
30
+ serviceId: string;
31
+ profile?: string;
32
+ logger: import("@smithy/types").Logger;
33
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ customUserAgent?: string | import("@smithy/types").UserAgent;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
+ 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;
37
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
38
+ logger?: import("@smithy/types").Logger;
39
+ }) => import("@smithy/types").EndpointV2;
40
+ tls?: boolean;
41
+ serviceConfiguredEndpoint?: never;
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
+ };
@@ -0,0 +1,49 @@
1
+ import { BCMRecommendedActionsClientConfig } from "./BCMRecommendedActionsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: BCMRecommendedActionsClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ cacheMiddleware?: boolean;
11
+ urlParser: import("@smithy/types").UrlParser;
12
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
+ streamCollector: import("@smithy/types").StreamCollector;
14
+ base64Decoder: import("@smithy/types").Decoder;
15
+ base64Encoder: (_input: Uint8Array | string) => string;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: (input: Uint8Array | string) => string;
18
+ disableHostPrefix: boolean;
19
+ serviceId: string;
20
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
+ region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string;
24
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
+ maxAttempts: number | import("@smithy/types").Provider<number>;
27
+ retryMode: string | import("@smithy/types").Provider<string>;
28
+ logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
+ customUserAgent?: string | import("@smithy/types").UserAgent;
32
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
34
+ 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;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean;
39
+ serviceConfiguredEndpoint?: never;
40
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
41
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BCMRecommendedActionsHttpAuthSchemeProvider;
43
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
44
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
45
+ signingEscapePath?: boolean;
46
+ systemClockOffset?: number;
47
+ signingRegion?: string;
48
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
49
+ };
@@ -0,0 +1,21 @@
1
+ import { BCMRecommendedActionsClientConfig } from "./BCMRecommendedActionsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: BCMRecommendedActionsClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: Uint8Array | string) => string;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BCMRecommendedActionsHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ serviceId: string;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: (input: Uint8Array | string) => string;
21
+ };
@@ -0,0 +1,17 @@
1
+ import { BCMRecommendedActionsExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: BCMRecommendedActionsExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,25 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { BCMRecommendedActionsClient } from "./BCMRecommendedActionsClient";
3
+ import {
4
+ ListRecommendedActionsCommandInput,
5
+ ListRecommendedActionsCommandOutput,
6
+ } from "./commands/ListRecommendedActionsCommand";
7
+ export interface BCMRecommendedActions {
8
+ listRecommendedActions(): Promise<ListRecommendedActionsCommandOutput>;
9
+ listRecommendedActions(
10
+ args: ListRecommendedActionsCommandInput,
11
+ options?: __HttpHandlerOptions
12
+ ): Promise<ListRecommendedActionsCommandOutput>;
13
+ listRecommendedActions(
14
+ args: ListRecommendedActionsCommandInput,
15
+ cb: (err: any, data?: ListRecommendedActionsCommandOutput) => void
16
+ ): void;
17
+ listRecommendedActions(
18
+ args: ListRecommendedActionsCommandInput,
19
+ options: __HttpHandlerOptions,
20
+ cb: (err: any, data?: ListRecommendedActionsCommandOutput) => void
21
+ ): void;
22
+ }
23
+ export declare class BCMRecommendedActions
24
+ extends BCMRecommendedActionsClient
25
+ implements BCMRecommendedActions {}
@@ -0,0 +1,126 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ ListRecommendedActionsCommandInput,
50
+ ListRecommendedActionsCommandOutput,
51
+ } from "./commands/ListRecommendedActionsCommand";
52
+ import {
53
+ ClientInputEndpointParameters,
54
+ ClientResolvedEndpointParameters,
55
+ EndpointParameters,
56
+ } from "./endpoint/EndpointParameters";
57
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
58
+ export { __Client };
59
+ export type ServiceInputTypes = ListRecommendedActionsCommandInput;
60
+ export type ServiceOutputTypes = ListRecommendedActionsCommandOutput;
61
+ export interface ClientDefaults
62
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
63
+ requestHandler?: __HttpHandlerUserInput;
64
+ sha256?: __ChecksumConstructor | __HashConstructor;
65
+ urlParser?: __UrlParser;
66
+ bodyLengthChecker?: __BodyLengthCalculator;
67
+ streamCollector?: __StreamCollector;
68
+ base64Decoder?: __Decoder;
69
+ base64Encoder?: __Encoder;
70
+ utf8Decoder?: __Decoder;
71
+ utf8Encoder?: __Encoder;
72
+ runtime?: string;
73
+ disableHostPrefix?: boolean;
74
+ serviceId?: string;
75
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
76
+ useFipsEndpoint?: boolean | __Provider<boolean>;
77
+ region?: string | __Provider<string>;
78
+ profile?: string;
79
+ defaultUserAgentProvider?: Provider<__UserAgent>;
80
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
81
+ maxAttempts?: number | __Provider<number>;
82
+ retryMode?: string | __Provider<string>;
83
+ logger?: __Logger;
84
+ extensions?: RuntimeExtension[];
85
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
86
+ }
87
+ export type BCMRecommendedActionsClientConfigType = Partial<
88
+ __SmithyConfiguration<__HttpHandlerOptions>
89
+ > &
90
+ ClientDefaults &
91
+ UserAgentInputConfig &
92
+ RetryInputConfig &
93
+ RegionInputConfig &
94
+ HostHeaderInputConfig &
95
+ EndpointInputConfig<EndpointParameters> &
96
+ HttpAuthSchemeInputConfig &
97
+ ClientInputEndpointParameters;
98
+ export interface BCMRecommendedActionsClientConfig
99
+ extends BCMRecommendedActionsClientConfigType {}
100
+ export type BCMRecommendedActionsClientResolvedConfigType =
101
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
102
+ Required<ClientDefaults> &
103
+ RuntimeExtensionsConfig &
104
+ UserAgentResolvedConfig &
105
+ RetryResolvedConfig &
106
+ RegionResolvedConfig &
107
+ HostHeaderResolvedConfig &
108
+ EndpointResolvedConfig<EndpointParameters> &
109
+ HttpAuthSchemeResolvedConfig &
110
+ ClientResolvedEndpointParameters;
111
+ export interface BCMRecommendedActionsClientResolvedConfig
112
+ extends BCMRecommendedActionsClientResolvedConfigType {}
113
+ export declare class BCMRecommendedActionsClient extends __Client<
114
+ __HttpHandlerOptions,
115
+ ServiceInputTypes,
116
+ ServiceOutputTypes,
117
+ BCMRecommendedActionsClientResolvedConfig
118
+ > {
119
+ readonly config: BCMRecommendedActionsClientResolvedConfig;
120
+ constructor(
121
+ ...[
122
+ configuration,
123
+ ]: __CheckOptionalClientConfig<BCMRecommendedActionsClientConfig>
124
+ );
125
+ destroy(): void;
126
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { BCMRecommendedActionsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: BCMRecommendedActionsHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): BCMRecommendedActionsHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: BCMRecommendedActionsHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,47 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ Provider,
13
+ } from "@smithy/types";
14
+ import { BCMRecommendedActionsClientResolvedConfig } from "../BCMRecommendedActionsClient";
15
+ export interface BCMRecommendedActionsHttpAuthSchemeParameters
16
+ extends HttpAuthSchemeParameters {
17
+ region?: string;
18
+ }
19
+ export interface BCMRecommendedActionsHttpAuthSchemeParametersProvider
20
+ extends HttpAuthSchemeParametersProvider<
21
+ BCMRecommendedActionsClientResolvedConfig,
22
+ HandlerExecutionContext,
23
+ BCMRecommendedActionsHttpAuthSchemeParameters,
24
+ object
25
+ > {}
26
+ export declare const defaultBCMRecommendedActionsHttpAuthSchemeParametersProvider: (
27
+ config: BCMRecommendedActionsClientResolvedConfig,
28
+ context: HandlerExecutionContext,
29
+ input: object
30
+ ) => Promise<BCMRecommendedActionsHttpAuthSchemeParameters>;
31
+ export interface BCMRecommendedActionsHttpAuthSchemeProvider
32
+ extends HttpAuthSchemeProvider<BCMRecommendedActionsHttpAuthSchemeParameters> {}
33
+ export declare const defaultBCMRecommendedActionsHttpAuthSchemeProvider: BCMRecommendedActionsHttpAuthSchemeProvider;
34
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
+ authSchemePreference?: string[] | Provider<string[]>;
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ httpAuthSchemeProvider?: BCMRecommendedActionsHttpAuthSchemeProvider;
38
+ }
39
+ export interface HttpAuthSchemeResolvedConfig
40
+ extends AwsSdkSigV4AuthResolvedConfig {
41
+ readonly authSchemePreference: Provider<string[]>;
42
+ readonly httpAuthSchemes: HttpAuthScheme[];
43
+ readonly httpAuthSchemeProvider: BCMRecommendedActionsHttpAuthSchemeProvider;
44
+ }
45
+ export declare const resolveHttpAuthSchemeConfig: <T>(
46
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
47
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BCMRecommendedActionsClientResolvedConfig } from "../BCMRecommendedActionsClient";
4
+ import {
5
+ ListRecommendedActionsRequest,
6
+ ListRecommendedActionsResponse,
7
+ } from "../models/models_0";
8
+ export { __MetadataBearer };
9
+ export { $Command };
10
+ export interface ListRecommendedActionsCommandInput
11
+ extends ListRecommendedActionsRequest {}
12
+ export interface ListRecommendedActionsCommandOutput
13
+ extends ListRecommendedActionsResponse,
14
+ __MetadataBearer {}
15
+ declare const ListRecommendedActionsCommand_base: {
16
+ new (
17
+ input: ListRecommendedActionsCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ ListRecommendedActionsCommandInput,
20
+ ListRecommendedActionsCommandOutput,
21
+ BCMRecommendedActionsClientResolvedConfig,
22
+ ListRecommendedActionsCommandInput,
23
+ ListRecommendedActionsCommandOutput
24
+ >;
25
+ new (
26
+ ...[input]: [] | [ListRecommendedActionsCommandInput]
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ ListRecommendedActionsCommandInput,
29
+ ListRecommendedActionsCommandOutput,
30
+ BCMRecommendedActionsClientResolvedConfig,
31
+ ListRecommendedActionsCommandInput,
32
+ ListRecommendedActionsCommandOutput
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class ListRecommendedActionsCommand extends ListRecommendedActionsCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: ListRecommendedActionsRequest;
40
+ output: ListRecommendedActionsResponse;
41
+ };
42
+ sdk: {
43
+ input: ListRecommendedActionsCommandInput;
44
+ output: ListRecommendedActionsCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1 @@
1
+ export * from "./ListRecommendedActionsCommand";
@@ -0,0 +1,45 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
+ endpoint?:
10
+ | string
11
+ | Provider<string>
12
+ | Endpoint
13
+ | Provider<Endpoint>
14
+ | EndpointV2
15
+ | Provider<EndpointV2>;
16
+ region?: string | undefined | Provider<string | undefined>;
17
+ }
18
+ export type ClientResolvedEndpointParameters = Pick<
19
+ ClientInputEndpointParameters,
20
+ Exclude<keyof ClientInputEndpointParameters, "endpoint">
21
+ > & {
22
+ defaultSigningName: string;
23
+ };
24
+ export declare const resolveClientEndpointParameters: <T>(
25
+ options: T & ClientInputEndpointParameters
26
+ ) => T & ClientResolvedEndpointParameters;
27
+ export declare const commonParams: {
28
+ readonly UseFIPS: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "useFipsEndpoint";
31
+ };
32
+ readonly Endpoint: {
33
+ readonly type: "builtInParams";
34
+ readonly name: "endpoint";
35
+ };
36
+ readonly Region: {
37
+ readonly type: "builtInParams";
38
+ readonly name: "region";
39
+ };
40
+ };
41
+ export interface EndpointParameters extends __EndpointParameters {
42
+ UseFIPS?: boolean | undefined;
43
+ Endpoint?: string | undefined;
44
+ Region?: string | undefined;
45
+ }
@@ -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,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
+ export interface BCMRecommendedActionsExtensionConfiguration
6
+ extends HttpHandlerExtensionConfiguration,
7
+ DefaultExtensionConfiguration,
8
+ AwsRegionExtensionConfiguration,
9
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,9 @@
1
+ export * from "./BCMRecommendedActionsClient";
2
+ export * from "./BCMRecommendedActions";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { BCMRecommendedActionsExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export * from "./pagination";
8
+ export * from "./models";
9
+ export { BCMRecommendedActionsServiceException } from "./models/BCMRecommendedActionsServiceException";
@@ -0,0 +1,9 @@
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@smithy/smithy-client";
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
7
+ export declare class BCMRecommendedActionsServiceException extends __ServiceException {
8
+ constructor(options: __ServiceExceptionOptions);
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,122 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { BCMRecommendedActionsServiceException as __BaseException } from "./BCMRecommendedActionsServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare const FilterName: {
11
+ readonly FEATURE: "FEATURE";
12
+ readonly SEVERITY: "SEVERITY";
13
+ readonly TYPE: "TYPE";
14
+ };
15
+ export type FilterName = (typeof FilterName)[keyof typeof FilterName];
16
+ export declare const MatchOption: {
17
+ readonly EQUALS: "EQUALS";
18
+ readonly NOT_EQUALS: "NOT_EQUALS";
19
+ };
20
+ export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
21
+ export interface ActionFilter {
22
+ key: FilterName | undefined;
23
+ matchOption: MatchOption | undefined;
24
+ values: string[] | undefined;
25
+ }
26
+ export declare const ActionType: {
27
+ readonly ADD_ALTERNATE_BILLING_CONTACT: "ADD_ALTERNATE_BILLING_CONTACT";
28
+ readonly CREATE_ANOMALY_MONITOR: "CREATE_ANOMALY_MONITOR";
29
+ readonly CREATE_BUDGET: "CREATE_BUDGET";
30
+ readonly ENABLE_COST_OPTIMIZATION_HUB: "ENABLE_COST_OPTIMIZATION_HUB";
31
+ readonly MIGRATE_TO_GRANULAR_PERMISSIONS: "MIGRATE_TO_GRANULAR_PERMISSIONS";
32
+ readonly PAYMENTS_DUE: "PAYMENTS_DUE";
33
+ readonly PAYMENTS_PAST_DUE: "PAYMENTS_PAST_DUE";
34
+ readonly REVIEW_ANOMALIES: "REVIEW_ANOMALIES";
35
+ readonly REVIEW_BUDGETS_EXCEEDED: "REVIEW_BUDGETS_EXCEEDED";
36
+ readonly REVIEW_BUDGET_ALERTS: "REVIEW_BUDGET_ALERTS";
37
+ readonly REVIEW_EXPIRING_RI: "REVIEW_EXPIRING_RI";
38
+ readonly REVIEW_EXPIRING_SP: "REVIEW_EXPIRING_SP";
39
+ readonly REVIEW_FREETIER_USAGE_ALERTS: "REVIEW_FREETIER_USAGE_ALERTS";
40
+ readonly REVIEW_SAVINGS_OPPORTUNITY_RECOMMENDATIONS: "REVIEW_SAVINGS_OPPORTUNITY_RECOMMENDATIONS";
41
+ readonly UPDATE_EXPIRED_PAYMENT_METHOD: "UPDATE_EXPIRED_PAYMENT_METHOD";
42
+ readonly UPDATE_INVALID_PAYMENT_METHOD: "UPDATE_INVALID_PAYMENT_METHOD";
43
+ readonly UPDATE_TAX_EXEMPTION_CERTIFICATE: "UPDATE_TAX_EXEMPTION_CERTIFICATE";
44
+ readonly UPDATE_TAX_REGISTRATION_NUMBER: "UPDATE_TAX_REGISTRATION_NUMBER";
45
+ };
46
+ export type ActionType = (typeof ActionType)[keyof typeof ActionType];
47
+ export declare class InternalServerException extends __BaseException {
48
+ readonly name: "InternalServerException";
49
+ readonly $fault: "server";
50
+ constructor(
51
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
52
+ );
53
+ }
54
+ export interface RequestFilter {
55
+ actions?: ActionFilter[] | undefined;
56
+ }
57
+ export interface ListRecommendedActionsRequest {
58
+ filter?: RequestFilter | undefined;
59
+ maxResults?: number | undefined;
60
+ nextToken?: string | undefined;
61
+ }
62
+ export declare const Feature: {
63
+ readonly ACCOUNT: "ACCOUNT";
64
+ readonly BUDGETS: "BUDGETS";
65
+ readonly COST_ANOMALY_DETECTION: "COST_ANOMALY_DETECTION";
66
+ readonly COST_OPTIMIZATION_HUB: "COST_OPTIMIZATION_HUB";
67
+ readonly FREE_TIER: "FREE_TIER";
68
+ readonly IAM: "IAM";
69
+ readonly PAYMENTS: "PAYMENTS";
70
+ readonly RESERVATIONS: "RESERVATIONS";
71
+ readonly SAVINGS_PLANS: "SAVINGS_PLANS";
72
+ readonly TAX_SETTINGS: "TAX_SETTINGS";
73
+ };
74
+ export type Feature = (typeof Feature)[keyof typeof Feature];
75
+ export declare const Severity: {
76
+ readonly CRITICAL: "CRITICAL";
77
+ readonly INFO: "INFO";
78
+ readonly WARNING: "WARNING";
79
+ };
80
+ export type Severity = (typeof Severity)[keyof typeof Severity];
81
+ export interface RecommendedAction {
82
+ id?: string | undefined;
83
+ type?: ActionType | undefined;
84
+ accountId?: string | undefined;
85
+ severity?: Severity | undefined;
86
+ feature?: Feature | undefined;
87
+ context?: Record<string, string> | undefined;
88
+ nextSteps?: string[] | undefined;
89
+ lastUpdatedTimeStamp?: string | undefined;
90
+ }
91
+ export interface ListRecommendedActionsResponse {
92
+ recommendedActions: RecommendedAction[] | undefined;
93
+ nextToken?: string | undefined;
94
+ }
95
+ export declare class ThrottlingException extends __BaseException {
96
+ readonly name: "ThrottlingException";
97
+ readonly $fault: "client";
98
+ constructor(
99
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
100
+ );
101
+ }
102
+ export interface ValidationExceptionField {
103
+ name: string | undefined;
104
+ message: string | undefined;
105
+ }
106
+ export declare const ValidationExceptionReason: {
107
+ readonly CANNOT_PARSE: "cannotParse";
108
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
109
+ readonly OTHER: "other";
110
+ readonly UNKNOWN_OPERATION: "unknownOperation";
111
+ };
112
+ export type ValidationExceptionReason =
113
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
114
+ export declare class ValidationException extends __BaseException {
115
+ readonly name: "ValidationException";
116
+ readonly $fault: "client";
117
+ reason: ValidationExceptionReason | undefined;
118
+ fieldList?: ValidationExceptionField[] | undefined;
119
+ constructor(
120
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
121
+ );
122
+ }
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { BCMRecommendedActionsClient } from "../BCMRecommendedActionsClient";
3
+ export interface BCMRecommendedActionsPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: BCMRecommendedActionsClient;
6
+ }